/* ==========================================================================
   DABACO OIL — 06 PRODUCTS (homepage), two independent blocks (2026-10-07)
   Reference: .agents/tasks/reference/dabaco_oil_product_sections_redesign.html (UI/UX only).
     .do-bottle  Block 01 "Dầu ăn tiêu dùng" — 3D card deck + detail panel. Green accent.
     .do-bulk    Block 02 "Sản phẩm hàng xá công nghiệp" — name deck + detail panels. Orange accent.
   Both sit inside .do-pblocks (id="products") and are NOT .do-products. Shared chapter spacing, compact
   padding, each block sized to fit a 1440x900 desktop viewport below the sticky header (no fixed 100vh; shorter
   screens simply scroll).
   Tokens: the site's fonts, radii, shadows, ivory/cream grounds and .btn-dabaco base are reused. The two
   accent hexes of the prototype (#019C00, #F0673A) exist nowhere in the site's tokens, so they are scoped
   to the blocks as --pb-accent. Small accent-coloured TEXT uses the darker --pb-accent-ink (raw accents are
   about 3.4:1 on white); accents are for fills, borders and numerals.
   Motion: the deck transitions (0.5 s) and the 0.2 s hover/selection colours. Navigation is manual only. Reduced motion removes transitions.
   Without JS (.is-enhanced absent) the deck is a plain scrolling row of cards and the first panel shows.
   Loaded only on the homepage (Views/Home/Index.cshtml @section Styles), after home-chapters.css.
   ========================================================================== */

.do-pblocks {
  --pb-ink: #0C2411;
  overflow-x: clip;               /* wing cards of the deck may extend past the stage; never scroll the page sideways */
  font-family: var(--do-font-body, "Be Vietnam Pro", system-ui, sans-serif);
}

.do-pblocks [hidden] { display: none; }

/* Gesture feedback uses an independent translation so card/reveal transforms keep their own state. */
.do-bottle__track,
.do-bulk__visual {
  translate: var(--pb-drag-x, 0px) 0;
  transition: translate 200ms ease-out;
}
.do-bottle__track.is-pb-dragging,
.do-bulk__visual.is-pb-dragging { transition: none; }

.do-bottle {
  /* phones (< 640px): the centre card follows the screen (232-260 px) so the bottle stays large; 640px+ sets fixed sizes below */
  --pb-card-w: clamp(232px, 66vw, 260px);
  --pb-card-h: calc(var(--pb-card-w) * 1.3);
  --pb-fig-h: calc(var(--pb-card-h) * 0.55);
}

.do-bottle,
.do-bulk {
  --ch-ink: var(--pb-ink);
  --ch-text: color-mix(in srgb, var(--pb-ink) 78%, white);
  --ch-muted: color-mix(in srgb, var(--pb-ink) 62%, white);
  --pb-pad: var(--content-section-spacing);
  --pb-gap: clamp(12px, 1.8svh, 18px);         /* gap between the heading row and the body */
  padding-block: var(--pb-pad);
  position: relative;
  /* In-page jumps (#products, #block-chai, #block-hang-xa) land just below the sticky header. */
  scroll-margin-top: calc(var(--header-height, var(--header-height-desktop, 78px)) + 2px);
}

#products { scroll-margin-top: calc(var(--header-height, var(--header-height-desktop, 78px)) + 2px); }

/* ---- Accents + grounds (the visual separation between the two blocks) ------------------------------------- */
.do-bottle {
  --pb-accent: var(--dabaco-orange);
  --pb-accent-ink: var(--dabaco-orange-hover);
  background: var(--bg-white);
}

.do-bulk {
  --pb-accent: var(--dabaco-orange);
  --pb-accent-ink: var(--dabaco-orange-hover);
  background: color-mix(in srgb, var(--dabaco-orange) 9%, #fff);
}

/* ---- Header (shared by both blocks) -------------------------------------------------------------------------- */
.do-bottle__head-copy {
  --ch-ink: var(--dabaco-blue);
  --ch-eyebrow: var(--dabaco-blue);
}

.do-bulk__head-copy {
  --ch-ink: var(--dabaco-blue);
  --ch-eyebrow: var(--dabaco-blue);
}

/* Heading row: eyebrow, title and description. */
.do-bottle__head,
.do-bulk__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: var(--pb-gap);
  border-bottom: 1px solid color-mix(in srgb, var(--pb-accent) 70%, transparent);
}

.do-bottle__head-copy,
.do-bulk__head-copy { min-width: 0; }

.do-pblocks .do-chapter .do-chapter-lead {
  max-width: 62rem;
  margin: 0.35rem 0 0;
}

/* ---- Buttons (site .btn-dabaco base, block accent) ------------------------------------------------------------- */
.do-pblocks .do-pb-btn {
  height: auto;
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md, 14px);
  text-align: center;
}

.do-pblocks .do-pb-btn--solid {
  background-color: var(--pb-accent);
  border-color: var(--pb-accent);
  color: #fff;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--pb-accent) 55%, transparent);
}

.do-pblocks .do-pb-btn--solid:hover {
  background-color: var(--pb-accent-ink);
  border-color: var(--pb-accent-ink);
  color: #fff;
}


.do-pblocks .do-pb-btn:focus-visible,
.do-pblocks .do-pb-nav:focus-visible,
.do-bottle__card:focus-visible{
  outline: 3px solid var(--pb-accent-ink);
  outline-offset: 3px;
}

/* ---- Detail panel surface (shared) -------------------------------------------------------------------------------- */
.do-bottle__detail,
.do-bulk__detail {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(16px, 1.8vw, 24px);
  background: linear-gradient(225deg, color-mix(in srgb, var(--pb-accent) 14%, #fff) 0%, color-mix(in srgb, var(--pb-accent) 5%, #fff) 45%, #fff 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid color-mix(in srgb, var(--pb-accent) 50%, transparent);
  border-radius: var(--radius-xl, 28px);
  box-shadow: 0 20px 45px -12px rgba(15, 45, 20, 0.1);
}

.do-bottle__detail::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -4rem;
  right: -4rem;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pb-accent) 12%, transparent);
  filter: blur(32px);
  pointer-events: none;
}

.do-bottle__tag,
.do-bulk__tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill, 999px);
  background: color-mix(in srgb, var(--pb-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pb-accent) 32%, transparent);
  color: var(--pb-accent-ink);
  font-size: var(--fs-meta);
  font-weight: var(--fw-bold, 700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.do-bottle__title,
.do-bulk__title {
  margin: 0;
  font-family: var(--do-font-heading, "Be Vietnam Pro", system-ui, sans-serif);

  letter-spacing: -0.01em;
  color: var(--ch-ink);
  text-wrap: balance;
}

/* ==========================================================================
   BLOCK 01 — bottled deck
   ========================================================================== */
.do-bottle__controls,
.do-bulk__controls {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.25rem;
  padding: 6px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--pb-accent) 24%, transparent);
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow-subtle, 0 4px 20px rgba(0, 0, 0, 0.04));
}

.do-pb-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md, 14px);
  background: transparent;
  color: var(--pb-ink);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

.do-pb-nav:hover {
  background: color-mix(in srgb, var(--pb-accent) 10%, transparent);
  color: var(--pb-accent-ink);
}

.do-bottle__counter {
  margin: 0;
  padding-inline: 0.75rem;
  min-width: 5.25rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--pb-accent-ink);
}

.do-bottle__counter-now { font-size: var(--fs-body);  }
.do-bottle__counter-total { font-size: var(--fs-meta); font-weight: var(--fw-semibold, 600); color: var(--ch-muted); }

.do-bottle__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
  margin-top: var(--pb-gap);
}

/* Stable panel height (JS-enhanced): every panel sits in one grid cell, so the info panel is as tall as the tallest SKU and
   does not jump while the deck autoplays; the hidden ones keep their space but are invisible and out of the tab order. */
.do-bottle.is-enhanced .do-bottle__panels { display: grid; }
.do-bottle.is-enhanced .do-bottle__detail { grid-area: 1 / 1; display: flex; flex-direction: column; }
/* !important: Bootstrap's reboot ships [hidden] { display: none !important }. */
.do-bottle.is-enhanced .do-bottle__detail[hidden] { display: flex !important; visibility: hidden; }
.do-bottle.is-enhanced .do-bottle__actions { margin-top: auto; }
.do-bottle.is-enhanced .do-bottle__rows,
.do-bottle.is-enhanced .do-bottle__desc:last-child { margin-bottom: 1rem; }

.do-bottle__stage { order: 1; }
.do-bottle__panels { order: 2; min-width: 0; }

/* detail panel content */
.do-bottle__detail-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.do-bottle__title { font-size: var(--fs-h2); margin-bottom: 0.5rem; }

.do-bottle__desc {
  margin: 0 0 0.9rem;

  color: var(--ch-text);
}

.do-bottle__rows {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--pb-accent) 18%, transparent);
  display: grid;
  gap: 0.5rem;
}

.do-bottle__row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 8rem) minmax(0, 1fr);
  gap: 0.25rem 1rem;

}

.do-bottle__row dt {
  font-size: var(--fs-meta);
  font-weight: var(--fw-bold, 700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ch-muted);
}

.do-bottle__row dd { margin: 0; color: var(--ch-text); }

.do-bottle__actions,
.do-bulk__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid color-mix(in srgb, var(--pb-accent) 18%, transparent);
}

.do-bottle__all { order: 3; margin: clamp(8px, 1.2svh, 14px) 0 0; }

/* ---- Deck stage (no-JS: a plain scrolling row of cards) ----------------------------------------------------------- */
.do-bottle__stage {
  position: relative;
  min-width: 0;
  touch-action: pan-y;
}

:is(.do-bottle__arrow, .do-bulk__arrow) {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pb-accent-ink);
  box-shadow: none;
}
.do-bottle__arrow { z-index: 40; }
.do-bulk__arrow { z-index: 1; }

:is(.do-bottle__arrow, .do-bulk__arrow) svg {
  width: 28px;
  height: 28px;
  transition: transform 200ms ease;
}

:is(.do-bottle__arrow, .do-bulk__arrow):hover { background: transparent; }

.do-bottle__arrow--prev { left: max(0px, calc(50% - var(--pb-card-w) * 0.65 - 44px)); }
.do-bottle__arrow--next { right: max(0px, calc(50% - var(--pb-card-w) * 0.65 - 44px)); }
:is(.do-bottle__arrow, .do-bulk__arrow):disabled { opacity: 0.4; cursor: default; }

.do-bottle__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.do-bottle__footer .do-bottle__controls,
.do-bulk__footer .do-bulk__controls {
  align-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.do-bottle__glow { display: none; }

.do-bottle__track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 8px 4px 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.do-bottle__slot {
  flex: 0 0 auto;
  width: var(--pb-card-w);
  height: auto;
  scroll-snap-align: center;
}

/* card */
.do-bottle__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  width: 100%;
  height: auto;
  padding: 16px;
  text-align: left;
  font: inherit;
  color: var(--pb-ink);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--pb-accent) 50%, transparent);
  border-radius: 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.do-bottle__slot.is-active .do-bottle__card {
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--pb-accent) 6%, #fff));
  border-color: var(--pb-accent);
  box-shadow: 0 25px 45px -12px color-mix(in srgb, var(--pb-accent) 40%, transparent);
}

.do-bottle__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold, 600);
  color: var(--ch-muted);
}

.do-bottle__card-no {
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-pill, 999px);
  background: color-mix(in srgb, var(--pb-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pb-accent) 32%, transparent);
  color: var(--pb-accent-ink);
  font-weight: var(--fw-bold, 700);
  font-variant-numeric: tabular-nums;
}

.do-bottle__fig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
}

.do-bottle__fig img {
  display: block;
  width: 100%;
  height: auto;
  max-height: var(--pb-fig-h);
  object-fit: contain;
}

.do-bottle__card-foot {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.5rem;
  border-top: 1px solid color-mix(in srgb, var(--pb-ink) 10%, transparent);
  min-width: 0;
}

.do-bottle__card-brand {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold, 700);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dabaco-orange-hover);
}

.do-bottle__card-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;

}

/* ---- Enhanced 3D deck (JS adds .is-enhanced and sets transform / opacity / filter / z-index inline) ----- */
.do-bottle.is-enhanced .do-bottle__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.do-bottle.is-enhanced .do-bottle__glow {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20rem;
  height: 20rem;
  max-width: 90%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--pb-accent) 18%, transparent) 0,
    color-mix(in srgb, #F0673A 8%, transparent) 55%,
    transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}

.do-bottle.is-enhanced .do-bottle__track {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  perspective: 1600px;
  perspective-origin: center center;
  touch-action: pan-y;            /* vertical page scroll stays native; JS handles horizontal swipe */
}

.do-bottle.is-enhanced .do-bottle__slot {
  position: absolute;
  top: 50%;
  left: 50%;
  scroll-snap-align: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
  will-change: transform, opacity, filter;
}

/* Card / picture / stage sizes by breakpoint. At >= 992px the card and the picture area are about 25 % larger than
   before (picture area 280 x 222 instead of 233 x 176) so the bottle reads at the same weight as the info panel;
   the 960 px packshot variants are still larger than what is drawn, so nothing is upscaled. */

/* Shorter laptop screens (about 1280 x 720): keep the deck proportionally smaller so the block still nearly fits. */

/* V3: block 01 fits one low laptop screen (1280 x 720, 641 px below the sticky header). Only spare whitespace goes: section
   padding, the lead wrapping onto a second line, and vertical rhythm inside the detail panel. Font sizes stay >= 13 px,
   nothing is hidden or clipped, the deck keeps its size. 1440 x 900 and taller screens do not match this query. */

/* ==========================================================================
   BLOCK 02 — industrial bulk: two-zone product carousel
   Left ~45 %: picture frame (fixed size, contain, caption slot). Right ~55 %: ordinal tag, name, information, CTA.
   Only the active product determines the panel height; sparse products do not inherit unused space
   from longer descriptions. Below: one row of selection chips (tablist).
   ========================================================================== */
.do-bulk { --pb-frame-h: 240px; }

.do-bulk__body {
  width: 100%;
  margin: var(--pb-gap) auto 0;
  min-width: 0;
}

.do-bulk__live {
  display: grid;
  min-width: 0;
  touch-action: pan-y;           /* vertical page scroll stays native; JS handles clearly horizontal swipes */
}

.do-bulk__detail {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
}

/* Inactive products must not stretch the active product's white panel. */
.do-bulk__detail[hidden] { display: none; }

.do-bulk__info { min-width: 0; align-self: center; }

.do-bulk { --pb-slide-from: 40px; }
.do-bulk[data-pb-direction="prev"] { --pb-slide-from: -40px; }

.do-bulk__detail.is-entering .do-bulk__frame > * {
  animation: pb-image-enter 500ms ease-out both;
}

.do-bulk__detail.is-entering .do-bulk__info > :not(.do-bulk__actions) {
  animation: pb-text-enter 450ms ease-out both;
  animation-delay: 80ms;
}

/* Animate the text inside the stable bottled panel, leaving its frame in place. */
.do-bottle__detail.is-entering > :not(.do-bottle__actions) {
  animation: pb-text-enter 600ms ease-out both;
}
.do-bottle__detail.is-entering > :nth-child(2):not(.do-bottle__actions) { animation-delay: 60ms; }
.do-bottle__detail.is-entering > :nth-child(3):not(.do-bottle__actions) { animation-delay: 120ms; }
.do-bottle__detail.is-entering > :nth-child(n + 4):not(.do-bottle__actions) { animation-delay: 180ms; }

.do-bulk__detail.is-entering .do-bulk__info > :nth-child(2):not(.do-bulk__actions) { animation-delay: 140ms; }
.do-bulk__detail.is-entering .do-bulk__info > :nth-child(n + 3):not(.do-bulk__actions) { animation-delay: 200ms; }

@keyframes pb-image-enter {
  from { opacity: 0; transform: translateX(var(--pb-slide-from)); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pb-text-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* info zone */
.do-bulk__detail-top {
  display: grid;
  gap: 0.6rem;
  padding-bottom: 0.9rem;

}

.do-bulk__tag { justify-self: start; }
.do-bulk__title { font-size: var(--fs-h2); }

/* Keep the complete image visible without a tinted letterbox or reserved caption space. */
.do-bulk__fig {
  position: relative;
  margin: 0;

}

.do-bulk__frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius-lg, 20px);
  background: transparent;
}

/* Natural image ratio, capped to keep sparse product information balanced. */
.do-bulk__frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--pb-frame-h);
  object-fit: contain;
  border-radius: var(--radius-lg, 20px);
}

.do-bulk__frame--empty { border-style: dashed; }

.do-bulk__block { margin-top: 1.25rem; }

.do-bulk__label {
  margin: 0 0 0.35rem;
  font-size: var(--fs-meta);
  font-weight: var(--fw-bold, 700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ch-muted);
}

.do-bulk__text {
  margin: 0;

  color: var(--ch-text);
}

/* ==========================================================================
   RESPONSIVE REFINEMENT (2026-10-12)
   Grouped by breakpoint. >= 1200px nothing here applies, so the approved 1440 x 900 / 1280 x 720 desktop is untouched.
   Breakpoints: 1200 (Bootstrap xl), 992 (lg), 768 (md), 576 (sm); the deck card step at 640 stays and matches
   product-blocks.js (isMobile < 640).
   ========================================================================== */

/* ---- 768px - 1199px: tablet / small laptop ---------------------------------------------------------------------- */

/* ---- < 992px: one column, with the counter below the deck ---- */

/* ---- 576px - 991px ------------------------------------------------------------------------------------------- */

/* ---- 768px - 991px: single-column tablet, the deck has room for a larger centre card ------------------------------ */

/* ---- < 768px: phones and small tablets -------------------------------------------------------------------------- */

/* ---- < 576px: phones ------------------------------------------------------------------------------------------- */

/* English names need more room than the two-card mobile layout allows. */

/* ---- Reduced motion: positions still apply, nothing animates ----------------------------------------------------- */

/* Side arrows stay centred on the cards; the count and pause control sit below them. */

.do-bulk__visual { position: relative; padding-inline: 32px; }
.do-bulk__arrow--prev { left: -8px; }
.do-bulk__arrow--next { right: -8px; }
.do-bulk__footer { display: flex; justify-content: center; margin-top: 12px; }

/* Shared name buttons; the enhanced deck below owns their positions. */
.do-bottle__choices { position: relative; width: 100%; min-width: 0; margin-block: 8px 20px; padding: 4px 48px; }
.do-bottle__choice-track { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-block: 4px; cursor: grab; }
.do-bottle__choice-track::-webkit-scrollbar { display: none; }
.do-bottle__choice-track.is-pb-dragging { cursor: grabbing; user-select: none; }
.do-bottle__choice { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; position: relative; min-width: 0; min-height: 52px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--pb-accent) 70%, transparent); border-radius: 16px; background: rgb(255 255 255 / 85%); color: var(--pb-ink); font: inherit; font-size: var(--fs-small); line-height: 1.4; font-weight: 600; text-align: left; overflow-wrap: anywhere; cursor: pointer; transition: background 200ms ease, box-shadow 200ms ease; }
.do-bottle__choice[aria-pressed="true"], .do-bottle__choice[aria-selected="true"] { background: #fff; border: 2px solid var(--pb-accent); padding: 7px 9px; box-shadow: inset 4px 0 0 var(--pb-accent-ink), 0 6px 12px -6px color-mix(in srgb, var(--pb-accent) 30%, transparent); }
.do-bottle__choice-number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; height: 28px; border: 1px solid color-mix(in srgb, var(--pb-accent) 25%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--pb-accent) 8%, #fff); color: var(--ch-muted); font-size: var(--fs-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.do-bottle__choice[aria-pressed="true"] .do-bottle__choice-number, .do-bottle__choice[aria-selected="true"] .do-bottle__choice-number { border-color: color-mix(in srgb, var(--pb-accent) 60%, transparent); color: var(--pb-accent-ink); background: color-mix(in srgb, var(--pb-accent) 14%, #fff); }
.do-bottle__choice-name { flex: 0 0 auto; min-width: 0; white-space: nowrap; overflow-wrap: normal; }
.do-bottle__choice:focus-visible { outline: 2px solid var(--pb-accent-ink); outline-offset: -4px; }
.do-bottle__choice-arrow:focus-visible { outline: 3px solid var(--pb-accent-ink); outline-offset: 2px; }
.do-bottle__choice-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 4px; border: 0; border-radius: 50%; background: transparent; color: var(--pb-accent-ink); font-size: var(--fs-h1); line-height: 1; cursor: pointer; }

.do-bottle__choice-arrow--prev { left: 0; }
.do-bottle__choice-arrow--next { right: 0; }
.do-bottle__choice-arrow:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .do-bottle__choice:not([aria-pressed="true"]):not([aria-selected="true"]):hover { background: #fff; } }
@media (prefers-reduced-motion: reduce) { .do-bottle__choice { transition: none; } }


/* Both product name selectors use the centred perspective composition. */
.do-pblocks .is-name-deck { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; width: 100%; margin-block: 0 4px; padding: 0; }
.do-pblocks .is-name-deck .do-bottle__choice-track { position: relative; display: block; height: 64px; overflow: hidden; perspective: 1600px; perspective-origin: center center; touch-action: pan-y; translate: var(--pb-drag-x, 0px) 0; transition: translate 200ms ease-out; }
.do-pblocks .is-name-deck .do-bottle__choice-track.is-pb-dragging { transition: none; }
.do-pblocks .is-name-deck .do-bottle__choice { position: absolute; top: 50%; left: 50%; width: min(320px, calc(100% - 12px)); height: 48px; min-height: 48px; backface-visibility: hidden; transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.5s ease, filter 0.5s ease, box-shadow 200ms ease; }
.do-pblocks .is-name-deck .do-bottle__choice:is([aria-selected="true"], [aria-pressed="true"]) { box-shadow: inset 4px 0 0 var(--pb-accent-ink), 0 8px 18px -8px color-mix(in srgb, var(--pb-accent) 45%, transparent); }
.do-pblocks .is-name-deck .do-bottle__choice-name { flex: 1; overflow: hidden; text-overflow: ellipsis; text-align: center; margin-right: 36px; }
@media (prefers-reduced-motion: reduce) { .do-pblocks .is-name-deck .do-bottle__choice, .do-pblocks .is-name-deck .do-bottle__choice-track { transition: none; } }

.do-pblocks .is-name-deck .do-bottle__choice-arrow { position: static; transform: none; display: grid; place-items: center; padding: 0; border-radius: 0; background: transparent; }
.do-pblocks .is-name-deck .do-bottle__choice-arrow svg { display: block; }
