/* Y-Strap theme. One stylesheet; brand: navy #1F4969, teal #69BEA5, Roboto. */

@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/roboto-latin-var.woff2") format("woff2");
}

:root {
	--navy: #1f4969;
	--navy-900: #0f2a40;
	--navy-700: #173a55;
	--teal: #69bea5;
	--teal-600: #4ea88d;
	--teal-100: #e6f4ef;
	--tint: #f3f8f6;
	--ink: #1d2b36;
	--muted: #556673;
	--line: #dbe4e1;
	--white: #fff;
	--danger: #b3261e;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(15, 42, 64, .06), 0 8px 24px rgba(15, 42, 64, .08);
	--container: 1180px;
	--gutter: 16px;
	--header-h: 64px;
	--font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 792px; }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, .woocommerce .button, .single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.4em; border: 2px solid transparent; border-radius: 999px;
	font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary, .single_add_to_cart_button, .woocommerce .button.alt, .woocommerce #place_order, .checkout-button {
	background: var(--teal); color: var(--navy-900) !important; border-color: var(--teal);
}
.btn--primary:hover, .single_add_to_cart_button:hover, .woocommerce .button.alt:hover, .woocommerce #place_order:hover, .checkout-button:hover {
	background: var(--teal-600); border-color: var(--teal-600); color: var(--navy-900);
}
.btn--outline, .woocommerce .button:not(.alt):not(.checkout-button) { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { background: #fff; color: var(--navy-900); }
.btn--lg { min-height: 56px; padding: .8em 1.7em; font-size: 1.06rem; }
.btn--sm { min-height: 38px; padding: .45em 1em; font-size: .9rem; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Header ---------- */
/* Solid background, no backdrop-filter: a filter makes the header the containing block of the fixed mobile drawer and clips it. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(15, 42, 64, .06); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.site-header__logo { display: block; width: 112px; flex: none; }
.site-header__logo svg { width: 100%; height: auto; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--navy-900); font-weight: 500; text-decoration: none; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { color: var(--navy); background: var(--teal-100); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--teal); color: var(--navy-900); }
.cart-link:hover { background: var(--teal-600); color: var(--navy-900); }
.cart-link__badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--navy-900); cursor: pointer; place-items: center; }
.nav-toggle__close { display: none; }

@media (min-width: 960px) {
	.site-header__inner { gap: 32px; }
	.site-nav { margin: 0 auto; }
}
@media (max-width: 959px) {
	.nav-toggle { display: grid; }
	/* Fades in place: an off-screen (translateX) drawer widens the page on phones. */
	.site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px var(--gutter) 32px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; overflow-y: auto; }
	.site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.15rem; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #d9e6ef; }
.section--navy h2, .section--navy h3, .section--navy .section-title { color: #fff; }
.section--navy .eyebrow { color: var(--teal); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.how__copy .section-head { margin: 0 0 20px; text-align: left; }
.eyebrow { margin: 0 0 .6em; color: var(--teal-600); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow a { color: inherit; text-decoration: none; }
.section-lede { color: var(--muted); font-size: 1.1rem; }
.section--navy .section-lede { color: #c6d6e2; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 20%, #2a5f86 0%, var(--navy) 45%, var(--navy-900) 100%); color: #e4eef5; }
.hero__bg { position: absolute; inset: 0; opacity: .16; mix-blend-mode: luminosity; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; display: grid; gap: 24px; padding-top: 28px; padding-bottom: 40px; align-items: center; }
.hero__title { color: #fff; margin-top: 14px; }
.hero__lede { font-size: 1.08rem; color: #d3e2ec; max-width: 56ch; }
.hero__lede strong { color: #fff; }
.hero__buy { margin-top: 20px; }
.hero__price { margin: 0 0 12px; font-size: 1.6rem; font-weight: 700; color: #fff; }
.hero__price del { color: #9fb7c9; font-weight: 400; font-size: .7em; margin-right: .3em; }
.hero__price ins { text-decoration: none; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #bcd0de; font-size: .95rem; }
.hero__note .icon { color: var(--teal); }
.hero__media img { width: 100%; max-width: 560px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
@media (max-width: 959px) {
	.hero__media { order: -1; margin: 0 auto; max-width: 340px; }
	.hero__inner { padding-top: 12px; gap: 8px; }
	.hero__title { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.4rem); }
}
@media (min-width: 960px) {
	.hero__inner { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 88px; }
}

.rating-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; text-decoration: none; }
.rating-chip strong { font-weight: 700; }
.rating-chip span:last-child { color: var(--muted); }
.rating-chip--light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.rating-chip--light span:last-child { color: #c6d6e2; }
.stars { display: inline-flex; gap: 1px; color: #f5b301; }
.stars .icon { width: 16px; height: 16px; stroke: none; }
.stars .is-off { color: #cfd8dc; }

/* ---------- Trust ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust--plain { border-top: 1px solid var(--line); }
.trust__grid { display: grid; gap: 4px 24px; padding-top: 24px; padding-bottom: 24px; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.trust__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--teal-100); color: var(--navy); }
.trust__title { font-size: 1rem; margin: 2px 0 2px; }
.trust__text { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (min-width: 640px) { .trust__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Features ---------- */
.features__grid { display: grid; gap: 24px; align-items: center; margin-bottom: 32px; }
.features__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--tint); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); }
.features__media img { margin: 0 auto; }
@media (min-width: 960px) { .features__grid { grid-template-columns: 1fr 1.3fr 1fr; gap: 32px; } }

/* ---------- How it works / video ---------- */
.how__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .how__grid { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow); }
.video__button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video__button:hover .video__poster { opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 999px; background: var(--teal); color: var(--navy-900); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.video__play .icon { width: 30px; height: 30px; margin-left: 4px; stroke: none; }
.video__label { position: absolute; left: 16px; bottom: 14px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--teal-600); margin-top: 3px; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 720px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; color: var(--ink); }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--navy); }

/* ---------- World ---------- */
.world__map { display: block; margin: 8px 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); transition: transform .2s; }
.world__map:hover { transform: translateY(-2px); }
.world__map img { width: 100%; height: auto; }

/* ---------- Cards (blog, products) ---------- */
.cards, .product-cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .cards, .product-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards, .product-cards { grid-template-columns: repeat(3, 1fr); } }
.card, .pcard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover, .pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pcard__media { background: var(--tint); }
.pcard__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px; }
.card__body, .pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.card__title, .pcard__title { margin: 0; font-size: 1.15rem; }
.card__title a, .pcard__title a { color: var(--navy-900); text-decoration: none; }
.card__text, .pcard__text { margin: 0; color: var(--muted); }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Price ---------- */
.price { color: var(--navy-900); font-weight: 700; }
.price del { color: var(--muted); font-weight: 400; margin-right: .35em; opacity: .8; }
.price ins { text-decoration: none; }
/* On the navy hero the generic (navy) price colours must not win: same specificity, later rule. */
.hero .price, .hero .price ins, .hero .price .amount { color: #fff; }
.hero .price del, .hero .price del .amount { color: #b9cbd8; opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-100); padding: 40px 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 .25em; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.cta-band p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9cbd8; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #e4eef5; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer__logo { display: block; width: 130px; margin-bottom: 14px; }
.site-footer__heading { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: inline-flex; align-items: center; gap: 8px; }
.contact-list .icon { color: var(--teal); width: 18px; height: 18px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.site-footer__base p { margin: 0; }
.pay-methods { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.pay-methods li { padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #e4eef5; font-size: .78rem; font-weight: 700; }

/* ---------- Pages & prose ---------- */
.page-wrap { padding-top: 40px; padding-bottom: 72px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { margin: 0; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.lede { font-size: 1.15rem; color: var(--muted); }

/* FAQ accordion (native <details>) */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--teal-600); }
.faq details[open] summary .icon { transform: rotate(90deg); }
.faq .faq__a { padding: 0 20px 18px; color: var(--ink); }
.faq .faq__a p:last-child { margin: 0; }

/* Info grid (distribution, manuals) */
.info-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info-box { padding: 24px; border-radius: var(--radius); background: var(--tint); }
.info-box h2, .info-box h3 { font-size: 1.2rem; }

/* ---------- Forms ---------- */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.muted { color: var(--muted); }
.form { padding: 24px; border-radius: var(--radius); background: var(--tint); }
.form__grid { display: grid; gap: 14px; margin-bottom: 18px; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__field--full { grid-column: 1 / -1; } }
.form__field { display: grid; gap: 6px; font-weight: 500; color: var(--navy-900); font-size: .95rem; }
.form__field input, .form__field select, .form__field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c9d5d1; border-radius: var(--radius-sm); background: #fff; font-weight: 400; }
.form__field textarea { resize: vertical; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: 2px solid var(--teal-100); border-color: var(--teal-600); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-note--ok { background: var(--teal-100); color: var(--navy-900); }
.form-note--error { background: #fdecea; color: var(--danger); }

/* Manuals */
.manuals { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); max-width: 900px; }
.manuals__item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 700; color: var(--navy-900); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.manuals__item:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--navy-900); }
.manuals__item .icon { color: var(--teal-600); }
.manuals__item small { margin-left: auto; color: var(--muted); font-weight: 500; }

/* Therapist page: the plugin's map needs full width; neutralise Elementor-era inline alignment */
.prose--wide { max-width: none; }
.therapists h2, .therapists h3, .therapists p { text-align: left !important; max-width: 72ch; }
.therapists > h2:first-child { display: none; }

/* ---------- Article ---------- */
.article { padding: 40px 0 72px; }
.article__title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.article__meta { color: var(--muted); }
.article__hero img { width: 100%; border-radius: var(--radius); margin: 8px 0 32px; }
.article__body { font-size: 1.08rem; }
.article__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; padding-bottom: 24px; border-radius: var(--radius); background: var(--teal-100); }
.article__cta p { margin: 0; font-weight: 700; color: var(--navy-900); }

/* ---------- Product page ---------- */
.product-top { display: grid; gap: 16px; padding-top: 16px; padding-bottom: 40px; grid-template-areas: "head" "gallery" "buy"; }
.product-top__head { grid-area: head; }
.product-top__gallery { grid-area: gallery; min-width: 0; }
.product-top__buy { grid-area: buy; }
.product-title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); margin: 10px 0 0; }
@media (min-width: 960px) {
	.product-top { grid-template-columns: 1.15fr 1fr; grid-template-areas: "gallery head" "gallery buy"; grid-template-rows: auto 1fr; column-gap: 56px; padding-top: 40px; padding-bottom: 64px; }
	.product-top__buy { position: relative; }
	.buybox { position: sticky; top: calc(var(--header-h) + 20px); }
}

.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--tint); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumb { flex: none; width: 60px; height: 60px; padding: 4px; border: 2px solid var(--line); border-radius: 10px; background: var(--tint); cursor: pointer; }
.gallery__thumb.is-active { border-color: var(--teal); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 959px) {
	/* Phones: a swipeable strip where the next photo peeks in (the swipe cue), shorter slides and
	   no thumbnail row, so Purchase sits well inside the first screen even with Safari's toolbars
	   and the cookie strip showing. */
	.gallery__track { gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); background: none; border-radius: 0; }
	.gallery__slide { flex-basis: 86%; aspect-ratio: 16 / 10; scroll-snap-align: start; background: var(--tint); border-radius: var(--radius); }
	.gallery__thumbs { display: none; }
}

.buybox { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.buybox .price { display: block; margin: 0 0 14px; font-size: 1.9rem; line-height: 1.2; }
.buybox .price del { font-size: .6em; }
.buybox form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 0 0 12px; }
.buybox form.cart .quantity { flex: none; }
.buybox .quantity .qty { width: 72px; height: 52px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font-weight: 700; background: var(--tint); }
.buybox .single_add_to_cart_button { flex: 1 1 180px; min-height: 52px; font-size: 1.08rem; }
.buybox #wc-stripe-express-checkout-element, .buybox .wc-stripe-product-checkout-container, .buybox #wc-stripe-payment-request-wrapper { flex-basis: 100%; width: 100%; margin-top: 2px; }
.buybox #wc-stripe-express-checkout-button-separator, .buybox #wc-stripe-payment-request-button-separator { margin: 6px 0 !important; color: var(--muted); font-size: .85rem; text-align: center; }
.buybox__points { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .94rem; color: var(--ink); }
.buybox__points li { display: flex; gap: 10px; align-items: flex-start; }
.buybox__points .icon { color: var(--teal-600); margin-top: 1px; }
.buybox .stock { color: var(--muted); margin: 0 0 8px; }

.product-details { padding-top: 24px; }
.product-details__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .product-details__grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.specs th, .specs td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; }
.tax-note { padding: 18px 20px; border-radius: var(--radius); background: var(--tint); font-size: .94rem; }
.tax-note h3 { font-size: 1rem; margin-bottom: .3em; }
.tax-note p { margin: 0; color: var(--muted); }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 42, 64, .1); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
.buybar.is-visible { transform: none; }
.buybar__inner { display: flex; align-items: center; gap: 12px; }
.buybar__name { flex: 1; min-width: 0; font-weight: 700; color: var(--navy-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { white-space: nowrap; }
.buybar__price del { display: none; }
.buybar .btn { min-height: 44px; }
@media (min-width: 960px) { .buybar__name { font-size: 1.05rem; } }

/* ---------- WooCommerce pages (cart, checkout, account) on top of WooCommerce's own CSS ---------- */
.page-wrap--shop .page-head { margin-bottom: 20px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single {
	min-height: 48px; padding: 10px 14px; border: 1px solid #c9d5d1; border-radius: var(--radius-sm); background: #fff; line-height: 1.4;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; padding-left: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.woocommerce form .form-row label { font-weight: 500; color: var(--navy-900); margin-bottom: 4px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus { border-color: var(--teal-600); outline: 2px solid var(--teal-100); }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { color: var(--navy-900); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 14px 16px; border-color: var(--line); }
.woocommerce-checkout #payment { background: var(--tint) !important; border-radius: var(--radius) !important; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; border-radius: var(--radius-sm); }
.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
.woocommerce #place_order { width: 100%; min-height: 56px; font-size: 1.1rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--radius-sm); border-top-color: var(--teal) !important; background: var(--tint) !important; }
.woocommerce-error { border-top-color: var(--danger) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--teal-600) !important; }
.woocommerce-order .woocommerce-thankyou-order-received { padding: 20px; border-radius: var(--radius); background: var(--teal-100); color: var(--navy-900); font-size: 1.05rem; }
@media (min-width: 960px) {
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0 48px; align-items: start; }
	.woocommerce-checkout form.checkout > .col2-set { grid-column: 1; grid-row: 1 / span 3; width: auto; float: none; }
	.woocommerce-checkout form.checkout .col2-set .col-1, .woocommerce-checkout form.checkout .col2-set .col-2 { float: none; width: 100%; }
	.woocommerce-checkout form.checkout > #order_review_heading, .woocommerce-checkout form.checkout > #order_review { grid-column: 2; }
	.woocommerce-checkout #order_review { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Cookie banner (CookieLaw Info / CookieYes): compact, never over a CTA ---------- */
.cky-consent-container.cky-banner-bottom { left: 12px !important; right: 12px !important; bottom: 12px !important; width: auto !important; max-width: 560px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cky-consent-bar { border-radius: var(--radius) !important; padding: 14px 16px !important; }
.cky-revisit-bottom-left { display: none !important; }
#cookie-law-info-bar { left: 12px !important; right: 12px !important; bottom: 12px !important; width: auto !important; max-width: 560px; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px !important; font-size: .9rem !important; }
#cookie-law-info-again { display: none !important; }
@media (max-width: 600px) {
	/* Phones: a compact strip, so it never sits on top of the Purchase button on first visit. */
	#cookie-law-info-bar { left: 8px !important; right: 8px !important; bottom: 8px !important; padding: 8px 12px !important; font-size: 12.5px !important; line-height: 1.4 !important; text-align: left !important; }
	#cookie-law-info-bar span { display: block; }
	#cookie-law-info-bar .cli-plugin-button, #cookie-law-info-bar #cookie_action_close_header { margin: 6px 0 0 !important; padding: 6px 14px !important; font-size: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
