/* ==========================================================================
   TOKO PELAJAR — Stylesheet Utama
   Palet   : ink #12141C · paper #FFFFFF · surface #F5F3EF
             brand #0E8F6B (emerald) · accent #FF6B35 (vivid orange) · navy #182348
   Tipe    : Display = "Fraunces" | Body = "Manrope" | Mono/Tag = "JetBrains Mono"
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --ink: #12141C;
    --ink-soft: #4B4F5E;
    --paper: #FFFFFF;
    --surface: #F5F3EF;
    --surface-2: #ECE8E0;
    --brand: #0E8F6B;
    --brand-dark: #0A6E52;
    --brand-light: #E4F3EE;
    --accent: #FF6B35;
    --accent-dark: #E4551F;
    --navy: #182348;
    --navy-2: #212F5C;
    --line: #E3E0D8;
    --radius: 14px;
    --shadow-sm: 0 2px 8px rgba(18,20,28,0.06);
    --shadow-md: 0 8px 24px rgba(18,20,28,0.10);
    --shadow-lg: 0 24px 64px rgba(18,20,28,0.16);
    --font-display: 'Fraunces', serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--accent);
    display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }

/* =============== TOMBOL =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1DA851; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* =============== HEADER / NAV =============== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
}
.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: var(--accent); }
.logo img { height: 40px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink-soft);
    transition: color 0.2s;
    position: relative;
}
.nav-menu a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-icon-btn {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    transition: all 0.2s;
}
.cart-icon-btn:hover { background: var(--ink); color: #fff; }
.cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px; height: 20px;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}
.mobile-toggle { display: none; background: none; border: none; font-size: 26px; }

/* =============== HERO =============== */
.hero {
    position: relative;
    background: var(--surface);
    overflow: hidden;
    padding: 76px 0 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}
.hero-copy h1 {
    font-size: clamp(38px, 5.2vw, 64px);
    margin: 18px 0 20px;
}
.hero-copy h1 em {
    font-style: italic;
    color: var(--brand);
    position: relative;
}
.hero-copy p {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 36px; }
.hero-stats .stat-num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
}
.hero-stats .stat-label {
    font-size: 12.5px;
    color: var(--ink-soft);
    font-weight: 600;
}

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.hero-card-main {
    width: 320px;
    background: var(--paper);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 18px;
    transform: rotate(-4deg);
    position: relative;
    z-index: 2;
}
.hero-card-main img { border-radius: 12px; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.hero-price-tag {
    position: absolute;
    right: -18px;
    bottom: 40px;
    background: var(--accent);
    color: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    transform: rotate(6deg);
    z-index: 3;
    font-family: var(--font-mono);
}
.hero-price-tag .tag-label { font-size: 10px; letter-spacing: .08em; opacity: .85; text-transform: uppercase; }
.hero-price-tag .tag-price { font-size: 22px; font-weight: 700; }
.hero-badge-float {
    position: absolute;
    left: 0;
    top: 30px;
    background: var(--navy);
    color: #fff;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    z-index: 3;
    transform: rotate(-3deg);
}
.hero-badge-float .dot { width: 10px; height: 10px; border-radius: 50%; background: #38E28C; box-shadow: 0 0 0 4px rgba(56,226,140,0.25); }
.hero-blob {
    position: absolute;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: var(--brand-light);
    right: -60px;
    top: 10%;
    z-index: 1;
}

/* marquee band */
.marquee-band {
    background: var(--ink);
    color: var(--surface);
    overflow: hidden;
    padding: 14px 0;
    margin-top: 60px;
}
.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    width: max-content;
}
.marquee-track span {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 40px;
}
.marquee-track span::after { content: '✦'; color: var(--accent); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =============== SECTION UMUM =============== */
.section { padding: 84px 0; }
.section-surface { background: var(--surface); }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
    gap: 24px;
    flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.section-head p { color: var(--ink-soft); margin-top: 10px; max-width: 460px; }

/* =============== KATEGORI =============== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.category-card img { width: 100%; height: 100%; object-fit: cover; }
.category-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(18,20,28,0.85) 0%, rgba(18,20,28,0.1) 55%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 18px;
}
.category-overlay h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.category-overlay span { color: rgba(255,255,255,0.75); font-size: 12.5px; font-family: var(--font-mono); }

/* =============== PRODUK =============== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--surface); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--accent); color: #fff;
    font-size: 11px; font-weight: 800;
    padding: 5px 10px; border-radius: 999px;
    font-family: var(--font-mono);
    letter-spacing: .03em;
}
.product-badge.badge-out { background: var(--ink-soft); }
.product-info { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 11.5px; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.product-name { font-family: var(--font-body); font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price-now { font-family: var(--font-mono); font-weight: 700; font-size: 17px; color: var(--ink); }
.price-old { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); text-decoration: line-through; }
.product-actions { padding: 0 16px 16px; }

.section-footer-cta { text-align: center; margin-top: 44px; }

/* =============== KEUNGGULAN / TRUST =============== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.trust-item { text-align: left; }
.trust-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.trust-item h4 { font-size: 17px; margin-bottom: 6px; }
.trust-item p { font-size: 14px; color: var(--ink-soft); }

/* =============== CTA BANNER =============== */
.cta-banner {
    background: var(--navy);
    color: #fff;
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}
.cta-banner::after {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    background: var(--accent);
    opacity: 0.18;
    border-radius: 50%;
    right: -80px; top: -80px;
}
.cta-banner h2 { font-size: clamp(26px, 3vw, 36px); max-width: 480px; position: relative; z-index: 2; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-top: 10px; max-width: 420px; position: relative; z-index: 2; }
.cta-banner .btn-accent { position: relative; z-index: 2; }

/* =============== TESTIMONI =============== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}
.testi-stars { color: var(--accent); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--brand);
    color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
}
.testi-name { font-weight: 700; font-size: 14px; }
.testi-role { font-size: 12px; color: var(--ink-soft); }

/* =============== FOOTER =============== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 0; font-size: 12.5px; flex-wrap: wrap; gap: 10px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--accent); }

/* =============== WA FLOAT BUTTON =============== */
.wa-float {
    position: fixed;
    bottom: 26px; right: 26px;
    z-index: 200;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
    font-size: 28px;
    color: #fff;
    animation: pulse-wa 2.4s infinite;
}
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =============== BREADCRUMB & PAGE HEADER (halaman dalam) =============== */
.page-banner {
    background: var(--surface);
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
}
.page-banner h1 { font-size: 32px; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-top: 10px; font-family: var(--font-mono); }
.breadcrumb a:hover { color: var(--brand); }

/* filter sidebar (halaman produk) */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filter-box {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid var(--line);
    position: sticky;
    top: 90px;
}
.filter-box h4 { font-size: 14px; margin-bottom: 14px; letter-spacing: .03em; }
.filter-box ul li { margin-bottom: 10px; }
.filter-box ul li a { font-size: 14px; color: var(--ink-soft); display: flex; justify-content: space-between; }
.filter-box ul li a:hover, .filter-box ul li a.active { color: var(--brand); font-weight: 700; }
.filter-box ul li a.active::before { content: '→ '; }

.search-box-shop { position: relative; margin-bottom: 20px; }
.search-box-shop input {
    width: 100%; padding: 13px 44px 13px 16px;
    border-radius: 999px; border: 1px solid var(--line);
    font-family: var(--font-body); font-size: 14px;
}
.search-box-shop button { position: absolute; right: 6px; top: 6px; bottom: 6px; width: 38px; border-radius: 50%; border: none; background: var(--ink); color: #fff; }

/* =============== DETAIL PRODUK =============== */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.detail-image-wrap { position: sticky; top: 90px; }
.detail-image { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; background: var(--surface); }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumb-btn {
    width: 72px; height: 72px; border-radius: 10px; overflow: hidden;
    border: 2px solid var(--line); padding: 0; background: var(--surface);
    cursor: pointer; transition: border-color 0.2s, transform 0.15s; flex-shrink: 0;
}
.thumb-btn:hover { transform: translateY(-2px); }
.thumb-btn.active { border-color: var(--brand); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-cat { color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.detail-title { font-size: 32px; margin: 12px 0 16px; }
.detail-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.detail-price .price-now { font-size: 28px; }
.detail-stock { font-size: 13px; color: var(--brand); font-weight: 700; margin-bottom: 24px; display: inline-block; background: var(--brand-light); padding: 6px 14px; border-radius: 999px; }
.detail-stock.habis { color: #C0392B; background: #FBE9E7; }
.detail-desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; line-height: 1.7; }
.qty-selector { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-box button { width: 40px; height: 44px; background: var(--surface); border: none; font-size: 18px; font-weight: 700; }
.qty-box input { width: 50px; text-align: center; border: none; font-family: var(--font-mono); font-weight: 700; font-size: 15px; }
.detail-actions { display: flex; gap: 12px; }
.detail-meta { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 8px; }
.detail-meta strong { color: var(--ink); }

/* =============== KERANJANG =============== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); padding: 12px 8px; border-bottom: 2px solid var(--line); }
.cart-table td { padding: 18px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.cart-product-name { font-weight: 700; font-size: 14.5px; }
.cart-remove-btn { color: #C0392B; font-size: 13px; font-weight: 700; }
.cart-summary { background: var(--surface); border-radius: var(--radius); padding: 26px; position: sticky; top: 90px; }
.cart-summary h3 { font-size: 18px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14.5px; color: var(--ink-soft); }
.summary-row.total { font-size: 18px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .emoji { font-size: 60px; margin-bottom: 20px; }
.empty-state h3 { font-size: 22px; margin-bottom: 10px; }
.empty-state p { color: var(--ink-soft); margin-bottom: 26px; }

/* =============== CHECKOUT FORM =============== */
.checkout-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 13px 16px;
    border-radius: 10px; border: 1px solid var(--line);
    font-family: var(--font-body); font-size: 14.5px;
    background: var(--paper);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light);
}
.checkout-note { background: var(--brand-light); border-radius: 12px; padding: 16px 18px; font-size: 13.5px; color: var(--brand-dark); margin-top: 18px; display: flex; gap: 10px; }

/* =============== ALERT =============== */
.alert { padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: var(--brand-light); color: var(--brand-dark); }
.alert-error { background: #FBE9E7; color: #C0392B; }

/* =============== PAGINATION =============== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); font-weight: 700; font-size: 14px;
}
.pagination a:hover { background: var(--ink); color: #fff; }
.pagination .active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =============== LACAK PESANAN (TIMELINE STATUS) =============== */
.order-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 90px;
    text-align: center;
}
.timeline-dot {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    background: var(--surface-2);
    color: var(--ink-soft);
    border: 2px solid var(--line);
    transition: all 0.3s ease;
}
.timeline-step.active .timeline-dot {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 6px var(--brand-light);
}
.timeline-step.done .timeline-dot {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.timeline-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
}
.timeline-step.active .timeline-label,
.timeline-step.done .timeline-label {
    color: var(--ink);
}
.timeline-line {
    flex: 1;
    height: 3px;
    background: var(--line);
    margin-top: 22px;
    border-radius: 2px;
    transition: background 0.3s ease;
}
.timeline-line.done { background: var(--brand); }

.badge-status {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 999px;
    font-weight: 800; font-size: 14px;
}
.badge-status-amber { background: #FDF3DA; color: #B8860B; }
.badge-status-blue { background: var(--brand-light); color: #2563EB; }
.badge-status-green { background: var(--brand-light); color: var(--brand-dark); }
.badge-status-red { background: #FBE9E7; color: #C0392B; }
.badge-status-gray { background: var(--surface-2); color: var(--ink-soft); }

@media (max-width: 560px) {
    .timeline-label { font-size: 10.5px; }
    .timeline-dot { width: 36px; height: 36px; font-size: 15px; }
    .timeline-step { width: 60px; }
}

/* =============== STRIP PENGUMUMAN =============== */
.announce-strip {
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 44px 10px 16px;
    position: relative;
    text-align: center;
}
.announce-strip-link { display: flex; align-items: center; gap: 8px; }
.announce-strip-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
}
.announce-strip a .announce-strip-text { text-decoration: underline; text-underline-offset: 3px; }
.announce-strip-close {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.announce-strip-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* =============== BANNER SLIDER PROMOSI =============== */
.banner-slider-section { padding: 0 0 20px; }
.banner-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 21/7;
    background: var(--surface-2);
    box-shadow: var(--shadow-md);
}
.banner-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}
.banner-slide.active { opacity: 1; visibility: visible; }
.banner-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(18,20,28,0.78) 0%, rgba(18,20,28,0.35) 55%, rgba(18,20,28,0.05) 100%);
}
.banner-slide-content {
    position: relative;
    z-index: 2;
    padding: 0 50px;
    max-width: 560px;
    color: #fff;
}
.banner-slide-content h3 {
    font-size: clamp(22px, 3vw, 34px);
    margin-bottom: 10px;
    color: #fff;
}
.banner-slide-content p {
    font-size: 14.5px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    max-width: 420px;
}
.banner-nav-dots {
    position: absolute;
    bottom: 18px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px;
    z-index: 3;
}
.banner-nav-dots button {
    width: 8px; height: 8px; border-radius: 999px;
    background: rgba(255,255,255,0.4);
    border: none;
    transition: all 0.25s;
    padding: 0;
}
.banner-nav-dots button.active { width: 24px; background: #fff; }
.banner-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: none; color: #fff; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    z-index: 3; transition: background 0.2s;
}
.banner-arrow:hover { background: rgba(255,255,255,0.3); }
.banner-arrow.prev { left: 16px; }
.banner-arrow.next { right: 16px; }

@media (max-width: 680px) {
    .banner-slider { aspect-ratio: 4/5; border-radius: 16px; }
    .banner-slide-content { padding: 0 24px; max-width: 100%; }
    .banner-slide-overlay { background: linear-gradient(180deg, rgba(18,20,28,0.3) 0%, rgba(18,20,28,0.85) 75%); }
    .banner-arrow { width: 34px; height: 34px; font-size: 14px; }
}

/* =============== RESPONSIVE =============== */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 340px; order: -1; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .filter-box { position: static; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
}
@media (max-width: 680px) {
    .nav-menu { display: none; }
    .nav-menu.mobile-open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper); padding: 18px 24px; gap: 16px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    }
    .mobile-toggle { display: block; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-info { padding: 12px; }
    .section { padding: 56px 0; }
    .hero { padding-top: 32px; }
    .hero-stats { gap: 22px; flex-wrap: wrap; }
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; padding: 10px; }
    .cart-table td { border: none; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .wa-float { animation: none; }
}
