/* ==========================================================================
   M. JEWELRY — main stylesheet
   RTL (Hebrew) and LTR (English) share one stylesheet: layout uses logical
   properties; directional icons flip via .icon-dir.
   ========================================================================== */

/* ---------- Fonts (self-hosted variable fonts) ---------- */
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/frank-ruhl-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/frank-ruhl-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/rubik-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/rubik-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }



/* ---------- Tokens ---------- */
:root {
  --wine: #180303;
  --wine-deep: #0E0101;
  --wine-raise: #210606;
  --ivory: #EDECEA;
  --ivory-2: #E3E2DF;
  --paper: #F6F5F3;
  --grey: #D9D9D9;
  --muted: #B9ABAB;        /* body text on wine */
  --muted-2: #A89A9A;
  --ink-muted: #6A5A5A;    /* secondary text on ivory (5.6:1) */
  --ink-body: #3B2A2A;
  --gold: #AE8A40;
  --gold-2: #C9A866;
  --gold-3: #E0C48A;
  --gold-ink: #765920;     /* gold text on ivory (5.2:1) */
  --green: #3F6B3A;
  --sale: #9A2A2A;
  --line-dark: rgba(217, 217, 217, 0.14);
  --line-light: rgba(24, 3, 3, 0.14);

  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(16px, 5.5vw, 80px);
  --maxw: 1440px;
  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 32px;
  --header-h: 128px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --end-sign: 1;           /* +1 LTR, -1 RTL: which way "inline-end" is on screen */

  --focus: var(--gold-ink);
}
[dir="rtl"] { --end-sign: -1; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wine);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.surface-dark { background: var(--wine); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul[role="list"], ol[role="list"], .main-nav__list, .mobile-nav, .site-footer__links { list-style: none; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
hr { border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.section--dark, .site-header, .site-footer, .page-hero, .hero, .dialog--menu, .dialog--lightbox, .summary-card, .article__hero, .notfound, .marquee, .cta-box, .info-card--dark, .newsletter, .help-card, .promo-card { --focus: var(--gold-3); }
::selection { background: var(--gold); color: var(--wine); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-inline-start: 16px; top: 12px; z-index: 1000;
  padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--wine); font-weight: 500;
  transform: translateY(-150%); transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }
.site-main:focus { outline: none; }

html:not([dir="rtl"]) .icon-dir { transform: scaleX(-1); }

/* ---------- Typography ---------- */
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1.05; letter-spacing: -0.005em; }
.h2--sm { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.1; }
.lead { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.75; color: var(--muted); }
.section--light .lead { color: var(--ink-body); }
.accent { color: var(--gold-2); font-weight: 400; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.24em; color: var(--gold-2); text-transform: uppercase; }
.section--light .eyebrow, .eyebrow--ink { color: var(--gold-ink); }
.eyebrow--muted { color: var(--ink-muted); letter-spacing: 0.18em; }
.eyebrow--line::before { content: ""; width: 40px; height: 1px; background: var(--gold); flex-shrink: 0; }
.lang-en .eyebrow { letter-spacing: 0.2em; }

.prose { font-size: 17px; line-height: 1.8; color: var(--ink-body); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; color: var(--wine); line-height: 1.2; margin-top: 1.6em; }
.prose h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.prose h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); }
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--gold); }
.prose img { border-radius: var(--radius); }
.prose blockquote {
  margin: 1.5em 0; padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px); border-radius: 28px;
  background: var(--wine); color: var(--ivory); font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 300; line-height: 1.35;
}
.prose blockquote::before { content: "״"; display: block; font-size: 64px; line-height: .6; color: var(--gold); margin-bottom: 12px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line-light); text-align: start; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--dark { background: var(--wine); color: var(--ivory); }
.section--light { background: var(--ivory); color: var(--wine); }
.section--flush-top { padding-top: 0; }
.section--page { padding-block: clamp(48px, 6vw, 88px); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head__text { display: flex; flex-direction: column; gap: 14px; }
.section-head__tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.section-head__sep { width: 1px; height: 28px; background: var(--line-light); margin-inline: 8px; }
.section-head__lead { max-width: 480px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.section-head__lead--narrow { max-width: 360px; }
.section--light .section-head__lead { color: var(--ink-muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s, transform .35s var(--ease-out), box-shadow .3s;
  will-change: transform;
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; }
.btn--lg { --h: 58px; padding-inline: 32px; font-size: 16px; }
.btn--sm { --h: 44px; padding-inline: 18px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--wine); }
.btn--gold:hover { background: var(--gold-3); box-shadow: 0 10px 30px -10px rgba(174, 138, 64, .7); }
.btn--dark { background: var(--wine); color: var(--ivory); }
.btn--dark:hover { background: #2c0808; box-shadow: 0 10px 30px -12px rgba(24, 3, 3, .6); }
.btn--dark::after { background: linear-gradient(110deg, transparent 30%, rgba(224, 196, 138, .35) 50%, transparent 70%); }
.btn--ghost { border-color: rgba(217, 217, 217, .35); color: var(--ivory); background: transparent; }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-3); }
.btn--outline { border-color: rgba(24, 3, 3, .25); color: var(--wine); background: transparent; }
.btn--outline:hover { border-color: var(--wine); background: rgba(24, 3, 3, .04); }
.btn--outline-gold { border-color: rgba(174, 138, 64, .6); color: var(--gold-ink); background: transparent; }
.btn--outline-gold:hover { background: rgba(174, 138, 64, .1); border-color: var(--gold); }
.site-header .btn--outline-gold, .section--dark .btn--outline-gold { color: var(--gold-3); border-color: rgba(201, 168, 102, .55); }

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit;
  transition: background-color .25s, color .25s, transform .3s var(--ease-out), border-color .25s;
}
.icon-btn:hover { background: rgba(217, 217, 217, .1); }
.icon-btn:active { transform: scale(.92); }
.icon-btn--sm { width: 36px; height: 36px; }
.icon-btn--lg { width: 60px; height: 60px; }
.icon-btn--outline { border: 1px solid rgba(24, 3, 3, .2); }
.icon-btn--outline:hover { border-color: var(--wine); background: rgba(24, 3, 3, .04); }
.icon-btn--light { background: rgba(237, 236, 234, .92); color: var(--wine); }
.icon-btn--light:hover { background: #fff; }
.icon-btn--ghost { border: 1px solid var(--line-dark); }

.round-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: inherit;
  transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.round-btn--gold { background: var(--gold); color: var(--wine); }
.round-btn--dark { background: var(--wine); color: var(--ivory); }
.round-btn--outline { border: 1px solid rgba(24, 3, 3, .2); color: var(--wine); }
.round-btn--outline:hover { border-color: var(--wine); }
.round-btn--line { border: 1px solid rgba(201, 168, 102, .6); color: var(--gold-2); }
.round-btn--line-dark { border: 1px solid rgba(24, 3, 3, .2); color: var(--gold-ink); }
.round-btn[disabled] { opacity: .35; cursor: default; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--gold-3); font-size: 16px; border-bottom: 1px solid rgba(201, 168, 102, .5);
  transition: gap .3s var(--ease-out), border-color .3s;
}
.link-arrow:hover { gap: 16px; border-color: currentColor; }
.link-arrow--dark { color: var(--wine); border-color: var(--wine); }
.link-arrow--back:hover { gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 20px;
  border-radius: 999px; border: 1px solid rgba(24, 3, 3, .2); background: transparent; color: var(--wine);
  font-size: 14px; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--wine); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--ivory); }
.chip--dark { border-color: rgba(217, 217, 217, .25); color: var(--grey); font-size: 15px; }
.chip--dark:hover { border-color: var(--gold-2); color: var(--gold-3); }
.chip--dark.is-active { background: var(--gold); border-color: var(--gold); color: var(--wine); font-weight: 500; }
.chip__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 11px; background: rgba(217, 217, 217, .12); font-size: 12px; }
.chip--dark.is-active .chip__count { background: rgba(24, 3, 3, .15); }
.chip--removable { min-height: 36px; padding-inline: 14px 10px; background: var(--wine); color: var(--ivory); border-color: var(--wine); font-size: 13px; }
.chip--removable:hover { background: #3a0c0c; }
.dialog .chip { border-color: rgba(24, 3, 3, .2); }

.tag { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(24, 3, 3, .2); font-size: 13px; line-height: 1; }
.tag--dark { background: var(--wine); color: var(--gold-3); border-color: var(--wine); }
.tag--gold { border-color: rgba(201, 168, 102, .5); color: var(--gold-3); }

.glass { background: rgba(24, 3, 3, .74); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(217, 217, 217, .16); }

/* ---------- Header ---------- */
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    display: block; position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; pointer-events: none;
    background: linear-gradient(90deg, var(--gold), var(--gold-3), var(--gold));
    transform-origin: 0 50%; transform: scaleX(0);
    animation: mj-progress linear both; animation-timeline: scroll(root);
  }
  [dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }
}
@keyframes mj-progress { to { transform: scaleX(1); } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--wine); color: #EDECEA;
  transition: transform .45s var(--ease-out), box-shadow .3s;
  view-transition-name: site-header;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .8); }

.topbar { height: 40px; background: var(--wine-deep); overflow: hidden; transition: margin-top .4s var(--ease-out); }
.site-header.is-scrolled .topbar { margin-top: -40px; }
.topbar__list { height: 100%; display: flex; align-items: center; justify-content: center; gap: 24px; list-style: none; margin: 0; padding: 0 16px; font-size: 13px; color: var(--gold-2); letter-spacing: .02em; }
.topbar__item { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.topbar__item + .topbar__item::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.mainbar { border-bottom: 1px solid rgba(217, 217, 217, .12); }
.mainbar__inner { height: 88px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; transition: height .4s var(--ease-out); }
.site-header.is-scrolled .mainbar__inner { height: 72px; }
.brand { justify-self: start; display: flex; align-items: center; }
.brand img { width: 58px; height: 58px; object-fit: contain; transition: width .4s var(--ease-out), height .4s var(--ease-out), transform .6s var(--ease-out); }
.site-header.is-scrolled .brand img { width: 48px; height: 48px; }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }

.main-nav { position: relative; }
.main-nav__list { display: flex; align-items: center; gap: 6px; margin: 0; }
.main-nav__list a {
  position: relative; z-index: 1; height: 44px; padding-inline: 22px; border-radius: 999px;
  display: flex; align-items: center; color: var(--grey); font-size: 16px; transition: color .25s;
}
.main-nav__list a:hover, .main-nav__list .current-menu-item > a, .main-nav__list a[aria-current="page"] { color: var(--gold-3); }
.main-nav__list .current-menu-item > a, .main-nav__list a[aria-current="page"] { font-weight: 500; }
.main-nav:not(.has-pill) .current-menu-item > a, .main-nav:not(.has-pill) a[aria-current="page"] { background: rgba(174, 138, 64, .16); }
.main-nav__pill {
  position: absolute; top: 50%; left: 0; z-index: 0; height: 44px; width: var(--w, 0px); border-radius: 999px;
  background: rgba(174, 138, 64, .16); transform: translate(var(--x, 0px), -50%); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .25s;
}
.main-nav.has-pill .main-nav__pill { opacity: 1; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.header-actions .icon-btn { color: var(--grey); }
.header-actions .icon-btn:hover { color: var(--gold-3); }
.header-actions__cta { margin-inline-start: 12px; --h: 44px; padding-inline: 22px; font-weight: 400; }
.header-cart .cart-count {
  position: absolute; top: 3px; inset-inline-end: 3px; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 9px;
  background: var(--gold); color: var(--wine); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
  transition: transform .4s var(--ease-out);
}
.header-cart .cart-count.is-empty { transform: scale(0); }
.header-cart.is-bump .cart-count { animation: mj-bump .6s var(--ease-out); }
@keyframes mj-bump { 30% { transform: scale(1.5); } 60% { transform: scale(.9); } }
.menu-toggle { display: none; }

.lang-switch ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 3px; border-radius: 999px; border: 1px solid rgba(217, 217, 217, .18); }
.lang-switch__item { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 32px; padding-inline: 8px; border-radius: 999px; font-size: 13px; color: var(--grey); transition: background-color .25s, color .25s; }
.lang-switch__item.is-current { background: rgba(174, 138, 64, .2); color: var(--gold-3); }
a.lang-switch__item:hover { color: var(--gold-3); background: rgba(217, 217, 217, .08); }
.header-actions__lang { margin-inline-end: 6px; }

@media (max-width: 1180px) {
  .main-nav, .header-actions__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mainbar__inner { grid-template-columns: auto 1fr; }
  .brand img { width: 50px; height: 50px; }
}
@media (max-width: 640px) {
  :root { --header-h: 104px; }
  .topbar { height: 32px; }
  .site-header.is-scrolled .topbar { margin-top: -32px; }
  .topbar__list { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; font-size: 12px; gap: 18px; }
  .topbar__item { gap: 18px; }
  .mainbar__inner { height: 72px; gap: 8px; }
  .brand img, .site-header.is-scrolled .brand img { width: 44px; height: 44px; }
  .header-actions__account, .header-actions__lang { display: none; }
}

/* ---------- Dialogs ---------- */
.dialog { border: 0; padding: 0; margin: auto; background: transparent; color: var(--wine); max-width: none; max-height: none; overflow: visible; }
.dialog::backdrop { background: rgba(14, 1, 1, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dialog[open]::backdrop { animation: mj-fade .35s var(--ease-out); }
.dialog.is-closing::backdrop { animation: mj-fade .25s var(--ease-out) reverse forwards; }
.dialog__panel { position: relative; background: var(--ivory); border-radius: var(--radius-lg); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog__title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; }
.dialog__x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; background: rgba(237, 236, 234, .9); color: var(--wine); }
.dialog__x:hover { background: #fff; }
.dialog[open] .dialog__panel { animation: mj-pop .45s var(--ease-out); }
.dialog.is-closing .dialog__panel { animation: mj-pop .22s var(--ease-io) reverse forwards; }
@keyframes mj-fade { from { opacity: 0; } }
@keyframes mj-pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* Drawer (menu / cart) */
.dialog--drawer { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; display: none; }
.dialog--drawer[open] { display: flex; justify-content: flex-end; }
.dialog--drawer .dialog__panel {
  width: min(440px, 100%); height: 100%; border-radius: 0; display: flex; flex-direction: column;
  padding: 24px clamp(20px, 3vw, 32px); overflow-y: auto; overscroll-behavior: contain;
}
.dialog--drawer[open] .dialog__panel { animation: mj-drawer-end .5s var(--ease-out); }
.dialog--drawer.is-closing .dialog__panel { animation: mj-drawer-end .28s var(--ease-io) reverse forwards; }
@keyframes mj-drawer-end { from { transform: translateX(calc(100% * var(--end-sign))); } }
@keyframes mj-drawer-start { from { transform: translateX(calc(-100% * var(--end-sign))); } }

.dialog--menu[open] { justify-content: flex-start; }
.dialog--menu .dialog__panel { background: var(--wine); color: var(--ivory); gap: 32px; }
.dialog--menu[open] .dialog__panel { animation-name: mj-drawer-start; }
.dialog--menu.is-closing .dialog__panel { animation-name: mj-drawer-start; }
.mobile-nav { margin: 0; display: flex; flex-direction: column; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between; padding-block: 16px;
  font-family: var(--serif); font-size: 34px; font-weight: 300; border-bottom: 1px solid var(--line-dark);
}
.dialog--menu[open] .mobile-nav li { animation: mj-rise .6s var(--ease-out) backwards; }
.dialog--menu[open] .mobile-nav li:nth-child(2) { animation-delay: .06s; }
.dialog--menu[open] .mobile-nav li:nth-child(3) { animation-delay: .12s; }
.dialog--menu[open] .mobile-nav li:nth-child(4) { animation-delay: .18s; }
.dialog--menu[open] .mobile-nav li:nth-child(5) { animation-delay: .24s; }
.mobile-nav .current-menu-item a, .mobile-nav a[aria-current="page"] { color: var(--gold-3); }
.dialog__foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mobile-phone { font-family: var(--serif); font-size: 28px; color: var(--gold-3); }
@keyframes mj-rise { from { opacity: 0; transform: translateY(20px); } }

/* Search */
.dialog--search { width: min(760px, calc(100% - 32px)); margin-top: 12vh; }
.dialog--search .dialog__panel { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.search-suggest { display: flex; flex-direction: column; gap: 12px; }
.search-suggest .eyebrow { color: var(--gold-ink); }

.search-field {
  display: flex; align-items: center; gap: 12px; height: 56px; padding-inline: 20px 6px; border-radius: 999px;
  background: rgba(217, 217, 217, .08); border: 1px solid rgba(217, 217, 217, .22); color: var(--muted);
  transition: border-color .25s, background-color .25s;
}
.search-field:focus-within { border-color: var(--gold-2); background: rgba(217, 217, 217, .12); }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ivory); font-size: 15px; outline: none; }
.search-field input::placeholder { color: var(--muted-2); }
.search-field--lg { height: 64px; background: #fff; border-color: rgba(24, 3, 3, .15); color: var(--ink-muted); }
.search-field--lg input { color: var(--wine); font-size: 17px; }
.search-field--lg input::placeholder { color: var(--ink-muted); }
.search-field--lg:focus-within { border-color: var(--wine); background: #fff; }
.search-field input::-webkit-search-cancel-button { filter: invert(.7); }

/* Quick view */
.dialog--quick { width: min(1000px, calc(100% - 24px)); }
.dialog--quick .dialog__panel { overflow: hidden; }
.quick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; }
.quick__media { background: var(--grey); aspect-ratio: 1; }
.quick__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.quick__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; max-height: min(88vh, 760px); overflow-y: auto; }
.quick__body .tag { align-self: flex-start; }
.quick__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.quick__desc { color: var(--ink-body); font-size: 15px; }
.quick-loading { display: grid; place-items: center; min-height: 420px; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(24, 3, 3, .12); border-top-color: var(--gold); animation: mj-spin .8s linear infinite; }
@keyframes mj-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .quick { grid-template-columns: 1fr; }
  .quick__media { aspect-ratio: 4 / 3; }
  .quick__body { max-height: none; }
  .dialog--quick { max-height: 94vh; overflow-y: auto; border-radius: var(--radius-lg); }
}

/* Lightbox */
.dialog--lightbox { width: 100%; height: 100%; margin: 0; display: none; place-items: center; background: transparent; }
.dialog--lightbox[open] { display: grid; }
.dialog--lightbox::backdrop { background: rgba(14, 1, 1, .92); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1100px, 92vw); }
.lightbox__figure img { max-height: 82vh; width: auto; border-radius: var(--radius); animation: mj-pop .45s var(--ease-out); }
.lightbox__figure figcaption { color: var(--muted); font-size: 14px; }
.lightbox__nav { position: fixed; top: 50%; translate: 0 -50%; width: 56px; height: 56px; background: rgba(237, 236, 234, .1); color: var(--ivory); border: 1px solid rgba(237, 236, 234, .2); }
.lightbox__nav:hover { background: rgba(237, 236, 234, .2); }
.lightbox__prev { inset-inline-start: 20px; }
.lightbox__next { inset-inline-end: 20px; }
.dialog--lightbox .dialog__x { position: fixed; }

/* ---------- Hero ---------- */
.hero { background: var(--wine); color: var(--ivory); padding-block: clamp(32px, 4vw, 48px) clamp(56px, 6vw, 64px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); min-height: min(720px, calc(100svh - var(--header-h) - 40px)); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.hero__copy .eyebrow { letter-spacing: .28em; animation: mj-rise .8s var(--ease-out) backwards; }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6.7vw, 6rem); line-height: 1.02; letter-spacing: -0.01em; }
.hero__title .line { display: block; overflow: clip; padding-block: .04em; margin-block: -.04em; }
.hero__title .line__inner { display: inline-block; animation: mj-line-up 1s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes mj-line-up { from { transform: translateY(110%); } }
.hero__lead { max-width: 470px; font-size: 18px; line-height: 1.7; color: var(--muted); animation: mj-rise 1s var(--ease-out) .35s backwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; animation: mj-rise 1s var(--ease-out) .45s backwards; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px 0 0; margin: 0; list-style: none; border-top: 1px solid var(--line-dark); animation: mj-rise 1s var(--ease-out) .55s backwards; }
.hero__facts li { display: flex; flex-direction: column; gap: 4px; }
.hero__facts strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.hero__facts span { font-size: 13px; color: var(--muted); }

.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--wine-deep); min-height: 420px; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.06); animation: mj-hero-img 1.8s var(--ease-out) backwards; }
@keyframes mj-hero-img { from { transform: scale(1.16); } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 1, 1, .45), transparent 45%); pointer-events: none; }
.hero__product {
  position: absolute; inset-inline-end: 24px; bottom: 24px; z-index: 2; width: min(360px, calc(100% - 48px));
  padding: 12px; border-radius: 22px; display: flex; align-items: center; gap: 14px; color: var(--ivory);
  animation: mj-rise 1s var(--ease-out) .8s backwards; transition: transform .45s var(--ease-out), border-color .3s;
}
.hero__product:hover { transform: translateY(-4px); border-color: rgba(201, 168, 102, .5); }
.hero__product:hover .round-btn { transform: translateX(calc(-4px * var(--end-sign) * -1)); }
.hero__product-img { width: 68px; height: 68px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.hero__product-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero__product-kicker { font-size: 12px; letter-spacing: .12em; color: var(--gold-2); }
.hero__product-name { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.hero__product-price { font-size: 14px; color: var(--grey); }

/* diamond glints */
.glints i { position: absolute; z-index: 1; width: 14px; height: 14px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 1.5px, transparent 2.5px), conic-gradient(from 45deg, transparent 0 20%, rgba(255,255,255,.9) 25%, transparent 30% 45%, rgba(255,255,255,.9) 50%, transparent 55% 70%, rgba(255,255,255,.9) 75%, transparent 80%);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%);
  animation: mj-glint 4.8s ease-in-out infinite; }
.glints i:nth-child(1) { top: 36%; left: 22%; animation-delay: .6s; }
.glints i:nth-child(2) { top: 54%; left: 71%; animation-delay: 1.8s; width: 18px; height: 18px; }
.glints i:nth-child(3) { top: 22%; left: 58%; animation-delay: 2.9s; }
.glints i:nth-child(4) { top: 68%; left: 36%; animation-delay: 3.7s; width: 10px; height: 10px; }
.glints i:nth-child(5) { top: 44%; left: 84%; animation-delay: 4.3s; }
@keyframes mj-glint { 0%, 70%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 80% { opacity: 1; transform: scale(1.2) rotate(45deg); } 90% { opacity: 0; transform: scale(.5) rotate(90deg); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 3.2; min-height: 0; }
  .hero__copy { gap: 24px; }
}
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .hero__facts strong { font-size: 17px; }
  .hero__facts span { font-size: 12px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__product { inset-inline: 12px; bottom: 12px; width: auto; }
  .hero__product-img { width: 52px; height: 52px; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--wine); color: var(--grey); border-block: 1px solid rgba(217, 217, 217, .12); }
.marquee__viewport { direction: ltr; display: flex; overflow: hidden; height: 84px; align-items: center; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 36px; padding-inline-end: 36px; margin: 0; list-style: none; flex-shrink: 0; font-family: var(--serif); font-size: 26px; font-style: italic; font-weight: 300; white-space: nowrap; animation: mj-marquee 42s linear infinite; }
.marquee__star { color: var(--gold); font-style: normal; font-size: 16px; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes mj-marquee { to { transform: translateX(-100%); } }
.marquee__toggle { position: absolute; inset-inline-end: 12px; top: 50%; translate: 0 -50%; background: var(--wine); border: 1px solid var(--line-dark); color: var(--gold-2); }

/* ---------- Category bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; height: clamp(520px, 50vw, 680px); padding: 0; margin: 0; }
.bento__item--1 { grid-column: span 2; grid-row: span 2; }
.bento__item--2 { grid-column: span 2; }
.cat-card {
  position: relative; display: block; height: 100%; border-radius: 28px; overflow: hidden; background: var(--grey);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.cat-card:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.cat-card__img { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1); transition: transform .8s var(--ease-out), filter .6s; }
.cat-card:hover .cat-card__img { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.06); filter: brightness(1.06) contrast(1.05); }
.cat-card__label { position: absolute; inset-inline-start: 20px; bottom: 20px; height: 60px; padding-inline: 24px 8px; border-radius: 999px; display: flex; align-items: center; gap: 18px; transition: gap .4s var(--ease-out); }
.bento__item--1 .cat-card__label { inset-inline: 24px; bottom: 24px; height: 76px; padding-inline: 28px 14px; justify-content: space-between; }
.cat-card:hover .cat-card__label { gap: 24px; }
.cat-card:hover .round-btn { transform: rotate(calc(-45deg * var(--end-sign) * -1)); }
.cat-card__text { display: flex; flex-direction: column; gap: 2px; }
.cat-card__name { font-family: var(--serif); font-size: 24px; color: var(--ivory); line-height: 1.15; }
.bento__item--1 .cat-card__name { font-size: 30px; }
.cat-card__sub { font-size: 13px; color: var(--gold-2); }
.bento__item:not(.bento__item--1) .cat-card__sub { display: none; }
.cat-card .round-btn { width: 44px; height: 44px; }
.bento__item--1 .round-btn { width: 50px; height: 50px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 220px 220px; height: auto; gap: 14px; }
  .bento__item--1, .bento__item--2 { grid-column: span 2; grid-row: auto; }
  .cat-card__label { inset-inline-start: 12px; bottom: 12px; height: 52px; padding-inline: 18px 6px; gap: 10px; }
  .bento__item--1 .cat-card__label { inset-inline: 14px; bottom: 14px; height: 64px; }
  .cat-card__name { font-size: 20px; }
  .bento__item--1 .cat-card__name { font-size: 24px; }
  .cat-card .round-btn { width: 40px; height: 40px; }
}

/* ---------- Carousel ---------- */
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 0 8px; margin: -4px 0 0; list-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; min-width: 0; }
.carousel__item.is-filtered-out { display: none; }
@media (max-width: 1100px) { .carousel { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; } }
@media (max-width: 800px) { .carousel { grid-auto-columns: 46%; gap: 16px; } }
@media (max-width: 560px) { .carousel { grid-auto-columns: 78%; } .section-head__tools .chips { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .section-head__sep { display: none; } }

/* ---------- Product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%; color: var(--wine); }
.pcard__media { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--grey); isolation: isolate; }
.pcard__img-link { display: block; width: 100%; height: 100%; }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), opacity .6s var(--ease-out); }
.pcard__img--alt { opacity: 0; }
.pcard__media::after { /* diamond shine */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .5) 48%, rgba(255, 255, 255, .15) 52%, transparent 65%);
  transform: translateX(-110%); transition: transform 1.1s var(--ease-out);
}
@media (hover: hover) {
  .pcard:hover .pcard__img { transform: scale(1.06); }
  .pcard:hover .pcard__img--alt { opacity: 1; }
  .pcard:hover .pcard__media::after { transform: translateX(110%); }
  .pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: translate(-50%, 0); }
}
.pcard__tags { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pcard__tag { padding: 7px 12px; border-radius: 999px; background: rgba(24, 3, 3, .84); color: var(--gold-3); font-size: 12px; letter-spacing: .04em; line-height: 1; }
.pcard__fav { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; }
.pcard__quick {
  position: absolute; bottom: 14px; left: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding-inline: 16px; border-radius: 999px; border: 0; background: rgba(237, 236, 234, .94); color: var(--wine); font-size: 13px;
  opacity: 0; transform: translate(-50%, 10px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), background-color .25s;
}
.pcard__quick:hover { background: #fff; }
.pcard__quick:focus-visible { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .pcard__quick { display: none; } }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding-inline: 4px; }
.pcard__title { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.25; }
.pcard__title a { background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px; transition: background-size .45s var(--ease-out); }
[dir="rtl"] .pcard__title a { background-position: 0 100%; }
.pcard__title a:hover { background-size: 100% 1px; background-position: 0 100%; }
[dir="rtl"] .pcard__title a:hover { background-position: 100% 100%; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole card clickable */
.pcard__meta { font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }
.pcard__swatches { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 4px; }
.swatch-dot { width: 24px; height: 24px; border-radius: 50%; padding: 0; border: 1px solid rgba(24, 3, 3, .25); background: var(--sw); box-shadow: inset 0 0 0 2px var(--ivory); transition: transform .3s var(--ease-out), box-shadow .3s; position: relative; }
.swatch-dot::before { content: ""; position: absolute; inset: -10px; } /* 44px target */
.swatch-dot:hover { transform: scale(1.12); }
.swatch-dot.is-active { box-shadow: inset 0 0 0 2px var(--ivory), 0 0 0 2px var(--wine); }
.pcard__foot { position: relative; z-index: 2; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 4px; }
.pcard__price { font-size: 17px; font-weight: 500; }
.pcard__cta { flex-shrink: 0; }
.pcard__cta.is-loading .icon { animation: mj-spin .9s linear infinite; }
.pcard__cta.is-done { background: var(--green); }
.section--dark .pcard, .section--dark .pcard__meta { color: var(--ivory); }
.section--dark .pcard__meta { color: var(--muted); }
@media (max-width: 560px) {
  .pcard__foot { flex-wrap: wrap; }
  .pcard__title { font-size: 19px; }
}

.price del { opacity: .55; font-weight: 400; margin-inline-end: 6px; }
.price ins { text-decoration: none; }

/* Sale & stock */
.flag { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
.flag[hidden] { display: none; }
.flag--sale { background: var(--sale); color: #fff; }
.flag--out { background: var(--ivory); color: var(--wine); box-shadow: inset 0 0 0 1px rgba(24, 3, 3, .18); }
:is(.pcard__price, .price-lg, .buybar__price) del { opacity: .6; font-weight: 400; text-decoration-thickness: 1px; }
:is(.pcard__price, .price-lg, .buybar__price) ins { text-decoration: none; }
.pcard--sale .pcard__price ins, .product__price-row ins { color: var(--sale); }
.pcard__price del { display: block; font-size: 13px; margin-bottom: 2px; }
.buybar__price del { display: none; }
.buybar__price ins { color: inherit; }
.pcard--soldout .pcard__img { opacity: .55; }
.pcard--soldout .pcard__price { color: var(--ink-muted); }
.product__price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.price-lg del { font-size: .6em; margin-inline-end: 10px; }
.product__price-row .flag { font-size: 13px; padding: 8px 14px; }
.vform__soldout { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--ivory-2); font-size: 14px; line-height: 1.5; }
.vform__soldout a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-Price-amount { white-space: nowrap; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6.5vw, 96px); align-items: center; }
.about__media { position: relative; height: clamp(460px, 53vw, 760px); border-radius: var(--radius-lg); overflow: hidden; background: var(--wine-deep); }
.about__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; max-width: none; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.about__badge { position: absolute; inset-inline-start: 24px; bottom: 24px; padding: 16px 20px; border-radius: 20px; display: flex; align-items: center; gap: 14px; }
.about__badge strong { display: block; font-weight: 400; font-size: 15px; color: var(--ivory); }
.about__badge small { display: block; font-size: 13px; color: var(--muted); }
.about__copy { display: flex; flex-direction: column; gap: 28px; }
.steps { display: flex; flex-direction: column; padding: 0; margin: 0; list-style: none; }
.steps__item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding-block: 24px; }
.steps__item::before, .steps__item:last-child::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: var(--line-dark); transform-origin: var(--origin, 100%) 50%; transition: transform 1.1s var(--ease-out) calc(var(--d, 0) * 120ms + 200ms); }
.steps__item:last-child::after { top: auto; bottom: 0; }
html:not([dir="rtl"]) .steps__item { --origin: 0%; }
.js .steps__item:not(.is-in)::before, .js .steps__item:not(.is-in)::after { transform: scaleX(0); }
.steps__num { font-family: var(--serif); font-size: 34px; font-weight: 300; color: var(--gold); line-height: 1; }
.steps__body { display: flex; flex-direction: column; gap: 6px; }
.steps__body strong { font-size: 20px; font-weight: 400; }
.steps__body span { font-size: 15px; line-height: 1.6; color: var(--muted); }
.about__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.phone-link { font-family: var(--serif); font-size: 24px; color: var(--ivory); transition: color .25s; }
.phone-link:hover { color: var(--gold-3); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .about__media { height: 420px; } }

/* ---------- Shapes ---------- */
.shapes__list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; }
.shape { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.shape__ring { position: relative; width: min(146px, 100%); aspect-ratio: 1; border-radius: 50%; padding: 4px; }
.shape__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--a, 0deg), var(--gold), transparent 30%, var(--gold-3) 50%, transparent 70%, var(--gold)); opacity: 0; transition: opacity .4s; }
.shape__img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--grey); transition: transform .7s var(--ease-out); }
.shape:hover .shape__ring::before, .shape:focus-visible .shape__ring::before { opacity: 1; animation: mj-ring 3s linear infinite; }
.shape:hover .shape__img { transform: scale(.94) rotate(-8deg); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes mj-ring { to { --a: 360deg; } }
.shape__name { font-family: var(--serif); font-size: 19px; color: var(--wine); }
.shape__sub { font-size: 13px; color: var(--ink-muted); margin-top: -12px; }
@media (max-width: 1100px) { .shapes__list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 560px) { .shapes__list { grid-template-columns: repeat(8, 112px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } .shapes__list > li { scroll-snap-align: center; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; height: clamp(480px, 43vw, 616px); padding: 0; margin: 0; }
.gallery-grid__item--1, .gallery-grid__item--4 { grid-row: span 2; }
.gallery-grid__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--grey); cursor: zoom-in; }
.gallery-grid__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .5s; }
.gallery-grid__btn:hover .gallery-grid__img { transform: scale(1.07); filter: brightness(.85); }
.gallery-grid__zoom { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(237, 236, 234, .92); color: var(--wine); transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; }
.gallery-grid__btn:hover .gallery-grid__zoom, .gallery-grid__btn:focus-visible .gallery-grid__zoom { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 180px; height: auto; gap: 12px; }
  .gallery-grid__item--1, .gallery-grid__item--4 { grid-row: span 2; }
}

/* ---------- CTA box ---------- */
.cta-box {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px); border-radius: var(--radius-lg);
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(174, 138, 64, .2), transparent 45%), var(--wine-raise);
  border: 1px solid rgba(174, 138, 64, .35);
}
.cta-box__text { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.cta-box__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.cta-box__phone { font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 300; color: var(--gold-3); line-height: 1; }
.cta-box__btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-box__actions { align-items: flex-start; } }

/* ---------- Inner page hero + breadcrumbs ---------- */
.page-hero { background: var(--wine); color: var(--ivory); padding-block: clamp(40px, 5vw, 64px) clamp(40px, 5.5vw, 80px); }
.page-hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.page-hero__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; max-width: 760px; }
.page-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.75rem, 6.1vw, 5.5rem); line-height: 1; }
.page-hero__lead { max-width: 560px; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.65; color: var(--muted); }
.page-hero__aside { flex: 0 1 420px; min-width: min(100%, 300px); }
.page-hero__aside .search-field { width: 100%; }
.page-hero__count { font-size: 14px; color: var(--muted); }
.hero-phone { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.hero-phone__num { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 300; color: var(--ivory); transition: color .25s; }
.hero-phone:hover .hero-phone__num { color: var(--gold-3); }
@media (max-width: 700px) { .hero-phone { align-items: flex-start; } }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.breadcrumbs li { display: flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { transition: color .2s; }
.breadcrumbs--dark { color: var(--muted); }
.breadcrumbs--dark a:hover { color: var(--gold-3); }
.breadcrumbs--dark [aria-current] { color: var(--gold-3); }
.breadcrumbs--light { color: var(--ink-muted); padding-block: 28px 8px; }
.breadcrumbs--light a:hover { color: var(--wine); }
.breadcrumbs--light [aria-current] { color: var(--wine); }
.breadcrumbs--center ol { justify-content: center; }

/* ---------- Shop ---------- */
.cat-tabs { background: var(--wine); padding-bottom: clamp(28px, 3vw, 40px); }
.cat-tabs__list { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; list-style: none; }
@media (max-width: 640px) { .cat-tabs__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }

.shop { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 48px; align-items: start; padding-block: clamp(40px, 5vw, 64px) clamp(80px, 9vw, 120px); }
.shop__filters { position: sticky; top: calc(var(--header-h) - 20px); max-height: calc(100vh - var(--header-h)); overflow-y: auto; scrollbar-width: thin; padding-bottom: 16px; padding-inline: 3px 14px; /* room for the overlay scrollbar (inline-end in both directions) and focus rings */ }
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
.filters__title { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.filters__clear { min-height: 44px; display: inline-flex; align-items: center; color: var(--gold-ink); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.filters__close { display: none; }
.filters__group { border-bottom: 1px solid var(--line-light); }
.filters__summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 64px; font-size: 15px; font-weight: 500; cursor: pointer; user-select: none; }
.filters__summary::-webkit-details-marker { display: none; }
.filters__summary-label { flex: 1; }
.filters__summary .chip__count { background: var(--wine); color: var(--ivory); }
.filters__summary .icon { flex: none; color: var(--gold-ink); transition: transform .45s var(--ease-out); }
.filters__group[open]:not(.is-closing) > .filters__summary .icon { transform: rotate(180deg); }
.filters__summary:hover .filters__summary-label { color: var(--gold-ink); }
.filters__body { padding-bottom: 22px; }
.filters__group[open] > .filters__body { animation: mj-fade .35s var(--ease-out); }
.filters__options { display: flex; flex-direction: column; gap: 4px; }
.filters__group--pills .filters__options { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.filters__apply { margin-top: 20px; }
.js .filters__apply { display: none; }
.check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 16px; cursor: pointer; }
.check input, .pill-check input, .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(24, 3, 3, .35); color: transparent; transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease-out); flex-shrink: 0; }
.check:hover .check__box { border-color: var(--wine); }
.check input:checked + .check__box { background: var(--wine); border-color: var(--wine); color: var(--gold-3); transform: scale(1.06); }
.check input:focus-visible + .check__box { outline: 2px solid var(--focus); outline-offset: 2px; }
.pill-check { position: relative; }
.pill-check span { display: inline-flex; align-items: center; min-height: 36px; padding-inline: 14px; border-radius: 999px; border: 1px solid rgba(24, 3, 3, .2); font-size: 13px; cursor: pointer; transition: all .25s; }
.pill-check:hover span { border-color: var(--wine); }
.pill-check input:checked + span { background: var(--wine); border-color: var(--wine); color: var(--ivory); }
.pill-check input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.range { display: flex; flex-direction: column; gap: 10px; }
.range__label { font-size: 14px; color: var(--ink-muted); }
.range__label output { color: var(--wine); font-weight: 500; }
.range__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-muted); }
/* Inset so the thumb (ring + press scale) is never clipped by scrolling containers. */
input[type="range"] { --p: 100%; -webkit-appearance: none; appearance: none; width: calc(100% - 10px); margin-inline: 5px; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--wine) var(--p), rgba(24, 3, 3, .15) var(--p)); }
[dir="rtl"] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--wine) var(--p), rgba(24, 3, 3, .15) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ivory); box-shadow: 0 0 0 1px var(--wine); transition: transform .2s; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(24, 3, 3, .15); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--wine); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ivory); box-shadow: 0 0 0 1px var(--wine); }
.help-card { margin-top: 24px; padding: 28px 24px; border-radius: var(--radius); background: var(--wine); color: var(--ivory); display: flex; flex-direction: column; gap: 12px; }
.help-card strong { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.2; }
.help-card span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.help-card .btn { margin-top: 6px; }

.shop__results { display: flex; flex-direction: column; gap: 28px; min-width: 0; transition: opacity .3s; }
.shop__results.is-loading { opacity: .45; pointer-events: none; }
.shop__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-light); flex-wrap: wrap; }
.shop__count { font-size: 15px; color: var(--ink-muted); }
.shop__count strong { color: var(--wine); }
.shop__filter-btn { display: none; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-muted); }
.sort select, .select {
  height: 44px; padding-inline: 18px 40px; border-radius: 999px; border: 1px solid rgba(24, 3, 3, .2); background-color: transparent; color: var(--wine);
  -webkit-appearance: none; appearance: none; font-size: 14px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23180303' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
[dir="rtl"] .sort select, [dir="rtl"] .select { padding-inline: 40px 18px; background-position: left 16px center; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; list-style: none; margin: 0; padding: 0; }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid__item { min-width: 0; }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 16px; }
.load-more__page { font-size: 14px; color: var(--ink-muted); }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: clamp(48px, 7vw, 88px) 24px; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink-muted); }
.empty-state h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--wine); }
.empty-state .icon { color: var(--gold); }
.empty-state__icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory-2); color: var(--gold-ink); margin-bottom: 6px; }

@media (max-width: 1100px) {
  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; }
  .shop__filter-btn { display: inline-flex; }
  .shop__filters {
    position: fixed; inset: 0; z-index: 200; top: 0; max-height: none; width: min(380px, 88vw); height: 100%;
    inset-inline-end: auto; background: var(--ivory); padding: 24px; box-shadow: 0 0 80px rgba(0, 0, 0, .5);
    transform: translateX(calc(-105% * var(--end-sign))); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s;
  }
  .shop__filters.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
  .filters__close { display: inline-flex; }
  .filters__head { position: sticky; top: -24px; background: var(--ivory); z-index: 1; padding-top: 4px; }
  .js .filters__apply { display: flex; position: sticky; bottom: 0; }
  .filters-backdrop { position: fixed; inset: 0; z-index: 199; background: rgba(14, 1, 1, .55); animation: mj-fade .3s; }
}
@media (max-width: 480px) { .product-grid, .product-grid--4 { gap: 32px 14px; } .pcard__cta span { display: none; } .pcard__cta { width: 44px; padding: 0; } }

/* ---------- Product page ---------- */
.product-page { background: var(--ivory); }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5.5vw, 80px); align-items: start; padding-block: 24px clamp(80px, 9vw, 120px); }
.product__gallery-col { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.pgallery { display: flex; gap: 16px; }
.pgallery__thumbs { display: flex; flex-direction: column; gap: 12px; width: 88px; flex-shrink: 0; }
.pgallery__thumb { width: 88px; height: 88px; padding: 0; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; background: var(--grey); opacity: .7; transition: opacity .25s, border-color .25s, transform .3s var(--ease-out); }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pgallery__thumb:hover { opacity: 1; transform: translateY(-2px); }
.pgallery__thumb.is-active { border-color: var(--wine); opacity: 1; }
.pgallery__main { position: relative; flex: 1; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey); cursor: zoom-in; }
.pgallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease-out), opacity .35s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pgallery__main.is-zooming .pgallery__img { transform: scale(2); transition: transform .2s ease-out; }
.pgallery__img.is-swapping { opacity: 0; transform: scale(1.03); }
.pgallery__badge { position: absolute; top: 20px; inset-inline-start: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(24, 3, 3, .84); color: var(--gold-3); font-size: 13px; }
.pgallery__zoom { position: absolute; bottom: 20px; inset-inline-end: 20px; width: 48px; height: 48px; }
.specs { padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--ivory-2); display: flex; flex-direction: column; gap: 20px; }
.specs__title { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.specs__list { display: flex; flex-direction: column; }
.specs__row { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid rgba(24, 3, 3, .12); font-size: 16px; }
.specs__row dt { color: var(--ink-muted); }

.product__summary { display: flex; flex-direction: column; gap: 26px; padding-top: 8px; position: sticky; top: calc(var(--header-h) - 16px); }
.product__tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stock { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: mj-pulse 2.4s infinite; }
.stock--in { color: var(--green); }
.stock--out { color: #9b2c2c; }
@keyframes mj-pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 107, 58, .5); } 70% { box-shadow: 0 0 0 8px rgba(63, 107, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 107, 58, 0); } }
.product__heading { display: flex; flex-direction: column; gap: 12px; }
.product__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1.1; }
.product__subtitle { font-size: 16px; color: var(--ink-muted); }
.price-lg { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.375rem); font-weight: 400; line-height: 1.2; }
.price-lg.is-updating { animation: mj-price .5s var(--ease-out); }
@keyframes mj-price { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.product__desc { font-size: 17px; line-height: 1.75; color: var(--ink-body); }

.vform { display: flex; flex-direction: column; gap: 24px; }
.vform__group { padding-top: 24px; border-top: 1px solid var(--line-light); }
.vform__legend { font-size: 15px; color: var(--ink-muted); margin-bottom: 14px; float: inline-start; width: 100%; }
.vform__legend strong { color: var(--wine); font-weight: 500; }
.vform__options { display: flex; flex-wrap: wrap; gap: 12px; clear: both; }
.opt { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding-inline: 22px; border-radius: 999px; border: 1px solid rgba(24, 3, 3, .22); background: transparent; font-size: 15px; cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .25s, transform .3s var(--ease-out); user-select: none; }
.opt--swatch { padding-inline: 14px 22px; }
.opt:hover { border-color: var(--wine); }
.opt:active { transform: scale(.97); }
.opt:has(input:checked) { border-color: var(--wine); background: #fff; box-shadow: inset 0 0 0 1px var(--wine), 0 8px 24px -14px rgba(24, 3, 3, .5); }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.opt.is-unavailable { opacity: .45; }
.opt.is-unavailable .opt__label { text-decoration: line-through; }
.opt__swatch { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(24, 3, 3, .25); flex-shrink: 0; transition: transform .4s var(--ease-out); }
.opt:has(input:checked) .opt__swatch { transform: scale(1.1) rotate(-20deg); }
.opt__swatch--sm { width: 20px; height: 20px; }
.vform__status { min-height: 1em; font-size: 14px; color: #9b2c2c; margin-top: -12px; }
.vform__status:empty { display: none; }
.vform__buy { display: flex; align-items: center; gap: 12px; }
.vform__submit { flex: 1; --h: 60px; font-size: 17px; }
.vform__submit.is-done { background: var(--green); }
.qty { display: inline-flex; align-items: center; gap: 2px; height: 60px; padding-inline: 6px; border-radius: 999px; border: 1px solid rgba(24, 3, 3, .22); flex-shrink: 0; }
.qty__btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; transition: background-color .2s; }
.qty__btn:hover { background: rgba(24, 3, 3, .06); }
.qty__input { width: 34px; border: 0; background: transparent; text-align: center; font-size: 17px; font-weight: 500; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 48px; }
.qty--sm .qty__btn { width: 38px; height: 38px; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.perks__item { padding: 20px 18px; border-radius: 20px; background: var(--ivory-2); display: flex; flex-direction: column; gap: 8px; }
.perks__item .icon { color: var(--gold-ink); margin-bottom: 2px; }
.perks__item strong { font-size: 15px; font-weight: 500; }
.perks__item span { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.accordion { border-top: 1px solid var(--line-light); }
.accordion:last-child { border-bottom: 1px solid var(--line-light); }
.accordion__head { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; font-size: 17px; font-weight: 500; cursor: pointer; }
.accordion__head::-webkit-details-marker { display: none; }
.accordion__head .icon { transition: transform .4s var(--ease-out); }
.accordion[open]:not(.is-closing) .accordion__head .icon { transform: rotate(45deg); }
.accordion__body { padding-bottom: 20px; font-size: 16px; }
.accordion[open] .accordion__body { animation: mj-rise .45s var(--ease-out); }
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .product__summary { position: static; }
  .pgallery { flex-direction: column-reverse; }
  .pgallery__thumbs { flex-direction: row; width: auto; overflow-x: auto; scrollbar-width: none; }
  .pgallery__thumb { width: 72px; height: 72px; flex-shrink: 0; }
}
@media (max-width: 560px) {
  .perks { grid-template-columns: 1fr; }
  .perks__item { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: 12px; }
  .perks__item span { flex-basis: 100%; }
  .vform__buy { flex-wrap: wrap; }
  .vform__submit { order: 3; flex-basis: 100%; }
  .specs__row { grid-template-columns: 1fr 1.3fr; }
}

/* sticky mobile buy bar */
.buybar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--wine); color: var(--ivory); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); transform: translateY(150%); transition: transform .5s var(--ease-out); }
[dir="rtl"] .buybar { padding: 10px 20px 10px 10px; }
.buybar.is-visible { transform: none; }
.buybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.buybar__name { font-family: var(--serif); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-size: 13px; color: var(--gold-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { flex: none; }
@media (min-width: 961px) { .buybar { display: none; } }

/* ---------- Cart ---------- */
.wc-page { max-width: var(--maxw); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.cart-items { padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: var(--paper); }
.cart-items__head, .cart-item { display: grid; grid-template-columns: minmax(0, 1fr) 160px 130px 48px; gap: 16px; align-items: center; }
.cart-items__head { padding-bottom: 16px; border-bottom: 1px solid var(--line-light); font-size: 14px; color: var(--ink-muted); }
.cart-items__list { list-style: none; margin: 0; padding: 0; }
.cart-item { padding-block: 24px; border-bottom: 1px solid var(--line-light); animation: mj-rise .5s var(--ease-out) backwards; }
.cart-item.is-removing { animation: mj-remove .4s var(--ease-io) forwards; }
@keyframes mj-remove { to { opacity: 0; transform: translateX(calc(40px * var(--end-sign))); } }
.cart-item__product { display: flex; align-items: center; gap: 20px; min-width: 0; }
.cart-item__thumb { width: 112px; height: 112px; flex-shrink: 0; border-radius: 20px; overflow: hidden; background: var(--grey); }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item__name { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.25; }
.cart-item__name:hover { color: var(--gold-ink); }
.cart-item__meta, .minicart__meta { font-size: 13.5px; color: var(--ink-muted); }
.cart-item__meta dl.variation, .minicart__meta dl.variation { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0; }
dl.variation dt { font-weight: 400; }
dl.variation dd { margin: 0; }
dl.variation dd p { margin: 0; display: inline; }
.cart-item__unit { font-size: 15px; }
.cart-item__total { font-size: 18px; font-weight: 500; }
.cart-items__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.coupon { display: flex; align-items: center; gap: 8px; }
.input, .coupon input {
  height: 48px; padding-inline: 18px; border-radius: 999px; border: 1px solid rgba(24, 3, 3, .2); background: #fff; font-size: 15px; min-width: 0;
}
.js .cart-update { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cart-collaterals { position: sticky; top: calc(var(--header-h) - 16px); }
.summary-card { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--wine); color: var(--ivory); display: flex; flex-direction: column; gap: 20px; }
.summary-card__title { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.summary-card__rows { display: flex; flex-direction: column; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.summary-card__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--muted); }
.summary-card__row dd { color: var(--ivory); text-align: end; }
.summary-card__row--shipping { display: block; }
.shipping-table { width: 100%; border-collapse: collapse; }
.shipping-table th { text-align: start; font-weight: 400; padding: 0 0 8px; }
.shipping-table td { padding: 0; }
.summary-card ul#shipping_method { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.summary-card .woocommerce-shipping-destination, .summary-card .shipping-calculator-button { font-size: 13px; color: var(--muted-2); }
.summary-card .shipping-calculator-button { color: var(--gold-3); text-decoration: underline; }
.summary-card__total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 17px; }
.summary-card__total strong { font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--gold-3); }
.summary-card__trust { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 0; margin: 0; list-style: none; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted); }
.summary-card__trust li { display: flex; align-items: center; gap: 10px; }
.summary-card__trust .icon { color: var(--gold-2); }
.summary-card__trust a { color: var(--ivory); }
.summary-card .woocommerce-remove-coupon { color: var(--gold-3); font-size: 13px; }
@media (max-width: 1100px) { .cart-layout { grid-template-columns: 1fr; } .cart-collaterals { position: static; } }
@media (max-width: 700px) {
  .cart-items__head { display: none; }
  .cart-item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "p r" "q t"; row-gap: 14px; }
  .cart-item__product { grid-area: p; }
  .cart-item__remove { grid-area: r; align-self: start; }
  .cart-item__qty { grid-area: q; }
  .cart-item__total { grid-area: t; text-align: end; }
  .cart-item__thumb { width: 84px; height: 84px; }
  .cart-item__name { font-size: 18px; }
  .coupon { width: 100%; }
  .coupon input { flex: 1; }
}

/* steps bar (cart / checkout hero) */
.steps-bar { display: flex; align-items: center; gap: 12px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.steps-bar__step { display: flex; align-items: center; gap: 10px; }
.steps-bar__step + .steps-bar__step::before { content: ""; width: clamp(24px, 4vw, 48px); height: 1px; background: rgba(217, 217, 217, .25); margin-inline-end: 2px; }
.steps-bar__num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(217, 217, 217, .3); font-size: 13px; }
.steps-bar__step.is-current { color: var(--ivory); }
.steps-bar__step.is-current .steps-bar__num { background: var(--gold); border-color: var(--gold); color: var(--wine); font-weight: 600; }
.steps-bar__step.is-done .steps-bar__num { border-color: var(--gold-2); color: var(--gold-2); }

/* ---------- WooCommerce forms / checkout / account / notices ---------- */
.wc-content { font-size: 16px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; list-style: none; margin: 0 0 24px; padding: 18px 22px; border-radius: 20px;
  background: var(--paper); border-inline-start: 4px solid var(--gold); color: var(--wine); font-size: 15px; animation: mj-rise .5s var(--ease-out);
}
.woocommerce-error { border-color: #9b2c2c; flex-direction: column; align-items: flex-start; gap: 4px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-inline-start: auto; display: inline-flex; align-items: center; height: 40px; padding-inline: 18px; border-radius: 999px; background: var(--wine); color: var(--ivory); font-size: 14px; }
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 500; }
.woocommerce form .form-row .required { color: #9b2c2c; text-decoration: none; }
.woocommerce form .form-row .optional { color: var(--ink-muted); font-weight: 400; }
.woocommerce form .input-text, .woocommerce form select, .woocommerce form textarea, .woocommerce-page form .input-text {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(24, 3, 3, .18); background: #fff; color: var(--wine); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.woocommerce form textarea { min-height: 120px; resize: vertical; }
.woocommerce form .input-text:focus, .woocommerce form select:focus, .woocommerce form textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(174, 138, 64, .3); }
.woocommerce form .form-row.woocommerce-invalid .input-text { border-color: #9b2c2c; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.form-row-wide, #billing_address_1_field, #billing_address_2_field, #shipping_address_1_field, #shipping_address_2_field, #billing_email_field { grid-column: 1 / -1; }
.woocommerce-checkout h3, #order_review_heading, .woocommerce-column__title, .woocommerce-order-details__title { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 0 0 20px; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0 40px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details { grid-column: 1; grid-row: 1 / span 3; padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: var(--paper); }
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; }
#customer_details .col-2 { margin-top: 12px; }
#order_review_heading { grid-column: 2; grid-row: 1; padding: 32px 32px 0; margin: 0; background: var(--wine); color: var(--ivory); border-radius: 28px 28px 0 0; }
#order_review { grid-column: 2; grid-row: 2; padding: 20px 32px 32px; background: var(--wine); color: var(--ivory); border-radius: 0 0 28px 28px; position: sticky; top: var(--header-h); }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0; border-bottom: 1px solid var(--line-dark); text-align: start; vertical-align: top; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: end; }
.woocommerce-checkout-review-order-table .order-total td, .woocommerce-checkout-review-order-table .order-total th { font-size: 18px; color: var(--gold-3); border: 0; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--muted); }
#payment { margin-top: 20px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#payment ul.payment_methods li { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); background: rgba(217, 217, 217, .05); }
#payment ul.payment_methods li label { display: inline; margin-inline-start: 6px; }
#payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--muted); }
#payment .woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
#payment .woocommerce-terms-and-conditions-wrapper a { color: var(--gold-3); }
#payment .form-row { margin: 0; }
#place_order { margin-top: 8px; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { background: #fff; }
.woocommerce-form-coupon, .woocommerce-form-login { padding: 24px; border-radius: 20px; background: var(--paper); margin-bottom: 24px; }
.select2-container .select2-selection--single { height: 54px !important; border-radius: var(--radius-sm) !important; border-color: rgba(24, 3, 3, .18) !important; display: flex; align-items: center; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 54px !important; padding-inline: 18px !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 52px !important; }
.select2-dropdown { border-color: rgba(24, 3, 3, .18) !important; border-radius: 12px !important; overflow: hidden; }
.woocommerce-order { display: flex; flex-direction: column; gap: 24px; }
.woocommerce-order-overview { list-style: none; padding: 24px; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; border-radius: 24px; background: var(--paper); }
.woocommerce-order-overview li { display: flex; flex-direction: column; font-size: 13px; color: var(--ink-muted); }
.woocommerce-order-overview strong { font-size: 16px; color: var(--wine); }
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th, .shop_table td { padding: 14px 10px; border-bottom: 1px solid var(--line-light); text-align: start; }
@media (max-width: 1000px) {
  form.checkout { grid-template-columns: 1fr; }
  #customer_details, #order_review_heading, #order_review { grid-column: 1; grid-row: auto; }
  #order_review_heading { margin-top: 32px; }
  #order_review { position: static; }
}
@media (max-width: 560px) { .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; } }

/* My account */
.woocommerce-account .wc-content { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 12px; border-radius: 24px; background: var(--paper); display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: flex; min-height: 44px; align-items: center; padding-inline: 16px; border-radius: 999px; transition: background-color .2s; }
.woocommerce-MyAccount-navigation a:hover { background: var(--ivory-2); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--wine); color: var(--ivory); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-account:not(.logged-in) .wc-content { display: block; max-width: 980px; margin-inline: auto; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.woocommerce-account .u-column1, .woocommerce-account .u-column2 { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--paper); }
.woocommerce-account h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 16px; }
.woocommerce .button:not(.btn), .woocommerce-button:not(.btn) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 24px; border-radius: 999px; border: 0; background: var(--wine); color: var(--ivory); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .25s; }
.woocommerce .button:not(.btn):hover { background: #2c0808; }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
@media (max-width: 800px) { .woocommerce-account .wc-content, .woocommerce-account .u-columns { grid-template-columns: 1fr; } }

/* ---------- Mini cart ---------- */
.minicart__body { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 20px; }
.minicart__list { list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; }
.minicart__item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line-light); animation: mj-rise .5s var(--ease-out) backwards; }
.minicart__item:nth-child(2) { animation-delay: .05s; }
.minicart__item:nth-child(3) { animation-delay: .1s; }
.minicart__item.is-removing { animation: mj-remove .35s var(--ease-io) forwards; }
.minicart__thumb { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; background: var(--grey); }
.minicart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.minicart__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.minicart__name { font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.minicart__qty { font-size: 14px; color: var(--ink-muted); }
.minicart__remove:hover { background: rgba(24, 3, 3, .06); }
.minicart__foot { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
.minicart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin-bottom: 8px; }
.minicart__total strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.minicart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; color: var(--ink-muted); }

/* ---------- Blog ---------- */
.section--blog { padding-top: clamp(56px, 7vw, 96px); }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-muted); }
.post-meta--dark { color: var(--muted); justify-content: center; }
.post-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.post-lead__media { display: block; height: clamp(320px, 36vw, 520px); border-radius: var(--radius-lg); overflow: hidden; background: var(--grey); }
.post-lead__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-lead:hover .post-lead__img { transform: scale(1.05); }
.post-lead__body { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.post-lead__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.2vw, 2.875rem); line-height: 1.15; }
.post-lead__title a:hover { color: var(--gold-ink); }
.post-lead__body p { font-size: 17px; line-height: 1.75; color: var(--ink-body); }
.divider { height: 1px; background: var(--line-light); margin: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.post-card { position: relative; height: 100%; display: flex; flex-direction: column; padding: 14px; border-radius: 28px; background: var(--ivory-2); transition: transform .5s var(--ease-out), box-shadow .5s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(24, 3, 3, .45); }
.post-card__media { display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--grey); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card__img { transform: scale(1.06); }
.post-card__body { display: flex; flex-direction: column; gap: 14px; padding: 20px 10px 10px; flex: 1; }
.post-card__title { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.post-card__excerpt { font-size: 15px; line-height: 1.7; color: var(--ink-body); flex: 1; }
.post-card .link-arrow { align-self: flex-start; }
.post-grid__aside { display: flex; }
.newsletter { width: 100%; padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--wine); color: var(--ivory); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.newsletter__text { display: flex; flex-direction: column; gap: 14px; }
.newsletter__title { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.2; }
.newsletter p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 12px; border-radius: 999px; border: 1px solid rgba(24, 3, 3, .2); }
.nav-links .page-numbers.current { background: var(--wine); color: var(--ivory); border-color: var(--wine); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-lead { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* Article */
.article { background: var(--ivory); }
.article__hero { background: var(--wine); color: var(--ivory); padding-top: clamp(40px, 5vw, 64px); margin-bottom: clamp(120px, 17vw, 240px); }
.article__hero-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.article__title { max-width: 1000px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.25rem, 4.7vw, 4.25rem); line-height: 1.1; }
.article__cover { width: 100%; height: clamp(280px, 39vw, 560px); margin-top: 32px; margin-bottom: calc(clamp(120px, 17vw, 240px) * -1); border-radius: var(--radius-lg); overflow: hidden; background: var(--wine-deep); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__layout { display: grid; grid-template-columns: 200px minmax(0, 760px) 220px; justify-content: center; gap: 40px; align-items: start; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(80px, 9vw, 120px); }
.article__share { position: sticky; top: calc(var(--header-h) + 8px); display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.article__share-btns { display: flex; gap: 8px; }
.article__body { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.prose--article { font-size: 18px; line-height: 1.85; color: #2A1A1A; }
.prose--article > p:first-child { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 300; line-height: 1.6; color: var(--wine); }
.article__tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 14px; color: var(--ink-muted); }
.article__tags .chip { min-height: 36px; padding-inline: 14px; }
.next-post { display: flex; align-items: center; gap: 24px; padding: 16px; border-radius: 28px; background: var(--ivory-2); transition: transform .45s var(--ease-out), box-shadow .45s; }
.next-post:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(24, 3, 3, .45); }
.next-post:hover .round-btn { transform: translateX(calc(6px * var(--end-sign))); }
.next-post__img { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; flex-shrink: 0; }
.next-post__text { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.next-post__title { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.25; }
.article__promo { position: sticky; top: calc(var(--header-h) + 8px); }
.promo-card { padding: 20px; border-radius: var(--radius); background: var(--wine); color: var(--ivory); display: flex; flex-direction: column; gap: 12px; }
.promo-card__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.promo-card__name { font-family: var(--serif); font-size: 20px; line-height: 1.25; }
.promo-card__price { font-size: 14px; color: var(--muted); }
@media (max-width: 1200px) { .article__layout { grid-template-columns: 64px minmax(0, 760px); } .article__promo { display: none; } .article__share .eyebrow { display: none; } .article__share-btns { flex-direction: column; } }
@media (max-width: 760px) {
  .article__layout { grid-template-columns: 1fr; }
  .article__share { position: static; order: 2; flex-direction: row; align-items: center; }
  .article__share .eyebrow { display: inline-flex; }
  .article__share-btns { flex-direction: row; }
  .next-post__img { width: 80px; height: 80px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--paper); display: flex; flex-direction: column; gap: 22px; }
.form-card__head { display: flex; flex-direction: column; gap: 8px; }
.form-card__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.1; }
.form-card__head p { font-size: 15px; color: var(--ink-muted); }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { --mx: 50%; --my: 50%; position: relative; overflow: hidden; padding: 28px; border-radius: 28px; background: var(--paper); color: var(--wine); display: flex; flex-direction: column; gap: 14px; transition: transform .45s var(--ease-out), box-shadow .45s; }
a.info-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(24, 3, 3, .5); }
.info-card--dark { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(174, 138, 64, .22), transparent 50%), var(--wine); color: var(--ivory); }
.info-card .eyebrow { letter-spacing: .16em; }
.info-card__big { font-family: var(--serif); font-size: 28px; line-height: 1.1; text-align: start; }
.info-card__mail { font-size: 16px; word-break: break-all; }
.info-card__text { font-size: 17px; line-height: 1.5; }
.info-card__note { font-size: 14px; color: var(--ink-muted); }
.info-card--dark .info-card__note { color: var(--muted); }
.hours { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours dt { color: var(--ink-muted); }
.map { position: relative; height: 300px; border-radius: 28px; overflow: hidden; background: var(--ivory-2); }
.map__facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px;
  background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(24, 3, 3, .03) 22px 23px), repeating-linear-gradient(-45deg, transparent 0 22px, rgba(24, 3, 3, .03) 22px 23px), var(--ivory-2); }
.map__facade .icon { color: var(--gold-ink); animation: mj-float 3s ease-in-out infinite; }
@keyframes mj-float { 50% { transform: translateY(-6px); } }
.map__addr { font-family: var(--serif); font-size: 22px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
@media (max-width: 1000px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; } }

/* Contact Form 7 */
.cf7.wpcf7-form, .cf7 .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.cf7 p { margin: 0; }
.cf7 br { display: none; }
.cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf7-field { display: flex; flex-direction: column; gap: 8px; }
.cf7-field > label, .cf7 legend { font-size: 14px; font-weight: 500; color: var(--wine); }
.cf7 .wpcf7-form-control-wrap { display: block; }
.cf7 input[type="text"], .cf7 input[type="email"], .cf7 input[type="tel"], .cf7 textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(24, 3, 3, .18); background: #fff; color: var(--wine); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.cf7 textarea { min-height: 140px; resize: vertical; }
.cf7 input:focus, .cf7 textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(174, 138, 64, .3); }
.cf7 input[type="tel"], .cf7 input[type="email"] { direction: ltr; }
[dir="rtl"] .cf7 input[type="tel"], [dir="rtl"] .cf7 input[type="email"] { text-align: right; }
.cf7 fieldset { display: flex; flex-direction: column; gap: 10px; }
.cf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.cf7 .wpcf7-list-item { margin: 0; }
.cf7 .wpcf7-radio label { position: relative; display: inline-flex; }
.cf7 .wpcf7-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf7 .wpcf7-radio .wpcf7-list-item-label { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 18px; border-radius: 999px; border: 1px solid rgba(24, 3, 3, .2); font-size: 14px; cursor: pointer; transition: all .25s; }
.cf7 .wpcf7-radio label:hover .wpcf7-list-item-label { border-color: var(--wine); }
.cf7 .wpcf7-radio input:checked + .wpcf7-list-item-label { background: var(--wine); border-color: var(--wine); color: var(--ivory); }
.cf7 .wpcf7-radio input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--focus); outline-offset: 2px; }
.cf7 .wpcf7-acceptance label { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-body); cursor: pointer; }
.cf7 .wpcf7-acceptance input { width: 20px; height: 20px; accent-color: var(--wine); }
.cf7 .wpcf7-acceptance a { color: var(--gold-ink); text-decoration: underline; }
.cf7 input[type="submit"], .cf7 .wpcf7-submit { width: 100%; height: 60px; border-radius: 999px; border: 0; background: var(--wine); color: var(--ivory); font-size: 17px; font-weight: 500; cursor: pointer; transition: background-color .25s, transform .3s var(--ease-out); }
.cf7 input[type="submit"]:hover { background: #2c0808; }
.cf7 input[type="submit"]:active { transform: scale(.98); }
.cf7 .wpcf7-spinner { margin: 12px auto 0; display: block; }
.cf7 .wpcf7-not-valid-tip { font-size: 13px; color: #9b2c2c; margin-top: 6px; }
.cf7 .wpcf7-not-valid { border-color: #9b2c2c !important; }
.cf7 .wpcf7-response-output { margin: 0 !important; padding: 14px 18px !important; border-radius: var(--radius-sm); border-width: 1px !important; font-size: 15px; }
.cf7--newsletter.wpcf7-form, .cf7--newsletter .wpcf7-form { gap: 10px; }
.cf7--newsletter label { font-size: 13px; color: var(--muted); }
.cf7--newsletter input[type="email"] { min-height: 52px; border-radius: 999px; border-color: rgba(217, 217, 217, .25); background: rgba(217, 217, 217, .06); color: var(--ivory); }
.cf7--newsletter input[type="submit"] { height: 52px; background: var(--gold); color: var(--wine); font-size: 15px; }
.cf7--newsletter input[type="submit"]:hover { background: var(--gold-3); }
.cf7--newsletter .wpcf7-response-output { color: var(--ivory); }
@media (max-width: 560px) { .cf7-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: var(--grey); padding-block: clamp(64px, 7vw, 88px) 36px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 5vw, 72px); }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand img { width: 96px; height: 96px; object-fit: contain; margin-inline-start: -10px; }
.site-footer__tagline { font-family: var(--serif); font-size: 28px; font-weight: 300; line-height: 1.25; color: var(--ivory); }
.site-footer__text { font-size: 14px; line-height: 1.7; color: var(--muted-2); max-width: 320px; }
.socials { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.socials .icon-btn { color: var(--gold-2); }
.socials .icon-btn:hover { color: var(--wine); background: var(--gold-2); border-color: var(--gold-2); }
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__title { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .18em; color: var(--gold-2); text-transform: uppercase; }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.site-footer__links a, .site-footer__mail { position: relative; font-size: 16px; color: var(--grey); transition: color .25s; width: fit-content; }
.site-footer__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: var(--origin, 100%) 50%; transition: transform .4s var(--ease-out); }
html:not([dir="rtl"]) .site-footer__links a::after { --origin: 0%; }
.site-footer__links a:hover { color: var(--gold-3); }
.site-footer__links a:hover::after { transform: scaleX(1); }
.site-footer__phone { font-family: var(--serif); font-size: 26px; color: var(--ivory); width: fit-content; }
.site-footer__phone:hover, .site-footer__mail:hover { color: var(--gold-3); }
.site-footer__muted { font-size: 14px; line-height: 1.7; color: var(--muted-2); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(217, 217, 217, .12); font-size: 13px; color: var(--muted-2); }
.site-footer__legal { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-footer__legal a:hover { color: var(--gold-3); }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } .site-footer__col:last-child { grid-column: 1 / -1; } }

.float-call { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center; background: var(--gold); color: var(--wine); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); transform: scale(0); transition: transform .5s var(--ease-out); }
.float-call.is-visible { transform: scale(1); }
.float-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: mj-ring-pulse 2.6s var(--ease-out) infinite; }
@keyframes mj-ring-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@media (max-width: 900px) { .float-call { display: grid; } .single-product .float-call { display: none; } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--wine); color: var(--ivory); font-size: 15px; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .7); border: 1px solid rgba(174, 138, 64, .4); pointer-events: auto; animation: mj-toast-in .5s var(--ease-out); }
[dir="rtl"] .toast { padding: 12px 20px 12px 12px; }
.toast .icon { color: var(--gold-3); flex-shrink: 0; }
.toast a { color: var(--gold-3); text-decoration: underline; white-space: nowrap; }
.toast.is-leaving { animation: mj-toast-in .3s var(--ease-io) reverse forwards; }
@keyframes mj-toast-in { from { opacity: 0; transform: translateY(20px) scale(.95); } }

.fly-img { position: fixed; z-index: 400; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

/* ---------- 404 ---------- */
.notfound { background: var(--wine); color: var(--ivory); padding-block: clamp(72px, 10vw, 140px); text-align: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.notfound__code { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-weight: 300; font-size: clamp(6rem, 16vw, 12rem); line-height: 1; color: var(--gold-2); }
.notfound__gem { display: inline-flex; color: var(--gold-3); animation: mj-float 3.5s ease-in-out infinite; }
.notfound__gem .icon { width: clamp(72px, 12vw, 120px); height: auto; stroke-width: 1; }
.notfound .lead { max-width: 520px; }
.notfound .hero__actions { justify-content: center; }

/* ---------- Reveal on scroll (JS adds .is-in) ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .65s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(10% 6% 10% 6% round var(--radius-lg)); transition: clip-path 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="clip"] img { transform: scale(1.15); transition: transform 1.6s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }
.js .about__media[data-reveal="clip"].is-in img { transform: translate3d(0, var(--py, 0px), 0); }
.js .hero__title .line__inner, .js .hero__copy > * { will-change: transform; }

/* ---------- Page transitions (cross-document, progressive) ---------- */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: mj-vt-out .28s var(--ease-io) both; }
  ::view-transition-new(root) { animation: mj-vt-in .45s var(--ease-out) both; }
}
@keyframes mj-vt-out { to { opacity: 0; } }
@keyframes mj-vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="clip"] img { transform: none; }
  .marquee__track { animation: none; }
  .marquee__viewport { overflow-x: auto; }
  .marquee__track[aria-hidden="true"], .marquee__toggle, .glints { display: none; }
  .cat-card { transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .float-call, .toasts, .scroll-progress, .dialog { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- State helpers ---------- */
html.is-locked { overflow: hidden; }
[data-fav][aria-pressed="true"] { color: #9b2c2c; }
[data-fav][aria-pressed="true"] svg { fill: currentColor; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .icon { animation: mj-spin .9s linear infinite; }
.btn.is-done { background: var(--green) !important; color: #fff !important; }
.site-footer__hours { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted-2); max-width: 280px; }
.site-footer__hours div { display: flex; justify-content: space-between; gap: 16px; }
.pcard__price, .price-range { white-space: nowrap; }
.page-hero__aside:has(.steps-bar) { flex: 0 1 auto; }
.steps-bar { flex-wrap: nowrap; }
@media (max-width: 560px) { .steps-bar { flex-wrap: wrap; font-size: 13px; } .steps-bar__step + .steps-bar__step::before { width: 16px; } }
.lang-en .hero__title { font-size: clamp(2.75rem, 5.4vw, 5rem); letter-spacing: -0.02em; }
.lang-en .page-hero__title, .lang-en .h2 { letter-spacing: -0.015em; }
html { overflow-x: clip; }
.section-head__tools, .section-head__text { min-width: 0; max-width: 100%; }
@media (max-width: 560px) {
  .section-head__tools { width: 100%; }
  .section-head__tools .chips { flex: 1 1 100%; min-width: 0; }
}
@media (max-width: 560px) {
  .hero__media { aspect-ratio: 1 / 1; }
  .hero__product { padding: 8px; gap: 10px; border-radius: 18px; }
  .hero__product-kicker { display: none; }
  .hero__product-name { font-size: 15px; }
  .hero__product-price { font-size: 13px; }
  .hero__product .round-btn { width: 40px; height: 40px; }
}
/* Above-the-fold entrance: pure CSS, starts at first paint (no JS wait) */
.rise { animation: mj-rise .8s var(--ease-out) backwards; animation-delay: calc(var(--d, 0) * 80ms); }
.page-hero__aside:has(.page-hero__count) { flex: 0 0 auto; min-width: 0; }
.quick__media { position: relative; aspect-ratio: auto; min-height: 420px; }
.quick__img { position: absolute; inset: 0; }
.quick__body .link-arrow { align-self: flex-start; }
@media (max-width: 760px) { .quick__media { aspect-ratio: 4 / 3; min-height: 0; } }
.breadcrumbs a, .breadcrumbs [aria-current] { display: inline-flex; align-items: center; min-height: 24px; }
.woocommerce form .woocommerce-form__input-checkbox, #payment input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--gold); }

/* ---------- CookieYes banner (brand polish) ---------- */
.cky-consent-container .cky-consent-bar, .cky-modal .cky-preference-center { border-radius: 20px !important; font-family: var(--sans) !important; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8) !important; border: 1px solid rgba(174, 138, 64, .35) !important; }
.cky-title, .cky-preference-title { font-family: var(--serif) !important; font-weight: 400 !important; font-size: 20px !important; }
.cky-btn { border-radius: 999px !important; font-family: var(--sans) !important; font-weight: 500 !important; transition: background-color .25s, color .25s !important; }
.cky-btn:focus-visible, .cky-switch input:focus-visible, .cky-accordion-btn:focus-visible, .cky-btn-close:focus-visible, .cky-show-desc-btn:focus-visible { outline: 2px solid var(--gold-3) !important; outline-offset: 2px !important; }
.cky-btn-revisit-wrapper { background-color: var(--gold) !important; }
[dir="rtl"] .cky-consent-container, [dir="rtl"] .cky-modal { direction: rtl; }

/* ==========================================================================
   QA fixes (mobile / iOS)
   ========================================================================== */

/* Horizontal scrollers scroll on X only (reveal/hover transforms used to add a Y scroll). */
.topbar__list, .carousel, .section-head__tools .chips, .shapes__list, .cat-tabs__list, .pgallery__thumbs, .chips {
  overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.carousel { padding-block: 8px 12px; margin-block: -8px -4px; }
/* Vertical scrollers scroll on Y only. */
.shop__filters, .quick__body, .minicart__list, .dialog--drawer .dialog__panel, .dialog--quick, .dialog--search .dialog__panel {
  overflow-x: hidden;
}
.shop__filters * { max-width: 100%; }
.filters__options, .filters__group { min-width: 0; }

/* Product page: gallery + specs on one side, summary on the other; on mobile summary comes right after the gallery. */
.product { grid-template-areas: "gallery summary" "specs summary"; grid-template-rows: auto 1fr; row-gap: 32px; }
.product__gallery-col { grid-area: gallery; }
.product__summary { grid-area: summary; align-self: start; }
.product__specs { grid-area: specs; align-self: start; }
@media (max-width: 960px) {
  .product { grid-template-areas: "gallery" "summary" "specs"; grid-template-rows: auto; row-gap: 28px; padding-top: 8px; }
  .product__title { font-size: clamp(2rem, 8vw, 2.6rem); }
}
/* Mixed Hebrew/Latin values keep their own direction (e.g. "Round Brilliant (עגול מבריק)"). */
.specs__row dd, .cart-item__meta, .minicart__meta { unicode-bidi: plaintext; }
[dir="rtl"] .specs__row dd { text-align: right; }

@media (max-width: 560px) {
  /* compact perks */
  .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .perks__item { flex-direction: column; align-items: center; text-align: center; padding: 14px 8px; gap: 6px; border-radius: 16px; }
  .perks__item strong { font-size: 13px; line-height: 1.3; }
  .perks__item span { display: none; }
  .vform__buy { gap: 10px; }
  .vform__buy .qty { flex: 1; justify-content: space-between; }
  .opt { min-height: 48px; padding-inline: 16px; font-size: 14px; }
  .opt--swatch { padding-inline: 10px 16px; }
  .specs { padding: 22px 20px; }
  .specs__title { font-size: 26px; }
  .breadcrumbs--light { padding-block: 16px 4px; font-size: 13px; }
  .breadcrumbs li:last-child { max-width: 100%; }
  .breadcrumbs [aria-current] { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
}

/* iOS: inputs under 16px trigger auto-zoom on focus. */
@media (max-width: 960px) {
  input, select, textarea, .sort select, .search-field input, .coupon input, .input { font-size: 16px !important; }
}

/* iPhone safe areas for floating UI. */
.buybar { bottom: calc(12px + env(safe-area-inset-bottom)); }
.float-call { bottom: calc(16px + env(safe-area-inset-bottom)); }
.toasts { bottom: calc(24px + env(safe-area-inset-bottom)); }
.dialog--drawer .dialog__panel { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.single-product .toasts { bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (max-width: 960px) { .product { grid-template-columns: minmax(0, 1fr); } .product > * { min-width: 0; } }
.shop, .cart-layout, .contact, .about__grid, .hero__grid, .post-lead, form.checkout { min-width: 0; }
.shop > *, .cart-layout > *, .contact > *, form.checkout > * { min-width: 0; }
@media (max-width: 960px) {
  .js .filters__apply { bottom: calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -18px 24px 6px var(--ivory); z-index: 2; }
  .shop__filters { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .shop__filters .help-card { margin-bottom: 8px; }
}
.shape__ring { height: auto; display: block; }
.shape__img { height: auto; aspect-ratio: 1; }
.marquee__toggle { width: 32px; height: 32px; }
@media (max-width: 560px) { .marquee__viewport { height: 64px; } .marquee__track { font-size: 20px; gap: 24px; padding-inline-end: 24px; } }
@media (max-width: 560px) {
  .steps-bar { flex-wrap: nowrap; gap: 6px; }
  .steps-bar__step + .steps-bar__step::before { width: 14px; }
  .steps-bar__step:not(.is-current) > span:last-child { display: none; }
  .steps-bar__num { width: 28px; height: 28px; }
}
dl.variation { font-size: 13.5px; color: var(--ink-muted); }
.summary-card dl.variation, #order_review dl.variation { color: var(--muted); }
dl.variation dt::after { content: ""; }
dl.variation, .cart-item__meta dl.variation, .minicart__meta dl.variation { display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; margin: 2px 0 0; }
dl.variation dt, dl.variation dd { margin: 0; }
.cart-item__meta, .minicart__meta { unicode-bidi: normal; }

/* Tablet / small laptop hero: equal columns so the image and featured card never get squeezed. */
@media (max-width: 1180px) and (min-width: 961px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
}
.hero__product-text { min-width: 0; }
.hero__product-name { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Hebrew headings: Rubik (same family as body text — clean, modern). English keeps Frank Ruhl Libre. */
.lang-he { --serif: "Rubik", system-ui, sans-serif; }
.lang-he :is(.hero__title, .h2, .page-hero__title, .product__title, .article__title, .post-lead__title, .quick__title, .form-card__title, .newsletter__title, .mobile-nav a) { font-weight: 300; letter-spacing: -0.02em; }
.lang-he .hero__title { font-size: clamp(2.75rem, 5.8vw, 5.25rem); line-height: 1.05; }
.lang-he .hero__title .accent { font-weight: 400; }
.lang-he .h2 { font-size: clamp(2rem, 3.9vw, 3.25rem); line-height: 1.1; }
.lang-he .page-hero__title { font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1.05; }
.lang-he .product__title { font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.15; }
.lang-he .article__title { font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.15; }
.lang-he :is(.pcard__title, .cat-card__name, .specs__title, .filters__title, .summary-card__title, .dialog__title, .cart-item__name, .minicart__name, .promo-card__name, .next-post__title, .post-card__title, .shape__name, .hero__product-name, .buybar__name, .site-footer__tagline) { font-weight: 400; letter-spacing: -0.01em; }
.lang-he .pcard__title { font-size: 19px; }
.lang-he :is(.price-lg, .steps__num, .phone-link, .cta-box__phone, .hero-phone__num, .site-footer__phone, .info-card__big, .summary-card__total strong, .minicart__total strong) { font-weight: 300; letter-spacing: -0.01em; }
/* Above-the-fold text stays visible from first paint (better LCP): motion only, no fade. */
@keyframes mj-rise-t { from { transform: translateY(14px); } }
.rise, .hero__lead, .hero__actions, .hero__facts, .hero__copy .eyebrow { animation-name: mj-rise-t; }
/* WCAG 1.4.1: links inside running text are underlined (checkout terms/privacy, notices). */
.woocommerce-terms-and-conditions-wrapper a, .woocommerce-privacy-policy-text a, .woocommerce-notice a, .woocommerce-info a:not(.button), .cf7 .wpcf7-acceptance a { text-decoration: underline; text-underline-offset: 3px; }
.summary-card__row--shipping dd { margin: 0; width: 100%; text-align: start; }
/* WCAG 2.4.11: while the cookie banner is open, keep focused elements scrolled above it. */
html:has(.cky-consent-container:not(.cky-hide)) { scroll-padding-bottom: 300px; }
@media (max-width: 640px) { html:has(.cky-consent-container:not(.cky-hide)) { scroll-padding-bottom: 440px; } }

/* Hero image in its natural proportions (height: auto) — no cropping on any screen. */
.hero__grid { align-items: center; min-height: 0; }
.hero__media { min-height: 0; aspect-ratio: auto !important; align-self: center; }
.hero__img { position: relative; inset: auto; height: auto; object-fit: initial; transform: translate3d(0, var(--py, 0px), 0); }
@keyframes mj-hero-img { from { transform: scale(1.08); } }
@media (max-width: 560px) {
  .hero__media::after { display: none; }
  .hero__product { position: relative; inset: auto; bottom: auto; width: auto; margin: 0; border-radius: 0; border-width: 1px 0 0; background: var(--wine-raise); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Featured product sits under the photo on every screen size (never covers the jewelry). */
.hero__media::after { display: none; }
.hero__media { display: flex; flex-direction: column; }
.hero__product {
  position: relative; inset: auto; bottom: auto; width: auto; margin: 0;
  padding: 14px 18px; border-radius: 0; border-width: 1px 0 0; border-color: rgba(174, 138, 64, .25);
  background: var(--wine-raise); backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hero__product:hover { transform: none; background: #2a0909; }
.hero__product:hover .round-btn { transform: translateX(calc(4px * var(--end-sign))); }
@media (max-width: 560px) { .hero__product { padding: 10px 12px; } }

/* ---------- Favorites ---------- */
.header-fav .cart-count { position: absolute; top: 3px; inset-inline-end: 3px; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 9px; background: var(--gold); color: var(--wine); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; transition: transform .4s var(--ease-out); }
.header-fav .cart-count.is-empty { transform: scale(0); }
.favorites { display: flex; flex-direction: column; gap: 28px; }
.favorites__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-light); }
.favorites__loading { display: grid; place-items: center; min-height: 240px; }
.favorites__loading[hidden] { display: none; }
@media (max-width: 640px) { .header-fav { display: none; } }
