.promo-slider { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.promo-slider article { flex: 0 0 min(100%, 42rem); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.promo-slider img, .promo-side img, .promo-images img { width: 100%; display: block; }
.promo-dots { display: flex; gap: .4rem; }
.promo-dots a { min-width: 1.6rem; text-align: center; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.promo-side, .promo-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .75rem; list-style: none; margin-block: .75rem; padding: 0; }
.promo-side li, .promo-images li { border-radius: var(--radius); overflow: hidden; background: var(--card); }
.promo-campaign { padding: .6rem 0; }
.promo-splash, .promo-wa { position: fixed; z-index: 30; }
.promo-splash { inset: auto 1rem 4.5rem auto; max-width: 22rem; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.promo-wa { right: 1rem; bottom: 1rem; background: var(--accent); color: var(--accent-ink, #fff); border-radius: 999px; padding: .55rem .9rem; text-decoration: none; }
.promo-bar { margin: 0; padding: .45rem 1rem; text-align: center; background: var(--accent); color: var(--accent-ink, #fff); }
.promo-bar a { color: inherit; }
.promo-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .75rem; list-style: none; margin-block: 1.5rem; padding: 0; }
.promo-trust li { display: grid; align-content: start; gap: .2rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.rail-pick { position: absolute; opacity: 0; }
/* Only the picked page of a shelf shows. Stronger than the storefront's general list rule, which would lay every page out. */
.rail-set > .rail-pick:not(:checked) ~ ul, .rail-set > .rail-pick:not(:checked) ~ p { display: none; }
.rail-set input:checked ~ ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
/* Four narrow columns squeezed a product name into one word a line on a phone (B-281). */
@media (max-width: 1000px) { .rail-set input:checked ~ ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .rail-set input:checked ~ ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.promo-rail { margin-block: 1.5rem; }
.rail-set input:checked ~ p { display: flex; gap: .4rem; margin: .75rem 0 0; }
.rail-pick:focus-visible ~ .promo-dots label { outline: 2px solid var(--accent); outline-offset: 2px; }
.promo-dots label { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; }
.promo-card { position: relative; display: flex; flex-direction: column; gap: .3rem; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; overflow-wrap: anywhere; }
.promo-card a { display: grid; gap: .5rem; color: inherit; font-weight: 600; line-height: 1.35; text-decoration: none; }
.promo-card a img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius, 12px) - 4px); background: var(--bg); }
.promo-card s { color: var(--muted, #5f6470); font-size: .85em; }
.promo-card strong { margin-top: auto; font-variant-numeric: tabular-nums; }
.promo-off { position: absolute; z-index: 1; top: 1rem; left: 1rem; background: var(--accent); color: var(--accent-ink, #fff); border-radius: 999px; padding: .1rem .4rem; }
.ship-meter { appearance: none; display: block; width: 100%; height: .45rem; border: 0; background: var(--line); border-radius: 999px; overflow: hidden; }
.ship-meter::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
.ship-meter::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
.ship-meter::-moz-progress-bar { background: var(--accent); border-radius: 999px; }

/* Opening window picture, coupon code and newsletter form (T-225). */
.promo-splash-image { display: block; width: 100%; max-height: 12rem; margin: -.25rem 0 .6rem; object-fit: cover; border-radius: calc(var(--radius, 12px) - 4px); }
.promo-splash-code strong { padding: .1rem .45rem; border: 1px dashed currentColor; border-radius: .35rem; letter-spacing: .06em; }
.promo-splash-news { display: flex; gap: .4rem; margin: .5rem 0; }
.promo-splash-news input[type=email] { flex: 1; min-width: 0; min-height: 40px; }

/* Opening window in the middle of the screen with a dimmed page behind it (T-304). */
.promo-splash[data-layout^="center"] { inset: 0; margin: auto; height: fit-content; max-height: calc(100vh - 2rem); overflow: auto; width: calc(100vw - 2rem); box-shadow: 0 0 0 100vmax rgb(15 23 42 / 45%), 0 20px 50px rgb(15 23 42 / 25%); text-align: center; }
.promo-splash[data-layout="center-small"] { max-width: 22rem; }
.promo-splash[data-layout="center-medium"] { max-width: 32rem; padding: 1.25rem; }
.promo-splash[data-layout="center-large"] { max-width: 46rem; padding: 1.5rem; font-size: 1.05rem; }
.promo-splash[data-layout="center-medium"] .promo-splash-image { max-height: 18rem; }
.promo-splash[data-layout="center-large"] .promo-splash-image { max-height: 26rem; }
.promo-splash[data-layout^="center"] .promo-splash-news { justify-content: center; }

/* T-325: richer opening window. Picture beside the copy on wide screens, a big benefit line,
   a code to copy, a live countdown and a button to the shop. */
.promo-splash { animation: splash-in .28s ease-out; }
@keyframes splash-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.promo-splash-x { position: absolute; top: .5rem; right: .5rem; z-index: 2; margin: 0; }
.promo-splash-x button { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .92); color: #111827; font-size: 1.35rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .15); }
.promo-splash-media { position: relative; }
.promo-splash-ribbon { position: absolute; left: .75rem; top: .75rem; padding: .35rem .7rem; border-radius: 999px; background: #dc2626; color: #fff; font-size: .85rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 4px 12px rgb(220 38 38 / .35); }
.promo-splash-body { display: grid; gap: .55rem; justify-items: center; }
.promo-splash-body > * { margin: 0; }
.promo-splash-kicker { color: var(--accent, #2563eb); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.promo-splash-headline { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; line-height: 1.1; color: var(--ink, #111827); }
.promo-splash-text { color: var(--muted, #4b5563); line-height: 1.5; }
.promo-splash-terms { color: var(--muted, #6b7280); font-size: .82rem; }
.promo-splash-code { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; max-width: 20rem; padding: .4rem .4rem .4rem .8rem; border: 2px dashed color-mix(in srgb, var(--accent, #2563eb) 60%, transparent); border-radius: .75rem; background: color-mix(in srgb, var(--accent, #2563eb) 6%, transparent); }
.promo-splash-code strong { padding: 0; border: 0; font-size: 1.1rem; letter-spacing: .1em; }
.promo-splash-code button { min-height: 2.3rem; padding: 0 .8rem; border: 0; border-radius: .55rem; background: var(--ink, #111827); color: #fff; font-size: .8rem; font-weight: 700; cursor: pointer; }
.promo-splash-code button[data-done] { background: #16a34a; }
.promo-splash-countdown { color: #b42318; font-size: .85rem; font-weight: 600; }
.promo-splash-countdown strong { font-variant-numeric: tabular-nums; }
.promo-splash-cta { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; max-width: 20rem; min-height: 2.9rem; border-radius: .75rem; background: var(--accent, #2563eb); color: var(--accent-ink, #fff); font-weight: 800; text-decoration: none; }
.promo-splash-cta:hover { filter: brightness(1.06); }
.promo-splash-later { margin: 0; }
.promo-splash-later button { padding: .2rem .5rem; border: 0; background: none; color: var(--muted, #6b7280); font-size: .82rem; text-decoration: underline; cursor: pointer; }
.promo-splash[data-layout^="center"] { padding: 0; overflow: hidden auto; }
.promo-splash[data-layout^="center"] .promo-splash-image { margin: 0; max-height: 15rem; border-radius: 0; }
.promo-splash[data-layout^="center"] .promo-splash-body { padding: 1.1rem 1.25rem 1.25rem; }
@media (min-width: 720px) {
  .promo-splash[data-layout="center-medium"][data-picture], .promo-splash[data-layout="center-large"][data-picture] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .promo-splash[data-layout="center-medium"][data-picture] { max-width: 44rem; }
  .promo-splash[data-layout="center-large"][data-picture] { max-width: 56rem; }
  .promo-splash[data-layout^="center"][data-picture] .promo-splash-media, .promo-splash[data-layout^="center"][data-picture] picture { height: 100%; }
  .promo-splash[data-layout="center-medium"][data-picture] .promo-splash-image, .promo-splash[data-layout="center-large"][data-picture] .promo-splash-image { height: 100%; max-height: none; min-height: 22rem; }
  .promo-splash[data-layout="center-medium"][data-picture] .promo-splash-body, .promo-splash[data-layout="center-large"][data-picture] .promo-splash-body { align-content: center; padding: 2rem 1.75rem; }
}
@media (prefers-reduced-motion: reduce) { .promo-splash { animation: none; } }
.promo-splash[hidden], .promo-splash-countdown[hidden] { display: none !important; }

/* T-334: banner slider, side pictures, showcase pictures and category campaigns.
   One banner at a time across the width with arrows and dots; pictures sit in a row and fill it. */
:is(body, body.sector-shell[data-theme]) main .promo-slider { position: relative; display: block; overflow: hidden; margin: 0 0 1.25rem; border-radius: var(--radius, 16px); background: var(--card, #f3f4f6); }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-track { display: block; }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-slide { position: relative; display: block; width: 100%; margin: 0; border-radius: 0; animation: promo-in .5s ease; }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-slide[hidden] { display: none; }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-slide a { display: block; color: inherit; }
:is(body, body.sector-shell[data-theme]) main .promo-slider img { display: block; width: 100%; height: auto; max-height: 520px; aspect-ratio: 12 / 5; object-fit: cover; }
:is(body, body.sector-shell[data-theme]) main :is(.promo-slider, .promo-side) .promo-caption { position: absolute; left: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); padding: .45rem .8rem; border-radius: .6rem; background: rgb(15 23 42 / .62); color: #fff; font-weight: 700; line-height: 1.3; }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-step { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .9); color: #111827; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgb(0 0 0 / .18); }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-step[data-promo-step="-1"] { left: 12px; }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-step[data-promo-step="1"] { right: 12px; }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-dots { position: absolute; left: 50%; bottom: 12px; z-index: 2; display: flex; gap: 8px; margin: 0; transform: translateX(-50%); }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-dots button { width: 10px; height: 10px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .6); cursor: pointer; }
:is(body, body.sector-shell[data-theme]) main .promo-slider .promo-dots button[aria-current="true"] { width: 26px; background: #fff; }
@keyframes promo-in { from { opacity: 0; } to { opacity: 1; } }
:is(body, body.sector-shell[data-theme]) main :is(.promo-side, .promo-images) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 0 0 1.25rem; padding: 0; list-style: none; }
:is(body, body.sector-shell[data-theme]) main .promo-side[data-count="1"] { grid-template-columns: 1fr; }
:is(body, body.sector-shell[data-theme]) main .promo-side[data-count="1"] img { aspect-ratio: 16 / 5; }
:is(body, body.sector-shell[data-theme]) main .promo-images { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
:is(body, body.sector-shell[data-theme]) main .promo-side[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:is(body, body.sector-shell[data-theme]) main :is(.promo-side, .promo-images) > li { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: var(--radius, 14px); overflow: hidden; background: var(--card, #f3f4f6); box-shadow: none; }
:is(body, body.sector-shell[data-theme]) main :is(.promo-side, .promo-images) > li a { display: block; color: inherit; }
:is(body, body.sector-shell[data-theme]) main .promo-side img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform .35s ease; }
:is(body, body.sector-shell[data-theme]) main .promo-images img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
:is(body, body.sector-shell[data-theme]) main :is(.promo-side, .promo-images) > li:hover img { transform: scale(1.03); }
:is(body, body.sector-shell[data-theme]) main .promo-campaign { display: grid; gap: 10px; margin: 0 0 1.25rem; padding: 0; }
:is(body, body.sector-shell[data-theme]) main .promo-campaign-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--accent, #2563eb) 30%, transparent); border-radius: var(--radius, 14px); background: color-mix(in srgb, var(--accent, #2563eb) 8%, var(--card, #fff)); }
:is(body, body.sector-shell[data-theme]) main .promo-campaign-item img { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; }
:is(body, body.sector-shell[data-theme]) main .promo-campaign-item > div { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
:is(body, body.sector-shell[data-theme]) main .promo-campaign-item strong { font-size: 1.05rem; color: var(--ink, #111827); }
:is(body, body.sector-shell[data-theme]) main .promo-campaign-item span { color: var(--muted, #4b5563); font-size: .9rem; }
:is(body, body.sector-shell[data-theme]) main .promo-campaign-go { flex: 0 0 auto; padding: 9px 14px; border-radius: 10px; background: var(--accent, #2563eb); color: var(--accent-ink, #fff); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) {
  :is(body, body.sector-shell[data-theme]) main .promo-slider img { aspect-ratio: 4 / 3; }
  :is(body, body.sector-shell[data-theme]) main .promo-slider .promo-step { width: 34px; height: 34px; margin-top: -17px; font-size: 1.2rem; }
  :is(body, body.sector-shell[data-theme]) main .promo-side[data-count="2"] { grid-template-columns: 1fr; }
  :is(body, body.sector-shell[data-theme]) main .promo-campaign-item { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { :is(body, body.sector-shell[data-theme]) main .promo-slider .promo-slide { animation: none; } }
