/* Minimundia – VARIANT B (A/B test). Loaded after styles.css; everything is scoped to body.variant-b.
   Same brand tokens as A, different approach: white page, photo-led, centred editorial headings, fewer decorations. */

.variant-b { background: var(--white); }
.variant-b .section { padding: 96px 0; }
.variant-b .section--flush { padding-top: 0; }
.variant-b .eyebrow::before { display: none; }
.variant-b h2:not(.woocommerce-loop-product__title) { font-size: clamp(2rem, 3.8vw, 3rem); }
.wrap--bleed { max-width: none; padding: 0; }
.centered-head { text-align: center; max-width: 820px; margin: 0 auto 48px; position: relative; }
.centered-head .eyebrow { justify-content: center; color: var(--ink); }
.centered-head p { color: var(--muted); margin: 14px auto 0; max-width: 70ch; }

/* Header: menu left, logo centred, search field + icons right */
.variant-b .site-header { background: rgba(255, 255, 255, .94); }
.search-hint { display: none; }
@media (min-width: 1021px) {
  .variant-b .site-header__in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .variant-b .nav { order: -1; margin: 0 0 0 -10px; gap: 4px; font-size: .9rem; }
  .variant-b .nav a { padding: 8px 10px; white-space: nowrap; }
  .variant-b .site-header__actions { justify-content: flex-end; }
  .variant-b [data-search-open] { display: inline-flex; align-items: center; width: auto; padding: 0 16px 0 20px; gap: 10px; border-radius: var(--r-pill); background: #F5F2EC; margin-right: 6px; }
  .variant-b .search-hint { display: block; min-width: 120px; text-align: left; font-size: .9rem; color: var(--muted); }
}

/* Hero: full-width lifestyle slider */
.hero-b { position: relative; height: min(82vh, 800px); min-height: 600px; margin: 14px 14px 0; border-radius: 36px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-b__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s, visibility 0s .9s; }
.hero-b__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-b__slide > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s ease-out; }
.hero-b__slide.is-active > img { transform: none; }   /* slow zoom-out while the slide is shown */
.hero-b__slide::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20, 32, 37, .82) 0%, rgba(20, 32, 37, .55) 30%, rgba(20, 32, 37, 0) 62%),
  linear-gradient(0deg, rgba(20, 32, 37, .7) 0%, rgba(20, 32, 37, 0) 34%); }
.hero-b__text { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; transform: translateY(-56%); }
.variant-b .hero-b .hero-b__title { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; max-width: 12.5ch; margin: 22px 0 18px; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero-b__title em { font-style: normal; color: var(--yellow); }
.hero-b__lead { font-size: 1.2rem; max-width: 40ch; margin: 0 0 30px; opacity: .92; }
.hero-b__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.button--light { background: rgba(255, 255, 255, .14); color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.button--light:hover, .button--light:active { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--white); }
.hero-b__slide.is-active .hero-b__text > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-b__slide.is-active .hero-b__text > :nth-child(2) { animation-delay: .08s; }
.hero-b__slide.is-active .hero-b__text > :nth-child(3) { animation-delay: .16s; }
.hero-b__slide.is-active .hero-b__text > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
/* "Na fotografiji" product chip */
.hero-b__sticker-wrap { position: absolute; z-index: 2; right: 44px; top: 36px; max-width: none; padding: 0; margin: 0; }
.hero-b .sticker { position: static; color: var(--ink); animation: wobble 6s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.04); } }
/* foot: proof line + slide tabs */
.hero-b__foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 30px; display: flex; align-items: flex-end; }
/* Previous/next arrows in the bottom-right corner, on the same baseline as the customer proof. */
.hero-b__arrows { position: absolute; z-index: 2; right: 30px; bottom: 30px; display: flex; gap: 8px; }
.hero-b__arrow { width: 48px; height: 48px; border-radius: 50%; color: var(--white); font-size: 1.7rem; line-height: 1; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: background .15s, color .15s; }
.hero-b__arrow:hover { background: var(--white); color: var(--ink); }

/* Statement with shoppable photos */
.statement { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 40px; align-items: center; }
.statement__col { display: grid; gap: 28px; }
.statement__col--offset { margin-top: 110px; }
.statement__col:first-child { margin-bottom: 110px; }
.statement__text { text-align: center; padding: 0 8px; }
.statement__text .eyebrow { justify-content: center; color: var(--ink); }
.statement__text h2 em { font-style: normal; display: inline-block; background: var(--teal); color: var(--ivory); padding: .02em .28em .06em; border-radius: 12px; transform: rotate(-1.5deg); margin-top: .12em; }
.statement__text p { color: var(--muted); margin: 18px 0 28px; }
.shop-photo a { display: block; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--teal-soft); box-shadow: var(--shadow); }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.shop-photo a:hover > img { transform: scale(1.05); }
.shop-photo__chip { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.shop-photo__chip .frame { border-radius: 9px; }
.shop-photo__name { min-width: 0; line-height: 1.2; }
.shop-photo__name b { display: block; font: 600 .95rem/1.2 var(--font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-photo__name .price { font-size: .92rem; }
.shop-photo__chip .button { padding: 9px 14px; font-size: .82rem; }

/* Trust ticker */
.marquee { overflow: hidden; background: var(--ivory); border-block: 1.5px solid var(--line); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: flex; align-items: center; font: 600 1.15rem/1 var(--font-head); white-space: nowrap; padding-right: 26px; }
.marquee__track span::after { content: ""; width: 12px; height: 12px; margin-left: 26px; background: var(--coral); border-radius: 3px; transform: rotate(12deg); }
.marquee__track span:nth-child(3n+2)::after { background: var(--yellow); border-radius: 50%; }
.marquee__track span:nth-child(3n)::after { background: var(--teal); border-radius: 12px 12px 0 0; height: 7px; transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Collections with tabs */
.variant-b .section-head { align-items: center; }
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.collections--4 { grid-template-columns: repeat(4, 1fr); }
.collection { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 28px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.collections--4 .collection { aspect-ratio: 3 / 4; }
.collection:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.collection:hover img { transform: scale(1.05); }
.collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 32, 37, .86) 0%, rgba(20, 32, 37, .3) 42%, transparent 62%); }
/* large age badge in the brand's block shapes */
.collection__age { position: absolute; z-index: 1; top: 20px; left: 20px; width: 132px; height: 132px; display: grid; place-items: center; align-content: center; background: var(--yellow); color: var(--ink); border-radius: 50%; font: 700 2.9rem/1 var(--font-head); transform: rotate(-6deg); box-shadow: var(--shadow-lg); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.collection__age small { font-size: 1.05rem; font-weight: 600; margin-top: 2px; }
.collection--coral .collection__age { background: var(--coral); border-radius: 34px; transform: rotate(5deg); }
.collection--teal .collection__age { background: var(--teal); color: var(--ivory); border-radius: 132px 132px 28px 28px; transform: rotate(-3deg); }
.collection:hover .collection__age { transform: rotate(0) scale(1.06); }
.collection__text { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 26px; display: grid; gap: 4px; justify-items: start; }
.collection__text b { font: 700 2rem/1.05 var(--font-head); }
.collections--4 .collection__text b { font-size: 1.5rem; }
.collection__text > span:not(.collection__go) { font-size: 1rem; opacity: .92; }
.collection__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-weight: 800; font-size: .88rem; transition: background .15s; }
.collection__go svg { width: 16px; height: 16px; transition: transform .15s; }
.collection:hover .collection__go { background: var(--yellow); }
.collection:hover .collection__go svg { transform: translateX(3px); }

/* Bestsellers as a scrolling row */
ul.products.products--row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 28px; scroll-padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
ul.products.products--row::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { ul.products.products--row { cursor: grab; } }
ul.products.products--row.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; scroll-behavior: auto; }
ul.products.products--row.is-dragging li.product { pointer-events: none; }   /* no hover lift or link while dragging */
ul.products.products--row li.product { flex: 0 0 276px; scroll-snap-align: start; box-shadow: 0 0 0 1.5px var(--line); }

.row-head { display: flex; align-items: center; gap: 22px; }
.row-arrows { display: flex; gap: 8px; }
.row-arrows[hidden] { display: none; }
.row-arrows__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #F5F2EC; color: var(--ink); font-size: 1.6rem; line-height: 1; padding-bottom: 3px; transition: background .15s, color .15s, opacity .15s; }
.row-arrows__btn:hover:not(:disabled) { background: var(--teal); color: var(--ivory); }
.row-arrows__btn:disabled { opacity: .35; cursor: default; }

/* Value cards */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.values--3 { grid-template-columns: repeat(3, 1fr); }
.values .value { background: #F7F4EE; border-radius: var(--r); padding: 30px 26px; text-align: center; }
.values .value h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.values .value p { margin: 0; color: var(--muted); }
.value__ico { display: block; width: 46px; height: 46px; margin: 0 auto; background: var(--yellow); border-radius: 50%; }
.value__ico--2 { background: var(--coral); border-radius: 13px; transform: rotate(10deg); }
.value__ico--3 { background: var(--teal); border-radius: 46px 46px 0 0; height: 28px; margin-top: 18px; }
.value__ico--4 { background: var(--yellow); border-radius: 13px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Three ways to shop */
.centered-head--stickers { padding: 26px 0; }
.sticker-b { position: absolute; display: grid; place-items: center; text-align: center; font: 700 .9rem/1.05 var(--font-head); padding: 10px; box-shadow: var(--shadow); }
.sticker-b--1 { left: -90px; bottom: -14px; width: 92px; height: 92px; border-radius: 50%; background: var(--yellow); transform: rotate(-14deg); }
.sticker-b--2 { right: -150px; top: -30px; width: 104px; height: 104px; border-radius: 50%; background: var(--coral); transform: rotate(12deg); }
.sticker-b--3 { right: -110px; bottom: -30px; padding: 12px 16px; border-radius: 16px; background: var(--teal); color: var(--ivory); transform: rotate(-8deg); max-width: 110px; }
@media (max-width: 1180px) {   /* less room beside the heading: keep the stickers inside the page */
  .sticker-b--1 { left: -60px; }
  .sticker-b--2 { right: -62px; top: -56px; }
  .sticker-b--3 { right: -70px; }
}
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { position: relative; display: block; border-radius: calc(var(--r) + 4px); overflow: hidden; aspect-ratio: 4 / 5; color: var(--white); background: var(--ink); }
.way img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.way:hover img { transform: scale(1.05); }
.way::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 40, 46, .82) 0%, rgba(27, 40, 46, .2) 55%, transparent 75%); }
.way__tag { position: absolute; z-index: 1; top: 16px; left: 16px; font-size: .78rem; font-weight: 800; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); color: var(--ink); }
.way__text { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; display: grid; justify-items: start; gap: 6px; }
.way__text small { font: 800 .74rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.way__text b { font: 700 2rem/1.05 var(--font-head); margin-bottom: 12px; }

/* Customer wall (masonry) */
.wall-section { background: #F7F4EE; }
.wall { columns: 4; column-gap: 16px; }                       /* fallback without JavaScript */
.wall.is-masonry { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.wall__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wall.is-masonry .wall__item { margin: 0; }
.wall-wrap { position: relative; }
.wall__item[hidden] { display: none; }
.wall-more { display: flex; margin: 16px auto 0; }
.wall__item { break-inside: avoid; margin: 0 0 16px; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.wall__item img, .wall__video { display: block; width: 100%; }
.wall__video { aspect-ratio: 1; object-fit: cover; background: var(--teal-soft); }
.wall__item figcaption { padding: 16px 18px 18px; font-size: .92rem; }
.wall__item figcaption p { margin: 0 0 10px; color: var(--muted); }
.wall__item--quote figcaption { padding: 22px 20px; }
.wall__item--quote p { font: 500 1.12rem/1.35 var(--font-head); color: var(--ink) !important; margin-top: 8px !important; }

/* Perks row */
.perks-b { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; text-align: center; }
.perks-b svg { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--teal); }
.perks-b h3 { font-size: 1.15rem; margin-bottom: 8px; }
.perks-b p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Footer: dark, with a large newsletter headline instead of the floating card */
.variant-b .site-footer { margin-top: 0; background: var(--ink); border-radius: 32px 32px 0 0; }
.variant-b .newsletter { transform: none; margin: 0 0 40px; padding: 64px 0 44px; background: none; color: var(--ivory); box-shadow: none; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); overflow: visible; }
.variant-b .newsletter::before { display: none; }
.variant-b .newsletter h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.variant-b .newsletter p { opacity: .8; }
.variant-b .news .button { background: var(--yellow); color: var(--ink); }

/* ---------- Archive B: photo header, flat cards ---------- */
.variant-b .archive-head { margin: 14px 14px 0; border-radius: 36px; background: #F7F4EE; }
.variant-b .archive-head__in { grid-template-columns: 1fr 1fr; min-height: 0; padding-top: 28px; padding-bottom: 28px; }
.variant-b .archive-head .woocommerce-breadcrumb { padding: 0 0 18px; }
.variant-b .archive-head__art { justify-self: stretch; padding: 0; }
.variant-b .archive-head__num, .variant-b .archive-head__shapes { display: none; }
.variant-b .archive-head__image { display: block; aspect-ratio: 16 / 10; border-radius: 28px; }
.variant-b .archive-head--plain .archive-head__in { grid-template-columns: 1fr; text-align: center; padding-top: 44px; padding-bottom: 52px; }
.variant-b .archive-head--plain .term-description p { margin: 0 auto; }
.variant-b .archive-head--plain .archive-head__art { display: none; }
.variant-b .archive-body ul.products li.product { box-shadow: 0 0 0 1.5px var(--line); }
.variant-b .archive-body ul.products li.product:hover { box-shadow: var(--shadow-lg); }
.variant-b .archive-nav a { background: #F5F2EC; box-shadow: none; }
.variant-b .archive-nav a.is-active { background: var(--teal); }
.variant-b .trust-strip--archive { background: #F7F4EE; }

/* ---------- Product page B ---------- */
.variant-b div.product.product-b { grid-template-columns: 1.15fr 1fr; gap: 48px; padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-grid .frame { border-radius: var(--r); background: #F5F2EC; }
.gallery-grid .frame:first-child { grid-column: 1 / -1; }
.summary-b { position: sticky; top: calc(var(--header-h) + 20px); }
.summary-b .product_title { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin: 12px 0 6px; }
.summary-b p.price { font-size: 1.9rem; margin: 8px 0 12px; }
.summary-b p.price ins { color: var(--coral-deep); }
.summary-b .woocommerce-product-rating { margin-bottom: 4px; }
.summary-b .woocommerce-product-details__short-description { padding-bottom: 18px; border-bottom: 1.5px solid var(--line); }
.summary-b .opt-label { margin-top: 18px; }
.stock { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .9rem; font-weight: 700; color: #2E8B57; }
.stock svg { width: 16px; height: 16px; }
.summary-b .woocommerce-variation-add-to-cart { margin: 14px 0 10px; }
.qty-hint { margin: 0 0 14px; font-size: .86rem; color: var(--teal-dark); font-weight: 700; }
.notice { display: flex; align-items: center; gap: 14px; background: var(--teal-soft); border-radius: var(--r-sm); padding: 14px 18px; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.notice svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.notice b { display: block; color: var(--teal-dark); }
.summary-b .product-accordion { margin: 0; border: 0; display: grid; gap: 8px; }
.summary-b details { border: 0; background: #F7F4EE; border-radius: 14px; padding: 0 18px; }
.summary-b summary { padding: 16px 0; font-size: 1.08rem; justify-content: flex-start; gap: 12px; }
.summary-b summary::after { margin-left: auto; width: 28px; height: 28px; background: none; font-size: 1.2rem; }
.summary-b details[open] summary::after { background: none; color: var(--teal); }
.summary-b details > :not(summary) { margin: 0 0 16px; }
.summary-b details ol { padding-left: 20px; display: grid; gap: 6px; }
.acc-ico { width: 18px; height: 18px; flex: none; background: var(--yellow); border-radius: 50%; }
.acc-ico--2 { background: var(--coral); border-radius: 5px; transform: rotate(10deg); }
.acc-ico--3 { background: var(--teal); border-radius: 18px 18px 0 0; height: 11px; }
.acc-ico--4 { background: var(--coral); border-radius: 50% 50% 50% 4px; }
.also { margin-top: 26px; }
.also h4 { margin-bottom: 10px; }
.also__row { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border: 1.5px solid var(--line); border-radius: 16px; }
.also__row .frame { border-radius: 10px; }
.also__name { display: block; font: 600 1.02rem/1.25 var(--font-head); margin-bottom: 4px; }
.also__row .price { font-size: 1rem; }
.reviews-b { margin-top: 36px; }
.reviews-b__head { display: flex; align-items: center; justify-content: space-between; }
.reviews-b__head h3 { margin: 0; font-size: 1.4rem; font-weight: 700; }
.reviews-b__score { display: flex; align-items: center; gap: 10px; margin: 8px 0 14px; font-size: .9rem; }
.reviews-b__score b { font: 700 1.6rem/1 var(--font-head); }
.reviews-b__score .stars { font-size: 1.4rem; letter-spacing: 0; }
.reviews-b__score .verified { margin: 0; background: var(--teal-soft); padding: 4px 10px; border-radius: var(--r-pill); }
.reviews-b__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; border-radius: 14px; overflow: hidden; margin-bottom: 8px; }
.reviews-b__photos .frame { border-radius: 0; }
.reviews-b article { padding: 18px 0; border-bottom: 1.5px solid var(--line); }
.reviews-b article h4 { margin: 8px 0 4px; }
.reviews-b article p { margin: 0 0 8px; color: var(--muted); }

/* Comparison table */
.compare { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 18px 20px; text-align: center; border-bottom: 1.5px solid var(--line); }
.compare td:first-child { text-align: left; font: 600 1.08rem/1.3 var(--font-head); }
.compare th { font: 600 1rem var(--font-head); color: var(--muted); border-bottom: 0; }
.compare .compare__us { background: var(--teal-soft); width: 210px; }
.compare thead .compare__us { border-radius: var(--r) var(--r) 0 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:last-child .compare__us { border-radius: 0 0 var(--r) var(--r); }
.compare .logo { font-size: 1.35rem; }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.yes { background: var(--teal); }
.yes::after { content: ""; width: 12px; height: 6px; border: solid var(--white); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.no { background: #EFE9DD; position: relative; }
.no::before, .no::after { content: ""; position: absolute; width: 12px; height: 2.5px; background: #A79F90; border-radius: 2px; transform: rotate(45deg); }
.no::after { transform: rotate(-45deg); }


/* Product page B: pieces WooCommerce prints that the prototype did not have */
.variant-b.single-product .woocommerce-notices-wrapper { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.gallery-grid .frame img, .gallery-grid .frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.variant-b form.cart, .variant-b .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
.variant-b form.cart p.stock.in-stock { flex-basis: 100%; margin: 4px 0 0; }
.variant-b form.cart:not(.variations_form) { margin: 16px 0 10px; }
/* buy box rhythm: the same assurance cards as version A, with even gaps between the blocks */
.summary-b > .stock.out-of-stock, .summary-b .woocommerce-variation-availability .stock.out-of-stock { margin: 16px 0 0; }
.summary-b > .stock:not(.out-of-stock) { margin-top: 16px; }
.summary-b > .stock.available-on-backorder + form.cart { margin-top: 12px; }
.summary-b .woocommerce-variation-add-to-cart { margin-top: 16px; }
.summary-b .notice { margin-top: 16px; }
.summary-b > .assure { margin: 16px 0 20px; }
.summary-b .assure div { background: #F7F4EE; box-shadow: none; }
.summary-b table.variations { margin-top: 18px; }
.reviews-b #review_form_wrapper { margin-top: 18px; padding: 24px 22px; border-radius: 20px; box-shadow: 0 0 0 1.5px var(--line); }
.reviews-b #review_form_wrapper::before { display: none; }
.reviews-b #review_form .comment-reply-title { font-size: 1.25rem; }
.reviews-b article .verified { margin: 0 0 0 10px; }
.reviews-b .review__photos { margin: 0 0 8px; }
.reviews-b .review__photos .frame { width: 56px; }
.compare tbody th { text-align: left; font: 600 1.08rem/1.3 var(--font-head); color: var(--ink); border-bottom: 1.5px solid var(--line); }
.compare tbody tr:last-child th { border-bottom: 0; }
.variant-b .collections--4 .collection__age { width: 104px; height: 104px; font-size: 2.2rem; }
.variant-b .collections--4 .collection__age small { font-size: .9rem; }

/* Responsive */
/* Review photo lightbox: the uWeb bundle (Tailwind preflight) zeroes every margin, which takes the
   browser's centring (margin: auto) off the <dialog>; put it back explicitly. */
.lightbox[open] { position: fixed; inset: 0; margin: auto; width: fit-content; height: fit-content; max-height: 92vh; }

/* Checkout: the order summary column sits on a light warm grey so it reads as a separate panel. */
.variant-b .checkout__side { background: #FCFAF7; }

@media (max-width: 1020px) {
  .statement { grid-template-columns: 1fr 1fr; }
  .statement__text { grid-column: 1 / -1; order: -1; margin-bottom: 20px; }   /* air between the button and the photos below */
  .statement__col, .statement__col--offset, .statement__col:first-child { margin: 0; }
  .values, .values--3, .perks-b { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: 1fr; } .way { aspect-ratio: 16 / 10; }
  .wall { columns: 2; } .wall.is-masonry { grid-template-columns: repeat(2, 1fr); }
  .collections--4 { grid-template-columns: repeat(2, 1fr); }
  .sticker-b { display: none; }
  .variant-b div.product.product-b { grid-template-columns: 1fr; }
  .variant-b .archive-head__in { grid-template-columns: 1fr; gap: 24px; }
  .variant-b .archive-head__art { display: block; }
  .summary-b { position: static; }
  .variant-b .newsletter { padding: 44px 0 32px; }
}
@media (max-width: 600px) {
  .variant-b .section { padding: 60px 0; }
  .variant-b .section--flush { padding-top: 0; }
  .variant-b .archive-head { margin: 8px 8px 0; border-radius: 24px; }
  .hero-b { height: auto; min-height: 640px; margin: 8px 8px 0; border-radius: 24px; }
  .hero-b__slide::after { background: linear-gradient(0deg, rgba(20, 32, 37, .9) 0%, rgba(20, 32, 37, .55) 55%, rgba(20, 32, 37, .1) 100%); }
  .hero-b__text { top: auto; bottom: 150px; transform: none; }
  .hero-b__lead { font-size: 1.02rem; margin-bottom: 20px; }
  .hero-b__cta .button { flex: 1; }
  .hero-b .sticker { display: none; }
  .hero-b__foot { bottom: 18px; padding-right: 116px; }   /* keeps the customer proof clear of the arrows in the corner */
  .hero-b__foot .hero__proof { flex-direction: column; align-items: flex-start; gap: 8px; font-size: .86rem; }   /* avatars above the line, nothing side by side */
  .hero-b__foot .avatars img { width: 34px; height: 34px; border-width: 2px; margin-left: -10px; }
  .hero-b__foot .avatars img:first-child { margin-left: 0; }
  .hero-b__arrows { right: 16px; bottom: 16px; }
  .hero-b__arrow { width: 40px; height: 40px; font-size: 1.4rem; }
  .statement { gap: 12px; } .statement__col { gap: 12px; }
  .shop-photo__chip { grid-template-columns: 1fr; padding: 8px 10px; } .shop-photo__chip .frame, .shop-photo__chip .button { display: none; }
  .collections { grid-template-columns: 1fr; } .collections--4 { grid-template-columns: repeat(2, 1fr); }
  .collection { aspect-ratio: 16 / 12; border-radius: 22px; } .collections--4 .collection { aspect-ratio: 3 / 4; }
  .collection__age { width: 96px; height: 96px; font-size: 2.1rem; top: 14px; left: 14px; } .collection__age small { font-size: .85rem; }
  .collection__text { left: 18px; right: 18px; bottom: 18px; } .collection__text b { font-size: 1.6rem; }
  /* four age cards two across: a small badge and the title alone, so the photo stays visible */
  .variant-b .collections--4 .collection__age { width: 58px; height: 58px; top: 10px; left: 10px; font-size: 1.2rem; box-shadow: var(--shadow); }
  .variant-b .collections--4 .collection__age small { font-size: .62rem; margin-top: 0; }
  .collection--teal .collection__age { border-radius: 58px 58px 14px 14px; }
  .collections--4 .collection__text { left: 12px; right: 12px; bottom: 12px; gap: 2px; }
  .collections--4 .collection__text b { font-size: 1rem; line-height: 1.1; }
  .collections--4 .collection__text > span:not(.collection__go), .collections--4 .collection__go { display: none; }
  .variant-b .section-head { align-items: flex-start; }
  .row-arrows { display: none; }   /* phones: swipe */
  ul.products.products--row { gap: 12px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
  ul.products.products--row li.product { flex-basis: 210px; }
  .values, .values--3, .perks-b { grid-template-columns: 1fr; }
  .gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .gallery-grid .frame { flex: 0 0 88%; scroll-snap-align: center; }
  .compare th, .compare td { padding: 14px 8px; } .compare .compare__us { width: 96px; } .compare .logo { font-size: .95rem; }
}
