/* ═══════════════════════════════════════════════════════════════════════
   T-SHIRT PLANET — V28 CHECKOUT PAGE
   Charcoal #363030 + Lime #C1E53E
   ═══════════════════════════════════════════════════════════════════════ */


/* ── 1. CSS VARIABLES ──────────────────────────────────────────────── */

.woocommerce-checkout {
  --v28-primary:       #363030;
  --v28-secondary:     #C1E53E;
  --v28-coral:         #E63946;
  --v28-gold:          #FFC633;
  --v28-blue:          #2D7FF9;
  --v28-ink:           #363030;
  --v28-ink-soft:      #7a7575;
  --v28-ink-muted:     #b0a8a8;
  --v28-paper:         #fafafa;
  --v28-paper-warm:    #f5f3f0;
  --v28-border:        #eeecea;
  --v28-white:         #ffffff;
  --v28-green:         #22c55e;
  --v28-radius:        10px;
  --v28-radius-sm:     6px;
  --v28-shadow-soft:   0 2px 8px rgba(54, 48, 48, 0.06);
  --v28-shadow-button: 0 6px 24px rgba(54, 48, 48, 0.25);
}


/* ── 2. PAGE BACKGROUND & OVERFLOW ────────────────────────────────── */

html,
body.woocommerce-checkout,
body.woocommerce-page {
  background-color: var(--v28-paper) !important;
  overflow-x: hidden !important;
}

.woocommerce-checkout .woocommerce-breadcrumb {
  display: none !important;
}


/* ── 3. ELEMENTOR SECTION RESETS ──────────────────────────────────── */

body.woocommerce-page .elementor-section.elementor-top-section,
body.woocommerce-page .elementor-top-section:has(form.woocommerce-checkout),
body.woocommerce-page .v28-checkout-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-page .elementor-top-section > .elementor-container,
body.woocommerce-page .v28-checkout-section > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-page .elementor-top-section .elementor-widget-wrap,
body.woocommerce-page .v28-checkout-section .elementor-widget-wrap {
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-page .elementor-widget-woocommerce-checkout-page,
body.woocommerce-page .elementor-widget-woocommerce-checkout-page > .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ── 4. PROGRESS STEPPER ──────────────────────────────────────────── */

.v28-checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 0;
  max-width: 500px;
  margin: 0 auto 12px;
}

.v28-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v28-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.v28-step-circle.done    { background: var(--v28-green);   color: var(--v28-white); }
.v28-step-circle.active  { background: var(--v28-primary); color: var(--v28-white); }
.v28-step-circle.pending { background: #eee;               color: var(--v28-ink-muted); }

.v28-step-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--v28-ink-muted);
}

.v28-step-label.active {
  color: var(--v28-ink);
  font-weight: 700;
}

.v28-step-line {
  width: 60px;
  height: 2px;
  background: #ddd;
  margin: 0 12px;
  flex-shrink: 0;
}

.v28-step-line.done {
  background: var(--v28-green);
}


/* ── 5. PAGE TITLE ────────────────────────────────────────────────── */

body.woocommerce-page h1,
body.woocommerce-page .entry-title,
body.woocommerce-page .v28-checkout-title {
  font-size: 42px !important;
  font-weight: 800 !important;
  font-style: normal !important;
  color: #363030 !important;
  text-align: center !important;
  margin: 16px 0 0 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.5px !important;
}


/* ══════════════════════════════════════════════════════════════════════
   6. MAIN LAYOUT
   ══════════════════════════════════════════════════════════════════════ */

body.woocommerce-page .woocommerce {
  max-width: 1213px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: content-box !important;
}

body.woocommerce-page form.woocommerce-checkout,
body.woocommerce-page .woocommerce-checkout,
body.woocommerce-checkout form.checkout {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 0 80px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-page .e-checkout__container {
  display: grid !important;
  grid-template-columns: minmax(0, 752fr) minmax(0, 437fr) !important;
  gap: 24px !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  align-items: start !important;
  box-sizing: border-box !important;
}

body.woocommerce-page .e-checkout__column-start {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body.woocommerce-page .e-checkout__column.e-checkout__column-end,
body.woocommerce-page .e-checkout__column-end {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: static !important;
  align-self: start !important;
}

body.woocommerce-page .e-checkout__column-end .e-checkout__column-inner {
  padding-top: 20px !important;
}

body.v28-checkout-page .page-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box;
}

body.v28-checkout-page form.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 752fr) minmax(0, 437fr) !important;
  gap: 24px !important;
  align-items: start !important;
  padding-bottom: 80px !important;
}

body.v28-checkout-page #customer_details {
  grid-column: 1 !important;
  width: 100% !important;
  align-self: start !important;
}

body.v28-checkout-page #order_review_heading {
  display: none !important;
}

body.v28-checkout-page #order_review #order_review_heading {
  display: block !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #363030 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  line-height: 1.15 !important;
}

body.v28-checkout-page #order_review {
  grid-column: 2 !important;
  width: 100% !important;
  align-self: start !important;
}

body.v28-checkout-page .col2-set .col-1,
body.v28-checkout-page .col2-set .col-2,
body.v28-checkout-page #customer_details .col-1,
body.v28-checkout-page #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  box-sizing: border-box;
}


/* ── 7. KILL ALL WRAPPER BORDERS ──────────────────────────────────── */

body.woocommerce-page .col-1,
body.woocommerce-page .col-2,
body.woocommerce-page .col2-set,
body.woocommerce-page .e-checkout__column,
body.woocommerce-page .e-checkout__column-start,
body.woocommerce-page .e-checkout__column-end,
body.woocommerce-page .e-checkout__container,
body.woocommerce-page .e-checkout__order_review,
body.woocommerce-page .e-checkout__order_review-2,
body.woocommerce-page .woocommerce-billing-fields,
body.woocommerce-page .woocommerce-billing-fields.v28-split-active,
body.woocommerce-page .elementor-widget-container,
body.woocommerce-page .shipping_address,
body.woocommerce-page .woocommerce-checkout-review-order-table,
body.woocommerce-page .woocommerce-checkout-review-order-table th,
body.woocommerce-page .woocommerce-checkout-review-order-table td,
body.woocommerce-page .woocommerce-checkout-review-order-table tr {
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
}


/* ── 8. CARD STYLES ───────────────────────────────────────────────── */

body.woocommerce-page .col-1 {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-page .col-2 {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

body.woocommerce-page .woocommerce-billing-fields,
body.woocommerce-page .woocommerce-billing-fields.v28-split-active {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
}

body.woocommerce-page .woocommerce-billing-fields > h3 {
  display: none !important;
}

body.woocommerce-page .v28-contact-card,
body.woocommerce-page .v28-address-card {
  background: #fff !important;
  border: 1.4px solid #eeecea !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: none !important;
  padding: 28px !important;
  margin-bottom: 20px !important;
}

body.woocommerce-page .col2-set {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

body.v28-checkout-page #customer_details::before,
body.v28-checkout-page #customer_details::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-page .woocommerce-shipping-fields {
  background: #fff !important;
  border: 1.4px solid #eeecea !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: none !important;
  padding: 28px !important;
  margin-bottom: 24px !important;
}

body.woocommerce-page .shipping_address {
  border: none !important;
  border-width: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

body.woocommerce-page .woocommerce-additional-fields {
  background: #fff !important;
  border: 1.4px solid #eeecea !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: none !important;
  padding: 28px !important;
  margin-bottom: 24px !important;
}

body.woocommerce-page .e-checkout__order_review {
  background: #fff !important;
  border: 1.4px solid #eeecea !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: none !important;
  padding: 28px !important;
}

/* #order_review = .woocommerce-checkout-review-order (inner WC wrapper inside the card) */
body.v28-checkout-page #order_review,
body.woocommerce-page #order_review {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-page .woocommerce-checkout-review-order {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}

body.v28-checkout-page .woocommerce-checkout-review-order-table tr,
body.v28-checkout-page .woocommerce-checkout-review-order-table td,
body.v28-checkout-page .woocommerce-checkout-review-order-table th {
  background: transparent !important;
  background-color: transparent !important;
}

body.woocommerce-page .e-coupon-box {
  border: 1.4px solid #eeecea !important;
  background: #fff !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: none !important;
  padding: 12px 20px !important;
  display: flex !important;
  align-items: center !important;
}

body.woocommerce-page .e-checkout__order_review-2 {
  background: #fff !important;
  border: 1.4px solid #eeecea !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: none !important;
  padding: 28px !important;
}

body.woocommerce-page .e-checkout__order_review-2 .woocommerce-checkout-payment,
body.woocommerce-page .e-checkout__order_review-2 #payment {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* ── 9. TYPOGRAPHY ────────────────────────────────────────────────── */

body.woocommerce-page .v28-contact-card h3,
body.woocommerce-page .v28-address-card h3,
body.woocommerce-page #order_review_heading,
body.woocommerce-page .woocommerce-checkout h3,
body.woocommerce-page .woocommerce-additional-fields h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #363030 !important;
  line-height: 1.15 !important;
  font-style: normal !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
}

body.woocommerce-page .woocommerce-checkout label,
body.woocommerce-page .woocommerce-checkout .form-row label,
body.woocommerce-page .woocommerce-checkout #order_comments_field label {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #363030 !important;
  line-height: 1.6 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

body.woocommerce-page .woocommerce-checkout .form-row label .required {
  color: var(--v28-coral) !important;
}

body.woocommerce-page .woocommerce-checkout input.input-text,
body.woocommerce-page .woocommerce-checkout input[type="text"],
body.woocommerce-page .woocommerce-checkout input[type="email"],
body.woocommerce-page .woocommerce-checkout input[type="tel"],
body.woocommerce-page .woocommerce-checkout textarea,
body.woocommerce-page .woocommerce-checkout select {
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #363030 !important;
  background: var(--v28-white) !important;
  border: 1.5px solid var(--v28-border) !important;
  border-radius: var(--v28-radius-sm) !important;
  padding: 12px 14px !important;
  height: auto !important;
  min-height: 48px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  outline: none !important;
  -webkit-appearance: none !important;
}

body.woocommerce-page .woocommerce-checkout input.input-text:focus,
body.woocommerce-page .woocommerce-checkout textarea:focus,
body.woocommerce-page .woocommerce-checkout select:focus {
  border-color: var(--v28-primary) !important;
  box-shadow: 0 0 0 3px rgba(54, 48, 48, 0.08) !important;
}

body.woocommerce-page .woocommerce-checkout input.input-text::placeholder {
  color: var(--v28-ink-muted) !important;
  font-weight: 400 !important;
}

body.woocommerce-page .select2-container {
  width: 100% !important;
  box-sizing: border-box !important;
}

body.woocommerce-page .select2-container--default .select2-selection--single {
  display: flex !important;
  align-items: center !important;
  border: 1.5px solid var(--v28-border) !important;
  border-radius: var(--v28-radius-sm) !important;
  padding: 12px 40px 12px 14px !important;
  height: auto !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

body.woocommerce-page .select2-container--default .select2-selection__rendered {
  font-size: 17px !important;
  color: var(--v28-ink) !important;
  line-height: normal !important;
  padding: 0 !important;
  border: none !important;
}

body.woocommerce-page .select2-container--default .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 12px !important;
  width: 20px !important;
  position: absolute !important;
}

body.woocommerce-page .select2-container--default .select2-selection__arrow b {
  margin-top: -3px !important;
}

body.woocommerce-page .select2-dropdown {
  border: 1.5px solid var(--v28-border) !important;
  border-radius: var(--v28-radius-sm) !important;
  box-shadow: var(--v28-shadow-soft) !important;
}

body.woocommerce-page .select2-results__option {
  font-size: 15px !important;
  padding: 10px 14px !important;
}

body.woocommerce-page .select2-results__option--highlighted {
  background: var(--v28-paper-warm) !important;
  color: var(--v28-ink) !important;
}


/* ── 10. ORDER REVIEW TABLE (right sidebar) ───────────────────────── */

body.woocommerce-page .woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

body.woocommerce-page .woocommerce-checkout-review-order-table thead {
  display: none !important;
}

body.woocommerce-page .woocommerce-checkout-review-order-table .cart_item {
  border-bottom: 1px solid var(--v28-border) !important;
}

body.woocommerce-page .woocommerce-checkout-review-order-table .cart_item td {
  padding: 14px 0 !important;
  vertical-align: top !important;
  border: none !important;
}

body.woocommerce-page .woocommerce-checkout .product-name,
body.woocommerce-page .woocommerce-checkout .product-name a {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #363030 !important;
  line-height: 1.6 !important;
}

body.woocommerce-page .woocommerce-checkout .product-name .product-quantity {
  font-weight: 400 !important;
  color: var(--v28-ink-soft) !important;
}

body.woocommerce-page .woocommerce-checkout .product-name .variation,
body.woocommerce-page .woocommerce-checkout .product-name small,
body.woocommerce-page .woocommerce-checkout .product-name dl {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #7a7575 !important;
  line-height: 1.6 !important;
}

body.woocommerce-page .woocommerce-checkout .product-total,
body.woocommerce-page .woocommerce-checkout .product-total .amount {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #363030 !important;
  line-height: 1.6 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body.woocommerce-page .v28-express-tag,
body.woocommerce-page .woocommerce-checkout [class*="express"] span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #E63946 !important;
  line-height: 1.6 !important;
  margin-top: 4px;
}

body.woocommerce-page .v28-express-tag::before {
  content: '⚡';
  font-size: 10px;
}

/* ── Express fee inline with label ──────────────────────────────────
   Makes "⚡ Express 24H: (+€10,00)" render on one perfectly-aligned line */
.woocommerce-checkout .product-name dl.variation {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 3px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
}
.woocommerce-checkout .product-name dl.variation dt.variation-Express24H,
.woocommerce-checkout .product-name dl.variation dd.variation-Express24H {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #7a7575 !important;
  line-height: 16px !important;
}
.woocommerce-checkout .product-name dl.variation dd.variation-Express24H p {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 16px !important;
}
.woocommerce-checkout .product-name .v28-express-tag {
  display: inline !important;
  font-size: 12px !important;
  line-height: 16px !important;
  vertical-align: baseline !important;
}

/* Subtotal row */
body.woocommerce-page .woocommerce-checkout .cart-subtotal th,
body.woocommerce-page .woocommerce-checkout .cart-subtotal td,
body.woocommerce-page .woocommerce-checkout .cart-subtotal .amount {
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #7a7575 !important;
  line-height: 1.6 !important;
  padding: 8px 0 !important;
  border: none !important;
}

body.woocommerce-page .woocommerce-checkout .cart-subtotal td {
  text-align: right !important;
}

/* ── SHIPPING METHODS (order review sidebar) ──────────────────────── */

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-totals,
body.v28-checkout-page .woocommerce-shipping-totals {
  display: block !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-totals th,
body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-totals td,
body.v28-checkout-page .woocommerce-shipping-totals th,
body.v28-checkout-page .woocommerce-shipping-totals td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  text-align: left !important;
  border: none !important;
  background: transparent !important;
  vertical-align: top !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #7a7575 !important;
  line-height: 1.6 !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-totals th,
body.v28-checkout-page .woocommerce-shipping-totals th {
  padding: 8px 0 6px !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-totals td,
body.v28-checkout-page .woocommerce-shipping-totals td {
  padding-bottom: 10px !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods,
body.v28-checkout-page .woocommerce-shipping-methods {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods li,
body.v28-checkout-page .woocommerce-shipping-methods li {
  display: flex !important;
  flex-direction: column !important;
  padding: 10px 12px !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: border-color 0.18s ease, background 0.18s ease !important;
  margin: 0 !important;
  gap: 0 !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods li:has(input:checked),
body.v28-checkout-page .woocommerce-shipping-methods li:has(input:checked) {
  border-color: #C1E53E !important;
  background: #f8ffe8 !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods li .v28-option-row,
body.v28-checkout-page .woocommerce-shipping-methods li .v28-option-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods li input[type="radio"],
body.v28-checkout-page .woocommerce-shipping-methods li input[type="radio"] {
  margin: 0 !important;
  flex-shrink: 0 !important;
  accent-color: #363030 !important;
  width: 16px !important;
  height: 16px !important;
  cursor: pointer !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods li label,
body.v28-checkout-page .woocommerce-shipping-methods li label {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #363030 !important;
  cursor: pointer !important;
  line-height: 1.3 !important;
}

.v28-pickup-address {
  display: flex !important;
  align-items: flex-start !important;
  gap: 4px !important;
  padding-left: 24px !important;
  margin-top: 5px !important;
  font-size: 12px !important;
  color: #9a9494 !important;
  line-height: 1.5 !important;
}

.v28-pickup-pin {
  flex-shrink: 0 !important;
  font-size: 11px !important;
  line-height: 1.7 !important;
  color: #E63946 !important;
}

body.woocommerce-page .woocommerce-checkout .free-shipping-notice {
  font-weight: 600 !important;
  color: #22c55e !important;
}

body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods label .amount,
body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods label .woocommerce-Price-amount {
  color: #363030 !important;
  font-weight: 600 !important;
}

/* Total row */
body.woocommerce-page .woocommerce-checkout .order-total th,
body.woocommerce-page .woocommerce-checkout .order-total td,
body.woocommerce-page .woocommerce-checkout .order-total .amount {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #363030 !important;
  line-height: 1.6 !important;
  padding: 16px 0 8px !important;
  border-top: 2px solid var(--v28-border) !important;
  border-bottom: none !important;
}

body.woocommerce-page .woocommerce-checkout .order-total td {
  text-align: right !important;
}


/* ── 11. INLINE FIELD PAIRS ───────────────────────────────────────── */

.v28-contact-fields,
.v28-address-fields,
body.woocommerce-page .woocommerce-billing-fields__field-wrapper,
body.woocommerce-page .woocommerce-shipping-fields__field-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 20px !important;
}

#billing_first_name_field, #billing_last_name_field,
#billing_email_field,      #billing_phone_field,
#billing_postcode_field,   #billing_city_field,
#shipping_first_name_field, #shipping_last_name_field,
#shipping_postcode_field,  #shipping_city_field {
  width: calc(50% - 10px) !important;
  flex: 0 0 calc(50% - 10px) !important;
  float: none !important;
}

#billing_first_name_field { order: 1 !important; }
#billing_last_name_field  { order: 2 !important; }
#billing_email_field      { order: 3 !important; }
#billing_phone_field      { order: 4 !important; }

#billing_country_field,   #billing_address_1_field,  #billing_address_2_field,
#shipping_country_field,  #shipping_address_1_field, #shipping_address_2_field,
#shipping_state_field {
  width: 100% !important;
  flex: 0 0 100% !important;
}

body.woocommerce-page .form-row-first,
body.woocommerce-page .form-row-last {
  flex: 1 1 calc(50% - 8px) !important;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}

body.woocommerce-page .form-row-wide {
  flex: 1 1 100% !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}


/* ── 12. SHIP TO DIFFERENT ADDRESS ───────────────────────────────── */

body.woocommerce-page #ship-to-different-address {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--v28-ink) !important;
  margin: 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.woocommerce-page #ship-to-different-address input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--v28-primary) !important;
}


/* ── 13. COUPON SECTION ───────────────────────────────────────────── */

body.woocommerce-page .woocommerce-form-coupon-toggle,
body.woocommerce-page .e-woocommerce-coupon-nudge {
  display: none !important;
}

body.v28-checkout-page .v28-coupon-in-review {
  border-top: 1px solid var(--v28-border, #eeecec) !important;
  padding-top: 16px !important;
  margin-top: 4px !important;
}

body.v28-checkout-page .v28-coupon-in-review .checkout_coupon.woocommerce-form-coupon {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

body.v28-checkout-page .v28-coupon-in-review .checkout_coupon p.form-row {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
}

body.v28-checkout-page .v28-coupon-in-review .checkout_coupon p.form-row-last {
  flex: 0 0 auto !important;
}

body.v28-checkout-page .v28-coupon-in-review .checkout_coupon input#coupon_code {
  font-size: 15px !important;
  color: #363030 !important;
  background: #fff !important;
  border: 1.4px solid var(--v28-border, #eeecec) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  height: 44px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.v28-checkout-page .v28-coupon-in-review .checkout_coupon input#coupon_code::placeholder {
  color: #aaa !important;
}

body.v28-checkout-page .v28-coupon-in-review .checkout_coupon button[name="apply_coupon"] {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #363030 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  height: 44px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: opacity 0.2s !important;
}

body.v28-checkout-page .v28-coupon-in-review .checkout_coupon button[name="apply_coupon"]:hover {
  opacity: 0.85 !important;
}

body.woocommerce-page .e-coupon-anchor {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-page .e-coupon-anchor-description {
  display: none !important;
}

body.woocommerce-page .e-coupon-box .form-row {
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-page .coupon-container-grid {
  display: flex !important;
  gap: 8px !important;
  align-items: stretch !important;
}

body.woocommerce-page .coupon-col-1 {
  flex: 1 1 0% !important;
  width: auto !important;
}

body.woocommerce-page .coupon-col-2 {
  flex: 0 0 auto !important;
  width: auto !important;
  display: flex !important;
}

body.woocommerce-page .e-coupon-box input#coupon_code,
body.woocommerce-page .coupon-col-1 input {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #363030 !important;
  background: #fff !important;
  border: 1.4px solid #eeecec !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.woocommerce-page .e-coupon-box .e-apply-coupon,
body.woocommerce-page .coupon-col-2 button {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #363030 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  height: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.2s !important;
}

body.woocommerce-page .e-coupon-box .e-apply-coupon:hover,
body.woocommerce-page .coupon-col-2 button:hover {
  opacity: 0.85 !important;
}


/* ── 14. PAYMENT METHODS ──────────────────────────────────────────── */

body.v28-checkout-page #payment {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 16px 0 0 !important;
}

/* ── 14. PAYMENT METHODS — Stripe UPE single-card layout ─────────────────
   Stripe uses a single .wc_payment_method that contains the Unified Payment
   Element iframe (.payment_box) which renders Bancontact, Card, Wero, etc.
   Design: one bordered card, "PAY WITH" header row, UPE iframe below.
   ──────────────────────────────────────────────────────────────────────── */

/* List: block (not flex row — UPE fills the full width) */
body.woocommerce-page .wc_payment_methods.payment_methods {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 16px 0 0 !important;
}

/* Single card wrapper */
body.woocommerce-page .wc_payment_methods .wc_payment_method {
  display: block !important;
  border: 1.4px solid #eeecea !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: default !important;
  transition: none !important;
}

/* Hide radio — we don't need method selection UI for single-method UPE */
body.woocommerce-page .wc_payment_methods .wc_payment_method input[type="radio"] {
  display: none !important;
}

/* Label row: subtle "PAY WITH" header above the iframe */
body.woocommerce-page .wc_payment_methods .wc_payment_method > label {
  display: flex !important;
  align-items: center !important;
  padding: 12px 18px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.7px !important;
  color: #9e9898 !important;
  border-bottom: 1px solid #f0eeee !important;
  pointer-events: none !important;
  cursor: default !important;
  margin: 0 !important;
  gap: 0 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

/* Hide Stripe logo img — UPE shows its own method icons */
body.woocommerce-page .wc_payment_methods .wc_payment_method > label img {
  display: none !important;
}

/* The payment_box: show it (UPE iframe lives here), no extra chrome */
body.woocommerce-page .wc_payment_methods .payment_box {
  display: block !important;
  background: transparent !important;
  padding: 16px 18px 18px !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Kill WooCommerce's own gray bg + arrow on payment_box */
body.woocommerce-checkout #payment div.payment_box {
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 16px 18px 18px !important;
  border-radius: 0 !important;
}
body.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

/* Hide Stripe plugin's "Pay with your credit card via Stripe." description text */
body.woocommerce-page .payment_box > p:first-child {
  display: none !important;
}


/* ── 15. TERMS & CONDITIONS ───────────────────────────────────────── */

body.woocommerce-page .woocommerce-terms-and-conditions-wrapper {
  font-size: 13px !important;
  color: var(--v28-ink-soft) !important;
  margin-top: 16px !important;
}

body.woocommerce-page .woocommerce-terms-and-conditions-wrapper a {
  color: var(--v28-blue) !important;
  text-decoration: none !important;
}

body.woocommerce-page .woocommerce-privacy-policy-text p {
  font-size: 12px !important;
  color: var(--v28-ink-muted) !important;
  line-height: 1.5 !important;
}

body.woocommerce-page .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--v28-ink) !important;
}

body.woocommerce-page #ship-to-different-address {
  font-size: inherit !important;
  font-weight: inherit !important;
  margin: 8px 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.woocommerce-page .woocommerce-form__label-for-checkbox input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--v28-primary) !important;
}


/* ── 16. PLACE ORDER BUTTON ───────────────────────────────────────── */

body.woocommerce-page .woocommerce-checkout #place_order,
body.woocommerce-page .woocommerce #place_order,
body.woocommerce-page button#place_order {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #E63946 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 20px 36px !important;
  letter-spacing: 0.2px !important;
  box-shadow: var(--v28-shadow-button) !important;
  width: 100% !important;
  min-height: 63px !important;
  cursor: pointer !important;
  margin-top: 16px !important;
  transition: all 0.2s ease !important;
}

body.woocommerce-page #place_order:hover {
  background: #d32f3f !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3) !important;
}

body.woocommerce-page #place_order:active {
  transform: translateY(0) !important;
}


/* ── 17. NOTICES & ERRORS ─────────────────────────────────────────── */

body.woocommerce-page .woocommerce-error,
body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-info {
  border-radius: var(--v28-radius-sm) !important;
  font-size: 14px !important;
}


/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  /* Collapse 2-col checkout grid to single column at tablet */
  body.woocommerce-page .e-checkout__container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body.v28-checkout-page form.woocommerce-checkout {
    grid-template-columns: 1fr !important;
  }

  body.v28-checkout-page #customer_details,
  body.v28-checkout-page #order_review {
    grid-column: 1 !important;
  }
}

@media (max-width: 768px) {
  body.woocommerce-page .e-checkout__container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.woocommerce-page .woocommerce {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .v28-checkout-stepper { padding: 12px 0; }
  .v28-step-line { width: 30px; margin: 0 6px; }

  body.woocommerce-page .v28-contact-card,
  body.woocommerce-page .v28-address-card,
  body.woocommerce-page .woocommerce-shipping-fields,
  body.woocommerce-page .woocommerce-additional-fields,
  body.woocommerce-page .e-checkout__order_review,
  body.woocommerce-page .e-checkout__order_review-2,
  body.v28-checkout-page #order_review {
    padding: 20px 16px !important;
  }

  body.woocommerce-page .form-row-first,
  body.woocommerce-page .form-row-last {
    flex: 1 1 100% !important;
  }

  /* Payment is display:block at all breakpoints — no flex overrides needed */

  body.woocommerce-page #place_order {
    padding: 18px 20px !important;
  }

  body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods li,
  body.v28-checkout-page .woocommerce-shipping-methods li {
    padding: 9px 10px !important;
  }

  body.woocommerce-page .woocommerce-checkout .woocommerce-shipping-methods li label,
  body.v28-checkout-page .woocommerce-shipping-methods li label {
    font-size: 13px !important;
  }

  .v28-pickup-address {
    font-size: 11px !important;
  }

  /* ── Order review table: auto layout, no clipping ── */
  body.woocommerce-page .woocommerce-checkout-review-order-table {
    width: 100% !important;
  }
  body.woocommerce-page .woocommerce-checkout-review-order-table thead {
    display: none !important;
  }
  body.woocommerce-page .woocommerce-checkout-review-order-table th.product-name,
  body.woocommerce-page .woocommerce-checkout-review-order-table td.product-name {
    width: 65% !important;
    vertical-align: top !important;
    padding: 14px 8px 14px 0 !important;
    overflow: visible !important;
  }
  body.woocommerce-page .woocommerce-checkout-review-order-table th.product-total,
  body.woocommerce-page .woocommerce-checkout-review-order-table td.product-total {
    width: 35% !important;
    text-align: right !important;
    vertical-align: top !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 0 14px 4px !important;
  }
  body.woocommerce-page .woocommerce-checkout-review-order-table tr.cart_item td {
    border-bottom: 1px solid #f0eeee !important;
  }
  /* ── Hide raw <dl> — replaced by .v28-review-variant-row ── */
  body.woocommerce-page .woocommerce-checkout-review-order-table td.product-name dl.variation {
    display: none !important;
  }

  /* ── Product name + qty: one line, name truncates ── */
  .v28-name-qty-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    width: 100% !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
  }
  .v28-name-qty-row .v28-name-wrap {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #363030 !important;
  }
  .v28-name-qty-row .product-quantity {
    flex-shrink: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #7a7575 !important;
    white-space: nowrap !important;
  }

  /* .v28-rvr — defined globally below, applies all breakpoints */
}

@media (max-width: 600px) {
  #billing_first_name_field, #billing_last_name_field,
  #billing_email_field,      #billing_phone_field,
  #billing_postcode_field,   #billing_city_field,
  #shipping_first_name_field, #shipping_last_name_field,
  #shipping_postcode_field,  #shipping_city_field {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}

@media (max-width: 480px) {
  .v28-step-circle { width: 28px; height: 28px; }
  .v28-step-line { width: 20px; margin: 0 4px; }
}


/* ══ Review variant block — stacked layout, all breakpoints ══════════════ */
.v28-rvr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 0;
  width: 100%;
}
.v28-rvr-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.v28-rvr-lbl {
  flex: 0 0 42px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #b0a8a8;
  line-height: 1;
}
.v28-rvr-val {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.v28-rvr-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(54,48,48,0.2);
  flex-shrink: 0;
}
.v28-rvr-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #363030;
  white-space: nowrap;
  line-height: 1.3;
}
.v28-rvr-chip-qty {
  font-weight: 400;
  font-size: 13px;
  color: #9a9494;
  margin-left: 1px;
}
.v28-rvr-express {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff5f5;
  border: 1px solid #ffd5d5;
  border-radius: 6px;
  padding: 5px 9px;
}
.v28-rvr-express-left {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #E63946;
}
.v28-rvr-express-left::before {
  content: none;
}
.v28-rvr-express-left img.emoji,
.v28-rvr-express-left .v28-express-tag {
  display: none;
}
.v28-rvr-express-price {
  font-size: 13px;
  font-weight: 700;
  color: #E63946;
  white-space: nowrap;
}

/* ── Design link pills – uniform 13px ── */
.v28-design-links-row {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
}
.v28-design-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: filter 0.15s ease !important;
}
.v28-design-link:hover {
  filter: brightness(0.94) !important;
}
.v28-design-link--preview {
  background: #ebf4ff !important;
  color: #2563eb !important;
  border: 1px solid #c3deff !important;
}
.v28-design-link--preview:hover {
  background: #dbeeff !important;
}
.v28-design-link--edit {
  background: #f4fadb !important;
  color: #4a6000 !important;
  border: 1px solid #d4ee7a !important;
}
.v28-design-link--edit:hover {
  background: #edf7c2 !important;
}
/* Mobile: pills with breathing room */
@media (max-width: 768px) {
  .v28-design-links-row {
    gap: 8px !important;
    margin-top: 10px !important;
  }
  .v28-design-link {
    font-size: 12px !important;
    padding: 5px 12px !important;
  }
}

/* ══ DESKTOP + TABLET review variant rows (min-width: 769px) ══
   Mobile rules live in the max-width: 768px block above.
   These two blocks never overlap — gap at 768px is intentional.
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 769px) {

  /* ── Hide raw <dl> ── */
  body.woocommerce-page .woocommerce-checkout-review-order-table td.product-name dl.variation {
    display: none !important;
  }

  /* ── Product name + qty: one line, name truncates with ellipsis ── */
  .v28-name-qty-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    overflow: hidden !important;
  }
  .v28-name-qty-row .v28-name-wrap {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #363030 !important;
  }
  .v28-name-qty-row .product-quantity {
    flex-shrink: 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #7a7575 !important;
    white-space: nowrap !important;
  }

  /* .v28-rvr — defined globally, applies all breakpoints */
}


/* ══ Checkout misc fixes ═════════════════════════════════════════════ */

/* Single separator: remove cart_item bottom border (keep order-total top border) */
.woocommerce-checkout-review-order-table tr.cart_item,
.woocommerce-checkout-review-order-table tr.cart_item td,
.woocommerce-checkout-review-order-table tr.cart_item th {
  border-bottom: none !important;
}

/* includes_tax — small muted, single line */
tr.order-total small.includes_tax {
  display: inline !important;
  font-size: 11px !important;
  color: #9a9494 !important;
  white-space: normal !important;
}
tr.order-total td {
  white-space: normal !important;
}

/* Product name truncate, price contained */
.woocommerce-checkout-review-order-table td.product-total {
  white-space: nowrap !important;
  text-align: right !important;
  vertical-align: top !important;
  padding-left: 8px !important;
  min-width: 70px !important;
}
.v28-name-qty-row .v28-name-wrap {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 160px !important;
}

/* Cards: fill column, no offset */
body.v28-checkout-page .col2-set {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
body.v28-checkout-page .col2-set .col-1,
body.v28-checkout-page .col2-set .col-2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Mobile: allow name column to shrink so total price stays inside card */
@media (max-width: 768px) {
  .woocommerce-checkout-review-order-table td.product-name {
    overflow: hidden !important;
    max-width: 0 !important;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   THANK YOU / ORDER RECEIVED PAGE
   ══════════════════════════════════════════════════════════════════════ */

body.woocommerce-order-received {
  --v28-ink:       #363030;
  --v28-ink-soft:  #7a7575;
  --v28-ink-muted: #b0a8a8;
  --v28-lime:      #C1E53E;
  --v28-border:    #eeecea;
  --v28-radius:    10px;
  --v28-shadow:    0 2px 8px rgba(54, 48, 48, 0.06);
  --v28-font:      'Outfit', sans-serif;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  background: linear-gradient(135deg, #363030 0%, #4a4444 100%) !important;
  color: var(--v28-lime) !important;
  font-family: var(--v28-font) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 28px 24px !important;
  border-radius: var(--v28-radius) !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.3px !important;
}

body.woocommerce-order-received .woocommerce-order-overview {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  list-style: none !important;
  background: #fff !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: var(--v28-shadow) !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  overflow: hidden !important;
}

body.woocommerce-order-received .woocommerce-order-overview li {
  flex: 1 1 0 !important;
  padding: 18px 20px !important;
  text-align: center !important;
  border-right: 1px solid var(--v28-border) !important;
  border-bottom: none !important;
  font-family: var(--v28-font) !important;
  font-size: 11px !important;
  color: var(--v28-ink-soft) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

body.woocommerce-order-received .woocommerce-order-overview li:last-child {
  border-right: none !important;
}

body.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--v28-ink) !important;
  margin-top: 6px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
  font-family: var(--v28-font) !important;
  font-size: 14px !important;
  color: var(--v28-ink-soft) !important;
  margin-bottom: 24px !important;
}

body.woocommerce-order-received .woocommerce-order-details {
  background: #fff !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: var(--v28-shadow) !important;
  padding: 28px !important;
  margin-bottom: 24px !important;
}

body.woocommerce-order-received .woocommerce-order-details h2 {
  font-family: var(--v28-font) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--v28-ink) !important;
  margin: 0 0 16px !important;
}

body.woocommerce-order-received .woocommerce-order-details table {
  width: 100% !important;
  border-collapse: collapse !important;
}

body.woocommerce-order-received .woocommerce-order-details table thead th {
  font-family: var(--v28-font) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--v28-ink-soft) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 10px 0 !important;
  border-bottom: 1.5px solid var(--v28-border) !important;
  border-top: none !important;
  text-align: left !important;
  background: transparent !important;
}

body.woocommerce-order-received .woocommerce-order-details table thead th:last-child {
  text-align: right !important;
}

body.woocommerce-order-received .woocommerce-order-details table tbody td {
  font-family: var(--v28-font) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--v28-ink) !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #f0eeee !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  background: transparent !important;
}

body.woocommerce-order-received .woocommerce-order-details table tbody td.product-total {
  text-align: right !important;
  font-weight: 700 !important;
}

body.woocommerce-order-received .woocommerce-order-details .product-name a {
  color: var(--v28-ink) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s !important;
}

body.woocommerce-order-received .woocommerce-order-details .product-name a:hover {
  color: var(--v28-lime) !important;
}

body.woocommerce-order-received .woocommerce-order-details table tfoot th,
body.woocommerce-order-received .woocommerce-order-details table tfoot td {
  font-family: var(--v28-font) !important;
  font-size: 15px !important;
  color: var(--v28-ink) !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #f0eeee !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  background: transparent !important;
}

body.woocommerce-order-received .woocommerce-order-details table tfoot th {
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

body.woocommerce-order-received .woocommerce-order-details table tfoot td {
  text-align: right !important;
  font-weight: 500 !important;
}

body.woocommerce-order-received .woocommerce-order-details table tfoot tr:nth-last-child(2) th,
body.woocommerce-order-received .woocommerce-order-details table tfoot tr:nth-last-child(2) td {
  font-weight: 700 !important;
  font-size: 17px !important;
  padding-top: 14px !important;
  border-top: 2px solid var(--v28-border) !important;
  border-bottom: 1px solid #f0eeee !important;
}

body.woocommerce-order-received .woocommerce-order-details table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-order-details table tfoot tr:last-child td {
  font-weight: 500 !important;
  font-size: 14px !important;
  color: var(--v28-ink-soft) !important;
  border-bottom: none !important;
  border-top: none !important;
  padding-top: 10px !important;
}

body.woocommerce-order-received.woocommerce-page .col2-set {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  flex-direction: unset !important;
  gap: 20px !important;
  margin-top: 0 !important;
}

body.woocommerce-order-received.woocommerce-page .col2-set::before,
body.woocommerce-order-received.woocommerce-page .col2-set::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-order-received .col2-set .col-1,
body.woocommerce-order-received .col2-set .col-2 {
  float: none !important;
  width: 100% !important;
  background: #fff !important;
  border-radius: var(--v28-radius) !important;
  box-shadow: var(--v28-shadow) !important;
  padding: 24px !important;
}

body.woocommerce-order-received .col2-set h2 {
  font-family: var(--v28-font) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--v28-ink) !important;
  margin: 0 0 12px !important;
}

body.woocommerce-order-received .col2-set address {
  font-style: normal !important;
  font-family: var(--v28-font) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: var(--v28-ink-soft) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-order-received .col2-set address p {
  margin: 0 !important;
  color: var(--v28-ink-soft) !important;
  font-size: 14px !important;
}

@media (max-width: 768px) {
  body.woocommerce-order-received .woocommerce-thankyou-order-received {
    padding: 22px 16px !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview {
    flex-direction: column !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview li {
    border-right: none !important;
    border-bottom: 1px solid var(--v28-border) !important;
    padding: 14px 16px !important;
    text-align: left !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview li:last-child {
    border-bottom: none !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview li strong {
    display: inline !important;
    margin-top: 0 !important;
  }

  body.woocommerce-order-received .woocommerce-order-details {
    padding: 20px 16px !important;
  }

  body.woocommerce-order-received.woocommerce-page .col2-set {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.woocommerce-order-received .col2-set .col-1,
  body.woocommerce-order-received .col2-set .col-2 {
    padding: 20px 16px !important;
  }
}

@media (max-width: 480px) {
  body.woocommerce-order-received .woocommerce-thankyou-order-received {
    padding: 18px 12px !important;
    border-radius: 8px !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview {
    border-radius: 8px !important;
  }

  body.woocommerce-order-received .woocommerce-order-overview li {
    padding: 12px 14px !important;
  }

  body.woocommerce-order-received .woocommerce-order-details {
    padding: 16px 12px !important;
    border-radius: 8px !important;
  }

  body.woocommerce-order-received .col2-set .col-1,
  body.woocommerce-order-received .col2-set .col-2 {
    padding: 16px 12px !important;
    border-radius: 8px !important;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   V28 OVERRIDE BLOCK — appended last so it wins over everything above
   Fixes: form grid, column width, card borders/shadows, payment UPE
   ══════════════════════════════════════════════════════════════════════ */

/* 1. Form block */
body.woocommerce-page form.woocommerce-checkout,
body.woocommerce-page .woocommerce-checkout,
body.woocommerce-checkout form.checkout {
  display: block !important;
}

/* 2. 2-col grid */
body.woocommerce-page .e-checkout__container {
  display: grid !important;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  align-items: start !important;
}

/* 3. Collapse at tablet */
@media (max-width: 1024px) {
  body.woocommerce-page .e-checkout__container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* 4. Outer cards: border only */
body.woocommerce-page .e-checkout__order_review,
body.woocommerce-page .e-checkout__order_review-2,
body.woocommerce-page .v28-contact-card,
body.woocommerce-page .v28-address-card,
body.woocommerce-page .woocommerce-shipping-fields,
body.woocommerce-page .woocommerce-additional-fields,
body.woocommerce-page .e-coupon-box {
  box-shadow: none !important;
  border: 1.4px solid #eeecea !important;
}

/* 5. Inner WC wrapper: strip everything */
body.woocommerce-page .woocommerce-checkout-review-order {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

/* 6. Payment: single block card */
body.woocommerce-page .wc_payment_methods.payment_methods {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 16px 0 0 !important;
}
body.woocommerce-page .wc_payment_methods .wc_payment_method {
  display: block !important;
  border: 1.4px solid #eeecea !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce-page .wc_payment_methods .wc_payment_method input[type="radio"] { display: none !important; }
body.woocommerce-page .wc_payment_methods .wc_payment_method > label {
  display: flex !important;
  align-items: center !important;
  padding: 12px 18px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .7px !important;
  color: #9e9898 !important;
  border-bottom: 1px solid #f0eeee !important;
  pointer-events: none !important;
  margin: 0 !important;
}
body.woocommerce-page .wc_payment_methods .wc_payment_method > label img { display: none !important; }
body.woocommerce-page .wc_payment_methods .payment_box,
body.woocommerce-checkout #payment div.payment_box {
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 16px 18px 18px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}
body.woocommerce-checkout #payment div.payment_box::before { display: none !important; }

/* 7. Hide Stripe description paragraph */
body.woocommerce-page .payment_box > p:first-child { display: none !important; }

/* 8. #order_review inner wrapper — no border/shadow (ID beats class, must use ID) */
body.v28-checkout-page #order_review,
body.woocommerce-page #order_review {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

/* 9. Center "Your Order" heading */
body.woocommerce-page #order_review_heading {
  text-align: center !important;
}

/* 10. No top-margin drift on order card */
body.woocommerce-page .e-checkout__order_review {
  margin-top: 0 !important;
}

/* 11. Mobile: zero payment card padding so Stripe 3-tab row fits */
@media (max-width: 768px) {
  body.woocommerce-page .e-checkout__order_review-2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 10px !important;
  }
  body.woocommerce-page .wc_payment_methods .payment_box,
  body.woocommerce-checkout #payment div.payment_box {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.woocommerce-page .wc_payment_methods .wc_payment_method {
    border-radius: 8px !important;
  }
}
