/* =========================
   PRODUCT PAGE
========================= */
.product-page {
    background: radial-gradient(circle at top, #1a1f2f, #3a0000);
    color: #fff;
}

/* =========================
   SIDEBAR CATEGORY
========================= */
.category-box {
    border: 2px solid #ffcc00;
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(180deg, #1a1f2f, #2a0020);
}

.category-box h5 {
    font-weight: 700;
}

.category-link {
    display: block;
    padding: 8px 0;
    color: #fff;
    opacity: .8;
    transition: all .2s ease;
}

.category-link.active,
.category-link:hover {
    color: #ffcc00;
    font-weight: 700;
}

/* =========================
   TOOLBAR (SEARCH / FILTER / SORT)
========================= */
.product-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

/* INPUT & SELECT */
.product-toolbar input,
.product-toolbar select {
    background: #ffffff;
    color: #333;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 500;
}

.product-toolbar input::placeholder {
    color: #999;
}

/* REMOVE BOOTSTRAP BLUE */
.product-toolbar input:focus,
.product-toolbar select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,204,0,.4);
}

/* SELECT ARROW */
.product-toolbar select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23333' d='M5.5 7l4.5 4.5L14.5 7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 40px;
}

/* =========================
   PRODUCT CARD
========================= */
.product-card {
    border: 2px solid #ffcc00;
    border-radius: 16px;
    background: linear-gradient(180deg, #3a0000, #000);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255,204,0,.25);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #000;
}

/* PRODUCT INFO */
.product-card h6 {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

.price {
    color: #ffcc00;
    font-weight: 700;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .product-toolbar {
        flex-direction: column;
    }
}


.product-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255,255,255,.75);
    margin-bottom: 8px;
    min-height: 38px; /* biar tinggi card konsisten */
}

/* PRODUCT ACTION BUTTONS */
.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.product-actions .btn {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
}

.cart-icon-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;

    background: linear-gradient(180deg, #ffcc00, #ff9900);
    color: #3a0000;
    border: none;

    box-shadow: 0 4px 14px rgba(255, 170, 0, 0.45);
    transition: all .25s ease;
}

.cart-icon-btn:hover {
    background: linear-gradient(180deg, #ffffff, #ffeb99);
    transform: translateY(-2px);
}


.cart-icon-btn i {
    font-size: 1.15rem;
    font-weight: 700;
}
