/*
Theme Name: DeBebe Child
Author: VamTam
Author URI: https://vamtam.com
Template: vamtam-debebe
*/

/* =========================================================
   ECO BOOM – PDP (Variations + Price + CTA Meta) – CLEAN
   Goal: minimal overrides, stable UX, performance-friendly
   ========================================================= */

/* ---------------------------------------------------------
   0) Elementor/Vamtam variations table spacing fix
   --------------------------------------------------------- */
.elementor-widget-woocommerce-product-add-to-cart.vamtam-has-theme-widget-styles
form.cart.variations_form table.variations{
  border-collapse: collapse;
  border-spacing: 0;
}

.elementor-widget-woocommerce-product-add-to-cart.vamtam-has-theme-widget-styles
form.cart.variations_form .variations th,
.elementor-widget-woocommerce-product-add-to-cart.vamtam-has-theme-widget-styles
form.cart.variations_form .variations td{
  margin: 0 !important;
  padding: 8px 0 !important;
  line-height: 1.25 !important;
  vertical-align: middle;
}

@media (max-width: 640px){
  .elementor-widget-woocommerce-product-add-to-cart.vamtam-has-theme-widget-styles
  form.cart.variations_form .variations th,
  .elementor-widget-woocommerce-product-add-to-cart.vamtam-has-theme-widget-styles
  form.cart.variations_form .variations td{
    padding: 7px 0 !important;
  }
}

/* ---------------------------------------------------------
   1) EB chips (if still used anywhere)
   - keep select for Woo, hide visually (not display:none)
   --------------------------------------------------------- */
form.variations_form .eb-var-wrap{ position: relative; }
form.variations_form .eb-var-wrap select{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form.variations_form .eb-var-group{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 14px;
}

@media (max-width: 640px){
  form.variations_form .eb-var-group{
    gap: 10px;
    margin: 9px 0 12px;
  }
}

form.variations_form .eb-var-group .eb-var-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 4px;

  background: #fff !important;
  color: #111 !important;

  border: 1px solid #bdbdbd;
  box-shadow: none;
  text-decoration: none;

  font-size: 16px;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;
  user-select: none;
}

form.variations_form .eb-var-group .eb-var-btn:hover,
form.variations_form .eb-var-group .eb-var-btn.is-active{
  border-color: #111;
}

form.variations_form .eb-var-group .eb-var-btn *{ color: inherit; }


/* ---------------------------------------------------------
   2) Price (single_variation_wrap)
   - keep sizes as before
   - SALE (ins) big on the left
   - REGULAR (del) smaller on the right
   --------------------------------------------------------- */
.single_variation_wrap{
  margin: 18px 0 24px;
}

/* cover both markup styles: <p class="price"> or only .woocommerce-variation-price */
.single_variation_wrap .price,
.single_variation_wrap .woocommerce-variation-price{
  display: flex !important;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  width: 100%;
}

/* make sure wrapper is not right-aligned by parent text-align */
.single_variation_wrap .price,
.single_variation_wrap .woocommerce-variation-price{
  justify-content: flex-start !important;
}

/* --- CURRENT / SALE price (ins) --- */
.single_variation_wrap ins{
  order: 1;
  background: transparent;
  text-decoration: none;
}

.single_variation_wrap ins .woocommerce-Price-amount.amount{
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  color: #0b2239;
}

.single_variation_wrap ins .woocommerce-Price-currencySymbol{
  font-size: 0.75em;
  font-weight: 700;
  margin-left: 2px;
}

/* --- OLD / REGULAR price (del) --- */
.single_variation_wrap del{
  order: 2;
  margin-left: 0 !important;   /* was auto -> pushed it to far right */
  padding-left: 4px;          /* spacing right after new price */
  opacity: 1;
}

.single_variation_wrap del,
.single_variation_wrap del *{
  text-decoration: line-through !important;
  color: #8a8a8a !important;
  font-weight: 500;
}

.single_variation_wrap del .woocommerce-Price-amount.amount{
  font-size: 22px;
  line-height: 1.1;
}

/* hide Woo variation availability */
.single_variation_wrap .woocommerce-variation-availability{
  display: none !important;
}

/* Checkout (/objednavka): hide second form column */
.woocommerce-checkout .col2-set .col-2,
.woocommerce-checkout form.checkout .col2-set .col-2{
  display: none !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-1{
  float: none !important;
  width: 100% !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* NON-sale products: price is rendered as .woocommerce-variation-price > .amount (no .price wrapper) */
.single_variation_wrap .woocommerce-variation-price > .woocommerce-Price-amount.amount{
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  color: #0b2239 !important;
}

.single_variation_wrap .woocommerce-variation-price > .woocommerce-Price-amount.amount .woocommerce-Price-currencySymbol{
  font-size: 0.75em !important;
  font-weight: 700 !important;
  margin-left: 2px !important;
}

/* ---------------------------------------------------------
   3) CTA spacing (variable add-to-cart wrapper)
   - keep it consistent across Elementor widget states
   --------------------------------------------------------- */
form.cart .woocommerce-variation-add-to-cart{
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

/* ---------------------------------------------------------
   4) Stock + Delivery block BELOW CTA
   --------------------------------------------------------- */
.eb-pdp-meta{
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;

  font-size: 15px;
  line-height: 1.4;
  color: #1b1b1b;
}

.eb-pdp-meta .eb-stock,
.eb-pdp-meta .eb-delivery{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* fixed icon column */
.eb-pdp-meta .dot,
.eb-pdp-meta .icon{
  width: 26px;
  height: 26px;
  flex: 0 0 26px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* dot */
.eb-pdp-meta .dot{
  background: transparent;
  position: relative;
}
.eb-pdp-meta .dot::before{
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4caf50;
  display: block;
}

/* truck emoji */
.eb-pdp-meta .icon{
  font-size: 18px;
  line-height: 1;
}

.eb-pdp-meta .eb-stock{ font-weight: 600; }

@media (max-width: 640px){
  .single_variation_wrap{ margin: 16px 0 0px; }
}

/* =========================================================
   ECO BOOM – Variation Swatches for WooCommerce (WVS)
   Layout: 4 columns desktop, 2 columns mobile
   2-line tile: title + sub (term description)
   ========================================================= */

/* hide duplicate selected label above swatches */
.woo-variation-swatches .woo-selected-variation-item-name{
  display: none !important;
}

/* grid wrapper (wins over plugin flex) */
.woo-variation-swatches .variable-items-wrapper{
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}

/* mobile: 2 cols */
@media (max-width: 640px){
  .woo-variation-swatches .variable-items-wrapper{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* remove plugin margins (grid handles spacing) */
.woo-variation-swatches .variable-items-wrapper .variable-item{
  margin: 0 !important;
}

/* base tile look */
.woo-variation-swatches
.variable-items-wrapper
.variable-item.button-variable-item{
  width: 100% !important;
  height: auto !important;

  background: #fff !important;
  border: 1px solid #d7dbe0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;

  transition: border-color .15s ease;
}

/* hover: subtle, no thick border/halo */
.woo-variation-swatches
.variable-items-wrapper
.variable-item.button-variable-item:hover{
  border-color: #b6bcc3 !important;
}

/* selected: clean, not thick */
.woo-variation-swatches
.variable-items-wrapper
.variable-item.button-variable-item.selected,
.woo-variation-swatches
.variable-items-wrapper
.variable-item.button-variable-item.selected:hover{
  border-color: #111 !important;
  box-shadow: none !important;
}

/* inner content becomes block (prevents odd centering issues) */
.woo-variation-swatches
.variable-items-wrapper
.variable-item.button-variable-item
.variable-item-contents{
  display: block !important;
  padding: 14px 16px !important;
  text-align: left !important;
}

/* Title (term name) */
.woo-variation-swatches
.variable-items-wrapper
.variable-item.button-variable-item
.variable-item-span{
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  padding: 0 !important;
}

/* Subtext injected by JS (.eb-var-sub) */
.woo-variation-swatches .eb-var-sub{
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.2;
  color: #6b7280;
}

/* disabled/no-stock */
.woo-variation-swatches
.variable-items-wrapper
.variable-item.button-variable-item.disabled,
.woo-variation-swatches
.variable-items-wrapper
.variable-item.button-variable-item.no-stock{
  opacity: .55;
  cursor: not-allowed;
}
/* Hide Elementor page title (full layout) */
.layout-full.elementor-page-title{
  display: none !important;
}

.single_variation_wrap .eb-unit-price{
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.2;
  color: #6b7280;
  font-weight: 600;
}

.product-listing-benefit{
  font-size:14px;
  color:#666;
  margin:6px 0 2px;
  line-height:1.3;
}

/* Zarovnání benefit textu ve výpisu produktů */
.woocommerce ul.products li.product .product-listing-benefit {
    margin-left: 0;
    padding-left: 15px; /* desktop */
    padding-right: 0;
    text-align: left;
    display: block;
    margin-bottom: 12px;
    margin-top: 2px;
}

/* Jemné vertikální odsazení */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin-bottom: 4px;
}

.woocommerce ul.products li.product .price {
    margin-top: 0;
}

/* Cena "Od..." */
.woocommerce ul.products li.product .ecb-price-from {
    display: block;
    margin-left: 0;
	font-size: 20px;
}

/* 📱 Mobil */
@media (max-width: 767px) {

    .woocommerce ul.products li.product .product-listing-benefit {
        padding-left: 10px;
    }

    .woocommerce ul.products li.product .ecb-price-from {
        margin-left: 0;
    }
}

/* Tučný název produktu ve výpisu */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-weight: 600;
}
.ecb-size-hint{
  display:inline-block;
  margin-left:8px;
  font-weight:400;
  font-size:13px;
  color:#777;
}

/* ========== ECO BOOM: Doprava + progress bar (Cart + Checkout) ========== */

/* Cart only: hide default shipping block (Shipment 1 + methods + destination) */
.woocommerce-cart .cart_totals table.shop_table tr.shipping{
  display: none !important;
}

/* 1) Základ TD + přebití theme pravidla text-align:end */
.ecoboom-shipbar td{
  padding-top: 18px;
  padding-left: 0 !important;
  text-align: left !important;
}

/* V checkoutu i cartu je shipbar přes oba sloupce */
.woocommerce-checkout-review-order-table .ecoboom-shipbar td[colspan="2"],
.woocommerce .cart_totals .ecoboom-shipbar td[colspan="2"]{
  width: 100%;
}

/* 2) Jednoduché vertikální rozložení */
.ecoboom-shipbar__wrap{
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: inherit;
  color: inherit;
}

/* 3) Horní řádek: Doprava vlevo, cena vpravo */
.ecoboom-shipbar__topline{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ecoboom-shipbar__label{
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
}

/* Keep subtotal and shipping row typography visually consistent */
.woocommerce .cart_totals .cart-subtotal th,
.woocommerce .cart_totals .cart-subtotal td,
.woocommerce .cart_totals .ecoboom-shipbar__value,
.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .ecoboom-shipbar__value{
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

/* Dividers between subtotal / shipping / total sections */
.woocommerce .cart_totals table.shop_table tr.cart-subtotal th,
.woocommerce .cart_totals table.shop_table tr.cart-subtotal td,
.woocommerce .cart_totals table.shop_table tr.ecoboom-shipbar td,
.woocommerce .cart_totals table.shop_table tr.order-total th,
.woocommerce .cart_totals table.shop_table tr.order-total td,
.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tr.ecoboom-shipbar td,
.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td{
  border-top: 1px solid #d9e2e7;
}

.woocommerce .cart_totals table.shop_table tr.cart-subtotal th,
.woocommerce .cart_totals table.shop_table tr.cart-subtotal td,
.woocommerce .cart_totals table.shop_table tr.ecoboom-shipbar td,
.woocommerce .cart_totals table.shop_table tr.order-total th,
.woocommerce .cart_totals table.shop_table tr.order-total td,
.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tr.ecoboom-shipbar td,
.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td{
  padding-top: 18px;
}

/* Shipbar should sit directly under system shipping row */
.woocommerce .cart_totals table.shop_table tr.ecoboom-shipbar td,
.woocommerce-checkout-review-order-table tr.ecoboom-shipbar td{
  border-top: 0 !important;
  padding-top: 8px !important;
}

/* Cart only: divider between subtotal and custom shipping block */
.woocommerce .cart_totals table.shop_table tr.ecoboom-shipbar td{
  border-top: 1px solid #d9e2e7 !important;
  padding-top: 18px !important;
}

.ecoboom-shipbar__value{
  font-family: inherit;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.ecoboom-shipbar__fromprice{
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.woocommerce .cart_totals .ecoboom-shipbar__topline .ecoboom-shipbar__label,
.woocommerce .cart_totals .ecoboom-shipbar__topline .ecoboom-shipbar__value,
.woocommerce .cart_totals .ecoboom-shipbar__topline .ecoboom-shipbar__from{
  font-family: var(--vamtam-body-font-family, inherit) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--vamtam-accent-color-3, inherit) !important;
  line-height: 1.25;
}

.ecoboom-shipbar__from{
  opacity: .8;
}

.ecoboom-shipbar__price--strike{
  text-decoration: line-through;
  opacity: .55;
}

.ecoboom-shipbar__free{
  font-weight: 900;
  letter-spacing: .02em;
}

/* 4) Message pod cenou */
.ecoboom-shipbar__msg{
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.35;
  opacity: .95;
  text-align: left !important;
}

.ecoboom-shipbar__msg--success{
  font-weight: 700;
}

/* 5) Progress bar */
.ecoboom-shipbar__bar{
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  overflow: hidden;
  position: relative;
  margin: 0;
}

.ecoboom-shipbar__fill{
  height: 100%;
  width: var(--p, 0%);
  border-radius: 999px;
  background: #F6B51D; /* default (žlutá/oranžová) */
  animation: ecoboomFill 900ms cubic-bezier(.2,.8,.2,1) both;
  position: relative;
}

/* 6) Zelený progress při dopravě zdarma */
.ecoboom-shipbar--free .ecoboom-shipbar__fill{
  background: #22C55E;
}

/* Shine efekt */
.ecoboom-shipbar__fill::after{
  content:"";
  position:absolute;
  top:0; left:-40%;
  width:40%;
  height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: ecoboomShine 1400ms ease-in-out infinite;
  opacity: .7;
}

/* 7) Hint pod progress barem */
.ecoboom-shipbar__hint{
  margin: 0;
  font-family: inherit;
  font-size: 12px;
  opacity: .65;
  text-align: left !important;
}

/* 8) Checkout item thumbnail v "Your Order" */
.woocommerce-checkout-review-order-table tr.cart_item td{
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  vertical-align: top;
}

.woocommerce-checkout-review-order-table tr.cart_item .product-name{
  padding-right: 14px !important;
}

.woocommerce-checkout-review-order-table .product-name .ecoboom-checkout-item{
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-areas:
    "thumb name"
    "thumb qty";
  column-gap: 10px;
  align-items: center;
  width: 100%;
}

.woocommerce-checkout-review-order-table .product-name .ecoboom-checkout-item__thumb{
  grid-area: thumb;
  width: 52px;
  height: 52px;
  display: block;
  float: none !important;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 52px;
}

.woocommerce-checkout-review-order-table .product-name .ecoboom-checkout-item__name{
  grid-area: name;
  display: block;
  min-height: 0;
  line-height: 1.28;
  font-size: 15px;
  width: 100%;
}

.woocommerce-checkout-review-order-table .product-name .ecoboom-checkout-item__qty{
  grid-area: qty;
  display: block;
  margin-top: 0;
  line-height: 1.25;
  font-size: 14px;
  opacity: .95;
}

/* Nech cenu jen na obsah, aby název produktu měl co nejvíce šířky */
.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total{
  width: 1%;
  white-space: nowrap;
  vertical-align: top;
  padding-top: 12px !important;
  font-size: 16px;
}

.ecoboom-checkout-legal-note{
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #4b5563;
}

.ecoboom-checkout-legal-note a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Checkout billing fields: consistent vertical spacing */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row{
  margin-bottom: 16px !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row:last-child{
  margin-bottom: 0 !important;
}

.woocommerce-checkout #billing_email_field .ecoboom-email-login-hint{
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #d5e4d8;
  border-radius: 10px;
  background: #f4fbf6;
  color: #17352a;
  font-size: 14px;
  line-height: 1.4;
}

.woocommerce-checkout #billing_email_field .ecoboom-email-login-hint a{
  color: #0f6f4f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* My account register tweaks */
.woocommerce-account .woocommerce-privacy-policy-text{
  display: none !important;
}

.woocommerce-account .vamtam-pass-notice{
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

/* Consistent spacing for full-width checkout rows (desktop + mobile) */
.woocommerce-checkout form .form-row.form-row-wide{
  margin-bottom: 16px !important;
}

#ywar_receive_requests_field{
  padding-top: 20px !important;
}

/* Checkout country Select2: hide search input in opened dropdown */
.woocommerce-checkout .select2-container--open .select2-search--dropdown{
  display: none !important;
}

/* Checkout: hide default login toggle title (custom login flow is used). */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle.e-checkout-secondary-title,
.woocommerce-checkout .e-checkout-secondary-title.woocommerce-form-login-toggle{
  display: none !important;
}

/* 9a) Checkout payment method: always show radio selector */
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]{
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  width: 16px;
  height: 16px;
  margin: 0 10px 0 0;
  appearance: auto !important;
  -webkit-appearance: radio !important;
  flex: 0 0 16px !important;
}

.woocommerce-checkout #payment ul.payment_methods li{
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  grid-template-areas:
    "radio label"
    "box box";
  column-gap: 12px;
  row-gap: 10px;
  align-items: center;
}

@media (max-width: 1024px){
  .woocommerce-checkout #payment ul.payment_methods li{
    grid-template-columns: 36px minmax(0, 1fr) !important;
  }
}

.woocommerce-checkout #payment ul.payment_methods li > input[type="radio"]{
  grid-area: radio;
  margin: 0 !important;
  align-self: center;
}

.woocommerce-checkout #payment ul.payment_methods li > label{
  grid-area: label;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  line-height: 1.28 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.woocommerce-checkout #payment ul.payment_methods li > input[type="radio"]:checked + label{
  font-weight: 700 !important;
}

/* Checkout checkboxes: normalize iOS/desktop rendering */
.woocommerce-checkout form.checkout input[type="checkbox"].woocommerce-form__input-checkbox,
.woocommerce-checkout form.checkout input[type="checkbox"]{
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  margin: 0 10px 0 0 !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  display: inline-block !important;
  vertical-align: middle !important;
  position: relative !important;
  flex: 0 0 16px !important;
  transform: none !important;
  -webkit-transform: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li > label > img,
.woocommerce-checkout #payment ul.payment_methods li > label > svg{
  order: -1 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  display: inline-block !important;
  margin: 0 !important;
  float: none !important;
  vertical-align: middle !important;
}

.woocommerce-checkout #payment ul.payment_methods li.payment_method_comgate_applepay > label > img,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_comgate_googlepay > label > img,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_comgate_applepay > label > svg,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_comgate_googlepay > label > svg{
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
}

.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs > label > img.ecoboom-bacs-gateway-icon{
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  display: inline-block !important;
  margin: 0 !important;
  float: none !important;
  vertical-align: middle !important;
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box{
  grid-area: box;
  margin-top: 0 !important;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

/* Vamtam Elementor override guard for Comgate methods */
.elementor-widget-woocommerce-checkout-page.vamtam-has-theme-widget-styles .woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_comgate_"] > label{
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.elementor-widget-woocommerce-checkout-page.vamtam-has-theme-widget-styles .woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_comgate_"] > label > img,
.elementor-widget-woocommerce-checkout-page.vamtam-has-theme-widget-styles .woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_comgate_"] > label > svg{
  order: -1 !important;
  float: none !important;
  margin: 0 !important;
}

/* Checkout shipping labels: One icon + better alignment */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td{
  padding-top: 8px !important;
}

.woocommerce-checkout-review-order-table tr.cart-discount + tr.woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table tr.cart-discount + tr.woocommerce-shipping-totals td{
  padding-top: 6px !important;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method{
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li .ecoboom-shipping-method-label{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li .ecoboom-shipping-method-label__icon{
  width: 40px;
  height: 40px;
  min-width: 40px;
  object-fit: contain;
  vertical-align: middle;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li .ecoboom-shipping-method-label__text{
  display: inline-block;
  line-height: 1.25;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  row-gap: 10px;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > input[type="radio"]{
  margin-top: 0 !important;
  align-self: center;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > label{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > label .ecoboom-shipping-method-label{
  min-width: 0;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > input[type="radio"]:checked + label,
.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > input[type="radio"]:checked + label .ecoboom-shipping-method-label__text{
  font-weight: 700 !important;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > label .amount,
.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > label .woocommerce-Price-amount{
  white-space: nowrap;
}

/* One Point picker: place CTA + selected place below method row */
.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > *:not(input):not(label){
  flex: 0 0 100%;
  margin-left: 34px;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method .ecoboom-pickup-picker-trigger{
  display: none !important;
}

.woocommerce-checkout #wdo-inline-launcher{
  display: none !important;
}

.woocommerce-checkout #wdo-inline-wrap{
  margin-top: 4px !important;
}

.woocommerce-checkout #wdo-pickup-pill{
  margin-top: 4px !important;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > *:not(input):not(label) [class*="selected"],
.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > *:not(input):not(label) [class*="pickup-point"],
.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > *:not(input):not(label) [class*="point-info"],
.woocommerce-checkout-review-order-table .shipping ul#shipping_method li > *:not(input):not(label) [class*="branch"]{
  margin-top: 8px;
  padding: 12px 18px;
  border: 1px solid #24b24a;
  border-radius: 14px;
  background: #f2fff6;
  color: #10253e;
  font-weight: 700;
}

.woocommerce-checkout-review-order-table .shipping ul#shipping_method .ecoboom-pickup-edit{
  margin-left: 10px;
  color: #10253e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce-checkout #wdo-pickup-pill .ecoboom-pickup-edit{
  margin-left: 8px;
  color: #10253e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767px){
  .woocommerce-checkout-review-order-table .shipping ul#shipping_method li > *:not(input):not(label){
    margin-left: 30px;
  }
}

@media (min-width: 768px){
  .woocommerce-cart .ecoboom-qty-btn{
    display: none !important;
  }
}

@media (max-width: 767px){
  /* Cart mobile: card layout inspired by provided reference */
  .woocommerce-cart table.shop_table_responsive tr.cart_item{
    display: grid;
    grid-template-columns: 56px 1fr auto;
    grid-template-areas:
      "thumb name remove"
      "qty   price subtotal";
    gap: 8px 10px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-height: 0;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td::before{
    display: none !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail{
    grid-area: thumb;
    display: block !important;
    align-self: start;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail img{
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name{
    grid-area: name;
    align-self: center;
    font-size: 14px;
    line-height: 1.22;
    font-weight: 600;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove{
    grid-area: remove;
    justify-self: end;
    align-self: start;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove .remove{
    margin: 0 !important;
    opacity: .45;
    font-size: 22px;
    line-height: 1;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity{
    grid-area: qty;
    align-self: center;
    min-width: 0;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity .quantity{
    display: inline-flex;
    align-items: center;
    margin: 0;
    border: 1px solid #d9e2e7;
    border-radius: 10px;
    overflow: hidden;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity input.qty{
    width: 44px;
    height: 36px;
    border: 0 !important;
    text-align: center;
    padding: 0;
    appearance: textfield;
    -webkit-appearance: none;
    -moz-appearance: textfield;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity input.qty::-webkit-outer-spin-button,
  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity input.qty::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-price{
    grid-area: price;
    align-self: center;
    justify-self: center;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    opacity: .9;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-price .woocommerce-Price-amount.amount::after{
    content: " / ks";
    font-weight: 500;
    opacity: .9;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-subtotal{
    grid-area: subtotal;
    align-self: center;
    justify-self: end;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
  }

  .woocommerce-cart .ecoboom-qty-btn{
    width: 36px;
    height: 36px;
    border: 0;
    border-right: 1px solid #d9e2e7;
    background: #fff;
    color: #253746;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .woocommerce-cart .ecoboom-qty-btn.ecoboom-qty-plus{
    border-right: 0;
    border-left: 1px solid #d9e2e7;
  }

}

@media (max-width: 1024px){
  .e-cart-totals .e-cart-section,
  .e-cart-totals.e-cart-section{
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

/* Checkout (/objednavka) responsive refinements */
@media (max-width: 1024px){
  table.woocommerce-checkout-review-order-table tr.cart_item td{
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    vertical-align: top;
  }

  table.woocommerce-checkout-review-order-table tr.cart_item td.product-name{
    padding-right: 10px !important;
  }

  table.woocommerce-checkout-review-order-table tr.cart_item td.product-name .ecoboom-checkout-item{
    display: grid !important;
    grid-template-columns: 52px 1fr;
    grid-template-areas:
      "thumb name"
      "thumb qty";
    column-gap: 10px;
    row-gap: 4px;
    align-items: center;
    width: 100%;
  }

  table.woocommerce-checkout-review-order-table tr.cart_item td.product-name .ecoboom-checkout-item__thumb{
    grid-area: thumb;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
  }

  table.woocommerce-checkout-review-order-table tr.cart_item td.product-name .ecoboom-checkout-item__name{
    grid-area: name;
    line-height: 1.28;
    font-size: 15px;
  }

  table.woocommerce-checkout-review-order-table tr.cart_item td.product-name .ecoboom-checkout-item__qty{
    grid-area: qty;
    margin-top: 0;
    font-size: 14px;
    opacity: .95;
  }

  table.woocommerce-checkout-review-order-table tr.cart_item td.product-total{
    white-space: nowrap;
    padding-top: 12px !important;
    font-size: 16px;
  }

  .woocommerce form.checkout #payment input[type="radio"],
  .woocommerce form.checkout input[type="checkbox"].woocommerce-form__input-checkbox,
  .woocommerce form.checkout input[type="checkbox"]{
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    margin: 0 12px 0 0 !important;
    vertical-align: middle;
    transform: none !important;
    -webkit-transform: none !important;
  }

  .woocommerce form.checkout #payment ul.payment_methods li > label{
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 !important;
  }

  .woocommerce form.checkout .woocommerce-form__label-for-checkbox,
  .woocommerce form.checkout .woocommerce-form__label{
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0 !important;
  }
}

/* ========== Order Received (Thank You) ========== */
.woocommerce-order{
  max-width: 1120px;
  margin-inline: auto;
}

.woocommerce-order .woocommerce-notice--success{
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid #cfdae0;
  border-radius: 14px;
  background: #f7fafb;
  color: #10253e;
}

.woocommerce-order .woocommerce-order-overview{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border: 0 !important;
}

.woocommerce-order .woocommerce-order-overview::before,
.woocommerce-order .woocommerce-order-overview::after{
  content: none !important;
  display: none !important;
}

.woocommerce-order .woocommerce-order-overview li{
  float: none !important;
  width: auto !important;
  min-height: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #cfdae0;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
  text-transform: none;
}

.woocommerce-order ul.woocommerce-order-overview.order_details > li,
.woocommerce-order ul.order_details.woocommerce-order-overview > li,
.woocommerce-order ul.order_details > li{
  float: none !important;
  width: auto !important;
  border: 1px solid #cfdae0 !important;
  border-right: 1px solid #cfdae0 !important;
  border-bottom: 1px solid #cfdae0 !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  margin: 0 !important;
  min-height: 0;
  box-sizing: border-box;
}

.woocommerce-order .woocommerce-order-overview li strong{
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #10253e;
  word-break: break-word;
  text-align: left;
  white-space: normal;
}

@media (min-width: 768px){
  .woocommerce-order .woocommerce-order-overview li{
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 220px;
  }

  .woocommerce-order .woocommerce-order-overview li strong{
    margin-top: 6px;
    text-align: left;
    white-space: normal;
  }
}

.woocommerce-order h2,
.woocommerce-order h3{
  margin-top: 0;
  margin-bottom: 14px;
  color: #0b2239;
}

.woocommerce-order .woocommerce-bacs-bank-details{
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce-order .woocommerce-bacs-bank-details > h2{
  margin: 0 0 16px;
}

.woocommerce-order .woocommerce-bacs-bank-details h3,
.woocommerce-order .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name,
.woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li.account_name{
  display: none !important;
}

.woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
  grid-auto-flow: row !important;
  justify-items: stretch !important;
  justify-content: start !important;
  align-content: start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li{
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #cfdae0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  grid-column: span 1 !important;
  min-width: 0 !important;
  max-width: none !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: #10253e;
}

.woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li.bank_name{
  grid-column: 1 / span 1 !important;
}

.woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li.account_number{
  grid-column: 2 / span 1 !important;
}

.woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li:last-child{
  border-bottom: 0;
}

.woocommerce-order .wc-bacs-bank-details .wc-bacs-bank-details-account-name{
  display: none !important;
}

.woocommerce-order .wc-bacs-bank-details li strong{
  display: block;
  margin-top: 2px;
  margin-left: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  color: #10253e;
  word-break: normal;
  overflow-wrap: normal;
  text-align: left;
  white-space: normal;
}

.woocommerce-order .woocommerce-order-details table.shop_table{
  width: 100%;
  border: 1px solid #cfdae0;
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
}

.woocommerce-order .woocommerce-order-details table.shop_table th,
.woocommerce-order .woocommerce-order-details table.shop_table td{
  padding: 16px 20px;
  border-color: #e3eaee;
  font-size: 16px;
  line-height: 1.45;
  color: #0f243d;
  vertical-align: middle;
}

.woocommerce-order .woocommerce-order-details table.shop_table thead th{
  font-weight: 600;
  border-bottom: 1px solid #e3eaee;
}

.woocommerce-order .woocommerce-order-details table.shop_table tbody td{
  border-bottom: 1px solid #e3eaee;
}

.woocommerce-order .woocommerce-order-details table.shop_table tbody td:first-child,
.woocommerce-order .woocommerce-order-details table.shop_table tfoot th{
  width: 68%;
  font-weight: 500;
}

.woocommerce-order .woocommerce-order-details table.shop_table thead th:last-child,
.woocommerce-order .woocommerce-order-details table.shop_table tbody td:last-child,
.woocommerce-order .woocommerce-order-details table.shop_table tfoot td{
  text-align: right;
  white-space: nowrap;
}

.woocommerce-order .woocommerce-order-details table.shop_table tfoot th,
.woocommerce-order .woocommerce-order-details table.shop_table tfoot td{
  font-weight: 600;
  border-top: 0;
  border-bottom: 1px solid #e3eaee;
}

.woocommerce-order .woocommerce-order-details table.shop_table tfoot tr:last-child th,
.woocommerce-order .woocommerce-order-details table.shop_table tfoot tr:last-child td{
  border-bottom: 0;
}

.woocommerce-order .woocommerce-order-details table.shop_table a:not(.button):not([class*="button"]){
  text-decoration: none;
}

.woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item{
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item__thumb{
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item__content{
  min-width: 0;
}

.woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item__name{
  display: block;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item__qty{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: #10253e;
}

.woocommerce-order .woocommerce-customer-details address{
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #cfdae0;
  border-radius: 14px;
  background: #fff;
  line-height: 1.5;
}

@media (max-width: 1024px){
  .woocommerce-order .woocommerce-order-overview{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table th,
  .woocommerce-order .woocommerce-order-details table.shop_table td{
    padding: 14px 16px;
    font-size: 15px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name{
    width: auto;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-total{
    width: 120px;
    white-space: nowrap;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item__name{
    font-size: 14px;
    line-height: 1.35;
  }

  .woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li.bank_name,
  .woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li.account_number{
    grid-column: auto !important;
  }
}

@media (max-width: 767px){
  .woocommerce-order .woocommerce-order-overview li{
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
  }

  .woocommerce-order .woocommerce-order-overview li strong{
    margin-top: 0;
    text-align: right;
    white-space: nowrap;
    font-size: 17px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table{
    table-layout: auto;
  }

  .woocommerce-order .woocommerce-order-overview{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .woocommerce-order .woocommerce-order-overview li,
  .woocommerce-order ul.woocommerce-order-overview.order_details > li,
  .woocommerce-order ul.order_details.woocommerce-order-overview > li,
  .woocommerce-order ul.order_details > li{
    padding: 14px !important;
  }

  .woocommerce-order .woocommerce-order-overview li strong{
    margin-top: 4px;
    font-size: 18px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table th,
  .woocommerce-order .woocommerce-order-details table.shop_table td{
    padding: 12px 14px;
    font-size: 15px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table thead th{
    padding-bottom: 12px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tbody td:first-child{
    padding-right: 12px;
    width: auto;
    max-width: none;
    word-break: normal;
    overflow-wrap: normal;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tbody td:last-child{
    text-align: right;
    white-space: nowrap;
    width: 1%;
    padding-left: 8px;
    vertical-align: top;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table thead th:last-child{
    text-align: right;
    white-space: nowrap;
    font-size: 15px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tfoot td{
    text-align: right;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tfoot tr:last-child td{
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    font-size: 14px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tfoot tr:last-child th{
    white-space: nowrap;
    font-size: 14px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item{
    display: block;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item__thumb{
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: block;
    margin: 0 0 8px;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item__name{
    display: block;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .woocommerce-order .woocommerce-order-details table.shop_table tr.woocommerce-table__line-item.order_item td.product-name .ecoboom-order-item__qty{
    margin-top: 4px;
    font-size: 12px;
  }

  .woocommerce-order .woocommerce-bacs-bank-details{
    padding: 0;
  }

  .woocommerce-order .woocommerce-bacs-bank-details > h2{
    margin-bottom: 12px;
  }

  .woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details{
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li{
    padding: 14px;
    min-height: 0;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
  }

  .woocommerce-order ul.wc-bacs-bank-details.order_details.bacs_details > li strong{
    font-size: 16px;
    margin-top: 0;
    text-align: right;
    white-space: nowrap;
  }

  .woocommerce-order .woocommerce-customer-details address{
    padding: 14px;
  }
}

/* iOS Safari: keep checkout controls consistent (no native scaling) */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 1024px){
    .woocommerce form.checkout #payment input[type="radio"],
    .woocommerce form.checkout input[type="checkbox"].woocommerce-form__input-checkbox,
    .woocommerce form.checkout input[type="checkbox"]{
      width: 16px !important;
      height: 16px !important;
      min-width: 16px !important;
      max-width: 16px !important;
      min-height: 16px !important;
      max-height: 16px !important;
      margin: 0 10px 0 0 !important;
      transform: none !important;
      -webkit-transform: none !important;
    }
  }
}

/* Animace */
@keyframes ecoboomFill{
  from { width: 0%; }
  to   { width: var(--p, 0%); }
}
@keyframes ecoboomShine{
  0%   { transform: translateX(0); }
  100% { transform: translateX(260%); }
}

/* Cart coupon row: calmer CTA + Czech-friendly input */
.woocommerce-cart .coupon.e-cart-section.shop_table,
.woocommerce-cart .woocommerce-cart-form .actions .coupon{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.woocommerce-cart .coupon.e-cart-section.shop_table .coupon-col{
  display: flex;
  align-items: stretch;
  gap: 0;
}

.woocommerce-cart .coupon.e-cart-section.shop_table .coupon-col-start{
  flex: 1 1 auto;
}

.woocommerce-cart .coupon.e-cart-section.shop_table .coupon-col-end{
  flex: 0 0 auto;
}

.woocommerce-cart .coupon.e-cart-section.shop_table #coupon_code,
.woocommerce-cart .woocommerce-cart-form .actions .coupon #coupon_code{
  width: 100% !important;
  min-height: 50px;
  padding: 0 14px !important;
  border: 1px solid #d5dfe6 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #10253e !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.woocommerce-cart .coupon.e-cart-section.shop_table #coupon_code::placeholder,
.woocommerce-cart .woocommerce-cart-form .actions .coupon #coupon_code::placeholder{
  color: #62788b !important;
  opacity: 1;
}

.woocommerce-cart .coupon.e-cart-section.shop_table .button.e-apply-coupon,
.woocommerce-cart .woocommerce-cart-form .actions .coupon button[name="apply_coupon"]{
  min-height: 50px !important;
  padding: 0 18px !important;
  border: 1px solid #d5dfe6 !important;
  border-radius: 10px !important;
  background: #f7fafc !important;
  color: #10253e !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

.woocommerce-cart .coupon.e-cart-section.shop_table .button.e-apply-coupon:hover,
.woocommerce-cart .coupon.e-cart-section.shop_table .button.e-apply-coupon:focus,
.woocommerce-cart .woocommerce-cart-form .actions .coupon button[name="apply_coupon"]:hover,
.woocommerce-cart .woocommerce-cart-form .actions .coupon button[name="apply_coupon"]:focus{
  background: #eef4f8 !important;
  border-color: #9fb3c1 !important;
}

@media (max-width: 767px){
  .woocommerce-cart .coupon.e-cart-section.shop_table .form-row.coupon-col::before,
  .woocommerce-cart .coupon.e-cart-section.shop_table .form-row.coupon-col::after{
    content: none !important;
    display: none !important;
  }

  .woocommerce-cart .coupon.e-cart-section.shop_table,
  .woocommerce-cart .woocommerce-cart-form .actions .coupon{
    margin-bottom: 32px !important;
  }

  .woocommerce-cart .coupon.e-cart-section.shop_table .coupon-col{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
  }

  .woocommerce-cart .woocommerce-cart-form .actions .coupon{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
  }

  .woocommerce-cart .coupon.e-cart-section.shop_table .coupon-col-end,
  .woocommerce-cart .coupon.e-cart-section.shop_table .button.e-apply-coupon,
  .woocommerce-cart .woocommerce-cart-form .actions .coupon button[name="apply_coupon"]{
    width: auto !important;
    white-space: nowrap;
    float: none !important;
  }

  .woocommerce-cart .coupon.e-cart-section.shop_table #coupon_code,
  .woocommerce-cart .woocommerce-cart-form .actions .coupon #coupon_code{
    width: 100% !important;
    min-height: 44px;
    padding: 0 12px !important;
    font-size: 14px !important;
    border-radius: 9px !important;
    float: none !important;
    margin: 0 !important;
  }

  .woocommerce-cart .coupon.e-cart-section.shop_table .button.e-apply-coupon,
  .woocommerce-cart .woocommerce-cart-form .actions .coupon button[name="apply_coupon"]{
    min-height: 44px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    border-radius: 9px !important;
  }
}

.woocommerce-cart .cart_totals .woocommerce-remove-coupon.ecoboom-remove-coupon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #d86a57 !important;
  text-decoration: none !important;
  vertical-align: middle;
}

.woocommerce-cart .cart_totals .woocommerce-remove-coupon.ecoboom-remove-coupon:hover,
.woocommerce-cart .cart_totals .woocommerce-remove-coupon.ecoboom-remove-coupon:focus{
  color: #b64d3d !important;
}

.woocommerce-cart .cart_totals .ecoboom-remove-coupon__icon{
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-1px);
}
