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

:root {
  --bg: #0a0a0a;
  --bg-white: #111111;
  --bg-card: #161616;
  --bg-warm: #1a1a1a;
  --bg-overlay: rgba(10, 10, 10, 0.92);
  --text: #f0f0f0;
  --text-secondary: #999;
  --text-tertiary: #666;
  --text-light: #444;
  --border: rgba(255,255,255,0.08);
  --border-medium: rgba(255,255,255,0.15);
  --accent: #10b981;
  --accent-light: #34d399;
  --accent-bg: rgba(16,185,129,0.08);
  --sale: #ef4444;
  --sale-bg: rgba(239,68,68,0.08);
  --success: #10b981;
  --badge-bg: #f0f0f0;
  --badge-text: #0a0a0a;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font-heading: 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --container: 1200px;
  --header-h: 64px;
  --transition: 200ms ease;
  --transition-fast: 100ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
main { margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
/* Overflow safety */
.product-layout > * { min-width: 0; max-width: 100%; }
.product-gallery, .product-info { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.gallery-main, .gallery-main img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* Announcement */
.announcement-bar { background: var(--accent); color: #000; text-align: center; padding: 8px 24px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.announcement-bar a { text-decoration: underline; margin-left: 4px; color: #000; }
.announcement-bar .container { max-width: 100%; padding: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg-overlay); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: var(--header-h); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--text); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); }
.nav-link:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text); transition: background var(--transition); }
.icon-btn:hover { background: var(--border); }

.search-overlay { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); border-bottom: 1px solid var(--border); padding: 16px 0; }
.search-overlay.open { display: block; }
.search-form { display: flex; align-items: center; gap: 12px; }
.search-form svg, .search-form i { color: var(--text-tertiary); }
.search-input { flex: 1; border: none; outline: none; font-size: 15px; background: transparent; color: var(--text); }
.search-close { color: var(--text-tertiary); }
.search-close:hover { color: var(--text); }

.mobile-menu-toggle { display: none; }
.mobile-menu { display: none; }

/* Mobile Nav */
.mob-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; transition: opacity 300ms; }
.mob-overlay.open { opacity: 1; }
.mob-panel { position: fixed; top: 0; right: 0; bottom: 0; width: 320px; max-width: 85vw; background: var(--bg-white); z-index: 201; transform: translateX(100%); transition: transform 300ms ease; display: flex; flex-direction: column; }
.mob-panel.open { transform: translateX(0); }
.mob-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.mob-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text); }
.mob-close:hover { background: var(--border); }
.mob-links { flex: 1; overflow-y: auto; padding: 8px 0; }
.mob-links a { display: block; padding: 14px 20px; font-size: 15px; font-weight: 500; color: var(--text); transition: background var(--transition); }
.mob-links a:hover { background: var(--bg); }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero-section { position: relative; overflow: hidden; margin: 0; padding: 0; }
.hero-media { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
@media(min-width:1024px) { .hero-media { aspect-ratio: 21/9; } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); display: flex; align-items: center; justify-content: center; }
.hero-fallback-text { font-family: var(--font-heading); font-size: clamp(60px, 12vw, 140px); font-weight: 700; color: rgba(255,255,255,0.08); }
.hero-body { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-card { background: rgba(10,10,10,0.85); backdrop-filter: blur(16px); padding: 48px 40px; max-width: 520px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-lg); }
@media(max-width:767px) { .hero-card { padding: 32px 24px; margin: 16px; } }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.hero-heading { font-family: var(--font-heading); font-size: clamp(28px, 5vw, 44px); font-weight: 700; line-height: 1.1; margin-bottom: 12px; }
.hero-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary, .btn-outline-hz { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 14px 32px; border-radius: var(--radius-md); transition: all var(--transition); white-space: nowrap; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline-hz { background: transparent; color: var(--text); border: 1.5px solid var(--border-medium); }
.btn-outline-hz:hover { background: var(--text); color: var(--bg); }
.product-actions .btn-primary { width: 100%; max-width: 320px; padding: 16px 32px; font-size: 14px; border-radius: var(--radius-md); }
.product-actions .btn-primary[disabled], .product-actions .btn-primary.btn-off { opacity: 0.4; pointer-events: none; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 40px; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section-title { font-family: var(--font-heading); font-size: clamp(24px, 4vw, 36px); font-weight: 700; line-height: 1.15; }
.section-line { width: 40px; height: 2px; background: var(--accent); margin: 16px auto 0; }
.section-desc { font-size: 14px; color: var(--text-secondary); margin-top: 12px; }
.view-all-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 20px; transition: gap var(--transition); }
.view-all-link:hover { gap: 10px; }

/* Trust Row */
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: -20px 0 60px; position: relative; z-index: 2; background: var(--bg-card); }
@media(min-width:768px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 16px; gap: 6px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
@media(max-width:767px) { .trust-item:nth-child(even) { border-right: none; } .trust-item:nth-child(odd) { border-right: 1px solid var(--border); } }
.trust-icon { font-size: 20px; color: var(--accent); margin-bottom: 2px; }
.trust-label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.trust-sub { font-size: 11px; color: var(--text-tertiary); }

/* Product Grid */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media(min-width:768px) { .products-grid { gap: 20px; } }
@media(min-width:1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Product Card */
.product-card { display: block; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-card); transition: transform var(--transition), box-shadow var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.product-card .card-image { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-warm); }
.product-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.product-card:hover .card-image img { transform: scale(1.05); }
.product-card .card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 32px; }
.card-badge { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-sm); }
.badge-new { background: var(--accent); color: #000; }
.badge-sale { background: var(--sale); color: #fff; }
.badge-sold { background: var(--text-tertiary); color: #fff; }
.product-card .card-info { padding: 14px; }
.product-card .card-brand { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 4px; }
.product-card .card-title { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--transition); }
.product-card:hover .card-title { color: var(--accent); }
.product-card .card-price { display: flex; align-items: baseline; gap: 6px; font-size: 14px; }
.price-current { font-weight: 700; }
.price-original { font-weight: 400; color: var(--text-tertiary); text-decoration: line-through; font-size: 12px; }
.price-sale { color: var(--sale); }

/* Category Grid */
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media(min-width:768px) { .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.category-card { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-warm); display: block; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); }
.category-card-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff; }
.category-card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 6px; text-decoration: underline; text-underline-offset: 2px; }
.category-card-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-warm); gap: 8px; }
.category-card-fallback i { font-size: 28px; color: var(--text-light); }
.category-card-fallback span { font-size: 13px; font-weight: 500; color: var(--text-tertiary); }

/* Breadcrumb */
.breadcrumb { padding: 16px 0; font-size: 12px; color: var(--text-tertiary); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }

/* Product Page */
.product-page { padding: 20px 0 60px; }
@media(min-width:768px) { .product-page { padding: 28px 0 80px; } }
.product-layout { display: grid; grid-template-columns: 1fr; gap: 32px; min-width: 0; max-width: 100%; overflow: hidden; }
@media(min-width:768px) { .product-layout { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
@media(min-width:1024px) { .product-layout { gap: 56px; } }

.product-gallery { position: sticky; top: calc(var(--header-h) + 12px); min-width: 0; max-width: 100%; overflow: hidden; }
.gallery-main { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-warm); margin-bottom: 8px; cursor: zoom-in; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; max-width: 100%; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 48px; }
.gallery-thumbs { display: flex; gap: 6px; overflow-x: auto; }
.gallery-thumb { width: 60px; height: 80px; flex-shrink: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-warm); cursor: pointer; border: 2px solid transparent; opacity: 0.5; transition: all var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { display: none; justify-content: center; gap: 8px; margin-top: 12px; }
.gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-light); transition: all var(--transition); }
.gallery-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }
@media(max-width:767px) {
  .gallery-dots { display: flex; }
  .gallery-main { max-height: 55vh; aspect-ratio: 1/1; border-radius: var(--radius-md); }
  .gallery-thumb { width: 48px; height: 64px; }
}

.product-vendor { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.product-title { font-family: var(--font-heading); font-size: clamp(22px, 4vw, 32px); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.product-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.product-price-current { font-size: 20px; font-weight: 700; }
.product-price-original { font-size: 16px; color: var(--text-tertiary); text-decoration: line-through; }
.product-price-save { font-size: 11px; font-weight: 700; color: var(--sale); background: var(--sale-bg); padding: 3px 8px; border-radius: var(--radius-sm); }
.product-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; margin-bottom: 20px; }
.stock-dot { width: 6px; height: 6px; border-radius: 50%; }
.stock-dot.in-stock { background: var(--success); }
.stock-dot.out-stock { background: var(--sale); }
.product-condition { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); border: 1px solid var(--border); padding: 3px 10px; border-radius: var(--radius-sm); margin-left: 8px; }
.product-description { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; white-space: pre-line; }
.product-meta { font-size: 12px; color: var(--text-secondary); margin-bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.product-meta b { color: var(--text); font-weight: 600; }
.product-actions { padding-top: 20px; border-top: 1px solid var(--border); margin-bottom: 20px; }
.product-trust { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--text-secondary); }
.trust-badge i { font-size: 14px; color: var(--accent); }
.product-accordion { margin-top: 16px; border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 13px; font-weight: 600; color: var(--text); text-align: left; }
.product-desc-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.product-desc-title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.product-desc-body { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.product-desc-body h2 { font-size: 14px; font-weight: 700; color: var(--text); margin: 16px 0 6px; }
.product-desc-body h3 { font-size: 13px; font-weight: 600; color: var(--text); margin: 12px 0 4px; }
.product-desc-body p { margin-bottom: 10px; }
.product-desc-body ul, .product-desc-body ol { padding-left: 18px; margin-bottom: 10px; }
.product-desc-body li { margin-bottom: 4px; line-height: 1.6; }
.product-desc-body strong { color: var(--text); font-weight: 600; }
.product-desc-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.product-desc-body th, .product-desc-body td { padding: 8px 12px; text-align: left; border: 1px solid var(--border); }
.product-desc-body th { background: var(--bg-warm); font-weight: 600; color: var(--text); }
.product-policies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
@media(max-width:767px) { .product-policies { grid-template-columns: 1fr; } }
.policy-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); transition: all var(--transition); }
.policy-card:hover { background: var(--bg-warm); border-color: var(--accent); }
.policy-card i { font-size: 16px; color: var(--accent); }
.policy-card span { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }

/* Shop / Collection */
.collection-header { padding: 24px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.collection-title { font-family: var(--font-heading); font-size: clamp(24px, 5vw, 36px); font-weight: 700; }
.collection-count { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.collection-products { padding: 24px 0 60px; }
.collection-empty { text-align: center; padding: 80px 24px; }
.collection-empty i { font-size: 48px; color: var(--text-light); margin-bottom: 16px; }
.collection-empty p { font-size: 15px; color: var(--text-secondary); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 32px 0 60px; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all var(--transition); }
.page-btn:hover { background: var(--bg-warm); border-color: var(--accent); }
.page-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }
.page-btn.disabled { opacity: 0.2; pointer-events: none; }
.page-btn.ellipsis { border: none; background: none; color: var(--text-tertiary); cursor: default; pointer-events: none; font-size: 14px; letter-spacing: 2px; }

/* CMS Pages */
.page-header { padding: 40px 0 28px; text-align: center; }
.page-title { font-family: var(--font-heading); font-size: clamp(24px, 5vw, 36px); font-weight: 700; }
.page-body { padding: 0 0 60px; max-width: 800px; margin: 0 auto; }
.page-body h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-top: 32px; margin-bottom: 12px; }
.page-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.page-body ul, .page-body ol { padding-left: 20px; margin-bottom: 14px; }
.page-body li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.page-body strong { color: var(--text); font-weight: 600; }
.page-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13px; }
.page-body th, .page-body td { padding: 12px 16px; text-align: left; border: 1px solid var(--border); }
.page-body th { background: var(--bg-warm); font-weight: 600; color: var(--text); }
.page-body td { color: var(--text-secondary); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 0 0 60px; }
@media(min-width:768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color var(--transition); }
.contact-card:hover { border-color: var(--accent); }
.contact-card-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--accent-bg); border-radius: var(--radius-md); margin-bottom: 12px; font-size: 16px; color: var(--accent); }
.contact-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 16px; font-size: 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-white); color: var(--text); outline: none; transition: border-color var(--transition); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* About */
.about-hero { padding: 60px 0 40px; text-align: center; }
.about-hero h1 { font-family: var(--font-heading); font-size: clamp(32px, 7vw, 48px); font-weight: 700; margin-bottom: 12px; }
.about-hero p { font-size: 15px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 40px 0 60px; }
@media(min-width:768px) { .about-features { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.about-feature { text-align: center; padding: 24px 16px; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.about-feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 20px; color: var(--accent); background: var(--accent-bg); border-radius: 50%; }
.about-feature h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.about-feature p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* Footer */
.site-footer { background: var(--bg-card); color: var(--text); border-top: 1px solid var(--border); }
.footer-main { padding: 48px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media(min-width:480px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; } }
.footer-brand .logo { color: var(--text); margin-bottom: 10px; display: block; }
.footer-brand p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; max-width: 280px; }
.footer-col h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--text-secondary); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--text-tertiary); }
.footer-pay { display: flex; align-items: center; gap: 8px; }
.footer-pay span { font-size: 10px; color: var(--text-tertiary); }
.footer-pay i { font-size: 20px; color: var(--text-tertiary); }

/* Utilities */
.fade-in { animation: fadeUp 0.4s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 20px; border-radius: var(--radius-md); font-size: 13px; font-weight: 500; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.3); animation: tIn 0.3s ease forwards; }
.toast-ok { background: var(--success); }
.toast-err { background: var(--sale); }
.toast-warn { background: var(--accent-light); }
@keyframes tIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes tOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

@media print { .site-header, .site-footer, .announcement-bar, .product-actions { display: none; } }
@media(max-width:767px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .container { padding: 0 16px; max-width: 100%; overflow-x: hidden; }
  .header-inner { padding: 0 16px; }

  /* Home page section padding override */
  section[style*="padding:80px"] { padding: 40px 0 !important; }
  section[style*="padding:0 0 80px"] { padding: 0 0 40px !important; }
  section[style*="padding:100px"] { padding: 50px 0 !important; }

  /* Hero mobile */
  .hero-media { aspect-ratio: 4/5; }
  .hero-card { padding: 28px 20px !important; margin: 12px !important; }
  .hero-heading { font-size: clamp(24px, 7vw, 32px); }
  .hero-text { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn-primary, .hero-actions .btn-outline-hz { width: 100%; padding: 12px 24px; font-size: 12px; }

  /* Trust row mobile */
  .trust-row { margin: -12px 0 32px; }
  .trust-item { padding: 16px 10px; }
  .trust-icon { font-size: 18px; }
  .trust-label { font-size: 11px; }
  .trust-sub { font-size: 10px; }

  /* Section headers mobile */
  .section-header { margin-bottom: 24px; }
  .section-title { font-size: clamp(20px, 5vw, 28px); }
  .section-desc { font-size: 13px; }
  .view-all-link { font-size: 12px; }

  /* Product Page Mobile */
  .product-page { padding: 10px 0 32px; }
  .product-layout { gap: 16px; padding: 0; }
  .product-layout > * { min-width: 0; max-width: 100%; overflow: hidden; }
  .product-gallery { position: static; }
  .gallery-main { max-height: 55vh; aspect-ratio: 1/1; border-radius: var(--radius-md); margin-bottom: 6px; }
  .gallery-thumbs { gap: 4px; }
  .gallery-thumb { width: 44px; height: 58px; }
  .gallery-dots { display: flex; }
  .product-vendor { font-size: 10px; margin-bottom: 4px; }
  .product-title { font-size: clamp(18px, 5vw, 24px); margin-bottom: 10px; }
  .product-price-row { gap: 8px; margin-bottom: 12px; }
  .product-price-current { font-size: 18px; }
  .product-price-original { font-size: 14px; }
  .product-stock { font-size: 11px; margin-bottom: 12px; }
  .product-condition { font-size: 9px; padding: 2px 6px; margin-left: 4px; }
  .product-description { font-size: 13px; line-height: 1.6; margin-bottom: 14px; white-space: normal; word-break: break-word; }
  .product-meta { font-size: 11px; margin-bottom: 14px; }
  .product-actions { padding-top: 12px; margin-bottom: 12px; }
  .product-actions .btn-primary { padding: 14px 20px; font-size: 12px; }
  .product-trust { gap: 10px; padding: 10px 0; }
  .trust-badge { font-size: 10px; gap: 4px; }
  .trust-badge i { font-size: 12px; }
  .product-accordion { margin-top: 8px; }
  .product-desc-title { font-size: 14px; margin-bottom: 8px; }
  .product-desc-body { font-size: 12px; line-height: 1.6; }
  .product-desc-section { margin-top: 10px; padding-top: 10px; }
  .product-policies { grid-template-columns: 1fr; gap: 6px; margin-top: 16px; padding-top: 12px; }
  .policy-card { flex-direction: row; padding: 10px 12px; gap: 8px; text-align: left; }

  /* Breadcrumb */
  .breadcrumb { padding: 8px 0; font-size: 10px; }

  /* Collection */
  .collection-header { padding: 12px 0; }
  .collection-title { font-size: clamp(20px, 5vw, 28px); }
  .collection-products { padding: 12px 0 32px; }
  .products-grid { gap: 10px; }
  .product-card .card-info { padding: 8px; }
  .product-card .card-title { font-size: 12px; }
  .product-card .card-price { font-size: 12px; }

  /* Pagination */
  .pagination { gap: 3px; padding: 16px 0 32px; }
  .page-btn { width: 32px; height: 32px; font-size: 11px; }

  /* About */
  .about-hero { padding: 32px 0 20px; }
  .about-features { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 20px 0 32px; }

  /* Contact */
  .contact-grid { gap: 24px; padding: 0 0 32px; }

  /* CMS */
  .page-header { padding: 24px 0 16px; }
  .page-body { padding: 0 0 32px; }

  /* Footer */
  .footer-main { padding: 24px 0 16px; }
  .footer-grid { gap: 20px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* === Suggested Products Grid === */
.pg-suggest {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.pg-suggest-head {
  text-align: center;
  margin-bottom: 40px;
}
.pg-suggest-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.pg-suggest-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pg-suggest-line {
  width: 40px;
  height: 1px;
  background: var(--text);
  margin: 18px auto 0;
}
.pg-suggest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .pg-suggest-grid { gap: 28px; }
}
@media (min-width: 1024px) {
  .pg-suggest-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

/* Mobile */
@media (max-width: 767px) {
  .pg-suggest { margin-top: 40px; padding-top: 28px; }
  .pg-suggest-head { margin-bottom: 24px; }
  .pg-suggest-title { font-size: clamp(20px, 5vw, 28px); }
  .pg-suggest-line { margin: 12px auto 0; }
  .pg-suggest-grid { gap: 12px; }
}

/* === VARIANT SELECTOR (Enhanced) === */
.variant-selector { margin: 1.25rem 0; position: relative; z-index: 10; }
.variant-group { margin-bottom: 1rem; }
.variant-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.variant-selected { font-weight: 400; color: var(--accent, #10b981); }
.variant-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-btn {
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--border, #1e2a23);
  border-radius: 8px;
  background: transparent;
  color: var(--text, #e8f0ec);
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 48px;
  min-height: 44px;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  position: relative;
  z-index: 11;
  pointer-events: auto !important;
}
.variant-btn:hover {
  border-color: var(--accent, #10b981);
  color: var(--accent, #10b981);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(16,185,129,0.15);
}
.variant-btn.active {
  border-color: var(--accent, #10b981);
  background: rgba(16,185,129,0.12);
  color: var(--accent, #10b981);
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--accent, #10b981);
}
.variant-btn:active {
  transform: scale(0.95);
}
.variant-btn[data-stock="0"],
.variant-btn[disabled] {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none !important;
}