/* Storefront theme – every colour, font and the corner radius come from Admin → Customize (theme.json options → --opt-* variables). */
:root {
  --primary: var(--opt-primary, #111111);
  --accent: var(--opt-accent, #d9480f);
  --bg: var(--opt-bg, #faf9f7);
  --surface: var(--opt-surface, #ffffff);
  --text: var(--opt-text, #17140f);
  --on-primary: #ffffff;
  --font: var(--opt-fontBody, 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
  --font-h: var(--opt-fontHeading, 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
  --r: calc(var(--opt-radius, 14) * 1px);
  --r-sm: calc(var(--opt-radius, 14) * .6px);
  --width: var(--opt-maxwidth, 1240px);
  --muted: color-mix(in srgb, var(--text) 62%, transparent);
  --line: color-mix(in srgb, var(--text) 13%, transparent);
  --soft: color-mix(in srgb, var(--text) 5%, var(--bg));
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 28px -12px rgba(0, 0, 0, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: var(--opt-darkBg, #0d0d0f);
  --surface: var(--opt-darkSurface, #17171a);
  --text: var(--opt-darkText, #f3f1ec);
  --primary: var(--opt-darkText, #f3f1ec);
  --on-primary: var(--opt-darkBg, #0d0d0f);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html.mode-auto:not([data-theme]) {
    --bg: var(--opt-darkBg, #0d0d0f); --surface: var(--opt-darkSurface, #17171a); --text: var(--opt-darkText, #f3f1ec);
    --primary: var(--opt-darkText, #f3f1ec); --on-primary: var(--opt-darkBg, #0d0d0f);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -12px rgba(0, 0, 0, .7); color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 75%, transparent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--width); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--primary); color: var(--on-primary); padding: .6rem 1rem; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: .75rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 .9rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 52ch; }
.meta { color: var(--muted); font-size: .9rem; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: '→'; display: inline-block; margin-inline-start: .35em; transition: transform .25s var(--ease); }
[dir="rtl"] .link-arrow::after { content: '←'; }
.link-arrow:hover::after { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }

/* ---------- buttons ---------- */
.btn, body .shop-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:hover, body .shop-btn:hover { border-color: var(--text); filter: none; transform: translateY(-1px); }
.btn:active, body .shop-btn:active { transform: translateY(0) scale(.98); }
.btn-primary, body .shop-btn.is-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn-primary:hover, body .shop-btn.is-primary:hover { background: var(--primary); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-ghost { background: transparent; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--soft); }

/* ---------- announcement ---------- */
.announce { background: var(--primary); color: var(--on-primary); font-size: .85rem; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 38px; text-align: center; position: relative; padding-block: .3rem; padding-inline: 2.6rem; line-height: 1.35; }
.announce a { text-decoration: none; font-weight: 600; }
.announce a:hover { text-decoration: underline; }
.announce-close { position: absolute; inset-inline-end: clamp(.5rem, 2vw, 1.5rem); background: none; border: 0; color: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; opacity: .7; padding: .3rem .5rem; }
.announce-close:hover { opacity: 1; }
.announce.is-closed { display: none; }

/* ---------- header ---------- */
/* the frosted glass lives on a pseudo-element: backdrop-filter on the header itself would make the fixed mobile drawer position relative to the header instead of the screen */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-h); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; text-decoration: none; color: var(--text); }
.brand img { height: 32px; width: auto; }
.nav-toggle, .nav-close { display: none; }
.nav-panel { flex: 1; display: flex; justify-content: center; }
.header-tools { display: flex; align-items: center; gap: .15rem; margin-inline-start: auto; }
.cms-menu__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; align-items: center; }
.cms-menu__item { position: relative; }
.cms-menu__item > a { display: flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .2s; }
.cms-menu__item > a:hover, .cms-menu__item.is-active > a { background: var(--soft); }
body .cms-menu__badge { font-size: .68rem; font-weight: 700; background: var(--accent); color: #fff; padding: .05rem .5rem; border-radius: 99px; line-height: 1.5; }
.cms-menu__icon { font-size: 1.05em; }
.sub-toggle { display: none; }
.cms-menu__item.has-sub > a::after { content: ''; width: .42em; height: .42em; border-inline-end: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
body .site-header .cms-menu__sub { list-style: none; margin: 0; padding: .5rem; position: absolute; inset-inline-start: 0; top: calc(100% + .35rem); min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 10; }
.cms-menu__sub .cms-menu__item > a { border-radius: var(--r-sm); padding: .55rem .8rem; white-space: nowrap; }
.cms-menu__sub .cms-menu__sub { inset-inline-start: 100%; top: -.5rem; }
body .site-header .cms-menu__item:hover > .cms-menu__sub, body .site-header .cms-menu__item:focus-within > .cms-menu__sub { opacity: 1; visibility: visible; transform: none; }
.search { position: relative; display: flex; align-items: center; }
.search .i { position: absolute; inset-inline-start: .85rem; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 190px; padding: .55rem .9rem .55rem 2.5rem; padding-inline: 2.5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: inherit; font: inherit; font-size: .92rem; transition: width .3s var(--ease), background .2s, border-color .2s; }
.search input:focus { width: 260px; background: var(--surface); border-color: var(--text); outline: none; }
.search-toggle { display: none; }
.mode-toggle .i-sun { display: none; }
html[data-theme="dark"] .mode-toggle .i-sun { display: block; }
html[data-theme="dark"] .mode-toggle .i-moon { display: none; }
/* the Accounts plugin's link becomes a person icon (a green dot when signed in) */
.header-tools .acct-link { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 0; text-decoration: none; transition: background .2s; }
.header-tools .acct-link:hover { background: var(--soft); }
.header-tools .acct-link::before { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4.5 4-6 8-6s7 1.5 8 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4.5 4-6 8-6s7 1.5 8 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.header-tools .acct-link[data-in]::after { content: ''; position: absolute; top: 8px; inset-inline-end: 7px; width: 9px; height: 9px; border-radius: 50%; background: #16a34a; border: 2px solid var(--bg); }
/* the shop plugin's cart link becomes a bag icon with a count */
.header-tools .shop-cartlink { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 0; transition: background .2s; }
.header-tools .shop-cartlink:hover { background: var(--soft); }
.header-tools .shop-cartlink::before { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6zM9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6zM9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat; }
.header-tools .shop-cartlink b { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; background: var(--accent); color: #fff; border-radius: 99px; }
.header-tools .shop-cartlink b:empty, .header-tools .shop-cartlink b[data-n="0"] { display: none; }
.nav-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s; }
.nav-scrim.is-on { opacity: 1; }

/* ---------- layout ---------- */
.site-main { min-height: 60vh; padding-block: clamp(1.5rem, 4vw, 3rem); }
.tpl-home .site-main, .tpl-fullwidth .site-main { padding-block: 0; }
.page-title { margin-bottom: .35em; }
.page { padding-block: 0 2rem; }
.page-content > :is(p, ul, ol, blockquote, h2, h3, h4, pre, hr):not([class*="shop-"]) { max-width: 72ch; }
.page-content img { border-radius: var(--r); }
.page-content table:not([class*="shop-"]) { border-collapse: collapse; width: 100%; }
.page-content table:not([class*="shop-"]) :is(th, td) { padding: .6rem; border-bottom: 1px solid var(--line); text-align: start; }
.page-content blockquote { margin-inline: 0; padding-inline-start: 1.2rem; border-inline-start: 3px solid var(--accent); color: var(--muted); }
.home-content { padding-block: 3rem; }
.post-head { margin-bottom: 1.5rem; }
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-block: 1.5rem; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card h2 { font-size: 1.25rem; } .post-card h2 a { text-decoration: none; }
.pagination { display: flex; gap: .75rem; justify-content: center; margin-block: 2rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .4rem 0 1rem; padding: 0; }
.tag-list a { display: inline-block; padding: .15rem .75rem; border: 1px solid var(--line); border-radius: 99px; font-size: .82rem; text-decoration: none; color: var(--muted); }
.tag-list a:hover { color: var(--text); border-color: var(--text); }
.notfound { text-align: center; padding-block: 4rem; }
.notfound .lead { margin-inline: auto; }
.search--big { max-width: 520px; margin: 1.5rem auto; gap: .5rem; }
.search--big input { width: 100%; padding-inline: 1.1rem; }
.search--big input:focus { width: 100%; }
.search--big .btn { white-space: nowrap; }

/* ---------- home sections ---------- */
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--tint { background: var(--soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--bg)), var(--bg) 60%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding-block: clamp(2.5rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -.035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero-media { position: relative; aspect-ratio: 4 / 4.4; border-radius: calc(var(--r) * 1.8); overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--accent) 35%, var(--surface)), var(--soft)); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero--full { color: #fff; }
.hero--full .hero-inner { grid-template-columns: 1fr; min-height: min(78vh, 720px); align-content: center; position: relative; z-index: 1; }
.hero--full .hero-media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.hero--full .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .1)); }
[dir="rtl"] .hero--full .hero-media::after { background: linear-gradient(270deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .1)); }
.hero--full .lead { color: rgba(255, 255, 255, .85); }
.hero--full .btn-primary { background: #fff; border-color: #fff; color: #111; }
.hero--full .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.trust ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-bottom: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: .8rem; }
.trust .i { width: 26px; height: 26px; color: var(--accent); }
.trust b { display: block; font-size: .95rem; } .trust span { display: block; font-size: .85rem; color: var(--muted); }
.bento { display: grid; gap: .9rem; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(150px, 20vw, 250px)); }
.tile { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: calc(var(--r) * 1.4); text-decoration: none; color: #fff; isolation: isolate; background: linear-gradient(135deg, #3b3b46, #15151a); }
.tile-1 { grid-column: 1 / 3; grid-row: 1 / 3; background: linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #000)); }
.tile-2 { grid-column: 3; grid-row: 1; background: linear-gradient(135deg, #2f5d62, #14292b); }
.tile-3 { grid-column: 4; grid-row: 1; background: linear-gradient(135deg, #7a5c3e, #2e2216); }
.tile-4 { grid-column: 3 / 5; grid-row: 2; background: linear-gradient(135deg, #3d3a5c, #17162b); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .7s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 55%); }
.tile:hover img { transform: scale(1.06); }
.tile-label { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: 1.1rem 1.3rem; font-family: var(--font-h); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.tile-label .i { transition: transform .3s var(--ease); }
.tile:hover .tile-label .i { transform: translateX(5px); }
[dir="rtl"] .tile-label .i { transform: scaleX(-1); } [dir="rtl"] .tile:hover .tile-label .i { transform: scaleX(-1) translateX(5px); }
.promo { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.6); overflow: hidden; }
.promo-copy { padding: clamp(1.5rem, 5vw, 4rem); align-self: center; }
.promo-copy p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.promo-media { min-height: 260px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--surface)), var(--soft)); }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.site-footer { margin-top: 3rem; background: var(--soft); border-top: 1px solid var(--line); padding-block: 3.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: .75rem; }
.footer-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; font-family: var(--font); }
.footer-col .cms-menu__list { flex-direction: column; align-items: flex-start; gap: .1rem; }
.footer-col .cms-menu__item > a { padding: .25rem 0; border-radius: 0; background: none; color: var(--text); }
.footer-col .cms-menu__item > a:hover { text-decoration: underline; background: none; }
body .footer-col .cms-menu__item.is-active > a { background: none; font-weight: 700; }
.footer-col .cms-menu__sub { display: none; }
.footer-col p { margin: 0 0 .5rem; }
.footer-col.contact:not(:has(p)) { display: none; }
.social { list-style: none; display: flex; gap: .4rem; margin: 1rem 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ===================== Shop plugin, restyled ===================== */
body .shop-filters { gap: .6rem; margin-block: 0 1.5rem; }
body .shop-filters :is(input, select) { border-radius: 999px; background: var(--surface); border-color: var(--line); padding: .65rem 1.1rem; }
body .shop-filters input[type=search] { min-width: 220px; }
body .shop-grid { gap: clamp(1rem, 2.5vw, 1.75rem) clamp(.8rem, 2vw, 1.25rem); margin-block: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
@media (min-width: 981px) {
  body .shop-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .shop-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .shop-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) and (min-width: 561px) { body .shop-grid.cols-3, body .shop-grid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } body .shop-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body .shop-grid.cols-1 { grid-template-columns: minmax(0, 340px); }
body .shop-card { padding: 0; border: 0; background: transparent; border-radius: 0; gap: .35rem; }
body .shop-thumb { aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--soft); }
body .shop-thumb img { transition: transform .6s var(--ease); }
body .shop-card:hover .shop-thumb img { transform: scale(1.05); }
body .shop-noimg { background: linear-gradient(135deg, var(--soft), color-mix(in srgb, var(--text) 9%, var(--bg))); }
body .shop-badge { background: var(--accent); inset-block-start: .7rem; inset-inline-start: .7rem; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
body .shop-title { font-size: 1rem; font-weight: 600; margin: .5rem 0 0; letter-spacing: -.01em; }
body .shop-price { font-weight: 600; font-variant-numeric: tabular-nums; }
body .shop-price del { font-weight: 400; }
body .shop-price ins { color: var(--accent); }
body .shop-card .shop-actions { margin-top: .4rem; }
body .shop-card .shop-btn { width: 100%; min-height: 42px; padding-block: .5rem; font-size: .88rem; }
body .shop-card.is-out { opacity: .55; }
body .shop-pager a { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
body .shop-notice { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--r-sm); }
body .shop-notice.is-error { background: rgba(220, 38, 38, .1); border-color: rgba(220, 38, 38, .35); }
/* product page */
body .shop-product { gap: clamp(1.5rem, 5vw, 4rem); align-items: start; margin-block: 0 2rem; }
body .shop-gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
body .shop-gallery .shop-main { border-radius: calc(var(--r) * 1.4); aspect-ratio: 1 / 1.05; background: var(--soft); }
body .shop-thumbs img { border-radius: var(--r-sm); border: 1px solid var(--line); }
body .shop-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
body .shop-info .shop-price { font-size: 1.5rem; display: block; margin-bottom: .5rem; }
body .shop-excerpt { color: var(--muted); font-size: 1.05rem; }
body .shop-add { gap: .75rem; }
body .shop-add .shop-btn.is-primary { flex: 1 1 220px; padding-block: 1rem; font-size: 1rem; }
body .shop-add :is(select, input) { background: var(--surface); border-color: var(--line); border-radius: var(--r-sm); }
body .shop-variant { flex: 1 1 100%; font-weight: 600; font-size: .9rem; }
body .shop-variant select { width: 100%; margin-top: .3rem; padding: .8rem; }
.qty-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; margin-inline-start: .4rem; }
.qty-step input { width: 3rem !important; border: 0 !important; text-align: center; background: transparent !important; padding: .6rem 0 !important; -moz-appearance: textfield; }
.qty-step input::-webkit-outer-spin-button, .qty-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step button { width: 2.5rem; height: 2.5rem; border: 0; background: none; color: inherit; font-size: 1.15rem; cursor: pointer; }
.qty-step button:hover { background: var(--soft); }
body .shop-stock { font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; }
body .shop-stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
body .shop-stock.is-low::before { background: #d97706; } body .shop-stock.is-out::before { background: #dc2626; }
body .shop-desc { border-top: 1px solid var(--line); padding-top: 1.5rem; max-width: 76ch; }
/* cart + checkout: calm, minimal */
body .shop-lines th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
body .shop-lines .c-img img { width: 72px; height: 88px; border-radius: var(--r-sm); }
body .shop-lines .c-qty input { border-radius: var(--r-sm); background: var(--surface); border-color: var(--line); }
body .shop-cart-bottom { align-items: start; }
body .shop-summary, body .shop-checkout .shop-cols > div:last-child { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.2); padding: clamp(1rem, 3vw, 1.75rem); }
body .shop-summary .shop-btn { width: 100%; margin-top: .75rem; padding-block: 1rem; }
body .shop-totals .is-total { border-top-color: var(--text); }
body .shop-coupon input, body .shop-field :is(input, select, textarea) { background: var(--surface); border-color: var(--line); border-radius: var(--r-sm); padding: .8rem .9rem; transition: border-color .2s, box-shadow .2s; }
body .shop-field :is(input, select, textarea):focus, body .shop-coupon input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 12%, transparent); }
body .shop-checkout h2 { font-size: 1.15rem; margin-top: 1.2rem; }
body .shop-checkout .shop-cols > div:first-child h2:first-child { margin-top: 0; }
body .shop-choice { border-radius: var(--r-sm); background: var(--surface); padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s; }
body .shop-choice:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
body .shop-choice input { accent-color: var(--primary); }
body .shop-checkout .shop-btn.is-primary { width: 100%; padding-block: 1.05rem; margin-top: 1rem; font-size: 1.02rem; }
body .shop-instr { border-radius: var(--r-sm); background: var(--surface); }
body .shop-order .shop-lines { margin-block: 1rem; }
body .shop-empty { text-align: center; padding-block: 2.5rem; color: var(--muted); }
body .shop-cats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
body .shop-cats a { display: inline-block; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
body .shop-cats a:hover { border-color: var(--text); }

/* sticky add-to-cart (small screens, added by theme.js on product pages) */
.atc-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: none; align-items: center; gap: .9rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.atc-bar.is-on { transform: none; }
.atc-bar-info { flex: 1; min-width: 0; line-height: 1.25; }
.atc-bar-info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
.atc-bar-info span { font-size: .88rem; color: var(--muted); }
.atc-bar .btn { white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search input { width: 150px; } .search input:focus { width: 190px; }
}
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .nav-toggle { display: inline-grid; }
  .nav-panel { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 46; width: min(86vw, 360px); background: var(--surface); padding: 1rem 1rem 2rem; flex-direction: column; justify-content: flex-start; overflow-y: auto; transform: translateX(-102%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
  [dir="rtl"] .nav-panel { transform: translateX(102%); }
  .nav-panel.is-open { transform: none; }
  .nav-close { display: inline-grid; align-self: flex-end; margin-bottom: .5rem; }
  .cms-menu__list { flex-direction: column; align-items: stretch; gap: 0; }
  .cms-menu__item > a { font-size: 1.1rem; padding: .85rem .5rem; border-radius: var(--r-sm); border-bottom: 1px solid var(--line); border-radius: 0; }
  .cms-menu__item.has-sub { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .cms-menu__item.has-sub > a::after { display: none; }
  .sub-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; }
  .sub-toggle::before { content: ''; width: .5em; height: .5em; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
  .sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
  body .site-header .nav-panel .cms-menu__item > a { border-radius: 0; }
  body .site-header .nav-panel .cms-menu__sub { position: static; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: none; padding: 0 0 .5rem 1rem; padding-inline: 1rem 0; display: none; min-width: 0; }
  body .site-header .nav-panel .cms-menu__item.is-open > .cms-menu__sub { display: block; }
  body .site-header .nav-panel .cms-menu__sub .cms-menu__item > a { font-size: 1rem; border: 0; padding: .55rem .5rem; white-space: normal; }
  .brand { margin-inline-end: auto; }
  .header-tools { margin-inline-start: 0; }
  .search { display: none; position: absolute; inset-inline: 0; top: 100%; padding: .6rem 1rem; background: var(--bg); border-bottom: 1px solid var(--line); }
  .search.is-open { display: flex; }
  .search .i { inset-inline-start: 1.9rem; }
  .search input, .search input:focus { width: 100%; padding-block: .8rem; }
  .search-toggle { display: inline-grid; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, clamp(130px, 38vw, 220px)); }
  .tile-1 { grid-column: 1 / 3; grid-row: 1; } .tile-2 { grid-column: 1; grid-row: 2; } .tile-3 { grid-column: 2; grid-row: 2; } .tile-4 { grid-column: 1 / 3; grid-row: 3; }
  .promo { grid-template-columns: 1fr; }
  body .shop-product { grid-template-columns: 1fr; } body .shop-gallery { position: static; }
  .atc-bar { display: flex; }
  body.has-atc { padding-bottom: 76px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .announce, .site-header, .site-footer, .atc-bar, .nav-scrim { display: none !important; } }
