.elementor-190 .elementor-element.elementor-element-beb1be9{--display:flex;--min-height:26vh;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--overflow:hidden;}.elementor-190 .elementor-element.elementor-element-beb1be9:not(.elementor-motion-effects-element-type-background), .elementor-190 .elementor-element.elementor-element-beb1be9 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, var( --e-global-color-b92fc6f ) 0%, var( --e-global-color-primary ) 100%);}.elementor-190 .elementor-element.elementor-element-beb1be9 > .elementor-shape-bottom .elementor-shape-fill, .elementor-190 .elementor-element.elementor-element-beb1be9 > .e-con-inner > .elementor-shape-bottom .elementor-shape-fill{fill:var( --e-global-color-eccf154 );}.elementor-190 .elementor-element.elementor-element-beb1be9 > .elementor-shape-bottom svg, .elementor-190 .elementor-element.elementor-element-beb1be9 > .e-con-inner > .elementor-shape-bottom svg{width:calc(100% + 1.3px);height:67px;}.elementor-190 .elementor-element.elementor-element-f3807e3{--display:flex;--min-height:3px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--border-radius:24px 24px 24px 24px;--margin-top:12px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-190 .elementor-element.elementor-element-f3807e3:not(.elementor-motion-effects-element-type-background), .elementor-190 .elementor-element.elementor-element-f3807e3 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(90deg, #2E5339EB 0%, #7F9A6AEB 100%);}.elementor-190 .elementor-element.elementor-element-99ddbe0{--display:flex;}.elementor-190 .elementor-element.elementor-element-f5181a9{--display:flex;}.elementor-190 .elementor-element.elementor-element-ab6738e{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--margin-top:0px;--margin-bottom:12px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-190 .elementor-element.elementor-element-ab6738e.e-con{--align-self:center;}.elementor-widget-button .elementor-button{font-family:var( --e-global-typography-accent-font-family );font-weight:var( --e-global-typography-accent-font-weight );background-color:var( --e-global-color-accent );}.elementor-190 .elementor-element.elementor-element-0e0273f .elementor-button-content-wrapper{flex-direction:row;}.elementor-190 .elementor-element.elementor-element-0e0273f .elementor-button .elementor-button-content-wrapper{gap:8px;}.elementor-190 .elementor-element.elementor-element-0e0273f .elementor-button{font-family:"Outfit";font-weight:500;background-color:var( --e-global-color-eccf154 );border-radius:7px 7px 7px 7px;}.elementor-190 .elementor-element.elementor-element-0e0273f{width:var( --container-widget-width, 35% );max-width:35%;--container-widget-width:35%;--container-widget-flex-grow:0;}.elementor-190 .elementor-element.elementor-element-6365c4d .elementor-button-content-wrapper{flex-direction:row-reverse;}.elementor-190 .elementor-element.elementor-element-6365c4d .elementor-button .elementor-button-content-wrapper{gap:8px;justify-content:center;}.elementor-190 .elementor-element.elementor-element-6365c4d .elementor-button{font-family:"Outfit";font-weight:500;background-color:var( --e-global-color-eccf154 );border-radius:7px 7px 7px 7px;}.elementor-190 .elementor-element.elementor-element-6365c4d{width:var( --container-widget-width, 35% );max-width:35%;--container-widget-width:35%;--container-widget-flex-grow:0;}.elementor-190 .elementor-element.elementor-element-84b3127 .elementor-button{font-family:"Outfit";font-weight:500;background-color:#7A5C42;transition-duration:0.5s;border-radius:7px 7px 7px 7px;}.elementor-190 .elementor-element.elementor-element-84b3127 .elementor-button:hover, .elementor-190 .elementor-element.elementor-element-84b3127 .elementor-button:focus{box-shadow:4px 3px 10px 0px rgba(0,0,0,0.5);}.elementor-190 .elementor-element.elementor-element-84b3127{width:var( --container-widget-width, 35% );max-width:35%;--container-widget-width:35%;--container-widget-flex-grow:0;}#elementor-popup-modal-190 .dialog-message{width:55vw;height:auto;}#elementor-popup-modal-190{justify-content:center;align-items:center;pointer-events:all;background-color:rgba(0,0,0,.8);}#elementor-popup-modal-190 .dialog-close-button{display:flex;top:2%;background-color:#FFFFFF00;font-size:17px;}#elementor-popup-modal-190 .dialog-widget-content{animation-duration:1.2s;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}body:not(.rtl) #elementor-popup-modal-190 .dialog-close-button{right:1.5%;}body.rtl #elementor-popup-modal-190 .dialog-close-button{left:1.5%;}@media(max-width:767px){.elementor-190 .elementor-element.elementor-element-beb1be9{--content-width:100%;--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}.elementor-190 .elementor-element.elementor-element-ab6738e{--width:100%;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;--gap:15px 11px;--row-gap:15px;--column-gap:11px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-190 .elementor-element.elementor-element-0e0273f{--container-widget-width:30%;--container-widget-flex-grow:0;width:var( --container-widget-width, 30% );max-width:30%;}.elementor-190 .elementor-element.elementor-element-6365c4d{--container-widget-width:30%;--container-widget-flex-grow:0;width:var( --container-widget-width, 30% );max-width:30%;}.elementor-190 .elementor-element.elementor-element-84b3127{--container-widget-width:32%;--container-widget-flex-grow:0;width:var( --container-widget-width, 32% );max-width:32%;}#elementor-popup-modal-190 .dialog-message{width:95vw;}#elementor-popup-modal-190{justify-content:center;align-items:center;}}@media(min-width:768px){.elementor-190 .elementor-element.elementor-element-beb1be9{--content-width:100%;}.elementor-190 .elementor-element.elementor-element-f3807e3{--width:90%;}.elementor-190 .elementor-element.elementor-element-99ddbe0{--width:95%;}.elementor-190 .elementor-element.elementor-element-f5181a9{--width:95%;}.elementor-190 .elementor-element.elementor-element-ab6738e{--width:95%;}}/* Start custom CSS for html, class: .elementor-element-26bf019 *//* ==========================================================================
   ECO Quick Add Popup — Elementor Popup ID: 190
   Scope: #elementor-popup-modal-190 + #ecoQuickAddContent only
   ========================================================================== */

/* ---------- Hide Woo variation price/availability (we show our own sum) ---------- */
#elementor-popup-modal-190 #ecoQuickAddContent .single_variation,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-variation,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-variation-price,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-variation-price .price,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-variation-price .amount,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-variation-availability{
  display: none !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent .single_variation_wrap{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent .single_variation,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-variation.single_variation{
  margin: 0 !important;
}

/* ---------- Popup shell (rounded + clipping) ---------- */
#elementor-popup-modal-190 .dialog-widget-content{
  border-radius: 22px !important;
  overflow: hidden !important;
}

#elementor-popup-modal-190 .dialog-widget-content .dialog-message{
  border-radius: 22px !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Ensure box sizing inside popup only */
#elementor-popup-modal-190,
#elementor-popup-modal-190 *{
  box-sizing: border-box;
  font-family: Outfit, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ---------- Main content padding ---------- */
#elementor-popup-modal-190 #ecoQuickAddContent{
  padding: 18px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;                 /* ✅ popup scrolls here */
  -webkit-overflow-scrolling: touch;
}

/* Product section wrapper */
#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-product{
  padding: 12px 0;
}

/* Allow grid children to shrink */
#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-main,
#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-grid{
  min-width: 0;
  height: 40vh !important;
}

/* Layout grid */
#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-grid{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px !important;
  align-items: start;
}

#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-media{
  position: relative;
}

#elementor-popup-modal-190 #ecoQuickAddContent img.eko-popup-img,
#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-media img{
  width: 75%;
  height: clamp(19.5rem, 62vw, 22.5rem) !important;
  display: block;
  border-radius: 16px;
}

/* Head */
#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-head{
  margin: 0 0 28px !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-title{
  margin: 0 0 10px !important;
  font-size: 34px;
  line-height: 1.12 !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #7A5C42;
  font-weight: 600;
}

/* Price */
#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-price::before{
  content: "Cena izdelka: ";
  font-weight: 700;
  white-space: nowrap;
}

#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-price{
  margin: 40px 0 14px !important;
  font-size: 18px;
  opacity: 0.9;
}

#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-price del{
  opacity: 0.55;
  margin-right: 8px;
}

#elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-form{
  margin-top: 8px !important;
}

/* Hide Woo notices inside content */
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-notices-wrapper,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-message,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-info,
#elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-error{
  display: none !important;
}

/* ---------- Variations row: label + select + reset inline (desktop/tablet) ---------- */
#elementor-popup-modal-190 #ecoQuickAddContent form.cart{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 18px !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent table.variations{
  width: 100%;
  border-collapse: collapse;
}

#elementor-popup-modal-190 #ecoQuickAddContent form.cart table.variations{
  flex: 1 1 380px;
  width: 100% !important;
  border-collapse: collapse !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent form.cart table.variations tr{
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent form.cart table.variations th.label{
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: left !important;
  width: 90px !important;
  flex: 0 0 90px !important;
  max-width: 90px !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent form.cart table.variations td.value{
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

/* Eco select styling (scoped: only popup 190) */
#elementor-popup-modal-190 #ecoQuickAddContent .variations td.value::after{
  content: none !important;
  display: none !important;
}


@media (min-width: 901px){
    #elementor-popup-modal-190 #ecoQuickAddContent .variations select,
#elementor-popup-modal-190 #ecoQuickAddContent select[name^="attribute_"]{
  width: 220px !important;
  max-width: 220px !important;
  min-width: 0 !important;
  flex: 0 0 220px !important;

  padding: .7rem 2.4rem .7rem .8rem !important;
  border: 1px solid var(--border) !important;
  border-radius: .9rem !important;
  background-color: var(--white) !important;
  color: var(--forest) !important;

  font-size: .95rem !important;
  font-weight: 500 !important;
  outline: none !important;

  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%232E5339' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .9rem center !important;
  background-size: 16px 16px !important;
    }
}


#elementor-popup-modal-190 #ecoQuickAddContent .variations select:focus{
  box-shadow: 0 0 0 3px rgba(107,143,113,.25) !important;
  border-color: rgba(46,83,57,.45) !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent a.reset_variations{
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;

  color: var(--forest) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(46,83,57,.35) !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent a.reset_variations:hover{
  border-bottom-color: var(--forest) !important;
}

/* Qty + button row */
#elementor-popup-modal-190 #ecoQuickAddContent .single_variation_wrap{
  flex: 0 0 auto;
  margin: 0;
  min-width: 0;
}

#elementor-popup-modal-190 #ecoQuickAddContent .variations_button{
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 0 !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent .quantity{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0 !important;
}

#elementor-popup-modal-190 #ecoQuickAddContent .quantity::before{
  content: "Kvantiteta:";
  font-weight: 700;
  white-space: nowrap;
}

#elementor-popup-modal-190 #ecoQuickAddContent .quantity input.qty{
  width: 90px !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
}

/* Hide default Woo add-to-cart (you use your own) */
#elementor-popup-modal-190 #ecoQuickAddContent .single_add_to_cart_button{
  display: none !important;
}

/* ---------- Status toast (ecoQuickAddStatus) ---------- */
:root{
  --eco-err: #b42318;
  --eco-ok-grad: linear-gradient(90deg, rgba(46, 83, 57, 1) 0%, rgba(127, 154, 106, 1) 100%);
  --eco-err-grad: linear-gradient(90deg, rgba(255, 69, 69, .99) 0%, rgba(138, 11, 11, 1) 100%);
}

#elementor-popup-modal-190 #ecoQuickAddStatus{
  z-index: 999999;
}

#elementor-popup-modal-190 #ecoQuickAddStatus{
  position: relative;
  display: none;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.9rem;

  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 0.08rem solid rgba(255,255,255,0.22);

  color: #fff;
  font-weight: 700;
  line-height: 1.2;

  box-shadow: 0 0.9rem 2.2rem rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);

  opacity: 0;
  transform: translateY(0.6rem) scale(0.98);
}

#elementor-popup-modal-190 #ecoQuickAddStatus::after{
  content: "";
  position: absolute;
  left: 1.6rem;
  bottom: -0.55rem;
  width: 1rem;
  height: 1rem;
  transform: rotate(45deg);
  background: inherit;
  border-left: inherit;
  border-bottom: inherit;
  border-radius: 0.2rem;
}

#elementor-popup-modal-190 #ecoQuickAddStatus.is-ok{ background: var(--eco-ok-grad); }
#elementor-popup-modal-190 #ecoQuickAddStatus.is-err{ background: var(--eco-err-grad); }

#elementor-popup-modal-190 #ecoQuickAddStatus.is-show{
  display: flex !important;
  animation: ecoToastIn .45s cubic-bezier(.2,1,.2,1) forwards;
}

#elementor-popup-modal-190 #ecoQuickAddStatus.is-hide{
  animation: ecoToastOut .35s ease forwards;
}

@keyframes ecoToastIn{
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ecoToastOut{
  to { opacity: 0; transform: translateY(0.7rem) scale(0.98); }
}

#elementor-popup-modal-190 #ecoQuickAddStatus .eco-status-icon{
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999rem;

  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  background: rgba(255,255,255,0.78);
  border: 0.08rem solid rgba(0,0,0,0.06);

  color: rgba(0,0,0,0.65);
}

#elementor-popup-modal-190 #ecoQuickAddStatus.is-ok .eco-status-icon::after{
  content: "✓";
  position: absolute;
  right: -0.35rem;
  top: -0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999rem;
  display: grid;
  place-items: center;

  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.12);
}

#elementor-popup-modal-190 #ecoQuickAddStatus.is-err .eco-status-icon::after{
  content: "!";
  position: absolute;
  right: -0.35rem;
  top: -0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999rem;
  display: grid;
  place-items: center;

  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  background: var(--eco-err);
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.12);
}

#elementor-popup-modal-190 #ecoQuickAddStatus.is-ok .eco-status-icon{
  animation: ecoWiggle .55s ease .05s both;
}
@keyframes ecoWiggle{
  0%{ transform: rotate(0) scale(0.92); }
  60%{ transform: rotate(-6deg) scale(1.06); }
  100%{ transform: rotate(0) scale(1); }
}

#elementor-popup-modal-190 #ecoQuickAddStatus.is-err.is-show{
  animation: ecoToastIn .45s cubic-bezier(.2,1,.2,1) forwards, ecoShake .35s ease .1s both;
}
@keyframes ecoShake{
  0%,100%{ transform: translateY(0) translateX(0) scale(1); }
  25%{ transform: translateY(0) translateX(-0.25rem) scale(1); }
  50%{ transform: translateY(0) translateX(0.25rem) scale(1); }
  75%{ transform: translateY(0) translateX(-0.15rem) scale(1); }
}

/* ---------- Mobile adjustments ---------- */
@media (max-width: 768px){
  #elementor-popup-modal-190 .dialog-widget-content{
    border-radius: 16px !important;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-grid{
    grid-template-columns: 1fr;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-title{
    font-size: 28px;
    text-align: center;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent form.cart{
    flex-direction: column;
    align-items: stretch;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent form.cart table.variations tr{
    flex-wrap: wrap !important;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent form.cart table.variations td.value select{
    flex: 1 1 100% !important;
  }

  /* Hard cap image height on mobile (prevents giant image) */
  #elementor-popup-modal-190 #ecoQuickAddContent img.eko-popup-img,
  #elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-media img{
    max-height: 22vh;
    width: auto;
    max-width: 75%;
    object-fit: contain;
    margin: 8px auto 12px;
  }
}


/* =========================================================
   POPUP 190 – Mobile: ensure qty + buttons are reachable
   (variable products add extra blocks below)
   ========================================================= */
@media (max-width: 768px){

  /* 1) Popup shell: fixed max height + scroll INSIDE content */
  #elementor-popup-modal-190 .dialog-message{
    max-height: 85vh !important;
    overflow: hidden !important;     /* scroll on ecoQuickAddContent */
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  

  /* 2) Reduce “above the fold” vertical space */
  #elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-head{
    margin: 0 0 14px !important;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-price{
    margin: 16px 0 10px !important; /* was 40px top */
  }

  /* smaller image = more room for variations + qty */
  #elementor-popup-modal-190 #ecoQuickAddContent img.eko-popup-img,
  #elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-media img{
    max-height: 18vh !important;
    max-width: 70% !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 6px auto 10px !important;
  }

  /* 3) Variable product blocks: make sure they don’t get weird margins */
  #elementor-popup-modal-190 #ecoQuickAddContent .single_variation_wrap,
  #elementor-popup-modal-190 #ecoQuickAddContent .variations_button{
    margin-top: 10px !important;
    padding-top: 0 !important;
  }

  /* qty row spacing */
  #elementor-popup-modal-190 #ecoQuickAddContent .quantity{
    margin-top: 6px !important;
  }
}

/* =========================================================
   POPUP 190 — MOBILE: make #ecoQuickAddContent actually scroll
   (fixes cut-off qty/total/buttons)
   ========================================================= */
@media (max-width: 768px){

  /* popup viewport must have a fixed height constraint */
  #elementor-popup-modal-190 .dialog-widget-content{
    height: auto !important;
    max-height: 88vh !important;
    overflow: hidden !important;
  }

  /* make dialog-message fill the viewport, then scroll inside content */
  #elementor-popup-modal-190 .dialog-message{
    
    max-height: 88vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }
  /* IMPORTANT: constrain content height so overflow-y:auto kicks in */
  #elementor-popup-modal-190 #ecoQuickAddContent{
    flex: 1 1 auto !important;
    min-height: 0 !important;

    height: auto !important;
    max-height: calc(88vh - 18px) !important; /* minus small padding */
    overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch;
    padding-bottom: 100px !important; /* “air” at bottom so last controls are reachable */
  }

  /* Make sure the Woo add-to-cart area is not hidden/collapsed */
  #elementor-popup-modal-190 #ecoQuickAddContent .single_variation_wrap,
  #elementor-popup-modal-190 #ecoQuickAddContent .woocommerce-variation-add-to-cart{
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* TEMP: if you previously hid Woo button, bring it back on mobile */
  #elementor-popup-modal-190 #ecoQuickAddContent .single_add_to_cart_button{
    display: inline-flex !important;
    visibility: visible !important;
  }

  /* Reduce vertical space so controls appear sooner */
  #elementor-popup-modal-190 #ecoQuickAddContent img.eko-popup-img,
  #elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-media img{
    max-height: 22vh !important;
    width: auto !important;
    max-width: 70% !important;
    margin: 8px auto 10px !important;
    object-fit: contain !important;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent .eko-popup-price{
    margin: 16px 0 10px !important;
  }
}

/* =========================================================
   POPUP 190 — MOBILE FIX
   - remove huge gap (variations table flex-grow)
   - hide Woo black add-to-cart button
   - reduce accidental spacers pushing footer down
   ========================================================= */
@media (max-width: 768px){

  /* 1) Fix: variations table MUST NOT grow vertically */
  #elementor-popup-modal-190 #ecoQuickAddContent form.cart{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent form.cart table.variations{
    flex: 0 0 auto !important;       /* ✅ ključ: ne sme biti flex:1 */
    width: 100% !important;
    margin: 0 !important;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent .single_variation_wrap{
    flex: 0 0 auto !important;
    margin-top: 10px !important;
  }

  #elementor-popup-modal-190 #ecoQuickAddContent .variations_button{
    flex: 0 0 auto !important;
    margin-top: 8px !important;
  }

  /* 2) You want quantity input, but NOT Woo black button */
  #elementor-popup-modal-190 #ecoQuickAddContent .single_add_to_cart_button{
    display: none !important;
  }

  /* make qty look clean */
  #elementor-popup-modal-190 #ecoQuickAddContent .quantity{
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  /* 3) Reduce huge Elementor empty blocks/spacers inside popup */
  #elementor-popup-modal-190 .elementor-spacer .elementor-spacer-inner{
    height: 12px !important;         /* tweak: 0–16px */
  }

  /* also kill accidental min-heights */
  #elementor-popup-modal-190 .elementor-section,
  #elementor-popup-modal-190 .elementor-container,
  #elementor-popup-modal-190 .elementor-column,
  #elementor-popup-modal-190 .elementor-widget-wrap{
    min-height: 0 !important;
  }
}

/* =========================================================
   POPUP 190 — MOBILE OVERRIDE: shrink select 50% (beats 220px)
   Put this AFTER the 220px rule
   ========================================================= */
@media (max-width: 900px){
  #elementor-popup-modal-190 #ecoQuickAddContent table.variations td.value select,
  #elementor-popup-modal-190 #ecoQuickAddContent select[name^="attribute_"]{
    width: 70% !important;
    max-width: 70% !important;
    flex: 0 0 100% !important;     /* ✅ overrides 0 0 220px */
    min-width: 0 !important;      /* allow shrink */
    padding: .2rem 2rem .2rem .2rem !important;
  border: 1px solid var(--border) !important;
  border-radius: .9rem !important;
  background-color: var(--white) !important;
  color: var(--forest) !important;

  font-size: .9rem !important;
  font-weight: 500 !important;
  outline: none !important;

  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%232E5339' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .9rem center !important;
  background-size: 16px 16px !important;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-8c4a752 */.sum-to-pay{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid rgba(0,0,0,0.12);
  background: rgba(246,233,213,0.85);
  font-weight: 800;
}

.sum-to-pay__value{
  font-size: 18px;
}/* End custom CSS */
/* Start custom CSS for button, class: .elementor-element-6365c4d *//* Skrij "Prikaži košarico" (Woo added_to_cart link) samo v Elementor popupu */
.elementor-popup-modal a.added_to_cart.wc-forward,
#ecoQuickAddContent a.added_to_cart.wc-forward{
  display: none !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-beb1be9 */.product-popup{
    margin: 0; height: 100%; overflow: visible;
}/* End custom CSS */