/* ================= GLOBAL ================= */
body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6fb;
    color: #2c2c2c;
}

/* ================= NAVBAR ================= */
.custom-navbar {
    background: linear-gradient(135deg, #1e3a8a, #4f46e5);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.custom-navbar .navbar-brand {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.custom-navbar .navbar-brand:hover {
    color: #e0e7ff;
}

.custom-navbar .nav-link {
    color: #ffffff;
    font-weight: 500;
    margin-left: 18px;
    transition: 0.2s ease;
}

.custom-navbar .nav-link:hover {
    color: #c7d2fe;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* ================= HERO ================= */
.hero-gradient {
    background: linear-gradient(135deg, #1e3a8a, #4f46e5);
    padding: 80px 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

/* ================= SECTION TITLE ================= */
.section-title {
    color: #1e1e2f;
    font-weight: 700;
}

/* ================= KATEGORI ================= */
.category-box {
    display: block;
    background: #ffffff;
    padding: 18px 10px;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    transition: 0.25s ease;
    border: 1px solid #e8ecff;
}

.category-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.08);
}

.category-icon {
    font-size: 24px;
}

/* ================= PRODUK CARD ================= */
.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #edf0ff;
    transition: all 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.12);
}

/* ================= IMAGE ================= */
.product-image {
    position: relative;
    aspect-ratio: 1/1;
    padding: 12px;
    background: #f8f9ff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

/* ================= DISCOUNT BADGE ================= */
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 8px;
}

/* ================= TEXT ================= */
.product-title {
    font-size: 14px;
    font-weight: 600;
    min-height: 38px;
}

.rating {
    color: #fbbf24;
    font-size: 13px;
}

.price-coret {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-main {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= BUTTON ================= */
.btn-shop {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 8px;
    border-radius: 12px;
    transition: 0.25s ease;
    border: none;
}

.btn-shop:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    color: white;
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(135deg, #1e3a8a, #4f46e5);
    padding: 40px 20px;
    text-align: center;
    color: white;
    margin-top: 80px;
}