/* ============================================================
   SHOWES – Premium Shoe Store  |  style.css
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg:          #F7F4EF;
  --bg-alt:      #EDE8DE;
  --surface:     #FFFFFF;
  --border:      #DDD8CE;
  --border-dark: #C5BEB2;

  --ink:         #1A1714;
  --ink-2:       #4A4540;
  --ink-3:       #7A7470;

  --accent:      #8B5E3C;
  --accent-dk:   #6E4A2E;
  --accent-lt:   #F3E9DF;

  --gold:        #C4A45A;
  --gold-lt:     #F6EDD8;

  --success:     #3D7A55;
  --danger:      #B94040;

  --font-h:      'Cormorant Garamond', Georgia, serif;
  --font-b:      'Jost', system-ui, sans-serif;

  --sh-xs:  0 1px 4px  rgba(26,23,20,.06);
  --sh-sm:  0 2px 12px rgba(26,23,20,.08);
  --sh-md:  0 4px 24px rgba(26,23,20,.10);
  --sh-lg:  0 8px 48px rgba(26,23,20,.14);
  --sh-xl:  0 16px 64px rgba(26,23,20,.18);

  --r:    8px;
  --r-lg: 16px;
  --r-xl: 24px;

  --ease: .3s ease;
  --ease-slow: .55s cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 99px; }

/* ---------- Utilities ---------- */
.section-pad   { padding: 80px 0; }
.section-pad-sm{ padding: 56px 0; }
.bg-alt        { background: var(--bg-alt); }
.bg-surface    { background: var(--surface); }
.text-accent   { color: var(--accent); }
.text-gold     { color: var(--gold); }
.text-muted    { color: var(--ink-3); }
.fw-500        { font-weight: 500; }
.fw-600        { font-weight: 600; }
.serif         { font-family: var(--font-h); }

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.section-header p {
  margin-top: 12px;
  color: var(--ink-3);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
}

/* Divider line */
.divider-line {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 16px auto 0;
  width: 100px;
}
.divider-line::before, .divider-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-dark);
}
.divider-line span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Buttons */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--ease);
}
.btn-primary-custom:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--ease);
}
.btn-outline-custom:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--r);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--ease);
}
.btn-accent:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

/* Badge */
.badge-custom {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-new    { background: var(--gold-lt); color: #8a6800; }
.badge-ladies { background: #f9ede8; color: #8b3a2a; }
.badge-men    { background: #e8edf9; color: #2a3d8b; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(247,244,239,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
#mainNav.scrolled {
  border-color: var(--border);
  box-shadow: var(--sh-sm);
  background: rgba(247,244,239,.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.nav-logo .logo-text {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
  text-transform: uppercase;
}
.nav-logo .logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 1px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-2);
  border-radius: var(--r);
  transition: var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ink);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 10px;
  padding-top: 18px; /* visual gap lives inside the box, not outside */
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
  z-index: 100;
}
/* Invisible bridge covers the gap so mouse doesn't lose hover */
.nav-dropdown .dropdown-menu-custom::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  height: 20px;
}
.nav-dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu-custom a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: 13.5px;
  color: var(--ink-2);
}
.dropdown-menu-custom a:hover {
  background: var(--accent-lt);
  color: var(--accent);
}
.dropdown-menu-custom a::after { display: none; }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r);
  background: transparent;
  border: none;
  color: var(--ink-2);
  font-size: 19px;
  transition: var(--ease);
  position: relative;
  text-decoration: none;
}
.nav-icon-btn:hover {
  background: var(--bg-alt);
  color: var(--accent);
}
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge.hidden { display: none; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: var(--r);
  cursor: pointer;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 99px;
  transition: var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--ease-slow);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-size: 22px;
  font-family: var(--font-h);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--accent); padding-left: 12px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  margin-top: 68px;
  height: 523px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  align-items: stretch;
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 56px;
  overflow: hidden;
  height: 523px;
}
.hero-panel-left {
  background: linear-gradient(145deg, #1A1714 0%, #2E2018 45%, #4A2E1A 100%);
}

/* Right panel: product image grid */
.hero-panel-right {
  background: #fff;
  padding: 0 !important;
  display: grid !important;
  flex-direction: unset !important;
  justify-content: unset !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 3px;
  overflow: hidden;
  align-items: unset !important;
}
.hero-product-thumb {
  position: relative;
  overflow: hidden;
  background: var(--border);
  display: block;
  width: 100%;
  height: 100%;
}
.hero-product-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.hero-product-thumb:hover img { transform: scale(1.07); }
.hero-product-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,.55) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--ease);
}
.hero-product-thumb:hover .thumb-overlay { opacity: 1; }
.hero-product-thumb .thumb-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Decorative circles */
.hero-panel-left::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: #fff;
  opacity: .05;
  top: -100px; right: -60px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-panel-left .hero-eyebrow { color: rgba(255,255,255,.55); }
.hero-panel-right .hero-eyebrow { color: var(--accent); }

.hero-eyebrow span {
  display: inline-block;
  width: 28px; height: 1px;
  background: currentColor;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-panel-left .hero-title { color: #fff; }
.hero-panel-right .hero-title { color: var(--ink); }

.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 380px;
}
.hero-panel-left .hero-sub { color: rgba(255,255,255,.6); }
.hero-panel-right .hero-sub { color: var(--ink-2); }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #fff;
  color: var(--ink);
  border: 2px solid #fff;
  border-radius: var(--r);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--ease);
}
.hero-btn-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,164,90,.35);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--r);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--ease);
}
.hero-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ============================================================
   GENDER CARDS
   ============================================================ */
.gender-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gender-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 48px 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--ease);
}
.gender-card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); }

.gender-card-ladies {
  background: linear-gradient(145deg, #C17A6B 0%, #8B4A3C 50%, #6B2D20 100%);
}
.gender-card-men {
  background: linear-gradient(145deg, #4A6B8B 0%, #2D4A6B 50%, #1A2E45 100%);
}

.gender-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.5) 100%);
}

.gender-card-body { position: relative; z-index: 1; }

.gender-card-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.gender-card h3 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.gender-card p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.gender-card .gender-count {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 1;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .06em;
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--ease);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.category-card:hover .cat-icon { background: var(--accent); color: #fff; }

.cat-icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  background: var(--accent-lt);
  color: var(--accent);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--ease);
}
.category-card h6 {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.category-card span {
  font-size: 12px;
  color: var(--ink-3);
}
.category-card .cat-gender-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 8px;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(26,23,20,.8) 0%, transparent 100%);
  display: flex;
  gap: 8px;
  transform: translateY(100%);
  transition: transform var(--ease-slow);
}
.product-card:hover .product-overlay { transform: translateY(0); }

.product-overlay .btn-cart {
  flex: 1;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--ease);
}
.product-overlay .btn-cart:hover {
  background: var(--accent);
  color: #fff;
}
.product-overlay .btn-view {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r);
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
  flex-shrink: 0;
}
.product-overlay .btn-view:hover {
  background: #fff;
  color: var(--ink);
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
}

.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.product-name {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 8px;
}
.product-name a:hover { color: var(--accent); }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #1A1714 0%, #3D2510 40%, #6B3D1E 70%, #8B5E3C 100%);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(196,164,90,.12);
  top: -100px; right: 100px;
  pointer-events: none;
}
.promo-banner::after {
  content: '';
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  bottom: -80px; left: 300px;
  pointer-events: none;
}
.promo-content { position: relative; z-index: 1; }
.promo-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.promo-banner h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.promo-banner p { color: rgba(255,255,255,.65); font-size: 15px; }
.promo-actions { position: relative; z-index: 1; flex-shrink: 0; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--bg-alt);
  text-align: center;
}
.newsletter-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-icon {
  width: 64px; height: 64px;
  background: var(--accent-lt);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  margin: 0 auto 20px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease);
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--ink-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo .logo-text {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
  text-transform: uppercase;
}
.footer-logo .logo-sub {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-top: 2px;
}
.footer-logo p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: var(--r);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.6);
  transition: var(--ease);
}
.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-col h5 {
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: var(--ease);
}
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact i {
  font-size: 16px;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact span { font-size: 13.5px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  margin-top: 68px;
  padding: 56px 0;
  background: linear-gradient(135deg, #1A1714 0%, #3D2510 60%, #6B3D1E 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(196,164,90,.08);
  top: -200px; right: -100px;
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
.breadcrumb-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  position: relative;
  z-index: 1;
}
.breadcrumb-custom a { color: rgba(255,255,255,.6); }
.breadcrumb-custom a:hover { color: var(--gold); }
.breadcrumb-custom i { font-size: 11px; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.shop-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.sidebar-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.sidebar-title {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.filter-list li { margin-bottom: 6px; }
.filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--r);
  font-size: 14px;
  color: var(--ink-2);
  transition: var(--ease);
}
.filter-list label:hover { background: var(--bg); color: var(--ink); }
.filter-list input[type=checkbox] {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  border-radius: 4px;
  flex-shrink: 0;
}
.filter-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--ink-3);
  background: var(--bg);
  padding: 1px 7px;
  border-radius: 99px;
}

/* Price range */
.price-range-wrap { padding: 4px 0; }
.price-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.price-inputs input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color var(--ease);
}
.price-inputs input:focus { border-color: var(--accent); }
.price-inputs span { color: var(--ink-3); font-size: 13px; flex-shrink: 0; }

/* Shop toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 24px;
}
.shop-count { font-size: 14px; color: var(--ink-2); }
.shop-count strong { color: var(--ink); }
.shop-sort select {
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 7px 12px;
  font-family: var(--font-b);
  font-size: 13.5px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  cursor: pointer;
}

/* Active filters */
.active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--accent-lt);
  color: var(--accent);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
}
.active-filter-tag a {
  color: inherit;
  opacity: .7;
  font-size: 14px;
  line-height: 1;
}
.active-filter-tag a:hover { opacity: 1; }

/* Pagination */
.pagination-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 40px;
}
.pagination-custom a,
.pagination-custom span {
  width: 40px; height: 40px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--ink-2);
  transition: var(--ease);
}
.pagination-custom a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
}
.pagination-custom span.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-detail-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 1 / 1;
}
.product-detail-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.detail-badge { margin-bottom: 12px; }
.detail-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}
.detail-cat {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-price {
  font-family: var(--font-h);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}
.detail-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.detail-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  width: fit-content;
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 44px;
  border: none;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  width: 50px; height: 44px;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  background: var(--surface);
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.btn-add-cart {
  flex: 1;
  padding: 15px 24px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--ease);
}
.btn-add-cart:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.product-meta-row {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
}
.product-meta-row i { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.product-meta-row strong { color: var(--ink); font-weight: 600; }
.product-meta-row span { color: var(--ink-3); }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.cart-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cart-table-head {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  gap: 16px;
}
.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  padding: 20px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--bg); }
.cart-item-product {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-item-img {
  width: 72px; height: 72px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.cart-item-cat { font-size: 12px; color: var(--ink-3); }
.cart-item-price {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 600;
}
.cart-item-total {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.cart-remove {
  width: 32px; height: 32px;
  border-radius: var(--r);
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink-3);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ease);
}
.cart-remove:hover { background: #fce8e8; border-color: var(--danger); color: var(--danger); }

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.cart-summary h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14.5px;
}
.summary-row.total {
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-h);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
}
.cart-empty {
  text-align: center;
  padding: 80px 40px;
}
.cart-empty i { font-size: 56px; color: var(--border-dark); margin-bottom: 16px; }
.cart-empty h4 { font-size: 24px; margin-bottom: 8px; }
.cart-empty p { color: var(--ink-3); margin-bottom: 24px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #C4A45A22, #8B5E3C33);
  font-size: 72px;
  color: var(--accent);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--ease);
}
.value-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.value-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  background: var(--accent-lt);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
}
.value-card h5 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--ink-3); }

/* Stats strip */
.stats-strip {
  background: linear-gradient(135deg, #1A1714 0%, #4A2E1A 100%);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .num {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-item .label {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--ease);
}
.contact-card:hover { box-shadow: var(--sh-md); border-color: var(--accent); }
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--accent-lt);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-card h6 { font-size: 14px; font-weight: 700; margin-bottom: 4px; font-family: var(--font-b); }
.contact-card p { font-size: 14px; color: var(--ink-3); }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
}
.contact-form-wrap h3 { font-size: 28px; margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--ink-3); margin-bottom: 28px; font-size: 14px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-control-custom:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(139,94,60,.1);
}
textarea.form-control-custom { resize: vertical; min-height: 130px; }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  font-size: 14px;
  min-width: 280px;
  animation: toastIn .35s ease forwards;
}
.toast-msg.success { background: var(--success); }
.toast-msg.error   { background: var(--danger); }
.toast-msg i { font-size: 18px; flex-shrink: 0; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(24px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; height: auto; }
  .hero-panel   { padding: 48px 32px; }
  .hero-panel-right { display: none; }
  .hero-title   { font-size: 40px; }

  .gender-cards  { grid-template-columns: 1fr; gap: 16px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .about-intro   { grid-template-columns: 1fr; }
  .about-img-wrap { aspect-ratio: 16/9; }
  .contact-layout{ grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }

  .nav-links, .nav-actions .nav-icon-btn:not(.cart-btn) { display: none; }
  .nav-hamburger { display: flex; }
  .cart-btn      { display: flex !important; }

  .shop-layout   { grid-template-columns: 1fr; }
  .shop-sidebar  { position: static; }
  .product-detail{ grid-template-columns: 1fr; }
  .cart-layout   { grid-template-columns: 1fr; }
  .cart-table-head { display: none; }
  .cart-item     { grid-template-columns: 1fr 40px; grid-template-rows: auto auto; }

  .promo-banner  { flex-direction: column; text-align: center; padding: 40px 28px; }

  .section-pad   { padding: 56px 0; }
  .section-pad-sm{ padding: 40px 0; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .hero-btns     { flex-direction: column; }
  .hero-stats    { gap: 20px; }
  .hero-panel    { padding: 40px 20px; }
  .detail-actions{ flex-direction: column; }
}
