/* Platform Override Styles */

.starbuy-product-preview {
  display: none;
}

div#CustomerRewardPane {
  display: none !important;
}

.col-1.zflex-w.zflex-v.colourPicker.productColourPicker {
  display: none;
}

div#product_just_stars {
  display: none;
}

/* Platform Klarna CTA — Klarna now lives inside the Finance accordion */
a.kl.kl-cta {
  display: none !important;
}

div#seconddetails {
  order: 3;
}

.cc-lookup-service-wrapper {
  order: 4;
}

#firstdetails > div.cc-lookup-service-wrapper {
  margin-top: 1rem;
}

/* Style .productSize to match the sidepanel accordion appearance */
.productSize {
  border: 1px solid #dce8d9;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
  min-width: 100%;
}

.productSize:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.productSize a.accordionTrigger {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #151515;
  text-decoration: none;
  transition: background 0.15s ease;
  background: #fff;
  border: none;
  min-width: 100% !important;
}

/* Icon pill — ruler SVG (rounded outline set), matches accordion icon slot */
.productSize a.accordionTrigger::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z'/%3E%3Cpath d='m14.5 12.5 2-2'/%3E%3Cpath d='m11.5 9.5 2-2'/%3E%3Cpath d='m8.5 6.5 2-2'/%3E%3Cpath d='m17.5 15.5 2-2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.productSize:hover {
  border-color: #b5cfae;
}

/* Right-pointing arrow — matches starbuys link style */
.productSize a.accordionTrigger::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.45;
}


/* =============================================================================
   PDP Sidepanel
   Styles for the accordion CTA panel (rewards, finance, delivery, starbuys,
   coupons, contact, colours, reviews) and the signpost toggles.

   All classes are namespaced with "pdpSidePanel-" to prevent collisions with
   host-site stylesheets.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Custom properties — adjust per deployment
   ----------------------------------------------------------------------------- */
:root {
  --pdpSidePanel-accent:           #151515;      /* fontColor-primary                    */
  --pdpSidePanel-accent-subtle:    #f5f5f5;      /* backgroundColor-secondary            */
  --pdpSidePanel-border:           #dce8d9;      /* green-tinted dividers                */
  --pdpSidePanel-radius:           10px;         /* global-radius                        */
  --pdpSidePanel-radius-card:      10px;         /* global-radius                        */
  --pdpSidePanel-font:             inherit;      /* Inherits site font stack by default  */

  --pdpSidePanel-green:            #445e30;      /* color4 dark green — rewards accent   */
  --pdpSidePanel-green-mid:        #7dba70;
  --pdpSidePanel-rewards-bg:       linear-gradient(135deg, #eef7ea, #dcefd6);

  --pdpSidePanel-purple:           #9158bf;      /* star buys accent                     */
  --pdpSidePanel-starbuys-bg:      linear-gradient(135deg, #f7f2fb, #ece2f5);
  --pdpSidePanel-starbuys-border:  #d4bfe6;

  --pdpSidePanel-free-delivery-bg: #e3f2df;      /* matches rewards light tint           */
  --pdpSidePanel-coupons-bg:       #fde8ec;      /* light tint of #C04058                */

  --pdpSidePanel-pip-bg:           #f5f5f5;      /* backgroundColor-secondary            */
  --pdpSidePanel-pip-bg-hover:     #dce8d9;

  --pdpSidePanel-copy-btn-bg:      #445e30;      /* color4 dark green                    */
  --pdpSidePanel-copy-btn-color:   #f8f8f8;      /* fontColor-secondary                  */

  --pdpSidePanel-focus:            #445e30;      /* focus ring colour                    */
}


/* =============================================================================
   Layout
   ============================================================================= */

.pdpSidePanel-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Standalone group (rewards / starbuys / coupons) — sits directly above #cart-target */
.pdpSidePanel-delivery-standalone {
  margin-top: 1rem;
  margin-bottom: 0;
}

#cta-delivery-standalone {
  margin-top: 8px !important;
}


/* =============================================================================
   Accordion — base
   ============================================================================= */

.pdpSidePanel-accordions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Collapse the standalone wrapper when every child is hidden (no rewards / starbuys / coupons) */
.pdpSidePanel-accordions:not(:has(.pdpSidePanel-accordion:not([style*="display:none"]):not([style*="display: none"]), .pdpSidePanel-prelaunch)) {
  display: none;
}

.pdpSidePanel-accordion {
  border: 1px solid var(--pdpSidePanel-border);
  border-radius: var(--pdpSidePanel-radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.pdpSidePanel-accordion:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Hide the native checkbox */
.pdpSidePanel-accordion > input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Accordion header */
.pdpSidePanel-accordion__header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  cursor: pointer;
  user-select: none;
  font-family: var(--pdpSidePanel-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pdpSidePanel-accent);
  transition: background 0.15s ease;
}

/* Hover / open — no grey wash: darken the card border and fill the icon pill instead */
.pdpSidePanel-accordion:hover,
.pdpSidePanel-accordion:has(> input[type="checkbox"]:checked) {
  border-color: #b5cfae;
}

.pdpSidePanel-accordion__header:hover .pdpSidePanel-icon,
.pdpSidePanel-accordion > input[type="checkbox"]:checked ~ .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: var(--pdpSidePanel-green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(68, 94, 48, 0.3);
}

.pdpSidePanel-accordion__header:hover::after {
  opacity: 0.9;
}

/* Chevron via ::after */
.pdpSidePanel-accordion__header::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Rotate chevron when open */
.pdpSidePanel-accordion > input[type="checkbox"]:checked ~ .pdpSidePanel-accordion__header::after {
  transform: rotate(-135deg) translateY(-2px);
  opacity: 0.8;
}

/* Icon slot — pill background */
.pdpSidePanel-accordion__header .pdpSidePanel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--pdpSidePanel-accent);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pdpSidePanel-accordion__header .pdpSidePanel-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Content panel — hidden by default */
.pdpSidePanel-accordion__content {
  display: none;
  padding: 13px 14px 15px;
  border-top: 1px solid var(--pdpSidePanel-border);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #4a4a4a;
}

.pdpSidePanel-accordion > input[type="checkbox"]:checked ~ .pdpSidePanel-accordion__content {
  display: block;
}

.pdpSidePanel-accordion__content p {
  margin: 0 0 8px;
}

.pdpSidePanel-accordion__content p:last-child {
  margin-bottom: 0;
}

.pdpSidePanel-accordion__content a {
  color: var(--pdpSidePanel-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdpSidePanel-accordion__content a:hover {
  opacity: 0.7;
}

/* Pill-style CTA links inside content */
.pdpSidePanel-accordion__content a.pdpSidePanel-delivery-link,
.pdpSidePanel-accordion__content a.pdpSidePanel-rewards-link,
.pdpSidePanel-accordion__content a.pdpSidePanel-colour-more {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 13px;
  border: 1px solid var(--pdpSidePanel-border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--pdpSidePanel-accent);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pdpSidePanel-accordion__content a.pdpSidePanel-delivery-link:hover,
.pdpSidePanel-accordion__content a.pdpSidePanel-rewards-link:hover,
.pdpSidePanel-accordion__content a.pdpSidePanel-colour-more:hover {
  background: var(--pdpSidePanel-accent-subtle);
  border-color: #c0d4bc;
  opacity: 1;
}


/* =============================================================================
   Focus states (keyboard)
   ============================================================================= */

.pdpSidePanel-accordion > input[type="checkbox"]:focus-visible ~ .pdpSidePanel-accordion__header,
#cta-starbuys a:focus-visible,
#cta-reviews a:focus-visible,
.pdpSidePanel-colour-swatch:focus-visible,
.pdpSidePanel-colour-more:focus-visible,
.pdpSidePanel-finance-tab:focus-visible,
.pdpSidePanel-coupon-copy:focus-visible,
.pdpSidePanel-hps-st-toggle-btn:focus-visible {
  outline: 2px solid var(--pdpSidePanel-focus);
  outline-offset: 2px;
}

/* Header ring sits inside the rounded card, so pull it in */
.pdpSidePanel-accordion > input[type="checkbox"]:focus-visible ~ .pdpSidePanel-accordion__header,
#cta-starbuys a:focus-visible,
#cta-reviews a:focus-visible {
  outline-offset: -2px;
  border-radius: var(--pdpSidePanel-radius);
}


/* =============================================================================
   Accordion — variant: rewards
   ============================================================================= */

#cta-cr {
  background: var(--pdpSidePanel-rewards-bg);
  border-color: var(--pdpSidePanel-green-mid);
}

#cta-cr:hover {
  box-shadow: 0 2px 10px rgba(68, 94, 48, 0.18);
}

#cta-cr .pdpSidePanel-accordion__header {
  color: #2f4520;
}

#cta-cr:hover,
#cta-cr:has(> input[type="checkbox"]:checked) {
  border-color: var(--pdpSidePanel-green);
}

#cta-cr .pdpSidePanel-accordion__header:hover,
#cta-cr > input[type="checkbox"]:checked ~ .pdpSidePanel-accordion__header {
  background: rgba(255, 255, 255, 0.35);
}

#cta-cr .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: var(--pdpSidePanel-green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(68, 94, 48, 0.3);
}

#cta-cr .pdpSidePanel-accordion__header::after {
  border-color: var(--pdpSidePanel-green);
}

#cta-cr .pdpSidePanel-accordion__content {
  background: rgba(255, 255, 255, 0.7);
  border-top-color: rgba(68, 94, 48, 0.2);
}


/* =============================================================================
   Accordion — variant: free delivery
   ============================================================================= */

#cta-delivery.pdpSidePanel-free-delivery {
  background: var(--pdpSidePanel-free-delivery-bg);
  border-color: #a8d29e;
}

#cta-delivery.pdpSidePanel-free-delivery .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: rgba(83, 112, 60, 0.12);
  color: #53703c;
}

#cta-delivery.pdpSidePanel-free-delivery .pdpSidePanel-accordion__header:hover .pdpSidePanel-icon,
#cta-delivery.pdpSidePanel-free-delivery > input[type="checkbox"]:checked ~ .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: var(--pdpSidePanel-green);
  color: #fff;
}

#cta-delivery.pdpSidePanel-free-delivery .pdpSidePanel-accordion__content {
  background: rgba(255, 255, 255, 0.6);
}


/* =============================================================================
   Accordion — variant: coupons
   ============================================================================= */

#cta-coupons {
  background: var(--pdpSidePanel-coupons-bg);
  border-color: #e8a0b0;
}

#cta-coupons .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: rgba(192, 64, 88, 0.1);
  color: #C04058;
}

#cta-coupons:hover,
#cta-coupons:has(> input[type="checkbox"]:checked) {
  border-color: #d9788f;
}

#cta-coupons .pdpSidePanel-accordion__header:hover .pdpSidePanel-icon,
#cta-coupons > input[type="checkbox"]:checked ~ .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: #C04058;
  color: #fff;
  box-shadow: 0 2px 6px rgba(192, 64, 88, 0.3);
}

#cta-coupons .pdpSidePanel-accordion__content {
  background: rgba(255, 255, 255, 0.6);
}

.pdpSidePanel-coupon-code {
  border-color: #e8a0b0;
  color: #C04058;
}


/* =============================================================================
   Accordion — variant: starbuys / reviews (link-style rows, no checkbox)
   ============================================================================= */

#cta-starbuys {
  cursor: pointer;
  background: var(--pdpSidePanel-starbuys-bg);
  border-color: var(--pdpSidePanel-starbuys-border);
}

#cta-starbuys .pdpSidePanel-accordion__header {
  color: #4a2a6b;
}

#cta-starbuys a,
#cta-reviews a {
  display: block;
  text-decoration: none;
  color: inherit;
}

#cta-starbuys .pdpSidePanel-accordion__header,
#cta-reviews .pdpSidePanel-accordion__header {
  pointer-events: none;
}

/* Right-pointing arrow in place of chevron */
#cta-starbuys .pdpSidePanel-accordion__header::after,
#cta-reviews .pdpSidePanel-accordion__header::after {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-top: none;
  border-left: none;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0.45;
}

#cta-starbuys:hover {
  border-color: var(--pdpSidePanel-purple);
  box-shadow: 0 2px 10px rgba(145, 88, 191, 0.22);
}

#cta-starbuys:hover .pdpSidePanel-accordion__header {
  background: rgba(255, 255, 255, 0.35);
}

#cta-starbuys .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: var(--pdpSidePanel-purple);
  color: #fff;
  box-shadow: 0 2px 6px rgba(145, 88, 191, 0.35);
}

#cta-starbuys .pdpSidePanel-accordion__header::after {
  border-color: var(--pdpSidePanel-purple);
  opacity: 0.8;
}

#cta-reviews:hover {
  border-color: #d4a017;
}

#cta-reviews:hover .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: #b8860b;
  color: #fff;
  box-shadow: 0 2px 6px rgba(184, 134, 11, 0.3);
}

#cta-reviews .pdpSidePanel-accordion__header .pdpSidePanel-icon {
  background: rgba(212, 160, 23, 0.14);
  color: #b8860b;
}


/* =============================================================================
   Accordion — variant: finance (Klarna / PayPal / Novuna tabs)
   ============================================================================= */

.pdpSidePanel-finance-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  margin-bottom: 10px;
  background: var(--pdpSidePanel-accent-subtle);
  border-radius: 8px;
}

.pdpSidePanel-finance-tab {
  flex: 1;
  text-align: center;
  padding: 7px 8px;
  border-radius: 6px;
  font-family: var(--pdpSidePanel-font);
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pdpSidePanel-finance-tab:hover {
  color: var(--pdpSidePanel-accent);
}

.pdpSidePanel-finance-tab--active {
  background: #fff;
  color: var(--pdpSidePanel-accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pdpSidePanel-finance-tab--hidden {
  display: none;
}

/* Hide the tab bar when only one option is visible; auto-shows when Novuna is revealed */
.pdpSidePanel-finance-tabs:not(:has(
  .pdpSidePanel-finance-tab:not(.pdpSidePanel-finance-tab--hidden) ~
  .pdpSidePanel-finance-tab:not(.pdpSidePanel-finance-tab--hidden)
)) {
  display: none;
}

/* Finance content panels */
.pdpSidePanel-finance-panel {
  display: none;
}

.pdpSidePanel-finance-panel--active {
  display: block;
}

.pdpSidePanel-klarna-details {
  padding: 4px 0;
}

/* (PayPal panel renders via the official PayPal messaging component — self-styled) */

/* Novuna panel — mirror iframe wrapper */
#pdpSidePanel-novuna-content iframe {
  display: block;
  width: 100%;
  border: none;
}


/* =============================================================================
   Colour swatches (grid tiles)
   ============================================================================= */

.pdpSidePanel-colour-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.pdpSidePanel-colour-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--pdpSidePanel-accent);
  transition: background 0.15s ease;
}

.pdpSidePanel-accordion__content a.pdpSidePanel-colour-swatch {
  text-decoration: none;
}

.pdpSidePanel-colour-swatch:hover {
  background: var(--pdpSidePanel-accent-subtle);
  opacity: 1;
}

.pdpSidePanel-colour-swatch img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  object-fit: cover;
  background: #fff;
  transition: outline-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.pdpSidePanel-colour-swatch:hover img {
  outline-color: var(--pdpSidePanel-border);
  transform: scale(1.03);
}

.pdpSidePanel-colour-swatch--active img {
  border-color: var(--pdpSidePanel-accent);
  outline-color: var(--pdpSidePanel-accent);
  outline-offset: 1px;
}

.pdpSidePanel-colour-swatch__name {
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #777;
}

.pdpSidePanel-colour-swatch--active .pdpSidePanel-colour-swatch__name {
  font-weight: 700;
  color: var(--pdpSidePanel-accent);
}

.pdpSidePanel-colour-swatch--hidden {
  display: none;
}

.pdpSidePanel-accordion__content a.pdpSidePanel-colour-more {
  margin-top: 12px;
  cursor: pointer;
}


/* =============================================================================
   Coupon items
   ============================================================================= */

.pdpSidePanel-coupon-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid var(--pdpSidePanel-border);
}

.pdpSidePanel-coupon-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pdpSidePanel-coupon-item__code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pdpSidePanel-coupon-code {
  display: inline-block;
  padding: 3px 10px;
  background: #fff;
  border: 1px dashed #b3c4f5;
  border-radius: 6px;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  font-family: monospace;
  color: #3355cc;
}

.pdpSidePanel-accordion__content a.pdpSidePanel-coupon-copy {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--pdpSidePanel-copy-btn-bg);
  color: var(--pdpSidePanel-copy-btn-color);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.pdpSidePanel-accordion__content a.pdpSidePanel-coupon-copy:hover {
  opacity: 0.82;
  text-decoration: none;
  color: var(--pdpSidePanel-copy-btn-color);
}

.pdpSidePanel-coupon-desc {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pdpSidePanel-accent);
}

.pdpSidePanel-coupon-how {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.5;
}


/* =============================================================================
   "Why buy" title
   ============================================================================= */

p.pdpSidePanel-reasons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pdpSidePanel-accent);
  margin: 0 0 10px;
}


/* =============================================================================
   Signpost toggles
   ============================================================================= */

.pdpSidePanel-hps-st-toggle {
  display: block;
}

.pdpSidePanel-hps-st-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--pdpSidePanel-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--pdpSidePanel-accent);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pdpSidePanel-hps-st-toggle-btn:hover {
  background: var(--pdpSidePanel-accent-subtle);
  border-color: #c0d4bc;
}

.pdpSidePanel-hps-st-toggle-btn[aria-expanded="true"] {
  background: var(--pdpSidePanel-accent);
  color: #fff;
  border-color: var(--pdpSidePanel-accent);
}

.pdpSidePanel-hps-st-toggle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pdpSidePanel-hps-st-toggle-list[hidden] {
  display: none;
}

.pdpSidePanel-hps-st-toggle-list a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--pdpSidePanel-pip-bg);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--pdpSidePanel-accent);
  text-decoration: none;
  transition: background 0.15s ease;
}

.pdpSidePanel-hps-st-toggle-list a:hover {
  background: var(--pdpSidePanel-pip-bg-hover);
}


/* =============================================================================
   Utility
   ============================================================================= */

.pdpSidePanel-weight-bold {
  font-weight: 700;
}

.pdpSidePanel-zflex {
  display: flex;
  flex-direction: column;
}

.pdpSidePanel-col-1 {
  width: 100%;
}

.maxInner:has(#prodInfoLeft){
  overflow: visible !important;
}


/* =============================================================================
   Pre-launch card — replaces the platform's pink .prelaunch notice
   (#preLaunchText) with a countdown card at the top of the panel. Rules carry
   !important where the platform's .prelaunch / .prelaunch a / .prelaunch > span
   rules would otherwise win.
   ============================================================================= */

#preLaunchText.pdpSidePanel-prelaunch {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--pdpSidePanel-green-mid) !important;
  border-radius: var(--pdpSidePanel-radius);
  background: var(--pdpSidePanel-rewards-bg) !important;
  color: #2f4520 !important;
  font-family: var(--pdpSidePanel-font);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
  overflow: hidden;
}

/* Platform gives every direct span 100% width + padding, and nested spans a bold font */
#preLaunchText.pdpSidePanel-prelaunch > span {
  width: auto !important;
  padding: 0 !important;
}

#preLaunchText.pdpSidePanel-prelaunch span {
  font-family: inherit !important;
}

/* Header row — same anatomy as the accordion headers */
#preLaunchText.pdpSidePanel-prelaunch > .pdpSidePanel-prelaunch__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px !important;
}

.pdpSidePanel-prelaunch__head .pdpSidePanel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--pdpSidePanel-green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(68, 94, 48, 0.3);
}

.pdpSidePanel-prelaunch__head .pdpSidePanel-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.pdpSidePanel-prelaunch__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f4520;
}

/* Date chip, right-aligned */
.pdpSidePanel-prelaunch__date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--pdpSidePanel-green-mid);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pdpSidePanel-green);
  white-space: nowrap;
}

.pdpSidePanel-prelaunch__date svg {
  width: 13px;
  height: 13px;
}

/* Body */
#preLaunchText.pdpSidePanel-prelaunch > .pdpSidePanel-prelaunch__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px !important;
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(68, 94, 48, 0.2);
}

.pdpSidePanel-prelaunch__sub {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pdpSidePanel-green);
}

.pdpSidePanel-prelaunch__count {
  display: flex;
  gap: 6px;
}

.pdpSidePanel-prelaunch__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 8px 4px;
  background: #fff;
  border: 1px solid var(--pdpSidePanel-border);
  border-radius: 8px;
}

.pdpSidePanel-prelaunch__num {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--pdpSidePanel-accent);
  font-variant-numeric: tabular-nums;
}

.pdpSidePanel-prelaunch__unit {
  margin-top: 4px;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777;
}

.pdpSidePanel-prelaunch__count--ready,
.pdpSidePanel-prelaunch__tbc {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pdpSidePanel-accent);
}

.pdpSidePanel-prelaunch__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.pdpSidePanel-prelaunch__footer:empty {
  display: none;
}

/* Preserved platform link (pre-order terms) as the sidepanel pill */
#preLaunchText.pdpSidePanel-prelaunch a {
  display: inline-block !important;
  width: auto !important;
  padding: 4px 12px !important;
  line-height: 1.5 !important;
  border: 1px solid var(--pdpSidePanel-border);
  border-radius: 20px;
  background: #fff !important;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pdpSidePanel-accent) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#preLaunchText.pdpSidePanel-prelaunch a:hover {
  background: var(--pdpSidePanel-accent-subtle) !important;
  border-color: #c0d4bc;
  color: var(--pdpSidePanel-accent) !important;
}

#preLaunchText.pdpSidePanel-prelaunch a:focus-visible {
  outline: 2px solid var(--pdpSidePanel-focus);
  outline-offset: 2px;
}
