:root {
    --bg: #fff7fb;
    --bg-2: #f5f7ff;
    --surface: rgba(255, 255, 255, .86);
    --surface-solid: #ffffff;
    --ink: #151226;
    --muted: #6d6880;
    --soft: #f2edff;
    --line: rgba(84, 70, 122, .13);
    --primary: #7c3aed;
    --primary-dark: #4c1d95;
    --pink: #ec4899;
    --orange: #f97316;
    --cyan: #06b6d4;
    --green: #10b981;
    --gold: #f6c453;
    --dark: #111827;
    --danger: #ef4444;
    --success: #10b981;
    --shadow: 0 28px 80px rgba(51, 35, 98, .16);
    --shadow-sm: 0 14px 40px rgba(54, 43, 91, .10);
    --radius: 28px;
    --radius-lg: 36px;
    --gradient-main: linear-gradient(135deg, #7c3aed 0%, #ec4899 45%, #f97316 100%);
    --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #6366f1 48%, #ec4899 100%);
    --gradient-dark: radial-gradient(circle at top left, rgba(236,72,153,.32), transparent 36%), radial-gradient(circle at bottom right, rgba(6,182,212,.28), transparent 38%), linear-gradient(135deg, #111827, #23113f 58%, #3b162c);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(236,72,153,.16), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(6,182,212,.16), transparent 28%),
        radial-gradient(circle at 45% 0%, rgba(124,58,237,.12), transparent 30%),
        linear-gradient(180deg, #fff7fb 0%, #f8f7ff 45%, #fff 100%);
    min-height: 100vh;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(124,58,237,.10) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 74%);
    z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(236, 72, 153, .22); color: var(--ink); }

.topbar {
    position: relative;
    overflow: hidden;
    background: var(--gradient-main);
    color: #fff;
    height: 38px;
    display: flex;
    align-items: center;
    box-shadow: 0 14px 38px rgba(236, 72, 153, .24);
}
.topbar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.26), transparent);
    transform: translateX(-100%);
    animation: shimmer 6.5s linear infinite;
}
.topbar-track {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 42px;
    white-space: nowrap;
    min-width: max-content;
    padding-left: max(5vw, 18px);
    padding-right: max(5vw, 18px);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18px;
    animation: marquee 24s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-35%); }
}
@keyframes shimmer { to { transform: translateX(100%); } }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 5vw;
    background:
        radial-gradient(circle at 15% 0%, rgba(236,72,153,.18), transparent 26%),
        radial-gradient(circle at 86% 0%, rgba(6,182,212,.16), transparent 24%),
        rgba(255, 255, 255, .78);
    backdrop-filter: blur(26px) saturate(1.7);
    -webkit-backdrop-filter: blur(26px) saturate(1.7);
    border-bottom: 1px solid rgba(124, 58, 237, .13);
    box-shadow: 0 18px 55px rgba(52, 35, 97, .10);
}
.header-shell {
    width: min(1260px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}
.brand-mark {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 950;
    font-size: 21px;
    background: var(--gradient-main);
    box-shadow: 0 16px 36px rgba(124, 58, 237, .38), inset 0 1px 0 rgba(255,255,255,.48);
    overflow: hidden;
}
.brand-mark::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: conic-gradient(from 160deg, transparent, rgba(255,255,255,.5), transparent 32%);
    animation: spinGlow 4.8s linear infinite;
}
.brand-mark::after {
    content: "G";
    position: relative;
    z-index: 1;
}
@keyframes spinGlow { to { transform: rotate(1turn); } }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong {
    font-weight: 950;
    letter-spacing: -.7px;
    font-size: 21px;
    color: #17122c;
}
.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.header-menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-width: 0;
}
.main-nav {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.66);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 36px rgba(54, 43, 91, .07);
}
.nav-link,
.nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #302a45;
    border: 0;
    background: transparent;
    cursor: pointer;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.nav-link:hover,
.nav-dropdown-toggle:hover,
.nav-link.active,
.nav-dropdown.open .nav-dropdown-toggle {
    color: #fff;
    background: var(--gradient-main);
    box-shadow: 0 12px 26px rgba(236,72,153,.24);
    transform: translateY(-1px);
}
.nav-icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(124,58,237,.10);
    font-size: 13px;
    line-height: 1;
}
.nav-link:hover .nav-icon,
.nav-dropdown-toggle:hover .nav-icon,
.nav-link.active .nav-icon,
.nav-dropdown.open .nav-icon {
    background: rgba(255,255,255,.22);
}
.nav-caret {
    margin-left: -2px;
    font-size: 15px;
    opacity: .75;
    transition: transform .2s ease;
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    left: 50%;
    top: calc(100% + 15px);
    min-width: 260px;
    background:
        radial-gradient(circle at top left, rgba(236,72,153,.13), transparent 34%),
        rgba(255,255,255,.94);
    border: 1px solid rgba(124,58,237,.13);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 13px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px) scale(.98);
    transition: .2s ease;
    backdrop-filter: blur(20px);
}
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translateX(-50%) rotate(45deg);
    background: rgba(255,255,255,.94);
    border-left: 1px solid rgba(124,58,237,.12);
    border-top: 1px solid rgba(124,58,237,.12);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown-title {
    display: block;
    padding: 10px 12px 9px;
    color: var(--primary-dark);
    font-size: 12px;
    letter-spacing: .9px;
    text-transform: uppercase;
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 17px;
    color: #302a45;
    font-weight: 850;
}
.nav-dropdown-menu a::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 0 4px rgba(236,72,153,.08);
}
.nav-dropdown-menu a:hover {
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(124,58,237,.10), rgba(236,72,153,.10));
}
.pill {
    display: inline-grid;
    place-items: center;
    min-width: 23px;
    height: 23px;
    padding: 0 7px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 12px;
    box-shadow: 0 8px 18px rgba(17,24,39,.12);
}
.nav-link.active .pill,
.nav-link:hover .pill { color: var(--pink); }
.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}
.nav-action,
.nav-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    transition: .2s ease;
}
.nav-login,
.nav-logout {
    color: var(--primary-dark);
    background: rgba(124,58,237,.09);
    border: 1px solid rgba(124,58,237,.13);
}
.nav-register,
.nav-admin {
    color: white;
    background: var(--gradient-cool);
    box-shadow: 0 13px 28px rgba(6,182,212,.22);
}
.nav-login:hover,
.nav-logout:hover,
.nav-account:hover,
.nav-account.active {
    transform: translateY(-1px);
    background: rgba(255,255,255,.95);
    box-shadow: 0 16px 32px rgba(54, 43, 91, .10);
}
.nav-register:hover,
.nav-admin:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(6,182,212,.30); }
.nav-account {
    color: #241d3a;
    padding: 7px 12px 7px 7px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(124,58,237,.12);
}
.avatar-badge {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--gradient-main);
    box-shadow: 0 10px 22px rgba(236,72,153,.25);
}
.account-copy { display: grid; line-height: 1.05; }
.account-copy small { color: var(--muted); font-size: 10px; font-weight: 900; }
.account-copy strong { font-size: 13px; max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-toggle {
    display: none;
    width: 47px;
    height: 47px;
    border: 0;
    background: var(--gradient-main);
    color: white;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(124,58,237,.25);
    place-items: center;
    padding: 0;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
    margin: 3px auto;
    transition: .2s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.flash {
    margin: 20px auto 0;
    max-width: 1180px;
    padding: 15px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(124,58,237,.12);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}
.flash-success { border-left: 6px solid var(--success); }
.flash-danger { border-left: 6px solid var(--danger); }
.flash-warning { border-left: 6px solid var(--gold); }

.hero-slider {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    background: #111827;
    isolation: isolate;
}
.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 18%, rgba(255,255,255,.22), transparent 20%), radial-gradient(circle at 78% 12%, rgba(6,182,212,.34), transparent 26%);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}
.hero-slider::after {
    content: "";
    position: absolute;
    inset: auto 5vw 34px auto;
    width: min(420px, 52vw);
    height: 140px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(124,58,237,.6), rgba(236,72,153,.42), rgba(249,115,22,.48));
    filter: blur(42px);
    opacity: .72;
    z-index: 1;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity .85s ease, transform 1.3s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 7vw;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,9,18,.88) 0%, rgba(21,18,38,.56) 42%, rgba(21,18,38,.08) 100%);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-content { max-width: 650px; color: white; position: relative; z-index: 2; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pink);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 99px;
    background: var(--gradient-main);
}
h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: 1.03; }
.hero-content h1 {
    font-size: clamp(46px, 7.4vw, 96px);
    text-shadow: 0 18px 55px rgba(0,0,0,.28);
}
.hero-content p {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
    color: rgba(255,255,255,.86);
    margin: 24px 0 34px;
    max-width: 590px;
}
.slider-dots {
    position: absolute;
    left: 7vw;
    bottom: 42px;
    display: flex;
    gap: 10px;
    z-index: 3;
}
.slider-dots button {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.62);
    background: rgba(255,255,255,.18);
    cursor: pointer;
    transition: .2s ease;
}
.slider-dots button.active {
    width: 42px;
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(236,72,153,.42);
}

.section { max-width: 1180px; margin: 0 auto; padding: 58px 20px; }
.intro-strip {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: -64px;
    position: relative;
    z-index: 3;
}
.intro-strip div,
.filter-panel, .summary-card, .profile-card, .orders-card, .cart-panel,
.checkout-form, .auth-card, .table-card, .testimonial-card, .stat-card, .bank-card,
.shipping-card {
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(124,58,237,.13);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
}
.intro-strip div {
    position: relative;
    overflow: hidden;
    padding: 26px;
    display: grid;
    gap: 8px;
}
.intro-strip div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,.10), rgba(236,72,153,.08), rgba(6,182,212,.08));
    opacity: .9;
    pointer-events: none;
}
.intro-strip strong, .intro-strip span { position: relative; }
.intro-strip strong { font-size: 19px; }
.intro-strip span, .muted { color: var(--muted); line-height: 1.65; }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    padding-bottom: 22px;
}
.section-head h2, .page-hero h1 { font-size: clamp(34px, 4.8vw, 62px); }
.section-head p { margin: 10px 0 0; color: var(--muted); }
.search-card {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(124,58,237,.16);
    border-radius: 999px;
    padding: 8px;
    min-width: min(560px, 100%);
    box-shadow: 0 18px 45px rgba(95,62,150,.12);
}
.search-card input { flex: 1; border: 0; outline: 0; padding: 0 18px; background: transparent; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 950;
    letter-spacing: -.01em;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: saturate(1.08); }
.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 16px 34px rgba(236,72,153,.28), inset 0 1px 0 rgba(255,255,255,.30);
}
.btn-dark { background: var(--gradient-dark); color: white; box-shadow: 0 14px 30px rgba(17,24,39,.20); }
.btn-light { background: white; color: var(--primary-dark); box-shadow: 0 14px 30px rgba(255,255,255,.18); }
.btn-outline { background: rgba(255,255,255,.72); border: 1px solid rgba(124,58,237,.22); color: var(--primary-dark); }
.btn-small { min-height: 40px; padding: 9px 15px; font-size: 13px; }
.full { width: 100%; }
.link { color: var(--primary); font-weight: 950; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { color: var(--pink); }
.link.danger { color: var(--danger); margin: 10px 0 18px; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
    min-height: 245px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #111827;
    box-shadow: var(--shadow-sm);
    isolation: isolate;
}
.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(17,24,39,.12) 36%, rgba(17,24,39,.82) 100%);
    z-index: 1;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; opacity: .94; transition: .35s ease; }
.category-card:hover img { transform: scale(1.08) rotate(.5deg); opacity: 1; }
.category-card div { position: absolute; inset: auto 20px 20px 20px; color: white; z-index: 2; }
.category-card h3 { font-size: 25px; text-shadow: 0 8px 24px rgba(0,0,0,.24); }
.category-card p { margin: 8px 0 0; color: rgba(255,255,255,.84); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.dense { grid-template-columns: repeat(3, 1fr); }
.product-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(124,58,237,.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    backdrop-filter: blur(14px);
}
.product-card::before {
    content: "";
    position: absolute;
    inset: -1px -1px auto -1px;
    height: 5px;
    background: var(--gradient-main);
    opacity: 0;
    transition: .22s ease;
    z-index: 2;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(236,72,153,.25); }
.product-card:hover::before { opacity: 1; }
.product-image { position: relative; aspect-ratio: 4/5; background: linear-gradient(135deg, #f2edff, #fff1f7); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.badge-sale {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-main);
    color: white;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(236,72,153,.28);
}
.product-info { padding: 20px; }
.product-category { color: var(--primary); font-size: 12px; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 950; }
.product-info h3 { font-size: 19px; margin: 9px 0 12px; min-height: 42px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 16px; flex-wrap: wrap; }
.price-row strong { font-size: 18px; color: #111827; }
.price-row.big strong { font-size: clamp(30px, 4vw, 42px); background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
del { color: #918aa3; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(236,72,153,.22);
    background: linear-gradient(135deg, #fff, #fff1f7);
    color: var(--pink);
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 10px 22px rgba(236,72,153,.10);
    transition: .18s ease;
}
.icon-btn:hover { transform: translateY(-2px) scale(1.03); }

.promo-band {
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
    border-radius: 42px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: clamp(34px, 5vw, 56px);
    box-shadow: var(--shadow);
}
.promo-band::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -90px;
    top: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.24), transparent 65%);
}
.promo-band .eyebrow { color: #fbcfe8; }
.promo-band h2 { font-size: clamp(32px, 4vw, 56px); position: relative; }
.promo-band p { color: rgba(255,255,255,.78); max-width: 680px; line-height: 1.75; position: relative; }
.promo-band .btn { position: relative; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
}
.testimonial-card::after {
    content: "”";
    position: absolute;
    right: 24px;
    top: -10px;
    color: rgba(236,72,153,.12);
    font-size: 110px;
    font-family: Georgia, serif;
}
.stars { color: var(--orange); letter-spacing: 2px; }
.testimonial-card p { color: #514a62; line-height: 1.85; position: relative; z-index: 1; }

.page-hero {
    position: relative;
    max-width: 1180px;
    margin: 34px auto 0;
    padding: 76px 20px 50px;
}
.page-hero::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    inset-block: 18px 0;
    background: linear-gradient(135deg, rgba(124,58,237,.11), rgba(236,72,153,.10), rgba(6,182,212,.09));
    border: 1px solid rgba(124,58,237,.10);
    border-radius: 42px;
    z-index: -1;
}
.page-hero.compact { padding-bottom: 38px; }
.page-hero p { color: var(--muted); font-size: 18px; line-height: 1.75; max-width: 740px; }

.shop-layout, .cart-layout, .checkout-layout, .account-layout { display: grid; grid-template-columns: 290px 1fr; gap: 30px; align-items: start; }
.filter-panel, .summary-card, .profile-card, .orders-card, .cart-panel, .checkout-form, .auth-card, .table-card { padding: 26px; }
.filter-panel { position: sticky; top: 104px; }
label { display: grid; gap: 8px; color: #2f2942; font-weight: 850; margin-bottom: 15px; }
input, select, textarea {
    width: 100%;
    border: 1px solid rgba(124,58,237,.16);
    border-radius: 18px;
    padding: 14px 15px;
    outline: 0;
    background: rgba(255,255,255,.86);
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:focus, select:focus, textarea:focus {
    border-color: rgba(236,72,153,.55);
    box-shadow: 0 0 0 5px rgba(236,72,153,.12);
    background: #fff;
}
.coupon-box {
    background: linear-gradient(135deg, rgba(124,58,237,.10), rgba(236,72,153,.10));
    border: 1px dashed rgba(124,58,237,.24);
    border-radius: 22px;
    padding: 17px;
    margin-top: 24px;
    color: #503a75;
}
.coupon-box code {
    color: var(--primary-dark);
    font-weight: 950;
    background: rgba(255,255,255,.6);
    border-radius: 8px;
    padding: 2px 7px;
}
.result-bar { display: flex; justify-content: space-between; margin-bottom: 20px; color: var(--muted); font-weight: 750; }
.empty-state {
    background: rgba(255,255,255,.86);
    border: 1px dashed rgba(124,58,237,.22);
    border-radius: var(--radius);
    padding: 38px;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
}

.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 38px; align-items: start; }
.product-gallery { display: grid; gap: 16px; }
.gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 42px;
    background: linear-gradient(135deg, rgba(124,58,237,.13), rgba(236,72,153,.11));
    box-shadow: var(--shadow);
    border: 1px solid rgba(124,58,237,.14);
}
.gallery-main::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 46%);
}
.gallery-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .35s ease, transform .45s ease; }
.gallery-slide.active { opacity: 1; transform: scale(1); }
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.55);
    color: white;
    background: rgba(17,24,39,.42);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    z-index: 3;
}
.gallery-arrow.prev { left: 18px; }
.gallery-arrow.next { right: 18px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-thumb {
    border: 2px solid transparent;
    background: rgba(255,255,255,.86);
    border-radius: 22px;
    padding: 7px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: .18s ease;
}
.gallery-thumb img { aspect-ratio: 1/1; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.gallery-thumb.active { border-color: var(--pink); transform: translateY(-2px); }
.detail-info {
    position: sticky;
    top: 106px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(124,58,237,.13);
    border-radius: 42px;
    padding: clamp(26px, 4vw, 40px);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
}
.detail-info h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 18px; }
.detail-info p { color: #514a62; line-height: 1.85; font-size: 16px; }
.benefit-list { display: grid; gap: 10px; padding: 0; margin: 24px 0; list-style: none; }
.benefit-list li {
    position: relative;
    padding: 13px 14px 13px 44px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(6,182,212,.07));
    color: #3f3656;
    font-weight: 760;
}
.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gradient-main);
    font-size: 13px;
}
.detail-actions { display: grid; gap: 14px; }
.qty-form, .coupon-form { display: flex; gap: 10px; align-items: center; }
.qty-form input { max-width: 96px; }

.cart-item { display: grid; grid-template-columns: 86px 1fr 96px auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 86px; height: 86px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-sm); }
.cart-item h3 { font-size: 18px; margin-bottom: 6px; }
.summary-card h2, .checkout-form h2, .cart-panel h2, .profile-card h2, .orders-card h2, .table-card h2 { font-size: 28px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.summary-row.total { color: var(--ink); font-size: 20px; font-weight: 950; border-bottom: 0; }
.mini-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-item img { width: 58px; height: 58px; object-fit: cover; border-radius: 16px; }
.shipping-options { display: grid; gap: 12px; margin-top: 12px; }
.shipping-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px; cursor: pointer; transition: .18s ease; }
.shipping-card:hover { transform: translateY(-2px); border-color: rgba(236,72,153,.28); }
.shipping-card input { width: auto; }
.sticky { position: sticky; top: 104px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2,1fr); }
.auth-page { max-width: 520px; margin: 42px auto 0; padding: 0 20px; }
.auth-card { padding: 30px; }
.auth-card h1 { font-size: 38px; margin-bottom: 20px; }
.success-box { max-width: 820px; text-align: center; }
.success-icon { width: 86px; height: 86px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(6,182,212,.16)); color: var(--success); font-size: 44px; font-weight: 950; box-shadow: var(--shadow-sm); }
.success-box h1 { font-size: clamp(32px, 5vw, 56px); }
.payment-amount { margin: 26px auto; display: inline-flex; background: var(--gradient-dark); color: #fff; border-radius: 999px; padding: 18px 32px; font-size: 34px; font-weight: 950; box-shadow: var(--shadow); }
.bank-card { padding: 24px; margin: 0 auto 22px; }
.wide { text-align: left; margin-bottom: 24px; }
.account-layout { grid-template-columns: 420px 1fr; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.order-row div { display: grid; gap: 5px; }
.status-badge { background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(236,72,153,.12)); color: var(--primary-dark); border-radius: 999px; padding: 8px 13px; font-size: 12px; font-weight: 950; }
.admin-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat-card { padding: 26px; display: grid; gap: 10px; }
.stat-card span { color: var(--muted); }
.stat-card strong { font-size: 30px; background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.admin-actions { display: flex; gap: 12px; padding-top: 0; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
tbody tr:hover { background: rgba(124,58,237,.04); }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form select, .inline-form input { width: auto; min-width: 120px; }
.check { display: inline-flex; grid-template-columns: auto auto; align-items: center; gap: 6px; margin: 0; }
.check input { width: auto; }
.product-edit img { border-radius: 18px; box-shadow: var(--shadow-sm); }

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    background: var(--gradient-dark);
    color: #fff;
    display: grid;
    grid-template-columns: 1.5fr repeat(3,1fr);
    gap: 28px;
    padding: 62px 5vw;
}
.site-footer::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    right: -190px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(236,72,153,.28), transparent 65%);
}
.site-footer > div { position: relative; }
.site-footer a, .site-footer p { display: block; color: rgba(255,255,255,.72); line-height: 1.8; }
.site-footer a:hover { color: #fff; }
.site-footer h3, .site-footer h4 { margin: 0 0 13px; color: white; }
.site-footer h3 { font-size: 26px; }

@media (max-width: 1180px) {
    .header-shell { gap: 12px; }
    .brand { min-width: 184px; }
    .brand-copy small { display: none; }
    .brand-copy strong { font-size: 20px; }
    .header-menu { gap: 10px; }
    .nav-link, .nav-dropdown-toggle { padding: 10px 11px; font-size: 13px; }
    .account-copy { display: none; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
    .site-header { padding: 13px 20px; }
    .header-shell {
        position: relative;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }
    .header-menu {
        display: none;
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        right: 0;
        z-index: 70;
        background:
            radial-gradient(circle at top left, rgba(236,72,153,.14), transparent 35%),
            radial-gradient(circle at bottom right, rgba(6,182,212,.13), transparent 34%),
            rgba(255,255,255,.96);
        border: 1px solid rgba(124,58,237,.14);
        border-radius: 28px;
        box-shadow: var(--shadow);
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 13px;
        backdrop-filter: blur(22px);
    }
    .header-menu.open { display: flex; }
    .main-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .nav-link, .nav-dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 18px;
        background: rgba(255,255,255,.72);
        border: 1px solid rgba(124,58,237,.10);
    }
    .nav-caret { margin-left: auto; }
    .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 8px;
        border-radius: 20px;
        background: rgba(255,255,255,.78);
    }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; transform: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: block; transform: none; }
    .nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .nav-account { grid-column: 1 / -1; justify-content: flex-start; border-radius: 20px; }
    .account-copy { display: grid; }
    .nav-action { min-height: 48px; border-radius: 18px; }
    .menu-toggle { display: grid; }
    .topbar { display: none; }
    .intro-strip, .testimonial-grid, .category-grid, .product-grid, .product-grid.dense, .admin-grid { grid-template-columns: repeat(2,1fr); }
    .shop-layout, .cart-layout, .checkout-layout, .account-layout, .product-detail { grid-template-columns: 1fr; }
    .filter-panel, .sticky, .detail-info { position: static; }
    .cart-item { grid-template-columns: 76px 1fr; }
    .cart-item input, .cart-item strong { grid-column: 2; }
    .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .site-header { padding: 13px 16px; }
    .brand { min-width: 0; gap: 10px; }
    .brand-copy strong { font-size: 18px; }
    .brand-mark { width: 42px; height: 42px; border-radius: 16px; }
    .nav-actions { grid-template-columns: 1fr; }
    .nav-register, .nav-login, .nav-admin, .nav-logout { width: 100%; }
    .hero-slider { min-height: 560px; }
    .hero-slide { padding: 92px 20px 76px; align-items: flex-end; }
    .slider-dots { left: 20px; bottom: 28px; }
    .section { padding: 38px 16px; }
    .intro-strip { margin-top: -46px; }
    .intro-strip, .testimonial-grid, .category-grid, .product-grid, .product-grid.dense, .form-grid, .form-grid.two, .admin-grid, .site-footer { grid-template-columns: 1fr; }
    .section-head, .promo-band { align-items: flex-start; flex-direction: column; }
    .search-card, .coupon-form, .qty-form { border-radius: 24px; flex-direction: column; align-items: stretch; }
    .qty-form input { max-width: none; }
    .hero-content h1 { font-size: 43px; }
    .hero-content p { font-size: 16px; }
    .gallery-main { border-radius: 30px; }
    .gallery-thumbs { gap: 9px; }
    .gallery-thumb { border-radius: 16px; padding: 5px; }
    .gallery-thumb img { border-radius: 12px; }
    .payment-amount { font-size: 24px; padding: 14px 20px; }
    th, td { padding: 10px; }
    .table-card { overflow-x: auto; }
}

/* =========================================================
   Gemilang Store v5 - Red/Cream Premium Marketplace Theme
   Inspired by a bright red marketplace layout, using Gemilang branding.
   ========================================================= */
:root {
    --bg: #fff8ef;
    --bg-2: #fff1dc;
    --surface: rgba(255, 255, 255, .92);
    --surface-solid: #ffffff;
    --ink: #302522;
    --muted: #766a64;
    --soft: #fff0d3;
    --line: rgba(232, 54, 68, .14);
    --primary: #ff3046;
    --primary-dark: #d9152f;
    --pink: #ff3046;
    --orange: #ff7a2f;
    --cyan: #ffcc38;
    --green: #0ea56b;
    --gold: #ffcb3d;
    --dark: #321e1b;
    --danger: #e11d48;
    --success: #0ea56b;
    --shadow: 0 24px 70px rgba(116, 36, 20, .18);
    --shadow-sm: 0 12px 32px rgba(116, 36, 20, .10);
    --radius: 22px;
    --radius-lg: 30px;
    --gradient-main: linear-gradient(135deg, #ff3046 0%, #ff6530 52%, #ffb72c 100%);
    --gradient-cool: linear-gradient(135deg, #ff3046 0%, #ff7935 55%, #ffd34a 100%);
    --gradient-dark: radial-gradient(circle at top left, rgba(255, 203, 61, .22), transparent 34%), linear-gradient(135deg, #351c19, #6e171e 55%, #b71e2f);
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 7%, rgba(255, 48, 70, .12), transparent 28%),
        radial-gradient(circle at 85% 5%, rgba(255, 203, 61, .18), transparent 30%),
        linear-gradient(180deg, #fff8ef 0%, #fff1df 38%, #fff 100%);
}
body::before {
    background-image: radial-gradient(rgba(255,48,70,.10) 1px, transparent 1px);
    opacity: .58;
}

/* Header like clean red marketplace: red top, white category nav, reward strip */
.site-header.hdi-inspired-header {
    position: sticky;
    top: 0;
    z-index: 80;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: 0 12px 28px rgba(86, 23, 17, .14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.header-main {
    background: #ff3046;
    color: #fff;
}
.header-inner {
    width: min(1204px, calc(100% - 48px));
    min-height: 98px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 136px minmax(280px, 1fr) auto auto;
    align-items: center;
    gap: 24px;
}
.brand {
    min-width: 0;
    gap: 9px;
    color: #fff;
}
.brand:hover { transform: translateY(-1px); }
.brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}
.brand-mark::before,
.brand-mark::after { display: none; }
.brand-stripes,
.brand-stripes::before,
.brand-stripes::after {
    position: absolute;
    display: block;
    content: "";
    left: 7px;
    right: 7px;
    height: 4px;
    border-radius: 999px;
    background: #ff3046;
    transform: rotate(9deg);
}
.brand-stripes { top: 11px; }
.brand-stripes::before { left: -2px; right: -1px; top: 9px; }
.brand-stripes::after { left: 2px; right: 3px; top: 18px; }
.brand-copy strong {
    color: #fff;
    font-size: 25px;
    letter-spacing: -.9px;
    line-height: .96;
}
.brand-copy small {
    margin-top: 4px;
    color: rgba(255,255,255,.86);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 1.1px;
}
.header-search {
    height: 50px;
    display: flex;
    align-items: center;
    background: #fffaf1;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 8px 24px rgba(120, 24, 18, .12);
    border: 0;
    overflow: hidden;
}
.header-search input {
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0 20px;
    color: #332826;
    border-radius: 18px;
    font-weight: 650;
}
.header-search input:focus {
    box-shadow: none;
    border: 0;
    background: transparent;
}
.header-search button {
    width: 58px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #26313d;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
    transform: rotate(-12deg);
}
.header-quick-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}
.quick-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 999px;
    font-size: 23px;
    transition: .18s ease;
}
.quick-icon:hover,
.quick-icon.active { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.quick-icon b {
    position: absolute;
    right: -3px;
    top: -3px;
    min-width: 19px;
    height: 19px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    background: #ffd147;
    color: #8f151d;
    font-size: 11px;
    font-weight: 950;
    border: 2px solid #ff3046;
}
.header-link {
    color: #fff;
    font-weight: 850;
    font-size: 16px;
    padding: 10px 2px;
    border-bottom: 2px solid transparent;
    transition: .18s ease;
}
.header-link:hover,
.header-link.active { border-color: #fff; transform: translateY(-1px); }
.header-account {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px 5px 5px;
    background: rgba(255,255,255,.13);
    transition: .18s ease;
}
.header-account:hover,
.header-account.active { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.avatar-badge {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fffaf1;
    color: #ff3046;
    box-shadow: none;
}
.account-copy small { color: rgba(255,255,255,.76); }
.account-copy strong { color: #fff; }
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,.16);
    box-shadow: none;
}
.category-bar {
    background: #fffaf4;
    border-bottom: 1px solid rgba(52, 37, 33, .10);
    box-shadow: 0 4px 9px rgba(86, 23, 17, .12);
}
.category-bar .main-nav {
    width: min(1204px, calc(100% - 48px));
    min-height: 38px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.category-bar .nav-link {
    min-height: 38px;
    padding: 10px 18px;
    border-radius: 0;
    color: #2d2728;
    background: transparent;
    font-size: 14px;
    font-weight: 850;
    border: 0;
    box-shadow: none;
}
.category-bar .nav-link:hover,
.category-bar .nav-link.active {
    color: #ff3046;
    background: rgba(255, 48, 70, .08);
    box-shadow: inset 0 -3px 0 #ff3046;
    transform: none;
}
.reward-strip {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2.8vw, 34px);
    padding: 7px 20px;
    color: #fff;
    background: linear-gradient(90deg, #ff3046 0%, #ff493a 48%, #ff7b24 100%);
    border-top: 1px solid rgba(255,255,255,.14);
    font-size: 15px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    overflow: hidden;
    text-align: center;
}
.reward-strip strong { font-weight: 650; }
.reward-strip a { color: #fff; font-weight: 950; text-decoration: underline; text-underline-offset: 3px; }
.reward-coin {
    filter: drop-shadow(0 4px 6px rgba(122, 46, 0, .26));
    font-size: 23px;
    animation: coinFloat 2.6s ease-in-out infinite;
}
.reward-spark {
    color: #fff7bb;
    transform: rotate(20deg);
    font-size: 17px;
}
@keyframes coinFloat { 50% { transform: translateY(-3px) rotate(9deg); } }

/* Hero: compact cream promo slider like marketplace banner */
.hero-slider {
    width: min(1200px, calc(100% - 48px));
    min-height: 430px;
    margin: 16px auto 0;
    border-radius: 16px;
    background: #fff1dc;
    box-shadow: 0 18px 42px rgba(114, 43, 20, .12);
    overflow: hidden;
    isolation: isolate;
}
.hero-slider::before,
.hero-slider::after { display: none; }
.hero-slide {
    padding: 54px clamp(34px, 5.2vw, 76px) 86px;
    align-items: center;
    background-size: cover;
    background-position: center right;
    transform: none;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,246,231,.99) 0%, rgba(255,246,231,.95) 43%, rgba(255,246,231,.42) 72%, rgba(255,246,231,.10) 100%);
    z-index: 1;
}
.hero-slide::after { display: none; }
.hero-content {
    width: min(100%, 560px);
    max-width: 560px;
    color: #332826;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.eyebrow {
    color: var(--primary);
    font-weight: 950;
}
.eyebrow::before { background: var(--gradient-main); }
.hero-content h1 {
    color: #ff3046;
    font-size: clamp(38px, 4.65vw, 64px);
    line-height: .98;
    text-shadow: none;
    text-transform: uppercase;
    max-width: 560px;
}
.hero-content p {
    color: #4a403b;
    font-size: clamp(16px, 1.35vw, 19px);
    margin: 18px 0 24px;
    line-height: 1.55;
    max-width: 510px;
}
.hero-content .btn {
    margin-bottom: 8px;
    white-space: nowrap;
}
.slider-dots {
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    gap: 11px;
}
.slider-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    background: rgba(78, 68, 59, .22);
}
.slider-dots button.active {
    width: 8px;
    background: #6b8176;
    box-shadow: none;
}

/* Shared component recolor */
.flash, .intro-strip div,
.filter-panel, .summary-card, .profile-card, .orders-card, .cart-panel,
.checkout-form, .auth-card, .table-card, .testimonial-card, .stat-card, .bank-card,
.shipping-card, .product-card, .detail-info, .empty-state {
    border-color: rgba(255, 48, 70, .13);
    box-shadow: var(--shadow-sm);
}
.intro-strip { margin-top: 10px; }
.intro-strip div::before,
.page-hero::before {
    background: linear-gradient(135deg, rgba(255,48,70,.08), rgba(255,203,61,.12));
    border-color: rgba(255,48,70,.12);
}
.section { max-width: 1204px; }
.section-head h2,
.page-hero h1 { color: #302522; }
.search-card {
    background: #fffaf3;
    border-color: rgba(255,48,70,.16);
    box-shadow: 0 15px 34px rgba(114, 43, 20, .09);
}
.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 13px 28px rgba(255,48,70,.24), inset 0 1px 0 rgba(255,255,255,.30);
}
.btn-dark {
    background: #302522;
    color: white;
    box-shadow: 0 12px 24px rgba(48,37,34,.20);
}
.btn-light { color: #d9152f; }
.btn-outline {
    border-color: rgba(255,48,70,.22);
    color: #d9152f;
}
.link { color: var(--primary); }
.category-card {
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(114,43,20,.12);
}
.product-card {
    background: #fffdf9;
    border-radius: 24px;
}
.product-card::before { background: var(--gradient-main); }
.product-card:hover { border-color: rgba(255,48,70,.24); }
.product-image { background: linear-gradient(135deg, #fff1dc, #fff8ef); }
.badge-sale {
    background: #ff3046;
    color: #fff;
    box-shadow: 0 10px 22px rgba(255,48,70,.24);
}
.product-category { color: #d9152f; }
.price-row.big strong,
.stat-card strong {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.icon-btn {
    border-color: rgba(255,48,70,.20);
    background: linear-gradient(135deg, #fff, #fff0e0);
    color: #ff3046;
}
.promo-band {
    background: linear-gradient(120deg, #ff3046 0%, #ff6230 55%, #ffb72c 100%);
    border-radius: 28px;
    box-shadow: 0 22px 58px rgba(255, 48, 70, .20);
}
.promo-band .eyebrow { color: #fff7d6; }
.testimonial-card::after { color: rgba(255,48,70,.12); }
.stars { color: #ffb72c; }
input, select, textarea { border-color: rgba(255,48,70,.15); background: #fffdf9; }
input:focus, select:focus, textarea:focus {
    border-color: rgba(255,48,70,.48);
    box-shadow: 0 0 0 5px rgba(255,48,70,.10);
}
.coupon-box {
    background: linear-gradient(135deg, rgba(255,48,70,.08), rgba(255,203,61,.13));
    border-color: rgba(255,48,70,.25);
    color: #6e3427;
}
.coupon-box code { color: #d9152f; }
.gallery-main {
    background: linear-gradient(135deg, #fff1dc, #fff8ef);
    border-color: rgba(255,48,70,.14);
}
.gallery-thumb.active { border-color: #ff3046; }
.benefit-list li { background: linear-gradient(135deg, rgba(255,48,70,.08), rgba(255,203,61,.10)); }
.benefit-list li::before { background: var(--gradient-main); }
.status-badge { background: rgba(255,48,70,.10); color: #d9152f; }
tbody tr:hover { background: rgba(255,48,70,.04); }
.site-footer {
    background: #302522;
    margin-top: 70px;
}
.site-footer::before { background: radial-gradient(circle, rgba(255, 203, 61, .28), transparent 65%); }

@media (max-width: 1180px) {
    .header-inner { width: min(100% - 32px, 1204px); gap: 14px; grid-template-columns: 128px minmax(220px, 1fr) auto auto; }
    .header-quick-actions { gap: 11px; }
    .header-link { font-size: 14px; }
    .category-bar .main-nav { width: min(100% - 32px, 1204px); overflow-x: auto; }
    .category-bar .nav-link { white-space: nowrap; padding-inline: 15px; }
}
@media (max-width: 980px) {
    .site-header.hdi-inspired-header { position: sticky; }
    .header-inner {
        min-height: 76px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }
    .brand-copy small { display: block; }
    .header-search {
        grid-column: 1 / -1;
        order: 3;
        width: 100%;
        height: 48px;
        margin-bottom: 14px;
    }
    .header-quick-actions { display: none; }
    .menu-toggle { display: grid; }
    .category-bar {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        z-index: 100;
        background: #fffaf4;
        border: 1px solid rgba(255,48,70,.12);
        border-radius: 20px;
        box-shadow: var(--shadow);
        overflow: hidden;
    }
    .category-bar.open { display: block; }
    .category-bar .main-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .category-bar .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 18px;
        border-bottom: 1px solid rgba(255,48,70,.07);
    }
    .reward-strip { font-size: 13px; gap: 9px; padding-inline: 12px; flex-wrap: wrap; }
    .reward-coin:nth-of-type(n+2), .reward-spark:nth-of-type(n+2) { display: none; }
    .hero-slider { width: min(100% - 32px, 1200px); min-height: 460px; margin-top: 14px; }
    .hero-slide { padding: 48px 30px 86px; background-position: center right; }
    .hero-slide::before { background: linear-gradient(90deg, rgba(255,246,231,.99) 0%, rgba(255,246,231,.94) 58%, rgba(255,246,231,.50) 100%); }
    .hero-content { max-width: 520px; }
    .hero-content h1 { font-size: clamp(36px, 6.4vw, 58px); }
    .intro-strip { margin-top: 0; }
}
@media (max-width: 640px) {
    .header-inner { width: calc(100% - 28px); min-height: 72px; }
    .brand-copy strong { font-size: 21px; }
    .brand-mark { width: 39px; height: 39px; }
    .quick-icon { width: 38px; height: 38px; }
    .reward-strip strong { width: 100%; }
    .reward-strip a { margin-top: -2px; }
    .hero-slider { width: calc(100% - 20px); min-height: 540px; border-radius: 14px; }
    .hero-slide { padding: 42px 22px 86px; align-items: flex-end; background-position: 66% center; }
    .hero-slide::before { background: linear-gradient(180deg, rgba(255,246,231,.48) 0%, rgba(255,246,231,.97) 50%, rgba(255,246,231,1) 100%); }
    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 36px; line-height: 1.02; }
    .hero-content p { font-size: 15px; margin-bottom: 22px; }
    .hero-content .btn { width: 100%; justify-content: center; }
    .slider-dots { bottom: 18px; }
}

/* Mobile account/auth actions in collapsed navbar */
.mobile-nav-actions {
    display: none;
}
.mobile-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 16px 4px;
}
.mobile-mini-action {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff, #fff1df);
    border: 1px solid rgba(255, 48, 70, .13);
    color: #302522;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(114, 43, 20, .08);
}
.mobile-mini-action span {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 48, 70, .10);
    color: #ff3046;
    font-size: 19px;
}
.mobile-mini-action b {
    position: absolute;
    top: 8px;
    right: 9px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff3046;
    color: #fff;
    font-size: 11px;
    border: 2px solid #fffaf4;
}
.mobile-mini-action.active,
.mobile-mini-action:hover {
    border-color: rgba(255, 48, 70, .30);
    transform: translateY(-1px);
}
.mobile-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 16px 18px;
}
.mobile-auth-grid.logged-in {
    padding-top: 10px;
}
.mobile-auth-btn {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    padding: 15px;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 16px 30px rgba(255, 48, 70, .20);
    overflow: hidden;
    position: relative;
}
.mobile-auth-btn::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 95px;
    right: -36px;
    top: -36px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
}
.mobile-auth-btn span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: 18px;
    position: relative;
    z-index: 1;
}
.mobile-auth-btn strong,
.mobile-auth-btn small {
    position: relative;
    z-index: 1;
}
.mobile-auth-btn strong {
    font-size: 17px;
    letter-spacing: -.2px;
}
.mobile-auth-btn small {
    color: rgba(255,255,255,.83);
    font-weight: 700;
    font-size: 12px;
}
.mobile-auth-login {
    background: linear-gradient(135deg, #ff3046 0%, #ff6230 100%);
}
.mobile-auth-register {
    background: linear-gradient(135deg, #302522 0%, #6e171e 100%);
}
.mobile-auth-btn.active,
.mobile-auth-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.06);
}
.mobile-account-card {
    margin: 14px 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,48,70,.10), rgba(255,183,44,.14));
    border: 1px solid rgba(255,48,70,.15);
    color: #302522;
}
.mobile-account-card .avatar-badge {
    background: #ff3046;
    color: #fff;
}
.mobile-account-card small {
    display: block;
    color: #7f6962;
    font-weight: 700;
}
.mobile-account-card strong {
    color: #302522;
    font-size: 17px;
}

@media (max-width: 980px) {
    .mobile-nav-actions {
        display: block;
        border-top: 1px solid rgba(255,48,70,.08);
        background:
            radial-gradient(circle at 12% 12%, rgba(255, 183, 44, .16), transparent 34%),
            #fffaf4;
    }
    .category-bar .main-nav {
        max-height: 44vh;
    }
}

@media (max-width: 390px) {
    .mobile-auth-grid,
    .mobile-action-row {
        grid-template-columns: 1fr;
    }
    .mobile-auth-btn {
        min-height: 74px;
    }
}

/* =========================================================
   v9: Simple main pages menu + compact product category dropdown
   ========================================================= */
.category-bar .nav-dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
}
.category-bar .nav-dropdown-toggle {
    min-height: 38px;
    padding: 10px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2d2728;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: none;
}
.category-bar .nav-dropdown-toggle:hover,
.category-bar .nav-dropdown-toggle.active,
.category-bar .nav-dropdown.active .nav-dropdown-toggle,
.category-bar .nav-dropdown.open .nav-dropdown-toggle {
    color: #ff3046;
    background: rgba(255, 48, 70, .08);
    box-shadow: inset 0 -3px 0 #ff3046;
    transform: none;
}
.category-bar .nav-caret {
    margin-left: 6px;
    font-size: 12px;
}
.category-bar .nav-dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    z-index: 130;
    min-width: 280px;
    max-height: 420px;
    overflow-y: auto;
    padding: 12px;
    border-radius: 18px;
    background: #fffaf4;
    border: 1px solid rgba(255, 48, 70, .14);
    box-shadow: 0 20px 48px rgba(86, 23, 17, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
}
.category-bar .nav-dropdown-menu::before { display: none; }
.category-bar .nav-dropdown:hover .nav-dropdown-menu,
.category-bar .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.category-bar .dropdown-title {
    display: block;
    padding: 8px 10px 10px;
    color: #d9152f;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 950;
    text-transform: uppercase;
}
.category-bar .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 14px;
    color: #302522;
    font-size: 14px;
    font-weight: 850;
}
.category-bar .nav-dropdown-menu a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 0 4px rgba(255, 48, 70, .08);
}
.category-bar .nav-dropdown-menu a:hover,
.category-bar .nav-dropdown-menu a.active {
    color: #ff3046;
    background: rgba(255, 48, 70, .08);
}

/* New static content pages */
.brand-page-hero h1 {
    max-width: 920px;
}
.content-grid.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 24px;
    align-items: stretch;
}
.content-card,
.contact-card,
.value-card,
.step-card {
    background: #fffdf9;
    border: 1px solid rgba(255, 48, 70, .13);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}
.content-card {
    padding: 28px;
}
.large-card h2,
.contact-form h2 {
    font-size: clamp(28px, 3.5vw, 46px);
    margin-bottom: 18px;
}
.content-card p {
    color: var(--muted);
    line-height: 1.8;
}
.highlight-card {
    background:
        radial-gradient(circle at 95% 0%, rgba(255, 203, 61, .24), transparent 34%),
        linear-gradient(135deg, #fffdf9, #fff0df);
}
.highlight-card h3,
.contact-card h3,
.value-card h3,
.step-card h3 {
    margin: 0 0 10px;
    letter-spacing: -.02em;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    color: #4b403c;
    line-height: 1.55;
    font-weight: 750;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--gradient-main);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.value-card,
.step-card {
    padding: 26px;
    position: relative;
    overflow: hidden;
}
.value-card::after,
.step-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 48, 70, .08);
}
.value-card span,
.step-card span,
.contact-card span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    margin-bottom: 15px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(255,48,70,.18);
}
.value-card p,
.step-card p,
.contact-card p,
.contact-card small {
    color: var(--muted);
    line-height: 1.7;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    gap: 26px;
    align-items: start;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.contact-card {
    padding: 24px;
    min-height: 190px;
}
.contact-card p {
    margin: 0 0 8px;
    font-weight: 850;
    color: #302522;
}
.contact-card small {
    display: block;
}
.contact-form textarea {
    resize: vertical;
}
.shopping-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.faq-grid .content-card h3 {
    margin-top: 0;
}

@media (max-width: 980px) {
    .category-bar .nav-dropdown {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,48,70,.07);
    }
    .category-bar .nav-dropdown-toggle {
        width: 100%;
        min-height: 50px;
        justify-content: space-between;
        display: flex;
        align-items: center;
        padding: 14px 18px;
        text-align: left;
        border-bottom: 0;
    }
    .category-bar .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        max-height: 260px;
        margin: 0 12px 12px;
        padding: 8px;
        border-radius: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: inset 0 0 0 1px rgba(255,48,70,.07);
        background: #fff4e9;
    }
    .category-bar .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .category-bar .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .content-grid.two-col,
    .contact-layout,
    .value-grid,
    .shopping-steps,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .content-card,
    .contact-card,
    .value-card,
    .step-card {
        border-radius: 20px;
        padding: 22px;
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   v10: Centered desktop navbar menu
   ========================================================= */
@media (min-width: 981px) {
    .category-bar .main-nav {
        justify-content: center;
        align-items: center;
        overflow: visible;
    }

    .category-bar .nav-link,
    .category-bar .nav-dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .category-bar .nav-dropdown {
        flex: 0 0 auto;
    }

    .category-bar .nav-dropdown-menu {
        left: 50%;
        transform: translate(-50%, 8px);
        text-align: left;
    }

    .category-bar .nav-dropdown:hover .nav-dropdown-menu,
    .category-bar .nav-dropdown.open .nav-dropdown-menu {
        transform: translate(-50%, 0);
    }
}

/* =========================================================
   v11: Product showcase cards like premium storefront sample
   ========================================================= */
.product-grid,
.product-grid.dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card.showcase-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fffdf9;
    border: 1px solid rgba(47, 34, 31, .11);
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(92, 55, 24, .09);
    min-height: 100%;
    backdrop-filter: none;
}

.product-card.showcase-card::before {
    display: none;
}

.product-card.showcase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 48, 70, .20);
    box-shadow: 0 24px 55px rgba(92, 55, 24, .14);
}

.product-card.showcase-card .product-image,
.product-card.showcase-card .showcase-image {
    display: block;
    margin: 10px 10px 0;
    aspect-ratio: 1.18 / 1;
    border-radius: 14px;
    background:
        radial-gradient(circle at 70% 12%, rgba(255, 203, 61, .16), transparent 34%),
        linear-gradient(135deg, #fff8f3 0%, #fff2ee 100%);
    border: 1px solid rgba(48, 37, 34, .07);
}

.product-card.showcase-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-card.showcase-card .badge-sale {
    top: 14px;
    left: 14px;
    border-radius: 999px;
    padding: 7px 11px;
    background: #ff3046;
    box-shadow: 0 12px 24px rgba(255, 48, 70, .22);
}

.product-card.showcase-card .product-info,
.product-card.showcase-card .showcase-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 21px 20px;
}

.product-card.showcase-card .product-category {
    color: #f0182f;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.product-card.showcase-card .product-info h3 {
    min-height: 0;
    margin: 17px 0 0;
    color: #121212;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.product-card.showcase-card .product-info h3 a {
    color: inherit;
}

.product-card.showcase-card .product-info h3 a:hover {
    color: #ff3046;
}

.product-excerpt {
    min-height: 54px;
    margin: 24px 0 0;
    color: #64544f;
    font-size: 15px;
    line-height: 1.62;
}

.product-card.showcase-card .showcase-price {
    margin: 18px 0 18px;
    min-height: 30px;
}

.product-card.showcase-card .showcase-price strong {
    color: #302522;
    font-size: 19px;
    font-weight: 950;
}

.product-card.showcase-card .showcase-price del {
    color: #a5928c;
    font-size: 13px;
}

.product-card.showcase-card .product-actions,
.product-card.showcase-card .showcase-actions {
    display: grid;
    grid-template-columns: 1.35fr .9fr .8fr;
    gap: 10px;
    align-items: stretch;
    margin-top: auto;
}

.product-card.showcase-card .product-actions form {
    min-width: 0;
}

.product-card.showcase-card .product-actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
}

.product-card.showcase-card .btn-cart-card {
    background: #ff3046;
    color: #fff;
    box-shadow: 0 14px 28px rgba(255, 48, 70, .21);
}

.product-card.showcase-card .btn-wishlist-card {
    background: #fff;
    color: #111;
    border: 1px solid rgba(48, 37, 34, .14);
    box-shadow: none;
}

.product-card.showcase-card .btn-wishlist-card.active,
.product-card.showcase-card .btn-wishlist-card:hover {
    color: #ff3046;
    border-color: rgba(255, 48, 70, .28);
    background: #fff2ee;
}

.product-card.showcase-card .btn-buy-card {
    background: #302522;
    color: #fff;
    box-shadow: 0 14px 26px rgba(48, 37, 34, .18);
}

.product-card.showcase-card .product-actions .btn span {
    display: inline-grid;
    place-items: center;
    line-height: 1;
}

.detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 1180px) {
    .product-grid,
    .product-grid.dense {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .product-card.showcase-card .product-actions,
    .product-card.showcase-card .showcase-actions {
        grid-template-columns: 1fr;
    }

    .product-card.showcase-card .product-actions .btn {
        min-height: 48px;
    }
}

@media (max-width: 640px) {
    .product-grid,
    .product-grid.dense {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-card.showcase-card .product-info,
    .product-card.showcase-card .showcase-info {
        padding: 20px 18px 18px;
    }

    .product-excerpt {
        min-height: 0;
        margin-top: 18px;
    }
}

/* =========================================================
   v12: Product detail options / variant picker
   ========================================================= */
.product-buy-card {
    background: #fffdf9;
    border-radius: 26px;
    border: 1px solid rgba(48, 37, 34, .10);
    box-shadow: 0 18px 44px rgba(92, 55, 24, .10);
}

.product-buy-card h1 {
    color: #14100f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.detail-price.big strong {
    background: none;
    color: #ff3046;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.detail-purchase-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.product-options-panel {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff7ec, #fffdf9);
    border: 1px solid rgba(255, 48, 70, .12);
}

.option-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 2px;
}

.option-panel-head span {
    color: #211815;
    font-size: 18px;
    font-weight: 950;
}

.option-panel-head small,
.qty-panel span,
.cart-variant,
.mini-item small {
    display: block;
    color: #8a746d;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.option-group {
    margin: 0;
    padding: 0;
    border: 0;
}

.option-group legend {
    margin-bottom: 10px;
    color: #3b2c28;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.option-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-pills input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-pills label {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(48, 37, 34, .14);
    background: #fff;
    color: #2d2421;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(92, 55, 24, .06);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.option-pills label:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 48, 70, .30);
}

.option-pills input:checked + label {
    color: #fff;
    background: #ff3046;
    border-color: #ff3046;
    box-shadow: 0 13px 26px rgba(255, 48, 70, .22);
}

.qty-panel {
    display: grid;
    grid-template-columns: auto 118px 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(48, 37, 34, .10);
}

.qty-panel label {
    color: #3b2c28;
    font-weight: 950;
}

.qty-panel input {
    height: 46px;
    border-radius: 999px;
    text-align: center;
}

.detail-action-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 12px;
}

.detail-action-grid .btn,
.wishlist-detail-form .btn {
    min-height: 52px;
}

.wishlist-detail-form {
    margin-top: 12px;
}

.detail-benefits {
    margin-top: 22px;
}

.detail-benefits li {
    background: #fff7ec;
    color: #47362f;
}

.detail-benefits li::before {
    background: #ff3046;
}

.cart-variant {
    margin-top: 5px;
}

.mini-item span {
    display: grid;
    gap: 3px;
}

.order-items-summary h2 {
    margin-bottom: 10px;
}

.order-mini-item {
    grid-template-columns: 1fr auto;
}

@media (max-width: 760px) {
    .option-panel-head,
    .qty-panel {
        align-items: flex-start;
    }

    .option-panel-head,
    .qty-panel,
    .detail-action-grid {
        grid-template-columns: 1fr;
    }

    .qty-panel input {
        width: 100%;
    }

    .option-pills label {
        flex: 1 1 auto;
    }
}


/* =========================================================
   v13: Etalase produk hanya tombol Detail
   ========================================================= */
.product-card.showcase-card .detail-only-actions {
    display: block;
    margin-top: auto;
}

.product-card.showcase-card .detail-only-actions .btn-detail-card {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    background: #ff3046;
    color: #fff;
    box-shadow: 0 16px 30px rgba(255, 48, 70, .22);
    font-size: 14px;
    font-weight: 950;
}

.product-card.showcase-card .detail-only-actions .btn-detail-card:hover {
    background: #e4162d;
    color: #fff;
    box-shadow: 0 20px 38px rgba(255, 48, 70, .30);
}

.product-card.showcase-card .detail-only-actions .btn-detail-card span {
    display: inline-grid;
    place-items: center;
    line-height: 1;
}

/* =========================================================
   v14: Detail produk marketplace, purchase widget, dan ulasan
   ========================================================= */
.product-detail-marketplace {
    grid-template-columns: minmax(320px, .95fr) minmax(280px, .78fr) minmax(290px, 330px);
    gap: 24px;
    align-items: start;
}

.detail-copy-card {
    position: static;
    min-height: 100%;
    border-radius: 26px;
    padding: clamp(22px, 3vw, 32px);
}

.detail-copy-card h1 {
    font-size: clamp(30px, 3.3vw, 48px);
}

.detail-rating-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: -6px 0 16px;
    color: #64534d;
    font-weight: 850;
    flex-wrap: wrap;
}

.detail-rating-line .stars-inline,
.review-item-head span {
    color: #ffc84c;
    letter-spacing: 1px;
}

.detail-rating-line small {
    color: #8a746d;
    font-size: 13px;
}

.purchase-widget {
    position: sticky;
    top: 104px;
    border: 1px solid rgba(20, 16, 15, .16);
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 14px 35px rgba(65, 44, 30, .09);
}

.purchase-widget h2 {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.25;
    margin: 0 0 14px;
    color: #15110f;
    letter-spacing: -.01em;
}

.purchase-card-form {
    margin: 0;
    gap: 12px;
}

.purchase-mini-product {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
    padding: 5px 0 12px;
    border-bottom: 1px solid rgba(20, 16, 15, .08);
}

.purchase-mini-product img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(20, 16, 15, .08);
    background: #fff7ec;
}

.purchase-mini-product strong {
    display: block;
    color: #17110f;
    font-size: 14px;
    line-height: 1.3;
}

.purchase-mini-product small {
    color: #6d5e58;
    font-size: 12px;
}

.purchase-mini-product b,
.purchase-qty-row b {
    color: #111;
}

.purchase-options-panel {
    padding: 12px;
    gap: 12px;
    border-radius: 14px;
    background: #fffaf3;
}

.compact-option-group legend {
    margin-bottom: 8px;
    font-size: 12px;
}

.compact-option-pills {
    gap: 7px;
}

.compact-option-pills label {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 12px;
    box-shadow: none;
}

.purchase-qty-row {
    display: grid;
    grid-template-columns: 32px 58px 32px 1fr;
    align-items: center;
    gap: 0;
    padding-top: 2px;
}

.purchase-qty-row button,
.purchase-qty-row input {
    height: 36px;
    border: 1px solid #cfd8e3;
    background: #fff;
    color: #09a66d;
    font-weight: 950;
}

.purchase-qty-row button {
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.purchase-qty-row button:first-child {
    border-radius: 8px 0 0 8px;
}

.purchase-qty-row button:nth-child(3) {
    border-radius: 0 8px 8px 0;
}

.purchase-qty-row input {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    text-align: center;
    color: #15110f;
    padding: 0 4px;
}

.purchase-qty-row span {
    padding-left: 10px;
    color: #17110f;
    font-size: 13px;
    white-space: nowrap;
}

.purchase-subtotal-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding: 2px 0 4px;
}

.purchase-subtotal-row span {
    color: #6d5e58;
    font-size: 15px;
}

.purchase-subtotal-row strong {
    color: #15110f;
    font-size: 22px;
    line-height: 1;
}

.btn-green,
.btn-green-outline {
    min-height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 950;
}

.btn-green {
    border-color: #03ac5a;
    background: #03ac5a;
    color: #fff;
    box-shadow: none;
}

.btn-green:hover {
    background: #03994f;
    color: #fff;
}

.btn-green-outline {
    border: 1px solid #03ac5a;
    background: #fff;
    color: #03ac5a;
}

.btn-green-outline:hover {
    background: #eefdf5;
    color: #028a49;
}

.purchase-bottom-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(20, 16, 15, .10);
}

.purchase-wishlist-form {
    margin: 0;
}

.purchase-link-btn {
    width: 100%;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: #fff;
    color: #15110f;
    cursor: pointer;
    font-weight: 950;
    font-size: 13px;
    border-right: 1px solid rgba(20, 16, 15, .10);
}

.purchase-bottom-actions > .purchase-link-btn {
    border-right: 0;
}

.purchase-link-btn.active,
.purchase-link-btn:hover {
    color: #ff3046;
}

.social-share-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 9px;
}

.social-share-list a,
.social-share-list button {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(20, 16, 15, .10);
    background: #fffaf3;
    color: #302522;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.product-review-section {
    padding-top: 4px;
}

.review-heading {
    padding-bottom: 0;
}

.review-summary-card,
.review-list-card,
.review-form-card {
    background: #fff;
    border: 1px solid rgba(20, 16, 15, .14);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(65, 44, 30, .06);
}

.review-summary-card {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr);
    gap: 28px;
    position: relative;
    overflow: hidden;
    padding: 24px 28px 48px;
}

.review-summary-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(255, 246, 231, .92));
    pointer-events: none;
}

.review-score-main {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #15110f;
}

.review-star-icon {
    color: #ffc84c;
    font-size: 36px;
    line-height: 1;
}

.review-score-main strong {
    font-size: 32px;
    line-height: 1;
}

.review-score-main span:last-child {
    color: #5f6678;
    font-size: 18px;
}

.review-score-block p {
    margin: 12px 0 5px;
    color: #14100f;
    font-size: 17px;
}

.review-score-block small,
.review-bar-row small,
.review-source-note,
.review-item small {
    color: #667085;
    font-size: 13px;
}

.review-bars {
    display: grid;
    gap: 10px 26px;
    grid-template-columns: 1fr 1fr;
    align-content: center;
}

.review-bar-row {
    display: grid;
    grid-template-columns: 34px 1fr 42px;
    gap: 9px;
    align-items: center;
}

.review-bar-row span {
    color: #ffc84c;
    font-size: 13px;
    font-weight: 950;
}

.review-bar-track {
    height: 6px;
    border-radius: 999px;
    background: #e5e9f0;
    overflow: hidden;
}

.review-bar-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2fc486;
}

.review-source-note {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 1;
    white-space: nowrap;
    background: rgba(255,255,255,.72);
    padding: 2px 12px;
}

.review-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    margin-top: 22px;
}

.review-list-card,
.review-form-card {
    padding: 24px;
}

.review-list-card h3,
.review-form-card h3 {
    font-family: inherit;
    font-size: 20px;
    margin: 0 0 16px;
}

.review-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(20, 16, 15, .08);
}

.review-item:last-child {
    border-bottom: 0;
}

.review-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff1e4;
    color: #ff3046;
    font-weight: 950;
}

.review-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.review-item p {
    margin: 9px 0 0;
    color: #514a62;
    line-height: 1.7;
}

.customer-review-form {
    display: grid;
    gap: 13px;
}

.empty-state.small {
    padding: 22px;
    border-radius: 12px;
    box-shadow: none;
}

.order-review-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 7px;
}

.order-review-links a {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff1e4;
    color: #ff3046;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .product-detail-marketplace {
        grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    }
    .detail-copy-card {
        grid-column: 1 / -1;
        order: 3;
    }
    .purchase-widget {
        order: 2;
    }
}

@media (max-width: 860px) {
    .product-detail-marketplace,
    .review-summary-card,
    .review-content-grid {
        grid-template-columns: 1fr;
    }
    .purchase-widget {
        position: static;
    }
    .detail-copy-card {
        order: initial;
    }
    .review-bars {
        grid-template-columns: 1fr;
    }
    .review-source-note {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        text-align: center;
        white-space: normal;
        margin-top: 6px;
    }
    .review-summary-card {
        padding-bottom: 24px;
    }
}

@media (max-width: 520px) {
    .purchase-widget,
    .review-list-card,
    .review-form-card,
    .review-summary-card {
        border-radius: 12px;
    }
    .purchase-qty-row {
        grid-template-columns: 36px 1fr 36px;
        gap: 0;
    }
    .purchase-qty-row span {
        grid-column: 1 / -1;
        padding: 8px 0 0;
    }
    .social-share-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   v15: Detail produk adopsi marketplace merah-cream, tanpa hijau
   ========================================================= */
.themed-product-layout {
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr) minmax(290px, 320px);
    gap: 28px;
    align-items: start;
}

.marketplace-gallery-main {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffaf4, #fff3e6);
    border: 1px solid rgba(126, 92, 67, .12);
    min-height: 540px;
}

.marketplace-gallery-main .gallery-slide {
    width: 100%;
    height: 540px;
    object-fit: cover;
}

.marketplace-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.marketplace-gallery-thumbs .gallery-thumb {
    border-radius: 14px;
    height: 84px;
    padding: 4px;
    background: #fff;
}

.marketplace-gallery-thumbs .gallery-thumb.active {
    border-color: #ff4657;
    box-shadow: 0 14px 28px rgba(255, 70, 87, .16);
}

.themed-detail-copy {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.detail-header-block h1 {
    margin: 0 0 8px;
    color: #17110f;
    font-size: clamp(28px, 2.45vw, 42px);
    line-height: 1.18;
}

.detail-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #76655f;
    font-size: 14px;
    margin-bottom: 16px;
}

.compact-detail-rating {
    margin: 0 0 16px;
}

.detail-price-stack {
    padding: 10px 0 18px;
    border-bottom: 1px solid rgba(39, 31, 29, .10);
}

.detail-price strong {
    font-size: clamp(36px, 3vw, 52px);
    color: #111;
}

.detail-price-subrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    background: #ffe3e7;
    color: #ff3046;
    font-weight: 950;
    font-size: 13px;
}

.detail-price-subrow del {
    color: #98a2b3;
    font-size: 20px;
    font-weight: 800;
}

.detail-variants-card {
    padding: 22px 0 12px;
    border-bottom: 1px solid rgba(39, 31, 29, .10);
}

.detail-option-group + .detail-option-group {
    margin-top: 18px;
}

.detail-option-group legend {
    margin-bottom: 10px;
    color: #2c2321;
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
}

.detail-option-group legend b {
    color: #5b4c48;
}

.detail-option-pills {
    gap: 10px;
}

.detail-option-pills label {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

.detail-option-pills input:checked + label {
    background: #fff0ee;
    color: #e93045;
    border-color: rgba(233, 48, 69, .36);
    box-shadow: inset 0 0 0 1px rgba(233, 48, 69, .06);
}

.detail-tab-box {
    margin-top: 22px;
}

.detail-tab-buttons {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid rgba(39, 31, 29, .10);
}

.detail-tab-btn {
    position: relative;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 0 14px;
    color: #6c737f;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
}

.detail-tab-btn.active {
    color: #ff3046;
}

.detail-tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff3046, #ff8b50);
}

.detail-tab-panels {
    padding-top: 18px;
}

.detail-tab-panel {
    display: none;
}

.detail-tab-panel.active {
    display: block;
}

.detail-description-long,
.detail-guide-copy {
    color: #382d2a;
    line-height: 1.9;
    font-size: 16px;
}

.detail-description-long p,
.detail-guide-copy p {
    margin: 0 0 8px;
}

.detail-description-copy {
    margin-top: 14px;
    white-space: normal;
}

.detail-note {
    margin-top: 18px !important;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff8ef;
    color: #6d5e58;
    font-size: 14px;
}

.detail-guide-list {
    margin: 10px 0 0;
    padding-left: 18px;
}

.detail-guide-list li + li {
    margin-top: 8px;
}

.themed-purchase-widget {
    top: 96px;
    border-radius: 16px;
    border: 1px solid rgba(43, 34, 31, .14);
    padding: 14px;
    box-shadow: 0 16px 36px rgba(55, 34, 22, .08);
}

.purchase-note-field {
    display: grid;
    gap: 8px;
    color: #534743;
    font-size: 13px;
    font-weight: 800;
}

.purchase-note-field textarea {
    min-height: 86px;
    resize: vertical;
    border-radius: 12px;
    border: 1px solid rgba(43, 34, 31, .12);
    background: #fffaf6;
    padding: 12px 14px;
    color: #2c2321;
}

.purchase-qty-row button,
.purchase-qty-row input {
    color: #ff3046;
}

.purchase-subtotal-values {
    text-align: right;
}

.purchase-subtotal-values small {
    display: block;
    color: #98a2b3;
    text-decoration: line-through;
    margin-bottom: 2px;
    font-weight: 700;
}

.btn-green {
    border-color: #ff3046;
    background: linear-gradient(135deg, #ff3046 0%, #ff6a50 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(255, 48, 70, .18);
}

.btn-green:hover {
    background: linear-gradient(135deg, #ef2138 0%, #ff5a40 100%);
}

.btn-green-outline {
    border: 1px solid #ff3046;
    background: #fff7f6;
    color: #ff3046;
}

.btn-green-outline:hover {
    background: #fff0ee;
    color: #d92137;
}

.purchase-bottom-actions-three {
    grid-template-columns: repeat(3, 1fr);
}

.purchase-bottom-actions-three .purchase-link-btn {
    border-right: 1px solid rgba(20, 16, 15, .10);
}

.purchase-bottom-actions-three > :last-child .purchase-link-btn,
.purchase-bottom-actions-three > .purchase-link-btn:last-child {
    border-right: 0;
}

.purchase-link-btn.active,
.purchase-link-btn:hover {
    color: #ff3046;
    background: #fff8f7;
}

.social-share-list a,
.social-share-list button {
    background: #fff8f1;
}

.review-bar-track i {
    background: linear-gradient(90deg, #ffb04a, #ff5d5d);
}

@media (max-width: 1180px) {
    .themed-product-layout {
        grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
    }

    .themed-detail-copy {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 860px) {
    .themed-product-layout {
        grid-template-columns: 1fr;
    }

    .marketplace-gallery-main,
    .marketplace-gallery-main .gallery-slide {
        min-height: auto;
        height: clamp(320px, 72vw, 520px);
    }

    .detail-tab-buttons {
        gap: 18px;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .marketplace-gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .marketplace-gallery-thumbs .gallery-thumb {
        height: 68px;
    }

    .detail-header-block h1 {
        font-size: 26px;
    }

    .detail-price strong {
        font-size: 34px;
    }

    .purchase-bottom-actions-three {
        grid-template-columns: 1fr;
    }

    .purchase-bottom-actions-three .purchase-link-btn,
    .purchase-bottom-actions-three > :last-child .purchase-link-btn,
    .purchase-bottom-actions-three > .purchase-link-btn:last-child {
        border-right: 0;
        border-bottom: 1px solid rgba(20, 16, 15, .10);
    }

    .purchase-bottom-actions-three > *:last-child .purchase-link-btn,
    .purchase-bottom-actions-three > .purchase-link-btn:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   v16: Fix overlap/bertumpuk pada halaman detail produk
   ========================================================= */
.themed-product-layout {
    grid-template-columns: minmax(0, 390px) minmax(0, 1fr) minmax(280px, 320px);
}

.themed-product-layout > * {
    min-width: 0;
}

.product-gallery,
.themed-detail-copy,
.themed-purchase-widget {
    min-width: 0;
}

.marketplace-gallery-main {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 0;
    height: clamp(420px, 36vw, 540px);
}

.marketplace-gallery-main .gallery-slide {
    width: 100%;
    height: 100%;
}

.detail-header-block,
.detail-price-stack,
.detail-variants-card,
.detail-tab-box,
.detail-description-long,
.detail-guide-copy {
    width: 100%;
    max-width: 100%;
}

.detail-header-block h1 {
    max-width: 100%;
    word-break: break-word;
}

.themed-purchase-widget {
    width: 100%;
}

@media (max-width: 1320px) {
    .themed-product-layout {
        grid-template-columns: minmax(0, 360px) minmax(0, 1fr) minmax(270px, 300px);
        gap: 22px;
    }

    .marketplace-gallery-main {
        height: clamp(390px, 34vw, 500px);
    }
}

@media (max-width: 1180px) {
    .themed-product-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
    }

    .product-gallery {
        grid-column: 1 / 2;
    }

    .themed-purchase-widget {
        grid-column: 2 / 3;
    }

    .themed-detail-copy {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 860px) {
    .themed-product-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-gallery,
    .themed-purchase-widget,
    .themed-detail-copy {
        grid-column: auto;
        order: initial;
    }

    .marketplace-gallery-main {
        height: clamp(320px, 76vw, 500px);
    }
}


/* =========================================================
   v18: Page title tanpa box rounded
   ========================================================= */
.page-hero {
    max-width: 1204px;
    margin: 26px auto 6px;
    padding: 8px 20px 10px;
}

.page-hero::before {
    display: none;
}

.page-hero.compact {
    padding-bottom: 8px;
}

.page-hero h1 {
    margin: 8px 0 12px;
    max-width: 980px;
    line-height: 1.08;
}

.page-hero p {
    margin: 0;
    max-width: 820px;
}

@media (max-width: 768px) {
    .page-hero {
        margin-top: 18px;
        padding: 4px 16px 8px;
    }

    .page-hero h1 {
        margin-bottom: 10px;
    }

    .page-hero p {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* =========================================================
   v20: Admin CMS dashboard & management pages
   ========================================================= */
.admin-nav-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 24px;
    background: #fffdf9;
    border: 1px solid rgba(255, 48, 70, .12);
    box-shadow: 0 12px 28px rgba(70, 44, 26, .06);
}
.admin-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #fff7f2;
    border: 1px solid rgba(255, 48, 70, .10);
    color: #3b2c28;
    font-size: 13px;
    font-weight: 950;
}
.admin-nav-link:hover,
.admin-nav-link.active {
    background: linear-gradient(135deg, #ff3046, #ff7a45);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 48, 70, .18);
}
.admin-grid-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-management-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.admin-management-card {
    display: block;
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
    background: #fffdf9;
    border: 1px solid rgba(255, 48, 70, .12);
    box-shadow: 0 16px 34px rgba(70, 44, 26, .06);
    color: #302522;
}
.admin-management-card span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff0ec;
    color: #ff3046;
    font-size: 22px;
    margin-bottom: 16px;
}
.admin-management-card h3 { margin: 0 0 10px; }
.admin-management-card p { margin: 0; color: #6d5e58; line-height: 1.65; font-size: 14px; }
.admin-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 24px;
    align-items: start;
}
.admin-side-list {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
    background: #fffdf9;
    border: 1px solid rgba(255, 48, 70, .12);
    box-shadow: 0 12px 26px rgba(70, 44, 26, .05);
}
.admin-side-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff8f2;
    color: #302522;
    border: 1px solid rgba(255, 48, 70, .08);
}
.admin-side-list a.active,
.admin-side-list a:hover {
    background: #fff0ec;
    color: #ff3046;
    border-color: rgba(255, 48, 70, .24);
}
.admin-side-list small { color: #8a746d; }
.admin-form-card { display: grid; gap: 14px; }
.admin-form-card h2 { margin: 0 0 6px; }
.form-head-row,
.form-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}
.settings-grid label { margin-bottom: 0; }
.product-full-form > label { margin-top: 4px; }
.inline-form.product-edit { gap: 8px; align-items: center; }
.inline-form.product-edit input[type="number"] { width: 88px; }
.inline-form.product-edit select { width: 120px; }
.btn.danger,
.link.danger,
.btn-outline.danger { color: #d92d20; border-color: rgba(217, 45, 32, .28); }
.btn-outline.danger:hover { background: #fff1f0; color: #b42318; }
.table-card table small { color: #7a6a64; }

@media (max-width: 1100px) {
    .admin-grid-wide,
    .admin-management-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-editor-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .admin-grid-wide,
    .admin-management-grid,
    .settings-grid { grid-template-columns: 1fr; }
    .admin-nav-panel { overflow-x: auto; flex-wrap: nowrap; }
    .admin-nav-link { white-space: nowrap; }
}

/* =========================================================
   v21: Admin operasional order, pembayaran, packing, pengiriman
   ========================================================= */
.order-stat-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.order-stat-card {
    color: #302522;
    text-decoration: none;
}

.order-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 48, 70, .22);
}

.status-badge.payment,
.status-badge.order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0;
    white-space: nowrap;
}

.status-badge.payment.paid,
.status-badge.order.completed {
    background: #fff3d6;
    color: #9a5b00;
}

.status-badge.payment.waiting,
.status-badge.order.new {
    background: #fff0ec;
    color: #ff3046;
}

.status-badge.order.processing,
.status-badge.order.packed,
.status-badge.order.shipped {
    background: #fff7e8;
    color: #b54708;
}

.status-badge.payment.failed,
.status-badge.payment.refunded,
.status-badge.order.cancelled {
    background: #fee4e2;
    color: #b42318;
}

.order-filter-form {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(180px, .7fr) minmax(180px, .7fr) auto;
    gap: 14px;
    align-items: end;
}

.order-filter-form label {
    margin-bottom: 0;
}

.order-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 1px;
}

.order-operation-table table {
    min-width: 1180px;
}

.order-quick-form {
    display: grid;
    gap: 8px;
    min-width: 250px;
}

.order-quick-form select,
.order-quick-form input {
    min-height: 38px;
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 12px;
}

.quick-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.order-detail-topbar,
.order-detail-statuses {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.order-timeline-card h2,
.order-detail-main h3,
.order-operation-form h2,
.operational-help-card h2 {
    margin-top: 0;
}

.order-timeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.timeline-step {
    position: relative;
    min-height: 118px;
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 16px;
    border-radius: 20px;
    background: #fff8f2;
    border: 1px solid rgba(255, 48, 70, .10);
}

.timeline-step span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #8a746d;
    border: 1px solid rgba(48, 37, 34, .10);
    font-weight: 950;
}

.timeline-step.done {
    background: linear-gradient(135deg, #fff3d6, #fff0ec);
    border-color: rgba(255, 48, 70, .20);
}

.timeline-step.done span {
    background: linear-gradient(135deg, #ff3046, #ff7a45);
    color: #fff;
    border-color: transparent;
}

.timeline-step.cancelled {
    background: #fff1f0;
}

.timeline-step small {
    color: #7a6a64;
    line-height: 1.4;
}

.order-detail-layout,
.order-customer-layout {
    align-items: start;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.order-info-grid > div {
    display: grid;
    gap: 5px;
    padding: 14px;
    border-radius: 16px;
    background: #fff8f2;
    border: 1px solid rgba(255, 48, 70, .08);
}

.order-info-grid span,
.order-total-box span {
    color: #7a6a64;
    font-size: 13px;
    font-weight: 800;
}

.admin-order-items {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.admin-order-item {
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: #fffdf9;
    border: 1px solid rgba(255, 48, 70, .10);
}

.admin-order-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 16px;
    background: #fff2e8;
}

.admin-order-item small,
.admin-order-item a {
    display: block;
    margin-top: 4px;
    color: #7a6a64;
    font-size: 12px;
}

.admin-order-item a {
    color: #ff3046;
    font-weight: 900;
}

.order-total-box {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding: 16px;
    border-radius: 20px;
    background: #fff8f2;
    border: 1px solid rgba(255, 48, 70, .10);
}

.order-total-box > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.order-total-box .total {
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 48, 70, .13);
}

.order-total-box .total strong {
    color: #ff3046;
    font-size: 22px;
}

.order-operation-form {
    position: sticky;
    top: 104px;
}

.operational-help-card ol {
    margin: 0;
    padding-left: 20px;
    color: #5f524e;
    line-height: 1.75;
}

.operational-help-card li + li {
    margin-top: 9px;
}

.account-order-status {
    display: grid;
    gap: 4px;
    justify-items: start;
}

.account-order-status small {
    color: #7a6a64;
}

@media (max-width: 1200px) {
    .order-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .order-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .order-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .order-filter-form {
        grid-template-columns: 1fr;
    }

    .order-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .order-timeline,
    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .order-operation-form {
        position: static;
    }

    .admin-order-item {
        grid-template-columns: 54px 1fr;
    }

    .admin-order-item > span,
    .admin-order-item > strong {
        grid-column: 2 / 3;
    }
}

@media (max-width: 640px) {
    .order-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   v22: Admin area dibuat simpel, terpisah dari tampilan publik
   ========================================================= */
body.admin-body {
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 48, 70, .08), transparent 28%),
        linear-gradient(180deg, #fffaf3 0%, #fff 48%, #fff 100%);
    color: #231816;
}

body.admin-body::before {
    display: none;
}

.admin-simple-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(40, 29, 24, .10);
    box-shadow: 0 8px 24px rgba(63, 39, 27, .06);
    backdrop-filter: blur(14px);
}

.admin-simple-inner {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 70px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 12px 22px;
}

.admin-simple-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #231816;
    text-decoration: none;
}

.admin-simple-logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff3046, #ff7a45);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(255, 48, 70, .20);
}

.admin-simple-brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.05;
}

.admin-simple-brand small {
    display: block;
    margin-top: 4px;
    color: #7a6a64;
    font-size: 12px;
    font-weight: 850;
}

.admin-simple-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
}

.admin-simple-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #4b3b36;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    border: 1px solid transparent;
}

.admin-simple-nav a:hover,
.admin-simple-nav a.active {
    background: #fff0ec;
    color: #ff3046;
    border-color: rgba(255, 48, 70, .14);
}

.admin-simple-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.admin-view-store,
.admin-logout,
.admin-avatar {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 950;
    font-size: 13px;
}

.admin-view-store {
    padding: 8px 13px;
    color: #ff3046;
    background: #fff3ee;
    border: 1px solid rgba(255, 48, 70, .14);
}

.admin-avatar {
    width: 38px;
    color: #fff;
    background: #241a18;
}

.admin-logout {
    padding: 8px 13px;
    color: #4b3b36;
    background: #fff;
    border: 1px solid rgba(40, 29, 24, .12);
}

.admin-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 22px 56px;
}

.admin-main .page-hero {
    max-width: none;
    margin: 0 0 12px;
    padding: 12px 0 6px;
}

.admin-main .page-hero h1 {
    font-size: clamp(30px, 3.2vw, 44px);
    margin: 6px 0 8px;
}

.admin-main .page-hero p {
    max-width: 920px;
    font-size: 16px;
}

.admin-main .section {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.admin-flash {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.admin-simple-footer {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 22px 28px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #8a746d;
    font-size: 13px;
    border-top: 1px solid rgba(40, 29, 24, .08);
}

body.admin-body .site-header,
body.admin-body .site-footer,
body.admin-body .reward-strip,
body.admin-body .category-bar {
    display: none !important;
}

@media (max-width: 1020px) {
    .admin-simple-inner {
        grid-template-columns: 1fr auto;
    }

    .admin-simple-nav {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 640px) {
    .admin-simple-inner,
    .admin-main,
    .admin-simple-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .admin-simple-inner {
        gap: 12px;
    }

    .admin-simple-actions {
        gap: 6px;
    }

    .admin-view-store {
        display: none;
    }

    .admin-simple-footer {
        flex-direction: column;
    }
}

/* =========================================================
   v23: Admin produk lebih mudah - upload gambar, ukuran, warna
   ========================================================= */
.admin-product-edit-shell {
    padding-top: 4px;
}

.easy-product-form {
    gap: 22px;
    padding: 24px;
}

.admin-form-section {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 48, 70, .12);
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdf9, #fff8f1);
}

.admin-form-section h2,
.variant-panel h3 {
    margin: 0;
    color: #241a18;
}

.admin-form-section .form-head-row small,
.sticky-save-row small,
.variant-panel small,
.admin-upload-control small {
    color: #7c6b65;
    font-weight: 750;
}

.featured-check {
    width: auto;
    margin: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff1ec;
    border: 1px solid rgba(255, 48, 70, .12);
}

.admin-upload-main-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(40, 29, 24, .09);
}

.admin-upload-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-upload-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(40, 29, 24, .09);
    box-shadow: 0 12px 24px rgba(65, 40, 24, .04);
}

.admin-upload-card strong {
    color: #ff3046;
}

.admin-upload-preview {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1 / 1;
    background: #fff4ec;
    border: 1px dashed rgba(255, 48, 70, .24);
}

.admin-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-upload-control label,
.admin-upload-card label,
.color-input-grid label,
.variant-panel label {
    margin-bottom: 0;
}

.easy-product-form input[type="file"] {
    padding: 11px;
    border-style: dashed;
    cursor: pointer;
    background: #fffaf6;
}

.variant-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.variant-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(40, 29, 24, .09);
}

.checkbox-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-chip {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.checkbox-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-chip span {
    min-width: 54px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 14px;
    background: #fff8f4;
    color: #3b2d29;
    border: 1px solid rgba(40, 29, 24, .12);
    font-weight: 950;
}

.checkbox-chip input:checked + span {
    background: #fff0ed;
    border-color: rgba(255, 48, 70, .45);
    color: #ff3046;
    box-shadow: inset 0 0 0 1px rgba(255, 48, 70, .06), 0 10px 20px rgba(255, 48, 70, .10);
}

.color-input-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.color-input-grid label {
    gap: 6px;
    color: #6a5a55;
    font-size: 12px;
}

.extra-variant-panel p {
    margin: -4px 0 2px;
    color: #7c6b65;
    line-height: 1.6;
}

.extra-variant-row {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
    gap: 10px;
    margin-bottom: 10px;
}

.sticky-save-row {
    position: sticky;
    bottom: 16px;
    z-index: 8;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 48, 70, .14);
    box-shadow: 0 18px 40px rgba(70, 44, 26, .12);
    backdrop-filter: blur(14px);
}

.sticky-save-row > div:first-child {
    display: grid;
    gap: 4px;
}

.form-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-main .easy-product-form textarea {
    min-height: 170px;
}

@media (max-width: 1100px) {
    .admin-upload-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .easy-product-form,
    .admin-form-section {
        padding: 16px;
    }

    .admin-upload-main-card,
    .variant-builder-grid,
    .extra-variant-row {
        grid-template-columns: 1fr;
    }

    .admin-upload-grid,
    .color-input-grid {
        grid-template-columns: 1fr;
    }

    .sticky-save-row {
        position: static;
    }
}

/* =========================================================
   v24: Customer dashboard, upload bukti transfer, validasi admin, invoice
   ========================================================= */
.status-badge.payment.review {
    background: #fff7e8;
    color: #b54708;
}

.customer-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 10px;
}
.customer-stat-card,
.customer-order-card,
.customer-payment-panel,
.customer-shipping-panel,
.customer-invoice-panel {
    background: #fffdf9;
    border: 1px solid rgba(255,48,70,.12);
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(70,44,26,.06);
}
.customer-stat-card {
    padding: 20px;
}
.customer-stat-card span {
    display: block;
    color: #7a6a64;
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 8px;
}
.customer-stat-card strong {
    color: #302522;
    font-size: 34px;
    line-height: 1;
}
.customer-account-layout {
    grid-template-columns: 380px minmax(0,1fr);
}
.customer-profile-card,
.customer-orders-card {
    align-self: start;
}
.customer-order-list {
    display: grid;
    gap: 16px;
}
.customer-order-card {
    padding: 18px;
}
.customer-order-card-head,
.customer-order-meta,
.customer-order-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.customer-order-card-head strong {
    display: block;
    color: #302522;
    font-size: 18px;
}
.customer-order-card-head span:not(.status-badge) {
    color: #7a6a64;
    font-size: 13px;
}
.customer-mini-items {
    display: grid;
    gap: 8px;
    margin: 14px 0;
}
.customer-mini-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: #fff8f2;
}
.customer-mini-item img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    background: #fff0ec;
}
.customer-mini-item span {
    color: #302522;
    font-weight: 850;
}
.customer-mini-item small {
    display: block;
    margin-top: 3px;
    color: #7a6a64;
    font-size: 12px;
}
.customer-progress-line {
    height: 9px;
    border-radius: 999px;
    background: #ffe9df;
    overflow: hidden;
    margin: 14px 0;
}
.customer-progress-line i {
    display: block;
    height: 100%;
    width: var(--progress, 20%);
    border-radius: inherit;
    background: linear-gradient(90deg, #ff3046, #ff7a45, #ffb13d);
}
.customer-order-meta {
    justify-content: flex-start;
    margin-bottom: 14px;
}
.customer-order-meta span {
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff8f2;
    color: #7a6a64;
    font-size: 12px;
    font-weight: 850;
}
.customer-order-meta b {
    color: #302522;
}
.customer-order-actions {
    justify-content: flex-start;
}
.customer-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}
.customer-order-main-card h3 { margin-top: 26px; }
.customer-timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.customer-timeline .timeline-step {
    min-height: 126px;
    padding: 13px;
}
.customer-status-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff8f2;
    border: 1px solid rgba(255,48,70,.10);
    color: #5f524e;
    line-height: 1.65;
}
.customer-side-stack,
.admin-side-stack {
    display: grid;
    gap: 16px;
    align-self: start;
}
.customer-side-stack {
    position: sticky;
    top: 104px;
}
.customer-payment-amount {
    font-size: clamp(30px, 3vw, 42px);
    margin: 10px 0 14px;
}
.compact-bank-card {
    padding: 16px;
    border-radius: 18px;
    margin-bottom: 12px;
}
.proof-preview-box {
    display: grid;
    gap: 8px;
    padding: 14px;
    margin: 12px 0;
    border-radius: 16px;
    background: #fff8f2;
    border: 1px solid rgba(255,48,70,.12);
}
.proof-preview-box a,
.proof-link {
    color: #ff3046;
    font-weight: 950;
}
.proof-preview-box p {
    margin: 0;
    color: #665752;
    line-height: 1.6;
}
.proof-preview-box.admin-note {
    background: #fff0ec;
}
.customer-upload-proof-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}
.order-info-grid.single {
    grid-template-columns: 1fr;
    margin-bottom: 0;
}
.success-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.admin-nav-badge {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    border-radius: 999px;
    background: #ff3046;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
}
.order-stat-card.urgent,
.admin-row-urgent {
    background: linear-gradient(135deg, #fff7e8, #fff0ec) !important;
}
.order-stat-grid-v24 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.full-action-buttons { gap: 8px; }
.full-action-buttons .btn { flex: 1 1 auto; }
.admin-order-timeline-v24 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.invoice-body {
    background: #f7f4ef;
    color: #302522;
}
.invoice-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px 18px;
}
.invoice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.invoice-paper {
    background: #fff;
    border: 1px solid rgba(48,37,34,.10);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 46px);
    box-shadow: 0 20px 50px rgba(48,37,34,.08);
}
.invoice-header,
.invoice-info-grid,
.invoice-total-box > div,
.invoice-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.invoice-header {
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 2px solid #fff0ec;
}
.invoice-header h1 { margin: 6px 0 6px; font-size: 42px; }
.invoice-brand {
    text-align: right;
}
.invoice-brand strong { display:block; font-size: 24px; color:#ff3046; }
.invoice-brand small { color:#7a6a64; font-weight:900; }
.invoice-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    margin: 24px 0;
}
.invoice-info-grid > div {
    padding: 16px;
    border-radius: 18px;
    background: #fff8f2;
}
.invoice-info-grid span,
.invoice-total-box span { color:#7a6a64; font-weight:850; font-size:13px; }
.invoice-info-grid strong { display:block; margin:6px 0; }
.invoice-info-grid p { margin:0; color:#5f524e; line-height:1.6; }
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.invoice-table th,
.invoice-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0e4dd;
    text-align: left;
}
.invoice-table th {
    background: #fff8f2;
    color: #5f524e;
    font-size: 13px;
}
.invoice-total-box {
    max-width: 360px;
    margin-left: auto;
    display: grid;
    gap: 9px;
    padding: 18px;
    border-radius: 18px;
    background: #fff8f2;
}
.invoice-total-box .total {
    padding-top: 10px;
    border-top: 1px solid #ffd2c5;
}
.invoice-total-box .total strong { color:#ff3046; font-size:22px; }
.invoice-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f0e4dd;
    color:#7a6a64;
}
@media (max-width: 1200px) {
    .customer-dashboard-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .customer-detail-grid { grid-template-columns: 1fr; }
    .customer-side-stack { position: static; }
    .customer-timeline,
    .admin-order-timeline-v24 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .customer-account-layout { grid-template-columns: 1fr; }
    .customer-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .invoice-info-grid { grid-template-columns: 1fr; }
    .invoice-header { flex-direction: column; }
    .invoice-brand { text-align: left; }
}
@media (max-width: 560px) {
    .customer-dashboard-stats,
    .customer-timeline,
    .admin-order-timeline-v24 { grid-template-columns: 1fr; }
    .customer-order-card-head,
    .customer-order-meta,
    .customer-order-actions { align-items: stretch; flex-direction: column; }
    .customer-order-actions .btn { width: 100%; }
    .invoice-actions .btn { width: 100%; }
}
@media print {
    .no-print { display: none !important; }
    .invoice-body { background: #fff; }
    .invoice-page { padding: 0; max-width: none; }
    .invoice-paper { box-shadow: none; border: 0; border-radius: 0; }
}

/* =========================================================
   v25: Order flow terkunci dan tidak bisa mundur
   ========================================================= */
.locked-flow-note {
    border: 1px solid rgba(255, 48, 70, .16);
    background: linear-gradient(135deg, rgba(255, 48, 70, .07), rgba(255, 203, 61, .10));
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 14px;
    color: #302522;
}
.locked-flow-note strong {
    display: block;
    font-weight: 950;
    line-height: 1.45;
}
.locked-flow-note small {
    display: block;
    color: #76655f;
    margin-top: 6px;
    line-height: 1.55;
}
.locked-flow-note.small {
    padding: 10px 12px;
    font-size: 12px;
    margin: 0 0 8px;
}
.locked-flow-note.small strong {
    font-size: 12px;
}

/* =========================================================
   v27: Alur transaksi berurutan, jelas, dan mudah dioperasikan
   ========================================================= */
.customer-timeline,
.order-timeline {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.timeline-step.pending {
    background: #fffdfa;
    border-color: rgba(48, 37, 34, .10);
    opacity: .78;
}

.timeline-step.current {
    background: linear-gradient(135deg, #fff7e8, #fff1ed);
    border-color: rgba(255, 48, 70, .34);
    box-shadow: 0 16px 34px rgba(255, 48, 70, .10);
}

.timeline-step.current span {
    background: #fff;
    color: #ff3046;
    border-color: rgba(255, 48, 70, .35);
}

.timeline-step.failed {
    background: #fff1f0;
    border-color: rgba(180, 35, 24, .30);
}

.timeline-step.failed span {
    background: #d92d20;
    color: #fff;
    border-color: transparent;
}

.status-badge.order.waiting,
.status-badge.order.review {
    background: #fff7e8;
    color: #b54708;
}

.status-badge.order.failed {
    background: #fee4e2;
    color: #b42318;
}

.flow-status-note.waiting,
.flow-status-note.review,
.flow-status-note.processing,
.flow-status-note.shipped {
    background: #fff8f2;
    border-color: rgba(255, 48, 70, .14);
}

.flow-status-note.failed {
    background: #fff1f0;
    border-color: rgba(180, 35, 24, .18);
    color: #7a271a;
}

.resi-highlight {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px dashed rgba(255, 48, 70, .28);
    color: #302522;
}

.customer-order-flow-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff8f2;
    color: #6d5e58;
    font-size: 13px;
    line-height: 1.55;
}

.print-label-btn {
    margin-bottom: 12px;
}

.proof-preview-box.admin-note {
    background: #fff8f2;
}

@media (max-width: 980px) {
    .customer-timeline,
    .order-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .customer-timeline,
    .order-timeline {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   v28: Upload bukti bayar dibuat jelas untuk pelanggan
   ========================================================= */
.customer-payment-confirm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}

.payment-confirm-card,
.payment-confirm-summary {
    border-radius: 24px;
}

.payment-confirm-card h2,
.payment-confirm-summary h2 {
    margin-top: 0;
}

.payment-confirm-card input[type="file"] {
    background: #fffaf5;
    border-style: dashed;
    cursor: pointer;
}

.payment-confirm-card .btn + .btn,
.payment-confirm-summary .summary-row + .summary-row {
    margin-top: 10px;
}

.customer-upload-proof-form {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 48, 70, .12);
}

.customer-upload-proof-form input[type="file"] {
    background: #fffaf5;
    border-style: dashed;
}

@media (max-width: 860px) {
    .customer-payment-confirm-layout {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   v30: Operasional order sederhana, tanpa input resi sebelum waktunya
   ========================================================= */
.order-next-action-form {
    min-width: 230px;
}

.order-next-action-form textarea {
    min-height: 58px;
    border-radius: 12px;
    padding: 9px 10px;
    font-size: 12px;
}

.admin-next-title {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff3ec;
    color: #ff3046;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.3;
}

.admin-next-title.muted {
    background: #fffaf3;
    color: #6d5e58;
    border: 1px solid rgba(255, 48, 70, .12);
    max-width: 240px;
}

.shipment-readonly-box {
    border: 1px solid rgba(255, 48, 70, .14);
    background: #fff8f1;
    border-radius: 16px;
    padding: 14px 16px;
    color: #302522;
    margin-bottom: 12px;
}

.shipment-readonly-box strong {
    display: block;
    margin-bottom: 4px;
}

/* =========================================================
   v31: Admin kategori lebih mudah dengan upload gambar
   ========================================================= */
.category-editor-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(340px, .75fr);
}

.category-list-card table td {
    vertical-align: middle;
}

.category-head-row {
    align-items: flex-start;
    margin-bottom: 18px;
}

.category-head-row p {
    margin: 6px 0 0;
}

.category-thumb-cell {
    width: 82px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 48, 70, .14);
    background: #fff7ef;
    display: grid;
    place-items: center;
}

.category-thumb-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-thumb-cell span {
    padding: 8px;
    color: #8c7b73;
    font-size: 11px;
    text-align: center;
}

.easy-category-form {
    gap: 16px;
}

.category-form-section {
    padding: 18px;
    gap: 14px;
}

.category-upload-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.category-upload-preview {
    width: 150px;
    aspect-ratio: 1 / 1;
}

.category-upload-card code {
    display: inline-block;
    max-width: 100%;
    margin-top: 8px;
    padding: 7px 10px;
    border-radius: 10px;
    background: #fff2ec;
    color: #5d4840;
    font-size: 11px;
    white-space: normal;
    word-break: break-all;
}

.category-save-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    position: sticky;
    bottom: 14px;
    z-index: 4;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 253, 249, .92);
    border: 1px solid rgba(255, 48, 70, .10);
    backdrop-filter: blur(12px);
}

@media (max-width: 980px) {
    .category-editor-layout {
        grid-template-columns: 1fr;
    }

    .category-upload-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .category-upload-preview {
        width: 120px;
    }
}

@media (max-width: 560px) {
    .category-upload-card {
        grid-template-columns: 1fr;
    }

    .category-upload-preview {
        width: 100%;
        max-width: 220px;
    }
}

/* =========================================================
   v32: Semua field gambar admin pakai upload, termasuk hero
   ========================================================= */
.hero-editor-layout {
    align-items: start;
}

.hero-thumb-cell {
    width: 130px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 48, 70, .14);
    background: #fff7ef;
    display: grid;
    place-items: center;
}

.hero-thumb-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-thumb-cell span {
    padding: 8px;
    color: #8c7b73;
    font-size: 11px;
    text-align: center;
}

.easy-hero-form {
    gap: 16px;
}

.hero-form-section {
    padding: 18px;
    gap: 14px;
}

.hero-upload-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.hero-upload-preview {
    width: 220px;
    aspect-ratio: 16 / 9;
}

.hero-upload-card code {
    display: inline-block;
    max-width: 100%;
    margin-top: 8px;
    padding: 7px 10px;
    border-radius: 10px;
    background: #fff2ec;
    color: #5d4840;
    font-size: 11px;
    white-space: normal;
    word-break: break-all;
}

.compact-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.compact-grid-form .check {
    align-self: end;
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .hero-editor-layout {
        grid-template-columns: 1fr;
    }

    .hero-upload-card {
        grid-template-columns: 160px minmax(0, 1fr);
    }

    .hero-upload-preview {
        width: 160px;
    }
}

@media (max-width: 640px) {
    .hero-upload-card,
    .compact-grid-form {
        grid-template-columns: 1fr;
    }

    .hero-upload-preview {
        width: 100%;
    }
}

/* =========================================================
   v33: Checkout manual transfer 3 bank + admin bank settings
   ========================================================= */
.checkout-marketplace-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 420px);
    gap: 24px;
    align-items: start;
}

.checkout-marketplace-form {
    display: grid;
    gap: 22px;
}

.checkout-info-alert {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(56, 189, 248, .45);
    background: linear-gradient(180deg, #eefcff, #e7f9ff);
    color: #0f3a46;
}

.checkout-info-alert strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.checkout-info-alert p {
    margin: 0;
}

.checkout-panel {
    background: #fff;
    border: 1px solid rgba(255, 72, 87, .12);
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(54, 29, 20, .06);
    padding: 24px;
}

.checkout-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.checkout-panel-head h2 {
    margin: 0;
    font-size: 26px;
}

.checkout-panel-head span {
    color: #7c6d67;
    font-size: 14px;
}

.checkout-address-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff8f4, #fff3ea);
    border: 1px solid rgba(255, 72, 87, .10);
    margin-bottom: 18px;
}

.checkout-address-top {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.checkout-address-card p {
    margin: 0;
    color: #4e3f3a;
}

.checkout-item-stack {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.checkout-item-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: #fff9f6;
    border: 1px solid rgba(255, 72, 87, .10);
}

.checkout-item-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 16px;
}

.checkout-item-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.checkout-item-copy strong,
.checkout-item-copy small,
.checkout-item-copy span {
    overflow-wrap: anywhere;
}

.checkout-item-copy small,
.checkout-item-copy span {
    color: #7a6a64;
}

.checkout-shipping-box {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(20, 16, 15, .08);
    background: #fff;
    margin-bottom: 18px;
}

.checkout-shipping-box h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.checkout-shipping-options {
    display: grid;
    gap: 12px;
}

.checkout-shipping-card {
    border-radius: 16px;
}

.checkout-sidebar-card {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 110px;
}

.checkout-payment-methods h2,
.checkout-summary-box h2 {
    margin-bottom: 6px;
}

.payment-method-card {
    display: grid;
    grid-template-columns: auto 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 6px;
    border-top: 1px solid rgba(20, 16, 15, .08);
    cursor: pointer;
}

.payment-method-card:first-of-type {
    border-top: 0;
}

.payment-method-card input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #ff4b4b;
}

.payment-method-logo {
    width: 52px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f7f1ea;
    color: #113f8a;
    font-size: 12px;
    font-weight: 950;
}

.payment-method-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.payment-method-copy strong {
    font-size: 15px;
}

.payment-method-copy small {
    color: #7b6f6a;
    overflow-wrap: anywhere;
}

.payment-method-card.active .payment-method-logo {
    background: linear-gradient(135deg, #ffe7d6, #fff7f0);
    color: #ff4a4a;
}

.checkout-transfer-note {
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff5ef, #fff7f1);
    border: 1px solid rgba(255, 72, 87, .12);
}

.checkout-transfer-note strong {
    display: block;
    margin-bottom: 8px;
}

.checkout-transfer-note p {
    margin: 0;
    color: #4d3f39;
    line-height: 1.7;
}

.compact-no-border {
    border-bottom: 0;
    padding: 10px 0;
}

.checkout-submit-desktop {
    display: inline-flex;
    justify-content: center;
}

.checkout-terms {
    margin: 0;
    color: #7a6d68;
    font-size: 13px;
    line-height: 1.7;
}

.checkout-mobile-submit {
    display: none;
}

.settings-section + .settings-section {
    margin-top: 26px;
}

.bank-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.bank-setting-card {
    padding: 18px;
    border: 1px solid rgba(255, 72, 87, .12);
    border-radius: 18px;
    background: #fff9f5;
}

.bank-setting-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.bank-setting-card label + label {
    margin-top: 10px;
}

@media (max-width: 1180px) {
    .checkout-marketplace-layout {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar-card {
        position: static;
    }
}

@media (max-width: 860px) {
    .bank-settings-grid {
        grid-template-columns: 1fr;
    }

    .checkout-item-card {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .checkout-item-card > b {
        grid-column: 2 / 3;
    }
}

@media (max-width: 640px) {
    .checkout-panel,
    .summary-card.checkout-sidebar-card {
        padding: 18px;
        border-radius: 18px;
    }

    .checkout-panel-head {
        display: grid;
        gap: 4px;
    }

    .checkout-mobile-submit {
        display: block;
    }

    .checkout-submit-desktop {
        display: none;
    }
}

/* =========================================================
   v34: Checkout clean layout + dropdown ongkir
   ========================================================= */
.checkout-page-shell {
    background: #f1f4f8;
    margin: 0 calc(50% - 50vw);
    padding: 26px max(24px, calc((100vw - 1220px) / 2)) 56px;
}

.checkout-titlebar {
    max-width: 1220px;
    margin: 0 auto 18px;
}

.checkout-titlebar h1 {
    margin: 0 0 6px;
    color: #15110f;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.checkout-titlebar p {
    margin: 0;
    color: #667085;
    font-size: 16px;
}

.checkout-clean-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 384px;
    gap: 24px;
    align-items: start;
}

.checkout-main-stack,
.checkout-right-stack {
    display: grid;
    gap: 16px;
}

.checkout-right-stack {
    position: sticky;
    top: 96px;
}

.checkout-clean-alert {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 15px 18px;
    border-radius: 10px;
    border: 1px solid #7bd6ef;
    background: #ecfcff;
    color: #162f38;
}

.checkout-clean-alert span {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0ea5e9;
    border: 1px solid #0ea5e9;
    font-weight: 900;
    font-size: 13px;
    margin-top: 2px;
}

.checkout-clean-alert strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 2px;
}

.checkout-clean-alert p {
    margin: 0;
    line-height: 1.55;
    font-size: 13px;
}

.checkout-clean-card,
.checkout-side-card {
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.checkout-clean-card {
    padding: 24px;
}

.checkout-side-card {
    padding: 20px 24px;
}

.checkout-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.checkout-card-title h2,
.checkout-side-card h2 {
    margin: 0;
    color: #1f1715;
    font-size: 20px;
    line-height: 1.2;
}

.checkout-card-title small,
.checkout-side-card p,
.checkout-side-card small {
    color: #667085;
}

.checkout-address-preview {
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.checkout-address-preview strong {
    display: inline-flex;
    color: #14213d;
    margin-right: 10px;
}

.checkout-address-preview span {
    color: #667085;
}

.checkout-address-preview p {
    margin: 8px 0 0;
    color: #121826;
    line-height: 1.7;
}

.checkout-form-grid {
    gap: 12px 16px;
}

.checkout-page-shell label {
    color: #344054;
    font-size: 13px;
    font-weight: 850;
}

.checkout-page-shell input,
.checkout-page-shell textarea,
.checkout-page-shell select {
    border-radius: 10px;
    border-color: #d7dee8;
    background: #fff;
    padding: 12px 14px;
}

.checkout-page-shell input:focus,
.checkout-page-shell textarea:focus,
.checkout-page-shell select:focus {
    border-color: #ff4b4b;
    box-shadow: 0 0 0 4px rgba(255, 75, 75, .10);
}

.checkout-products-list {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-clean-product {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f4;
}

.checkout-clean-product:last-child {
    border-bottom: 0;
}

.checkout-clean-product img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
    background: #f6f7f9;
}

.checkout-clean-product div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.checkout-clean-product strong {
    color: #121826;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.checkout-clean-product small,
.checkout-clean-product span {
    color: #667085;
}

.shipping-dropdown-panel {
    margin: 12px 0 16px 90px;
    padding: 16px;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    background: #fff;
}

.shipping-dropdown-panel > label {
    margin-bottom: 9px;
    color: #111827;
    font-size: 14px;
}

.shipping-dropdown-wrap {
    position: relative;
}

.shipping-select {
    appearance: none;
    min-height: 52px;
    padding-right: 44px !important;
    border-radius: 10px !important;
    font-weight: 850;
    color: #1d2939;
    cursor: pointer;
}

.shipping-dropdown-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-55%);
    color: #667085;
    font-size: 22px;
    pointer-events: none;
}

.shipping-dropdown-panel small {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 12px;
}

.payment-side-card {
    padding-top: 8px;
    padding-bottom: 8px;
}

.payment-side-card h2 {
    padding: 12px 0 0;
}

.payment-side-card > p {
    margin: 4px 0 8px;
    font-size: 13px;
}

.clean-bank-option {
    display: grid;
    grid-template-columns: 20px 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f4;
    cursor: pointer;
}

.clean-bank-option:last-child {
    border-bottom: 0;
}

.clean-bank-option input {
    width: 18px;
    height: 18px;
    accent-color: #ff4b4b;
}

.clean-bank-option > span {
    width: 52px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f5f7fa;
    color: #184e9e;
    font-size: 11px;
    font-weight: 950;
}

.clean-bank-option.active > span {
    background: #fff0ed;
    color: #ff3046;
}

.clean-bank-option strong {
    display: block;
    color: #111827;
    font-size: 15px;
}

.clean-bank-option small {
    display: block;
    margin-top: 2px;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.checkout-promo-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255, 48, 70, .18);
    background: #fffaf4;
}

.checkout-promo-card > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff0ed;
}

.checkout-promo-card strong {
    display: block;
    color: #111827;
}

.checkout-total-card {
    padding-top: 22px;
}

.checkout-total-card h2 {
    margin-bottom: 16px;
}

.checkout-total-card .summary-row {
    padding: 8px 0;
    border-bottom: 0;
}

.checkout-total-card .summary-row span {
    color: #667085;
}

.checkout-total-card .summary-row.total {
    margin: 12px -24px 16px;
    padding: 18px 24px;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}

.checkout-total-card .summary-row.total strong {
    font-size: 24px;
    color: #111827;
}

.checkout-total-card p {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
}

@media (max-width: 1100px) {
    .checkout-clean-grid {
        grid-template-columns: 1fr;
    }
    .checkout-right-stack {
        position: static;
    }
}

@media (max-width: 760px) {
    .checkout-page-shell {
        padding-left: 14px;
        padding-right: 14px;
    }
    .checkout-clean-card,
    .checkout-side-card {
        padding: 18px;
        border-radius: 12px;
    }
    .checkout-clean-product {
        grid-template-columns: 64px minmax(0, 1fr);
    }
    .checkout-clean-product > b {
        grid-column: 2 / 3;
    }
    .shipping-dropdown-panel {
        margin-left: 0;
    }
    .checkout-card-title {
        display: grid;
    }
}

/* =========================================================
   v35: Checkout ringkas + alamat tersimpan max 3
   ========================================================= */
.customer-left-stack {
    display: grid;
    gap: 22px;
}

.compact-card-form {
    padding: 22px;
}

.saved-address-list {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.saved-address-item {
    border: 1px solid rgba(255, 72, 87, .12);
    border-radius: 18px;
    padding: 14px 16px;
    background: #fffaf7;
}

.saved-address-item.is-default {
    border-color: rgba(255, 72, 87, .28);
    box-shadow: 0 12px 28px rgba(255, 72, 87, .08);
}

.saved-address-head,
.saved-address-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.saved-address-item p {
    margin: 8px 0 0;
    color: #5f504a;
    line-height: 1.6;
}

.saved-address-actions {
    margin-top: 14px;
    justify-content: flex-start;
}

.address-editor-form {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 72, 87, .18);
}

.form-head-row.mini h3 {
    margin: 0;
    font-size: 22px;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.checkout-compact-hero {
    margin-bottom: 0;
}

.checkout-slim-layout {
    padding-top: 10px;
}

.checkout-slim-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 380px);
    gap: 22px;
    align-items: start;
}

.checkout-left-column,
.checkout-right-column {
    display: grid;
    gap: 16px;
}

.checkout-inline-alert {
    padding: 14px 16px;
    border: 1px solid rgba(68, 199, 255, .45);
    background: #eefafd;
    border-radius: 16px;
    color: #29505a;
}

.checkout-inline-alert strong {
    display: block;
    margin-bottom: 4px;
}

.checkout-inline-alert p {
    margin: 0;
    font-size: 14px;
}

.checkout-compact-card,
.checkout-side-slim-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(255, 72, 87, .10);
    box-shadow: 0 16px 32px rgba(48, 27, 18, .05);
    padding: 18px;
}

.checkout-compact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-compact-head h2,
.checkout-side-slim-card h2 {
    margin: 0;
    font-size: 22px;
}

.checkout-compact-head small,
.checkout-side-slim-card p,
.checkout-total-card p,
.checkout-shipping-simple small {
    color: #7b6c66;
}

.checkout-address-summary {
    background: linear-gradient(180deg, #fff8f4, #fff3eb);
    border: 1px solid rgba(255, 72, 87, .10);
    border-radius: 16px;
    padding: 14px 16px;
}

.checkout-address-summary strong,
.checkout-address-summary span {
    display: block;
}

.checkout-address-summary span {
    margin-top: 3px;
    color: #ff4a4a;
    font-weight: 800;
    font-size: 13px;
}

.checkout-address-summary p {
    margin: 8px 0 0;
    color: #5b4c46;
    line-height: 1.6;
}

.checkout-address-picker {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.checkout-address-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid rgba(20, 16, 15, .10);
    border-radius: 16px;
    cursor: pointer;
}

.checkout-address-option.active {
    border-color: rgba(255, 72, 87, .30);
    background: #fff8f5;
}

.checkout-address-option input {
    margin-top: 3px;
    accent-color: #ff4a4a;
}

.checkout-address-option p,
.checkout-address-option small {
    margin: 4px 0 0;
    color: #61524c;
    line-height: 1.55;
}

.checkout-compact-products {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.checkout-compact-product {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(20, 16, 15, .08);
}

.checkout-compact-product:last-child {
    border-bottom: 0;
}

.checkout-compact-product img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
    background: #f6efe9;
}

.checkout-compact-product div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.checkout-compact-product strong,
.checkout-compact-product small,
.checkout-compact-product span {
    overflow-wrap: anywhere;
}

.checkout-compact-product small,
.checkout-compact-product span {
    color: #7c6f68;
    font-size: 13px;
}

.checkout-shipping-simple {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.shipping-dropdown-wrap.slim {
    position: relative;
}

.shipping-dropdown-wrap.slim .shipping-select {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    padding: 0 42px 0 14px;
    border: 1px solid rgba(20, 16, 15, .12);
    background: #fff;
}

.shipping-dropdown-wrap.slim .shipping-dropdown-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.clean-bank-option.compact {
    padding: 10px 0;
    grid-template-columns: auto 48px minmax(0, 1fr);
}

.clean-bank-option.compact span {
    width: 48px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f7f1ea;
    color: #113f8a;
    font-size: 12px;
    font-weight: 900;
}

.clean-bank-option.compact.active span {
    background: #fff0ea;
    color: #ff4a4a;
}

.transfer-info-card p,
.checkout-total-card.slim p {
    margin: 6px 0 0;
    line-height: 1.7;
    font-size: 14px;
}

.default-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ffe8dc;
    color: #ff4a4a;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1080px) {
    .checkout-slim-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .checkout-compact-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-compact-product {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .checkout-compact-product > b {
        grid-column: 2 / 3;
    }

    .compact-card-form,
    .checkout-compact-card,
    .checkout-side-slim-card {
        padding: 16px;
        border-radius: 18px;
    }
}

/* =========================================================
   v41: Reseller page, customer export, harga coret/harga real
   ========================================================= */
.reseller-hero-grid,
.reseller-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr);
    gap: 24px;
    align-items: stretch;
}

.reseller-main-card,
.reseller-side-card,
.reseller-form-card,
.reseller-contact-card {
    background: #fffdf9;
    border: 1px solid rgba(255, 48, 70, .13);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(116, 36, 20, .08);
}

.reseller-main-card h2,
.reseller-form-card h2 {
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.08;
    margin-bottom: 14px;
}

.reseller-main-card p {
    color: #6d5e58;
    line-height: 1.85;
    max-width: 760px;
}

.reseller-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.reseller-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.reseller-contact-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reseller-contact-card p {
    margin: 0;
    color: #6d5e58;
    line-height: 1.7;
}

.admin-management-card[href*="customers"] span {
    background: linear-gradient(135deg, #ff3046, #ffb72c);
    color: #fff;
}

@media (max-width: 980px) {
    .reseller-hero-grid,
    .reseller-form-layout {
        grid-template-columns: 1fr;
    }

    .reseller-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .reseller-steps-grid {
        grid-template-columns: 1fr;
    }

    .reseller-cta-row .btn {
        width: 100%;
        justify-content: center;
    }
}

/* v64: admin product search + size price variants */
.product-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-product-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.admin-product-search input[type="search"] {
    min-width: min(380px, 78vw);
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 72, 87, .16);
    padding: 0 18px;
    background: #fff;
}

.size-price-table {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.size-price-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr .7fr 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: #fff9f5;
    border: 1px solid rgba(255, 72, 87, .10);
}

.size-price-head {
    background: transparent;
    border: 0;
    padding: 0 12px;
    color: #7a6b64;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.size-price-row input {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(48, 37, 34, .10);
    background: #fff;
    padding: 0 12px;
}

.size-price-row strong {
    color: #ff3046;
    font-size: 15px;
}

.option-pills label small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 800;
    opacity: .75;
}

@media (max-width: 760px) {
    .product-admin-toolbar,
    .admin-product-search {
        align-items: stretch;
        width: 100%;
    }

    .admin-product-search input[type="search"],
    .admin-product-search .btn {
        width: 100%;
    }

    .size-price-head {
        display: none;
    }

    .size-price-row {
        grid-template-columns: 1fr;
    }
}
