/* Local Sun Prints — shared layout and components.
   Every color, font and shape comes from the tokens a design standard defines (standard-*.css). */
:root {
  --maxw: 1180px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(48px, 7vw, 96px);
  --h1: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);
  --h2: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem);
  --h3: clamp(1.2rem, 1.05rem + .6vw, 1.45rem);
  --body: 1.125rem;
  --lh: 1.75;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f-body); font-size: var(--body); line-height: var(--lh);
  font-weight: var(--w-body, 400);
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--c-link, var(--c-accent)); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--c-focus, var(--c-accent)); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: var(--w-display, 500); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; color: var(--c-heading, var(--c-ink)); letter-spacing: var(--ls-display, 0); }
h2 { font-size: var(--h2); } h3 { font-size: var(--h3); }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow, .prose.wrap { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.align-center { text-align: center; } .align-center .btn-row, .btn-row.align-center { justify-content: center; }
.b-button > .btn-row { margin-top: 0; }
.eyebrow { font-family: var(--f-label, var(--f-body)); font-size: .85rem; letter-spacing: var(--ls-label, .03em); text-transform: uppercase; color: var(--c-eyebrow, var(--c-accent)); margin: 0 0 .6em; font-weight: 600; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--c-surface); padding: 8px 14px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; }

/* Sections and tones */
.b { padding-block: calc(var(--sec) / 2); }
.b:first-child:not(.b-hero) { padding-top: var(--sec); }
.b.tone-alt { background: var(--c-alt); padding-block: var(--sec); }
.b.tone-accent { background: var(--c-accent-bg, var(--c-accent)); color: var(--c-on-accent); padding-block: var(--sec); }
.b.tone-accent h2, .b.tone-accent h3, .b.tone-accent .eyebrow, .b.tone-accent a:not(.btn) { color: var(--c-on-accent); }
.b-title { font-size: var(--h2); margin-bottom: .6em; }
.b-heading + .b { padding-top: 0; }
.prose { max-width: var(--narrow); }
.prose.size-large { font-size: 1.3rem; line-height: 1.65; }
.prose.align-center { margin-inline: auto; }
.prose ul { padding-inline-start: 1.2em; margin: 0 0 1em; }
.note { color: var(--c-ink-soft); font-style: italic; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.6em; border-radius: var(--btn-radius, 4px);
  font-family: var(--f-button, var(--f-body)); font-weight: var(--w-button, 600); font-size: 1rem; letter-spacing: var(--ls-button, 0);
  text-decoration: none; cursor: pointer; border: var(--btn-border, 2px) solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--c-btn, var(--c-accent)); color: var(--c-btn-ink, #fff); border-color: var(--c-btn, var(--c-accent)); }
.btn-primary:hover { background: var(--c-btn-hover); border-color: var(--c-btn-hover); }
.btn-secondary { background: transparent; color: var(--c-btn2-ink, var(--c-ink)); border-color: currentColor; }
.btn-secondary:hover { background: var(--c-btn2-hover-bg, rgba(0,0,0,.06)); }
.btn-small { min-height: 42px; padding: .45em 1.1em; font-size: .95rem; background: var(--c-btn, var(--c-accent)); color: var(--c-btn-ink, #fff); }
.tone-accent .btn-primary { background: var(--c-on-accent); color: var(--c-accent-bg, var(--c-accent)); border-color: var(--c-on-accent); }
.tone-accent .btn-secondary { color: var(--c-on-accent); }

/* Hero */
.b-hero { padding: 0; }
.hero { position: relative; }
.hero-overlay { min-height: clamp(420px, 72vh, 760px); display: grid; align-items: end; color: var(--c-hero-ink, #fff); }
.hero-overlay .hero-media { position: absolute; inset: 0; }
.hero-overlay .hero-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-shade, linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 65%)); }
.hero-overlay .hero-img, .hero-overlay .img-missing { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay .hero-body { position: relative; padding-block: clamp(48px, 8vw, 96px); width: 100%; }
.hero-overlay .hero-title, .hero-overlay .eyebrow { color: var(--c-hero-ink, #fff); }
.hero-title { font-size: var(--h1); max-width: 16ch; margin-bottom: .35em; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 40ch; }
.hero-overlay .btn-secondary { color: #fff; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 520px; background: var(--c-alt); }
.hero-split .hero-media { order: 2; height: 100%; }
.hero-split .hero-img, .hero-split .img-missing { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.hero-split .hero-body { padding-block: var(--sec); max-width: 620px; margin: 0; padding-inline: var(--gutter); justify-self: center; }
@media (max-width: 760px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-media { order: 0; }
  .hero-split .hero-img, .hero-split .img-missing { min-height: 0; aspect-ratio: 4/3; }
}

/* Image and split */
.fig { margin-block: 0; margin-inline: auto; }
.fig img, .fig .img-missing { width: 100%; border-radius: var(--img-radius, 0); }
.fig-narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.fig-full { max-width: none; padding-inline: 0; }
.fig-full img { border-radius: 0; }
figcaption { font-size: .9rem; color: var(--c-ink-soft); margin-top: .6em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split-img-left .split-media { order: 2; }
.split-media img, .split-media .img-missing { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--img-radius, 0); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split-img-left .split-media { order: 0; } .split-media img, .split-media .img-missing { aspect-ratio: 4/3; } }
.img-missing { display: grid; place-items: center; background: var(--c-alt); color: var(--c-ink-soft); aspect-ratio: 4/3; font-size: .9rem; }

/* Features */
.features { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.features.n4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.feature { min-width: 0; }
.feature h3 { margin-bottom: .3em; }
.feature-label { display: block; font-family: var(--f-label, var(--f-body)); font-size: .8rem; letter-spacing: var(--ls-label, .08em); color: var(--c-eyebrow, var(--c-accent)); margin-bottom: .4em; font-weight: 600; }

/* Dates */
.dates-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--c-ink-soft); margin-bottom: 1.4em; }
.dates-meta span + span::before { content: "·"; margin-inline-end: 22px; color: var(--c-line); }
.dates { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.date-card {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px;
  padding: 14px 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--card-radius, 6px);
}
.date-num { display: grid; justify-items: center; min-width: 64px; line-height: 1; color: var(--c-date, var(--c-accent)); }
.date-num b { font-family: var(--f-display); font-size: 2rem; font-weight: var(--w-display, 500); }
.date-num small { font-size: .85rem; margin-top: 4px; }
.date-info { display: grid; min-width: 0; } .date-info span { color: var(--c-ink-soft); font-size: .98rem; font-variant-numeric: tabular-nums; }
.date-status { font-size: .9rem; color: var(--c-warn, #a5492f); font-weight: 600; }
.date-card.is-full { background: transparent; border-style: dashed; } .date-card.is-full .date-num, .date-card.is-full .date-info strong, .date-card.is-full .date-status { color: var(--c-ink-soft); }
@media (max-width: 560px) { .date-card { grid-template-columns: auto 1fr; } .date-card .btn, .date-status:not(:empty) { grid-column: 1 / -1; } .date-status:empty { display: none; } }
.tone-accent .date-card { color: var(--c-ink); }

/* Testimonials */
.quotes { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.quote { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-size: 1.08rem; }
.quote cite { font-style: normal; font-weight: 600; color: var(--c-ink-soft); }

/* FAQ */
.faq { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--c-accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .prose { padding-bottom: 18px; color: var(--c-ink-soft); }

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gallery-gap, 10px); grid-template-columns: repeat(3, 1fr); }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); } .gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery img, .gallery .img-missing { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--img-radius, 0); }
@media (max-width: 640px) { .gallery, .gallery.cols-4, .gallery.cols-3 { grid-template-columns: repeat(2, 1fr); } }

/* CTA */
.b-cta.tone-default { background: var(--c-accent-bg, var(--c-accent)); color: var(--c-on-accent); padding-block: var(--sec); }
.b-cta.tone-default h2 { color: var(--c-on-accent); }
.b-cta.tone-default .btn-primary { background: var(--c-on-accent); color: var(--c-accent-bg, var(--c-accent)); border-color: var(--c-on-accent); }
.b-cta.tone-default .btn-secondary { color: var(--c-on-accent); }
.cta-inner .prose { margin-inline: auto; }

/* Forms */
.form { display: grid; gap: 16px; margin-top: 1.2em; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .98rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--c-field-line, var(--c-line)); border-radius: var(--field-radius, 4px);
  background: var(--c-field, var(--c-surface)); color: var(--c-ink); width: 100%;
}
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 4px; flex: none; }
.form .btn { justify-self: start; }
.form-msg:empty { display: none; }
.form-msg { padding: 10px 14px; background: var(--c-alt); border-radius: 4px; }

.spacer-s { height: 16px; } .spacer-m { height: 48px; } .spacer-l { height: 96px; }
.b-spacer { padding: 0; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--c-header-bg, var(--c-bg)); border-bottom: 1px solid var(--c-header-line, var(--c-line)); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-header-ink, var(--c-ink)); }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: var(--f-display); font-size: 1.35rem; font-weight: var(--w-display, 500); line-height: 1.1; }
.brand-name small { display: block; font-family: var(--f-body); font-size: .75rem; font-weight: 400; color: var(--c-ink-soft); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { color: var(--c-header-ink, var(--c-ink)); text-decoration: none; font-size: 1rem; font-weight: var(--w-nav, 500); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--c-accent); }
.nav .btn { color: var(--c-btn-ink, #fff); border-bottom: 0; padding-block: .45em; min-height: 42px; }
.nav-group { position: relative; display: flex; }
.nav-sub { display: none; position: absolute; top: 100%; inset-inline-start: -14px; min-width: 230px; flex-direction: column; background: var(--c-header-bg, var(--c-bg)); border: 1px solid var(--c-line); padding: 8px 14px; box-shadow: 0 10px 30px rgb(0 0 0 / .08); z-index: 5; }
.nav-sub a { padding: 9px 0; font-size: .95rem; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: flex; }
.brand-logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
.menu-toggle { display: none; background: none; border: 0; color: var(--c-header-ink, var(--c-ink)); font: inherit; font-weight: 600; padding: 10px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--c-header-bg, var(--c-bg)); border-bottom: 1px solid var(--c-line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; max-height: calc(100dvh - 72px); overflow-y: auto; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
  .nav .btn { margin-top: 12px; }
  .nav-group { flex-direction: column; }
  .nav-sub { display: flex; position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 16px 0 0; background: none; }
  .nav-sub a { font-size: .95rem; }
}

/* Footer */
.site-footer { background: var(--c-footer-bg, var(--c-alt)); color: var(--c-footer-ink, var(--c-ink)); padding-block: 56px 28px; margin-top: var(--sec); font-size: .98rem; }
.site-footer a { color: inherit; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-grid > * { min-width: 0; }
.footer-grid h2 { font-size: 1.1rem; margin-bottom: .6em; color: inherit; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--c-footer-line, var(--c-line)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; opacity: .85; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
main > .b:last-child.b-cta { margin-bottom: calc(-1 * var(--sec)); }

.whatsapp { position: fixed; inset-inline-start: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* Product */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product > * { min-width: 0; }
.product-gallery { display: grid; gap: 10px; }
.product-gallery img { width: 100%; border-radius: var(--img-radius, 0); }
.price { font-family: var(--f-display); font-size: 1.8rem; color: var(--c-accent); margin: .2em 0 .8em; }
.variants { display: grid; gap: 10px; margin: 1em 0; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(18px, 3vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { min-width: 0; display: grid; gap: 10px; align-content: start; }
.card a:not(.btn) { text-decoration: none; color: inherit; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--img-radius, 0); }
.card h3 { margin: 0; font-size: 1.15rem; }
.card .card-price { color: var(--c-accent); font-weight: 600; }
.cards.n5, .cards.n6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.cards.n2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card .prose { font-size: .98rem; }
.post-head { max-width: var(--narrow); margin-inline: auto; padding-top: var(--sec); }
.post-meta { color: var(--c-ink-soft); font-size: .95rem; }
.post-body { max-width: var(--narrow); margin-inline: auto; }
.post-body img { margin-block: 1.5em; border-radius: var(--img-radius, 0); }
.post-body h2 { margin-top: 1.4em; }
.sample-flag { background: var(--c-ink); color: var(--c-bg); text-align: center; font-size: .9rem; padding: 8px var(--gutter); }
/* Product photos: the first one large, the rest as a row of smaller ones underneath. */
.product-gallery { grid-template-columns: repeat(3, 1fr); }
.product-gallery img { aspect-ratio: 1; object-fit: cover; }
.product-gallery > :first-child { grid-column: 1 / -1; }
.product-gallery > :first-child img, .product-gallery img:first-child { aspect-ratio: auto; }
.product-gallery picture { display: block; }
@media (max-width: 560px) { .brand { gap: 8px; min-width: 0; } .brand-logo { height: 36px; max-width: 96px; } .brand-name { white-space: nowrap; font-size: 1.05rem; } .brand-name small { display: none; } }
/* Hero: title and subtitle on top, the photo underneath */
.hero-stacked .hero-body { order: 0; text-align: center; padding-block: clamp(32px, 5vw, 56px) 24px; }
.hero-stacked .hero-title, .hero-stacked .hero-sub { margin-inline: auto; }
.hero-stacked .btn-row { justify-content: center; }
.hero-stacked { display: flex; flex-direction: column; }
.hero-stacked .hero-media { order: 1; max-width: calc(980px + 2 * var(--gutter)); width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.hero-stacked .hero-img, .hero-stacked .img-missing { width: 100%; aspect-ratio: 980 / 580; object-fit: cover; border-radius: var(--img-radius, 0); }
/* Line under a section heading */
.b-sub { color: var(--c-accent); font-size: 1.1rem; margin-top: -.3em; }
.align-center .b-sub { text-align: center; }
/* Points one under the other */
.features.features-list { grid-template-columns: 1fr; text-align: center; max-width: var(--narrow); margin-inline: auto; gap: 18px; }
.features-list h3 { font-family: var(--f-body); font-size: 1.05rem; letter-spacing: 0; color: var(--c-accent); margin-bottom: .1em; }
/* Gallery as one scrolling row */
.gallery.cols-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(150px, 17vw, 250px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.gallery.cols-strip li { scroll-snap-align: start; }
.gallery.cols-strip img { aspect-ratio: 3 / 4; }
.b-gallery:has(.cols-strip) > .wrap { max-width: none; padding-inline: 0; }
/* Small centered picture */
.fig-small { max-width: calc(380px + 2 * var(--gutter)); }
/* Picture above the text */
.split-img-top { grid-template-columns: 1fr; max-width: calc(var(--narrow) + 2 * var(--gutter)); text-align: center; gap: 24px; }
.split-img-top .split-media { order: 0; max-width: 360px; margin-inline: auto; width: 100%; }
.split-img-top .split-media img { aspect-ratio: 1; }
/* Two fields side by side */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
/* Testimonials slider (used by standard 1; arrows added by site.js) */
.quotes-nav { display: none; }
/* Picture above the text: the heading goes first, then the picture, then the text */
.split-img-top { display: flex; flex-direction: column; align-items: stretch; }
.split-img-top .split-body { display: contents; }
.split-img-top .b-title { order: -1; margin-bottom: 0; }
.split-img-top .split-body > :not(.b-title) { order: 2; }
/* Third background tone */
.b.tone-cream { background: var(--c-alt2, var(--c-alt)); padding-block: var(--sec); }
/* Five columns of photos */
.gallery.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 640px) { .gallery.cols-5 { grid-template-columns: repeat(2, 1fr); } }
/* Cards in a white box */
.cards-boxed .card { background: var(--c-surface); padding-bottom: 18px; }
.cards-boxed .card > :not(img):not(a), .cards-boxed .card a > :not(img) { padding-inline: 16px; }
/* Testimonials as a grid of cards */
.quotes-grid .quote { background: var(--c-surface); padding: 24px; }

/* Hero with title and text only (no photo) */
.hero-text { display: block; background: var(--c-hero-bg, var(--c-alt)); }
.hero-text .hero-body { text-align: center; padding-block: clamp(40px, 6vw, 72px); max-width: var(--narrow, 900px); margin-inline: auto; }
.hero-text .hero-title, .hero-text .hero-sub { margin-inline: auto; }
.hero-text .btn-row { justify-content: center; }

/* Form with a photo beside it */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: calc(960px + 2 * var(--gutter)); }
.contact-media img { width: 100%; height: 100%; object-fit: contain; padding: clamp(16px, 3vw, 40px); background: var(--c-bg); }
.contact-body { padding: clamp(24px, 4vw, 48px); background: var(--c-alt); min-width: 0; }
@media (max-width: 760px) { .contact-split { grid-template-columns: 1fr; } .contact-media { order: 2; } }
@media (min-width: 761px) { .contact-split:not(.media-right) .contact-media { order: 2; } }
.contact-split.media-right .contact-media img { object-fit: cover; padding: 0; }

/* Cards as tiles: photo beside a panel with the name as a button (list of workshops) */
.cards.cards-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); max-width: 1100px; margin-inline: auto; }
.cards-tiles .card > a { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--c-alt); text-decoration: none; height: 100%; }
.cards-tiles .card img, .cards-tiles .card .img-missing { order: 2; aspect-ratio: 310 / 280; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.cards-tiles .card h3 { align-self: center; justify-self: center; margin: 16px; padding: .45em 1.2em; background: var(--c-btn2, var(--c-accent)); color: var(--c-btn2-ink, #fff); border: 2px solid #000; border-radius: var(--btn-radius, 4px); font-family: var(--f-body); font-size: .95rem; font-weight: 400; letter-spacing: .04em; text-align: center; }
.cards-tiles .card > a:hover h3 { filter: brightness(1.15); }

.post-excerpt { font-size: .95rem; color: var(--c-ink-soft); margin: .3em 0 0; }

/* Shop with filters: a side panel (on the right in Hebrew) and the products beside it; on a phone the panel folds above the products. */
.shop-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.shop-layout > .b-title { grid-column: 1 / -1; }
.shop-filters summary { font-weight: 600; cursor: pointer; padding-block: 6px; }
.shop-filter-form { display: grid; gap: 22px; padding-top: 10px; }
.shop-filter-form fieldset { border: 0; border-top: 1px solid var(--c-line, #ddd); margin: 0; padding: 14px 0 0; display: grid; gap: 8px; }
.shop-filter-form legend { font-weight: 600; padding: 0 0 6px; }
.shop-filter-form label { display: flex; align-items: center; gap: 8px; font-size: .95rem; cursor: pointer; }
.shop-filter-form input[type=radio], .shop-filter-form input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: currentColor; }
.price-range { display: flex; gap: 10px; flex-wrap: wrap; }
.price-range input { width: 5.5em; padding: 4px 6px; font: inherit; }
.shop-filter-form .btn { justify-self: start; }
.shop-results .shop-grid { max-width: none; }
@media (max-width: 760px) {
  .shop-layout { grid-template-columns: 1fr; gap: 16px; }
  .shop-filters { border: 1px solid var(--c-line, #ddd); padding: 6px 14px; }
}
@media (min-width: 900px) { .shop-results .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-layout { max-width: 1240px; }

/* Shop filter: a card the filter hides must really disappear (the card rule sets display). */
.shop-grid > .card[hidden], .shop-empty[hidden] { display: none !important; }

/* Photo viewer (site.js): photos open large over the page */
img.zoomable { cursor: zoom-in; }
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 18, 24, .95);
  display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; box-shadow: 0 6px 30px rgba(0,0,0,.4); }
.lightbox figcaption { color: #fff; font-size: .95rem; direction: ltr; min-height: 1.2em; }
.lightbox button { direction: ltr; position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%;
  width: 48px; height: 48px; font-size: 32px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255,255,255,.28); outline: 2px solid #fff; outline-offset: 2px; }
.lightbox button[hidden] { display: none; }
.lb-close { top: 12px; left: 12px; }
.lb-prev { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .lightbox { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lightbox img { max-height: calc(100vh - 160px); }
}
