/* ALECXA Dancewear — catalogue theme */
:root {
  --paper: #f7f3ed;
  --paper-deep: #f0e9e1;
  --ink: #2e2019;
  --muted: #75665d;
  --line: #ddd2c7;
  --accent: #9b745c;
  --accent-dark: #79543f;
  --accent-light: #c9a98e;
  --warm-glow: rgba(155,116,92,.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page-pad: clamp(20px, 3.7vw, 58px);
  --card-radius: 6px;
  --shadow-sm: 0 1px 3px rgba(46,32,25,.06);
  --shadow-md: 0 4px 16px rgba(46,32,25,.08);
  --shadow-lg: 0 12px 40px rgba(46,32,25,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  min-height: 260px;
  padding: 15px var(--page-pad) 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  position: relative;
  background: linear-gradient(180deg, #faf6f0 0%, var(--paper) 100%);
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--page-pad);
  right: var(--page-pad);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 20%, var(--line) 80%, transparent 100%);
}
.header-pill { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; background: rgba(255,255,255,.45); backdrop-filter: blur(6px); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; cursor: pointer; transition: all .25s ease; }
.header-pill:hover { background: rgba(255,255,255,.7); border-color: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.menu-trigger { justify-self: start; margin-top: 23px; }
.hamburger { width: 18px; display: flex; flex-direction: column; gap: 4px; }
.hamburger i { display: block; height: 1px; width: 18px; background: currentColor; transition: width .2s ease; }
.menu-trigger:hover .hamburger i:nth-child(2) { width: 13px; }
.order-trigger { justify-self: end; margin-top: 23px; min-width: 142px; color: #fffaf5; background: var(--accent); border-color: var(--accent); }
.order-trigger:hover { background: var(--accent-dark); color: white; border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(155,116,92,.3); }
.order-trigger svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.brand { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 236px; }
.brand-logo { height: clamp(140px, 18vw, 220px); width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(46,32,25,.06)); }
.brand-tagline { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; opacity: .85; }

/* ── Layout ──────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: clamp(25px, 3.8vw, 50px); padding: 28px var(--page-pad) 76px; align-items: start; }

/* ── Filters ─────────────────────────────────────────── */
.filters { min-width: 0; padding-top: 8px; position: sticky; top: 20px; }
.filter-section { border-top: 1px solid var(--line); padding: 16px 0 20px; }
.filter-heading { width: 100%; background: none; border: 0; padding: 0 0 12px; display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; letter-spacing: .17em; font-size: 10.5px; cursor: pointer; text-align: left; font-weight: 500; color: var(--ink); }
.chevron { font-family: var(--sans); font-size: 14px; line-height: 1; transform: translateY(1px); transition: transform .25s ease; }
.filter-heading[aria-expanded="false"] .chevron { transform: rotate(180deg); }
.filter-options { display: grid; gap: 9px; }
.filter-options.collapsed { display: none; }
.compact-options { gap: 9px; }
.check-row { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.25; color: #4d4039; transition: color .2s; }
.check-row:hover { color: var(--ink); }
.check-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.custom-check { flex: 0 0 15px; width: 15px; height: 15px; border: 1.5px solid #b5a599; border-radius: 3px; display: inline-block; position: relative; background: transparent; transition: all .2s ease; }
.check-row:hover .custom-check { border-color: var(--accent); }
.check-row input:checked + .custom-check { background: var(--accent); border-color: var(--accent); }
.check-row input:checked + .custom-check:after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 7px; border: solid white; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.check-row input:focus-visible + .custom-check { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-row em { font-style: normal; color: #94867c; }
.color-options { display: grid; grid-template-columns: repeat(4, 26px); gap: 9px 14px; padding-top: 2px; }
.color-options.collapsed { display: none; }
.color-filter { width: 26px; height: 26px; border: 0; border-radius: 50%; padding: 0; background: var(--swatch); cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; transition: all .2s ease; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.color-filter:hover { transform: scale(1.12); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.1); }
.color-filter.is-selected { outline-color: var(--accent); }
.color-filter-white { border: 1px solid #e0d6cd; }
.price-filter { padding: 6px 2px 0; }
.price-filter.collapsed { display: none; }
.price-labels { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 13px; font-weight: 500; }
input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; height: 4px; }
.filter-actions { display: grid; gap: 8px; padding-top: 10px; }
.button { min-height: 38px; border-radius: 999px; padding: 0 20px; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 500; cursor: pointer; transition: all .25s ease; }
.button-primary { border: 1px solid var(--accent); background: var(--accent); color: #fffaf5; }
.button-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 3px 10px rgba(155,116,92,.25); }
.button-secondary { background: transparent; border: 1px solid var(--line); color: #66574f; }
.button-secondary:hover { background: #efe6dd; border-color: #cdb9a8; }

/* ── Catalog toolbar ─────────────────────────────────── */
.catalog { min-width: 0; }
.catalog-toolbar { display: flex; min-height: 42px; align-items: center; justify-content: flex-end; gap: 20px; margin-bottom: 18px; }
.product-count { margin: 0 auto 0 0; color: #86776e; font-size: 12px; letter-spacing: .04em; font-family: var(--sans); }
.product-count span { font-weight: 600; color: var(--ink); }
.sort-wrap { width: min(196px, 40%); position: relative; }
.sort-wrap select { appearance: none; width: 100%; height: 36px; padding: 0 31px 0 12px; border: 1px solid var(--line); background: rgba(255,255,255,.4); border-radius: var(--card-radius); color: #51443c; font-family: var(--serif); font-size: 13px; cursor: pointer; transition: border-color .2s, background .2s; }
.sort-wrap select:hover { border-color: var(--accent-light); background: rgba(255,255,255,.6); }
.sort-wrap:after { content: "⌄"; position: absolute; right: 11px; top: 5px; font-size: 17px; pointer-events: none; color: var(--muted); }

/* ── Product Grid ────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 14px; }

/* ── Product Card ────────────────────────────────────── */
.product-card {
  min-width: 0;
  cursor: pointer;
  animation: fade-up .35s ease both;
  border-radius: var(--card-radius);
  transition: transform .3s ease;
}
.product-card:hover { transform: translateY(-3px); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.product-photo {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ede5db 0%, #e0d5c9 100%);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.product-card:hover .product-photo { box-shadow: var(--shadow-md); }
.product-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.25,1), opacity .3s ease; }
.product-card:hover .product-photo img { transform: scale(1.04); }

/* Quick-view overlay on hover */
.product-photo::after {
  content: 'Quick view';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent, rgba(46,32,25,.55));
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.product-card:hover .product-photo::after { opacity: 1; transform: translateY(0); }

.product-details { padding: 10px 4px 0; }
.product-name {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.swatches { display: flex; align-items: center; gap: 5px; min-height: 18px; margin: 6px 0 0; }
.swatches i { display: inline-block; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .2s; }
.product-card:hover .swatches i { transform: scale(1.1); }
.swatches span { color: #86776e; font-family: var(--sans); font-size: 10px; margin-left: 1px; }
.product-price { margin: 5px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; color: var(--ink); }
.product-sizes { margin: 4px 0 0; font-family: var(--sans); font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.stock-badge { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 3px; font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .03em; line-height: 1.6; }
.stock-badge.in-stock { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.stock-badge.out-of-stock { background: #fbe9e7; color: #c62828; border: 1px solid #ffcdd2; }
.product-card.out-of-stock .product-photo { opacity: .5; }
.product-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 5px; }
.store-label { font-family: var(--sans); font-size: 8px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-right: 2px; }
.store-tag { display: inline-block; padding: 1px 7px; background: var(--paper-deep); border: 1px solid var(--line); border-radius: 3px; font-family: var(--sans); font-size: 8px; color: var(--muted); letter-spacing: .03em; line-height: 1.6; }

/* ── States ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 90px 20px; color: var(--muted); }
.empty-mark { display: block; font-size: 56px; color: var(--accent-light); opacity: .6; margin-bottom: 4px; }
.empty-state h2 { margin: 8px 0 6px; font-size: 26px; font-weight: 400; color: var(--ink); }
.empty-state p { margin: 0 auto 22px; font-size: 15px; max-width: 320px; line-height: 1.5; }
.loading-state { text-align: center; padding: 90px 20px; color: var(--muted); }
.loading-spinner { width: 30px; height: 30px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; margin: 0 auto 16px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state p { font-size: 14px; font-style: italic; }
.mobile-filter-bar { display: none; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  margin: 0 var(--page-pad);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--sans);
  color: #88786d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.site-footer span:nth-child(2) { font-family: var(--serif); font-style: italic; font-size: 16px; text-transform: none; letter-spacing: .02em; color: var(--ink); }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--accent-dark); }

/* ── Scrim & Panels ──────────────────────────────────── */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(38,25,18,.34); backdrop-filter: blur(3px); transition: opacity .3s; }
.menu-panel { position: fixed; z-index: 21; inset: 0 auto 0 0; width: min(430px, 91vw); background: var(--paper); padding: 30px clamp(26px, 5vw, 54px); transform: translateX(-102%); transition: transform .32s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; box-shadow: 10px 0 40px rgba(48,31,22,.1); }
.menu-panel.is-open { transform: translateX(0); }
.panel-top, .dialog-head { display: flex; align-items: center; justify-content: space-between; }
.eyebrow { font-family: var(--sans); font-size: 9px; letter-spacing: .19em; color: var(--muted); text-transform: uppercase; }
.icon-close { border: 1px solid var(--line); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.4); font-size: 22px; line-height: 1; cursor: pointer; font-weight: 300; transition: all .2s; }
.icon-close:hover { background: #eee4db; border-color: var(--accent-light); transform: rotate(90deg); }
.panel-title { font-size: clamp(42px, 7vw, 59px); line-height: .92; margin: 70px 0 45px; }
.panel-title em, .order-form h2 em { font-weight: 400; }
.menu-link { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 17px 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; text-align: left; font-size: 19px; cursor: pointer; transition: color .2s, padding-left .2s; }
.menu-link span { font-family: var(--sans); font-size: 15px; color: var(--accent); transition: transform .2s; }
.menu-link:hover { color: var(--accent-dark); padding-left: 6px; }
.menu-link:hover span { transform: translateX(3px); }
.menu-note { margin-top: auto; max-width: 230px; font-size: 17px; line-height: 1.35; color: var(--muted); }
.order-dialog { width: min(640px, calc(100% - 30px)); max-height: calc(100% - 30px); border: 1px solid var(--line); padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(46,32,25,.2); border-radius: var(--card-radius); }
.order-dialog::backdrop { background: rgba(38,25,18,.43); backdrop-filter: blur(3px); }
.order-form { padding: clamp(25px, 5vw, 47px); }
.order-form h2 { margin: 26px 0 9px; font-size: clamp(37px, 6vw, 51px); font-weight: 400; line-height: .9; }
.dialog-intro { max-width: 435px; color: var(--muted); font-size: 17px; line-height: 1.3; margin: 0 0 23px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 13px; }
.form-grid label { display: grid; gap: 6px; font-family: var(--sans); font-size: 10px; text-transform: uppercase; letter-spacing: .11em; color: #75665d; }
.form-grid .full-width { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; background: #fbf8f3; color: var(--ink); padding: 12px 11px; font-family: var(--serif); font-size: 15px; text-transform: none; letter-spacing: normal; outline-offset: 0; transition: border-color .2s; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--accent); }
.form-grid textarea { resize: vertical; }
.submit-order { margin-top: 18px; width: 100%; min-height: 45px; display: flex; justify-content: space-between; align-items: center; padding: 0 19px; }
.submit-order span { font-size: 18px; }
.order-summary { width: 100%; margin-top: 10px; padding: 10px; border: 1px solid var(--line); color: var(--ink); background: #fbf8f3; font-size: 12px; line-height: 1.45; border-radius: 4px; }

/* Active filter count badge */
.active-filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 9px; font-weight: 600; margin-left: 6px; }

/* ── Responsive: XL ──────────────────────────────────── */
@media (min-width: 1500px) {
  .shop-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 55px; }
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 16px; }
}

/* ── Responsive: Tablet ──────────────────────────────── */
@media (max-width: 1050px) {
  .site-header { min-height: 200px; }
  .shop-layout { grid-template-columns: 160px minmax(0,1fr); gap: 25px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; }
  .product-price { font-size: 14px; }
  .color-options { grid-template-columns: repeat(4, 23px); gap: 9px 11px; }
  .color-filter { width: 23px; height: 23px; }
}

/* ── Responsive: Mobile ──────────────────────────────── */
@media (max-width: 760px) {
  :root { --page-pad: 18px; }
  .site-header { min-height: 163px; padding-top: 12px; padding-bottom: 17px; align-items: start; grid-template-columns: 1fr auto 1fr; background: linear-gradient(180deg, #faf6f0 0%, var(--paper) 100%); }
  .site-header::after { left: var(--page-pad); right: var(--page-pad); }
  .header-pill { min-height: 37px; padding: 0 13px; gap: 8px; font-size: 9px; letter-spacing: .1em; }
  .menu-trigger, .order-trigger { margin-top: 8px; }
  .order-trigger { min-width: auto; }
  .brand { min-width: 120px; }
  .brand-logo { height: 120px; }
  .brand-tagline { font-size: 11px; }
  .shop-layout { display: block; padding-bottom: 45px; }
  .filters { display: none; position: static; }
  .catalog-toolbar { margin-bottom: 10px; min-height: 35px; }
  .product-count { display: none; }
  .sort-wrap { width: 166px; margin-left: auto; }
  .sort-wrap select { font-size: 12px; height: 32px; }
  .mobile-filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-family: var(--sans); color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
  .mobile-filter-bar .button { min-height: 33px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .product-photo { aspect-ratio: 4 / 5; }
  .product-photo::after { display: none; }
  .swatches { gap: 5px; margin-top: 6px; }
  .swatches i { flex-basis: 14px; width: 14px; height: 14px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 15px; margin-top: 4px; }
  .site-footer { min-height: 76px; flex-wrap: wrap; justify-content: center; padding: 17px 0; gap: 9px 17px; text-align: center; }
  .site-footer span:nth-child(2) { width: 100%; order: -1; }
  .menu-panel { padding-top: 24px; }
  .filters.mobile-filters-open { display: block; position: fixed; z-index: 22; left: 0; top: 0; bottom: 0; width: min(340px, 91vw); overflow-y: auto; padding: 25px 22px 34px; background: var(--paper); transform: translateX(-102%); transition: transform .32s cubic-bezier(.2,.7,.2,1); box-shadow: 10px 0 40px rgba(48,31,22,.08); }
  .filters.mobile-filters-visible { transform: translateX(0); }
  .mobile-filters-open .filter-actions { padding-bottom: 20px; }
}
@media (max-width: 390px) { .brand { min-width: 100px; } .brand-logo { height: 100px; } .header-pill { padding: 0 10px; } .menu-trigger { gap: 6px; } .order-trigger svg { display: none; } .brand-tagline { display: none; } }

/* ── Product Detail Dialog ──────────────────────────── */
.product-dialog { width: min(960px, calc(100% - 30px)); max-height: calc(100% - 30px); border: 0; border-radius: 8px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.product-dialog::backdrop { background: rgba(38,25,18,.5); backdrop-filter: blur(4px); }
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; max-height: calc(100vh - 60px); position: relative; }
.pd-close { position: absolute; top: 14px; right: 14px; z-index: 5; }

/* Slider */
.pd-slider { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(135deg, #ede5db 0%, #e0d5c9 100%); }
.pd-slides { display: flex; height: 100%; transition: transform .35s cubic-bezier(.25,.8,.25,1); }
.pd-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.pd-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(247,243,237,.9); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 2; box-shadow: var(--shadow-sm); }
.pd-arrow:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-50%) scale(1.05); }
.pd-prev { left: 12px; }
.pd-next { right: 12px; }
.pd-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.pd-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: all .25s; }
.pd-dot:hover { background: rgba(255,255,255,.7); }
.pd-dot.active { background: #fff; transform: scale(1.3); box-shadow: 0 1px 4px rgba(0,0,0,.15); }

/* Info panel */
.pd-info { padding: 40px 36px; overflow-y: auto; max-height: calc(100vh - 60px); }
.pd-code { font-family: var(--sans); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.pd-name { font-size: clamp(24px, 3vw, 34px); font-weight: 500; line-height: 1.1; margin: 8px 0 12px; }
.pd-price { font-size: 24px; font-weight: 600; margin: 0 0 16px; color: var(--ink); }
.pd-desc { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0 0 24px; }
.pd-section { margin-bottom: 20px; }
.pd-label { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pd-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-size-tag { padding: 6px 16px; border: 1px solid var(--line); border-radius: 4px; font-family: var(--sans); font-size: 12px; letter-spacing: .05em; background: transparent; color: var(--ink); transition: all .2s; }
.pd-size-tag:hover { background: var(--warm-glow); border-color: var(--accent-light); }
.pd-colors { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pd-color-dot { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.pd-color-name { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-left: 2px; margin-right: 6px; }
.pd-stock { font-family: var(--sans); font-size: 13px; margin: 0; letter-spacing: .03em; }
.pd-stock-total { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pd-store-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-store-tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; background: var(--paper-deep); border: 1px solid var(--line); border-radius: 4px; font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.pd-store-tag strong { color: var(--ink); font-weight: 600; }
.pd-out-of-stock { color: #c62828; font-weight: 600; }

/* Contact section */
.pd-contact { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pd-contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pd-contact-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--line); border-radius: var(--card-radius); font-family: var(--sans); font-size: 13px; letter-spacing: .03em; color: var(--ink); text-decoration: none; transition: all .25s ease; }
.pd-contact-btn:hover { background: var(--warm-glow); border-color: var(--accent-light); transform: translateX(3px); }
.pd-contact-btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.pd-contact-btn.messenger svg { fill: #0084FF; }
.pd-contact-btn.instagram svg { fill: #E1306C; }
.pd-contact-btn.phone svg { fill: var(--accent); }

/* Mobile product dialog */
@media (max-width: 760px) {
  .product-dialog { width: calc(100% - 16px); max-height: calc(100% - 16px); border-radius: 8px; }
  .pd-layout { grid-template-columns: 1fr; max-height: calc(100vh - 32px); overflow-y: auto; }
  .pd-slider { aspect-ratio: 1 / 1; }
  .pd-info { padding: 24px 20px; overflow-y: visible; max-height: none; }
  .pd-name { font-size: 22px; }
  .pd-price { font-size: 20px; }
  .pd-close { top: 10px; right: 10px; background: rgba(247,243,237,.9); z-index: 5; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
