/* =====================================================================
   USAHAKU — SKY BLUE E-COMMERCE THEME
   Palette: #0284c7 · #38bdf8 · #f0f9ff · #1e293b
   ===================================================================== */

:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --sky-800: #075985;
    --sky-900: #0c4a6e;
    --navy: #1e293b;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --gradient-sky: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    --gradient-soft: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, .06);
    --shadow-sky: 0 10px 30px rgba(2, 132, 199, .15);
    --shadow-sky-lg: 0 22px 55px rgba(2, 132, 199, .22);
    --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #334155;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
a { text-decoration: none; transition: all .2s ease; }
img { max-width: 100%; }

::selection { background: var(--sky-200); color: var(--ink); }

.text-sky { color: var(--sky-600) !important; }
.text-navy { color: var(--navy) !important; }
.bg-soft-sky { background: var(--sky-50) !important; }
.bg-sky-gradient { background: var(--gradient-sky) !important; }
.fw-800 { font-weight: 800 !important; }
.lh-1 { line-height: 1 !important; }

.section-padding { padding: 72px 0; }
.section-padding-sm { padding: 48px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--sky-600);
    margin-bottom: .65rem;
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-sky);
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.35rem); margin-bottom: .4rem; }
.section-subtitle { color: var(--muted); max-width: 620px; margin-bottom: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.link-more { font-weight: 700; color: var(--sky-600); white-space: nowrap; }
.link-more i { transition: transform .2s ease; }
.link-more:hover { color: var(--sky-700); }
.link-more:hover i { transform: translateX(4px); }

/* ---------------------------------- Buttons --------------------------------- */
.btn { font-weight: 700; border-radius: 12px; padding: .65rem 1.25rem; transition: all .25s ease; }
.btn-sky {
    background: var(--gradient-sky);
    border: 1px solid transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(2, 132, 199, .28);
}
.btn-sky:hover, .btn-sky:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(2, 132, 199, .38);
}
.btn-outline-sky { border: 1.5px solid var(--sky-600); color: var(--sky-700); background: #fff; }
.btn-outline-sky:hover { background: var(--sky-50); border-color: var(--sky-700); color: var(--sky-800); transform: translateY(-2px); }
.btn-glow { box-shadow: 0 0 0 0 rgba(56, 189, 248, .55), 0 10px 25px rgba(2, 132, 199, .35); animation: pulseGlow 2.4s infinite; }
.btn-hero-light { background: #fff; color: var(--sky-700); border: 0; box-shadow: 0 12px 30px rgba(2, 42, 70, .2); }
.btn-hero-light:hover { background: var(--sky-50); color: var(--sky-800); transform: translateY(-2px); }
.btn-hero-outline { border: 1.5px solid rgba(255, 255, 255, .65); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.btn-hero-outline:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-soft-sky { background: var(--sky-50); color: var(--sky-700); border: 1px solid var(--sky-100); }
.btn-soft-sky:hover { background: var(--sky-100); color: var(--sky-800); }
.btn-danger-soft { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.btn-danger-soft:hover { background: #fee2e2; color: #b91c1c; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, .5), 0 10px 25px rgba(2, 132, 199, .35); }
    70% { box-shadow: 0 0 0 16px rgba(56, 189, 248, 0), 0 10px 25px rgba(2, 132, 199, .35); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0), 0 10px 25px rgba(2, 132, 199, .35); }
}

/* ---------------------------------- Topbar ---------------------------------- */
.topbar {
    background: linear-gradient(90deg, var(--sky-900), var(--sky-700) 55%, var(--sky-600));
    color: rgba(255, 255, 255, .88);
    font-size: .78rem;
    font-weight: 600;
}
.topbar a { color: rgba(255, 255, 255, .88); }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--sky-300); margin-right: .25rem; }
.topbar-divider { width: 1px; height: 12px; background: rgba(255, 255, 255, .25); }

/* ---------------------------------- Navbar ---------------------------------- */
.navbar-usahaku {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    padding: .7rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, .8);
    transition: box-shadow .25s ease, padding .25s ease;
}
.navbar-usahaku.scrolled { box-shadow: 0 8px 30px rgba(15, 23, 42, .08); padding: .45rem 0; }
.brand-usahaku { display: inline-flex; align-items: center; gap: .65rem; }
.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--gradient-sky);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 8px 18px rgba(2, 132, 199, .3);
    position: relative;
    overflow: hidden;
}
.brand-badge::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    top: -14px;
    right: -10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.35rem; color: var(--ink); letter-spacing: -.04em; font-weight: 800; }
.brand-text small { font-size: .62rem; color: var(--sky-600); font-weight: 700; letter-spacing: .03em; margin-top: 4px; }
.navbar-nav .nav-link {
    color: #334155;
    font-weight: 700;
    font-size: .88rem;
    padding: .6rem .8rem !important;
    position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--sky-600); }
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .3rem;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-sky);
}
.hot-badge { font-size: .55rem; letter-spacing: .04em; vertical-align: middle; }
.nav-search {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: .25rem .25rem .25rem .95rem;
    min-width: 300px;
    transition: all .25s ease;
}
.nav-search:focus-within { border-color: var(--sky-400); background: #fff; box-shadow: 0 0 0 4px rgba(56, 189, 248, .13); }
.nav-search i { color: var(--sky-500); font-size: .95rem; }
.nav-search input { border: 0; background: transparent; outline: 0; width: 100%; padding: .4rem .7rem; font-size: .86rem; color: var(--ink); }
.nav-search .btn { border-radius: 999px; padding: .45rem 1rem; font-size: .8rem; box-shadow: none; }
.nav-actions { gap: .25rem !important; }
.nav-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 1.15rem;
    position: relative;
    transition: all .2s ease;
}
.nav-icon-btn:hover { color: var(--sky-600); background: var(--sky-50); transform: translateY(-2px); }
.badge-count {
    position: absolute;
    top: 2px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 99px;
    background: #ef4444;
    color: #fff;
    font-size: .6rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, .4);
}
.badge-count[hidden] { display: none !important; }
.profile-toggle {
    display: flex;
    align-items: center;
    gap: .55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .25rem .75rem .25rem .25rem;
    background: #fff;
    color: var(--ink);
}
.profile-toggle:hover { border-color: var(--sky-300); background: var(--sky-50); }
.profile-toggle::after { color: var(--muted); font-size: .7rem; }
.profile-toggle strong { font-size: .8rem; }
.profile-toggle .text-muted { font-size: .65rem; }
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--gradient-sky);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
    flex-shrink: 0;
}
.profile-menu { min-width: 250px; border-radius: 16px; padding: .5rem; }
.profile-menu .dropdown-item { border-radius: 10px; padding: .6rem .75rem; font-size: .85rem; font-weight: 600; color: #475569; }
.profile-menu .dropdown-item i { width: 24px; color: var(--sky-500); }
.profile-menu .dropdown-item:hover { background: var(--sky-50); color: var(--sky-700); }
.profile-menu .dropdown-header { font-size: .72rem; color: var(--muted); font-weight: 600; padding: .55rem .75rem; }
.mega-menu { min-width: 270px; border-radius: 18px; padding: .6rem; }
.mega-menu-head { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--sky-600); padding: .55rem .8rem; }
.mega-menu .dropdown-item { border-radius: 10px; padding: .55rem .65rem; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.mega-menu .dropdown-item:hover { background: var(--sky-50); color: var(--sky-700); }
.mega-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-600); font-size: .85rem; }
.mega-count { margin-left: auto; font-size: .68rem; color: var(--muted); background: #f1f5f9; border-radius: 99px; padding: .1rem .45rem; }

/* ---------------------------------- Flash alerts ---------------------------- */
.flash-container { position: relative; z-index: 30; }
.alert { font-size: .88rem; font-weight: 600; }

/* ---------------------------------- Hero ------------------------------------ */
.hero-section {
    position: relative;
    background: var(--gradient-sky);
    color: #fff;
    overflow: hidden;
    padding: 28px 0 110px;
}
.hero-section::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 90px solid rgba(255, 255, 255, .06);
    top: -260px;
    right: -120px;
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
    bottom: -180px;
    left: -120px;
}
.hero-glow-1, .hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}
.hero-glow-1 { width: 16px; height: 16px; background: #fff; opacity: .55; top: 18%; left: 7%; animation: floatY 5s ease-in-out infinite; }
.hero-glow-2 { width: 10px; height: 10px; background: var(--sky-200); top: 34%; right: 46%; animation: floatY 4s ease-in-out infinite 1s; }
.hero-carousel { position: relative; z-index: 2; }
.hero-carousel .carousel-item { min-height: 470px; }
.hero-slide { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2.5rem; align-items: center; padding: 1.5rem 0; }
.hero-copy { max-width: 590px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
    padding: .45rem .9rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 1.15rem;
    color: #fff;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.hero-copy h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 1rem; text-shadow: 0 8px 30px rgba(0, 40, 70, .12); }
.hero-copy h1 .accent {
    position: relative;
    display: inline-block;
    color: #e0f2fe;
}
.hero-copy h1 .accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: .07em;
    height: .12em;
    border-radius: 99px;
    background: rgba(253, 224, 71, .8);
    z-index: -1;
}
.hero-copy p { color: rgba(255, 255, 255, .84); font-size: 1.02rem; max-width: 480px; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.4rem; }
.hero-actions .btn { padding: .85rem 1.45rem; font-size: .92rem; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; color: rgba(255, 255, 255, .9); font-size: .78rem; font-weight: 600; }
.hero-avatars { display: flex; }
.hero-avatars span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .68rem;
    font-weight: 800;
    margin-left: -10px;
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-avatars span:nth-child(2) { background: #f59e0b; }
.hero-avatars span:nth-child(3) { background: #10b981; }
.hero-avatars span:nth-child(4) { background: #8b5cf6; }
.hero-stars { color: #fde047; font-size: .8rem; letter-spacing: .05em; }

.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    animation: morphBlob 14s ease-in-out infinite;
}
.hero-blob-2 {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px dashed rgba(255, 255, 255, .3);
    animation: spinSlow 35s linear infinite;
}
.hero-product-frame {
    position: relative;
    z-index: 3;
    width: min(360px, 82%);
    aspect-ratio: 1/1;
    border-radius: 34px;
    padding: 14px;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(16px);
    box-shadow: 0 35px 70px rgba(3, 50, 80, .3);
    transform: rotate(-3deg);
    transition: transform .5s ease;
}
.hero-product-frame:hover { transform: rotate(0) translateY(-8px); }
.hero-product-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.hero-float-card {
    position: absolute;
    z-index: 5;
    background: rgba(255, 255, 255, .97);
    border-radius: 16px;
    padding: .7rem .9rem;
    box-shadow: 0 18px 40px rgba(3, 50, 80, .25);
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .72rem;
    color: var(--ink);
    font-weight: 700;
    animation: floatY 4.5s ease-in-out infinite;
}
.hero-float-card i { font-size: 1.25rem; color: var(--sky-600); }
.hero-float-card small { display: block; color: var(--muted); font-weight: 600; font-size: .62rem; }
.hero-float-1 { top: 10%; right: -2%; }
.hero-float-2 { bottom: 12%; left: -4%; animation-delay: .8s; }
.hero-float-3 {
    bottom: 3%;
    right: 8%;
    background: var(--ink);
    color: #fff;
    animation-delay: 1.6s;
}
.hero-float-3 small { color: rgba(255, 255, 255, .65); }
.hero-float-3 i { color: #fde047; }
.hero-tag {
    position: absolute;
    z-index: 4;
    top: 2%;
    left: 1%;
    background: #fef08a;
    color: #713f12;
    font-weight: 800;
    font-size: .72rem;
    border-radius: 999px;
    padding: .45rem .8rem;
    transform: rotate(-8deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
.carousel-indicators {
    bottom: 12px;
    margin-bottom: 0;
    z-index: 10;
}
.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    border: 0;
    opacity: 1;
    margin: 0 4px;
    transition: width .3s ease;
}
.carousel-indicators .active { width: 28px; border-radius: 99px; background: #fff; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    opacity: 1;
    backdrop-filter: blur(8px);
}
.hero-carousel .carousel-control-prev { left: -10px; }
.hero-carousel .carousel-control-next { right: -10px; }
.hero-carousel .carousel-control-prev:hover, .hero-carousel .carousel-control-next:hover { background: rgba(255, 255, 255, .3); }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon { width: 16px; height: 16px; }
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}
.hero-wave svg { width: 100%; height: 70px; display: block; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes morphBlob { 0%,100% { border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; } 50% { border-radius: 56% 44% 42% 58% / 54% 58% 42% 46%; } }

/* ---------------------------------- Trust bar ------------------------------- */
.trust-section { position: relative; z-index: 5; margin-top: -58px; }
.trust-grid {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
    padding: 1rem;
    border: 1px solid rgba(226, 232, 240, .8);
}
.trust-item { display: flex; align-items: center; gap: .85rem; padding: .75rem 1rem; border-radius: 16px; height: 100%; transition: all .25s ease; }
.trust-item:hover { background: var(--sky-50); }
.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--gradient-soft);
    color: var(--sky-600);
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid var(--sky-100);
}
.trust-item h6 { font-size: .82rem; margin: 0 0 2px; font-weight: 800; }
.trust-item small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.35; }

/* ---------------------------------- Categories ------------------------------ */
.category-card { display: block; text-align: center; padding: .75rem .4rem 1.1rem; border-radius: 20px; position: relative; transition: all .3s ease; }
.category-card:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-sky); }
.category-thumb {
    width: 118px;
    height: 118px;
    margin: 0 auto .8rem;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--sky-200), #fff 70%);
    position: relative;
    transition: all .35s ease;
}
.category-thumb::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(2, 132, 199, .18);
}
.category-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform .45s ease;
}
.category-card:hover .category-thumb img { transform: scale(1.1); }
.category-card h6 { font-size: .9rem; margin-bottom: .18rem; }
.category-card small { color: var(--muted); font-size: .72rem; }
.category-card:hover h6 { color: var(--sky-600); }

/* ---------------------------------- Product card ---------------------------- */
.product-card {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 20px;
    overflow: hidden;
    transition: all .3s ease;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(2, 132, 199, .15), 0 22px 45px rgba(2, 132, 199, .08);
    border-color: var(--sky-200);
}
.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(15, 23, 42, .08));
    opacity: 0;
    transition: opacity .3s ease;
}
.product-card:hover .product-media::after { opacity: 1; }
.badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    padding: .3rem .55rem;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(239, 68, 68, .3);
}
.badge-flash {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: var(--ink);
    color: #fde047;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .05em;
    padding: .3rem .55rem;
    border-radius: 8px;
    display: inline-flex;
    gap: .25rem;
    align-items: center;
}
.badge-discount + .badge-flash { top: 46px; }
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .94);
    color: #64748b;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .1);
    transition: all .2s ease;
}
.wishlist-btn:hover, .wishlist-btn.active { color: #ef4444; background: #fff; transform: scale(1.08); }
.wishlist-btn.active i::before { content: "\f417"; }
.product-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sky-600); margin-bottom: .35rem; }
.product-name { font-size: .92rem; line-height: 1.35; margin-bottom: .35rem; font-weight: 700; }
.product-name a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name a:hover { color: var(--sky-600); }
.product-rating { display: flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--muted); margin-bottom: .55rem; }
.product-rating .stars { color: #f59e0b; letter-spacing: .03em; font-size: .72rem; }
.product-rating strong { color: var(--ink); font-size: .72rem; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin-top: auto; margin-bottom: .8rem; }
.price-now { font-size: 1.02rem; font-weight: 800; color: var(--sky-700); letter-spacing: -.02em; }
.price-old { font-size: .75rem; color: #94a3b8; text-decoration: line-through; }
.stock-hint { font-size: .66rem; color: var(--muted); }
.stock-hint.low { color: #ef4444; font-weight: 700; }
.btn-add-cart {
    width: 100%;
    border: 1.5px solid var(--sky-100);
    background: var(--sky-50);
    color: var(--sky-700);
    border-radius: 11px;
    padding: .55rem .75rem;
    font-size: .78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: all .25s ease;
}
.btn-add-cart:hover { background: var(--gradient-sky); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(2, 132, 199, .25); }
.btn-add-cart:disabled { opacity: .55; }

/* ---------------------------------- Flash sale ------------------------------ */
.flash-section { background: var(--sky-50); position: relative; overflow: hidden; }
.flash-section::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .14), transparent 65%);
    top: -180px;
    left: -100px;
}
.flash-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(2, 132, 199, .1) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent);
    pointer-events: none;
    opacity: .6;
}
.flash-section .container { position: relative; z-index: 2; }
.flash-badge { display: inline-flex; align-items: center; gap: .4rem; background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; border-radius: 999px; padding: .35rem .8rem; font-size: .7rem; font-weight: 800; letter-spacing: .05em; box-shadow: 0 8px 18px rgba(239, 68, 68, .25); }
.countdown { display: flex; align-items: center; gap: .4rem; }
.countdown-box {
    min-width: 48px;
    height: 46px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(15, 23, 42, .15);
}
.countdown-box strong { font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown-box small { font-size: .48rem; opacity: .65; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.countdown-sep { font-weight: 800; color: var(--sky-600); font-size: 1.1rem; }
.flash-card-wrap { position: relative; }
.flash-progress { height: 5px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin-top: .65rem; }
.flash-progress span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f97316, #ef4444); }

/* ---------------------------------- Promo banner ---------------------------- */
.promo-banner {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(120deg, var(--sky-900), var(--sky-600) 58%, var(--sky-400));
    color: #fff;
    min-height: 280px;
    display: flex;
    align-items: center;
    box-shadow: 0 26px 60px rgba(2, 132, 199, .25);
}
.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/banners/banner-shopping.jpg') center/cover;
    opacity: .18;
    mix-blend-mode: luminosity;
}
.promo-banner::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, .08);
    right: -100px;
    top: -120px;
}
.promo-banner-content { position: relative; z-index: 2; padding: 2.5rem; max-width: 660px; }
.promo-banner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.1; }
.promo-banner p { color: rgba(255, 255, 255, .82); max-width: 490px; }
.promo-chip { display: inline-flex; align-items: center; gap: .4rem; background: #fde047; color: #713f12; font-weight: 800; font-size: .7rem; padding: .35rem .75rem; border-radius: 999px; letter-spacing: .05em; }
.promo-stat { display: flex; gap: 1.75rem; margin-top: 1.1rem; }
.promo-stat strong { display: block; font-size: 1.4rem; color: #fff; line-height: 1; }
.promo-stat small { color: rgba(255, 255, 255, .65); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------------------------------- Testimonials ---------------------------- */
.testimonial-section { background: linear-gradient(180deg, #fff, var(--sky-50)); }
.testimonial-card {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 22px;
    padding: 1.6rem;
    height: 100%;
    position: relative;
    transition: all .3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sky); }
.testimonial-quote-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--gradient-soft);
    color: var(--sky-600);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.testimonial-card p { font-size: .9rem; line-height: 1.7; color: #475569; }
.testimonial-stars { color: #f59e0b; font-size: .82rem; letter-spacing: .06em; }
.testimonial-person { display: flex; align-items: center; gap: .75rem; margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid #f1f5f9; }
.testimonial-person .avatar-circle { width: 44px; height: 44px; font-size: .9rem; }
.testimonial-person strong { display: block; font-size: .85rem; }
.testimonial-person small { color: var(--muted); font-size: .7rem; }
.testimonial-verified { margin-left: auto; font-size: .65rem; color: #16a34a; font-weight: 700; display: inline-flex; align-items: center; gap: .2rem; }

/* ---------------------------------- Value strip ----------------------------- */
.value-strip { border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.value-item { display: flex; gap: .75rem; align-items: center; padding: .5rem; }
.value-item i { font-size: 1.5rem; color: var(--sky-500); }
.value-item strong { font-size: .8rem; display: block; }
.value-item small { color: var(--muted); font-size: .68rem; }

/* ---------------------------------- Footer ---------------------------------- */
.footer-usahaku { background: var(--ink); color: #cbd5e1; margin-top: 0; }
.footer-cta { padding: 0; }
.footer-cta-inner {
    background: var(--gradient-sky);
    border-radius: 24px;
    padding: 2rem 2.2rem;
    transform: translateY(-46px);
    box-shadow: 0 25px 55px rgba(2, 132, 199, .28);
    position: relative;
    overflow: hidden;
}
.footer-cta-inner::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .1);
    right: -60px;
    top: -80px;
}
.footer-cta h3 { color: #fff; font-size: 1.35rem; }
.newsletter-form { position: relative; z-index: 2; min-width: min(420px, 100%); }
.newsletter-form .input-group { background: #fff; border-radius: 12px; padding: .25rem; box-shadow: 0 10px 25px rgba(0, 0, 0, .12); }
.newsletter-form .input-group-text { background: transparent; border: 0; color: var(--sky-500); }
.newsletter-form input { border: 0; font-size: .85rem; box-shadow: none !important; }
.newsletter-form .btn { border-radius: 9px; background: var(--ink); color: #fff; font-size: .8rem; }
.newsletter-form .btn:hover { background: var(--navy); }
.newsletter-note { display: block; color: rgba(255, 255, 255, .7); font-size: .65rem; margin-top: .5rem; }
.footer-main { padding: 1rem 0 3rem; }
.footer-desc { color: #94a3b8; font-size: .82rem; line-height: 1.75; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: var(--sky-400); }
.brand-footer .brand-badge { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); box-shadow: none; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #cbd5e1;
}
.footer-social a:hover { background: var(--sky-600); color: #fff; transform: translateY(-3px); }
.footer-contact { display: grid; gap: .5rem; font-size: .76rem; color: #94a3b8; }
.footer-contact i { color: var(--sky-400); width: 20px; }
.footer-title { color: #fff; font-size: .85rem; letter-spacing: .02em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: #94a3b8; font-size: .78rem; }
.footer-links a:hover { color: var(--sky-400); padding-left: 4px; }
.payment-grid { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #cbd5e1;
    border-radius: 8px;
    padding: .35rem .55rem;
    font-size: .66rem;
    font-weight: 600;
}
.security-box {
    display: flex;
    align-items: center;
    gap: .65rem;
    background: rgba(2, 132, 199, .12);
    border: 1px solid rgba(56, 189, 248, .2);
    border-radius: 12px;
    padding: .6rem .75rem;
}
.security-box i { color: var(--sky-400); font-size: 1.2rem; }
.security-box strong { display: block; color: #e0f2fe; font-size: .72rem; }
.security-box small { color: #7dd3fc; font-size: .62rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .07); padding: 1.1rem 0; font-size: .72rem; color: #64748b; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--sky-400); }
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-sky);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    z-index: 50;
    transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; transform: translateY(-3px); }

/* ---------------------------------- Generic cards --------------------------- */
.card-modern { border: 1px solid #e8eef5; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.card-modern .card-header { background: transparent; border-bottom: 1px solid #f1f5f9; padding: 1.15rem 1.35rem; }
.card-modern .card-body { padding: 1.35rem; }
.breadcrumb-sky { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .76rem; color: var(--muted); margin-bottom: 0; padding: 0; list-style: none; }
.breadcrumb-sky a { color: var(--muted); }
.breadcrumb-sky a:hover { color: var(--sky-600); }
.breadcrumb-sky li + li::before { content: '/'; margin-right: .4rem; color: #cbd5e1; }
.breadcrumb-sky .active { color: var(--sky-700); font-weight: 700; }

.page-hero {
    background: var(--gradient-soft);
    border-bottom: 1px solid var(--sky-100);
    padding: 38px 0 34px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 50px solid rgba(56, 189, 248, .1);
    right: -60px;
    top: -120px;
}
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: .3rem; position: relative; z-index: 2; }
.page-hero p { color: var(--muted); margin-bottom: 0; font-size: .88rem; position: relative; z-index: 2; }

/* ---------------------------------- Forms ----------------------------------- */
.form-control, .form-select {
    border-radius: 11px;
    border: 1.5px solid #e2e8f0;
    padding: .65rem .85rem;
    font-size: .88rem;
    color: var(--ink);
}
.form-control:focus, .form-select:focus { border-color: var(--sky-400); box-shadow: 0 0 0 4px rgba(56, 189, 248, .12); }
.form-label { font-size: .8rem; font-weight: 700; color: #475569; margin-bottom: .4rem; }
.form-check-input:checked { background-color: var(--sky-600); border-color: var(--sky-600); }
.input-group-text { border-radius: 11px; border: 1.5px solid #e2e8f0; background: #f8fafc; color: var(--muted); }

/* ---------------------------------- Auth pages ------------------------------ */
.auth-wrapper { min-height: calc(100vh - 160px); background: var(--sky-50); padding: 3rem 0; display: flex; align-items: center; position: relative; overflow: hidden; }
.auth-wrapper::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .2), transparent 70%); top: -200px; right: -150px; }
.auth-card { border: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(15, 23, 42, .12); background: #fff; max-width: 980px; margin: 0 auto; }
.auth-visual {
    background: var(--gradient-sky);
    color: #fff;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 520px;
}
.auth-visual::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .1); right: -80px; top: -80px; }
.auth-visual::after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .08); bottom: -60px; left: -40px; }
.auth-visual h2 { color: #fff; font-size: 1.8rem; line-height: 1.2; position: relative; z-index: 2; }
.auth-visual p { color: rgba(255, 255, 255, .8); font-size: .86rem; position: relative; z-index: 2; }
.auth-feature { display: flex; gap: .7rem; align-items: flex-start; position: relative; z-index: 2; margin-top: 1rem; }
.auth-feature i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .15); color: #fff; flex-shrink: 0; }
.auth-feature strong { font-size: .8rem; display: block; color: #fff; }
.auth-feature small { color: rgba(255, 255, 255, .72); font-size: .7rem; }
.auth-form { padding: 2.7rem 2.8rem; }
.auth-form h1 { font-size: 1.7rem; margin-bottom: .3rem; }
.auth-form .sub { color: var(--muted); font-size: .85rem; margin-bottom: 1.6rem; }
.password-toggle { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); z-index: 5; }
.divider-text { display: flex; align-items: center; gap: .75rem; color: #94a3b8; font-size: .72rem; margin: 1rem 0; }
.divider-text::before, .divider-text::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.demo-box { background: var(--sky-50); border: 1px dashed var(--sky-200); border-radius: 12px; padding: .75rem .9rem; font-size: .72rem; color: var(--sky-800); }

/* ---------------------------------- Catalog --------------------------------- */
.filter-card { border: 1px solid #e8eef5; border-radius: 18px; background: #fff; padding: 1.25rem; position: sticky; top: 95px; }
.filter-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: .85rem; display: flex; align-items: center; justify-content: space-between; }
.filter-list { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; padding: .5rem .65rem; border-radius: 9px; font-size: .82rem; color: #475569; font-weight: 600; }
.filter-list a:hover, .filter-list a.active { background: var(--sky-50); color: var(--sky-700); }
.filter-list .count { font-size: .65rem; background: #f1f5f9; border-radius: 99px; padding: .1rem .4rem; color: var(--muted); }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.result-count { font-size: .82rem; color: var(--muted); }
.result-count strong { color: var(--ink); }
.active-chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--sky-50); color: var(--sky-700); border: 1px solid var(--sky-200); border-radius: 999px; padding: .28rem .6rem; font-size: .7rem; font-weight: 700; }

/* ---------------------------------- Product detail -------------------------- */
.gallery-main { border-radius: 24px; overflow: hidden; border: 1px solid #e8eef5; background: #f8fafc; position: relative; aspect-ratio: 1/1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #f8fafc; cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--sky-500); box-shadow: 0 4px 12px rgba(2, 132, 199, .2); }
.detail-title { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.25; margin: .35rem 0 .6rem; }
.detail-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .78rem; color: var(--muted); }
.detail-rating .stars { color: #f59e0b; letter-spacing: .05em; }
.detail-price-box { background: var(--sky-50); border: 1px solid var(--sky-100); border-radius: 16px; padding: 1rem 1.15rem; margin: 1rem 0; }
.detail-price { font-size: 1.85rem; font-weight: 800; color: var(--sky-700); letter-spacing: -.03em; line-height: 1; }
.detail-price-old { color: #94a3b8; text-decoration: line-through; font-size: .9rem; }
.detail-discount { background: #fee2e2; color: #dc2626; font-size: .7rem; font-weight: 800; border-radius: 6px; padding: .2rem .45rem; }
.variant-label { font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; display: block; }
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-option input { position: absolute; opacity: 0; pointer-events: none; }
.variant-option span { display: inline-block; border: 1.5px solid #e2e8f0; background: #fff; border-radius: 10px; padding: .45rem .85rem; font-size: .78rem; font-weight: 700; color: #475569; cursor: pointer; transition: all .2s ease; }
.variant-option input:checked + span { border-color: var(--sky-500); background: var(--sky-50); color: var(--sky-700); box-shadow: 0 0 0 3px rgba(56, 189, 248, .13); }
.variant-option input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid #e2e8f0; border-radius: 11px; overflow: hidden; }
.qty-control button { width: 38px; height: 40px; border: 0; background: #f8fafc; color: var(--ink); font-size: 1rem; }
.qty-control button:hover { background: var(--sky-50); color: var(--sky-600); }
.qty-control input { width: 48px; height: 40px; border: 0; text-align: center; font-weight: 700; font-size: .85rem; outline: 0; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.detail-actions .btn { padding: .75rem 1.15rem; font-size: .85rem; }
.detail-meta { display: grid; gap: .45rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px dashed #e2e8f0; font-size: .75rem; color: var(--muted); }
.detail-meta i { color: var(--sky-500); width: 20px; }
.detail-desc { color: #475569; font-size: .88rem; line-height: 1.8; }
.shop-info-card { display: flex; align-items: center; gap: .75rem; background: var(--sky-50); border: 1px solid var(--sky-100); border-radius: 14px; padding: .8rem 1rem; }
.shop-info-card .brand-badge { width: 40px; height: 40px; font-size: 1rem; border-radius: 11px; }
.shop-info-card strong { font-size: .82rem; display: block; }
.shop-info-card small { font-size: .68rem; color: var(--muted); }

/* ---------------------------------- Cart ------------------------------------ */
.cart-item { display: flex; gap: 1rem; padding: 1rem; border: 1px solid #eef2f7; border-radius: 16px; background: #fff; }
.cart-item + .cart-item { margin-top: .75rem; }
.cart-item-img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #f8fafc; }
.cart-item-title { font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; display: block; }
.cart-item-title:hover { color: var(--sky-600); }
.cart-item-meta { font-size: .7rem; color: var(--muted); }
.cart-item-price { font-size: .9rem; font-weight: 800; color: var(--sky-700); }
.summary-card { border: 1px solid #e8eef5; border-radius: 18px; background: #fff; padding: 1.35rem; position: sticky; top: 95px; }
.summary-title { font-size: 1rem; margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; color: #475569; padding: .35rem 0; }
.summary-row.total { border-top: 1px dashed #e2e8f0; margin-top: .6rem; padding-top: .8rem; font-size: 1rem; color: var(--ink); font-weight: 800; }
.summary-row.total .value { color: var(--sky-700); font-size: 1.15rem; }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-icon { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.25rem; background: var(--sky-50); color: var(--sky-400); font-size: 2.2rem; border: 1px solid var(--sky-100); }

/* ---------------------------------- Checkout -------------------------------- */
.checkout-steps { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.checkout-step { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; color: #94a3b8; }
.checkout-step .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f9; color: #94a3b8; font-size: .72rem; }
.checkout-step.active { color: var(--sky-700); }
.checkout-step.active .num { background: var(--gradient-sky); color: #fff; box-shadow: 0 6px 14px rgba(2, 132, 199, .25); }
.checkout-step.done .num { background: #dcfce7; color: #16a34a; }
.checkout-step-line { width: 40px; height: 2px; background: #e2e8f0; }
.address-option { display: block; border: 1.5px solid #e2e8f0; border-radius: 14px; padding: .9rem 1rem; cursor: pointer; transition: all .2s ease; background: #fff; }
.address-option:hover { border-color: var(--sky-300); background: #fbfdff; }
.address-option input { margin-top: .22rem; }
.address-option.selected { border-color: var(--sky-500); background: var(--sky-50); box-shadow: 0 0 0 3px rgba(56, 189, 248, .12); }
.address-option strong { font-size: .85rem; }
.address-option .addr-text { font-size: .75rem; color: var(--muted); line-height: 1.5; margin-top: .2rem; }
.primary-label { font-size: .58rem; background: var(--sky-100); color: var(--sky-700); padding: .1rem .35rem; border-radius: 4px; font-weight: 800; margin-left: .35rem; }
.courier-option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1.5px solid #e2e8f0; border-radius: 13px; padding: .8rem .9rem; cursor: pointer; transition: all .2s ease; background: #fff; }
.courier-option + .courier-option { margin-top: .5rem; }
.courier-option:hover { border-color: var(--sky-300); }
.courier-option.selected { border-color: var(--sky-500); background: var(--sky-50); }
.courier-option input { margin-right: .4rem; }
.courier-option strong { font-size: .82rem; display: block; }
.courier-option small { font-size: .68rem; color: var(--muted); }
.courier-price { font-size: .8rem; font-weight: 800; color: var(--sky-700); white-space: nowrap; }
.payment-note { background: var(--sky-50); border: 1px solid var(--sky-100); border-radius: 12px; padding: .75rem .9rem; font-size: .73rem; color: var(--sky-800); display: flex; gap: .55rem; }
.payment-note i { color: var(--sky-500); font-size: 1rem; }
.checkout-item { display: flex; gap: .75rem; padding: .55rem 0; border-bottom: 1px dashed #eef2f7; font-size: .78rem; }
.checkout-item:last-child { border-bottom: 0; }
.checkout-item img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.checkout-item .name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.checkout-item small { color: var(--muted); font-size: .68rem; }

/* ---------------------------------- Orders ---------------------------------- */
.order-card { border: 1px solid #e8eef5; border-radius: 18px; background: #fff; overflow: hidden; transition: all .25s ease; }
.order-card:hover { box-shadow: var(--shadow-sky); border-color: var(--sky-100); }
.order-card-head { background: #f8fafc; padding: .8rem 1.15rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; border-bottom: 1px solid #eef2f7; font-size: .76rem; }
.order-number { font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.order-card-body { padding: 1rem 1.15rem; }
.order-product-row { display: flex; gap: .7rem; align-items: center; }
.order-product-row img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; }
.order-total { font-size: 1rem; font-weight: 800; color: var(--sky-700); }
.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: #e2e8f0; }
.timeline-item { position: relative; padding-bottom: 1.1rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -1.6rem; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #cbd5e1; }
.timeline-item.active .timeline-dot { border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(56, 189, 248, .15); }
.timeline-item strong { font-size: .8rem; display: block; }
.timeline-item small { font-size: .68rem; color: var(--muted); }
.invoice-box { background: #fff; border-radius: 16px; padding: 2rem; border: 1px solid #e8eef5; }

/* ---------------------------------- Profile --------------------------------- */
.profile-side { border: 1px solid #e8eef5; border-radius: 18px; background: #fff; overflow: hidden; position: sticky; top: 95px; }
.profile-head { background: var(--gradient-soft); padding: 1.5rem; text-align: center; border-bottom: 1px solid var(--sky-100); }
.profile-head .avatar-circle { width: 64px; height: 64px; font-size: 1.4rem; margin: 0 auto .65rem; box-shadow: 0 10px 24px rgba(2, 132, 199, .25); }
.profile-head strong { display: block; font-size: 1rem; }
.profile-head small { color: var(--muted); font-size: .72rem; }
.profile-nav { padding: .5rem; display: grid; gap: .15rem; }
.profile-nav a { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 10px; font-size: .82rem; font-weight: 600; color: #475569; }
.profile-nav a i { color: #94a3b8; font-size: .95rem; }
.profile-nav a:hover, .profile-nav a.active { background: var(--sky-50); color: var(--sky-700); }
.profile-nav a.active i { color: var(--sky-600); }

/* ---------------------------------- Utility / misc -------------------------- */
.badge-soft { font-weight: 700; padding: .38rem .65rem; }
.badge-soft-warning { background: #fef3c7; color: #92400e; }
.badge-soft-info { background: #e0f2fe; color: #0369a1; }
.badge-soft-primary { background: #dbeafe; color: #1d4ed8; }
.badge-soft-success { background: #dcfce7; color: #15803d; }
.badge-soft-danger { background: #fee2e2; color: #b91c1c; }
.badge-soft-secondary { background: #f1f5f9; color: #475569; }
.pagination-sky .page-link { border: 0; border-radius: 9px !important; color: #475569; font-size: .8rem; font-weight: 700; min-width: 36px; text-align: center; }
.pagination-sky .page-link:hover { background: var(--sky-50); color: var(--sky-700); }
.pagination-sky .page-item.active .page-link { background: var(--gradient-sky); color: #fff; box-shadow: 0 6px 14px rgba(2, 132, 199, .25); }
.pagination-sky .page-item.disabled .page-link { opacity: .45; }
.toast-sky { background: #fff; border: 1px solid var(--sky-100); border-radius: 14px; box-shadow: 0 16px 40px rgba(15, 23, 42, .15); }
.toast-sky .toast-body { font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; }
.toast-sky .toast-body i { color: var(--sky-500); font-size: 1.1rem; }
.divider { height: 1px; background: #f1f5f9; margin: 1rem 0; }
.table-sky { font-size: .82rem; }
.table-sky thead th { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.table-sky tbody td { vertical-align: middle; }
.table-sky tbody tr:hover { background: #fbfdff; }
.object-fit-cover { object-fit: cover; }
.skeleton { background: linear-gradient(90deg, #f1f5f9, #e2e8f0, #f1f5f9); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------- Responsive ------------------------------ */
@media (max-width: 1199.98px) {
    .hero-slide { gap: 1rem; }
    .hero-visual { min-height: 380px; }
    .hero-product-frame { width: min(320px, 84%); }
    .hero-float-1 { right: 0; }
    .hero-float-2 { left: 0; }
    .nav-search { min-width: 220px; }
}

@media (max-width: 991.98px) {
    .navbar-collapse { padding: 1rem 0 .5rem; border-top: 1px solid #f1f5f9; margin-top: .75rem; }
    .nav-search { margin-top: .75rem; min-width: 100%; }
    .hero-section { padding-bottom: 95px; }
    .hero-slide { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
    .hero-copy { margin: 0 auto; }
    .hero-copy p { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-proof { justify-content: center; }
    .hero-visual { min-height: 340px; margin-top: .5rem; }
    .hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { display: none; }
    .hero-carousel .carousel-item { min-height: auto; }
    .section-padding { padding: 52px 0; }
    .filter-card { position: static; margin-bottom: 1.25rem; }
    .summary-card, .profile-side { position: static; }
    .footer-cta-inner { padding: 1.6rem; }
    .newsletter-form { min-width: 100%; }
    .auth-visual { min-height: auto; padding: 2rem; }
    .auth-form { padding: 2rem 1.6rem; }
    .detail-price { font-size: 1.6rem; }
}

@media (max-width: 767.98px) {
    .topbar { font-size: .68rem; }
    .topbar-right a:first-child { display: none; }
    .brand-text strong { font-size: 1.15rem; }
    .brand-badge { width: 38px; height: 38px; border-radius: 12px; font-size: 1.1rem; }
    .hero-copy h1 { font-size: 2.15rem; }
    .hero-copy p { font-size: .88rem; }
    .hero-actions .btn { padding: .7rem 1.05rem; font-size: .82rem; }
    .hero-visual { min-height: 300px; }
    .hero-blob { width: 310px; height: 310px; }
    .hero-blob-2 { width: 260px; height: 260px; }
    .hero-product-frame { width: 250px; padding: 10px; border-radius: 26px; }
    .hero-float-card { padding: .5rem .65rem; font-size: .63rem; border-radius: 12px; }
    .hero-float-card i { font-size: 1rem; }
    .hero-float-1 { right: -6px; top: 2%; }
    .hero-float-2 { left: -6px; bottom: 4%; }
    .hero-float-3 { display: none; }
    .hero-tag { font-size: .6rem; }
    .trust-grid { border-radius: 18px; }
    .trust-item { padding: .55rem .5rem; }
    .trust-icon { width: 38px; height: 38px; border-radius: 10px; font-size: 1rem; }
    .trust-item h6 { font-size: .72rem; }
    .trust-item small { font-size: .62rem; }
    .section-head { flex-direction: column; align-items: flex-start; gap: .5rem; margin-bottom: 1.4rem; }
    .category-thumb { width: 92px; height: 92px; }
    .category-card h6 { font-size: .78rem; }
    .countdown-box { min-width: 42px; height: 40px; }
    .countdown-box strong { font-size: .95rem; }
    .promo-banner-content { padding: 1.7rem; }
    .promo-stat { gap: 1.25rem; }
    .footer-main { padding-bottom: 2rem; }
    .footer-cta-inner { transform: translateY(-30px); }
    .footer-cta h3 { font-size: 1.1rem; }
    .payment-grid { gap: .3rem; }
    .cart-item-img { width: 72px; height: 72px; }
    .cart-item { padding: .8rem; gap: .75rem; }
    .detail-actions .btn { flex: 1 1 auto; }
    .checkout-step-line { width: 22px; }
    .checkout-step { font-size: .7rem; }
    .checkout-step .num { width: 24px; height: 24px; }
    .gallery-thumb { width: 62px; height: 62px; }
    .auth-form { padding: 1.75rem 1.35rem; }
    .empty-state { padding: 2.5rem 1rem; }
}

@media (max-width: 575.98px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-section { padding-top: 10px; }
    .hero-copy h1 { font-size: 1.9rem; }
    .hero-eyebrow { font-size: .65rem; }
    .hero-copy p { font-size: .82rem; }
    .hero-actions { gap: .5rem; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-proof { flex-direction: column; gap: .4rem; }
    .hero-visual { min-height: 270px; }
    .hero-product-frame { width: 220px; }
    .hero-float-1, .hero-float-2 { display: none; }
    .trust-section { margin-top: -40px; }
    .trust-grid { padding: .5rem; }
    .trust-item { flex-direction: column; text-align: center; gap: .45rem; }
    .trust-item h6 { font-size: .66rem; }
    .trust-item small { display: none; }
    .section-padding { padding: 40px 0; }
    .countdown { gap: .25rem; }
    .countdown-box { min-width: 36px; height: 36px; }
    .countdown-box small { font-size: .42rem; }
    .countdown-sep { font-size: .9rem; }
    .promo-banner-content { padding: 1.4rem; }
    .promo-banner { min-height: 240px; border-radius: 20px; }
    .product-cat { font-size: .6rem; }
    .product-name { font-size: .84rem; }
    .price-now { font-size: .95rem; }
    .btn-add-cart { font-size: .72rem; padding: .5rem; }
    .footer-cta-inner { border-radius: 18px; padding: 1.35rem; }
    .back-to-top { right: 14px; bottom: 16px; width: 40px; height: 40px; }
    .order-card-head { font-size: .7rem; }
    .invoice-box { padding: 1.25rem; }
}

/* ---------------------------------- Print ----------------------------------- */
@media print {
    .topbar, .navbar-usahaku, .footer-usahaku, .back-to-top, .flash-container, .no-print { display: none !important; }
    body { background: #fff; }
    .invoice-box { border: 0; padding: 0; }
    .container { max-width: 100%; }
}
