/* ─── Element visibility ─────────────────────────────────────────────────── */

.encrypted-banner,
[class*="checkout-progress"] {
  display: none !important;
}

/* ─── Money-back badge ───────────────────────────────────────────────────── */

.money-back-badge {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.guarantee-badge,
.mg-image {
  width: 60px;
  height: 60px;
}

/* ─── Brand tokens ───────────────────────────────────────────────────────── */

:root {
  --font-display: "TT Octosquares", "Arial Black", sans-serif;
  --font-body:    "TT Norms Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    "TT Norms Pro Mono", "Courier New", monospace;

  --color-primary:      #ffe100;
  --color-brand-purple: #c670fe;

  --cta-button-bg:     linear-gradient(90deg, #000000 0%, #4a4a4a 51.44%, #000000 100%);
  --cta-button-border: 1.828px solid #000000;
  --cta-button-radius: 7.313px;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */

body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.display-md,
.display-lg,
.form-section__title,
.os-card__title-2,
#vp-slot-heading {
  font-family: var(--font-display);
}

.label-checkout,
.input-flds,
.text-xs,
.text-xs-2,
.text-reg,
.text-sm,
.os-card__subtitle-text-2,
.os-card__variant-label,
.os-card__variant-toggle-name,
.checkout-review__description,
.checkout-review__author {
  font-family: var(--font-body);
}

/* ─── Trust badge band ───────────────────────────────────────────────────── */

.trust-badges {
  background: var(--color-brand-purple);
  overflow: hidden;
  padding: 10px 20px;
}

.trust-badges__track {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-badges__group {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}

.trust-badges__group:nth-child(2) {
  display: none;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.trust-badge__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.trust-badge__text {
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@keyframes scroll-badges {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .trust-badges {
    padding: 8px 0;
  }

  .trust-badges__track {
    animation: scroll-badges 24s linear infinite;
    width: max-content;
    justify-content: flex-start;
  }

  .trust-badges__group {
    gap: 30px;
    padding: 0 15px;
  }

  .trust-badges__group:nth-child(2) {
    display: flex;
  }
}

/* ─── Color swatch in dropdown ───────────────────────────────────────────── */

.vp-color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* ─── Checkout trust bar (below submit button) ───────────────────────────── */

.checkout-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.checkout-trust-bar .trust-badges {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 18px;
  background: transparent;
  padding: 0;
}

.checkout-trust-bar .trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.checkout-trust-bar .trust-badge__icon {
  width: 24px;
  height: 26px;
  flex-shrink: 0;
  filter: none;
}

.checkout-trust-bar .badge-text {
  color: #5c5c5e;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .checkout-trust-bar {
    flex-direction: column;
    align-items: center;
  }

  .checkout-trust-bar .trust-badges {
    justify-content: center;
    width: 100%;
  }
}

.checkout-trust-bar .trust-badge__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-trust-bar .trust-badge--icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.checkout-trust-bar .trust-badge--text {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #5c5c5e;
}

/* ─── Review stars (heading) — yellow + 4.82 rating ─────────────────────── */

.hero_review-box .review_component-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero_review-box .review_component-wrapper::before {
  content: "4.82";
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-review-count {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Product heading ────────────────────────────────────────────────────── */

h1 {
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

/* ─── Submit button — black gradient matching landing CTA ────────────────── */

button.button.cc-gold,
.submit-section__button button[type="submit"] {
  background:    var(--cta-button-bg);
  border:        var(--cta-button-border);
  border-radius: var(--cta-button-radius);
  color:         #ffffff;
  font-family:   var(--font-display);
  font-weight:   700;
  letter-spacing: 0.04em;
  transition:    opacity 0.15s ease, box-shadow 0.15s ease;
}

button.button.cc-gold:hover,
.submit-section__button button[type="submit"]:hover {
  opacity: 0.88;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* ─── Variant picker (standalone packages as variant UI) ─────────────────── */

[data-catalog-component="variant-picker"] {
  display: contents;
}

/* Slot separator when multiple units shown */
.vp-slot + .vp-slot {
  margin-top: 0.75rem;
}

/* Bundle tier cards — original MV row layout: quantity, product, savings */
[data-catalog-component="variant-picker"] .os-cards__grid.os--three {
  grid-template-columns: 1fr 1fr 1fr;
}

#vp-slot-stage,
#vp-slot-stage .vp-slot,
#vp-slot-stage .slot__right,
#vp-slot-stage .os-card__variant-options,
#vp-slot-stage .os-card__variant-grid,
#vp-slot-stage .os-card__variant-group,
#vp-slot-stage .next-slot-variant-field {
  overflow: visible;
}

#vp-slot-stage .os-card__variant-label {
  font-size: 0.938rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

#vp-slot-stage .os-variant-dropdown {
  position: relative;
  z-index: 1;
  width: 100%;
}

#vp-slot-stage .os-variant-dropdown[open],
#vp-slot-stage .os-variant-dropdown:has(.show) {
  z-index: 1001;
}

#vp-slot-stage .os-card__variant-dropdown-toggle {
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.5rem;
  color: #000;
  letter-spacing: -0.006em;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  font-size: var(--font-size--sm);
  line-height: 1.25rem;
  display: flex;
  width: 100%;
}

#vp-slot-stage .os-card__variant-dropdown-menu-v2 {
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: min(18rem, 60vh);
  overflow-y: auto;
  z-index: 1000;
}

#vp-slot-stage .os-card__variant-dropdown-icon {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

#vp-slot-stage .os-card__variant-toggle-name,
#vp-slot-stage .os-card__variant-toggle-name.os--font-bold {
  font-weight: 600;
}

#vp-slot-stage .os-card__toggle-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.vp-tier-card .os-card__subtitle-text-2 {
  color: #cb0000;
  font-family: var(--font-display, inherit);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media screen and (max-width: 991px) {
  [data-catalog-component="variant-picker"] .os-cards__grid.os--three {
    display: flex;
    flex-flow: column;
  }

  #vp-slot-stage .os-card__variant-grid.cc-horiz {
    flex-flow: column;
  }

  #vp-slot-stage .os-card__variant-dropdown-menu-v2 {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .vp-tier-card .os-card__subtitle-text-2 {
    display: none;
  }
}

@media (max-width: 640px) {
  #vp-slot-stage os-dropdown-menu,
  #vp-slot-stage [os-element="dropdown-menu"] {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
}

/* ─── Legacy bundle-slot variant styles (unused, kept for reference) ──────── */

/*
 * External bundle slots: visible variant UI is button + os-dropdown-menu (see checkout-olympus-mv-full.js),
 * same structural idea as olympus-mv-single-step — not native <select> chrome.
 * [data-next-variant-selectors] uses display:contents so each .next-slot-variant-field flexes inside
 * .os-card__variant-grid.cc-horiz. JS wraps label + os-dropdown in .os-card__variant-group.cc-full.
 * Toggle/menu/swatch: next-core.css #bundle-slots-stage .os-card__variant-*.
 */

#bundle-slots-stage .os-card__variant-grid.cc-horiz > [data-next-variant-selectors] {
  display: contents;
}

#bundle-slots-stage .os-card__variant-grid.cc-horiz > [data-next-variant-selectors] > .next-slot-variant-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/*
 * --- Optional: data-next-variant-option-template-id + uncomment template in checkout.html ---
 * .mv-variant-btn { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer;
 *   display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 2rem;
 *   padding: 0.25rem 0.65rem; border-radius: 999px; border: 1px solid #ddd; background: #fff; color: #111;
 *   font-size: 0.8125rem; font-weight: 600; line-height: 1.2;
 *   transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease; }
 * .mv-variant-btn:hover { border-color: #bbb; }
 * .mv-variant-btn.next-variant-selected, .mv-variant-btn[data-selected="true"] {
 *   border-color: var(--component--color--outline, #000); box-shadow: 0 0 0 1px var(--component--color--outline, #000);
 *   background: var(--brand--color--surface, #fff); }
 * .mv-variant-btn.next-variant-unavailable, .mv-variant-btn[data-available="false"] {
 *   opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }
 * .mv-variant-btn[data-attr-code="color"]::before { content: ""; flex: none; width: 1rem; height: 1rem;
 *   border-radius: 50%; background: var(--swatch, transparent); border: 1px solid rgba(0, 0, 0, 0.15); }
 */

/* ─── Size & fit modal (Aura) ────────────────────────────────────────────── */

.size-fit-modal__dialog {
  max-width: 36rem;
}

.size-fit-modal__content {
  padding-top: 0.5rem;
}

.size-fit-modal__panels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.size-fit-panel__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.size-fit-panel__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.size-fit-panel__specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.size-fit-panel__spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #111;
}

.size-fit-panel__spec span {
  font-weight: 600;
  text-align: right;
}

.size-fit-panel .next-page-modal__visual {
  margin-top: 0;
}

/* ─── Checkout reviews — vertical Figma layout ───────────────────────────── */

.checkout-reviews {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.checkout-review {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-review__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-review__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-review__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin: 0;
  line-height: 20px;
}

.checkout-review__description {
  font-size: 14.8px;
  line-height: 1.3;
  letter-spacing: 0.32px;
  color: #000;
  margin: 0;
}

.checkout-review__author {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  line-height: 20px;
  margin: 0;
}

.checkout-review__author span {
  font-weight: 400;
  text-transform: none;
}

.checkout-review__divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 0;
}

/* ─── Checkout footer ────────────────────────────────────────────────────── */

.checkout-footer-theme {
  background: #000000;
  color: #ffffff;
}

.checkout-footer-theme .footer_legal-link,
.checkout-footer-theme .text-xs {
  color: #ffffff;
}

/* ─── Product features (from landing hero) ─────────────────────────────────── */

.hero__features {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 1rem;
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.375rem;
  text-align: center;
  padding: 0.75rem 1rem;
  flex: 1;
}

.hero__feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.hero__feature-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
}

.hero__feature-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.15);
  align-self: stretch;
}
