/* V51 — one savings treatment and a purchase action that carries its live total. */
:root { --offer-red: #c13b48; --sale-red: #c13b48; }
body .price-row .sale-chip,
body .purchase-panel .bundle-visible .v7-addon .sale-chip,
body .purchase-panel .bundle-visible .checkout-summary .selection-price-line .sale-chip,
body #holiday-offer .holiday-offer-price .sale-chip,
body .cart-addon .sale-chip {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: max-content !important;
  padding: 5px 7px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: #c13b48 !important;
  color: #fff !important;
  font: 750 12px/1.2 Figtree, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}
body .price-row .sale-chip[hidden],
body .purchase-panel .bundle-visible .v7-addon .sale-chip[hidden],
body .purchase-panel .bundle-visible .checkout-summary .selection-price-line .sale-chip[hidden],
body #holiday-offer .holiday-offer-price .sale-chip[hidden],
body .cart-addon .sale-chip[hidden] { display: none !important; }
.purchase-panel .addon-selection > .v7-addon > .addon-offer { gap: 6px 7px !important; }
.purchase-panel .addon-selection .addon-prices { gap: 6px !important; }
.purchase-panel .bundle-visible .checkout-summary .selection-covers {
  width: max-content;
  gap: 5px !important;
  padding-left: 3px !important;
}
.purchase-panel .bundle-visible .checkout-summary .selection-cover {
  width: 32px !important;
  height: 44px !important;
  margin: 0 !important;
  box-shadow: 0 4px 9px -4px rgb(35 59 80 / .4) !important;
}
.purchase-panel .bundle-visible .checkout-summary .selection-cover + .selection-cover { margin-left: 0 !important; }
.purchase-panel .bundle-visible .checkout-summary .selection-price-line {
  grid-template-columns: auto auto !important;
  align-items: center !important;
  gap: 7px 8px !important;
}
.purchase-panel .bundle-visible .checkout-summary .selection-price-line > strong {
  font-size: 25px !important;
  font-weight: 750 !important;
}
.purchase-panel .bundle-visible .checkout-summary .selection-price-line > s { font-size: 12px !important; }
.purchase-panel .bundle-visible .checkout-summary .selection-price-line > .sale-chip:last-child {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: end !important;
}

/* The rail's left side identifies the selection; its button contains the only price. */
body .purchase-dock .dock-inner { grid-template-columns: minmax(0, 1fr) 190px; }
body .purchase-dock .dock-selection {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
body .purchase-dock .dock-selected-covers {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  padding: 2px 0;
}
body .purchase-dock .dock-selected-covers .selection-cover {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 41px;
  margin: 0;
  border-radius: 2px;
  object-fit: cover;
  transform: none;
  box-shadow: 0 4px 8px -4px rgb(35 59 80 / .45);
}
body .purchase-dock .dock-selected-covers .selection-cover + .selection-cover { margin-left: -12px; }
body .purchase-dock .dock-selection-label {
  min-width: 0;
  color: #38556c;
  font: 600 13px/1.3 Figtree, system-ui, sans-serif;
  white-space: nowrap;
}
body .purchase-dock .dock-selection-label b { font-weight: 750; }
body .purchase-dock .dock-inner > .button.primary {
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 48px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
}
body .purchase-dock .dock-inner > .button.primary > strong {
  color: #fff;
  font: 750 16px/1.2 Figtree, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

/* The two editions share one enclosed offer and a connected blue checkout area. */
#holiday-offer.holiday-offer {
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 14px 32px -18px rgb(35 59 80 / .3);
}
#holiday-offer .holiday-offer-heading { padding: 24px 28px 0; }
#holiday-offer .holiday-offer-heading h2 { font-size: clamp(27px, 3vw, 32px) !important; }
#holiday-offer .holiday-offer-body {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px 28px;
  padding: 24px 28px 0;
}
#holiday-offer .holiday-offer-editions { grid-column: 1; gap: 18px; }
#holiday-offer .holiday-offer-edition > img { width: 100px; height: 134px; }
#holiday-offer .holiday-offer-features {
  grid-column: 2;
  align-self: center;
  gap: 15px;
  padding: 0 !important;
}
#holiday-offer .holiday-offer-features li { font-size: 14px; line-height: 1.5; }
#holiday-offer .holiday-offer-checkout {
  display: grid;
  grid-column: 1 / -1;
  grid-row: auto;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 12px 24px;
  width: calc(100% + 56px);
  margin: 0 -28px;
  padding: 20px 28px;
  background: #e8f2fb;
  text-align: left;
}
#holiday-offer .holiday-offer-price {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  gap: 7px 12px;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
}
#holiday-offer .holiday-offer-price > strong { font-size: 30px; }
#holiday-offer .holiday-offer-price > .sale-chip { justify-self: start; }
#holiday-offer .holiday-offer-regular-total { font-size: 12px; }
#holiday-offer .holiday-offer-checkout .button {
  width: 100%;
  min-height: 50px !important;
  font-size: 15px !important;
}
#holiday-offer .holiday-offer-note {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0 !important;
  color: #4d667b;
  text-align: left;
}

@media (max-width: 700px) {
  body .purchase-dock .dock-inner { grid-template-columns: minmax(0, 1fr) 158px; gap: 12px !important; }
  body .purchase-dock .dock-selection { gap: 10px; }
  body .purchase-dock .dock-selected-covers .selection-cover { width: 28px; height: 38px; }
  body .purchase-dock .dock-selection-label { font-size: 12px; }
  body .purchase-dock .dock-inner > .button.primary { gap: 10px; padding-inline: 12px !important; }
  body .purchase-dock .dock-inner > .button.primary > strong { font-size: 15px; }
  #holiday-offer .holiday-offer-heading { padding: 22px 20px 0; }
  #holiday-offer .holiday-offer-body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px 20px 0; }
  #holiday-offer .holiday-offer-editions { gap: 16px; }
  #holiday-offer .holiday-offer-edition > img { width: 90px; height: 121px; }
  #holiday-offer .holiday-offer-features { grid-column: 1; gap: 9px; }
  #holiday-offer .holiday-offer-features li { font-size: 13px; }
  #holiday-offer .holiday-offer-checkout {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% + 40px);
    margin-inline: -20px;
    padding: 18px 20px;
    gap: 13px;
  }
  #holiday-offer .holiday-offer-price { grid-template-columns: minmax(0, 1fr) auto; justify-content: stretch; }
  #holiday-offer .holiday-offer-price > .sale-chip { justify-self: end; }
  #holiday-offer .holiday-offer-note { text-align: center; }
}
@media (max-width: 360px) {
  body .purchase-dock .dock-inner { grid-template-columns: minmax(0, 1fr) 148px; gap: 10px !important; }
  body .purchase-dock .dock-selection { gap: 8px; }
  body .purchase-dock .dock-selected-covers .selection-cover { width: 26px; height: 36px; }
  body .purchase-dock .dock-selection-label { font-size: 11px; }
  body .purchase-dock .dock-inner > .button.primary { padding-inline: 11px !important; }
  #holiday-offer .holiday-offer-heading { padding-inline: 16px; }
  #holiday-offer .holiday-offer-heading h2 { font-size: 26px !important; }
  #holiday-offer .holiday-offer-body { padding-inline: 16px; }
  #holiday-offer .holiday-offer-checkout { width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px; }
}
