* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-top {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-top .container {
  max-width: 1072px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 32px;
  width: auto;
}

.shopping-bag-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.shopping-bag-image {
  width: 24px;
  height: 24px;
}

/* Header checkout steps (replaces bag icon) */
.checkout-steps {
  --step-active: #0D40FF;
  --step-muted: #E6EAF2;
  --step-text: #111;

  position: relative;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  align-items: start;
  gap: 44px;
}

.checkout-steps-track {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 4px;
  background: var(--step-muted);
  border-radius: 999px;
  z-index: 0;
}

.checkout-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  font-family: Roboto, sans-serif;
}

.checkout-step-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #6b7280;
  background: #F3F4F6;
}

.checkout-step-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--step-text);
  line-height: 1.1;
}

.checkout-step.is-active .checkout-step-circle,
.checkout-step.is-complete .checkout-step-circle {
  background: var(--step-active);
  color: #fff;
}

.checkout-steps:has(.checkout-step:nth-child(3).is-active) .checkout-steps-track,
.checkout-steps:has(.checkout-step:nth-child(3).is-complete) .checkout-steps-track {
  background: linear-gradient(90deg, var(--step-active) 0 50%, var(--step-muted) 50% 100%);
}

.checkout-steps:has(.checkout-step:nth-child(2).is-active) .checkout-steps-track,
.checkout-steps:has(.checkout-step:nth-child(2).is-complete) .checkout-steps-track {
  background: linear-gradient(90deg, var(--step-active) 0 0%, var(--step-muted) 0% 100%);
}

.checkout-steps:has(.checkout-step:nth-child(4).is-active) .checkout-steps-track,
.checkout-steps:has(.checkout-step:nth-child(4).is-complete) .checkout-steps-track {
  background: linear-gradient(90deg, var(--step-active) 0 100%, var(--step-muted) 100% 100%);
}

/* Better, explicit fills for common states */
.checkout-steps:has(.checkout-step:nth-child(2).is-active) .checkout-steps-track,
.checkout-steps:has(.checkout-step:nth-child(2).is-complete) .checkout-steps-track {
  background: var(--step-muted);
}

.checkout-steps:has(.checkout-step:nth-child(3).is-active) .checkout-steps-track,
.checkout-steps:has(.checkout-step:nth-child(3).is-complete) .checkout-steps-track {
  background: linear-gradient(90deg, var(--step-active) 0 50%, var(--step-muted) 50% 100%);
}

.checkout-steps:has(.checkout-step:nth-child(4).is-active) .checkout-steps-track,
.checkout-steps:has(.checkout-step:nth-child(4).is-complete) .checkout-steps-track {
  background: var(--step-active);
}

@media (max-width: 768px) {
  .checkout-steps {
    gap: 28px;
  }

  .checkout-step-label {
    font-size: 14px;
  }
}

/* Product Showcase Section */
.product-showcase-section {
  background: #fff;
  padding: 30px 0 20px 0;
}

.product-showcase-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* 16px separation between hero and checkout section */
.productHero__bottomLine {
  width: 100%;
  background-color: #fafafa;
  height: 16px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* Left Column: Product Image */
.product-image-column {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.gallery-thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #f5f5f5;
  transition: all 0.3s;
}

.gallery-thumbnail:hover {
  border-color: #4A90E2;
  transform: scale(1.05);
}

.gallery-thumbnail.active {
  border-color: #4A90E2;
  border-width: 3px;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-main-image-container {
  position: relative;
  margin-left: 100px;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  width: calc(100% - 100px);
  max-width: 100%;
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s;
}

.carousel-arrow:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-arrow-left {
  left: 20px;
}

.carousel-arrow-right {
  right: 20px;
}

.product-slogan-section {
  margin-top: 40px;
  margin-left: 100px;
}

.wavy-lines {
  margin-bottom: 15px;
}

.wavy-lines svg {
  width: 200px;
  height: auto;
}

.product-slogan {
  font-size: 42px;
  font-weight: 900;
  color: #333;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.product-slogan-subtitle {
  font-size: 18px;
  color: #666;
  margin-top: 10px;
  font-weight: 400;
}

/* Right Column: Product Information */
.product-info-column {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}

.product-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.flag-icon {
  font-size: 20px;
}

.product-badge-text {
  box-sizing: border-box;
  color: rgb(0, 0, 0);
  display: block;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  height: 20px;
  line-height: 20px;
  margin: 0 0 0 8px;
  outline-color: rgb(0, 0, 0);
  outline-style: none;
  outline-width: 0px;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.rating-stars {
  color: #FFD700;
  font-size: 18px;
  letter-spacing: 2px;
}

.rating-number {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.rating-reviews {
  font-size: 14px;
  color: #666;
  font-family: Roboto, sans-serif;
}

.product-name {
  align-self: stretch;
  box-sizing: border-box;
  color: rgb(0, 0, 0);
  display: block;
  font-family: Roboto, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 900;
  grid-column-end: 3;
  grid-column-start: 2;
  height: 32px;
  line-height: 32px;
  margin: 0 0 16px 0;
  outline-color: rgb(0, 0, 0);
}

.product-description {
  color: var(--hero-text-secondary, #666);
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  align-self: stretch;
  margin-top: -4px;
  margin-bottom: -4px;
  text-align: left;
}

.product-features-list {
  margin-bottom: 20px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
  text-align: left;
}

.feature-item:first-child {
  margin-top: 0;
}

.feature-item:not(:first-child) {
  margin-top: 0;
}

.checkmark-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.feature-item span {
  box-sizing: border-box;
  color: rgb(102, 102, 102);
  display: inline;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  height: auto;
  line-height: 24px;
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  margin: 0;
  outline: none;
  outline-color: rgb(102, 102, 102);
  outline-style: none;
  outline-width: 0px;
  padding: 0;
  text-align: left;
  flex: 1;
}

.checkmark-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.customer-proof-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  padding: 12px 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  width: fit-content;
}

.customer-socials-image {
  height: 32px;
  width: auto;
  display: block;
}

.customer-proof-text {
  box-sizing: border-box;
  color: rgb(79, 79, 79);
  display: inline;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  height: auto;
  line-height: 16px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 8px;
  margin-top: 0px;
  outline-color: rgb(79, 79, 79);
  outline-style: none;
  outline-width: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
}

.customer-proof-text strong {
  color: rgb(0, 0, 0);
  font-weight: 700;
}

.benefit-icons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0;
  margin-bottom: 0;
  grid-column: 2; /* Default: right column only */
  align-self: start;
}

/* Media query for screens 768px to 1071px - span icons across both columns */
@media (min-width: 768px) and (max-width: 1071px) {
  .benefit-icons-row {
    grid-column: 1 / -1; /* Span both columns */
    margin-left: 0;
    justify-items: center;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 16px;
  }

  .benefit-icon {
    margin-right: 0;
  }
}

/* Media query for screens above 1071px - keep icons in right column */
@media (min-width: 1072px) {
  .benefit-icons-row {
    grid-column: 2; /* Right column only */
    margin-left: 0;
  }
}

.benefit-icon {
  align-items: center;
  box-sizing: border-box;
  color: rgb(51, 51, 51);
  display: flex;
  flex-direction: column;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  height: 80px;
  line-height: 16px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 16px;
  margin-top: 0px;
  outline-color: rgb(51, 51, 51);
  outline-style: none;
  outline-width: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  text-align: center;
  text-rendering: optimizelegibility;
  text-size-adjust: 100%;
}

.benefit-icon:last-child {
  margin-right: 0;
}

.benefit-icon-circle {
  box-sizing: border-box;
  color: rgb(51, 51, 51);
  display: block;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  height: 40px;
  line-height: 16px;
  margin-bottom: 8px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  max-width: 100%;
  outline-color: rgb(51, 51, 51);
  outline-style: none;
  outline-width: 0px;
  overflow-clip-margin: content-box;
  overflow-x: clip;
  overflow-y: clip;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  text-align: center;
  text-rendering: optimizelegibility;
  text-size-adjust: 100%;
  touch-action: manipulation;
  width: 40px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background: none;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.benefit-icon span {
  box-sizing: border-box;
  color: rgb(51, 51, 51);
  display: block;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
  text-rendering: optimizelegibility;
  text-size-adjust: 100%;
}

.main-content {
  padding: 0;
  /* Full-width split background (left white, right light gray) */
  background: linear-gradient(90deg, #ffffff 0 50%, #f5f5f5 50% 100%);
}

.main-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

.checkout-left {
  background: transparent;
  padding: 40px 40px 60px 40px;
}

.checkout-right {
  background: transparent;
  padding: 40px;
  border-left: 1px solid #e0e0e0;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.scarcity-banner {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scarcity-text {
  font-weight: 600;
  font-size: 14px;
}

.timer {
  font-weight: bold;
  font-size: 16px;
}

/* Checkout alerts (left column, above package selection) */
.checkout-alerts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.checkout-alerts--mobile-top {
  display: none;
  margin: 16px 0 0 0;
}

.header-alerts {
  display: none;
}

.checkout-alert {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 16px;
  background: #fff;
}

.checkout-alert--stock {
  background: #fff7f7;
}

.checkout-alert--discount {
  background: #eef5ff;
}

.checkout-alert--timer {
  background: #fffdf1;
}

.checkout-alert-stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-alert-stock-text {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 20px;
}

.checkout-alert-stock-number {
  color: #e53935;
}

.checkout-alert-stock-bar {
  width: 52%;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #e0e0e0;
  overflow: hidden;
}

.checkout-alert-stock-bar-fill {
  height: 100%;
  width: 92%;
  border-radius: 999px;
  background: linear-gradient(90deg, #baff00 0%, #ffe600 45%, #ffb300 70%, #ff4d4d 100%);
}

.checkout-alert-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-alert-icon-img {
  width: 19px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.checkout-alert-text {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 20px;
}

.checkout-alert--discount,
.checkout-alert--timer {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 768px) {
  .checkout-alert-stock-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-alert-stock-bar {
    width: 100%;
  }
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.package-selector {
  margin-bottom: 30px;
}

.package-option {
  border: 3px solid #e5e5e5;
  border-radius: 14px;
  padding: 18px 18px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  background: #fff;
  max-width: 100%;
}

.package-option:hover {
  border-color: #0D40FF;
}

.package-option.selected,
.package-option.next-selected {
  border-color: #0D40FF;
  background: #fff;
}

/* New bundle card layout (matches IonClear design screenshot) */
.package-card {
  display: grid;
  /* Single row with dividers as their own columns (keeps all elements in one row) */
  grid-template-columns: auto 1px 1fr 1px 1fr 1px 1fr;
  grid-template-rows: auto;
  align-items: center;
  column-gap: 0;
  width: 100%;
  min-width: 0;
}

.package-divider {
  width: 1px;
  height: 84px;
  background: #e5e5e5;
  display: block;
}

.package-col--left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.package-radio {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid #cfcfcf;
  background: #fff;
  position: relative;
  flex: 0 0 auto;
}

.package-option.selected .package-radio::after,
.package-option.next-selected .package-radio::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: #0D40FF;
}

.package-product-image {
  width: 78px;
  height: auto;
  display: block;
}

.package-col--title {
  padding: 0 18px;
  text-align: center;
  min-width: 0;
}

.package-qty {
  font-family: Roboto, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 28px;
  color: #222;
}

.package-product-name {
  margin-top: 8px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.package-name-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.package-col--discount {
  display: flex;
  justify-content: center;
  padding: 0 18px;
  min-width: 0;
}

.package-discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.package-discount-icon-img {
  width: 16px;
  height: 16px;
  display: block;
}

/* Savings percent suffix (number comes from SDK; add " %" here to avoid "50 % %") */
.package-discount-value::after {
  content: " %";
}

.package-col--price {
  padding: 0 18px;
  text-align: right;
  min-width: 0;
}

.package-col--price .package-price-old {
  color: #d40000;
  text-decoration: line-through;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.package-price-row {
  margin-top: 8px;
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 6px;
  row-gap: 0px;
  align-items: end;
}

.package-price-hidden {
  display: none;
}

.package-price-major {
  font-size: 24px;
  line-height: 24px;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: end;
  font-family: Roboto, sans-serif;
  font-weight: 900;
}

.package-price-decimals {
  font-size: 12px;
  line-height: 12px;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  font-family: Roboto, sans-serif;
  font-weight: 900;
}

.package-price-row .package-price-unit {
  font-family: Roboto, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #666;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}

.package-total-row {
  margin-top: 6px;
  display: none; /* Hidden on desktop to match target screenshot */
  justify-content: flex-end;
  gap: 8px;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #333;
}

.package-total-label {
  color: #666;
  font-weight: 700;
}

.package-total-value {
  color: #111;
  font-weight: 900;
}

.package-bestseller-label {
  margin-top: 10px;
  display: inline-block;
  background: #f6c343;
  color: #111;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .package-card {
    grid-template-columns: auto 1px 1fr 1px 1fr 1px 1fr;
  }
}

/* Mobile + tablet bundles should match the horizontal "card" layout (like the screenshot).
   Desktop styles above remain unchanged. */
@media (max-width: 1071px) {
  .package-option {
    padding: 16px;
    border-width: 3px;
    border-radius: 14px;
  }

  .package-card {
    /* Keep the 1-row + divider layout on smaller screens */
    grid-template-columns: auto 1px 1fr 1px 1fr 1px 1fr;
  }

  .package-divider {
    height: 76px;
  }

  .package-col--left {
    gap: 12px;
  }

  .package-radio {
    width: 24px;
    height: 24px;
    border-width: 3px;
  }

  .package-product-image {
    width: 64px;
  }

  .package-col--title,
  .package-col--discount,
  .package-col--price {
    padding: 0 14px;
  }

  .package-qty {
    font-size: 34px;
    line-height: 34px;
  }

  .package-product-name {
    font-size: 14px;
  }

  .package-discount-pill {
    padding: 10px 12px;
    font-size: 14px;
  }

  .package-col--price .package-price-old {
    font-size: 16px;
  }

  .package-price-row {
    margin-top: 6px;
    column-gap: 6px;
  }

  .package-price-major {
    font-size: 32px;
    line-height: 32px;
  }

  .package-price-decimals {
    font-size: 14px;
    line-height: 14px;
  }

  .package-price-row .package-price-unit {
    font-size: 11px;
  }

  .package-bestseller-label {
    margin-top: 10px;
    border-radius: 10px;
  }
}

/* Very small phones: tighten spacing so the horizontal card layout doesn't overflow. */
@media (max-width: 420px) {
  .package-option {
    padding: 14px;
  }

  .package-divider {
    height: 70px;
  }

  .package-product-image {
    width: 58px;
  }

  .package-col--title,
  .package-col--discount,
  .package-col--price {
    padding: 0 10px;
  }

  .package-qty {
    font-size: 30px;
    line-height: 30px;
  }

  .package-price-major {
    font-size: 28px;
    line-height: 28px;
  }
}

/* Mobile-only: place discount pill under quantity/title (matches screenshot). */
@media (max-width: 767px) {
  .package-card {
    /* Remove the dedicated discount column; title+discount share one column */
    grid-template-columns: auto 1px 1fr 1px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
  }

  /* Left column spans both rows */
  .package-col--left {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  /* Title on first row, discount beneath it */
  .package-col--title {
    grid-column: 3;
    grid-row: 1;
  }

  .package-col--discount {
    grid-column: 3;
    grid-row: 2;
    justify-content: center;
    padding-top: 10px;
  }

  /* Price stays on the right and spans both rows */
  .package-col--price {
    grid-column: 5;
    grid-row: 1 / span 2;
    text-align: right;
  }

  /* Reposition dividers: keep left divider, drop middle divider, reuse right divider */
  .package-card > .package-divider:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .package-card > .package-divider:nth-of-type(2) {
    display: none;
  }

  .package-card > .package-divider:nth-of-type(3) {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

.form-section {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.form-input input,
.form-input select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

/* Hosted card fields (Spreedly / Campaign Cart SDK) mount into DIVs, not <input>.
   Without explicit styling these containers can collapse to 0-height, making CC fields appear "broken". */
.form-input .spreedly-field {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

.form-input .spreedly-field iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form-input:focus-within .spreedly-field {
  border-color: #4a90e2;
}

.form-input input:focus,
.form-input select:focus {
  outline: none;
  border-color: #4a90e2;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-grid.full {
  grid-template-columns: 1fr;
}

.express-checkout {
  margin: 30px 0;
  padding: 0;
}

.express-checkout-title {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.express-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.express-btn {
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  background: #ffc107;
  color: #000;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}

.express-btn:hover {
  background: #ffb300;
}

.divider {
  text-align: center;
  margin: 20px 0;
  color: #999;
  font-size: 14px;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #e0e0e0;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.payment-methods {
  margin-top: 20px;
}

.payment-method {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 15px;
}

.payment-method-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-method input[type="radio"] {
  margin-right: 10px;
}

.payment-method-title {
  font-weight: 600;
}

.payment-icons {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.payment-icons img {
  height: 20px;
}

.credit-form {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.submit-button {
  width: 100%;
  padding: 18px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
}

.submit-button:hover {
  background: #357abd;
}

.order-summary-card {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 28px;
}

.order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.order-summary-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 14px 0;
}

.order-summary-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.order-summary-label {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #16a34a; /* green */
}

.order-summary-value {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #16a34a; /* green */
}

.order-summary-label--dark {
  color: #333;
  font-weight: 400;
  font-size: 14px;
}

.order-summary-value--dark {
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.order-summary-chevron {
  color: #777;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.order-totals {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #e0e0e0;
}

.order-total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.order-total-line.total {
  font-size: 20px;
  font-weight: 700;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #e0e0e0;
}

.product-hero {
  text-align: center;
  padding: 40px 0;
  background: #fff;
  margin-bottom: 30px;
  border-radius: 8px;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.product-feature {
  text-align: center;
}

.product-feature-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.reviews-section {
  /* Right-column background should remain light grey; only cards are white */
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: 0;
}

.reviews-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

/* Why Choose Section */
.why-choose-section {
  margin-top: 26px;
}

.right-section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 22px 0;
  color: #333;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  justify-content: center;
}

.right-section-title::before,
.right-section-title::after {
  content: "";
  height: 1px;
  background: #e0e0e0;
  flex: 1;
}

.why-choose-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.why-choose-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-icon-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.why-choose-content {
  flex: 1;
}

.why-choose-heading {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
  font-size: 12px;
}

.why-choose-text {
  font-family: Roboto, sans-serif;
  font-size: 12px;
  color: #666;
  line-height: 16px;
}

/* Reviews Section */
.reviews-section {
  margin-top: 26px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 22px 20px;
}

.review-stars {
  color: #f5a623;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-name {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.review-verified {
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #00a651;
}

.review-title {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.review-text {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 20px;
}

.review-author {
  font-weight: 600;
  color: #666;
}

.faq-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.faq-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
  display: none;
  padding-top: 10px;
}

.faq-chevron {
  color: #777;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer .specs-list {
  margin-top: 10px;
  padding-left: 20px;
}

.faq-answer .specs-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.specs-section {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin: 30px 0;
}

.specs-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.specs-list li:last-child {
  border-bottom: none;
}

.footer {
  background: #000;
  color: #fff;
  padding: 80px 0 40px 0;
  margin-top: 60px;
}

.footer-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.footer-text {
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #fff;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #fff;
  text-decoration: none;
}

.footer-links-list a:hover {
  text-decoration: underline;
}

.footer-link-accent {
  color: #6b6bff;
  text-decoration: none;
}

.footer-link-accent:hover {
  text-decoration: underline;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-copyright-text {
  white-space: pre-line;
}

.footer-bottom-line {
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* Footer mobile layout (stacked like screenshot) */
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-col--brand {
    margin-top: 6px;
  }

  .footer-logo {
    height: auto;
  }

  .footer-heading,
  .footer-text,
  .footer-links-list a {
    font-size: 18px;
    line-height: 28px;
  }

  .footer-bottom-line {
    display: none;
  }
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}

.trust-badge {
  text-align: center;
}

.trust-badge-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.trust-badge-text {
  font-size: 12px;
  color: #666;
}

.guarantee-section {
  background: #f0f7ff;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}

.guarantee-text {
  font-size: 14px;
  color: #333;
}

.stock-alert {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #856404;
}

.discount-badge {
  background: #28a745;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  display: inline-block;
}

@media (max-width: 768px) {
  /* move alerts to top, under header */
  .header-alerts {
    display: block;
    background: #fff;
    padding: 10px 0 0 0;
    border-bottom: 1px solid #e0e0e0;
  }

  .checkout-left .checkout-alerts {
    display: none;
  }

  .checkout-alerts--mobile-top {
    display: flex;
  }

  /* keep each alert in a single line */
  .checkout-alert-stock-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .checkout-alert-stock-text {
    white-space: nowrap;
  }

  .checkout-alert-stock-bar {
    width: auto;
    flex: 1 1 auto;
    min-width: 120px;
    height: 16px;
  }

  .checkout-alert--discount,
  .checkout-alert--timer {
    flex-wrap: nowrap;
  }

  .checkout-alert-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .checkout-alert-icon {
    width: 22px;
    height: 22px;
  }

  .checkout-alert-icon-img {
    width: 19px;
    height: 20px;
  }

  .main-content {
    background: #fff;
  }

  .product-showcase-section {
    padding-top: 12px;
  }

  .product-showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-gallery-thumbnails {
    position: relative;
    flex-direction: row;
    margin-bottom: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 10px;
    order: 2;
    margin-top: 14px;
    margin-bottom: 0;
  }

  .gallery-thumbnail {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }
  
  .product-main-image-container {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    order: 1;
  }
  
  .product-slogan-section {
    margin-left: 0;
  }
  
  .product-slogan {
    font-size: 32px;
  }
  
  .benefit-icons-row {
    grid-template-columns: repeat(2, 1fr);
    grid-column: 1; /* Reset to single column on mobile */
    margin-left: 0;
    margin-top: 0;
    justify-items: center;
    column-gap: 16px;
    row-gap: 16px;
  }

  .benefit-icon {
    margin-right: 0;
  }
  
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }
  
  .checkout-right {
    position: static;
    border-left: none;
    padding: 30px 20px 40px 20px;
  }

  .checkout-left {
    padding: 30px 20px 40px 20px;
  }
  
  .product-features {
    grid-template-columns: 1fr;
  }
  
  /* Reviews already single-column; keep spacing tight on mobile */
  .review-card {
    padding: 18px 16px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.test-mode-indicator {
  display: none !important;
}

/* =======================================================================
   Checkout form UI refresh (match reference mobile screenshot)
   - Keeps 29next/Campaign Cart data-next-* markup intact (no JS changes)
   - Focuses on express checkout box, hosted CC fields, customer/address inputs
   ======================================================================= */

:root {
  --cc-bg: #ffffff;
  --cc-text: #111827;
  --cc-muted: #6b7280;
  --cc-border: #e5e7eb;
  --cc-border-strong: #d1d5db;
  --cc-focus: #4f46e5;
  --cc-primary: #4f46e5;
  --cc-primary-hover: #4338ca;
}

/* Make the checkout column feel like a centered mobile checkout on smaller screens */
@media (max-width: 991px) {
  .main-content {
    background: #fff;
  }

  .checkout-wrapper {
    grid-template-columns: 1fr;
  }

  .checkout-right {
    display: block;
    position: static;
    top: auto;
    height: auto;
    border-left: none;
    padding: 30px 16px 44px 16px;
    max-width: 520px;
    margin: 0 auto;
  }

  .checkout-left {
    padding: 26px 16px 44px 16px;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* -----------------------------------------------------------------------
   Bundle cards (mobile): match reference design (horizontal card layout)
   ----------------------------------------------------------------------- */
@media (max-width: 768px) {
  .checkout-left .package-section .section-title {
    margin-bottom: 14px;
  }

  .checkout-left .package-selector {
    margin-bottom: 22px;
  }

  .checkout-left .package-option {
    border-width: 2px;
    border-radius: 12px;
    /* Avoid double-padding + prevent horizontal overflow */
    box-sizing: border-box;
    padding: 0;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
    max-width: 100%;
    overflow: hidden;
  }

  .checkout-left .package-option.selected,
  .checkout-left .package-option.next-selected {
    border-color: #0D40FF;
    box-shadow: 0 4px 14px rgba(13, 64, 255, 0.10);
  }

  /* Mobile horizontal bundle cards - Grid layout */
  .checkout-left .package-card {
    display: grid;
    /* Move divider slightly right by giving the title column more space */
    grid-template-columns: 116px 1fr 1px 80px;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 10px;
    align-items: center;
    padding: 18px 14px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Radio + Image group - spans both rows */
  .checkout-left .package-col--left {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
  }

  .checkout-left .package-radio {
    width: 20px;
    height: 20px;
    border-width: 2px;
    flex-shrink: 0;
  }

  .checkout-left .package-product-image {
    width: 78px;
    height: 78px;
    object-fit: contain;
    flex-shrink: 0;
  }

  /* Hide first two dividers */
  .checkout-left .package-divider:nth-of-type(1),
  .checkout-left .package-divider:nth-of-type(2) {
    display: none;
  }

  /* Quantity + Name in row 1, column 2 */
  .checkout-left .package-col--title {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    min-width: 0;
  }

  .checkout-left .package-qty {
    font-size: 36px;
    line-height: 1;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
  }

  .checkout-left .package-product-name {
    margin-top: 2px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: #374151;
    white-space: nowrap;
  }

  /* Discount pill in row 2, column 2 (below name) */
  .checkout-left .package-col--discount {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .checkout-left .package-discount-pill {
    border: 2px solid #e5e7eb;
    background: #fff;
    border-radius: 6px;
    padding: 5px 8px;
    gap: 4px;
    display: inline-flex;
    align-items: center;
  }

  .checkout-left .package-discount-icon-img {
    width: 12px;
    height: 12px;
  }

  .checkout-left .package-discount-value {
    font-size: 12px;
    font-weight: 800;
    color: #111827;
  }

  .checkout-left .package-discount-value::after {
    content: " %";
  }

  /* Divider before price - spans both rows */
  .checkout-left .package-divider:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: block;
    width: 1px;
    height: 84px;
    background: #e5e7eb;
    justify-self: center;
    align-self: center;
  }

  /* Price section - spans both rows */
  .checkout-left .package-col--price {
    grid-column: 4;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    min-width: 0;
  }

  .checkout-left .package-price-old {
    font-size: 13px;
    font-weight: 700;
    color: #ef4444;
    text-decoration: line-through;
    margin: 0;
    text-align: right;
  }

  .checkout-left .package-price-row {
    margin-top: 8px;
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 6px;
    row-gap: 0px;
    align-items: end;
  }

  .checkout-left .package-price-hidden {
    display: none;
  }

  .checkout-left .package-price-major {
    font-size: 24px;
    line-height: 24px;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: end;
    font-family: Roboto, sans-serif;
    font-weight: 900;
    color: #111827;
  }

  .checkout-left .package-price-decimals {
    font-size: 12px;
    line-height: 12px;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    font-family: Roboto, sans-serif;
    font-weight: 900;
    color: #111827;
  }

  .checkout-left .package-price-unit {
    font-family: Roboto, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    align-self: flex-end;
    padding-bottom: 3px;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }

  /* HIDE total row to prevent duplicate price display */
  .checkout-left .package-total-row {
    display: none !important;
  }
  
  .checkout-left .package-total-label,
  .checkout-left .package-total-value {
    display: none !important;
  }

  .checkout-left .package-bestseller-label {
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-align: center;
  }
}

/* Keep certain grids 2-up even on mobile (screenshot shows side-by-side fields) */
.checkout-left .form-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .checkout-left .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Section headings */
.checkout-left .section-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--cc-text);
  margin: 0 0 16px 0;
}

.checkout-left .form-section {
  margin-bottom: 28px;
}

.checkout-left .form-label {
  /* Screenshot uses placeholder-only fields (no visible labels above inputs) */
  display: none;
}

/* But CC fields DO have labels above in the reference */
.checkout-left [data-next-payment-method="credit"] .form-label {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--cc-text);
  margin: 0 0 8px 0;
}

/* Inputs (customer/address) */
.checkout-left .form-input input,
.checkout-left .form-input select {
  min-height: 52px;
  padding: 14px 14px;
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  font-size: 16px;
  background: var(--cc-bg);
  color: var(--cc-text);
}

.checkout-left .form-input input::placeholder {
  color: #9ca3af;
}

.checkout-left .form-input input:focus,
.checkout-left .form-input select:focus {
  border-color: var(--cc-focus);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Hosted card fields (Spreedly) — align with input look */
.checkout-left .form-input .spreedly-field {
  min-height: 52px;
  padding: 14px 14px;
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  background: var(--cc-bg);
}

.checkout-left .cc-number-field {
  position: relative;
}

.checkout-left .cc-number-field .spreedly-field,
.checkout-left .cc-cvv-field .spreedly-field {
  position: relative;
  z-index: 1;
}

.checkout-left .cc-field-hint {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}

.checkout-left .cc-number-field.has-interacted .cc-field-hint,
.checkout-left .cc-number-field.is-focused .cc-field-hint,
.checkout-left .cc-cvv-field.has-interacted .cc-field-hint,
.checkout-left .cc-cvv-field.is-focused .cc-field-hint {
  display: none;
}

/* Leave room for card brand icons on the right */
.checkout-left .cc-number-field .spreedly-field {
  padding-right: 120px;
}

.checkout-left .cc-brand-icons {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
}

.checkout-left .cc-brand-icons img {
  height: 18px;
  width: auto;
  display: block;
}

/* Expiration date should look like a single input with "MM / YY" placeholder */
.checkout-left .cc-exp-field {
  position: relative;
}

.checkout-left .cc-exp-input {
  width: 100%;
  min-height: 52px;
  padding: 14px 14px;
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  font-size: 16px;
  background: var(--cc-bg);
  color: var(--cc-text);
}

.checkout-left .cc-exp-input::placeholder {
  color: #9ca3af;
}

.checkout-left .cc-exp-input:focus {
  outline: none;
  border-color: var(--cc-focus);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Keep SDK selects in the DOM but visually hidden */
.checkout-left .cc-exp-month,
.checkout-left .cc-exp-year {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Security code field icon (right side) */
.checkout-left .cc-cvv-field {
  position: relative;
}

.checkout-left .cc-cvv-field .spreedly-field {
  padding-right: 64px;
}

.checkout-left .cc-cvv-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 42px;
  height: 32px;
  color: #9ca3af;
  pointer-events: none;
}

.checkout-left .cc-cvv-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.checkout-left .form-input:focus-within .spreedly-field {
  border-color: var(--cc-focus);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Express checkout container (bordered box with centered legend) */
.checkout-left .express-checkout {
  margin: 16px 0 22px;
  padding: 22px 16px 0;
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  background: var(--cc-bg);
  position: relative;
}

.checkout-left .express-checkout-title {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 10px;
  background: var(--cc-bg);
  color: var(--cc-muted);
  line-height: 20px;
  white-space: nowrap;
}

.checkout-left .express-buttons {
  gap: 12px;
}

.checkout-left .express-btn {
  min-height: 52px;
  border-radius: 10px;
  background: #ffc439; /* PayPal-like */
  color: #111;
  font-size: 16px;
  font-weight: 700;
}

.checkout-left .express-btn:hover {
  background: #f5b92f;
}

/* Divider text below express buttons */
.checkout-left .divider {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--cc-muted);
}

/* Disable the horizontal rule pseudo-lines from the old divider style */
.checkout-left .divider::after,
.checkout-left .divider::before {
  content: none;
}

/* Combined expiry input look */
.checkout-left .expiry-combined {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--cc-border);
  border-radius: 10px;
  background: var(--cc-bg);
}

.checkout-left .expiry-combined select {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 44px;
  font-size: 16px;
  color: var(--cc-text);
  width: 100%;
  appearance: none;
}

.checkout-left .expiry-slash {
  color: #9ca3af;
  font-weight: 700;
}

.checkout-left .form-input:focus-within .expiry-combined {
  border-color: var(--cc-focus);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Payment methods: keep only the credit-card form visuals (express buttons handle PayPal/Apple/Google) */
.checkout-left .payment-methods {
  margin-top: 0;
}

.checkout-left .payment-method[data-next-payment-method="paypal"],
.checkout-left .payment-method[data-next-payment-method="klarna"] {
  display: none;
}

.checkout-left .payment-method {
  border: none;
  padding: 0;
  margin: 0;
}

.checkout-left .payment-method-header {
  display: none;
}

.checkout-left .credit-form {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Hide extra sections not present in the reference screenshot */
.checkout-left .checkbox-wrapper {
  display: none;
}

.checkout-left .billing-address {
  display: none;
}

/* Package selector should be visible above Payment Methods */

/* Button (purple, full width) */
.checkout-left .submit-button {
  min-height: 58px;
  border-radius: 12px;
  background: var(--cc-primary);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-top: 10px;
}

.checkout-left .submit-button:hover {
  background: var(--cc-primary-hover);
}


