/* Avanca Fashion Shop — avanca.com inspired style */
/* Deep navy / warm gold / clean white European aesthetic */

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

:root {
  --navy:        #1c2b4a;
  --navy-dk:     #141f35;
  --navy-lt:     #2a3f6e;
  --gold:        #c9a44c;
  --gold-lt:     #e2c47a;
  --white:       #ffffff;
  --off-white:   #f8f6f2;
  --surface:     #f2ede6;
  --border:      #ddd8ce;
  --text:        #1a1a1a;
  --text-muted:  #6b6358;
  --sale:        #b83232;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      3px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.07);
  --shadow-md:   0 4px 18px rgba(0,0,0,.11);
  --shadow-lg:   0 8px 36px rgba(0,0,0,.16);
  --transition:  .22s ease;
  --header-h:    115px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

/* Top bar */
.header-top {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  padding: 7px 0;
  letter-spacing: .02em;
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-tagline { font-weight: 300; }

/* Lang switcher */
.lang-switcher { display: flex; gap: 12px; }
.lang-link {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.lang-link:hover, .lang-link.active { color: var(--gold-lt); }
.lang-link.active { border-bottom: 1px solid var(--gold-lt); }

/* Main header */
.header-main { padding: 14px 0; }
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .12em;
}
.logo-sub {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
}

/* Main nav */
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}
.nav-item-dropdown { position: relative; }
.nav-link {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--gold); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-top: 2px solid var(--gold);
  padding: 8px 0;
  z-index: 100;
}
.nav-item-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown li a:hover {
  background: var(--off-white);
  color: var(--navy);
  padding-left: 26px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Breadcrumb bar */
.breadcrumb-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 8px 0;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 12px;
  color: var(--text-muted);
}
.breadcrumb li + li::before { content: '/'; margin: 0 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }

/* ── BUTTONS ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-lt); }

.btn-hero {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.7);
  padding: 12px 26px;
  font-size: 12px;
}
.btn-hero:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dk);
}

.btn-buy {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--navy-dk);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius);
  transition: background var(--transition), transform .15s;
  margin: 20px 0 8px;
}
.btn-buy:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}

/* ── HERO ─────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dk);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(28,43,74,.95) 0%, rgba(28,43,74,.7) 60%, rgba(201,164,76,.15) 100%),
    url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?w=1400&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(20,31,53,.6));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.4);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%,100% { transform: scaleY(0.3) translateY(-50%); opacity: .3; }
  50%      { transform: scaleY(1) translateY(0);      opacity: 1; }
}

/* ── SECTIONS ─────────────────────────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--navy);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
}
.section-viewall {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color var(--transition);
}
.section-viewall:hover { color: var(--gold); }

.section-sale { background: var(--off-white); }

/* ── CATEGORY CARDS (home) ─────────────────────────────────────────────────── */
.section-cats { background: var(--surface); padding: 56px 0; }
.cat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card-inner {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.cat-card-inner:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.cat-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  position: relative;
}
/* Simple SVG-like icons using CSS */
.icon-clothing::after {
  content: '👗';
  font-size: 28px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.icon-shoes::after {
  content: '👟';
  font-size: 28px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.icon-bags::after {
  content: '👜';
  font-size: 28px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.cat-card-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 14px;
}
.cat-card-subs {
  margin-bottom: 16px;
}
.cat-card-subs li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0;
}
.cat-card-subs li a:hover { color: var(--gold); }
.cat-card-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

/* ── PRODUCT GRID ──────────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

/* Product card */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface);
}
.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.05); }
.product-card-no-img {
  width: 100%;
  height: 100%;
  background: var(--surface);
}
.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--sale);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 2px;
}
.product-card-info { padding: 14px 16px 18px; }
.product-card-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.product-card-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-title a:hover { color: var(--navy); }
.product-card-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price-current, .price-sale { font-weight: 600; font-size: 16px; color: var(--navy); }
.price-sale { color: var(--sale); }
.price-orig, .price-was {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-currency { font-size: 11px; color: var(--text-muted); margin-left: 2px; }
.price-badge {
  background: var(--sale);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 2px;
}

/* Star rating */
.product-card-rating, .product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.stars {
  --r: 0%;
  display: inline-block;
  width: 70px;
  height: 13px;
  position: relative;
  background: linear-gradient(to right, #f0b429 var(--r), #ddd var(--r));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 14'%3E%3Cpath d='M7 0l1.8 4h4.2l-3.4 2.5L10.9 11 7 8.5 3.1 11l1.3-4.5L1 4h4.2zM21 0l1.8 4h4.2l-3.4 2.5L24.9 11 21 8.5 17.1 11l1.3-4.5L15 4h4.2zM35 0l1.8 4h4.2l-3.4 2.5L38.9 11 35 8.5 31.1 11l1.3-4.5L29 4h4.2zM49 0l1.8 4h4.2l-3.4 2.5L52.9 11 49 8.5 45.1 11l1.3-4.5L43 4h4.2zM63 0l1.8 4h4.2l-3.4 2.5L66.9 11 63 8.5 59.1 11l1.3-4.5L57 4h4.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 14'%3E%3Cpath d='M7 0l1.8 4h4.2l-3.4 2.5L10.9 11 7 8.5 3.1 11l1.3-4.5L1 4h4.2zM21 0l1.8 4h4.2l-3.4 2.5L24.9 11 21 8.5 17.1 11l1.3-4.5L15 4h4.2zM35 0l1.8 4h4.2l-3.4 2.5L38.9 11 35 8.5 31.1 11l1.3-4.5L29 4h4.2zM49 0l1.8 4h4.2l-3.4 2.5L52.9 11 49 8.5 45.1 11l1.3-4.5L43 4h4.2zM63 0l1.8 4h4.2l-3.4 2.5L66.9 11 63 8.5 59.1 11l1.3-4.5L57 4h4.2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* ── TOP BRANDS ──────────────────────────────────────────────────────────────── */
.section-brands { background: var(--off-white); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  min-height: 80px;
  transition: box-shadow var(--transition);
}
.brand-card:hover { box-shadow: var(--shadow-sm); }
.brand-card img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(.4); }
.brand-card:hover img { filter: grayscale(0); }
.brand-name-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
}

/* ── USP STRIP ────────────────────────────────────────────────────────────────── */
.usp-strip {
  background: var(--navy);
  padding: 40px 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
}
.usp-icon {
  font-size: 28px;
  color: var(--gold);
}
.usp-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: .04em;
}
.usp-item p { font-size: 13px; }

/* ── CATEGORY PAGE ──────────────────────────────────────────────────────────── */
.category-page { padding: 36px 0 64px; }
.category-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}
.category-header { margin-bottom: 28px; }
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--navy);
}

/* Sub-category chips */
.subcats-wrap { margin-bottom: 28px; }
.subcats-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: 7px 16px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.chip:hover, .chip-active {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--off-white);
}

/* Filter sidebar */
.filter-sidebar {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filter-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 20px; }
.filter-group-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.filter-options { display: flex; flex-direction: column; gap: 4px; }
.filter-opt {
  display: block;
  padding: 5px 10px;
  font-size: 13px;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.filter-opt:hover { background: var(--border); }
.filter-opt-active {
  background: var(--navy);
  color: var(--white);
}
.filter-clear {
  display: inline-block;
  font-size: 12px;
  color: var(--sale);
  padding: 4px 10px;
  margin-top: 4px;
}
.filter-clear:hover { text-decoration: underline; }

/* No products */
.no-products {
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 15px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.pager-btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.pager-btn:hover {
  background: var(--navy);
  color: var(--white);
}
.pager-info { color: var(--text-muted); font-size: 13px; }

/* ── PRODUCT DETAIL PAGE ──────────────────────────────────────────────────────── */
.product-page { padding: 40px 0 72px; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

/* Gallery */
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.gallery-placeholder {
  aspect-ratio: 4/5;
  background: var(--surface);
  border-radius: var(--radius);
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.thumb {
  width: 72px;
  height: 90px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: border-color var(--transition);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { border-color: var(--gold); }

/* Product info */
.product-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.product-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.product-rating { margin-bottom: 18px; }
.rating-val { font-weight: 600; color: var(--navy); }
.rating-cnt { color: var(--text-muted); }

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-price-block .price-current { font-size: 26px; }

.product-stock {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #2e7d32;
  margin-bottom: 18px;
}
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e7d32;
  flex-shrink: 0;
}

/* Variants */
.product-variants { margin-bottom: 18px; }
.variant-group { margin-bottom: 14px; }
.variant-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.variant-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.variant-chip {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  cursor: default;
  transition: all var(--transition);
}
.variant-chip:hover {
  border-color: var(--navy);
  background: var(--off-white);
}

/* Attrs table */
.product-attrs { margin-bottom: 18px; }
.attr-row {
  display: flex;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.attr-key {
  min-width: 130px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: capitalize;
}
.attr-val { color: var(--text); }

.product-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 4px;
}

/* Description */
.product-description {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-bottom: 56px;
}
.product-description h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 18px;
}
.product-desc-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  max-width: 720px;
}
.product-desc-body p { margin-bottom: 12px; }
.product-desc-body ul, .product-desc-body ol {
  padding-left: 24px;
  margin-bottom: 12px;
}
.product-desc-body ul { list-style: disc; }
.product-desc-body ol { list-style: decimal; }

/* Related */
.related-products { padding: 40px 0 0; }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-dk); color: rgba(255,255,255,.75); }
.footer-inner { padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--gold); }
.footer-about { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.65); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--white); }

.footer-contact-list { margin-bottom: 16px !important; }
.footer-lang {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-lang a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-lang a.active, .footer-lang a:hover { color: var(--gold-lt); }

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ── 404 PAGE ──────────────────────────────────────────────────────────────────── */
.error-page { padding: 100px 0; text-align: center; }
.error-code {
  font-family: var(--font-serif);
  font-size: 100px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}
.error-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 28px;
}
.error-inner .btn { background: var(--navy); color: var(--white); }
.error-inner .btn:hover { background: var(--navy-lt); }

/* ── FILTER TOGGLE (mobile only) ─────────────────────────────────────────── */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 44px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.filter-toggle-btn:hover { background: var(--navy); color: var(--white); }
.filter-toggle-btn.active { background: var(--navy); color: var(--white); }

/* Mobile lang inside nav (hidden on desktop) */
.nav-lang-mobile { display: none; }

/* Nav overlay backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 790;
}
.nav-backdrop.open { display: block; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 22px; }

  /* ── Header ── */
  .header-top { display: none; }           /* lang moved into mobile nav */
  .header-main { padding: 12px 0; }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: var(--white);
    padding: 8px 20px 32px;
    z-index: 800;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-link {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 10px 16px;
  }
  .nav-dropdown li a {
    padding: 8px 12px;
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
  }
  .nav-toggle { display: flex; }

  /* Lang inside mobile nav */
  .nav-lang-mobile {
    display: block;
    padding: 16px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .nav-lang-mobile-inner { display: flex; gap: 20px; }
  .nav-lang-link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition);
  }
  .nav-lang-link.active { color: var(--gold); }
  .nav-lang-link:hover  { color: var(--navy); }

  /* ── Hero ── */
  .hero { min-height: 360px; }
  .hero-content { padding: 44px 16px; max-width: 100%; }
  .hero-sub { font-size: 14px; margin-bottom: 24px; }
  .hero-scroll-hint { display: none; }

  /* ── Category cards ── */
  .cat-cards { grid-template-columns: 1fr; gap: 16px; }

  /* ── Category page ── */
  .category-layout { grid-template-columns: 1fr; }
  .filter-sidebar {
    display: none;
    position: static;
    margin-bottom: 24px;
  }
  .filter-sidebar.open { display: block; }
  .filter-toggle-btn { display: inline-flex; }

  /* Sub-category chips: horizontal scroll */
  .subcats-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    gap: 8px;
  }
  .subcats-chips .chip { flex-shrink: 0; scroll-snap-align: start; }
  .subcats-chips::-webkit-scrollbar { height: 3px; }
  .subcats-chips::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

  /* ── Product page ── */
  .product-page { padding: 24px 0 48px; }
  .product-layout { gap: 24px; }

  /* Gallery thumbs: horizontal scroll */
  .gallery-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
  }
  .gallery-thumbs::-webkit-scrollbar { height: 3px; }
  .gallery-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  .thumb { flex-shrink: 0; }

  /* ── USP ── */
  .usp-grid { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .usp-item { flex-direction: row; text-align: left; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { padding: 40px 0 0; }

  /* ── Product grid ── */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* ── Pagination: larger tap targets ── */
  .pagination { flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .pager-btn { min-height: 44px; padding: 10px 20px; display: inline-flex; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 28px 0; }
  .section-head { margin-bottom: 16px; }

  /* Hero */
  .hero { min-height: 280px; }
  .hero-content { padding: 32px 14px; }
  .hero-eyebrow { display: none; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 13px; margin-bottom: 18px; }
  .hero-actions .btn-hero { padding: 10px 18px; font-size: 11px; }

  /* Category cards */
  .cat-card-inner { padding: 24px 18px; }
  .cat-card-name { font-size: 19px; }

  /* Product cards */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-info { padding: 10px 12px 14px; }
  .product-card-title { font-size: 13px; }
  .price-current, .price-sale { font-size: 14px; }

  /* Attrs: wrap key on narrow screens */
  .attr-row { flex-wrap: wrap; gap: 2px; padding: 8px 0; }
  .attr-key { min-width: auto; width: 100%; font-size: 11px; }
  .attr-val { font-size: 13px; }

  /* Product page */
  .product-page { padding: 16px 0 36px; }
  .product-price-block .price-current { font-size: 22px; }

  /* Filter toggle full-width */
  .filter-toggle-btn { width: 100%; justify-content: center; }

  /* USP */
  .usp-strip { padding: 28px 0; }
  .usp-grid { gap: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-inner { padding: 32px 0 0; }

  /* Breadcrumb */
  .breadcrumb { font-size: 11px; }
  .breadcrumb li + li::before { margin: 0 5px; }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .logo-text { font-size: 24px; }
  .hero-title { font-size: 24px; }
  .product-card-title { font-size: 12px; }
  .product-card-info { padding: 8px 10px 12px; }
  .price-current, .price-sale { font-size: 13px; }
  .chip { padding: 6px 12px; font-size: 12px; }
}
