/**
 * Single-page product checkout — Renewal DS2
 * WooCommerce: enqueue on checkout / use as base for woocommerce/checkout/form-checkout.php overrides.
 * Key hooks: .woocommerce-checkout, #customer_details, #order_review, #payment, #place_order
 */

/* ── Ivy Mode — @font-face aliases ─────────────────────────────────────────
   Elementor Pro registers the same files under the name 'IvyMode' (no space).
   The DS2 CSS references "Ivy Mode" (with space), which browsers treat as a
   different font family. These declarations make the name work. */
@font-face {
  font-family: 'Ivy Mode';
  font-style: normal;
  font-weight: 100 350;
  font-display: swap;
  src: url('/wp-content/uploads/2026/03/fonnts.com-IvyMode_Light.woff') format('woff');
}

@font-face {
  font-family: 'Ivy Mode';
  font-style: normal;
  font-weight: 351 900;
  font-display: swap;
  src: url('/wp-content/uploads/2026/03/fonnts.com-IvyMode_Regular.woff') format('woff');
}

@font-face {
  font-family: 'Ivy Mode';
  font-style: italic;
  font-weight: 100 350;
  font-display: swap;
  src: url('/wp-content/uploads/2026/03/fonnts.com-IvyMode_Light_Italic.woff') format('woff');
}

@font-face {
  font-family: 'Ivy Mode';
  font-style: italic;
  font-weight: 351 900;
  font-display: swap;
  src: url('/wp-content/uploads/2026/03/fonnts.com-IvyMode_Italic.woff') format('woff');
}

:root {
  --renewal-blue: #0073ff;
  --renewal-green-accent: #69dc82;
  --renewal-layout-max: 1300px;
  --renewal-mobile-gutter: clamp(1rem, 4.5vw, 1.25rem);
}

html,
body.renewal-checkout-page {
  overflow-x: clip;
  max-width: 100%;
}

.renewal-checkout-page .page-content {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  margin-inline: 0;
  background: #f6f9fd;
}

.renewal-checkout {
  position: relative;
  width: 100%;
  padding: calc(var(--site-header-stack, 81.12px) + 2rem) 0 clamp(2.5rem, 5vw, 4rem);
  box-sizing: border-box;
}

.renewal-checkout__inner {
  width: min(100%, var(--renewal-layout-max));
  margin: 0 auto;
  padding-inline: 0;
  box-sizing: border-box;
}

.renewal-checkout__top {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.renewal-checkout__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  font-family: Area, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .renewal-checkout__steps {
    margin: 0 0 3.15rem;
  }
}

.renewal-checkout__step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #64748b;
}

.renewal-checkout__step a {
  color: inherit;
  text-decoration: none;
}

.renewal-checkout__step a:hover {
  color: #2563eb;
}

.renewal-checkout__step--current {
  color: #0f172a;
}

.renewal-checkout__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 1px solid rgb(148 163 184 / 0.45);
  font-size: 0.72rem;
  font-weight: 600;
}

.renewal-checkout__step--current .renewal-checkout__step-num {
  border-color: #0073ff;
  background: #0073ff;
  color: #fff;
}

.renewal-checkout__step-sep {
  color: rgb(148 163 184 / 0.8);
}

.renewal-checkout__title {
  margin: 0;
  font-family: "Ivy Mode", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 300 !important;
  line-height: 1.05;
  color: #0f172a;
  text-transform: none !important;
  text-wrap: balance;
}

.renewal-checkout__lead {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  font-family: Area, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
}

.renewal-checkout__shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 2.8vw, 2rem);
  align-items: start;
}

.renewal-checkout__product-col {
  position: sticky;
  top: calc(2.6rem + 2rem);
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.85rem);
  align-content: start;
}

.renewal-checkout__product-card {
  display: grid;
  gap: 0.85rem;
}

.renewal-checkout__product-head {
  display: grid;
  grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: start;
}

.renewal-checkout__product-head--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.renewal-checkout__product-summary {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-width: 0;
}

.renewal-checkout__product-media {
  margin: 0;
  overflow: hidden;
  border-radius: 0.85rem;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 11.5rem;
  max-height: 8.65rem;
  background: linear-gradient(145deg, #e8f1fb 0%, #f8fafc 100%);
}

.renewal-checkout__product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.renewal-checkout__product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.renewal-checkout__product-badges li {
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgb(147 197 253 / 0.45);
  background: rgb(239 246 255 / 0.85);
  font-family: Area, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #2563eb;
}

.renewal-checkout__product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  margin: 0.15rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgb(148 163 184 / 0.22);
}

.renewal-checkout__product-summary .renewal-checkout__product-price {
  margin: 0;
  padding-top: 0;
  border-top: 0;
}

.renewal-checkout__product-summary .renewal-checkout__product-name {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
}

.renewal-checkout__product-summary .renewal-checkout__product-price-value {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
}

.renewal-checkout__product-price-label {
  font-family: Area, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.renewal-checkout__product-price-value {
  font-family: "Ivy Mode", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1;
  color: #0f172a;
}

.renewal-checkout__product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  font-family: Area, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0073ff;
  text-decoration: none;
}

.renewal-checkout__product-link:hover {
  color: #0059c9;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.renewal-checkout__form-col {
  display: grid;
  gap: clamp(1.35rem, 2.5vw, 1.85rem);
  align-content: start;
}

.renewal-checkout__form-col > .renewal-checkout__panel {
  display: grid;
  gap: 0;
}

.renewal-checkout__payment-panel .renewal-checkout__payment {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  border-top: 0;
}

.renewal-checkout__payment-panel .renewal-checkout__panel-title {
  margin: 0;
}

.renewal-checkout__summary {
  position: static;
  display: grid;
  gap: 0;
}

.renewal-checkout__summary > .renewal-checkout__panel-title {
  margin-bottom: 1rem;
}

.renewal-checkout__summary .renewal-checkout__totals {
  margin-bottom: 0.25rem;
}

.renewal-checkout__payment-gateways {
  margin-top: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.renewal-checkout__summary .renewal-checkout__submit {
  margin-top: 1.35rem;
}

.renewal-checkout__panel {
  padding: clamp(1.25rem, 2.4vw, 1.65rem);
  border-radius: 1.05rem;
  border: 1px solid rgb(147 197 253 / 0.38);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.95),
    0 18px 34px -26px rgb(30 64 175 / 0.22);
}

.renewal-checkout__panel-title,
.renewal-checkout #order_review > .renewal-checkout__panel-title,
.renewal-checkout__payment > .renewal-checkout__panel-title {
  font-family: Area, Arial, sans-serif !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

.renewal-checkout__panel-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #0f172a;
}

.renewal-checkout .woocommerce-billing-fields {
  display: grid;
  gap: 0;
}

.renewal-checkout__section {
  display: grid;
  gap: 0;
}

.renewal-checkout__section + .renewal-checkout__section {
  margin-top: 0;
  padding-top: 1.85rem;
}

.renewal-checkout__section .renewal-checkout__panel-title {
  margin: 0 0 0.9rem;
}

.renewal-checkout__form,
.renewal-checkout form.checkout {
  display: block;
  margin: 0;
}

.renewal-checkout__fields {
  display: grid;
  gap: clamp(0.65rem, 1.15vw, 0.85rem);
}

.renewal-checkout__field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 1vw, 0.65rem);
  align-items: start;
}

.renewal-checkout__phone-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 7.5rem) minmax(0, 1fr);
  gap: 0.5rem;
}

.renewal-checkout__field {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.renewal-checkout__field label,
.renewal-checkout .woocommerce-billing-fields label {
  display: block;
  margin: 0;
  padding: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: #334155;
}

.renewal-checkout__req {
  color: #0073ff;
}

.renewal-checkout__optional {
  font-weight: 500;
  color: #64748b;
}

.renewal-checkout__vat-note {
  font-family: Area, Arial, sans-serif;
  font-size: 0.88rem;
  color: #475569;
}

.renewal-checkout__legal {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgb(15 23 42 / 0.08);
}

.renewal-checkout__checkbox {
  margin: 0;
  padding: 0;
}

.renewal-checkout__checkbox-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  margin: 0;
  padding: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #334155;
  cursor: pointer;
}

.renewal-checkout__checkbox-control {
  position: relative;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12em;
}

.renewal-checkout__checkbox-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.renewal-checkout__checkbox-box {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  box-sizing: border-box;
  border: 1px solid rgb(148 163 184 / 0.45);
  border-radius: 0.25rem;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.62rem 0.62rem;
  pointer-events: none;
}

.renewal-checkout__checkbox-input:checked + .renewal-checkout__checkbox-box {
  border-color: #0073ff;
  background-color: #0073ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2 5 8.7 9.5 3.8' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.renewal-checkout__checkbox-input:focus-visible + .renewal-checkout__checkbox-box {
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.18);
}

.renewal-checkout__checkbox-copy {
  display: block;
  min-width: 0;
}

.renewal-checkout__checkbox-label a {
  color: #0073ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.renewal-checkout__checkbox-label a:hover {
  color: #0059c9;
}

.renewal-checkout__legal .renewal-checkout__req {
  display: inline;
  margin: 0;
  padding: 0;
  color: #0073ff;
  font-weight: 600;
  white-space: normal;
}

body.renewal-checkout-page .renewal-checkout__legal,
body.renewal-checkout-page .renewal-checkout #order_review .renewal-checkout__legal,
body.renewal-agreement-page .renewal-checkout__legal {
  display: grid !important;
  gap: 0.85rem !important;
  margin-top: 1.35rem !important;
  padding-top: 1.35rem !important;
  border-top: 1px solid rgb(15 23 42 / 0.08) !important;
}

body.renewal-checkout-page .renewal-checkout__legal .renewal-checkout__checkbox,
body.renewal-agreement-page .renewal-checkout__legal .renewal-checkout__checkbox {
  margin: 0 !important;
  padding: 0 !important;
}

body.renewal-checkout-page .renewal-checkout__legal .renewal-checkout__checkbox-label,
body.renewal-checkout-page .renewal-checkout #order_review .renewal-checkout__legal label,
body.renewal-agreement-page .renewal-checkout__legal .renewal-checkout__checkbox-label {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 0.6rem !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Area, Arial, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: #334155 !important;
  cursor: pointer !important;
}

body.renewal-checkout-page .renewal-checkout__legal .renewal-checkout__checkbox-input,
body.renewal-agreement-page .renewal-checkout__legal .renewal-checkout__checkbox-input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
}

body.renewal-checkout-page .renewal-checkout__legal .renewal-checkout__checkbox-box,
body.renewal-agreement-page .renewal-checkout__legal .renewal-checkout__checkbox-box {
  display: block !important;
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-height: 0 !important;
  border: 1px solid rgb(148 163 184 / 0.45) !important;
  border-radius: 0.25rem !important;
  background-color: #fff !important;
}

body.renewal-checkout-page .renewal-checkout__legal .renewal-checkout__checkbox-input:checked + .renewal-checkout__checkbox-box,
body.renewal-agreement-page .renewal-checkout__legal .renewal-checkout__checkbox-input:checked + .renewal-checkout__checkbox-box {
  border-color: #0073ff !important;
  background-color: #0073ff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2 5 8.7 9.5 3.8' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 0.62rem 0.62rem !important;
}

body.renewal-checkout-page .renewal-checkout__legal .renewal-checkout__checkbox-copy,
body.renewal-agreement-page .renewal-checkout__legal .renewal-checkout__checkbox-copy {
  display: block !important;
  min-width: 0 !important;
}

body.renewal-checkout-page .renewal-checkout__legal .renewal-checkout__checkbox-label a,
body.renewal-agreement-page .renewal-checkout__legal .renewal-checkout__checkbox-label a {
  color: #0073ff !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em !important;
}

body.renewal-checkout-page .renewal-checkout__legal .renewal-checkout__req,
body.renewal-agreement-page .renewal-checkout__legal .renewal-checkout__req {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #0073ff !important;
  font-weight: 600 !important;
  white-space: normal !important;
}

.renewal-checkout__input,
body.renewal-checkout-page .renewal-checkout input.renewal-checkout__input,
body.renewal-checkout-page .renewal-checkout select.renewal-checkout__input,
body.renewal-checkout-page .renewal-checkout textarea.renewal-checkout__input,
body.renewal-checkout-page .renewal-checkout .woocommerce-checkout input.input-text,
body.renewal-checkout-page .renewal-checkout .woocommerce-checkout select,
body.renewal-checkout-page .renewal-checkout .woocommerce-checkout textarea,
body.renewal-checkout-page .renewal-checkout #billing_country,
body.renewal-checkout-page .renewal-checkout #billing_phone_country,
body.renewal-checkout-page .renewal-checkout #order_comments {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 2.85rem !important;
  margin: 0 !important;
  padding: 0.55rem 1rem !important;
  border: 1px solid rgb(148 163 184 / 0.35) !important;
  border-radius: 999px !important;
  background-color: #f8fafc !important;
  color: #1e293b !important;
  font-family: Area, Arial, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.renewal-checkout-page .renewal-checkout textarea.renewal-checkout__input,
body.renewal-checkout-page .renewal-checkout .woocommerce-checkout textarea,
body.renewal-checkout-page .renewal-checkout #order_comments {
  min-height: 5.5rem !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  border-radius: 1rem !important;
  resize: vertical;
}

.renewal-checkout__input:focus,
body.renewal-checkout-page .renewal-checkout input.renewal-checkout__input:focus,
body.renewal-checkout-page .renewal-checkout select.renewal-checkout__input:focus,
body.renewal-checkout-page .renewal-checkout textarea.renewal-checkout__input:focus,
body.renewal-checkout-page .renewal-checkout .woocommerce-checkout input.input-text:focus,
body.renewal-checkout-page .renewal-checkout .woocommerce-checkout select:focus,
body.renewal-checkout-page .renewal-checkout .woocommerce-checkout textarea:focus,
body.renewal-checkout-page .renewal-checkout #billing_country:focus,
body.renewal-checkout-page .renewal-checkout #billing_phone_country:focus,
body.renewal-checkout-page .renewal-checkout #order_comments:focus {
  outline: none !important;
  border-color: rgb(59 130 246 / 0.75) !important;
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.18) !important;
}

body.renewal-checkout-page .renewal-checkout select.renewal-checkout__input,
body.renewal-checkout-page .renewal-checkout .woocommerce-checkout select,
body.renewal-checkout-page .renewal-checkout #billing_country,
body.renewal-checkout-page .renewal-checkout #billing_phone_country {
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 2rem !important;
  background-color: #f8fafc !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #22363b 50%),
    linear-gradient(135deg, #22363b 50%, transparent 50%) !important;
  background-position:
    calc(100% - 1.1rem) calc(50% + 0.15rem),
    calc(100% - 0.72rem) calc(50% + 0.15rem) !important;
  background-size: 0.38rem 0.38rem, 0.38rem 0.38rem !important;
  background-repeat: no-repeat !important;
}

.renewal-checkout__phone-row select.renewal-checkout__input,
body.renewal-checkout-page .renewal-checkout #billing_phone_country {
  padding-right: 1.75rem !important;
  background-position:
    calc(100% - 0.95rem) calc(50% + 0.15rem),
    calc(100% - 0.57rem) calc(50% + 0.15rem) !important;
}

.renewal-checkout__payment-note {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #64748b;
}

.renewal-checkout__payment-placeholder {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  border: 1px dashed rgb(148 163 184 / 0.45);
  background: rgb(248 250 252 / 0.9);
}

.renewal-checkout__payment-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.95rem;
  color: #334155;
}

.renewal-checkout__payment-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #475569;
}

.renewal-checkout__submit,
.renewal-checkout #place_order,
a.renewal-checkout__submit.renewal-checkout__proceed {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.05rem;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #69dc82;
  color: #fff;
  font-family: Area, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: 0 12px 28px -16px rgb(2 6 23 / 0.45);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.renewal-checkout__submit:hover,
.renewal-checkout #place_order:hover,
a.renewal-checkout__submit.renewal-checkout__proceed:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.renewal-checkout__fineprint {
  margin: 4.65rem 0 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}

.renewal-checkout__product-name {
  margin: 0;
  font-family: "Ivy Mode", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 500 !important;
  line-height: 1.15;
  color: #0f172a;
  text-transform: none !important;
}

.renewal-checkout__product-meta {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #64748b;
}

.renewal-checkout__includes {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.renewal-checkout__includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #334155;
}

.renewal-checkout__includes li::before {
  content: "";
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.14em;
  border-radius: 999px;
  background-color: #69dc82;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2 5 8.7 9.5 3.8' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.62rem 0.62rem;
}

.renewal-checkout__includes li::after {
  content: none;
  display: none;
}

body.renewal-checkout-page .renewal-checkout__includes {
  list-style: none !important;
}

body.renewal-checkout-page .renewal-checkout__includes li {
  list-style: none !important;
}

body.renewal-checkout-page .renewal-checkout__includes li::before {
  content: "" !important;
  display: block !important;
}

.renewal-checkout__totals,
.renewal-checkout .shop_table.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.renewal-checkout__totals th,
.renewal-checkout__totals td,
.renewal-checkout .shop_table th,
.renewal-checkout .shop_table td {
  padding: 0.72rem 0 !important;
  font-family: Area, Arial, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #334155 !important;
  text-align: left !important;
  border: 0 !important;
  border-bottom: 1px solid rgb(148 163 184 / 0.16) !important;
  vertical-align: middle !important;
  background: transparent !important;
}

.renewal-checkout__totals tr:last-child th,
.renewal-checkout__totals tr:last-child td,
.renewal-checkout .shop_table .order-total th,
.renewal-checkout .shop_table .order-total td {
  border-bottom: 0 !important;
  padding-top: 0.85rem !important;
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
}

/* Reset WooCommerce's <strong> wrapper inside the total price */
.renewal-checkout .shop_table .order-total td strong {
  font-weight: 600 !important;
  font-family: "Ivy Mode", Georgia, serif !important;
  font-size: inherit !important;
  color: inherit !important;
}

.renewal-checkout__totals td:last-child,
.renewal-checkout .shop_table td:last-child {
  text-align: right !important;
  white-space: nowrap !important;
}

/* Price amounts and currency symbol — Ivy Mode */
.renewal-checkout .woocommerce-Price-amount,
.renewal-checkout .woocommerce-Price-amount bdi,
.renewal-checkout .woocommerce-Price-currencySymbol {
  font-family: "Ivy Mode", Georgia, serif !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.renewal-checkout__secure {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: rgb(239 246 255 / 0.85);
  border: 1px solid rgb(147 197 253 / 0.35);
}

.renewal-checkout__secure-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  color: #2563eb;
}

.renewal-checkout__secure p {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
}

/* Cart card */
.renewal-cart {
  display: grid;
  gap: 1rem;
}

.renewal-cart__items {
  display: grid;
  gap: 0.85rem;
}

.renewal-cart__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "thumb info line"
    "thumb qty remove";
  align-items: center;
  gap: 0.55rem 0.85rem;
}

.renewal-cart__row[hidden] {
  display: none;
}

.renewal-cart__thumb {
  grid-area: thumb;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 0.65rem;
  object-fit: cover;
  background: linear-gradient(145deg, #e8f1fb 0%, #f8fafc 100%);
}

.renewal-cart__info {
  grid-area: info;
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.renewal-cart__name {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: #0f172a;
}

.renewal-cart__unit {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.8rem;
  color: #64748b;
}

.renewal-cart__qty {
  grid-area: qty;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgb(148 163 184 / 0.4);
  border-radius: 999px;
  background: #f8fafc;
  overflow: hidden;
}

.renewal-cart__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.renewal-cart__qty-btn:hover {
  background: rgb(0 115 255 / 0.1);
  color: #0073ff;
}

.renewal-cart__qty-input {
  width: 2.5rem;
  min-height: auto !important;
  padding: 0.3rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: center;
  font-family: Area, Arial, sans-serif;
  font-size: 0.92rem;
  -moz-appearance: textfield;
}

.renewal-cart__qty-input:focus {
  outline: none;
  box-shadow: none !important;
}

.renewal-cart__qty-input::-webkit-outer-spin-button,
.renewal-cart__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.renewal-cart__line {
  grid-area: line;
  justify-self: end;
  font-family: Area, Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.renewal-cart__remove {
  grid-area: remove;
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: Area, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease;
}

.renewal-cart__remove:hover {
  color: #dc2626;
}

.renewal-cart__empty {
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.renewal-cart__empty[hidden] {
  display: none;
}

.renewal-cart__empty p {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.92rem;
  color: #64748b;
}

.renewal-cart__subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgb(148 163 184 / 0.22);
}

.renewal-cart__subtotal-label {
  font-family: Area, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.renewal-cart__subtotal-value {
  font-family: Area, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.renewal-checkout__submit[disabled],
.renewal-checkout #place_order[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

@media (max-width: 767px) {
  .renewal-checkout {
    padding-top: calc(5.5rem + 2.5rem);
  }

  .renewal-checkout__inner {
    padding-inline: max(env(safe-area-inset-left, 0px), var(--renewal-mobile-gutter))
      max(env(safe-area-inset-right, 0px), var(--renewal-mobile-gutter));
  }

  .renewal-checkout__shell {
    grid-template-columns: 1fr;
  }

  .renewal-checkout__product-col {
    position: static;
    order: -1;
  }

  .renewal-checkout__field-row,
  .renewal-checkout__phone-row {
    grid-template-columns: 1fr;
  }

  .renewal-checkout__fineprint {
    margin: 1.65rem 0 0;
    font-family: Area, Arial, sans-serif;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
    text-align: center;
  }
}
/**
 * Certification agreement / e-signature step — Renewal DS2
 */

.renewal-agreement-page .page-content {
  background: #f6f9fd;
}

.renewal-agreement__layout {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
}

.renewal-agreement__document {
  max-height: min(28rem, 52vh);
  overflow: auto;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: 0.85rem;
  border: 1px solid rgb(148 163 184 / 0.28);
  background: rgb(248 250 252 / 0.75);
  font-family: Area, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #334155;
}

.renewal-agreement__document h3 {
  margin: 1.15rem 0 0.45rem;
  font-family: Area, Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
}

.renewal-agreement__document h3:first-child {
  margin-top: 0;
}

.renewal-agreement__document p,
.renewal-agreement__document li {
  margin: 0 0 0.65rem;
}

.renewal-agreement__document ol,
.renewal-agreement__document ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

.renewal-agreement__party-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.88rem;
}

.renewal-agreement__party-table th,
.renewal-agreement__party-table td {
  padding: 0.45rem 0.55rem;
  border: 1px solid rgb(148 163 184 / 0.28);
  text-align: left;
  vertical-align: top;
}

.renewal-agreement__party-table th {
  width: 34%;
  background: rgb(241 245 249 / 0.9);
  font-weight: 600;
  color: #475569;
}

.renewal-agreement__signature-block {
  display: grid;
  gap: 0.85rem;
}

.renewal-agreement__signature-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.renewal-agreement__signature-label {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.renewal-agreement__signature-clear {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgb(241 245 249 / 0.95);
  color: #475569;
  font-family: Area, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.renewal-agreement__signature-clear:hover {
  background: #e2e8f0;
}

.renewal-agreement__signature-pad {
  position: relative;
  border-radius: 0.85rem;
  border: 1px dashed rgb(148 163 184 / 0.55);
  background: #fff;
  touch-action: none;
}

.renewal-agreement__signature-canvas {
  display: block;
  width: 100%;
  height: 10.5rem;
  cursor: crosshair;
}

.renewal-agreement__signature-hint {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.8rem;
  color: #64748b;
}

.renewal-agreement__typed {
  display: grid;
  gap: 0.35rem;
}

.renewal-agreement__typed label {
  font-family: Area, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.renewal-agreement__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.05rem;
  margin-top: 1.35rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #69dc82;
  color: #fff;
  font-family: Area, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: 0 12px 28px -16px rgb(2 6 23 / 0.45);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.renewal-agreement__submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.renewal-agreement__fineprint {
  margin: 0.65rem 0 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}
/**
 * Product flow thank-you / order confirmation — Renewal DS2
 */

.renewal-thank-you-page .page-content {
  background: #f6f9fd;
}

body.renewal-thank-you-page .woocommerce-order {
  margin: 0;
  padding: 0;
  border: 0;
}

body.renewal-thank-you-page .woocommerce-order > p {
  display: none !important;
}

body.renewal-thank-you-page .woocommerce-order-details,
body.renewal-thank-you-page .woocommerce-customer-details {
  display: none !important;
}

.renewal-thank-you__hero {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.renewal-thank-you__success {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: 1.05rem;
  border: 1px solid rgb(134 239 172 / 0.45);
  background: linear-gradient(180deg, rgb(240 253 244 / 0.95) 0%, #fff 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.95),
    0 18px 34px -26px rgb(22 101 52 / 0.16);
  text-align: center;
}

.renewal-thank-you__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto;
  border-radius: 999px;
  background: #69dc82;
  color: #fff;
  box-shadow: 0 12px 28px -16px rgb(22 101 52 / 0.45);
}

.renewal-thank-you__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.renewal-thank-you__title {
  margin: 0;
  font-family: "Ivy Mode", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  font-weight: 300 !important;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-transform: none !important;
  text-wrap: balance;
}

.renewal-thank-you__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-family: Area, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
}

.renewal-thank-you__lead strong {
  font-weight: 600;
  color: #0f172a;
}

.renewal-thank-you__order-id {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #64748b;
}

.renewal-thank-you__order-id span {
  color: #0f172a;
}

.renewal-thank-you__bank {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  border-color: rgb(59 130 246 / 0.28);
  background: linear-gradient(180deg, rgb(239 246 255 / 0.95) 0%, #fff 100%);
}

.renewal-thank-you__bank,
.renewal-thank-you__bank *:not(iframe) {
  font-family: Area, Arial, sans-serif !important;
}

.renewal-checkout .renewal-thank-you__bank .woocommerce-Price-amount,
.renewal-checkout .renewal-thank-you__bank .woocommerce-Price-amount bdi,
.renewal-checkout .renewal-thank-you__bank .woocommerce-Price-currencySymbol,
.renewal-thank-you__bank .woocommerce-Price-amount,
.renewal-thank-you__bank .woocommerce-Price-amount bdi,
.renewal-thank-you__bank .woocommerce-Price-currencySymbol {
  font-family: Area, Arial, sans-serif !important;
}

.renewal-thank-you__bank-lead {
  margin: 0 0 1rem;
  font-family: Area, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
}

.renewal-thank-you__bank-lead--tight {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}

.renewal-thank-you__bank-note {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgb(251 191 36 / 0.45);
  background: rgb(255 251 235 / 0.95);
  font-family: Area, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #92400e;
}

.renewal-thank-you__bank-subtitle {
  margin: 1.15rem 0 0.5rem;
  font-family: Area, Arial, sans-serif !important;
  font-size: 1rem;
  font-weight: 700 !important;
  line-height: 1.3;
  color: #0f172a;
  text-transform: none !important;
}

.renewal-thank-you__bank-details .renewal-thank-you__detail-value--emphasis {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1d4ed8;
}

.renewal-thank-you__bank-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
}

.renewal-thank-you__bank-copy [data-rwl-copy-text] {
  cursor: pointer;
}

.renewal-thank-you__bank-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgb(148 163 184 / 0.35);
  border-radius: 0.55rem;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.renewal-thank-you__bank-copy-btn:hover,
.renewal-thank-you__bank-copy-btn:focus-visible {
  border-color: rgb(37 99 235 / 0.45);
  color: #2563eb;
  outline: none;
}

.renewal-thank-you__bank-copy-btn.is-copied {
  border-color: rgb(34 197 94 / 0.45);
  background: rgb(240 253 244 / 0.95);
  color: #15803d;
}

.renewal-thank-you__bank-copy-icon,
.renewal-thank-you__bank-copy-check {
  display: block;
}

.renewal-thank-you__bank-copy-check {
  display: none;
}

.renewal-thank-you__bank-copy-btn.is-copied .renewal-thank-you__bank-copy-icon {
  display: none;
}

.renewal-thank-you__bank-copy-btn.is-copied .renewal-thank-you__bank-copy-check {
  display: block;
}

.renewal-thank-you__bank-link {
  margin: 1rem 0 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.9rem;
}

.renewal-thank-you__bank-link a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.renewal-stripe-pe__bank-note {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgb(59 130 246 / 0.28);
  border-radius: 0.65rem;
  background: rgb(239 246 255 / 0.85);
  font-family: Area, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #1e3a8a;
}

.renewal-thank-you__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(1.25rem, 2.8vw, 2rem);
  align-items: start;
}

.renewal-thank-you__panel-title {
  margin: 0 0 1rem;
  font-family: Area, Arial, sans-serif !important;
  font-size: 1.05rem;
  font-weight: 700 !important;
  line-height: 1.3;
  color: #0f172a;
  text-transform: none !important;
}

.renewal-thank-you__details {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.renewal-thank-you__details li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgb(148 163 184 / 0.16);
}

.renewal-thank-you__details li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.renewal-thank-you__detail-label {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.renewal-thank-you__detail-value {
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #0f172a;
  word-break: break-word;
}

.renewal-thank-you__detail-value--multiline {
  white-space: pre-line;
}

.renewal-thank-you__steps-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.renewal-thank-you__steps-list li {
  position: relative;
  margin: 0;
  padding-left: 1.7rem;
  font-family: Area, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155;
}

.renewal-thank-you__steps-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: #69dc82;
}

.renewal-thank-you__steps-list li::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.5em;
  width: 0.36rem;
  height: 0.2rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.renewal-thank-you__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.renewal-thank-you__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 3rem;
  margin: 0;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-family: Area, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.renewal-thank-you__btn--primary {
  background: #69dc82;
  color: #fff;
  box-shadow: 0 12px 28px -16px rgb(2 6 23 / 0.45);
}

.renewal-thank-you__btn--primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  color: #fff;
}

.renewal-thank-you__btn--secondary {
  border: 1px solid rgb(148 163 184 / 0.35);
  background: #fff;
  color: #334155;
}

.renewal-thank-you__btn--secondary:hover {
  border-color: rgb(59 130 246 / 0.45);
  color: #2563eb;
}

.renewal-checkout__step--done {
  color: #0f172a;
}

.renewal-checkout__step--done .renewal-checkout__step-num {
  border-color: #69dc82;
  background: #69dc82;
  color: #fff;
}

@media (max-width: 767px) {
  .renewal-thank-you__layout {
    grid-template-columns: 1fr;
  }

  .renewal-thank-you__actions {
    flex-direction: column;
  }

  .renewal-thank-you__btn {
    width: 100%;
  }
}

/* ================================================================
   Generic product-page (DS2) — WooCommerce pixel-perfect layer
   ================================================================ */

/* -- Page background -------------------------------------------------- */
body.renewal-checkout-page {
  background: #f6f9fd;
}

/*
 * Checkout pages have a light background (no dark hero). Use the colorful logo
 * (not the white sticky/glass logo) and dark menu controls at rest.
 * When .is-scrolled, site-nav-sticky restores the glass bar + white logo via JS.
 */
body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .nav-dropdown__trigger,
body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .nav-link-plain,
body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .site-header__lang {
  color: #374151 !important;
}

body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .nav-dropdown__trigger:hover,
body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .nav-dropdown__trigger:focus-visible,
body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .nav-link-plain:hover,
body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .nav-link-plain:focus-visible,
body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .site-header__lang:hover {
  color: var(--renewal-blue-mid, #2b64f5) !important;
}

body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .site-header__social a {
  color: #374151 !important;
}

body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .site-header__social a:hover {
  color: var(--renewal-blue-mid, #2b64f5) !important;
}

@media (max-width: 899px) {
  body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .site-header__menu-btn {
    border-color: rgb(15 23 42 / 0.14);
    background: rgb(255 255 255 / 0.92);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 1);
    color: #0f172a;
  }

  body.renewal-checkout-page .site-header-sticky:not(.is-scrolled) .site-header__menu-btn:hover {
    border-color: rgb(15 23 42 / 0.2);
    background: #fff;
  }
}

/*
 * Sticky site header uses --site-header-stack (site-nav-sticky.css).
 * Keep enough top padding so the step breadcrumb clears the logo/nav,
 * plus visible breathing room between navbar and steps.
 */
body.renewal-checkout-page .renewal-checkout {
  padding-top: calc(var(--site-header-stack, 81.12px) + clamp(2.25rem, 3.5vw, 3rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 767px) {
  body.renewal-checkout-page .renewal-checkout {
    padding-top: calc(5.5rem + 2.75rem);
  }
}

body.renewal-checkout-page .renewal-checkout__steps {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  gap: 0.35rem 0.55rem;
  letter-spacing: 0.04em;
}

body.renewal-checkout-page .renewal-checkout__top {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* -- Empty WC notices wrappers ---------------------------------------- */
.renewal-checkout__form-col > .woocommerce-notices-wrapper:empty,
.renewal-checkout form .woocommerce-notices-wrapper:empty {
  display: none !important;
}

.renewal-checkout__form-col > .woocommerce-notices-wrapper:not(:empty),
.renewal-checkout form .woocommerce-notices-wrapper:not(:empty) {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
}

/* -- WC validation notices → Renewal error panel ------------------------ */
body.renewal-checkout-page .renewal-checkout .woocommerce-error,
body.renewal-checkout-page .renewal-checkout .woocommerce-info,
body.renewal-checkout-page .renewal-checkout .woocommerce-message {
  margin: 0 !important;
  padding: clamp(1.05rem, 2vw, 1.35rem) clamp(1.15rem, 2.2vw, 1.45rem) !important;
  border: 1px solid rgb(147 197 253 / 0.38) !important;
  border-radius: 1.05rem !important;
  background: #fff !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.95),
    0 18px 34px -26px rgb(30 64 175 / 0.22) !important;
  list-style: none outside !important;
  position: relative !important;
  width: auto !important;
  font-family: Area, Arial, sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: #334155 !important;
  text-align: left !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-error::before,
body.renewal-checkout-page .renewal-checkout .woocommerce-info::before,
body.renewal-checkout-page .renewal-checkout .woocommerce-message::before {
  display: none !important;
  content: none !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-error {
  border-color: rgb(248 113 113 / 0.5) !important;
  background: rgb(254 242 242 / 0.95) !important;
  box-shadow: none !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-info {
  border-color: rgb(147 197 253 / 0.45) !important;
  background: rgb(239 246 255 / 0.95) !important;
  box-shadow: none !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-message {
  border-color: rgb(105 220 130 / 0.45) !important;
  background: rgb(240 253 244 / 0.95) !important;
  box-shadow: none !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-error li,
body.renewal-checkout-page .renewal-checkout .woocommerce-info li,
body.renewal-checkout-page .renewal-checkout .woocommerce-message li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none outside !important;
  font-family: Area, Arial, sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-error li + li,
body.renewal-checkout-page .renewal-checkout .woocommerce-info li + li,
body.renewal-checkout-page .renewal-checkout .woocommerce-message li + li {
  margin-top: 0.45rem !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-error li,
body.renewal-checkout-page .renewal-checkout .woocommerce-error li strong,
body.renewal-checkout-page .renewal-checkout .woocommerce-error li a {
  color: #b91c1c !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-info li,
body.renewal-checkout-page .renewal-checkout .woocommerce-info li strong,
body.renewal-checkout-page .renewal-checkout .woocommerce-info li a {
  color: #1d4ed8 !important;
  font-weight: 600 !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-message li,
body.renewal-checkout-page .renewal-checkout .woocommerce-message li strong,
body.renewal-checkout-page .renewal-checkout .woocommerce-message li a {
  color: #15803d !important;
  font-weight: 600 !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-error .button,
body.renewal-checkout-page .renewal-checkout .woocommerce-info .button,
body.renewal-checkout-page .renewal-checkout .woocommerce-message .button {
  float: none !important;
  display: inline-flex !important;
  margin-top: 0.65rem !important;
}

/* ── WC form as panel grid ────────────────────────────────────────────
   In the prototype, panels are direct children of .renewal-checkout__form-col
   (a CSS grid). In WP, WooCommerce wraps them in <form class="checkout">.
   Making the form the grid container achieves identical panel spacing. */
.renewal-checkout form.checkout {
  display: grid !important;
  gap: clamp(1.35rem, 2.5vw, 1.85rem);
  align-content: start;
  margin: 0;
  padding: 0;
}

/* Panels that are direct children of the form (mirror form-col > .panel) */
.renewal-checkout form > .renewal-checkout__panel {
  display: grid;
  gap: 0;
}

/* Legacy selectors kept for AJAX-refreshed fragments */
.renewal-checkout__form-col #customer_details,
.renewal-checkout__form-col #order_review {
  display: grid;
  gap: 0;
}

/* ── Billing fields ─────────────────────────────────────────────────── */
.renewal-checkout .woocommerce-billing-fields {
  display: grid;
  gap: 0;
}

.renewal-checkout .woocommerce-billing-fields > h3,
.renewal-checkout .woocommerce-shipping-fields,
.renewal-checkout .woocommerce-additional-fields {
  display: none !important;
}

.renewal-checkout .woocommerce-form-coupon-toggle,
.renewal-checkout .checkout_coupon,
.renewal-checkout wc-order-attribution-inputs {
  display: none !important;
}

.renewal-checkout .form-row {
  margin: 0 !important;
  padding: 0 !important;
}

body.renewal-checkout-page .renewal-checkout .woocommerce-checkout .form-row label:not(.renewal-checkout__checkbox-label),
body.renewal-checkout-page .renewal-checkout__field label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

body.renewal-checkout-page .renewal-checkout__fields {
  gap: clamp(0.65rem, 1.15vw, 0.85rem) !important;
}

body.renewal-checkout-page .renewal-checkout__field {
  gap: 0.45rem !important;
}

.renewal-checkout .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

/* ── Payment methods inside the payment panel ────────────────────────
   Style the WC gateway list to match the prototype payment placeholder. */
.renewal-checkout__payment-methods-inner .wc_payment_methods,
.renewal-checkout__payment-methods-inner .payment_methods {
  display: grid !important;
  gap: 0.6rem;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  border: 1px dashed rgb(148 163 184 / 0.45);
  background: rgb(248 250 252 / 0.9);
  list-style: none;
  margin: 0;
}

.renewal-checkout__payment-methods-inner .wc_payment_methods li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.renewal-checkout__payment-methods-inner .wc_payment_method > input.input-radio {
  margin: 0 0.45rem 0 0;
  accent-color: #0073ff;
  vertical-align: middle;
}

.renewal-checkout__payment-methods-inner .wc_payment_method label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  font-family: Area, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  min-height: auto;
}

.renewal-checkout__payment-methods-inner .payment_box {
  margin-top: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgb(148 163 184 / 0.22);
  font-family: Area, Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
}

.renewal-checkout__payment-methods-inner .payment_box p {
  margin: 0;
}

/* Stripe UPE iframe wrapper */
.renewal-checkout__payment-methods-inner #wc-stripe-upe-form,
.renewal-checkout__payment-methods-inner .wc-stripe-upe-element {
  margin-top: 0;
  min-height: 44px;
}

/* ── Order summary submit (gateways live in payment panel #payment) ─ */
.renewal-checkout__summary .renewal-checkout__payment-submit {
  margin-top: 1.35rem;
}

.renewal-checkout__summary .renewal-checkout__payment-submit > .renewal-checkout__submit,
.renewal-checkout__summary .renewal-checkout__payment-submit > #place_order {
  margin-top: 0 !important;
}

.renewal-checkout #payment .woocommerce-privacy-policy-text {
  display: none !important;
}

/* Agreement error panel. */
.renewal-agreement__errors {
  border-color: rgb(248 113 113 / 0.5);
  background: rgb(254 242 242 / 0.95);
}

.renewal-agreement__errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.renewal-agreement__errors li {
  font-family: Area, Arial, sans-serif;
  font-size: 0.9rem;
  color: #b91c1c;
}
