/* V56: preserve the blue-and-white storefront, with quieter supporting details. */
.store-header .masthead {
  min-height: 64px !important;
  gap: 22px !important;
}
.store-header .brand-logo { width: 172px !important; height: 40px !important; }
.store-header .header-buy {
  min-height: 44px !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
.offer-announcement { min-height: 28px; gap: 10px; }
.offer-announcement strong { font-size: 11px; letter-spacing: .045em; }

/* One product title leads the page; the price block does not repeat its cover. */
.product-heading h1 { margin-bottom: 8px !important; }
.purchase-panel .base-edition {
  display: block;
  margin: 0 0 16px;
  padding: 0 0 16px;
}
.purchase-panel .base-edition .price-row { gap: 9px; }
.purchase-panel .base-edition .price-row > strong {
  font: 700 26px/1.2 Figtree, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.purchase-panel .base-edition .price-row > s { font-size: 13px; }
.purchase-panel .base-edition .product-rating {
  gap: 7px;
  margin: 6px 0 0;
  min-height: 30px;
  max-width: 100%;
  font: 400 14px/1.4 Figtree, system-ui, sans-serif;
}
.purchase-panel .base-edition .product-rating > strong { font-size: 14px; font-weight: 600; }
.purchase-panel .base-edition .product-rating > small { font-size: 13px; }
.purchase-panel .base-edition .product-rating .review-stars { gap: 2px; }
.purchase-panel .base-edition .product-rating .review-stars svg { width: 13px; height: 13px; }

/* Keep savings legible and consistent without competing with the live price. */
body .price-row .sale-chip,
body .purchase-panel .bundle-visible .v7-addon .sale-chip,
body .cart-addon .sale-chip {
  padding: 4px 6px !important;
  border-radius: 4px !important;
  font: 650 11px/1.25 Figtree, system-ui, sans-serif !important;
}
.purchase-panel .bundle-visible {
  padding: 14px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.purchase-panel .bundle-visible .bundle-heading .bundle-event { font-size: 16px !important; }
.purchase-panel .bundle-visible > .bundle-builder { margin-top: 10px; }
.purchase-panel .bundle-visible .addon-selection,
.purchase-panel .bundle-visible .addon-selection:has(input:checked) {
  background: #fff;
  box-shadow: none;
}
.purchase-panel .addon-selection > .v7-addon,
.purchase-panel .addon-selection > .v7-addon:has(input:checked) {
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.purchase-panel .addon-selection { --addon-copy-start: 92px; }
.purchase-panel .addon-selection > .v7-addon { padding: 10px 12px 0 !important; gap: 8px !important; }
.purchase-panel .addon-selection > .v7-addon > .v7-addon-copy { gap: 5px; }
.purchase-panel .addon-selection .v7-addon-copy .v7-addon-price { font-size: 16px; font-weight: 650; }
.purchase-panel .addon-selection .addon-card-footer { justify-content: flex-start; gap: 14px; padding: 0 12px 0 var(--addon-copy-start); }
.purchase-panel .addon-selection .addon-preview-link { padding-inline: 0; }

/* Reduce the stacked gallery gutters while retaining room for every slide. */
.product-area > .product-gallery {
  padding: 14px !important;
  background: transparent !important;
  top: 78px;
  container-type: inline-size;
}
.product-gallery .gallery-toolbar { padding-bottom: 8px; }
/* Older gallery views used different tablet heights. Keep one stage size. */
#product-gallery .gallery-stage { height: auto; box-shadow: none; }
.product-gallery .gallery-stage .gallery-cover { padding: 20px !important; gap: 12px; }
.product-gallery .gallery-bottom { margin-top: 9px; }
.product-gallery .gallery-thumbnails { gap: 7px; }
.product-gallery .gallery-thumbnails button { min-height: 44px; }
.purchase-panel .benefit-summary { margin: 0 0 14px !important; }
.purchase-panel .value-list { gap: 9px 16px !important; }
.purchase-panel .value-list svg { width: 18px; height: 18px; flex-basis: 18px; }

@media (max-width: 760px) {
  .store-header .masthead { min-height: 58px !important; gap: 12px !important; }
  .store-header .brand-logo { width: 132px !important; height: 34px !important; }
  .store-header .header-buy { padding: 10px 11px !important; font-size: 12px !important; }
  .store-header .header-nav a { font-size: 12px !important; }
}
@media (max-width: 700px) {
  .product-heading { padding: 18px 18px 8px !important; }
  .product-heading h1 { font-size: clamp(24px, 6.3vw, 28px) !important; }
  .product-heading .product-promise { font-size: 13px; }
  .product-area > .product-gallery { padding: 8px 10px !important; }
  .product-gallery .gallery-stage { min-height: 360px; }
  .product-gallery .gallery-stage .gallery-cover { padding: 16px !important; gap: 10px; }
  .product-gallery .gallery-bottom { margin-top: 8px; }
  .product-gallery .gallery-thumbnails { gap: 5px; }
  .purchase-panel { padding: 12px 18px 22px !important; }
  .purchase-panel .value-list { grid-template-columns: minmax(0, 1fr); gap: 8px !important; }
  .purchase-panel .base-edition { margin-bottom: 14px; padding-bottom: 12px; }
  .purchase-panel .base-edition .product-rating { min-height: 36px; margin-top: 3px; }
  .purchase-panel .bundle-visible { padding: 12px !important; }
  .purchase-panel .addon-selection { --addon-copy-start: 86px; }
  .purchase-panel .addon-selection > .v7-addon { padding: 10px 10px 0 !important; }
  .purchase-panel .addon-selection .v7-addon-copy > .addon-offer { flex-wrap: wrap; row-gap: 4px !important; }
}
@media (max-width: 360px) {
  .store-header .masthead { width: calc(100% - 24px) !important; gap: 9px !important; }
  .store-header .brand-logo { width: 116px !important; }
  .store-header .header-buy { padding-inline: 9px !important; }
  .store-header .header-nav a { font-size: 11px !important; }
  .product-heading { padding-inline: 16px !important; }
  .purchase-panel { padding-inline: 16px !important; }
  .purchase-panel .base-edition .product-rating { gap: 6px; }
  .purchase-panel .base-edition .product-rating > small { font-size: 13px; }
  .purchase-panel .addon-selection { --addon-copy-start: 68px; }
  .purchase-panel .addon-selection > .v7-addon { grid-template-columns: 18px 30px minmax(0, 1fr); column-gap: 6px !important; padding-inline: 8px !important; }
  .purchase-panel .addon-selection .addon-card-footer { gap: 10px; padding-right: 8px; }
}

/* Keep the title beside the gallery on desktop and directly above the price on phones. */
.product-heading h1 { white-space: normal; text-wrap: balance; }
.product-gallery .gallery-bottom {
  --gallery-arrow-width: 44px;
  display: grid;
  grid-template-columns: var(--gallery-arrow-width) minmax(0, 1fr) var(--gallery-arrow-width);
  grid-template-rows: auto;
  align-items: center;
  gap: 4px;
  max-width: calc(240px + 2 * var(--gallery-arrow-width));
  margin-inline: auto;
  margin-top: 6px;
}
.product-gallery .gallery-bottom .gallery-arrow {
  position: relative;
  inset: auto;
  display: grid;
  place-items: center;
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #294b70;
  box-shadow: none;
}
.product-gallery .gallery-bottom .gallery-arrow::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid #d9e4ed;
  border-radius: 7px;
  background: #fff;
  pointer-events: none;
}
.product-gallery #gallery-prev { grid-area: 1 / 1; }
.product-gallery #gallery-next { grid-area: 1 / 3; }
.product-gallery .gallery-bottom .gallery-arrow:hover::before { background: #e5eff8; }
.product-gallery .gallery-bottom .gallery-arrow svg {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.product-gallery .gallery-bottom .gallery-thumbnails {
  grid-area: 1 / 2;
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.product-gallery .gallery-bottom .gallery-thumbnails button {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  min-width: 0;
}
@media (max-width: 760px) {
  .product-area { grid-template-areas: 'gallery' 'purchase' !important; }
}
@media (max-width: 420px) {
  .product-gallery .gallery-bottom .gallery-thumbnails { gap: 4px; }
}

/* Keep title, reviews, price and descriptor together in the purchase column. */
#product.product-area { grid-template-areas: 'gallery purchase'; }
#product .purchase-panel .product-heading { padding: 0 0 16px !important; }
#product .product-heading h1 {
  font: 600 clamp(1.55rem, 2.7vw, 2.45rem)/1.14 Bitter, Georgia, serif !important;
  letter-spacing: -.025em;
  margin: 0 !important;
}
#product .base-edition .product-rating { margin: 2px 0 7px; min-height: 30px; }
#product .product-heading .product-promise { margin: 9px 0 0; max-width: 42ch; }

#product .purchase-panel .bundle-visible {
  background: #eaf3fb !important;
  border-color: #cfdeed;
}
#product .purchase-panel .bundle-visible > :is(.bundle-heading, .offer-countdown) { background: transparent !important; }
#product .purchase-panel .bundle-visible .addon-selection { margin-bottom: 8px; }
#product .purchase-panel .addon-card-footer { gap: 10px; }
#product .purchase-details details[open] { background: #f1f7fd; }
#product .purchase-details details[open] summary { color: #20558b; }

#inside #experience-cookbook {
  padding: 14px 14px 10px !important;
  background: #f3f6f8 !important;
}
#inside #experience-cookbook .tour-preview-stage {
  --tour-shadow-inset: 16px;
  padding-bottom: calc(8px + var(--tour-shadow-inset)) !important;
}
.inside-section #tour-description { margin-bottom: 4px !important; }
.inside-section .screen-actions {
  padding: 3px !important;
  margin-bottom: 8px !important;
  background: #e5eff8 !important;
  border-radius: 10px !important;
}
.inside-section .screen-actions button {
  min-height: 44px !important;
  padding-block: 5px !important;
  box-shadow: none !important;
}
.inside-section .screen-actions button[aria-pressed="true"] {
  color: #20558b !important;
  box-shadow: none !important;
}
#inside.experience-section {
  padding-bottom: clamp(24px, 4vw, 44px) !important;
  background: #fff !important;
}
#experience-dishes.dish-review-section {
  border-top: 1px solid #dde9f1;
  padding-top: clamp(26px, 3.5vw, 44px) !important;
}
#experience-dishes .chapter-grid .chapter-card[aria-expanded="true"] {
  background: #20558b !important;
  border-color: #20558b !important;
  color: #fff !important;
}
#experience-dishes .chapter-card[aria-expanded="true"] .chapter-card-copy > :is(small, span) {
  color: #e5f0fa !important;
}
@media (max-width: 760px) {
  #product.product-area { grid-template-areas: 'gallery' 'purchase' !important; }
  #experience-dishes .chapter-heading-v54 h2 { max-width: none !important; font-size: 25px !important; }
}

#product .product-heading h1 {
  font-size: clamp(2rem, 3.55vw, 3.25rem) !important;
  text-wrap: pretty;
}
#product .purchase-panel .product-heading {
  padding-bottom: 0 !important;
  margin-bottom: 14px;
  border-bottom: 0;
}
#product .product-heading .product-promise { margin-top: 7px; }
#product .purchase-panel .bundle-visible { padding: 8px 10px !important; }
#product .purchase-panel .addon-selection {
  display: grid;
  grid-template-columns: minmax(0,1fr) 44px;
  align-items: center;
  margin-bottom: 6px;
  background: #fff !important;
}
#product .purchase-panel .addon-selection > .v7-addon {
  padding: 6px 0 6px 9px !important;
  min-width: 0;
}
#product .purchase-panel .addon-selection .addon-preview-link {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  color: #20558b;
  border-radius: 8px;
}
#product .addon-preview-link:hover { background: #edf5fd; }
#product .addon-preview-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
@media (max-width: 760px) {
  #product .product-heading h1 { font-size: clamp(2.08rem, 8.5vw, 2.65rem) !important; }
}
/* The selected-editions heading already names the single-book order. */
#product .selection-items:has(> li:only-child) { display: none; }

/* The unchecked add-ons and the live total give the shopper the full order at a glance. */
#product [data-bundle-options] { display: grid; gap: 6px !important; }
#product .purchase-panel .bundle-visible .addon-selection { margin: 0 !important; }
#product .purchase-panel .addon-selection > .v7-addon > .v7-mini-book {
  width: 30px;
  max-width: 100%;
}
#product .purchase-panel .addon-selection .v7-addon-copy { gap: 3px; }
/* End the add-on panel before the total and its purchase action. */
#product .purchase-panel > .purchase-summary { margin: 13px 0 0; }
#product .purchase-summary .selection-summary {
  display: grid;
  grid-template-columns: minmax(58px, 1fr) minmax(0, 11rem) minmax(58px, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-block: 0 10px;
  padding-inline: clamp(0px, calc(10vw - 34px), 14px);
}
#product .purchase-summary .selection-details {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  text-align: center;
}
#product .purchase-summary .selection-name {
  color: #294358;
  font: 650 .875rem/1.25 Figtree, system-ui, sans-serif;
  text-wrap: balance;
}
#product .purchase-summary .selection-total {
  color: #263b51;
  font: 750 clamp(1.3rem, 5.8vw, 1.65rem)/1.1 Figtree, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#product .purchase-summary .selection-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-block-size: 1.9rem;
  gap: 9px;
}
#product .purchase-summary .selection-reference {
  color: #52697b;
  font-size: .8rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#product .purchase-summary .summary-covers {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  inline-size: 58px;
  margin-inline-end: clamp(0px, calc(6vw - 20px), 16px);
}
#product .purchase-summary .summary-covers .selection-cover {
  flex: 0 0 26px;
  width: 26px;
  height: 36px;
  margin: 0;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 2px 5px -2px #29435885;
}
#product .purchase-summary .summary-covers .selection-cover + .selection-cover { margin-inline-start: -10px; }
@media (max-width: 360px) {
  #product .purchase-summary .selection-summary {
    grid-template-columns: minmax(46px, 1fr) minmax(0, 11rem) minmax(46px, 1fr);
    gap: 3px;
    padding-inline: 0;
  }
  #product .purchase-summary .summary-covers { inline-size: 46px; }
  #product .purchase-summary .summary-covers .selection-cover {
    flex-basis: 22px;
    width: 22px;
    height: 30px;
  }
}
@media (max-width: 380px) {
  #product .purchase-summary .selection-name { font-size: .8125rem; }
}
#product .purchase-summary .add-to-cart {
  justify-content: center;
  min-height: 48px;
  margin-top: 0;
  border-radius: 10px;
  background: #2868a9;
  color: #fff;
  font-size: .9375rem;
  box-shadow: 0 5px 12px -7px rgb(35 59 80 / .3);
}
#product .purchase-summary .add-to-cart:hover { background: #2c75c8; }
#product .purchase-summary .add-to-cart:focus-visible { outline: 2px solid #20558b; outline-offset: 3px; }
.add-to-cart [data-add-label], .purchase-dock [data-add-label] { letter-spacing: .03em; }
body .purchase-dock .dock-inner {
  grid-template-columns: minmax(0, 1fr) clamp(106px, 30vw, 132px);
}
body .purchase-dock .dock-inner > .button.primary { justify-content: center; }
body .purchase-dock .dock-selected-covers { flex-basis: 66px; justify-content: center; }
body .purchase-dock .dock-selection-meta {
  align-items: center;
  column-gap: 8px;
  font-variant-numeric: tabular-nums;
}
body .purchase-dock .dock-selection-meta > strong {
  color: #263b51;
  font-size: 1rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
/* Present the cover-led choices before the live order total. */
#product .bundle-visible > .bundle-builder {
  grid-row: 2;
  min-inline-size: 0;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}
#product .purchase-panel .addon-selection > .v7-addon {
  grid-template-columns: 18px 38px minmax(0,1fr);
  column-gap: 8px !important;
}
#product .purchase-panel .addon-selection > .v7-addon > .v7-mini-book {
  width: 38px;
  height: auto;
  aspect-ratio: 3 / 4;
}
#product .addon-selection > .v7-addon .v7-mini-book img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 360px) {
  #product .purchase-panel .addon-selection > .v7-addon {
    grid-template-columns: 18px 28px minmax(0,1fr);
    row-gap: 3px !important;
  }
  #product .purchase-panel .addon-selection > .v7-addon > .v7-mini-book { width: 28px; }
  #product .purchase-panel .addon-selection .v7-addon-copy { display: contents; }
  #product .purchase-panel .addon-selection .v7-addon-copy > strong {
    grid-area: 1 / 3;
    font-size: .8125rem;
  }
  #product .purchase-panel .addon-selection .addon-offer { grid-area: 2 / 2 / auto / -1; }
  #product .purchase-panel .addon-selection .addon-offer > .sale-chip { margin: 0 !important; }
}

/* Four shopping benefits connect the cover and price to the optional choices. */
#product .purchase-panel .benefit-summary { margin: 0 0 15px !important; }
#product .purchase-panel .value-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  font-size: .86rem;
  line-height: 1.35;
}
#product .value-list li { min-width: 0; align-items: flex-start; gap: 7px; }
#product .benefit-summary .format-badges { display: none; }
#product .product-heading h1 { overflow-wrap: anywhere; }
.inside-section .screen-actions {
  display: inline-flex !important;
  gap: 2px !important;
  width: auto !important;
  max-width: 100%;
  border-radius: 999px !important;
  background: #e8edf2 !important;
}
.inside-section .screen-actions button {
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 44px !important;
  padding-inline: clamp(7px, 2.6vw, 14px) !important;
  white-space: nowrap;
}
.inside-section .screen-actions button[aria-pressed="true"] {
  background: #fff !important;
  color: #1c4269 !important;
  box-shadow: 0 2px 5px #203c581d !important;
}
#experience-dishes .chapter-heading-v54 { text-align: center; }
#experience-dishes .chapter-heading-v54 h2 { margin-inline: auto !important; }
#reviews.reviews-section {
  margin-block-start: clamp(28px, 4vw, 48px) !important;
  padding-block: clamp(28px, 4vw, 42px) clamp(24px, 3vw, 36px) !important;
}
#reviews .review-heading { display: block; margin-bottom: 18px !important; text-align: center; }
#reviews .review-heading h2 { margin-inline: auto !important; }
#reviews[data-fictional-reviews][hidden],
#product .product-rating[data-review-preview-rating][hidden] { display: none !important; }
#reviews .reviews-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-areas: 'previous cards next' '. progress .';
  align-items: center;
  gap: 8px;
  max-width: 980px;
  margin-inline: auto;
}
#reviews .review-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
#reviews .review-arrow:hover { background: rgb(255 255 255 / .12); }
#reviews .review-arrow:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
#reviews .review-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#reviews [data-review-prev] { grid-area: previous; }
#reviews [data-review-next] { grid-area: next; }
#reviews .review-progress {
  grid-area: progress;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 18px;
}
#reviews .review-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border: 1px solid #afc8e1;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease;
}
#reviews .review-dot.is-active { background-color: #fff; border-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  #reviews .review-dot { transition: none; }
}
#reviews .reviews-window {
  grid-area: cards;
  min-width: 0;
  --review-gap: 14px;
  --review-columns: 3;
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--review-columns) - 1) * var(--review-gap)) / var(--review-columns)) !important;
  gap: var(--review-gap) !important;
  margin-inline: 0;
  padding: 0;
  overflow-x: auto;
}
#reviews .reviews-window .review-card {
  display: grid;
  align-content: start;
  gap: 9px;
  box-sizing: border-box;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  min-height: 172px !important;
  margin: 0 !important;
  padding: clamp(17px, 2.2vw, 22px) !important;
  scroll-snap-align: start;
  text-align: center;
}
#reviews .reviews-window .review-stars {
  justify-content: center;
  margin: 0;
}
#reviews .reviews-window .review-stars svg { width: 14px; height: 14px; }
#reviews .reviews-window blockquote {
  max-width: 29ch;
  font-size: clamp(1.1875rem, 2vw, 1.375rem) !important;
  line-height: 1.35 !important;
  margin: 0 auto !important;
  text-wrap: pretty;
}
#reviews .reviews-window .review-card figcaption {
  padding-top: 0;
  color: #294358;
  font: 700 .9375rem/1.35 Figtree, system-ui, sans-serif !important;
}
#reviews .reviews-window .review-card figcaption span::before { content: " · "; }
@media (max-width: 900px) {
  #reviews .reviews-window { --review-columns: 2; }
}
@media (max-width: 700px) {
  #reviews .reviews-carousel {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: 'cards cards cards' 'previous progress next';
    gap: 4px 6px;
    max-width: min(420px, 100%);
  }
  #reviews [data-review-prev] { justify-self: end; }
  #reviews [data-review-next] { justify-self: start; }
  #reviews .reviews-window { --review-columns: 1; }
  #reviews .reviews-window .review-card {
    /* The tallest quote sets the shared grid row height. */
    min-height: 0 !important;
    padding: 14px !important;
    row-gap: 7px;
  }
  #reviews .reviews-window blockquote {
    max-width: none;
    line-height: 1.3 !important;
  }
}

/* Keep the live demos centered and align their headings with the cards. */
.product-gallery .gallery-stage :is(.gallery-checklist, .gallery-prep) {
  --gallery-demo-width: 400px;
  justify-content: center;
  gap: clamp(10px, 3cqi, 16px) !important;
  padding: clamp(16px, 3vw, 30px) !important;
}
.product-gallery :is(.gallery-checklist, .gallery-prep) .collection-message {
  align-self: center;
  max-width: var(--gallery-demo-width);
}
.product-gallery .gallery-checklist .ingredient-demo {
  padding: 10px 12px 2px;
  max-width: var(--gallery-demo-width);
}
.product-gallery .gallery-checklist .ingredient-demo-heading {
  grid-template-columns: 36px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
}
.product-gallery .gallery-checklist .ingredient-demo-heading img { width: 36px; height: 36px; }
.product-gallery .gallery-checklist [data-checklist-progress] { margin-bottom: 4px; }
.product-gallery .ingredient-demo-heading [data-checklist-count] {
  display: block;
  margin-top: 3px;
  color: #536b80;
  font-size: .8rem;
}
.product-gallery .gallery-checklist .ingredient-demo label {
  min-height: 44px;
  margin-inline: 0;
  padding: 4px 5px;
  font-size: .875rem;
  border-radius: 0;
}
.product-gallery .gallery-checklist .ingredient-demo label:has(input:checked) {
  background: #f0f6fc;
}
#product .product-heading h1 { text-wrap: balance; }
@media (min-width: 761px) {
  #product .product-heading h1 { font-size: clamp(1.9rem, 3.1vw, 2.85rem) !important; }
  #product .purchase-panel .product-heading { padding-top: 8px !important; }
}

#product .product-heading .product-promise { max-width: 44ch; font-size: .9rem; line-height: 1.4; text-wrap: pretty; }
#product .purchase-panel .bundle-visible > .bundle-heading {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-column: 1 / -1;
  align-items: center;
  gap: clamp(6px, 2vw, 10px) !important;
  padding: 0 !important;
}
#product .purchase-panel .bundle-visible > .bundle-heading .bundle-event {
  padding: 6px 7px !important;
  border-radius: 5px !important;
  background: #254662 !important;
  color: #fff !important;
  font: 700 .72rem/1.2 Figtree, system-ui, sans-serif !important;
  white-space: nowrap;
  letter-spacing: .045em;
}
#product .purchase-panel .bundle-visible .bundle-heading h2 {
  color: #294358 !important;
  font: 650 clamp(.76rem, 2.4vw, .92rem)/1.22 Figtree, system-ui, sans-serif !important;
  text-wrap: balance;
}
#product .bundle-heading h2 > span { white-space: nowrap; }
#product .bundle-heading:has(.bundle-event[hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
[data-seasonal-promo][hidden] { display: none !important; }
.bundle-visit-clock:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
  padding: 3px;
  border-radius: 8px;
  background: #d6e6f3;
  color: #254662;
  font: 700 .84rem/1 Figtree, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.bundle-clock-time {
  display: grid;
  place-items: center;
  inline-size: 25px;
  block-size: 25px;
  border-radius: 5px;
  background: #fff;
}
.bundle-clock-divider { color: #516c86; }
@media (max-width: 360px) {
  .bundle-clock-time { inline-size: 21px; }
}
#inside .inside-section .screen-actions {
  position: relative;
  isolation: isolate;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100%;
  gap: 1px !important;
  padding: 0 2px !important;
  margin-bottom: 5px !important;
  background: transparent !important;
  box-shadow: none;
}
#inside .inside-section .screen-actions::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 4px 0;
  border-radius: 9px;
  background: #e6e7e9;
}
#inside .inside-section .screen-actions button {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px !important;
  padding-inline: 9px !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #4d5259 !important;
  box-shadow: none !important;
  font-size: .8125rem !important;
}
#inside .inside-section .screen-actions button:is(:hover, [aria-pressed="true"])::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 7px 2px;
  border-radius: inherit;
  background: #f0f0f2;
}
#inside .inside-section .screen-actions button[aria-pressed="true"] { color: #272b30 !important; }
#inside .inside-section .screen-actions button[aria-pressed="true"]::before {
  background: #fff;
  box-shadow: 0 1px 3px rgb(35 38 43 / .16);
}
#inside .inside-section .screen-actions button > svg { flex: 0 0 13px; width: 13px; height: 13px; }

#reviews #review-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.collection-story {
  background: linear-gradient(180deg, #eaf2f8, #f4f8fb 25%, #fff 60%);
}
.collection-story #about-elise .about-copy { text-align: left; }
.collection-story #about-elise .about-copy h2 { margin: 0 0 10px; text-wrap: balance; }
.collection-story #about-elise .about-copy p { max-inline-size: 43ch; margin-inline: 0; text-wrap: pretty; }
.collection-story #about-elise .host-signature { margin-top: 13px; }
.collection-story #about-elise .about-image { max-width: 240px; margin: 0; padding: 0; }
.collection-story #about-elise .about-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-position: center; }
@media (min-width: 701px) {
  .collection-story #about-elise.about-section {
    grid-template-columns: minmax(0, 340px) 240px;
    justify-content: center;
    column-gap: clamp(32px, 6vw, 76px);
  }
}
@media (max-width: 700px) {
  .collection-story #about-elise.about-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .collection-story #about-elise .about-copy,
  .collection-story #about-elise .about-image { grid-column: 1; grid-row: auto; }
  .collection-story #about-elise .about-image { max-width: 300px; justify-self: center; }
}

#questions.faq-section {
  width: min(840px, calc(100% - 40px));
  margin-top: 0 !important;
  padding-top: clamp(28px, 4vw, 42px) !important;
  border-top: 0;
}
#questions .faq-intro { margin-bottom: 16px; }
#questions #faq-title { text-align: center !important; }
.collection-story #about-elise .about-copy h2,
#reviews .review-heading h2,
#questions #faq-title {
  font: 500 clamp(28px, 3vw, 38px)/1.15 Bitter, Georgia, serif !important;
  letter-spacing: -.025em !important;
}
#cart-checkout > [hidden] { display: none !important; }
#cart-checkout > #preview-order-done { width: 100%; }

.product-gallery .gallery-view-picker {
  grid-area: 1 / 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: 232px;
  gap: 3px;
}
.product-gallery .gallery-view-picker button {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.product-gallery .gallery-view-picker img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #edf4fa;
  border: 1px solid #d9e4ed;
  border-radius: 6px;
}
.product-gallery .gallery-view-picker button:hover img { border-color: #80a3c2; }
.product-gallery .gallery-view-picker button[aria-pressed="true"] img {
  outline: 2px solid #2868a9;
  outline-offset: -2px;
}
.product-gallery .gallery-view-picker button:focus-visible {
  outline: 2px solid #2868a9;
  outline-offset: 1px;
}
.product-gallery .gallery-stage :is(.gallery-checklist, .gallery-prep, .gallery-cooking, .gallery-devices) {
  padding-inline: clamp(18px, 5.4cqi, 32px) !important;
  background: #edf4fa !important;
}
.product-gallery .gallery-stage .gallery-panel .collection-message h2 {
  color: #29465e !important;
  font-weight: 650 !important;
  letter-spacing: -.02em;
}
.product-gallery .gallery-stage .gallery-panel .collection-message p {
  margin-top: 7px !important;
  max-width: 42ch;
  color: #4e6578 !important;
  font-size: clamp(.875rem, 3.25cqi, 1rem) !important;
  line-height: 1.43 !important;
}
.product-gallery .gallery-stage .gallery-cooking:not([hidden]) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(10px, 3cqi, 18px) !important;
}
.product-gallery .gallery-cooking .cook-focus {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 916 / 700;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #a9bfd2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px -15px rgb(35 59 80 / .45);
  max-width: min(100%, 620px);
  align-self: center;
  justify-self: center;
}
.product-gallery .gallery-cooking .cook-focus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.product-gallery .gallery-devices .device-family {
  flex: 0 0 auto;
  align-self: center;
  width: min(94%, 500px);
  aspect-ratio: 1.53;
  margin-block: auto;
}
.product-gallery .device-family .family-desktop {
  width: 81%;
  left: 5%;
}
.product-gallery .device-family .family-tablet {
  width: 51%;
  bottom: 0;
  right: 0;
}
.product-gallery .device-family .family-phone {
  width: 22%;
  bottom: 10%;
  left: 1%;
}

.product-gallery .gallery-prep-plan {
  flex: none;
  width: 100%;
  max-width: var(--gallery-demo-width);
  align-self: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  color: #253e54;
  box-shadow: 0 9px 20px -13px rgb(37 62 84 / .38);
}
.product-gallery .gallery-prep-target {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 14px;
  background: #355e81;
  color: #fff;
  font: 650 .9rem/1.3 Figtree, system-ui, sans-serif;
}
.product-gallery #gallery-prep-time {
  appearance: none;
  min-width: 110px;
  min-height: 44px;
  padding: 8px 32px 8px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23164875' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
  color: #164875;
  font: 700 .9rem/1.2 Figtree, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.product-gallery #gallery-prep-time:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (forced-colors: active) {
  .product-gallery #gallery-prep-time {
    appearance: auto;
    padding-inline: 12px;
    background-image: none;
  }
}
.product-gallery .gallery-prep-plan ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-gallery .gallery-prep-plan li {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 7px 14px;
  font: 500 clamp(.82rem, 3.4cqi, .95rem)/1.35 Figtree, system-ui, sans-serif;
}
.product-gallery .gallery-prep-plan li + li { border-top: 1px solid #dfe9f1; }
.product-gallery .gallery-prep-plan time {
  color: #20558b;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.product-gallery .gallery-prep-plan li:last-child { background: #f1f7fc; }
.product-gallery .gallery-prep-note {
  display: block;
  margin-top: 3px;
  text-wrap: pretty;
}
@media (max-width: 365px) {
  .product-gallery .gallery-panel .collection-message h2 { font-size: 22px !important; }
  .product-gallery .gallery-stage :is(.gallery-checklist, .gallery-prep) { padding-block: 14px !important; }
}
@media (max-width: 340px) {
  .product-gallery .gallery-stage :is(.gallery-checklist, .gallery-prep) { padding-inline: 14px !important; }
}
/* Share a heading inset sized for the taller checklist as the stage grows. */
@media (max-width: 700px) {
  .product-gallery .gallery-stage :is(.gallery-checklist, .gallery-prep) {
    --gallery-demo-inset: max(22px, calc(50cqi - 9rem));
    justify-content: flex-start;
    padding-block-start: var(--gallery-demo-inset) !important;
  }
  .product-gallery .gallery-stage .gallery-prep {
    padding-block-end: var(--gallery-demo-inset) !important;
  }
  .product-gallery .gallery-prep-plan {
    flex: 1 0 auto;
    display: grid;
    grid-template-rows: auto 1fr;
  }
  .product-gallery .gallery-prep-plan ol {
    display: grid;
    grid-auto-rows: 1fr;
  }
}
/* A shorter phone stage keeps the title and offer close to the gallery. */
@media (max-width: 480px) {
  #product-gallery {
    --gallery-phone-height: clamp(324px, calc(100svh - 345px), 352px);
  }
  #product-gallery .gallery-stage {
    min-height: 324px;
    height: var(--gallery-phone-height);
  }
  .product-area > .product-gallery { padding-bottom: 5px !important; }
  #product > .purchase-panel { padding-top: 10px !important; }
  .product-gallery .gallery-bottom { --gallery-arrow-width: 38px; }
  .product-gallery .gallery-stage :is(.gallery-checklist, .gallery-prep) {
    --gallery-demo-inset: clamp(14px, calc((var(--gallery-phone-height) - 296px) / 2), 24px);
    gap: 8px !important;
  }
  .product-gallery .gallery-checklist .ingredient-demo { padding-top: 6px; }
  .product-gallery .gallery-checklist .ingredient-demo-heading {
    grid-template-columns: 32px minmax(0, 1fr);
    padding-bottom: 4px;
  }
  .product-gallery .gallery-checklist .ingredient-demo-heading img { width: 32px; height: 32px; }
  .product-gallery .ingredient-demo-heading [data-checklist-count] {
    margin-top: 2px;
    line-height: 1.1;
  }
  .product-gallery .gallery-devices .device-family {
    width: min(93%, 276px);
  }
}
@media (max-width: 360px) {
  #product .product-heading h1 { font-size: clamp(1.75rem, 8.5vw, 1.92rem) !important; }
}
body:has(dialog[open]) .purchase-dock { display: none; }

.product-gallery .gallery-cover .hero-phone {
  right: 0;
  bottom: 6%;
  width: clamp(75px, 28%, 148px);
}
#product .edition-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-block: 16px;
}
.edition-format {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 9px;
  color: #263a4d;
  background: #f2f6fa;
  border-radius: 8px;
  text-decoration: none;
}
.edition-format svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #315e91;
}
.edition-format strong,
.edition-format small { display: block; }
.edition-format strong { font-size: .875rem; line-height: 1.25; }
.edition-format small { margin-top: 3px; font-size: .75rem; line-height: 1.3; }
.edition-demo-link small { color: #315e91; text-decoration: underline; text-underline-offset: 2px; }
.edition-demo-link:hover { background: #e8f0f8; }
.product-gallery :is(.pdf-page-preview, .desktop-preview) {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  justify-items: center;
  margin: 0;
}
.product-gallery :is(.pdf-page-preview, .desktop-preview) img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-gallery .desktop-preview {
  align-items: center;
}
.product-gallery .desktop-preview img {
  border-radius: 9px;
  box-shadow: 0 10px 24px -12px #253e5466;
}
.product-gallery .gallery-view-picker .gallery-pdf-thumb img {
  object-fit: contain;
}
@media (max-width: 580px) {
  .product-gallery .gallery-pdf .pdf-page-preview {
    align-self: center;
    width: min(86%, 268px);
    overflow: hidden;
    border-radius: 5px;
  }
  .product-gallery .pdf-page-preview img {
    width: 100%;
    max-height: none;
    height: auto;
    align-self: start;
    transform: translateY(-31%);
  }
}
