:root {
  /* DARK MODE GLOBALS */
  --bg-color: #000000;
  --text-main: #FFFFFF;
  --text-muted: #888888;
  
  /* BRAND COLORS */
  --brand-red: #E63946;
  --brand-red-hover: #d62828;
  
  /* CARDS */
  --card-bg: #F5F5F5;
  --card-text: #111111;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  
  /* Fallbacks for older vars so JS doesn't break if applied */
  --blue-primary: #E63946;
  --blue-light: #FF4D4D;
  --blue-dim: rgba(230, 57, 70, 0.1);
  --dark-surface: #111111;
  --dark-border: #333333;
  --card: #111111;
  --border: #222222;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* —— LAYOUT —— */
.main-layout { display: flex; position: relative; z-index: 1; }
.content-area { flex: 1; min-width: 0; transition: margin-right 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.content-area.bag-open { margin-right: 380px; }

/* ————————————————————————————————————————
  HEADER (SOCIAL CULTURE STYLE)
———————————————————————————————————————— */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-color);
  border-bottom: 1px solid #222;
  padding: 0 24px;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

/* Left: Menu + SHOP NOW */
.header-left {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-category {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
}
.btn-category:hover { color: var(--text-muted); }
.btn-category .hamburger { font-size: 24px; font-weight: 400; line-height: 1; margin-bottom: 2px;}

/* Category Dropdown */
.category-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 24px;
  background: #111;
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 200;
  width: 360px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.category-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border-radius: var(--radius-md); cursor: pointer; transition: background 0.2s; border: 1px solid transparent; text-decoration: none; }
.cat-item:hover { background: #222; }
.cat-preview { width: 70px; height: 55px; border-radius: var(--radius-sm); object-fit: cover; }
.cat-icon { font-size: 18px; color: #FFF; }
.cat-name { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #FFF; text-align: center; }

/* Center: LOGO */
.logo-link {
  grid-column: 2;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.logo-social {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 28px;
  font-style: italic;
  color: #FFF;
  letter-spacing: -1px;
}
.logo-culture {
  background: var(--brand-red);
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 20px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-sub { display: none; } /* Hide the subtitle */

/* Right: Search + Icons */
.header-right {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}

.search-container { position: relative; width: 220px; }
.search-input {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  border-radius: var(--radius-pill);
  padding: 10px 36px 10px 16px;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
  transition: all 0.3s;
}
.search-input::placeholder { color: #666; font-weight: 500;}
.search-input:focus { border-color: #666; background: #1A1A1A; }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #666; font-size: 16px; pointer-events: none; }
.search-results { position: absolute; top: calc(100% + 12px); right: 0; width: 300px; background: #111; border: 1px solid #333; border-radius: var(--radius-md); overflow: hidden; z-index: 200; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.search-results.visible { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; transition: background 0.2s; border-bottom: 1px solid #222; }
.search-result-item:hover { background: #222; }
.search-result-img { width: 36px; height: 36px; border-radius: var(--radius-sm); object-fit: cover; }
.search-result-name { font-size: 13px; font-weight: 700; color: #FFF; }
.search-result-price { font-size: 12px; color: #AAA; font-weight: 600;}

.user-icon { color: white; font-size: 20px; cursor: pointer; transition: opacity 0.2s; }
.user-icon:hover { opacity: 0.7; }

/* Shopping bag button */
.btn-bag {
  position: relative;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFF;
  font-size: 20px;
  transition: opacity 0.2s;
}
.btn-bag:hover { opacity: 0.7; }
.bag-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #0066FF; /* Blue bubble for notification */
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.bag-count.visible { display: flex; }

/* ————————————————————————————————————————
  HERO BANNER
———————————————————————————————————————— */
.hero-section { padding: 32px 24px 40px; max-width: 1400px; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.hero-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; border: 1px solid #222; transition: transform 0.4s; }
.hero-banner:hover { transform: translateY(-3px); border-color: #444; }
.hero-banner.main { grid-row: 1 / 3; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-banner:hover .hero-img { transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 60%); }
.hero-content { position: absolute; bottom: 32px; left: 32px; right: 32px; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  background: #FFF;
  color: #000;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #fff;
}
.hero-banner.small .hero-title { font-size: 28px; }
.hero-sub { font-size: 14px; color: #CCC; margin-top: 8px; font-weight: 500; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  background: var(--brand-red);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.hero-cta:hover { background: var(--brand-red-hover); transform: translateY(-1px); }

/* ————————————————————————————————————————
  SECTION HEADERS
———————————————————————————————————————— */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 42px;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #FFF;
  line-height: 1;
}
.section-link {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #FFF;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #FFF;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.section-link:hover { color: #888; border-color: #888; }
.section-line, .section-accent { display: none; } /* Hide old accents */

/* ————————————————————————————————————————
  CAROUSEL AREA
———————————————————————————————————————— */
.carousel-section { padding: 60px 24px; max-width: 1400px; margin: 0 auto; }
.carousel-wrapper { position: relative; }
.carousel-track-container { overflow: hidden; padding-bottom: 20px;}
.carousel-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.carousel-nav {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #FFF;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}
.carousel-nav:hover { transform: translateY(-50%) scale(1.05); }
.carousel-nav.prev { left: -24px; }
.carousel-nav.next { right: -24px; }

/* ————————————————————————————————————————
  PRODUCT CARD (WHITE THEME)
———————————————————————————————————————— */
.product-card {
  flex: 0 0 280px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); }

.product-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5; /* Taller images like apparel cards */
  overflow: hidden;
  background: #EAEAEA;
}
.product-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; mix-blend-mode: darken;}
.product-card:hover .product-card-img { transform: scale(1.05); }

.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.badge { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }
.badge-new { background: #000; color: #fff; }
.badge-sale { background: var(--brand-red); color: #fff; }
.badge-bestseller { background: #FFF; color: #000; }

.product-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--card-text);
  margin-bottom: 4px;
  line-height: 1.2;
}
.product-category { font-size: 12px; color: #666; font-weight: 600; text-transform: uppercase; margin-bottom: 12px; }
.product-variations { display: flex; gap: 6px; margin-bottom: 16px; align-items: center;}
.variation-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }
.variation-label { font-size: 11px; color: #666; font-weight: 600; }

.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-current { font-weight: 800; font-size: 18px; color: var(--card-text); }
.price-original { font-size: 13px; color: #999; text-decoration: line-through; font-weight: 600; }
.price-sale { color: var(--brand-red) !important; }

.btn-quick-add {
  width: 36px;
  height: 36px;
  background: #000;
  border: none;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-quick-add:hover { background: var(--brand-red); transform: scale(1.05); }

/* ————————————————————————————————————————
  SALES SECTION
———————————————————————————————————————— */
.sales-section { padding: 60px 24px; max-width: 1400px; margin: 0 auto; }
.sales-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ————————————————————————————————————————
  TRUST STRIP
———————————————————————————————————————— */
.trust-strip { padding: 40px 24px; max-width: 1400px; margin: 0 auto; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.trust-icon { font-size: 32px; color: #FFF; }
.trust-label { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase; color: #FFF; }
.trust-desc { font-size: 12px; color: #888; font-weight: 500; max-width: 200px; }

/* ————————————————————————————————————————
  FOOTER
———————————————————————————————————————— */
footer { background: #0A0A0A; border-top: 1px solid #222; padding: 60px 24px 40px; margin-top: 60px; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-logo-mark { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 32px; font-style: italic; color: #FFF; margin-bottom: 12px; display: block; }
.footer-tagline { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: #888; text-transform: uppercase; margin-bottom: 24px; }
.footer-address { font-size: 14px; color: #CCC; line-height: 1.6; margin-bottom: 16px; font-weight: 500; }
.footer-emails a { display: block; font-size: 14px; color: #FFF; text-decoration: none; font-weight: 600; margin-bottom: 8px; }
.footer-col-title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase; color: #FFF; margin-bottom: 24px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: #888; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #FFF; }
.btn-customer-service { display: inline-flex; align-items: center; gap: 10px; background: #FFF; border-radius: var(--radius-pill); padding: 12px 24px; font-weight: 800; font-size: 13px; text-transform: uppercase; color: #000; cursor: pointer; text-decoration: none; transition: background 0.2s; margin-top: 24px; }
.btn-customer-service:hover { background: #CCC; }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #222; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; color: #666; font-weight: 500;}

/* ————————————————————————————————————————
  SHOPPING BAG PANEL
———————————————————————————————————————— */
.bag-panel { position: fixed; top: 0; right: 0; width: 400px; height: 100vh; background: #0A0A0A; border-left: 1px solid #222; z-index: 150; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.bag-panel.open { transform: translateX(0); box-shadow: -10px 0 50px rgba(0,0,0,0.8); }
.bag-panel-header { padding: 24px; border-bottom: 1px solid #222; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.bag-panel-title { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 20px; text-transform: uppercase; color: #FFF; }
.bag-count-label { font-size: 13px; color: #888; font-weight: 600; margin-top: 4px;}
.btn-close-bag { width: 36px; height: 36px; background: #1A1A1A; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #FFF; font-size: 18px; transition: background 0.2s; }
.btn-close-bag:hover { background: #333; }
.bag-items-list { flex: 1; overflow-y: auto; padding: 24px; }
.bag-item { display: flex; gap: 16px; margin-bottom: 24px; position: relative; }
.bag-item-img { width: 80px; height: 100px; border-radius: var(--radius-sm); object-fit: cover; background: #FFF; mix-blend-mode: normal; }
.bag-item-details { flex: 1; min-width: 0; }
.bag-item-name { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase; color: #FFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.bag-item-meta { font-size: 12px; color: #888; font-weight: 500; margin-top: 6px; }
.bag-item-price { font-weight: 700; font-size: 15px; color: #FFF; margin-top: 8px; }
.btn-remove-item { position: absolute; top: 0; right: 0; width: 24px; height: 24px; background: transparent; border: none; font-size: 18px; color: #666; cursor: pointer; transition: color 0.2s; }
.btn-remove-item:hover { color: var(--brand-red); }

.bag-empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px; text-align: center; }
.bag-empty-icon { font-size: 48px; opacity: 0.5; }
.bag-empty-text { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 20px; text-transform: uppercase; color: #FFF; }

.bag-recs { padding: 24px; border-top: 1px solid #222; flex-shrink: 0; background: #111; }
.bag-recs-title { font-weight: 800; font-size: 12px; text-transform: uppercase; color: #FFF; margin-bottom: 16px; }
.bag-rec-list { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.bag-rec-item { flex: 0 0 100px; background: #1A1A1A; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.bag-rec-img { width: 100%; height: 120px; object-fit: cover; background:#EAEAEA; }
.bag-rec-info { padding: 10px; }
.bag-rec-name { font-weight: 700; font-size: 11px; text-transform: uppercase; color: #FFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bag-rec-price { font-weight: 600; font-size: 11px; color: #AAA; margin-top: 4px; }

.bag-totals { padding: 24px; border-top: 1px solid #222; flex-shrink: 0; background: #0A0A0A; }
.bag-subtotal-row, .bag-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bag-subtotal-label { font-size: 14px; color: #888; font-weight: 600; text-transform: uppercase; }
.bag-subtotal-value { font-weight: 600; font-size: 15px; color: #FFF; }
.bag-total-label { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 18px; text-transform: uppercase; color: #FFF; }
.bag-total-value { font-weight: 900; font-size: 24px; color: #FFF; }
.btn-checkout { width: 100%; padding: 16px; background: #FFF; border: none; border-radius: var(--radius-pill); font-family: 'Inter', sans-serif; font-weight: 900; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: #000; cursor: pointer; transition: background 0.2s; margin-top: 16px; }
.btn-checkout:hover { background: #E0E0E0; }

/* ————————————————————————————————————————
  PRODUCT MODAL
———————————————————————————————————————— */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #111; border: 1px solid #333; border-radius: var(--radius-lg); width: 100%; max-width: 1000px; max-height: 90vh; overflow-y: auto; transform: scale(0.95) translateY(10px); transition: transform 0.3s; position: relative; }
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-close { position: sticky; top: 20px; float: right; margin: 20px 20px 0 0; width: 40px; height: 40px; background: #222; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #FFF; font-size: 20px; z-index: 10; transition: background 0.2s; }
.modal-close:hover { background: var(--brand-red); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; clear: both; }

.modal-img-side { padding: 32px; background: #0A0A0A; }
.modal-main-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-md); background: #EAEAEA; margin-bottom: 16px; }
.modal-thumbnails { display: flex; gap: 12px; }
.modal-thumb { width: 70px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s;}
.modal-thumb.active, .modal-thumb:hover { border-color: #FFF; opacity: 1; }
.modal-trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.modal-trust-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #1A1A1A; border-radius: var(--radius-sm); }
.modal-trust-icon { font-size: 20px; color: #FFF; }
.modal-trust-text { font-weight: 700; font-size: 11px; color: #AAA; text-transform: uppercase;}

.modal-details-side { padding: 40px; }
.modal-product-name { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 36px; text-transform: uppercase; color: #FFF; margin-bottom: 8px; line-height: 1.1; }
.modal-category { font-weight: 700; font-size: 13px; color: #888; text-transform: uppercase; margin-bottom: 24px; }
.in-stock-row { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.stock-dot { width: 10px; height: 10px; border-radius: 50%; background: #00ff88; }
.stock-label { font-weight: 700; font-size: 12px; color: #00ff88; text-transform: uppercase;}
.modal-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.modal-price-current { font-weight: 900; font-size: 32px; color: #FFF; }
.modal-price-original { font-weight: 700; font-size: 20px; color: #666; text-decoration: line-through; }
.modal-description { font-size: 15px; color: #CCC; line-height: 1.6; margin-bottom: 32px; font-weight: 500; }

.modal-section-label { font-weight: 800; font-size: 12px; text-transform: uppercase; color: #FFF; margin-bottom: 12px; display: block; }

.size-options, .finish-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.finish-options { grid-template-columns: repeat(2, 1fr); }
.size-option, .finish-option { padding: 12px; background: #1A1A1A; border: 2px solid transparent; border-radius: var(--radius-sm); text-align: center; cursor: pointer; transition: all 0.2s; color: #AAA; font-weight: 700;}
.size-option:hover, .finish-option:hover { background: #222; }
.size-option.selected, .finish-option.selected { border-color: #FFF; color: #FFF; background: #222;}
.size-modifier { display: block; font-size: 11px; font-weight: 500; margin-top: 4px; color: #888;}
.finish-option { display: flex; align-items: center; gap: 12px; text-align: left;}
.finish-icon { font-size: 20px; }
.finish-name { font-weight: 800; font-size: 13px; color: #FFF;}
.finish-desc { font-weight: 500; font-size: 11px; margin-top: 2px; color: #888;}

.variation-options { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.variation-option { padding: 8px 16px; background: #1A1A1A; border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 700; font-size: 13px; color: #AAA; cursor: pointer; transition: all 0.2s; }
.variation-option:hover { background: #222; }
.variation-option.selected { border-color: #FFF; color: #FFF; background: #222;}

.delivery-row { display: flex; align-items: center; gap: 12px; padding: 16px; background: #1A1A1A; border-radius: var(--radius-md); margin-bottom: 32px; }
.delivery-icon { font-size: 24px; }
.delivery-text { font-size: 13px; color: #AAA; font-weight: 600;}
.delivery-time { color: #FFF; font-weight: 800; }

.btn-add-to-bag { width: 100%; padding: 18px; background: #FFF; border: none; border-radius: var(--radius-pill); font-family: 'Inter', sans-serif; font-weight: 900; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: #000; cursor: pointer; transition: background 0.2s; }
.btn-add-to-bag:hover { background: #E0E0E0; }

.tech-specs, .install-steps { margin-top: 40px; padding-top: 32px; border-top: 1px solid #222; }
.specs-title { font-weight: 900; font-size: 16px; text-transform: uppercase; color: #FFF; margin-bottom: 20px; }
.spec-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #222; font-size: 14px; font-weight: 600;}
.spec-key { color: #888; }
.spec-val { color: #FFF; text-align: right; }
.install-step { display: flex; gap: 16px; margin-bottom: 20px; }
.step-num { width: 32px; height: 32px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #FFF; flex-shrink: 0; }
.step-text { font-size: 14px; color: #CCC; line-height: 1.6; font-weight: 500; align-self: center;}

.reviews-section { padding: 40px; border-top: 1px solid #222; background: #0A0A0A;}
.reviews-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.reviews-title { font-weight: 900; font-size: 24px; text-transform: uppercase; color: #FFF;}
.review-card { background: #111; border: 1px solid #222; border-radius: var(--radius-md); padding: 24px; margin-bottom: 16px; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.review-name { font-weight: 800; font-size: 16px; color: #FFF; }
.review-date { font-weight: 600; font-size: 12px; color: #666; }
.review-stars { color: #FFF; font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: #CCC; line-height: 1.6; font-weight: 500;}

.write-review { margin-top: 32px; padding: 32px; background: #111; border: 1px solid #222; border-radius: var(--radius-lg); }
.write-review-title { font-weight: 900; font-size: 18px; text-transform: uppercase; color: #FFF; margin-bottom: 24px; }
.review-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.review-input, .review-textarea { width: 100%; padding: 14px 16px; background: #000; border: 1px solid #333; border-radius: var(--radius-sm); color: #FFF; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; outline: none; transition: border-color 0.2s; }
.review-textarea { height: 100px; resize: none; margin-bottom: 16px;}
.review-input:focus, .review-textarea:focus { border-color: #666; }
.stars-select { display: flex; gap: 8px; margin-bottom: 20px; }
.star-btn { font-size: 24px; color: #444; cursor: pointer; background: none; border: none; transition: color 0.2s; }
.star-btn.lit { color: #FFF; }
.btn-submit-review { padding: 14px 24px; background: #FFF; border: none; border-radius: var(--radius-pill); font-weight: 800; font-size: 14px; text-transform: uppercase; color: #000; cursor: pointer; transition: background 0.2s; }
.btn-submit-review:hover { background: #CCC; }

.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px); background: #FFF; border-radius: var(--radius-pill); padding: 16px 32px; font-weight: 800; font-size: 14px; text-transform: uppercase; color: #000; box-shadow: 0 10px 40px rgba(0,0,0,0.5); z-index: 500; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 768px) {
  /* Header & Navigation */
  header { padding: 0; }
  .header-inner { display: flex; flex-wrap: wrap; height: auto; padding: 12px 16px; align-items: center; justify-content: space-between; gap: 0; }
  .header-left { order: 1; flex: 0 0 auto; display: flex; align-items: center; }
  .btn-category { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .btn-category span:not(.hamburger) { display: none; } 
  .btn-category .hamburger { font-size: 28px; margin: 0; }
  
  .logo-link { order: 2; flex: 1; justify-content: center; margin: 0 12px; }
  .logo-social { font-size: 18px; }
  .logo-culture { font-size: 13px; padding: 2px 6px; }
  
  .header-right { display: contents; } /* Allows children to participate in flex */
  .btn-bag { order: 3; width: 44px; height: 44px; }
  
  .search-container { order: 4; width: 100%; margin-top: 12px; display: block; }
  .search-input { width: 100%; padding: 12px 16px; font-size: 16px; } /* 16px prevents iOS zoom */
  .search-icon { display: none; /* Hide icon natively or place it differently */ }
  .search-results { width: 100%; top: calc(100% + 8px); left: 0; right: 0; max-width: none; }
  
  .category-dropdown { width: calc(100vw - 32px); left: 16px; grid-template-columns: 1fr 1fr; top: calc(100% + 10px); }
  
  /* Hero & Grids */
  .hero-section { padding: 16px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; }
  .hero-banner.main { height: 440px; grid-row: auto; }
  .hero-banner.small { height: 240px; }
  .hero-img { object-position: center; }
  .hero-title { font-size: 36px; }
  .hero-banner.small .hero-title { font-size: 26px; }
  .hero-cta { padding: 14px 24px; font-size: 14px; margin-top: 20px; } /* Ensures 44px height */
  
  /* Carousels & Sections */
  .trust-strip, .sales-section, .carousel-section { padding: 32px 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .section-label { font-size: 28px; }
  
  .carousel-wrapper { margin: 0 -16px; } /* Bleed to ends */
  .carousel-track-container { 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    padding: 0 16px 20px 16px; 
  }
  .carousel-track-container::-webkit-scrollbar { display: none; }
  .carousel-track { gap: 16px; transform: none !important; }
  .carousel-nav { display: none; }
  .product-card { flex: 0 0 80vw; scroll-snap-align: center; }
  
  /* Sales Grid (2 Columns) */
  .sales-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sales-grid .product-card { flex: auto; scroll-snap-align: none; }
  .sales-grid .product-card-body { padding: 12px; }
  .sales-grid .product-name { font-size: 13px; line-height: 1.3; margin-bottom: 6px; }
  .sales-grid .product-category { font-size: 11px; margin-bottom: 8px; }
  .sales-grid .price-current { font-size: 16px; }
  .sales-grid .price-original { font-size: 12px; }
  .sales-grid .btn-quick-add { width: 36px; height: 36px; font-size: 18px; }
  .sales-grid .badge { font-size: 9px; padding: 4px; }
  
  /* Modal Layout */
  .modal-overlay { padding: 16px 12px 0 12px; align-items: flex-end; }
  .modal { max-height: 90vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-bottom: 0; display: flex; flex-direction: column; overflow: hidden; transform: translateY(100%); }
  .modal-overlay.open .modal { transform: translateY(0); }
  .modal-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; flex: 1; overflow-y: auto; overflow-x: hidden; }
  
  .modal-close { position: absolute; top: 12px; right: 12px; margin: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 50; }
  
  .modal-img-side { padding: 16px; display: flex; flex-direction: column; align-items: center; }
  .modal-main-img { max-height: 50vh; width: 100%; object-fit: cover; border-radius: var(--radius-md); }
  
  .modal-details-side { padding: 24px 16px 16px 16px; display: flex; flex-direction: column; }
  .modal-product-name { font-size: 24px; }
  .modal-price-current { font-size: 24px; }
  
  .size-options, .finish-options { grid-template-columns: 1fr 1fr; gap: 8px; }
  .finish-options { grid-template-columns: 1fr; }
  .size-option, .finish-option { padding: 14px 8px; font-size: 13px; min-height: 44px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
  .finish-option { flex-direction: row; }
  
  .btn-add-to-bag { 
    position: sticky; 
    bottom: -16px; 
    padding: 18px; 
    font-size: 16px; 
    margin-top: 24px; 
    margin-bottom: 0; 
    box-shadow: 0 -10px 20px rgba(0,0,0,0.9); 
    z-index: 40; 
    border-radius: 0; 
    width: calc(100% + 32px); 
    margin-left: -16px; 
    border-top: 1px solid #333; 
  }
  
  /* Shopping Bag */
  .bag-panel { width: 90%; max-width: 400px; right: 0; }
  .content-area.bag-open { margin-right: 0; }
  .bag-item { gap: 12px; }
  .bag-item-img { width: 70px; height: 90px; }
  .bag-item-name { font-size: 13px; white-space: normal; } 
  .btn-remove-item { width: 44px; height: 44px; top: -10px; right: -8px; font-size: 20px; }
  .btn-checkout { padding: 18px; margin-top: 24px; } /* Larger touch target */
  
  /* Footer */
  footer { padding: 40px 16px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  
  /* General Fixes */
  .toast { width: 90vw; text-align: center; font-size: 13px; padding: 16px; }
}
