/* ═══════════════════════════════════════════
   RazorCart — Zonghe2 (综合站2)
   American Comprehensive E-commerce
   Red · Navy · Gold · Conversion-First
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Roboto+Condensed:wght@700&display=swap');

/* ── Design Tokens ── */

:root {
    color-scheme: light;
    --bg: #f1f3f6;
    --surface: #ffffff;
    --surface-raised: #f8f9fa;
    --ink: #1a1a2e;
    --ink-light: #4a4a5a;
    --muted: #767676;
    --border: #dee2e6;
    --border-light: #e9ecef;

    --primary: #cc0000;
    --primary-hover: #a30000;
    --primary-soft: rgba(204,0,0,0.06);
    --primary-light: #ff4d4d;

    --accent: #003366;
    --accent-hover: #002244;
    --accent-soft: rgba(0,51,102,0.06);

    --gold: #ffc107;
    --gold-hover: #e6a800;
    --gold-soft: rgba(255,193,7,0.12);

    --success: #2e7d32;
    --success-soft: rgba(46,125,50,0.08);
    --warning: #e65100;
    --warning-soft: rgba(230,81,0,0.08);
    --danger: #cc0000;
    --danger-soft: rgba(204,0,0,0.08);

    --announcement-bg: #003366;
    --announcement-text: #ffffff;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-condensed: 'Roboto Condensed', 'Impact', sans-serif;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.1);

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: 0.25s var(--ease);

    --header-height: 120px;
}

/* ── Reset ── */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ── Utilities ── */

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════
   Announcement Bar
   ═══════════════════════════════════════════ */

.announcement-bar {
    background: var(--announcement-bg);
    color: var(--announcement-text);
    text-align: center;
    padding: 10px 5vw;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.02em;
}
.announcement-bar a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.announcement-bar__close {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.7;
    line-height: 1;
    margin-left: auto;
}
.announcement-bar__close:hover { opacity: 1; }
.announcement-bar.is-hidden { display: none; }

/* ═══════════════════════════════════════════
   Header — American Mega-Store Style
   ═══════════════════════════════════════════ */

.zong-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.zong-header__top {
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
}
.zong-header__top-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.zong-header__top a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.zong-header__top a:hover { color: #fff; }
.zong-header__top-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.zong-header__main {
    padding: 12px 0;
}
.zong-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    gap: 20px;
}

.zong-header .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.zong-header .brand img { max-height: 40px; width: auto; }
.zong-header .brand__text {
    font-family: var(--font-condensed);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.zong-search {
    flex: 1;
    max-width: 600px;
    display: flex;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.zong-search input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    background: var(--surface);
}
.zong-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font);
    transition: background var(--transition);
}
.zong-search button:hover { background: var(--primary-hover); }

.zong-header__icons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

.locale-switcher {
    display: flex;
    gap: 4px;
}
.locale-switcher select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    font-size: 12px;
    font-family: var(--font);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    outline: none;
    max-width: 80px;
}
.locale-switcher select:focus { border-color: var(--primary); }

.header-icon-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--ink);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 20px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.header-icon-btn:hover { background: var(--accent-soft); }
.header-icon-btn__label {
    font-size: 11px;
    font-weight: 600;
    display: none;
}
@media (min-width: 900px) {
    .header-icon-btn__label { display: block; }
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    color: var(--ink);
    position: relative;
    font-size: 20px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.cart-link:hover { background: var(--accent-soft); }
.cart-link [data-cart-count] {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 4px;
}

/* Navigation */
.zong-nav {
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    padding: 0;
}
.zong-nav__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.zong-nav__inner::-webkit-scrollbar { display: none; }
.zong-nav__inner a,
.zong-nav__inner .nav-item > a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    transition: color var(--transition);
    border-bottom: 2px solid transparent;
}
.zong-nav__inner a:hover,
.zong-nav__inner .nav-item > a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.zong-nav__inner .nav-item {
    position: relative;
}
.zong-nav__inner .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px 0;
    z-index: 50;
}
.zong-nav__inner .nav-item:hover .nav-dropdown { display: block; }
.zong-nav__inner .nav-dropdown a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-light);
    border-bottom: none;
}
.zong-nav__inner .nav-dropdown a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger__line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--transition);
}

@media (max-width: 768px) {
    :root { --header-height: 110px; }
    .hamburger { display: flex; }
    .zong-nav { display: none; }
    .zong-search input { padding: 8px 10px; font-size: 13px; }
    .zong-search button { padding: 8px 12px; }
    .zong-header .brand__text { font-size: 20px; }
    .locale-switcher select { max-width: 60px; font-size: 11px; padding: 4px 6px; }
    .zong-header__main { gap: 10px; padding: 10px 4vw; }
    .zong-header__top-links { gap: 12px; font-size: 11px; }
}

/* ═══════════════════════════════════════════
   Drawer (Mobile)
   ═══════════════════════════════════════════ */

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
}
.drawer-overlay.is-visible { display: block; }

.drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--surface);
    z-index: 300;
    overflow-y: auto;
    transition: left 0.3s var(--ease);
    box-shadow: var(--shadow-xl);
}
.drawer.is-open { left: 0; }

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}
.drawer__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
}
.drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
}
.drawer__nav { padding: 8px 0; }
.drawer__nav a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    transition: background var(--transition);
}
.drawer__nav a:hover { background: var(--accent-soft); }
.drawer__subitem {
    padding-left: 32px !important;
    font-size: 13px !important;
    color: var(--ink-light) !important;
}
.drawer__locale {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}
.drawer__locale-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin: 8px 0 4px;
}
.drawer__locale-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.drawer__locale-item {
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    transition: all var(--transition);
}
.drawer__locale-item.is-current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ═══════════════════════════════════════════
   Account & Cart Dropdowns
   ═══════════════════════════════════════════ */

.account-menu { position: relative; }
.account-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 6px 0;
    z-index: 50;
}
.account-menu.is-open .account-dropdown { display: block; }
.account-dropdown__user {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--muted);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-dropdown__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    transition: background var(--transition);
}
.account-dropdown__item:hover { background: var(--accent-soft); }
.account-dropdown__item--danger { color: var(--danger) !important; }
.account-dropdown__divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 12px;
}

.cart-menu { position: relative; }
.cart-preview {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 90vw;
    padding: 16px;
    z-index: 50;
}
.cart-menu.is-open .cart-preview { display: block; }

/* ═══════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════ */

.zong-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    margin-bottom: 0;
    overflow: hidden;
}
.zong-hero__content {
    padding: 60px 5vw 60px 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #004080 100%);
    color: #fff;
}
.zong-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
    width: fit-content;
}
.zong-hero__title {
    font-family: var(--font-condensed);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.1;
    text-transform: uppercase;
}
.zong-hero__desc {
    font-size: 15px;
    opacity: 0.9;
    margin: 0 0 28px;
    max-width: 480px;
    line-height: 1.6;
}
.zong-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.zong-hero__image {
    min-height: 320px;
    background: var(--surface-raised);
}
.zong-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .zong-hero { grid-template-columns: 1fr; }
    .zong-hero__content { padding: 40px 5vw; }
    .zong-hero__image { min-height: 200px; order: -1; }
}

/* ═══════════════════════════════════════════
   Deal Strip / Flash Sale Bar
   ═══════════════════════════════════════════ */

.zong-deals {
    background: var(--primary);
    color: #fff;
    padding: 14px 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
}
.zong-deals__item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.zong-deals__item svg { flex-shrink: 0; }
.zong-deals__highlight {
    background: var(--gold);
    color: var(--ink);
    padding: 2px 10px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   Category Grid
   ═══════════════════════════════════════════ */

.zong-categories {
    padding: 2rem 5vw;
    max-width: 1440px;
    margin: 0 auto;
}
.zong-categories__head {
    text-align: center;
    margin-bottom: 24px;
}
.zong-categories__head h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.zong-categories__head p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}
.zong-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.zong-cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    text-align: center;
}
.zong-cat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.zong-cat-card__image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface-raised);
}
.zong-cat-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zong-cat-card__body {
    padding: 12px;
}
.zong-cat-card__body h3 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
    font-family: var(--font);
}
.zong-cat-card__body span {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 480px) {
    .zong-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ═══════════════════════════════════════════
   Product Sections & Grid
   ═══════════════════════════════════════════ */

.section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 5vw;
}

.section--featured {
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.section__head--centered {
    justify-content: center;
    text-align: center;
}
.section__title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.section__subtitle {
    font-size: 14px;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}
.section__count {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}
.section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}
.section__link:hover { text-decoration: underline; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── Deal Section / Flash Sale ── */
.zong-deal-section {
    background: linear-gradient(135deg, var(--primary) 0%, #8b0000 100%);
    color: #fff;
    padding: 2rem 5vw;
    max-width: 1440px;
    margin: 0 auto;
    border-radius: 0;
}
.zong-deal-section .section__head { margin-bottom: 16px; }
.zong-deal-section .section__title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.zong-deal-section .section__link { color: var(--gold); }

/* ═══════════════════════════════════════════
   Product Card
   ═══════════════════════════════════════════ */

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.product-card__link { display: block; }
.product-card__figure {
    margin: 0;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface-raised);
}
.product-card__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.product-card:hover .product-card__figure img {
    transform: scale(1.05);
}
.product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 2;
}
.product-card__body {
    padding: 12px;
}
.product-card__meta {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 4px;
}
.product-card__title {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.4;
    font-family: var(--font);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__desc {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.product-card__price--old {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: line-through;
}
.product-card__price--current {
    color: var(--primary);
}

/* ═══════════════════════════════════════════
   Value Props Strip
   ═══════════════════════════════════════════ */

.zong-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    max-width: 1440px;
    margin: 0 auto;
}
.zong-values__item {
    background: var(--surface);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.zong-values__item svg { color: var(--primary); }
.zong-values__item h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    font-family: var(--font);
}
.zong-values__item p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

/* ═══════════════════════════════════════════
   Breadcrumbs
   ═══════════════════════════════════════════ */

.breadcrumbs {
    padding: 12px 5vw;
    font-size: 13px;
    color: var(--muted);
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs__sep { color: var(--border); margin: 0 2px; }

/* ═══════════════════════════════════════════
   Category Page
   ═══════════════════════════════════════════ */

.category-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
}
.category-sidebar__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
}
.category-nav { }
.category-nav__all {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-light);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.category-nav__all:hover { background: var(--accent-soft); }
.category-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-nav__item { }
.category-nav__item a {
    display: block;
    padding: 8px 12px 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border-left: 2px solid transparent;
}
.category-nav__item a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}
.category-nav__item.is-current > a {
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
    background: var(--primary-soft);
}
.category-nav__item .category-nav__list a {
    padding-left: 32px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .category-layout { grid-template-columns: 1fr; }
    .category-sidebar { display: none; }
}

/* ═══════════════════════════════════════════
   Product Page
   ═══════════════════════════════════════════ */

.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw 2rem;
}

.product__gallery { }
.gallery__main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 10px;
}
.gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}
.gallery__thumb {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    width: 72px;
    height: 72px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    flex-shrink: 0;
    transition: border-color var(--transition);
}
.gallery__thumb:hover,
.gallery__thumb.is-active { border-color: var(--primary); }
.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product__info { }
.product__category {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
}
.product__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}
.product__price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.product__badge {
    position: static;
    font-size: 12px;
    padding: 4px 10px;
}
.product__price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}
.product__price--old {
    font-size: 16px;
    color: var(--muted);
    text-decoration: line-through;
    font-weight: 500;
}

.product__options {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}
.product__option { }
.product__option-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.product__option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.product__option-btn {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-family: var(--font);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
}
.product__option-btn:hover { border-color: var(--accent); }
.product__option-btn.is-selected {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}
.product__option-btn--swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    border: 2px solid var(--border);
    overflow: hidden;
    font-size: 0;
    background: var(--swatch-color);
}
.product__option-btn--swatch.is-selected { border-color: var(--primary); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary); }
.product__option-btn--image { padding: 4px; }
.product__option-btn--image img { width: 40px; height: 40px; object-fit: cover; border-radius: 2px; }
.product__option-btn--image span { display: none; }

.product__action {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.product__qty {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}
.product__qty input {
    width: 56px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
}
.product__sku {
    font-size: 12px;
    color: var(--muted);
}

/* Product Tabs */
.product-tabs {
    max-width: 1440px;
    margin: 2rem auto;
    padding: 0 5vw;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.product-tabs__nav {
    display: flex;
    border-bottom: 1px solid var(--border);
}
.product-tabs__tab {
    padding: 14px 24px;
    border: none;
    background: none;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}
.product-tabs__tab.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.product-tabs__tab:hover { color: var(--ink); }
.product-tabs__content { padding: 24px; }
.product-tabs__panel { display: none; }
.product-tabs__panel.is-active { display: block; }
.product-tabs__empty { text-align: center; color: var(--muted); font-size: 14px; }
.product__desc { font-size: 14px; line-height: 1.8; color: var(--ink-light); }
.product__desc p { margin: 0 0 12px; }

@media (max-width: 768px) {
    .product { grid-template-columns: 1fr; gap: 24px; }
    .product__title { font-size: 20px; }
    .product__price { font-size: 24px; }
}

/* ═══════════════════════════════════════════
   Cart Page
   ═══════════════════════════════════════════ */

.cart-page .cart__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.cart__trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cart__trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-light);
}
.cart__trust-badge svg { color: var(--success); }

/* ═══════════════════════════════════════════
   Checkout Page
   ═══════════════════════════════════════════ */

.checkout-page {
    max-width: 960px;
}
.checkout__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.checkout__form { }
.checkout__section {
    margin-bottom: 20px;
}
.checkout__section-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
}
.checkout__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.checkout__field {
    display: grid;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
}
.checkout__field span { color: var(--ink-light); }
.checkout__field input,
.checkout__field select {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    background: var(--surface);
    outline: none;
    width: 100%;
}
.checkout__field input:focus,
.checkout__field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}
.checkout__field--wide {
    grid-column: 1 / -1;
}

.checkout__summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}
.checkout__summary-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
}

.checkout__coupon { margin-bottom: 16px; }
.checkout__coupon-row {
    display: flex;
    gap: 8px;
}
.checkout__coupon-row input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font);
    outline: none;
}
.checkout__coupon-row input:focus { border-color: var(--primary); }
.checkout__coupon-msg { font-size: 12px; margin-top: 4px; min-height: 0; }

.checkout__edit-cart {
    margin-bottom: 16px;
    font-size: 13px;
}
.checkout__edit-cart a { color: var(--muted); text-decoration: underline; }
.checkout__edit-cart a:hover { color: var(--primary); }

.checkout__terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-light);
    margin: 12px 0;
}
.checkout__terms a { text-decoration: underline; color: var(--primary); }
.checkout__terms input { margin-top: 3px; }

.checkout__trust {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 16px 0;
    flex-wrap: wrap;
}
.checkout__trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}

/* Payment */
.payment-card { margin-bottom: 16px; }
.payment-methods {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}
.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}
.payment-method:hover { border-color: var(--accent); }
.payment-method.is-selected {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.payment-method input { flex-shrink: 0; }
.payment-method small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}
.payment-card__fields {
    padding: 12px;
    background: var(--surface-raised);
    border-radius: var(--radius-sm);
    display: grid;
    gap: 12px;
}

/* Shipping methods */
.shipping-methods {
    display: grid;
    gap: 8px;
}
.shipping-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}
.shipping-method:hover { border-color: var(--accent); }
.shipping-method.is-selected {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.shipping-method input { flex-shrink: 0; }
.shipping-method__info { flex: 1; font-size: 14px; }
.shipping-method__cost {
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Payment Overlay */
.payment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
}
.payment-overlay.is-hidden { display: none; }
.payment-overlay__box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 420px;
    width: 90vw;
    box-shadow: var(--shadow-xl);
}
.payment-overlay__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.payment-overlay__text { font-size: 14px; color: var(--muted); margin: 0; }
.payment-overlay__box--result { padding: 32px; }

@media (max-width: 768px) {
    .checkout__grid { grid-template-columns: 1fr; }
    .checkout__summary { position: static; }
    .checkout__fields { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn--outline:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.btn--gold {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.btn--gold:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
}

.btn--lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn--sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn--block {
    width: 100%;
}

.btn--add-to-cart {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
    font-weight: 700;
    padding: 14px 32px;
    font-size: 15px;
}
.btn--add-to-cart:hover {
    background: var(--gold-hover);
}

/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */

.zong-footer {
    background: var(--accent);
    color: #fff;
    margin-top: 2rem;
}
.zong-footer__main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 5vw;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}

.zong-footer__brand { }
.zong-footer__brand h3 {
    font-family: var(--font-condensed);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    text-transform: uppercase;
    color: var(--gold);
}
.zong-footer__brand h3 img { max-height: 36px; }
.zong-footer__brand p {
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.7;
    margin: 0 0 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-social a:hover { color: #fff; }

.zong-footer__col { }
.zong-footer__col h4 {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.zong-footer__col a {
    display: block;
    font-size: 13px;
    opacity: 0.75;
    padding: 4px 0;
    transition: opacity var(--transition);
}
.zong-footer__col a:hover { opacity: 1; }

.zong-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 5vw;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    opacity: 0.6;
}
.zong-footer__bottom nav {
    display: flex;
    gap: 16px;
}
.zong-footer__bottom a { opacity: 0.8; }
.zong-footer__bottom a:hover { opacity: 1; }

.footer-payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}
.footer-payment-icons svg { opacity: 0.5; }

@media (max-width: 768px) {
    .zong-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .zong-footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .zong-footer__main { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   Login / Register
   ═══════════════════════════════════════════ */

.auth-page {
    max-width: 440px;
    margin: 0 auto;
    padding: 3rem 5vw;
}
.auth-page__header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-page__header h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}
.auth-page__header p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}
.auth-page__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.auth-page__footer {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin-top: 1.5rem;
}
.auth-page__footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════
   Account Page
   ═══════════════════════════════════════════ */

.account-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 5vw;
}
.account-page__header {
    margin-bottom: 28px;
}
.account-page__header h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 2px;
}
.account-page__header p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}
.account-page__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    align-items: start;
}

.account-nav {
    display: grid;
    gap: 4px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}
.account-nav__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition);
}
.account-nav__btn:hover { background: var(--accent-soft); color: var(--ink); }
.account-nav__btn.is-active {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600;
}

.account-section.is-hidden { display: none !important; }

@media (max-width: 720px) {
    .account-page__grid { grid-template-columns: 1fr; }
    .account-nav {
        position: static !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .account-nav__btn { justify-content: center; font-size: 13px; padding: 8px 10px; }
}

/* ═══════════════════════════════════════════
   Empty State
   ═══════════════════════════════════════════ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}
.empty-state h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}
.empty-state p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 16px;
}

/* ═══════════════════════════════════════════
   Legal / Terms Page
   ═══════════════════════════════════════════ */

.legal-page {
    max-width: 800px;
}
.legal-page h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px;
}
.terms-article { }
.terms-article h2 { font-size: 18px; font-weight: 700; margin: 24px 0 12px; }
.terms-article p { font-size: 14px; line-height: 1.8; color: var(--ink-light); }
.terms-article a { color: var(--primary); text-decoration: underline; }

/* ═══════════════════════════════════════════
   Pagination
   ═══════════════════════════════════════════ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 32px 0;
    padding: 0;
    list-style: none;
}
.pagination li { display: inline; }
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-light);
    background: var(--surface);
    transition: all var(--transition);
}
.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination .active span {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════
   Success/Error Messages
   ═══════════════════════════════════════════ */

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1rem;
}
.alert--success {
    background: var(--success-soft);
    color: var(--success);
}
.alert--danger {
    background: var(--danger-soft);
    color: var(--danger);
}
.alert--info {
    background: var(--accent-soft);
    color: var(--accent);
}

/* ═══════════════════════════════════════════
   Home Banner (shortcode)
   ═══════════════════════════════════════════ */

.home-banner { }
.home-banner img { width: 100%; }

/* ═══════════════════════════════════════════
   About Section
   ═══════════════════════════════════════════ */

.zong-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1440px;
    margin: 0 auto;
    background: var(--surface);
}
.zong-about__image {
    min-height: 300px;
    overflow: hidden;
}
.zong-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zong-about__content {
    padding: 48px 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.zong-about__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 8px;
}
.zong-about__content h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 12px;
}
.zong-about__content p {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.7;
    margin: 0 0 20px;
}

@media (max-width: 768px) {
    .zong-about { grid-template-columns: 1fr; }
    .zong-about__image { min-height: 200px; }
}

/* ═══════════════════════════════════════════
   Gallery Strip (Instagram-style)
   ═══════════════════════════════════════════ */

.zong-gallery {
    max-width: 1440px;
    margin: 2rem auto;
    padding: 0 5vw;
    text-align: center;
}
.zong-gallery h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    text-transform: uppercase;
}
.zong-gallery p {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 20px;
}
.zong-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.zong-gallery__item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.zong-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.zong-gallery__item:hover img { transform: scale(1.05); }

@media (max-width: 600px) {
    .zong-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════
   Responsive: Extra Small
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {
    body { font-size: 13px; }
    .section { padding: 1.5rem 4vw; }
    .product-grid { gap: 8px; }
    .product-card__body { padding: 8px; }
    .product-card__title { font-size: 12px; }
    .product-card__price { font-size: 13px; }
}
