/* Shoes Trade — Responsive CSS (Mobile-First) */

:root {
  --navy: #002D62;
  --red: #C8102E;
  --cream: #F5F3EF;
  --text: #1A1A1A;
  --muted: #666;
  --border: #e5e5e5;
  --max-w: 1280px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: #fff;
}

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

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

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  border: none; cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a00; text-decoration: none; }
.btn-outline { background: transparent; border: 1px solid var(--border); }
.btn-outline:hover { background: #f5f5f5; text-decoration: none; }
.btn-white { background: #fff; color: var(--text); }
.btn-outline-white { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-block { width: 100%; }

/* Promo bar */
.promo-bar {
  background: var(--navy); color: #fff; text-align: center;
  padding: 0.5rem; font-size: 0.75rem;
}
.promo-bar a { color: #fff; text-decoration: underline; }
.promo-highlight { font-weight: 700; }

/* Header */
.site-header {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.site-header.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.header-top { display: none; padding: 0.5rem 0; border-bottom: 1px solid #f5f5f5; justify-content: space-between; align-items: center; }
.brand-links { display: flex; gap: 1.5rem; }
.brand-links a { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }

.lang-switch { display: flex; gap: 0.25rem; }
.lang-btn {
  padding: 0.25rem 0.5rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--border); background: #fff; color: var(--muted); cursor: pointer;
}
.lang-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.lang-switch-header { flex-shrink: 0; }
.lang-switch-mobile-menu { margin-bottom: 1rem; }

.header-main {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 1rem;
}

.logo { font-size: 1.5rem; font-weight: 700; color: var(--navy); text-decoration: none; }

.main-nav { display: none; gap: 2rem; }
.main-nav a { font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.main-nav a:hover { opacity: 0.7; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.search-form { display: none; position: relative; }
.search-form input {
  padding: 0.5rem 2rem 0.5rem 0.75rem; border: 1px solid var(--border);
  font-size: 0.875rem; width: 200px;
}
.search-form button { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; }

.cart-toggle { background: none; border: none; cursor: pointer; position: relative; padding: 0.5rem; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.cart-toggle svg { display: block; }
.search-form button { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.search-form button svg { display: block; }
.cart-badge {
  position: absolute; top: 0; right: 0; background: var(--red); color: #fff;
  font-size: 0.625rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}

.menu-toggle {
  display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.4); }
.mobile-menu-panel {
  width: min(320px, 85vw); height: 100%; background: #fff; padding: 1.5rem; overflow-y: auto;
}
.mobile-menu nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--border); font-weight: 500; text-decoration: none; }
.mobile-close { background: none; border: none; cursor: pointer; float: right; padding: 0.5rem; margin: -0.5rem; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.mobile-close svg { display: block; }

/* Hero carousel */
.hero-carousel {
  position: relative; height: 70vh; min-height: 420px; max-height: 720px;
  overflow: hidden; background: #111;
}
.hero-track { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.25) 45%, transparent 75%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  color: #fff; pointer-events: none;
}
.hero-content a { pointer-events: auto; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.85; margin-bottom: 1rem; }
.hero-content h1, .hero-content .hero-title {
  font-size: clamp(2rem, 6vw, 3.75rem); font-weight: 300; line-height: 1.1; margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero-content h1 { margin-bottom: 1rem; }
.hero-desc { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; max-width: 28rem; font-weight: 300; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 2.75rem; height: 2.75rem; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--text);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15); transition: background 0.2s;
}
.hero-nav svg { display: block; flex-shrink: 0; }
.hero-nav:hover { background: #fff; }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

.hero-dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; gap: 0.5rem;
}
.hero-dot {
  width: 2.5rem; height: 3px; padding: 0; border: none; border-radius: 2px;
  background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.2s, width 0.2s;
}
.hero-dot.is-active { background: #fff; width: 3.5rem; }

@media (max-width: 767px) {
  .hero-nav { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
  .hero-prev { left: 0.5rem; }
  .hero-next { right: 0.5rem; }
}

/* Sections */
.section { padding: 3rem 0; }
.section-gray { background: #f9f9f9; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300; letter-spacing: 0.02em; }
.text-center { text-align: center; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.section-header a { font-size: 0.875rem; color: var(--navy); }

/* Grids */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.product-grid-featured { min-height: 0; }
.brand-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.scene-scroll {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-top: 2rem; max-width: 100%;
}
@media (max-width: 640px) {
  .scene-scroll {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; padding-bottom: 0.5rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .scene-scroll::-webkit-scrollbar { display: none; }
}

/* Product card */
.product-card { position: relative; }
.product-card-link { text-decoration: none; color: inherit; display: block; }
.product-image-wrap {
  position: relative; aspect-ratio: 3/4; overflow: hidden; background: #f5f5f5; margin-bottom: 0.75rem;
}
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s, transform 0.4s; }
.product-img-hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-img-primary { opacity: 0; }
.product-card:hover .product-img-hover { opacity: 1; transform: scale(1.05); }

.product-badges { position: absolute; top: 0.5rem; left: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.badge { font-size: 0.625rem; padding: 0.125rem 0.5rem; background: #fff; font-weight: 600; letter-spacing: 0.05em; }
.badge-sale { background: var(--red); color: #fff; }
.badge-green { background: #2d6a4f; color: #fff; }

.product-info .brand { font-size: 0.75rem; color: #999; }
.product-info h3 { font-size: 0.875rem; font-weight: 500; margin: 0.25rem 0; line-height: 1.3; }
.product-card-category { font-size: 0.6875rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 0.35rem; }
.price-row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.price-label { font-size: 0.6875rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.price-unit { font-size: 0.75rem; color: var(--muted); }
.price { font-size: 0.875rem; font-weight: 600; }
.price-old { font-size: 0.875rem; color: #999; text-decoration: line-through; }
.rating { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }

/* Brand / category cards */
.brand-card, .category-card { position: relative; overflow: hidden; display: block; text-decoration: none; }
.brand-card { aspect-ratio: 4/5; }
.category-card { aspect-ratio: 1; }
.brand-card img, .category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.brand-card:hover img, .category-card:hover img { transform: scale(1.05); }
.brand-card-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; color: #fff;
}
.brand-card-overlay h3 { font-size: 1.5rem; font-weight: 300; }
.category-card span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; font-weight: 300; background: rgba(0,0,0,0.3);
}

.scene-card {
  flex-shrink: 0; width: 11rem; padding: 1.5rem; border: 1px solid var(--border);
  text-align: center; text-decoration: none; transition: border-color 0.2s;
}
.scene-card:hover { border-color: var(--text); text-decoration: none; }
.scene-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }

/* Promo section */
.promo-section { position: relative; padding: 5rem 1rem; text-align: center; color: #fff; overflow: hidden; }
.promo-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.promo-content { position: relative; z-index: 1; background: rgba(0,45,98,0.85); padding: 3rem 1rem; max-width: 600px; margin: 0 auto; }
.promo-content h2 { font-size: 2.5rem; font-weight: 300; margin: 0.5rem 0 1rem; }

/* Shop page */
.page-title { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 300; margin-bottom: 1.5rem; }
.breadcrumb { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }
.shop-layout { display: flex; flex-direction: column; gap: 2rem; }
.filters { border: 1px solid var(--border); padding: 1.5rem; }
.filters fieldset { border: none; margin-bottom: 1.5rem; }
.filters legend { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.75rem; }
.filters label { display: block; font-size: 0.875rem; margin-bottom: 0.5rem; cursor: pointer; }
.price-inputs { display: flex; gap: 0.5rem; align-items: center; }
.price-inputs input { width: 100%; padding: 0.5rem; border: 1px solid var(--border); }
.sort-bar { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.sort-result-count { font-size: 0.875rem; color: var(--muted); margin: 0; }
.sort-form select { padding: 0.5rem; border: 1px solid var(--border); font-size: 0.875rem; }

.active-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; align-items: center; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.65rem;
  border: 1px solid var(--border); border-radius: 999px; font-size: 0.8125rem;
  text-decoration: none; color: var(--text); background: #fff; transition: border-color 0.15s;
}
.filter-chip:hover { border-color: var(--text); text-decoration: none; }
.filter-chip-x { font-size: 1rem; line-height: 1; opacity: 0.6; }
.filter-chip-clear { border-style: dashed; color: var(--muted); }

.product-meta-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 1rem; }
.meta-chip {
  display: inline-block; padding: 0.25rem 0.65rem; font-size: 0.75rem; border-radius: 999px;
  border: 1px solid var(--border); text-decoration: none; color: var(--text); background: #fafafa;
}
.meta-chip:hover { border-color: var(--text); text-decoration: none; }
.meta-chip-muted { background: #f5f5f5; color: var(--muted); cursor: default; }

.moq-hint { font-size: 0.8125rem; color: var(--muted); margin: 0.35rem 0 1rem; }
.form-hint { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 0.65rem; }
.product-unavailable-box { margin: 1rem 0 1.5rem; }
.product-unavailable-box .form-error { margin-bottom: 0.75rem; }
.product-inquiry { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.table-scroll { overflow-x: auto; margin: 1rem 0; }
.modal-intro { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.5rem; }
.empty-state { padding: 3rem 1rem; text-align: center; color: var(--muted); }

/* Product page */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.product-gallery { width: 100%; max-width: 100%; margin: 0 auto; }
.gallery-main {
  aspect-ratio: 1 / 1;
  max-height: min(72vw, 420px);
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  box-sizing: border-box;
}
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  min-height: 4.75rem;
  padding: 0.125rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.thumb {
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  background: #f8f8f8;
  border-radius: 3px;
  overflow: hidden;
}
.thumb.active { border-color: var(--text); }
.thumb img {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  padding: 0.25rem;
  box-sizing: border-box;
}
.thumb-placeholder {
  width: 4.25rem;
  height: 4.25rem;
  cursor: default;
  border: 1px dashed var(--border);
  background: #fafafa;
  border-radius: 3px;
}

.product-purchase h1 { font-size: 1.75rem; font-weight: 300; margin: 0.5rem 0; }
.description { color: var(--muted); font-size: 0.875rem; margin: 1rem 0 1.5rem; line-height: 1.6; }
.sustainable-tag { background: #ecfdf5; color: #065f46; padding: 0.5rem 0.75rem; font-size: 0.875rem; margin-bottom: 1rem; }

.color-swatches { display: flex; gap: 0.75rem; }
.swatch input { display: none; }
.swatch span {
  display: block; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 2px solid var(--border); cursor: pointer;
}
.swatch input:checked + span { border-color: var(--text); transform: scale(1.1); }

.size-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-option span {
  display: flex; align-items: center; justify-content: center;
  min-width: 3rem; height: 3rem; padding: 0 0.75rem; border: 1px solid var(--border);
  font-size: 0.875rem; cursor: pointer;
}
.size-option input { display: none; }
.size-option input:checked + span { background: var(--text); color: #fff; border-color: var(--text); }
.size-option.sold-out span { color: #ccc; text-decoration: line-through; cursor: not-allowed; }
.model-info { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }
.form-group { margin-bottom: 1.5rem; }
.link-btn { background: none; border: none; color: var(--navy); text-decoration: underline; cursor: pointer; font-size: 0.875rem; }

/* Cart & checkout */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.cart-item { display: flex; gap: 1rem; padding: 1rem; border: 1px solid var(--border); margin-bottom: 1rem; }
.cart-item img { width: 5rem; height: 6.25rem; object-fit: cover; flex-shrink: 0; }
.cart-summary, .checkout-summary { border: 1px solid var(--border); padding: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.875rem; }
.summary-row.total { font-weight: 600; font-size: 1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 1rem; }

.checkout-form label { display: block; margin-bottom: 1rem; font-size: 0.875rem; font-weight: 500; }
.checkout-form input { display: block; width: 100%; padding: 0.75rem; border: 1px solid var(--border); margin-top: 0.25rem; font-size: 1rem; box-sizing: border-box; }
.checkout-form textarea { display: block; width: 100%; padding: 0.75rem; border: 1px solid var(--border); margin-top: 0.25rem; font-size: 1rem; box-sizing: border-box; resize: vertical; min-height: 5rem; }
.form-error { color: #b32d2e; background: #fef2f2; border: 1px solid #fecaca; padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
.form-success { color: #0a6e31; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 0.75rem 1rem; border-radius: 4px; margin: 1rem 0; }
.product-inquiry { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.product-inquiry h2 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.contact-form-wrap { max-width: 560px; margin-bottom: 3rem; }
.newsletter-ok { margin-top: 0.75rem; font-size: 0.875rem; color: #86efac; }
.page-title { font-size: 1.75rem; margin-bottom: 1rem; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.quick-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.checkout-steps { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; font-size: 0.875rem; }
.step.active { font-weight: 600; color: var(--navy); }

.order-complete { text-align: center; padding: 4rem 1rem; }
.check-icon { width: 4rem; height: 4rem; background: #ecfdf5; color: #059669; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; }
.empty-state, .empty-state-page { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.error-code { font-size: 5rem; font-weight: 300; color: #ddd; }

/* Mini cart */
.mini-cart { position: fixed; inset: 0; z-index: 300; }
.mini-cart-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.mini-cart-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%);
  background: #fff; display: flex; flex-direction: column; box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.mini-cart-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--border); }
.cart-close-btn { background: none; border: none; cursor: pointer; padding: 0.25rem; margin: -0.25rem; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.cart-close-btn svg { display: block; }
.mini-cart-body { flex: 1; overflow-y: auto; padding: 1rem; }
.mini-cart-item { display: flex; gap: 1rem; margin-bottom: 1rem; }
.mini-cart-item img { width: 5rem; height: 6.25rem; object-fit: cover; }
.mini-cart-footer { padding: 1rem; border-top: 1px solid var(--border); }
.subtotal-row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-weight: 600; }
.shipping-bar { padding: 0.75rem 1rem; background: #eff6ff; font-size: 0.875rem; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: #fff; margin-top: 4rem; padding: 3rem 0 1.5rem; }
.footer-newsletter { text-align: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.2); margin-bottom: 2rem; }
.footer-newsletter h3 { font-weight: 300; font-size: 1.25rem; margin-bottom: 0.5rem; }
.footer-newsletter p { font-size: 0.875rem; opacity: 0.7; margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; max-width: 400px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 0.75rem; border: none; font-size: 0.875rem; }
.newsletter-form button { padding: 0.75rem 1.5rem; background: var(--red); color: #fff; border: none; cursor: pointer; font-weight: 500; }

.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { font-size: 0.875rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid a { color: rgba(255,255,255,0.7); font-size: 0.875rem; text-decoration: none; line-height: 2; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.75rem; opacity: 0.5; text-align: center; }
.footer-bottom div { display: flex; gap: 1rem; justify-content: center; }
.footer-bottom a { color: inherit; text-decoration: none; }

.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.social-links .social-link { display: inline-flex; align-items: center; gap: 0.35rem; color: inherit; text-decoration: none; opacity: 0.9; transition: opacity 0.2s, transform 0.2s; }
.social-links .social-link:hover { opacity: 1; transform: translateY(-1px); }
.social-links .social-link img { width: 24px; height: 24px; display: block; flex-shrink: 0; }
.social-links .social-label { font-size: 0.8125rem; }
.footer-social h4 { font-size: 0.875rem; margin-bottom: 1rem; }
.footer-social .social-links { justify-content: flex-start; }
.site-footer .footer-social .social-link { color: rgba(255,255,255,0.9); }
.site-footer .footer-social .social-link img { filter: brightness(0) invert(1); }
.header-actions .social-links { gap: 0.5rem; margin-right: 0.25rem; }
.header-actions .social-links .social-link img { width: 22px; height: 22px; }
.header-top .social-links { margin-left: auto; margin-right: 1rem; }
.header-top .social-links .social-link img { width: 20px; height: 20px; }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 1rem; z-index: 400; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); }
.cookie-inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; font-size: 0.875rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none !important; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal-panel { position: relative; z-index: 1; background: #fff; padding: 2rem; max-width: 480px; width: 100%; max-height: 80vh; overflow-y: auto; }
.modal-panel table { width: 100%; font-size: 0.875rem; border-collapse: collapse; margin: 1rem 0; }
.modal-panel th, .modal-panel td { padding: 0.5rem; border-bottom: 1px solid var(--border); text-align: left; }

.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.review-card { border: 1px solid var(--border); padding: 1.5rem; }

/* Articles */
.articles-header { margin-bottom: 2.5rem; max-width: 42rem; }
.articles-intro { color: var(--muted); margin-top: 0.75rem; line-height: 1.7; }
.articles-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
.article-card { border: 1px solid var(--border); transition: box-shadow 0.2s; overflow: hidden; }
.article-card-body { padding: 1.5rem; }
.article-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; background: #f5f5f5; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-card-image img { transform: scale(1.03); }
.article-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.article-card .article-meta { padding: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.75rem; }
.article-category { font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; }
.article-card-title { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.75rem; line-height: 1.4; }
.article-card-title a { text-decoration: none; color: inherit; }
.article-card-title a:hover { color: var(--navy); }
.article-excerpt { color: var(--muted); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1rem; }
.article-read-more { font-size: 0.875rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.article-read-more:hover { text-decoration: underline; }

.article-page { max-width: 48rem; margin-bottom: 4rem; }
.article-hero { margin: 0 0 1.5rem; border-radius: 4px; overflow: hidden; background: #f5f5f5; aspect-ratio: 16/9; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-header { margin-bottom: 1.5rem; }
.article-header h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 300; line-height: 1.25; margin: 0.75rem 0; }
.article-lead { font-size: 1.0625rem; color: var(--muted); line-height: 1.6; margin: 0; }
.article-card-no-image .article-card-body { border-top: 3px solid var(--navy); }
.article-body { font-size: 1rem; line-height: 1.8; color: #333; }
.article-body h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 400; margin: 0 0 1rem; line-height: 1.2; }
.article-body h2 { font-size: 1.5rem; font-weight: 500; margin: 2.5rem 0 1rem; color: var(--text); }
.article-body h3 { font-size: 1.125rem; font-weight: 600; margin: 1.5rem 0 0.75rem; color: var(--text); }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.25rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.875rem; }
.article-body th, .article-body td { padding: 0.75rem; border: 1px solid var(--border); text-align: left; }
.article-body th { background: #f9f9f9; font-weight: 600; }
.article-body a { color: var(--navy); }
.article-figure { margin: 1.5rem 0 2rem; }
.article-figure img { width: 100%; height: auto; border-radius: 2px; display: block; }
.article-figure figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 0.5rem; text-align: center; line-height: 1.5; }

.article-faq { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--border); }
.article-faq > h2 { font-size: 1.5rem; font-weight: 500; margin-bottom: 1.5rem; }
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
.faq-item p { color: var(--muted); line-height: 1.7; }
.article-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.article-footer p { font-size: 0.875rem; color: var(--muted); margin: 0; }

@media (min-width: 768px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th, td { padding: 0.75rem; border-bottom: 1px solid var(--border); text-align: left; }

/* Tablet */
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-layout { grid-template-columns: 2fr 1fr; }
  .checkout-layout { grid-template-columns: 3fr 2fr; }
  .product-layout { grid-template-columns: minmax(260px, 440px) 1fr; gap: 2.5rem; }
  .product-gallery { max-width: 440px; justify-self: start; }
  .gallery-main { max-height: 440px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { flex-direction: row; }
  .filters { width: 240px; flex-shrink: 0; }
  .cookie-inner { flex-direction: row; text-align: left; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Desktop */
@media (min-width: 1024px) {
  .header-top { display: flex; }
  .main-nav { display: flex; }
  .search-form { display: block; }
  .menu-toggle { display: none; }
  .header-actions .lang-switch-header { margin-left: 0.25rem; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* Focus styles (a11y) */
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Mobile touch optimization */
@supports (-webkit-touch-callout: none) {
  .hero-carousel { height: -webkit-fill-available; }
}

/* Improve touch targets on mobile */
@media (pointer: coarse) {
  .thumb { min-width: 44px; min-height: 44px; }
  .thumb img { width: 44px; height: 44px; }
  .thumb-placeholder { width: 44px; height: 44px; }
  .swatch span { width: 44px; height: 44px; }
  .size-option span { min-width: 44px; height: 44px; }
  .hero-dot { min-height: 44px; min-width: 44px; }
  .hero-nav { width: 44px; height: 44px; }
}

/* Improve text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
