/*
Theme Name:   Xstore child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      2.2.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/

/* =======================================================
   ExoVolt – XStore Off-Canvas-Warenkorb
   ======================================================= */
.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) {
  width: min(440px, calc(100vw - 16px)) !important;
  max-width: none !important;
  background: #fff !important;
  color: #171a18;
  box-shadow: -18px 0 55px rgba(17, 24, 20, .16);
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .etheme-elementor-off-canvas__close-button {
  top: 18px !important;
  left: 18px !important;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe4e0;
  border-radius: 50%;
  background: #fff;
  color: #303632;
  box-shadow: 0 6px 18px rgba(20, 28, 23, .08);
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .etheme-elementor-off-canvas_content-head {
  min-height: 76px;
  padding: 0 24px 0 68px !important;
  border-bottom: 1px solid #e3e7e4;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .etheme-elementor-off-canvas_content-head > a {
  min-height: 76px;
  justify-content: flex-start !important;
  gap: 10px;
  color: #1b201d;
  text-decoration: none;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .etheme-elementor-off-canvas_content-head-label {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .etheme-elementor-off-canvas_content {
  padding: 20px 24px !important;
  overflow-y: auto;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .cart-widget-products {
  margin: 0 !important;
  padding: 0 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .mini_cart_item {
  position: relative;
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 15px;
  min-height: 112px;
  margin: 0 0 13px !important;
  padding: 14px !important;
  border: 1px solid #e3e7e4 !important;
  border-radius: 14px;
  background: #fff;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .product-mini-image {
  width: 82px !important;
  height: 82px !important;
  display: grid;
  place-items: center;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f7f4;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .product-mini-image picture,
.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .product-mini-image img {
  width: 100% !important;
  height: 100% !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .product-mini-image img {
  max-width: none !important;
  object-fit: contain;
  padding: 6px;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .product-item-right {
  min-width: 0;
  padding: 0 22px 0 0 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .product-title {
  margin: 0 0 6px !important;
  font-size: 13px !important;
  font-weight: 750;
  line-height: 1.35;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .product-title a {
  display: -webkit-box;
  overflow: hidden;
  color: #1b201d !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .variation {
  margin: 0 0 9px !important;
  color: #68706b;
  font-size: 10px;
  line-height: 1.35;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .variation dt {
  display: none;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .variation dd,
.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .variation p {
  margin: 0 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .quantity-wrapper {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .quantity-wrapper .quantity:first-child {
  display: grid !important;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  height: 34px;
  overflow: hidden;
  border: 1px solid #d9dfda;
  border-radius: 9px;
  background: #fff;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .quantity-wrapper .minus,
.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .quantity-wrapper .plus {
  height: 32px;
  display: grid;
  place-items: center;
  background: #f3f5f2 !important;
  color: #313733 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .quantity-wrapper .minus:hover,
.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .quantity-wrapper .plus:hover {
  background: rgba(186, 44, 115, .09) !important;
  color: #ba2c73 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .quantity-wrapper input.qty {
  width: 34px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  text-align: center;
  box-shadow: none !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .descr-box > span.quantity {
  display: none !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .remove_from_cart_button {
  top: 10px !important;
  right: 10px !important;
  width: 25px !important;
  height: 25px !important;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background: #f4f5f3 !important;
  color: #757c77 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .remove_from_cart_button:hover {
  background: rgba(186, 44, 115, .1) !important;
  color: #ba2c73 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .etheme-elementor-off-canvas_content-footer {
  padding: 20px 24px 22px !important;
  border-top: 1px solid #e3e7e4;
  background: #fff;
  box-shadow: 0 -12px 30px rgba(20, 28, 23, .05);
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .btn-view-cart {
  display: none !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .cart-widget-subtotal {
  margin: 0 !important;
  padding: 0 0 13px !important;
  border-bottom: 1px solid #e3e7e4;
  color: #242a26;
  font-size: 15px;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .cart-widget-subtotal .amount {
  font-size: 18px;
  font-weight: 850;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .total-cart-tax {
  margin: 11px 0 16px !important;
  color: #707873;
  font-size: 11px;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .mini-cart-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1.35fr;
  gap: 9px;
  margin: 0 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .mini-cart-buttons .button {
  min-height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #ccd2ce !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #272d29 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  text-align: center;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .mini-cart-buttons .btn-checkout {
  border-color: #ba2c73 !important;
  background: #ba2c73 !important;
  color: #fff !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .mini-cart-buttons .button:hover {
  border-color: #ba2c73 !important;
  color: #ba2c73 !important;
}

.etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .mini-cart-buttons .btn-checkout:hover {
  background: #a42564 !important;
  color: #fff !important;
}

@media (max-width: 480px) {
  .etheme-elementor-off-canvas__main:has(.widget_shopping_cart) {
    width: calc(100vw - 10px) !important;
  }

  .etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .etheme-elementor-off-canvas_content,
  .etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .etheme-elementor-off-canvas_content-footer {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  .etheme-elementor-off-canvas__main:has(.widget_shopping_cart) .mini-cart-buttons {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   📦 Lokale Webfonts für ExoVolt (DSGVO-konform)
   ========================================= */

@font-face {
  font-family: 'Exo2';
  src: url('/wp-content/uploads/fonts/Exo2-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo2';
  src: url('/wp-content/uploads/fonts/Exo2-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo2';
  src: url('/wp-content/uploads/fonts/Exo2-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Questrial';
  src: url('/wp-content/uploads/fonts/Questrial-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/wp-content/uploads/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.pv-price-with-tax {
    color: #666;           /* grau, dezenter */
    font-size: 14px;
}

.pv-price-without-tax {
    color: #ba2c73;        /* dein Exovolt-Magenta */
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-top: 4px;
}
/* ==============================
   ExoVolt Produktsicherheit Style (Korrektur für tab-product_safety)
   ============================== */

#tab-product_safety {
  background: #ffffff;
  border-radius: 12px;
  padding: 26px 30px;
  margin-top: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  font-family: "Exo 2", Inter, sans-serif;
  color: #222;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}

/* Magenta Seitenlinie links */
#tab-product_safety::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #BA2C73;
  border-radius: 4px 0 0 4px;
}

/* Überschrift mit SVG-Blitz */
#tab-product_safety h3 {
  color: #BA2C73;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

/* Blitz-Icon (inline-SVG, Magenta) */
#tab-product_safety h3::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23BA2C73"><path d="M13 2L3 14h7v8l11-13h-8z"/></svg>') no-repeat center center;
  background-size: contain;
}

/* Warnhinweise optisch betont */
#tab-product_safety p.gzd-product-safety-warning {
  color: #BA2C73;
  font-weight: 600;
  background: #fff3f8;
  padding: 10px 14px;
  border-left: 4px solid #BA2C73;
  border-radius: 6px;
  margin-top: 12px;
}

/* Responsive Optimierung */
@media (max-width: 768px) {
  #tab-product_safety {
    padding: 20px 22px;
  }
  #tab-product_safety h3 {
    font-size: 18px;
  }
}
/* ============================================================
   ExoVolt Produktsicherheit – Magenta Download Buttons (Fix)
   ============================================================ */

#tab-product_safety .wc-gzd-product-safety-attachments-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#tab-product_safety .wc-gzd-product-safety-attachments-list li {
  margin: 0;
}

#tab-product_safety .wc-gzd-product-safety-attachments-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #BA2C73, #A62363);
  color: #fff;
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(186, 44, 115, 0.25);
  transition: all 0.25s ease-in-out;
  position: relative;
  overflow: hidden;
}

#tab-product_safety .wc-gzd-product-safety-attachments-list a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  background: url("/wp-content/uploads/icons/exovolt-download.svg") no-repeat center center;
  background-size: contain;
  transition: transform 0.25s ease;
}

#tab-product_safety .wc-gzd-product-safety-attachments-list a:hover::before {
  transform: translateY(2px);
}



#tab-product_safety .wc-gzd-product-safety-attachments-list a::after {
  content: "DOWNLOAD";
  background: rgba(255,255,255,0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

#tab-product_safety .wc-gzd-product-safety-attachments-list a:hover {
  background: linear-gradient(135deg, #d63b89, #BA2C73);
  box-shadow: 0 6px 18px rgba(186, 44, 115, 0.35);
  transform: translateY(-2px);
}

#tab-product_safety .wc-gzd-product-safety-attachments-list a:hover::before {
  transform: translateY(2px);
}

#tab-product_safety .wc-gzd-product-safety-attachments-list a:active {
  transform: translateY(1px);
}

/* Mobile */
@media (max-width: 768px) {
  #tab-product_safety .wc-gzd-product-safety-attachments-list a {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    font-size: 14px;
  }
}
/* =======================================================
   ⚡️ EXOVOLT – Preisdarstellung fix für Single Product
   Basierend auf .pos-static et_column et_col-xs-7 flex-inline ...
   ======================================================= */

/* --- DESKTOP bleibt wie gehabt --- */
.pos-static.et_column.et_col-xs-7.flex-inline.align-items-center.justify-content-end {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

/* --- MOBILE FIX (Portrait & Landscape) --- */
@media (max-width: 767px) {
  .pos-static.et_column.et_col-xs-7.flex-inline.align-items-center.justify-content-end {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 10px !important;
  }

  /* Preis selbst */
  .pos-static.et_column.et_col-xs-7 .price {
    white-space: normal !important;
    line-height: 1.5em !important;
    overflow: visible !important;
    display: block !important;
    text-align: center !important;
    margin: 0 auto 10px auto !important;
  }

  /* Magenta Zusatzzeilen */
  .pos-static.et_column.et_col-xs-7 .price span {
    color: #BA2C73 !important;
    display: inline-block !important;
    vertical-align: top !important;
    white-space: normal !important;
  }

  /* Vorratszeile */
  .pos-static.et_column.et_col-xs-7 p.stock {
    display: block !important;
    margin-bottom: 6px !important;
    text-align: center !important;
  }

  /* Quantity + Buttons Block */
  .pos-static.et_column.et_col-xs-7 form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 12px !important;
  }

  /* Buttons schön mittig */
  .pos-static.et_column.et_col-xs-7 form.cart .button {
    width: 80% !important;
    max-width: 320px !important;
    text-align: center !important;
  }
}

/* --- Animation (optional aus vorheriger Version übernehmen) --- */
.single-product .product-summary .price {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.single-product .product-summary .price.updating {
  opacity: 0.3;
  transform: scale(0.98);
}

.single-product .product-summary .price.updated {
  opacity: 1;
  transform: scale(1);
}
/* 🔋 ExoVolt Button-Style im Off-Canvas-Cart */
.etheme-elementor-off-canvas_content-footer .button,
.etheme-elementor-off-canvas_content-footer .btn-checkout {
  background-color: #BA2C73; /* Magenta ExoVolt */
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.etheme-elementor-off-canvas_content-footer .button:hover,
.etheme-elementor-off-canvas_content-footer .btn-checkout:hover {
  background-color: #8A1E55 !important; /* dunkleres Magenta beim Hover */
  color: #FFD700 !important; /* Gold-Schrift beim Hover */
}
/* ⚡ ExoVolt Gutscheinfeld – final pixel-perfect version */

/* Gesamtcontainer */
.woocommerce-cart .coupon {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 420px;
}

/* Eingabefeld */
#coupon_code {
  flex: 1;
  height: 42px !important;
  border: 1px solid #ccc !important;
  border-right: none !important;
  border-radius: 8px 0 0 8px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
}

/* Button rechts */
input[name="apply_coupon"].btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  padding: 0 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 8px 8px 0 !important;
  transition: all 0.25s ease-in-out !important;
  cursor: pointer !important;
  letter-spacing: 0.5px !important;
  line-height: 1 !important; /* verhindert Über- oder Unterstand */
}

/* Hover – ExoVolt Magenta */
input[name="apply_coupon"].btn:hover {
  background: #BA2C73 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 0 8px rgba(186,44,115,0.3);
}
/* ⚡ ExoVolt Gutscheinfeld – Responsive Angleichen */

/* Nur ab 768 px (Tablet + Desktop) */
@media (min-width: 768px) {
  .woocommerce-cart .coupon {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  #coupon_code {
    flex: 1 !important;
    height: 42px !important;
    border: 1px solid #ccc !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
  }

  input[name="apply_coupon"].btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    padding: 0 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 8px 8px 0 !important;
    line-height: 1 !important;
    transition: all 0.25s ease-in-out !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
  }

  input[name="apply_coupon"].btn:hover {
    background: #BA2C73 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(186,44,115,0.3);
  }
}
.etheme-checkout-page-next-step {
  display: none !important;
}
.stock.step-3 {
  color: #28a745 !important; /* sattes, technisches Grün */
}
/* ExoVolt – WooCommerce Zusatzinfos / Versandkosten */
.wc-gzd-additional-info a,
.shipping-costs-info a {
    color: #333333 !important;
    text-decoration: none;
}

.wc-gzd-additional-info a:hover,
.shipping-costs-info a:hover {
    color: #BA2C73 !important;
}
/* ExoVolt 0% MwSt. Badge */
.etheme-product-grid-image {
    position: relative;
}

.exovolt-zero-vat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 30;

    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    background: #f28b18;
    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;

    border-radius: 4px;
    box-shadow: 0 2px 7px rgba(0,0,0,.14);

    pointer-events: none;
}

/* =======================================================
   ExoVolt – Checkout
   ======================================================= */
body.woocommerce-checkout {
  background: #f7f8f6;
  color: #171a18;
}

body.woocommerce-checkout .site-header.sticky-site-header {
  display: none !important;
}

body.woocommerce-checkout #header.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px max(24px, calc((100vw - 1280px) / 2));
  border: 0;
  border-bottom: 1px solid #e1e6e2;
  background: #fff;
  box-shadow: 0 6px 24px rgba(19, 27, 22, .04);
}

body.woocommerce-checkout #header .header-wrapper,
body.woocommerce-checkout #header .header-main-wrapper,
body.woocommerce-checkout #header .header-main {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-checkout #header .header-main {
  padding: 0 !important;
}

body.woocommerce-checkout #header .et_b_header-logo-img {
  width: auto !important;
  max-width: 145px !important;
  max-height: 46px !important;
  object-fit: contain;
}

body.woocommerce-checkout #header .cart-checkout-nav-simple {
  gap: 10px;
}

body.woocommerce-checkout #header .cart-checkout-nav-simple a {
  color: #727a75;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

body.woocommerce-checkout #header .cart-checkout-nav-simple a:hover,
body.woocommerce-checkout #header .cart-checkout-nav-simple .active,
body.woocommerce-checkout #header .cart-checkout-nav-simple a:nth-of-type(2) {
  color: #ba2c73;
}

body.woocommerce-checkout form.checkout {
  width: min(1280px, calc(100% - 40px));
  margin: 38px auto 70px !important;
}

body.woocommerce-checkout .etheme-elementor-checkout-widgets-contain,
body.woocommerce-checkout .etheme-elementor-cart-checkout-page-wrapper {
  width: 100%;
}

body.woocommerce-checkout .etheme-elementor-cart-checkout-page-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
  gap: 28px;
  align-items: start !important;
}

body.woocommerce-checkout .etheme-elementor-cart-checkout-page-column {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

body.woocommerce-checkout .etheme-elementor-cart-checkout-page-column.first,
body.woocommerce-checkout .etheme-elementor-checkout-page-order-details-inner {
  padding: 30px !important;
  border: 1px solid #e0e5e1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(20, 29, 23, .06);
}

body.woocommerce-checkout .etheme-elementor-cart-checkout-page-column.last {
  position: sticky;
  top: 26px;
}

body.admin-bar.woocommerce-checkout .etheme-elementor-cart-checkout-page-column.last {
  top: 58px;
}

body.woocommerce-checkout .step-title,
body.woocommerce-checkout #order_payment_heading {
  margin: 0 0 22px !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e7e4 !important;
  color: #171a18;
  font-size: 21px !important;
  font-weight: 850 !important;
  letter-spacing: -.025em;
  text-transform: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #billing_state_field {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .form-row label {
  display: block;
  margin: 0 0 7px;
  color: #343a36;
  font-size: 12px;
  font-weight: 750;
}

body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection {
  min-height: 50px !important;
  border: 1px solid #d7ddd8 !important;
  border-radius: 10px !important;
  background: #fbfcfb !important;
  color: #1d221f !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .input-text {
  padding: 0 14px !important;
}

body.woocommerce-checkout textarea.input-text {
  min-height: 110px !important;
  padding: 12px 14px !important;
}

body.woocommerce-checkout .input-text:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection {
  border-color: #ba2c73 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(186, 44, 115, .1) !important;
  outline: 0;
}

body.woocommerce-checkout .select2-selection__rendered {
  line-height: 48px !important;
}

body.woocommerce-checkout .select2-selection__arrow {
  height: 48px !important;
}

body.woocommerce-checkout #order_review {
  display: flex;
  flex-direction: column;
}

body.woocommerce-checkout #order_review > .woocommerce-checkout-review-order-table-wrapper {
  order: 1;
}

body.woocommerce-checkout #order_payment_heading {
  order: 2;
  margin-top: 26px !important;
}

body.woocommerce-checkout #payment {
  order: 3;
}

body.woocommerce-checkout #order_review > .wc-gzd-checkbox-placeholder {
  order: 4;
}

body.woocommerce-checkout #order_review > .wc-gzd-order-submit {
  order: 5;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table-wrapper {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
  background: transparent;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 13px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e8e6 !important;
  color: #4f5752;
  font-size: 12px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table td:last-child {
  text-align: right;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  padding-top: 17px !important;
  color: #171a18;
  font-size: 16px;
  font-weight: 850;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item td {
  padding: 0 0 18px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item img {
  width: 70px !important;
  height: 70px !important;
  margin: 0 12px 0 0 !important;
  padding: 5px;
  border-radius: 10px;
  background: #f4f6f3;
  object-fit: contain;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .variation {
  margin: 7px 0 0;
  color: #717974;
  font-size: 10px;
  line-height: 1.4;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .quantity-wrapper {
  margin-top: 8px;
}

body.woocommerce-checkout #payment {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-checkout .wc_payment_methods {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.woocommerce-checkout .wc_payment_method {
  margin: 0 0 9px !important;
  padding: 14px !important;
  border: 1px solid #dfe4e0 !important;
  border-radius: 11px;
  background: #fff;
}

body.woocommerce-checkout .wc_payment_method:has(input:checked) {
  border-color: #ba2c73 !important;
  background: rgba(186, 44, 115, .035);
  box-shadow: 0 0 0 2px rgba(186, 44, 115, .08);
}

body.woocommerce-checkout .wc_payment_method > input {
  accent-color: #ba2c73;
}

body.woocommerce-checkout .wc_payment_method > label {
  color: #282e2a;
  font-size: 13px;
  font-weight: 800;
}

body.woocommerce-checkout .payment_box {
  margin: 12px 0 0 !important;
  padding: 13px !important;
  border-radius: 9px;
  background: #f4f6f3 !important;
  color: #626a65;
  font-size: 11px;
}

body.woocommerce-checkout .wc-gzd-checkbox-placeholder {
  margin-top: 10px;
}

body.woocommerce-checkout .wc-gzd-checkbox-placeholder .form-row {
  margin: 0 !important;
  padding: 13px !important;
  border: 1px solid #e0e5e1;
  border-radius: 10px;
  background: #f8f9f7;
}

body.woocommerce-checkout .wc-gzd-checkbox-placeholder input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 9px 0 0;
  accent-color: #ba2c73;
}

body.woocommerce-checkout .wc-gzd-checkbox-placeholder label {
  margin: 0;
  color: #505853;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.5;
}

body.woocommerce-checkout #place_order {
  width: 100% !important;
  min-height: 56px;
  margin: 16px 0 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #ba2c73 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .01em;
  box-shadow: 0 12px 26px rgba(186, 44, 115, .22);
}

body.woocommerce-checkout #place_order:hover {
  background: #a42564 !important;
  transform: translateY(-1px);
}

body.woocommerce-checkout .sales-booster-safe-checkout {
  margin-top: 16px !important;
  padding: 16px !important;
  border: 1px solid #e1e5e2;
  border-radius: 12px;
  background: #fafbfa;
}

body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info {
  width: min(1280px, calc(100% - 40px));
  margin: 18px auto !important;
  border-radius: 10px;
}

@media (max-width: 960px) {
  body.woocommerce-checkout .etheme-elementor-cart-checkout-page-wrapper {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .etheme-elementor-cart-checkout-page-column.last {
    position: static;
  }
}

@media (max-width: 600px) {
  body.woocommerce-checkout #header.site-header {
    min-height: 68px;
    padding: 12px;
    overflow-x: auto;
  }

  body.woocommerce-checkout #header .cart-checkout-nav-simple {
    min-width: 560px;
  }

  body.woocommerce-checkout form.checkout {
    width: calc(100% - 20px);
    margin: 18px auto 45px !important;
  }

  body.woocommerce-checkout .etheme-elementor-cart-checkout-page-column.first,
  body.woocommerce-checkout .etheme-elementor-checkout-page-order-details-inner {
    padding: 19px 15px !important;
    border-radius: 14px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
    grid-column: 1 !important;
  }
}
/* =======================================================
   ExoVolt – Checkout Produktmenge sauber darstellen
   ======================================================= */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    width: 100% !important;
    clear: both !important;

    margin: 10px 0 6px 0 !important;
    padding: 0 !important;

    position: relative !important;
}

/* Minus / Menge / Plus */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper .quantity:first-child {
    display: grid !important;
    grid-template-columns: 28px 36px 28px !important;
    align-items: center !important;

    width: 92px !important;
    height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #d9dfda !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
}

/* +/- Buttons */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper .minus,
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper .plus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: #f4f6f3 !important;
    color: #333 !important;

    font-size: 14px !important;
    line-height: 1 !important;
}

/* Mengenfeld */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper input.qty {
    width: 36px !important;
    min-width: 36px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;

    text-align: center !important;
    font-size: 13px !important;
    line-height: 32px !important;
}

/* Preis neben der Mengenwahl sauber positionieren */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper .amount,
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper .woocommerce-Price-amount {
    display: inline-block !important;
    position: static !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
    font-size: 13px !important;
    line-height: 34px !important;
}

/* Germanized Hinweis bekommt eigenen Platz */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.wc-gzd-additional-info {
    display: block !important;
    clear: both !important;

    width: 100% !important;
    margin: 7px 0 0 !important;

    font-size: 10px !important;
    line-height: 1.4 !important;
}
/* =======================================================
   ExoVolt – Checkout Menge + Preis in EINER Zeile
   ======================================================= */

body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    max-width: none !important;

    margin: 10px 8px 6px 0 !important;
    padding: 0 !important;

    vertical-align: middle !important;
    clear: none !important;
}

/* Mengenfeld kompakt halten */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper .quantity:first-child {
    flex: 0 0 auto !important;
    width: 92px !important;
    margin: 0 !important;
}

/* WooCommerce/XStore Mengen-/Preistext daneben */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.product-quantity,
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item span.quantity {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    margin: 10px 0 6px 0 !important;

    vertical-align: middle !important;
    white-space: nowrap !important;

    font-size: 13px !important;
    line-height: 34px !important;
}

/* Preis selbst niemals umbrechen */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.woocommerce-Price-amount {
    white-space: nowrap !important;
}
/* =======================================================
   ExoVolt – Checkout Preis + MwSt.-Vorauswahl sauber
   ======================================================= */

/* Menge + Stückpreis in einer Zeile halten */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .quantity-wrapper,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .product-quantity,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item span.quantity {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .quantity-wrapper {
    margin: 10px 10px 6px 0 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .product-quantity,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item span.quantity {
    margin: 10px 0 6px 0 !important;
    font-size: 14px !important;
    line-height: 34px !important;
}

/* MwSt.-Vorauswahl als eigene Zeile nach rechts schieben */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.variation,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .wc-item-meta {
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    row-gap: 2px !important;

    margin: 4px 0 0 108px !important; /* nach rechts eingerückt */
    padding: 0 !important;

    font-size: 11px !important;
    line-height: 1.4 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.variation dt,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .wc-item-meta dt {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.variation dd,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .wc-item-meta dd,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.variation p,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .wc-item-meta p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Der lange Text darf umbrechen, aber sauber */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .wc-item-meta dd,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item dl.variation dd {
    overflow-wrap: anywhere !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .product-quantity,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item span.quantity {
    margin-left: 14px !important;
}
/* =======================================================
   ExoVolt Checkout – NUR Mengenauswahl nach rechts
   ======================================================= */

/* Mengenblock selbst */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    margin: 10px 0 6px 110px !important;

    clear: none !important;
}

/* - 1 + zusammenhalten */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item
.quantity-wrapper .quantity:first-child {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* MwSt.-Vorauswahl wieder NICHT verschieben */
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item dl.variation,
body.woocommerce-checkout
.woocommerce-checkout-review-order-table
.cart_item .wc-item-meta {
    margin-left: 0 !important;
}
/* =======================================================
   ExoVolt – Express Payment bei PV-Produkten deaktivieren
   ======================================================= */

/*
 * Apple Pay / Google Pay nur auf PV-Single-Product-Seiten
 * ausblenden.
 *
 * Im Warenkorb und Checkout bleiben die Zahlungsarten
 * davon unberührt.
 */

body.single-product.exo-single-pv-product
#wc-stripe-payment-request-wrapper,

body.single-product.exo-single-pv-product
#wc-stripe-payment-request-button,

body.single-product.exo-single-pv-product
#wcpay-payment-request-wrapper,

body.single-product.exo-single-pv-product
#wcpay-payment-request-button,

body.single-product.exo-single-pv-product
.wc-stripe-product-checkout-container,

body.single-product.exo-single-pv-product
.wcpay-express-checkout-wrapper,

body.single-product.exo-single-pv-product
.wc-block-components-express-payment,

body.single-product.exo-single-pv-product
.wc-block-components-express-payment-continue-rule {
    display: none !important;
}
.exovolt-product-brand{
    display:flex;
    align-items:center;
    min-height:42px;
    margin:10px 0 8px;
}

.exovolt-product-brand img{
    display:block;
    width:auto;
    max-width:150px;
    max-height:44px;
    object-fit:contain;
}
/* ==========================================================
   ExoVolt – WooCommerce Thank You Page
   In die style.css des aktiven XStore Child Themes einfügen.
   ========================================================== */

body.woocommerce-order-received .page-wrapper,
body.woocommerce-order-received .content-page {
    background: #f6f7f9;
}

body.woocommerce-order-received .woocommerce {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.exovolt-thankyou {
    --exo-magenta: #BA2C73;
    --exo-black: #111318;
    --exo-text: #3e424a;
    --exo-muted: #757b85;
    --exo-line: #e5e7eb;
    --exo-bg: #f6f7f9;
    --exo-white: #ffffff;
    padding: 18px 0 70px;
    color: var(--exo-text);
}

/* Hero */
.exo-thankyou-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    margin: 0 0 24px;
    background: var(--exo-white);
    border: 1px solid var(--exo-line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(17, 19, 24, 0.05);
    overflow: hidden;
}

.exo-thankyou-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--exo-magenta);
}

.exo-thankyou-hero__check {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(186, 44, 115, 0.10);
    color: var(--exo-magenta);
    font-size: 28px;
    font-weight: 800;
}

.exo-thankyou-hero__eyebrow,
.exo-section-heading > span {
    margin: 0 0 6px;
    color: var(--exo-magenta);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .12em;
}

.exo-thankyou-hero h1 {
    margin: 0;
    color: var(--exo-black);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    font-weight: 800;
}

.exo-thankyou-hero__text {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--exo-muted);
    font-size: 16px;
    line-height: 1.65;
}

/* Overview cards */
.exo-order-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}

.exo-order-summary__card {
    min-width: 0;
    padding: 20px 18px;
    background: var(--exo-white);
    border: 1px solid var(--exo-line);
    border-radius: 14px;
}

.exo-order-summary__card span {
    display: block;
    margin-bottom: 7px;
    color: var(--exo-muted);
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 700;
}

.exo-order-summary__card strong {
    display: block;
    color: var(--exo-black);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.exo-order-summary__card--total {
    border-color: rgba(186, 44, 115, .28);
    background: linear-gradient(180deg, rgba(186,44,115,.045), #fff);
}

.exo-order-summary__card--total strong {
    color: var(--exo-magenta);
    font-size: 18px;
}

/* Remove old XStore overview if another plugin injects it */
.exovolt-thankyou > .woocommerce-order-overview-wrapper,
.exovolt-thankyou > .woocommerce-order-overview {
    display: none !important;
}

/* WooCommerce generic sections */
.exovolt-thankyou .woocommerce-order-details,
.exovolt-thankyou .woocommerce-customer-details,
.exovolt-thankyou .woocommerce-bacs-bank-details,
.exovolt-thankyou .wc-bacs-bank-details,
.exovolt-thankyou .woocommerce-order-downloads {
    margin: 28px 0 0;
    padding: 28px;
    background: var(--exo-white);
    border: 1px solid var(--exo-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(17, 19, 24, 0.035);
}

.exovolt-thankyou .woocommerce-order-details__title,
.exovolt-thankyou .woocommerce-column__title,
.exovolt-thankyou .wc-bacs-bank-details-heading,
.exovolt-thankyou .woocommerce-order-downloads__title,
.exovolt-thankyou h2 {
    margin-top: 0;
    color: var(--exo-black);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: none;
}

/* Bank transfer box */
.exovolt-thankyou .woocommerce-bacs-bank-details,
.exovolt-thankyou .wc-bacs-bank-details {
    position: relative;
    border-left: 5px solid var(--exo-magenta);
}

.exovolt-thankyou .wc-bacs-bank-details-account-name {
    margin-top: 20px;
    font-size: 17px;
    font-weight: 800;
    color: var(--exo-black);
}

.exovolt-thankyou ul.wc-bacs-bank-details {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    box-shadow: none;
    border: 0;
}

.exovolt-thankyou ul.wc-bacs-bank-details li {
    margin: 0;
    padding: 14px 16px;
    background: #f7f8fa;
    border: 1px solid var(--exo-line);
    border-radius: 10px;
}

/* Order table */
.exovolt-thankyou .woocommerce-table--order-details {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.exovolt-thankyou .woocommerce-table--order-details th,
.exovolt-thankyou .woocommerce-table--order-details td {
    padding: 17px 14px;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--exo-line);
    vertical-align: middle;
}

.exovolt-thankyou .woocommerce-table--order-details thead th {
    color: var(--exo-muted);
    background: #f7f8fa;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 800;
}

.exovolt-thankyou .woocommerce-table--order-details .product-name a {
    color: var(--exo-black);
    font-weight: 700;
}

.exovolt-thankyou .woocommerce-table--order-details tfoot th,
.exovolt-thankyou .woocommerce-table--order-details tfoot td {
    background: #fbfbfc;
}

.exovolt-thankyou .woocommerce-table--order-details tfoot tr:last-child th,
.exovolt-thankyou .woocommerce-table--order-details tfoot tr:last-child td {
    color: var(--exo-black);
    font-size: 18px;
    font-weight: 800;
    border-bottom: 0;
}

.exovolt-thankyou .woocommerce-table--order-details tfoot tr:last-child td {
    color: var(--exo-magenta);
}

/* Addresses */
.exovolt-thankyou .woocommerce-customer-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.exovolt-thankyou .woocommerce-customer-details > h2,
.exovolt-thankyou .woocommerce-customer-details > .woocommerce-customer-details--phone,
.exovolt-thankyou .woocommerce-customer-details > .woocommerce-customer-details--email {
    grid-column: 1 / -1;
}

.exovolt-thankyou .woocommerce-columns--addresses {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.exovolt-thankyou .woocommerce-column--billing-address,
.exovolt-thankyou .woocommerce-column--shipping-address {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    padding: 22px !important;
    background: #f7f8fa;
    border: 1px solid var(--exo-line);
    border-radius: 12px;
}

.exovolt-thankyou address {
    color: var(--exo-text);
    line-height: 1.75;
    font-style: normal;
}

/* Next steps */
.exo-next-steps {
    margin-top: 28px;
    padding: 30px;
    background: var(--exo-black);
    border-radius: 18px;
}

.exo-next-steps .exo-section-heading h2 {
    margin: 0;
    color: #fff;
}

.exo-next-steps__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.exo-next-step {
    position: relative;
    padding: 20px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
}

.exo-next-step.is-active {
    border-color: rgba(186,44,115,.75);
    background: rgba(186,44,115,.12);
}

.exo-next-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.exo-next-step.is-active .exo-next-step__number {
    background: var(--exo-magenta);
}

.exo-next-step strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.exo-next-step p {
    margin: 7px 0 0;
    color: rgba(255,255,255,.66);
    font-size: 13px;
    line-height: 1.55;
}

/* Failed payment */
.exo-order-failed {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border: 1px solid #ead7d7;
    border-radius: 16px;
}

.exo-order-failed__icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fbecec;
    color: #a72b2b;
    font-size: 22px;
    font-weight: 800;
}

.exo-order-failed h1 {
    margin: 0 0 6px;
    color: var(--exo-black);
    font-size: 28px;
}

.exo-order-failed p {
    margin: 0;
}

.exo-order-failed__actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.exo-order-failed__actions .button {
    border-radius: 9px;
}

/* Remove misplaced checkout privacy paragraph on order-received page only */
body.woocommerce-order-received .woocommerce-privacy-policy-text {
    display: none !important;
}

/* Misc spacing from XStore/WooCommerce */
body.woocommerce-order-received .woocommerce-order > p:first-child,
.exovolt-thankyou .woocommerce-notice--success {
    margin-top: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .exo-order-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exo-order-summary__card--total {
        grid-column: span 1;
    }

    .exo-next-steps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 767px) {
    .exovolt-thankyou {
        padding-top: 8px;
    }

    .exo-thankyou-hero {
        align-items: flex-start;
        gap: 15px;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .exo-thankyou-hero__check {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .exo-thankyou-hero h1 {
        font-size: 27px;
    }

    .exo-thankyou-hero__text {
        font-size: 14px;
    }

    .exo-order-summary {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .exo-order-summary__card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 15px 16px;
    }

    .exo-order-summary__card span {
        margin: 0;
    }

    .exo-order-summary__card strong {
        text-align: right;
    }

    .exovolt-thankyou .woocommerce-order-details,
    .exovolt-thankyou .woocommerce-customer-details,
    .exovolt-thankyou .woocommerce-bacs-bank-details,
    .exovolt-thankyou .wc-bacs-bank-details,
    .exovolt-thankyou .woocommerce-order-downloads,
    .exo-next-steps {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .exovolt-thankyou ul.wc-bacs-bank-details,
    .exovolt-thankyou .woocommerce-customer-details,
    .exovolt-thankyou .woocommerce-columns--addresses,
    .exo-next-steps__grid {
        grid-template-columns: 1fr;
    }

    .exovolt-thankyou .woocommerce-table--order-details th,
    .exovolt-thankyou .woocommerce-table--order-details td {
        padding: 13px 8px;
        font-size: 13px;
    }
}