/* =============================================================
   BARONCELLI — B2B Optics Wholesale
   Design System & Components
   Stage 1: Static markup
   ============================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand palette: dark green-black base + deep bottle green + gold (no red) */
  --ink:        #0B0D0C;   /* page background (green-black) */
  --ink-1:      #0F1210;   /* raised background          */
  --ink-2:      #141814;   /* card surface               */
  --ink-3:      #1C221D;   /* hover / elevated surface   */
  --ink-4:      #29312A;   /* borders on surfaces        */

  --cream:      #F4F1EA;   /* primary headings           */
  --text:       #CDCBC0;   /* body text                  */
  --muted:      #8A8A7E;   /* secondary text             */
  --faint:      #5B5C52;   /* disabled / hints           */

  --green:       #23443A;  /* deep bottle green — primary action */
  --green-bright:#2F5A4B;  /* green hover                */
  --green-deep:  #152720;  /* green pressed / tint bg    */

  --gold:       #C8A45C;   /* primary accent             */
  --gold-soft:  #DCC28A;   /* gold hover / highlight     */
  --gold-deep:  #9C7C3E;   /* gold pressed               */

  --danger:     #C86A5A;   /* functional form errors only */

  --line:       rgba(244, 241, 234, 0.10); /* hairlines  */
  --line-soft:  rgba(244, 241, 234, 0.06);
  --line-gold:  rgba(200, 164, 92, 0.35);

  /* Typography */
  --font-sans:  'Montserrat', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', 'Times New Roman', serif;

  /* Spacing / rhythm */
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 8px;
  --radius-btn: 25px;   /* скругление кнопок */

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;

  /* Shadow */
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Липкий подвал: на коротких страницах футер прижат к низу экрана */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > .site-footer { margin-top: auto; }

/* Subtle atmospheric backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 80% -5%, rgba(200, 164, 92, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(35, 68, 58, 0.20), transparent 55%),
    var(--ink);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }

/* Typographic scale */
h1, h2, h3, h4 { color: var(--cream); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0;
}

.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 140px); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section-head .title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--cream);
}
.section-head .eyebrow { margin-bottom: 14px; display: block; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform 0.25s var(--ease), border-color var(--dur) var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--green-bright); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: var(--line);
}
.btn--ghost:hover { background: rgba(244,241,234,0.04); border-color: var(--gold); color: var(--gold-soft); }

.btn--gold {
  --btn-bg: transparent;
  --btn-fg: var(--gold-soft);
  border-color: var(--line-gold);
}
.btn--gold:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--gold-soft); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 13, 0.72);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 60px; width: auto;transform:scale(0.9);transform-origin:left center; filter: brightness(0) invert(1); transition: opacity 0.25s var(--ease); }
.brand:hover img { opacity: 0.82; }
.brand .wordmark {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.22em;
  color: var(--cream);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto;margin-right:30px; }
.nav a {
  position: relative;
  padding: 12px 22px;
  font-family:"Montserrat",sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--cream); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
	font-size: 26px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: var(--text);
  transition: background 0.25s, color 0.25s;
  position: relative;
}.icon-btn svg {
    width: 26px;
    height: 26px;
}
.icon-btn:hover { background: var(--ink-3); color: var(--cream); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  background: var(--green-bright); color: var(--cream);
  border-radius: 8px;
}

.burger { display: none; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: min(82vh, 760px);
  padding-block: clamp(36px, 6vw, 72px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 22px; display: block; }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(33px, 5.2vw, 66px);
  line-height: 1.02;
  color: var(--cream);
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lede {
  max-width: 42ch;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
	line-height: 1.5;
  margin-bottom: 18px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 20px; }
/* В hero кнопки в одну строку (без внутренних переносов); на мобиле — в столбик на всю ширину */
.hero .hero-cta .btn { white-space: nowrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 74% center; }
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(35,68,58,0.35));
  mix-blend-mode: screen;
}
.hero-tag {
  position: absolute;
  left: 22px; bottom: 22px;
  padding: 10px 18px;
  background: rgba(12,12,13,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--cream);
  display: flex; align-items: center; gap: 8px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  padding-block: 34px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat { flex: 1 1 auto; min-width: 150px; }
.hero-stats .stat .num {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  color: var(--cream);
}
.hero-stats .stat .lbl { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

/* ---------- 7. Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.feature {
  padding: clamp(28px, 3vw, 44px);
  background: var(--ink-1);
  transition: background 0.4s var(--ease);
}
.feature:hover { background: var(--ink-2); }
.feature .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 22px;
}
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- 8. Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.95) brightness(0.85);
}
.cat-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,8,9,0.92) 4%, rgba(8,8,9,0.15) 55%, transparent);
}
.cat-card:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(0.95); }
.cat-card .cat-body {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 2.5vw, 32px);
}
.cat-card .cat-count { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.cat-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); margin: 8px 0 4px; }
.cat-card .cat-go {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text); margin-top: 14px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cat-card:hover .cat-go { opacity: 1; transform: translateY(0); }

/* ---------- 9. Product card ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.pcard {
  position: relative;
  background: var(--ink-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.pcard:hover { border-color: var(--line); transform: translateY(-4px); }
.pcard-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #060607;
}
.pcard-media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.8s var(--ease);
}
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.flag {
  padding: 5px 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px; background: rgba(12,12,13,0.75); backdrop-filter: blur(6px); color: var(--cream);
  border: 1px solid var(--line);
}
.flag--new { color: var(--gold-soft); border-color: var(--line-gold); }
.pcard-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12,12,13,0.6); backdrop-filter: blur(6px);
  color: var(--text);
  opacity: 0; transform: scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.25s, background 0.25s;
}
.pcard:hover .pcard-fav { opacity: 1; transform: scale(1); }
.pcard-fav:hover { color: var(--gold); background: rgba(12,12,13,0.85); }
.pcard-fav.active { opacity: 1; transform: scale(1); color: var(--gold); }
.pcard-fav.active svg { fill: var(--gold); stroke: var(--gold); }

/* Пустое состояние «Избранное» */
.bc-wishlist-empty { text-align: center; padding: 60px 20px; }
.bc-wishlist-empty p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }

.pcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-brand { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.pcard-name { font-size: 15.5px; font-weight: 500; color: var(--cream); line-height: 1.35; }
.pcard-meta { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.pcard-foot { margin-top: auto; padding-top: 18px; }
.pcard-foot .btn { white-space: nowrap; letter-spacing: 0.06em; }
.pcard-price,
.pcard-price * {
    color: #F2EDE3 !important;
    font-size: 18px;
    font-weight: 500;
}

.pcard-foot .btn {
    background: var(--gold) !important;
    color: var(--ink) !important;

    width: 60% !important;
    max-width: 200px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 11px 18px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.10em !important;
}

/* Price gating (B2B core) */
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-family: var(--font-serif); font-size: 22px; color: var(--cream); }
.price small { font-size: 13px; color: var(--muted); }
.price-old { font-size: 14px; color: var(--faint); text-decoration: line-through; }

.price-locked {
  display: flex; flex-direction: column; gap: 12px;
}
.price-locked .lock-note {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.45; color: var(--muted);
  padding: 11px 12px;
  background: rgba(35,68,58,0.16);
  border: 1px solid rgba(35,68,58,0.40);
  border-radius: var(--radius);
}
.price-locked .lock-note svg { flex-shrink: 0; margin-top: 1px; color: var(--gold); }

/* Elements shown only to guests / only to partners */
.is-guest .only-partner { display: none !important; }
.is-partner .only-guest { display: none !important; }
/* pending state = registered but not approved */
.is-pending .only-partner { display: none !important; }
.is-pending .only-guest  { display: none !important; }
.only-pending { display: none !important; }
.is-pending .only-pending { display: flex !important; }

.pending-note {
  align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.45; color: var(--gold-soft);
  padding: 11px 12px;
  background: rgba(200,164,92,0.08);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}
.pending-note svg { flex-shrink: 0; margin-top: 1px; }

/* ---------- 10. Marquee / brand strip (бесшовная лента) ---------- */
.brandstrip { border-block: 1px solid var(--line-soft); overflow: hidden; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* Две одинаковые группы, каждая не уже экрана → бесшовный цикл на -100% */
.marquee-group {
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: clamp(44px, 6vw, 84px);
  padding: 30px 32px;
  white-space: nowrap;
  animation: bc-marquee 45s linear infinite;
}
.marquee:hover .marquee-group { animation-play-state: paused; }
.marquee-group span {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.3s;
}
.marquee-group span:hover { color: var(--gold-soft); }
@keyframes bc-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- 11. Split / editorial band ---------- */
.band { position: relative; overflow: hidden; }
.band-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 90px); }
.band-visual { aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.band-visual img { width: 100%; height: 100%; object-fit: cover; }
.band h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 48px); margin: 16px 0 20px; }
.band p { color: var(--muted); margin-bottom: 16px; }
.band .ticks { margin: 24px 0 30px; }
.band .ticks li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); font-size: 15px; }
.band .ticks li svg { color: var(--gold); flex-shrink: 0; }
/* Редакционный блок с моделью (портретное фото) */
.band--editorial .band-visual { aspect-ratio: 4 / 4.5; max-height: 640px; }
.band--editorial .band-visual img { object-position: center top; }

/* Центрированная шапка секции */
.section-head--center { flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.section-head--center .eyebrow { margin-bottom: 14px; }
.section-sub { color: var(--muted); margin-top: 12px; max-width: 54ch; }

/* Избранная коллекция */
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.collection-card {
  display: block; background: var(--ink-1); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden; text-align: center;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.collection-card:hover { border-color: var(--line); transform: translateY(-4px); }
.collection-media { display: block; aspect-ratio: 4 / 3.4; overflow: hidden; background: #060607; }
.collection-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.collection-card:hover .collection-media img { transform: scale(1.05); }
.collection-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); color: var(--cream); margin: 22px 22px 10px; }
.collection-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 22px 26px; }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(35,68,58,0.28), transparent 70%),
    var(--ink-1);
  overflow: hidden;
}
.cta-band h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 4vw, 52px); margin-bottom: 18px; }
.cta-band p { max-width: 52ch; margin: 0 auto 32px; color: var(--muted); }
.cta-band .hero-cta { justify-content: center; }

/* ---------- 13. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-1); margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer-brand .wordmark { font-family: var(--font-serif); font-size: 24px; letter-spacing: 0.2em; color: var(--cream); }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 34ch; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a { display: block; padding: 7px 0; font-size: 14px; color: var(--text); transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--cream); padding-left: 5px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-block: 26px; border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--muted);
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: 0.25s; }
.footer-bottom .socials a:hover { border-color: var(--gold); color: var(--gold); }
/* Фирменные лого-иконки (Telegram, MAX): серые под палитру, цвет — на ховере */
.footer-bottom .socials a.social-logo { border: none; padding: 0; overflow: hidden; }
.footer-bottom .socials a.social-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; filter: grayscale(1) brightness(0.92); opacity: 0.9; transition: filter 0.25s, opacity 0.25s; }
.footer-bottom .socials a.social-logo:hover { transform: translateY(-2px); }
.footer-bottom .socials a.social-logo:hover img { filter: none; opacity: 1; }

/* ---------- 14. Page heading / breadcrumbs ---------- */
.page-head { padding-block: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line-soft); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: var(--faint); }
.page-head h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 56px); }
.page-head .sub { color: var(--muted); margin-top: 12px; max-width: 60ch; }

/* ---------- 15. Catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 288px 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; padding-block: clamp(32px, 4vw, 56px); }

.filters {
  position: sticky; top: 98px;
  background: var(--ink-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 8px 22px 22px;
}
.filter-group { border-bottom: 1px solid var(--line-soft); padding-block: 20px; }
.filter-group:last-child { border-bottom: none; }
.filter-group > summary {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream);
  cursor: pointer; list-style: none;
}
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary .chev { transition: transform 0.3s var(--ease); color: var(--muted); }
.filter-group[open] > summary .chev { transform: rotate(180deg); }
.filter-body { padding-top: 16px; }

.check {
  display: flex; align-items: center; gap: 11px;
  padding: 7px 0; cursor: pointer;
  font-size: 14px; color: var(--text);
  transition: color 0.2s;
}
.check:hover { color: var(--cream); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1px solid var(--ink-4); border-radius: 3px;
  display: grid; place-items: center;
  transition: 0.2s;
}
.check .box svg { opacity: 0; transform: scale(0.6); transition: 0.2s; color: var(--ink); }
.check input:checked + .box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 2px; }
.check .cnt { margin-left: auto; font-size: 12px; color: var(--faint); }

/* Price range slider (dual) — partner-only */
.range-wrap { padding-top: 6px; }
.range-vals { display: flex; justify-content: space-between; font-size: 13px; color: var(--cream); margin-bottom: 16px; }
.range-vals b { font-family: var(--font-serif); font-weight: 500; }
.range {
  position: relative; height: 3px; background: var(--ink-4); border-radius: 3px; margin: 18px 6px;
}
.range .fill { position: absolute; height: 100%; background: var(--gold); border-radius: 3px; }
.range input[type=range] {
  position: absolute; top: 50%; left: -6px; right: -6px; width: calc(100% + 12px);
  transform: translateY(-50%); -webkit-appearance: none; appearance: none;
  background: none; pointer-events: none; margin: 0; height: 22px;
}
.range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: all;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--gold); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.range input[type=range]::-moz-range-thumb {
  pointer-events: all; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--gold); cursor: pointer;
}

.filter-locked {
  text-align: center; padding: 18px 14px;
  border: 1px dashed var(--line-gold); border-radius: var(--radius);
  background: rgba(200,164,92,0.05);
}
.filter-locked svg { color: var(--gold); margin-bottom: 8px; }
.filter-locked p { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }

.filters-foot { display: flex; gap: 10px; margin-top: 22px; }

/* Catalog toolbar */
.cat-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft);
}
.cat-toolbar .count { font-size: 14px; color: var(--muted); }
.cat-toolbar .count b { color: var(--cream); }
/* Индикатор загрузки при реактивной фильтрации */
.catalog section.is-loading { position: relative; }
.catalog section.is-loading .product-grid { opacity: .4; pointer-events: none; transition: opacity .2s; }
.catalog section.is-loading::after { content: ""; position: absolute; top: 90px; left: 50%; width: 34px; height: 34px; margin-left: -17px; border: 3px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: bc-spin .7s linear infinite; z-index: 3; }
@keyframes bc-spin { to { transform: rotate(360deg); } }
.toolbar-right { display: flex; align-items: center; gap: 14px; }
.select {
  position: relative; display: inline-flex; align-items: center;
}
.select select {
  appearance: none; -webkit-appearance: none;
  background: var(--ink-2); border: 1px solid var(--line); color: var(--text);
  padding: 11px 40px 11px 16px; border-radius: var(--radius); font-size: 13px; cursor: pointer;
}
.select svg { position: absolute; right: 14px; pointer-events: none; color: var(--muted); }
.filter-toggle { display: none; }

.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; font-size: 12.5px; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 40px;
}
.chip button { display: grid; place-items: center; color: var(--muted); transition: color 0.2s; }
.chip button:hover { color: var(--gold); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 8px;
  display: grid; place-items: center; border-radius: var(--radius);
  border: 1px solid var(--line); font-size: 14px; color: var(--text);
  transition: 0.25s;
}
.pagination a:hover { border-color: var(--gold); color: var(--cream); }
.pagination .current { background: var(--green); border-color: var(--green); color: var(--cream); }
.pagination .dots { border: none; }

/* ---------- 16. Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: clamp(28px, 4vw, 52px); }
.gallery { position: sticky; top: 98px; }
.gallery-main {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #060607; margin-bottom: 14px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-thumbs button {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); opacity: 0.6; transition: 0.25s; background: #060607;
}
.gallery-thumbs button.is-active { opacity: 1; border-color: var(--gold); }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info .pdp-brand { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.pdp-info h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 44px); margin: 12px 0 8px; }
.pdp-info .art { font-size: 13px; color: var(--muted); }
.pdp-desc { color: var(--text); margin: 24px 0; line-height: 1.75; }

.pdp-price-box {
  padding: 22px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--ink-1); margin-block: 26px;
}
.pdp-price-box .price { font-size: 34px; }
.pdp-price-box .price-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.pdp-buy { display: flex; gap: 12px; margin-top: 20px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 46px; height: 50px; display: grid; place-items: center; color: var(--text); transition: color 0.2s; }
.qty button:hover { color: var(--gold); }
.qty input { width: 52px; height: 50px; text-align: center; background: none; border: none; color: var(--cream); font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Specs */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; margin:26px 0;}
.spec {
    display: grid;
    grid-template-columns: 85px 1fr;
    align-items: center;
    gap: 8px;
    padding: 14px 14px;
    background: var(--ink-1);
    font-size: 14px;
}
.spec .k { color: var(--muted);text-align:left; }
.spec .v { color: var(--cream); font-weight: 500; text-align: center; }
.specs .spec:nth-child(1) { grid-column: 2; grid-row: 1; }
.specs .spec:nth-child(2) { grid-column: 1; grid-row: 1; }
/* Stock table */
.stock-title { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); margin: 30px 0 14px; }
.stock-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.stock-table th, .stock-table td { padding: 13px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.stock-table th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--ink-1); }
.stock-table td { color: var(--text); }
.stock-table tr:last-child td { border-bottom: none; }
.swatch { display: inline-flex; align-items: center; gap: 10px; }
.swatch .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; }
.instock { color: #7FB77E; font-weight: 600; }
.highstock { color: #8FD08B; font-weight: 600; }
.lowstock { color: var(--gold-soft); font-weight: 600; }
.outstock { color: var(--faint); }

.accordion { border-top: 1px solid var(--line-soft); margin-top: 8px; }
.accordion details { border-bottom: 1px solid var(--line-soft); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 2px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; color: var(--cream); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .chev { transition: transform 0.3s; color: var(--muted); }
.accordion details[open] summary .chev { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 2px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- 17. Account / auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding-block: clamp(40px, 6vw, 84px); }
.auth-aside { position: relative; }
.auth-aside .display { font-family: var(--font-serif); font-weight: 500; font-size: clamp(24px, 3vw, 48px); color: var(--cream); line-height: 1.1; margin: 18px 0 22px; }
.auth-aside p {
    color: var(--muted);
    max-width: 52ch;
    margin-bottom: 38px;
    line-height: 1.8;
}
.auth-perks li {
    display: flex;
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    line-height: 1.55;
}
.auth-perks svg { color: var(--gold); flex-shrink: 0; }

.auth-card { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 42px); box-shadow: var(--shadow); }
.tabs { display: flex; gap: 4px; padding: 5px; background: var(--ink); border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 28px; }
.tabs button { flex: 1; padding: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); border-radius: 3px; transition: 0.3s; }
.tabs button.is-active { background: var(--gold); color: var(--ink); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--text); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; background: var(--ink); color: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.25s, background 0.25s;
}
.field input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--ink-1); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 7px; }
.field.error input { border-color: var(--danger); }
.field .err-msg { display: none; font-size: 12px; color: var(--danger); margin-top: 6px; }
.field.error .err-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-agree { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 22px; font-size: 13px; color: var(--muted); }
.form-agree a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.auth-msg {
  display: none; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius); margin-bottom: 22px;
  font-size: 14px; line-height: 1.55;
}
.auth-msg.show { display: flex; }
.auth-msg.ok { background: rgba(200,164,92,0.08); border: 1px solid var(--line-gold); color: var(--gold-soft); }
.auth-msg svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- 18. Stub / "in development" ---------- */
.stub { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.stub-inner { max-width: 560px; }
.stub .badge-dev {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line-gold); border-radius: 40px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 26px;
}
.stub .badge-dev .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.stub h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 5vw, 64px); margin-bottom: 20px; }
.stub p { color: var(--muted); font-size: 17px; margin-bottom: 34px; }

/* ---------- 19. Demo state switcher (dev only) ---------- */
.demo-bar {
  position: fixed; z-index: 200; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 46px;
  background: rgba(16,16,18,0.92); backdrop-filter: blur(14px);
  border: 1px solid var(--line-gold); box-shadow: var(--shadow);
  font-size: 12px;
}
.demo-bar .lbl { color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; padding-left: 6px; }
.demo-bar .seg { display: flex; background: var(--ink); border: 1px solid var(--line-soft); border-radius: 40px; padding: 3px; }
.demo-bar .seg button { padding: 7px 13px; border-radius: 40px; font-size: 12px; color: var(--muted); transition: 0.25s; white-space: nowrap; }
.demo-bar .seg button.on { background: var(--green-bright); color: var(--cream); }
.demo-bar .hide { color: var(--faint); padding: 6px; }
.demo-bar.collapsed .seg, .demo-bar.collapsed .lbl { display: none; }

/* ---------- 20. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; transition: opacity 0.35s; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
  background: var(--ink-1); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; padding: 22px;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.drawer-nav a { display: block; padding: 15px 4px; font-size: 18px; color: var(--cream); border-bottom: 1px solid var(--line-soft); font-family: var(--font-serif); }
.drawer-foot { margin-top: auto; padding-top: 20px; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .catalog { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0; top: auto; z-index: 160; max-height: 84vh; overflow-y: auto;
    border-radius: 16px 16px 0 0; transform: translateY(100%); transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow); margin: 0;
  }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .filters-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
  /* Тулбар каталога: на планшете/мобиле селект не должен вылезать за экран */
  .toolbar-right { flex: 1 1 100%; }
  .toolbar-right .select { flex: 1 1 auto; }
  .toolbar-right .select select { width: 100%; }
}
@media (min-width: 1081px) { .filters-mobile-head, .filters-scrim { display: none; } }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; }
  /* Фикс мобильной шапки: иконки+бургер прижаты вправо (margin-left:auto жил на скрытом .nav) */
  .header-actions { margin-left: auto; }
  .features { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .collection-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .band-inner { grid-template-columns: 1fr; }
  .band-visual { order: -1; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .specs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-inner { height: 76px; gap: 14px; }
  .brand img { height: 48px; }
  .brand .wordmark { font-size: 17px; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .hero .hero-cta { flex-direction: column; }
  .hero .hero-cta .btn { flex: none; width: 100%; max-width: none; }
  .pdp-buy { flex-direction: column; }
  .demo-bar { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
}

.filters-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 155; opacity: 0; visibility: hidden; transition: opacity 0.35s; }
.filters-scrim.open { opacity: 1; visibility: visible; }

/* Utilities */
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }
.text-gold { color: var(--gold); }

.footer-brand img {
    width: 250px;
    max-width: 100%;
    height: auto;
}
/* 隐藏数量框原生小箭头 */
.woocommerce .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}

.woocommerce .quantity input.qty {
    -moz-appearance: textfield !important;
}
/* 数量框 */
.woocommerce .quantity {
    position: relative !important;
    width: 120px !important;
}

.woocommerce .quantity input.qty {
    width: 120px !important;
    height: 70px !important;
    padding: 0 38px 0 15px !important;
    text-align: center !important;
}

/* 上下箭头固定在数量框右侧 */
.woocommerce .quantity .qty-arrows {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.woocommerce .quantity .qty-arrow {
    width: 25px !important;
    height: 23px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #CBA45C !important;
    font-size: 12px !important;
    line-height: 23px !important;
    cursor: pointer !important;
}
.woocommerce .quantity {
    width: 72px !important;
}

.woocommerce .quantity input.qty {
    width: 72px !important;
}
/* Telegram 和 MAX 图标始终显示原始彩色 */
.socials .social-logo {
    filter: none !important;
    opacity: 1 !important;
    transform: none;
}
.socials a img {
    filter: none !important;
    opacity: 1 !important;
}

.footer-phones {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.footer-phones a {
    display: inline !important;
    margin: 0 !important;
}

.contact-info-columns,
.contact-info-columns p,
.contact-info-columns a {
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

.contact-info-columns > .wp-block-column > p:first-child {
   
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    /* Контакты：三栏改成手机端一列 */
    .contact-info-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
        width: 100% !important;
        margin-bottom: 25px !important;
    }

    .contact-info-columns > .wp-block-column {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .contact-info-columns p,
    .contact-info-columns a {
        margin: 4px 0 !important;
        white-space: normal !important;
    }

    /* 手机上不要 100px 的大空隙 */
    .contact-info-columns + .wp-block-spacer {
        height: 25px !important;
    }

    /* 地图占满手机宽度 */
    .wp-block-html iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 420px !important;
        display: block !important;
    }

    /* 页脚手机端改为单列 */
    .site-footer .footer-top {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
        padding: 35px 24px !important;
    }

    .site-footer .footer-brand,
    .site-footer .footer-col {
        width: 100% !important;
        min-width: 0 !important;
    }

    .site-footer .footer-bottom {
        display: block !important;
        padding: 20px 24px !important;
    }
}

/* ===== WooCommerce 按钮：香槟金 ===== */

.woocommerce-message .button,
.woocommerce-cart-form .button,
.woocommerce-cart-form button,
.woocommerce a.button,
.woocommerce button.button {
    background: #C8A45C !important;
    color: #141814 !important;
    border-color: #C8A45C !important;
}

.woocommerce-message .button:hover,
.woocommerce-cart-form .button:hover,
.woocommerce-cart-form button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: #DCC28A !important;
    color: #141814 !important;
    border-color: #DCC28A !important;
}


/* ===== 加入购物车后的提示条排版 ===== */

.woocommerce-message {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

.woocommerce-message .continue-shopping {
    order: 2;
}

.woocommerce-message .wc-forward {
    order: 3;
}


/* ===== 手机端 ===== */

@media (max-width: 768px) {

    .woocommerce-message {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .woocommerce-message .button {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }
}

public function simplify_fields( $fields ) {

    if ( empty( $fields['billing'] ) || ! is_array( $fields['billing'] ) ) {
        return $fields;
    }

    $b   = $fields['billing'];
    $uid = get_current_user_id();

    // 不需要的地址字段
    foreach ( array(
        'billing_address_1',
        'billing_address_2',
        'billing_state',
        'billing_postcode',
        'billing_country',
        'billing_company'
    ) as $key ) {
        unset( $b[ $key ] );
    }

  /* Checkout：隐藏“Платёжные реквизиты”标题 */
.woocommerce-checkout .woocommerce-billing-fields > h3 {
    display: none !important;
}

