/* Extracted from design-source/open-design-output/product.html — DO NOT EDIT */


/* ═══════════════════════════════════════════════════════════════════
   TOKENS — VK-inspired Shoe Commerce (Product page)
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --bg:      #f5f5f7;
  --surface: #ffffff;
  --fg:      #1a1a1d;
  --muted:   #6b6b6b;
  --border:  #e5e5e8;
  --accent:  #0077ff;

  --accent-soft:   color-mix(in oklab, var(--accent) 12%, transparent);
  --accent-hover:  color-mix(in oklab, var(--accent), black 10%);
  --accent-active: color-mix(in oklab, var(--accent), black 18%);
  --accent-on:     #ffffff;
  --fg-soft:       color-mix(in oklab, var(--fg) 6%, transparent);

  --success: #17a34a;
  --warn:    #eab308;
  --danger:  #dc2626;
  --star:    #f5a623;

  --image-bg: #ededef;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono:    ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;

  --fs-h1: 40px;
  --fs-h2: 24px;
  --fs-h3: 18px;
  --fs-lead: 16px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-meta: 13px;
  --fs-micro: 12px;

  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --gap-xl: 24px;
  --gap-2xl: 48px;

  --container: 1320px;
  --gutter: 32px;
  --sidebar-width: 240px;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-dropdown: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-promo: 0 8px 20px rgba(0,0,0,0.10);
  --shadow-menu: 0 12px 40px rgba(0,0,0,0.14);
  --shadow-sticky: 0 -2px 12px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.5;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
p { text-wrap: pretty; margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-family: var(--font-display); }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

.container {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
}
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.stack { display: flex; flex-direction: column; gap: var(--gap-md); }

/* ═══════════════════════════════════════════════════════════════════
   SERVICE BAR
   ═══════════════════════════════════════════════════════════════════ */
.service-bar {
  background: var(--fg); color: var(--surface); font-size: var(--fs-meta);
}
.service-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md); height: 38px;
}
.service-bar-segments { display: flex; align-items: center; gap: var(--gap-xs); }
.service-bar-segments a {
  color: rgba(255,255,255,0.65); padding: 4px 10px; border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease; font-weight: 500;
}
.service-bar-segments a:hover { color: rgba(255,255,255,0.9); }
.service-bar-segments a.active {
  color: var(--surface); background: rgba(255,255,255,0.12);
}
.service-bar-service {
  display: flex; align-items: center; gap: var(--gap-lg);
  color: rgba(255,255,255,0.55);
}
.service-bar-service a {
  color: rgba(255,255,255,0.55); transition: color .15s ease;
}
.service-bar-service a:hover { color: rgba(255,255,255,0.9); }

/* ═══════════════════════════════════════════════════════════════════
   HEADER & MEGAMENU (same as homepage, contextual women active)
   ═══════════════════════════════════════════════════════════════════ */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  display: flex; align-items: center; gap: var(--gap-xl);
  padding-block: 14px;
}
.topnav .logo {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--fg); flex-shrink: 0; line-height: 1;
}
.topnav .logo span { color: var(--accent); }

.topnav-nav { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.topnav-nav > a, .topnav-nav > .has-megamenu > a {
  font-size: var(--fs-small); font-weight: 500; color: var(--fg);
  padding: 6px 10px; border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
  position: relative; display: inline-flex; align-items: center; gap: 4px;
}
.topnav-nav > a:hover, .topnav-nav > .has-megamenu > a:hover {
  color: var(--accent); background: var(--bg);
}
.topnav-nav > a.active { color: var(--accent); }
.topnav-nav > .has-megamenu > a svg {
  width: 12px; height: 12px; color: var(--muted);
  transition: transform .2s ease;
}
.topnav-nav > .has-megamenu.open > a svg { transform: rotate(180deg); }

.has-megamenu { position: relative; }
.megamenu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  width: 920px; max-width: calc(100vw - var(--gutter) * 2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-menu);
  padding: var(--gap-xl); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 60;
}
.has-megamenu.open .megamenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.megamenu-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gap-xl);
}
.megamenu-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px;
}
.megamenu-cols a {
  font-size: var(--fs-small); color: var(--fg);
  padding: 6px 8px; margin: 0 -8px; line-height: 1.45;
  transition: color .15s ease, background .15s ease;
  white-space: nowrap; border-radius: var(--radius-sm);
}
.megamenu-cols a:hover { color: var(--accent); background: var(--bg); }
.megamenu-all {
  grid-column: span 2; margin-top: 6px;
  font-size: var(--fs-small); font-weight: 600; color: var(--accent);
}
.megamenu-all:hover { text-decoration: underline; }
.megamenu-title {
  font-size: var(--fs-meta); font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--gap-sm);
}
.megamenu-brands { display: flex; flex-direction: column; gap: 6px; }
.megamenu-brands a {
  font-size: var(--fs-small); color: var(--fg); padding: 3px 0;
  transition: color .15s ease;
}
.megamenu-brands a:hover { color: var(--accent); }
.megamenu-promo { display: flex; flex-direction: column; gap: var(--gap-sm); }
.megamenu-promo-card {
  border-radius: var(--radius-md); padding: var(--gap-lg);
  background: var(--bg); min-height: 140px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.megamenu-promo-card .label {
  font-size: var(--fs-micro); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--accent); margin-bottom: 4px;
}
.megamenu-promo-card .title {
  font-size: var(--fs-lead); font-weight: 700; line-height: 1.2;
}

.topnav-search { position: relative; width: 260px; flex-shrink: 0; }
.topnav-search input {
  width: 100%; padding: 10px 12px 10px 38px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); font-size: var(--fs-small);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.topnav-search input:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.topnav-search input::placeholder { color: var(--muted); }
.topnav-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}
.topnav-actions {
  display: flex; align-items: center; gap: var(--gap-xs); flex-shrink: 0;
}
.topnav-actions .icon-btn {
  width: 40px; height: 40px; border-radius: var(--radius);
  display: grid; place-items: center; color: var(--fg);
  transition: background .15s ease; position: relative;
}
.topnav-actions .icon-btn:hover { background: var(--bg); }
.topnav-actions .icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: var(--accent-on);
  font-size: 10px; font-weight: 700; border-radius: var(--radius-pill);
  display: grid; place-items: center;
}

.mobile-menu-trigger {
  display: none; width: 40px; height: 40px;
  place-items: center; border-radius: var(--radius); color: var(--fg);
}
.mobile-menu-trigger:hover { background: var(--bg); }
.mobile-menu-trigger svg { width: 24px; height: 24px; }

/* ═══════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════════ */
.breadcrumbs {
  padding-block: 16px; font-size: var(--fs-small); color: var(--muted);
}
.breadcrumbs ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs li:not(:last-child)::after {
  content: '›'; margin-left: 8px; color: var(--border);
}
.breadcrumbs a:hover { color: var(--fg); text-decoration: underline; }
.breadcrumbs li:last-child { color: var(--fg); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT PAGE LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: start;
  padding-bottom: var(--gap-2xl);
}

/* ═══════════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sm);
}
.gallery-main {
  grid-column: span 2;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 8%;
}
.gallery-thumb {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 10%;
  transition: transform .2s ease;
}
.gallery-thumb:hover img { transform: scale(1.03); }
.gallery-thumb.active { box-shadow: 0 0 0 2px var(--accent); }
.gallery-more {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  display: grid; place-items: center; color: #fff;
  font-size: var(--fs-small); font-weight: 600;
  border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT INFO (sticky)
   ═══════════════════════════════════════════════════════════════════ */
.product-info {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: var(--gap-lg);
}

.product-rating-row {
  display: flex; align-items: center; gap: var(--gap-sm);
}
.stars { display: flex; gap: 2px; }
.star-fill { width: 16px; height: 16px; fill: var(--star); }
.star-empty { width: 16px; height: 16px; fill: #ddd; }
.rating-value { font-size: var(--fs-small); font-weight: 600; color: var(--fg); }
.rating-count {
  font-size: var(--fs-small); color: var(--muted);
}
.rating-count:hover { color: var(--accent); text-decoration: underline; }

.product-brand {
  font-size: var(--fs-small); font-weight: 600; color: var(--accent);
}
.product-title {
  font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
}
.product-sku {
  font-size: var(--fs-meta); color: var(--muted);
}

.product-price-row {
  display: flex; align-items: baseline; gap: var(--gap-sm); flex-wrap: wrap;
}
.price-current {
  font-size: 28px; font-weight: 700; line-height: 1.2;
}
.price-old {
  font-size: var(--fs-lead); color: var(--muted); text-decoration: line-through;
}
.price-discount {
  font-size: var(--fs-small); font-weight: 700; color: var(--danger);
  background: rgba(220,38,38,0.08); padding: 3px 8px; border-radius: var(--radius-sm);
}

.product-installment {
  font-size: var(--fs-small); color: var(--muted);
}
.product-installment a { color: var(--accent); text-decoration: underline; }
.product-bonus {
  font-size: var(--fs-small); color: var(--success); font-weight: 500;
}

/* Wishlist inline */
.wishlist-inline {
  position: absolute; top: var(--gap-sm); right: var(--gap-sm); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--fg);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.wishlist-inline:hover { border-color: var(--accent); color: var(--accent); }
.wishlist-inline.active { color: var(--danger); border-color: var(--danger); }
.wishlist-inline svg { width: 20px; height: 20px; }

/* Colors */
.color-selector-label {
  font-size: var(--fs-small); color: var(--fg); font-weight: 500;
}
.color-selector-label span { color: var(--muted); font-weight: 400; }
.color-swatches { display: flex; gap: var(--gap-sm); margin-top: var(--gap-xs); }
.color-swatch {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  border: 2px solid var(--border); overflow: hidden; cursor: pointer;
  position: relative; background: var(--image-bg);
  transition: border-color .15s ease, transform .15s ease;
}
.color-swatch img {
  width: 100%; height: 100%; object-fit: contain; padding: 8%;
}
.color-swatch:hover { transform: scale(1.04); border-color: var(--fg); }
.color-swatch.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.color-swatch.disabled { opacity: 0.4; cursor: not-allowed; }

/* Sizes */
.size-header {
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm);
}
.size-label { font-size: var(--fs-small); font-weight: 500; color: var(--fg); }
.size-link {
  font-size: var(--fs-small); color: var(--accent);
}
.size-link:hover { text-decoration: underline; }
.size-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap-xs);
  margin-top: var(--gap-xs);
}
.size-btn {
  height: 44px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  font-size: var(--fs-small); font-weight: 500; color: var(--fg);
  display: grid; place-items: center;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.size-btn:hover:not(:disabled) { border-color: var(--fg); }
.size-btn.selected {
  border-color: var(--accent); background: var(--accent-soft); color: var(--accent);
  font-weight: 700;
}
.size-btn:disabled {
  opacity: 0.35; cursor: not-allowed; text-decoration: line-through;
}
.size-btn:focus-visible {
  outline: none; box-shadow: 0 0 0 3px var(--accent-soft);
}

.size-helper {
  display: flex; gap: var(--gap-md); margin-top: var(--gap-xs);
}
.size-helper a {
  font-size: var(--fs-small); color: var(--muted);
}
.size-helper a:hover { color: var(--accent); text-decoration: underline; }

/* CTA */
.cta-group { display: flex; flex-direction: column; gap: var(--gap-sm); }
.btn-primary {
  width: 100%; padding: 16px;
  background: var(--accent); color: var(--accent-on);
  font-size: var(--fs-lead); font-weight: 600;
  border-radius: var(--radius); text-align: center;
  transition: background .15s ease;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-active); }
.btn-primary:disabled {
  background: var(--border); color: var(--muted); cursor: not-allowed;
}
.btn-secondary {
  width: 100%; padding: 14px;
  background: var(--surface); color: var(--fg);
  font-size: var(--fs-small); font-weight: 600;
  border-radius: var(--radius); text-align: center;
  border: 1px solid var(--border);
  transition: border-color .15s ease, background .15s ease;
}
.btn-secondary:hover { border-color: var(--fg); background: var(--bg); }

/* Delivery block */
.delivery-block {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--gap-md);
  display: flex; flex-direction: column; gap: var(--gap-sm);
}
.delivery-title {
  font-size: var(--fs-small); font-weight: 600; color: var(--fg);
}
.delivery-title a { color: var(--accent); font-weight: 500; }
.delivery-title a:hover { text-decoration: underline; }
.delivery-row {
  display: flex; align-items: flex-start; gap: var(--gap-sm);
  font-size: var(--fs-small); color: var(--fg);
}
.delivery-row svg {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); margin-top: 1px;
}
.delivery-row .muted { color: var(--muted); }
.delivery-link {
  font-size: var(--fs-small); color: var(--accent); margin-top: 2px;
}
.delivery-link:hover { text-decoration: underline; }

/* Mini advantages */
.mini-adv {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-sm);
}
.mini-adv-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; font-size: var(--fs-micro); color: var(--muted);
}
.mini-adv-item svg { width: 22px; height: 22px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════════════════ */
.tabs-nav {
  display: flex; gap: var(--gap-xs);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--gap-lg);
}
.tab-btn {
  padding: 12px 16px; font-size: var(--fs-small); font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--fg); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ═══════════════════════════════════════════════════════════════════
   DESCRIPTION & SPECS
   ═══════════════════════════════════════════════════════════════════ */
.desc-text {
  font-size: var(--fs-body); line-height: 1.65; color: var(--fg);
  max-width: 760px;
}
.specs-table {
  width: 100%; max-width: 640px; border-collapse: collapse;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table td {
  padding: 12px 0; font-size: var(--fs-small);
}
.specs-table td:first-child { color: var(--muted); width: 45%; }
.specs-table td:last-child { color: var(--fg); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════════════ */
.reviews-summary {
  display: flex; gap: var(--gap-2xl); align-items: flex-start; flex-wrap: wrap;
  margin-bottom: var(--gap-lg);
}
.reviews-big-rating {
  display: flex; align-items: baseline; gap: var(--gap-sm);
}
.reviews-big-rating .num {
  font-size: 48px; font-weight: 700; line-height: 1;
}
.reviews-big-rating .stars { margin-top: 4px; }
.reviews-big-rating .count { font-size: var(--fs-small); color: var(--muted); }

.reviews-bars {
  display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 220px; max-width: 320px;
}
.review-bar {
  display: flex; align-items: center; gap: 8px; font-size: var(--fs-small);
}
.review-bar-track {
  flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden;
}
.review-bar-fill { height: 100%; background: var(--star); border-radius: 3px; }
.review-bar-label { width: 20px; text-align: right; color: var(--muted); }
.review-bar-count { width: 30px; text-align: right; color: var(--muted); }

.review-card {
  border-bottom: 1px solid var(--border); padding-bottom: var(--gap-lg); margin-bottom: var(--gap-lg);
}
.review-header {
  display: flex; align-items: center; gap: var(--gap-sm); margin-bottom: var(--gap-xs);
}
.review-author { font-weight: 600; font-size: var(--fs-small); }
.review-date { font-size: var(--fs-micro); color: var(--muted); }
.review-meta {
  display: flex; gap: var(--gap-sm); margin-bottom: var(--gap-sm);
  font-size: var(--fs-micro); color: var(--muted);
}
.review-meta span { background: var(--bg); padding: 3px 8px; border-radius: var(--radius-sm); }
.review-pros, .review-cons {
  font-size: var(--fs-small); margin-bottom: var(--gap-xs);
}
.review-pros::before { content: 'Достоинства: '; font-weight: 600; color: var(--success); }
.review-cons::before { content: 'Недостатки: '; font-weight: 600; color: var(--danger); }
.review-text { font-size: var(--fs-small); line-height: 1.6; color: var(--fg); }
.review-photos { display: flex; gap: var(--gap-sm); margin-top: var(--gap-sm); }
.review-photo {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  background: var(--image-bg); overflow: hidden; cursor: pointer;
}
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-footer {
  display: flex; align-items: center; gap: var(--gap-sm); margin-top: var(--gap-sm);
  font-size: var(--fs-small); color: var(--muted);
}
.review-footer button {
  font-size: var(--fs-small); color: var(--muted); padding: 4px 8px; border-radius: var(--radius-sm);
}
.review-footer button:hover { background: var(--bg); color: var(--fg); }

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT CARDS (reused from catalog)
   ═══════════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-lg);
}
.product-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
  background: var(--surface);
}
.card-link-overlay { position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) {
  .product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
}
.card-image-wrap {
  position: relative; aspect-ratio: 1 / 1; background: #fff;
  overflow: hidden;
}
.card-image-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 10%;
}
.card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 8px; border-radius: var(--radius-sm);
  font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.card-badge.sale { background: var(--danger); color: #fff; }
.card-badge.new { background: var(--success); color: #fff; }
.card-badge.hit { background: var(--star); color: #fff; }
.wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--fg);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.wishlist-btn:hover { border-color: var(--accent); color: var(--accent); }
.wishlist-btn.active { color: var(--danger); border-color: var(--danger); background: #fff; }
.wishlist-btn svg { width: 18px; height: 18px; }
.card-content {
  padding: 10px 2px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1;
}
.card-brand { font-size: var(--fs-micro); font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.card-name { font-size: var(--fs-small); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-rating { display: flex; align-items: center; gap: 6px; }
.card-rating .stars { display: flex; gap: 1px; }
.card-rating .stars svg { width: 12px; height: 12px; }
.card-rating .rating-value { font-size: var(--fs-micro); font-weight: 600; color: var(--fg); }
.card-rating .rating-count { font-size: var(--fs-micro); color: var(--muted); }
.card-price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 4px; }
.price-current { font-size: 15px; font-weight: 700; }
.price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.card-colors { display: flex; gap: 6px; padding-top: 4px; }
.card-color-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.section { padding-block: var(--gap-2xl); }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-md); margin-bottom: var(--gap-lg);
}
.section-title { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; }
.section-link {
  font-size: var(--fs-small); font-weight: 500; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.section-link:hover { text-decoration: underline; }
.section-link svg { width: 14px; height: 14px; }

/* Care products row */
.care-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg);
}
.care-card {
  display: flex; gap: var(--gap-md); align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--gap-md); background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.care-card:hover { border-color: var(--accent); box-shadow: var(--shadow-card-hover); }
.care-card-img {
  width: 80px; height: 80px; flex-shrink: 0;
  background: #fff; border-radius: var(--radius);
  overflow: hidden;
}
.care-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.care-card-info { display: flex; flex-direction: column; gap: 4px; }
.care-card-brand { font-size: var(--fs-micro); font-weight: 600; color: var(--accent); }
.care-card-name { font-size: var(--fs-small); font-weight: 500; }
.care-card-price { font-size: var(--fs-small); font-weight: 700; }

/* Recently viewed - compact */
.recent-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap-md); }
.recent-card {
  display: flex; gap: var(--gap-sm); align-items: center;
  padding: var(--gap-sm); border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--surface);
}
.recent-card-img {
  width: 60px; height: 60px; flex-shrink: 0;
  background: #fff; border-radius: var(--radius-sm);
  overflow: hidden;
}
.recent-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.recent-card-name { font-size: var(--fs-micro); font-weight: 500; line-height: 1.3; }
.recent-card-price { font-size: var(--fs-micro); font-weight: 700; margin-top: 2px; }

/* Info banner */
.info-banner {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: var(--gap-lg) var(--gap-xl);
  display: flex; align-items: center; gap: var(--gap-lg);
}
.info-banner-img {
  width: 120px; height: 120px; flex-shrink: 0;
  background: var(--image-bg); border-radius: var(--radius-md);
  overflow: hidden;
}
.info-banner-img img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.info-banner-text { flex: 1; }
.info-banner-title { font-size: var(--fs-h3); font-weight: 700; margin-bottom: 4px; }
.info-banner-desc { font-size: var(--fs-small); color: var(--muted); }
.info-banner-link { font-size: var(--fs-small); color: var(--accent); font-weight: 500; margin-top: 8px; display: inline-block; }
.info-banner-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER (same as homepage)
   ═══════════════════════════════════════════════════════════════════ */
.pagefoot {
  background: var(--fg); color: rgba(255,255,255,0.65);
  padding-block: var(--gap-2xl);
}
.foot-newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-lg); flex-wrap: wrap;
  padding-bottom: var(--gap-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-newsletter-text h3 {
  font-size: var(--fs-h3); font-weight: 700; color: #fff; margin-bottom: 4px;
}
.foot-newsletter-text p { font-size: var(--fs-small); color: rgba(255,255,255,0.55); }
.foot-newsletter-form { display: flex; gap: var(--gap-sm); }
.foot-newsletter-form input {
  width: 280px; padding: 10px 14px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
  color: #fff; font-size: var(--fs-small);
}
.foot-newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.foot-newsletter-form button {
  padding: 10px 20px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-on);
  font-size: var(--fs-small); font-weight: 600;
  transition: background .15s ease;
}
.foot-newsletter-form button:hover { background: var(--accent-hover); }
.foot-newsletter-terms {
  font-size: var(--fs-micro); color: rgba(255,255,255,0.35);
  margin-top: 8px; width: 100%;
}
.foot-newsletter-terms a { color: rgba(255,255,255,0.5); text-decoration: underline; }

.foot-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap-lg);
  padding-block: var(--gap-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-col-title {
  font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em; margin-bottom: var(--gap-md);
}
.foot-col ul { display: flex; flex-direction: column; gap: 12px; }
.foot-col a {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6;
  transition: color .15s ease;
}
.foot-col a:hover { color: #fff; }

.foot-bottom {
  padding-top: var(--gap-lg);
  display: flex; flex-direction: column; gap: var(--gap-md);
}
.foot-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--gap-md);
  font-size: var(--fs-small); color: rgba(255,255,255,0.5);
}
.foot-bottom-row p { max-width: 720px; line-height: 1.6; }
.foot-section-links {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
}
.foot-section-links a {
  font-size: var(--fs-small); color: rgba(255,255,255,0.5);
}
.foot-section-links a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE STICKY BAR
   ═══════════════════════════════════════════════════════════════════ */
.mobile-sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 10px var(--gutter); gap: var(--gap-sm);
  box-shadow: var(--shadow-sticky);
}
.mobile-sticky-bar .price-current { font-size: 18px; }
.mobile-sticky-bar .price-old { font-size: 13px; }
.mobile-sticky-bar .btn-primary { padding: 12px 24px; width: auto; flex: 1; font-size: var(--fs-small); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .product-layout { grid-template-columns: 1fr 380px; gap: 32px; }
  .product-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .recent-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1023px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .gallery-main { aspect-ratio: 4/3; }
  .product-grid, .product-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .megamenu { width: 720px; }
  .megamenu-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .megamenu-promo { display: none; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .topnav-search { display: none; }
  .mobile-menu-trigger { display: grid; }
  .topnav-nav { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main { grid-column: span 1; aspect-ratio: 1/1; }
  .gallery-thumb { display: none; }
  .size-grid { grid-template-columns: repeat(6, 1fr); }
  .product-grid, .product-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-sm); }
  .recent-grid { grid-template-columns: repeat(2, 1fr); }
  .care-grid { grid-template-columns: 1fr; }
  .mini-adv { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-newsletter { flex-direction: column; align-items: flex-start; }
  .foot-newsletter-form { width: 100%; flex-direction: column; }
  .foot-newsletter-form input { width: 100%; }
  .foot-newsletter-form button { width: 100%; }
  .pagefoot { padding-bottom: 80px; }
  .info-banner { flex-direction: column; align-items: flex-start; }
  .reviews-summary { flex-direction: column; gap: var(--gap-lg); }
  .mobile-sticky-bar { display: flex; align-items: center; justify-content: space-between; }
  .tabs-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 479px) {
  .product-grid, .product-grid-5 { grid-template-columns: minmax(0, 1fr); }
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .mobile-sticky-bar { flex-direction: column; align-items: stretch; gap: var(--gap-xs); }
  .mobile-sticky-bar > div { text-align: center; }
  .mobile-sticky-bar .btn-primary { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
