/* ===============================
   PREMIUM COLORFUL ELEGANT SAAS 2026 – FINAL FIX
   =============================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #4f46e5;
    --secondary: #7c3aed;
    --accent: #22d3ee;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --primary-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
    --primary-rgb: 79, 70, 229;
}

body {
    background: linear-gradient(180deg,#eef2ff 0%,#f8fafc 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
}

#content-main { padding-top: 65px; }


/* ================= TEXT GRADIENT (ANTI HILANG) ================= */
.text-gradient {
    display: inline-flex;
    align-items: center;

    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    color: transparent;
}

/* ================= BADGE GRADIENT ================= */
.badge-gradient {
    background: var(--primary-gradient);
    color: #fff;
}

/* ================= ICON GRADIENT ================= */
.icon-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= BREADCRUMB HITAM ================= */
.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active {
    color: #000 !important;
    font-weight: 600;
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #000 !important;
}
/* ================= LOGIN GRADIENT BUTTON ================= */
.btn-gradient {
    background: var(--primary-gradient);
    color: #fff !important;
    border: none;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), .35);
    transition: all .3s ease;
}

.btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), .55);
}


/* ================= HERO ================= */
.hero-box {
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: white;
    position: relative;
    padding: 42px 0;
    border-radius: 26px;
    box-shadow: 0 30px 60px rgba(79,70,229,.25);
    margin-top: -55px !important;
    margin-bottom: -30px !important;
    overflow: hidden;
}

.hero-box::after {
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(600px 220px at top right, rgba(34,211,238,.28), transparent 70%),
        radial-gradient(420px 240px at bottom left, rgba(124,58,237,.22), transparent 70%);
    z-index: 1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    z-index: 2;
}
.b-1 { width:180px; height:180px; top:-60px; right:-40px; }
.b-2 { width:120px; height:120px; bottom:-30px; right:18%; }

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    position: relative;
    z-index: 3;
}

/* ================= SEARCH ================= */
.hero-search-wrapper {
    background: rgba(255,255,255,.95);
    padding: 8px;
    border-radius: 999px;
    max-width: 620px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 3;
}

.hero-search-wrapper i {
    margin-left: 14px;
    font-size: 1rem;
    opacity: .7;
}

.hero-search-wrapper .form-control {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    padding: 12px 10px;
    font-size: .9rem;
    flex: 1;
}

.hero-search-wrapper .btn-search {
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: white;
    border-radius: 999px;
    padding: 10px 28px;
    font-weight: 800;
    border: none;
}

/* ================= SECTION HEADER (FIXED) ================= */
.section-header-premium {
    background: linear-gradient(180deg,#ffffff,#f8fafc);
    border-radius: 20px;
    padding: 16px 22px;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid rgba(79,70,229,.12);
    box-shadow:
        0 10px 24px rgba(79,70,229,.08),
        inset 0 0 0 1px rgba(255,255,255,.6);

    position: relative;
    overflow: hidden;
}

/* background glow only */
.section-header-premium::after {
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(220px 90px at top right, rgba(34,211,238,.10), transparent 70%),
        radial-gradient(220px 90px at bottom left, rgba(124,58,237,.10), transparent 70%);
    pointer-events:none;
}

.section-title {
    font-weight: 800;
    font-size: 1.05rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* CENTER MODE (ULASAN PELANGGAN) */
.section-header-premium.text-center,
.section-header-premium.text-center .section-title {
    justify-content: center;
    text-align: center;
    width: 100%;
}

.section-header-premium .btn {
    font-size: .75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 999px;
    position: relative;
    z-index: 1;
}

/* ================= PRODUCT CARD ================= */
.product-card {
    position: relative;
    background: linear-gradient(180deg,#ffffff,#f8fafc);
    border-radius: 28px !important;
    border: 1px solid rgba(79,70,229,.18);
    overflow: hidden;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}

/* ================= PRODUCT BUTTON FIX ================= */

.product-card .btn {
    border-radius: 999px;
    font-weight: 800;
    font-size: .82rem;
    padding: 11px 0;
    transition: all .3s ease;
}

.product-card .btn-primary {
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    border: none;

    box-shadow:
        0 12px 30px rgba(79,70,229,.45);
}

.product-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 45px rgba(79,70,229,.6);
}

.product-card .btn-light {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px dashed #c7d2fe;
}


.product-card::before {
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        135deg,
        rgba(79,70,229,.25),
        rgba(34,211,238,.22),
        rgba(124,58,237,.25)
    );
    opacity: .15;
    pointer-events:none;
}

.product-card::after {
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(300px 220px at top right, rgba(34,211,238,.12), transparent 80%),
        radial-gradient(280px 200px at bottom left, rgba(79,70,229,.12), transparent 85%);
    pointer-events:none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 28px 55px rgba(79,70,229,.22),
        0 10px 25px rgba(0,0,0,.06);
}

.product-card .inner-content {
    position: relative;
    z-index: 2;

    padding: 28px 24px;
    background: rgba(255,255,255,.82); /* 🔥 INI KUNCI */
    backdrop-filter: blur(8px);
    border-radius: 26px;
}

/* ================= BADGE STOCK (FINAL FIX) ================= */

.badge-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 6px 14px;
    font-size: .65rem;
    font-weight: 800;
    line-height: 1;

    border-radius: 999px !important; /* KUNCI ROUNDED */
    backdrop-filter: blur(6px);

    white-space: nowrap;
}

/* READY */
.badge-stock.badge-ready {
    background: linear-gradient(135deg,#ecfdf5,#f0fdfa);
    color: #10b981;
    border: 1px solid rgba(16,185,129,.6);
}

/* EMPTY */
.badge-stock.badge-empty {
    background: linear-gradient(135deg,#fef2f2,#fff1f2);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,.6);
}


/* ================= REVIEW ================= */
.review-card {
    background: linear-gradient(180deg,#ffffff,#f8fafc);
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(79,70,229,.12);
    transition: .3s;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(79,70,229,.18);
}

/* ================= REVIEW RESPONSIVE FIX ================= */

/* MOBILE: tampil 1 review saja */
@media (max-width: 767px) {
    #reviewCarousel .carousel-item .col-md-6,
    #reviewCarousel .carousel-item .col-lg-4 {
        display: none;
    }

    #reviewCarousel .carousel-item .col-md-6:first-child,
    #reviewCarousel .carousel-item .col-lg-4:first-child {
        display: block;
    }
}

/* TABLET: tampil 2 review */
@media (min-width: 768px) and (max-width: 991px) {
    #reviewCarousel .carousel-item .col-lg-4 {
        display: none;
    }

    #reviewCarousel .carousel-item .col-md-6:nth-child(-n+2) {
        display: block;
    }
}

/* DESKTOP: tampil 3 review (default) */
@media (min-width: 992px) {
    #reviewCarousel .carousel-item .col-lg-4 {
        display: block;
    }
}

/* ================= FOOTER ================= */

.footer-main {
    position: relative;
    background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    border-top: 1px solid rgba(79,70,229,.12);
    overflow: hidden;
}

/* soft background graphic */
.footer-main::before {
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(400px 160px at top right, rgba(34,211,238,.12), transparent 70%),
        radial-gradient(400px 160px at bottom left, rgba(124,58,237,.12), transparent 70%);
    pointer-events:none;
}

/* footer title */
.footer-main h6 {
    font-weight: 800;
    font-size: .85rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

/* footer links */
.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: .75rem;
    text-decoration: none;
    line-height: 2.2;
    transition: all .25s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

/* divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(79,70,229,.25),
        transparent
    );
    margin: 30px 0;
}

/* social icons */
.sosmed-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(180deg,#f8fafc,#ffffff);
    border: 1px solid rgba(79,70,229,.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .3s ease;
}

.sosmed-link:hover {
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79,70,229,.35);
}

/* payment icons */
.payment-mini img {
    height: 24px;
    filter: grayscale(1);
    opacity: .55;
    transition: all .3s ease;
}

.payment-mini img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* copyright */
.footer-copyright {
    font-size: .7rem;
    color: var(--text-muted);
}

/* ================= MOBILE FOOTER ================= */

.footer-mobile {
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    height: 62px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;

    border: 1px solid rgba(79,70,229,.15);
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.footer-mobile a {
    text-decoration: none;
    color: #94a3b8;
    font-size: .65rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .25s;
}

.footer-mobile a i {
    font-size: 1.2rem;
}

.footer-mobile a.active {
    color: var(--primary);
}

.footer-mobile a.active i {
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* badge cart */
.badge-cart {
    position: absolute;
    top: -6px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: .55rem;
    padding: 2px 6px;
    border-radius: 999px;
    border: 2px solid white;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .footer-main {
        padding-bottom: 120px;
    }
}

/* ===============================
   PREMIUM COLORFUL ELEGANT SAAS 2026
   =============================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #4f46e5;
    --secondary: #7c3aed;
    --accent: #22d3ee;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

body {
    background: linear-gradient(180deg,#eef2ff 0%,#f8fafc 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    padding-top: 108px; /* NAV OFFSET */
}

/* ================= FIXED NAVBAR ================= */

.fixed-top-wrapper {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1050;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(79,70,229,.12);
    box-shadow: 0 8px 25px rgba(79,70,229,.08);
}

.navbar {
    min-height: 64px;
}

/* ================= NAV ICON ================= */

.nav-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(180deg,#f8fafc,#ffffff);
    border: 1px solid rgba(79,70,229,.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    position: relative;
    transition: .3s ease;
}

.nav-icon-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79,70,229,.25);
}

/* CART BADGE */
.badge-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    font-size: .6rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 999px;
    border: 2px solid white;
}

/* ================= SUB NAV ================= */

.sub-nav-wrapper {
    position: sticky;
    top: 64px;
    z-index: 1040;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79,70,229,.08);
}

.sub-nav-list {
    padding: 10px 0;
}

.sub-nav-item a {
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    padding: 6px 0;
    transition: .25s;
}

.sub-nav-item a:hover {
    color: var(--primary) !important;
}

/* UNDERLINE EFFECT */
.sub-nav-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    border-radius: 999px;
    transition: .3s;
}

.sub-nav-item a:hover::after,
.sub-nav-item a.active::after {
    width: 100%;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .sub-nav-list {
        gap: 18px;
    }

    .sub-nav-list::-webkit-scrollbar {
        display: none;
    }
}

.navbar-brand img {
    max-height: 36px;
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 25px;
    }
}

/* ================= MOBILE: NAVBAR TIDAK STICKY ================= */
@media (max-width: 768px) {

    /* matikan fixed navbar */
    .fixed-top-wrapper {
        position: static;
        backdrop-filter: none;
        box-shadow: none;
        border-bottom: none;
    }

    /* hapus offset body */
    body {
        padding-top: 0 !important;
    }
}


