/* Σκιά στο ΠΑΝΩ top bar*/
.ast-primary-header-bar {
  position: relative;
  z-index: 999;
  box-shadow: 0 10px 50px rgba(0,0,0,0.75);
}
/* Rounded images inside product description */
.woocommerce div.product .woocommerce-Tabs-panel img {
  border-radius: 18px;
}
ul.products li.product {
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #fff;
}

ul.products li.product img {
    border-radius: 18px 18px 0 0 !important;
}
ul.products li.product {
    transition: all 0.3s ease;
}

ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.tghs-products-slider-shell {
    padding-top: 14px;
}

.tghs-products-slider-track {
    overflow-x: auto;
    overflow-y: visible;
    padding-top: 10px;
}

.tghs-products-slider-track .products,
.tghs-products-slider-track .products li.product {
    overflow: visible !important;
}

* =====================================================
   ConsentMagic – CLEAN WORKING VERSION (NO inset:0)
   - Rounded popup + buttons
   - Responsive sizing
   - Centered on mobile/desktop via flex (no inset)
   - High z-index only while active
   ===================================================== */

/* ===== 1) POPUP BOX ===== */
#cs_preview_popup > div > div > div:nth-child(2) > div:nth-child(1) {
  border-radius: 24px !important;
  overflow: hidden !important;

  width: 100% !important;
  max-width: 360px !important; /* base small mobile */
}

/* ===== 2) BUTTONS ===== */
#cs_preview_popup
  > div > div > div:nth-child(2) > div:nth-child(1)
  > div > div > div:nth-child(2) > div > button {
  border-radius: 24px !important;
  min-height: 44px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

/* ===== 3) TEXT (όπως το θες εσύ) ===== */
#cs_preview_popup > div > div > div:nth-child(2) > div:nth-child(1) p {
  text-align: initial !important;
}

/* ===== 4) MOBILE CENTERING (no inset) ===== */
@media (max-width: 767px) {
  #cs_preview_popup {
    position: fixed !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 16px !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  #cs_preview_popup > div > div > div:nth-child(2) > div:nth-child(1) {
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 18px 18px !important;
  }

  #cs_preview_popup p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}

/* ===== 5) LARGE MOBILES ===== */
@media (min-width: 768px) and (max-width: 899px) {
  #cs_preview_popup > div > div > div:nth-child(2) > div:nth-child(1) {
    max-width: 420px !important;
    padding: 22px 22px !important;
  }

  #cs_preview_popup p {
    font-size: 15px !important;
  }
}

/* ===== 6) TABLETS ===== */
@media (min-width: 900px) and (max-width: 1199px) {
  #cs_preview_popup > div > div > div:nth-child(2) > div:nth-child(1) {
    max-width: 480px !important;
    padding: 26px 26px !important;
  }

  #cs_preview_popup p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  #cs_preview_popup button {
    font-size: 15px !important;
  }
}

/* ===== 7) DESKTOP CENTERING (no inset) ===== */
@media (min-width: 1200px) {
  #cs_preview_popup {
    position: fixed !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 24px !important;
  }

  #cs_preview_popup > div > div > div:nth-child(2) > div:nth-child(1) {
    max-width: 560px !important;
    padding: 30px 30px !important;
  }

  #cs_preview_popup p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  #cs_preview_popup button {
    font-size: 15px !important;
  }
}

/* ===== 8) SAFE TOP LAYER (only while active) ===== */
/* default: μην το “κρεμάει” πάνω από όλα όταν έχει κλείσει */
#cs_preview_popup {
  z-index: 1 !important;
}

/* όταν υπάρχει το κουτί (active), τότε ανεβαίνει πάνω από όλα */
#cs_preview_popup:has(> div > div > div:nth-child(2) > div:nth-child(1)) {
  z-index: 2147483647 !important;
}
/* klarna εμφανιση */
.tg-klarna-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f6eded;
  border: 1px solid #ead6d6;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 10px 0;
  max-width: fit-content;
  box-sizing: border-box;
}

.tg-klarna-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tg-klarna-icon {
  font-size: 16px;
}

.tg-klarna-text {
  font-size: 14px;
  color: #444;
  white-space: nowrap;
}

.tg-klarna-text strong {
  color: #222;
}

.tg-klarna-badge {
  background: #f7b6c6;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
}

/* κινητό portrait και landscape */
@media (max-width: 768px),
       (max-height: 480px) and (orientation: landscape) {
  .tg-klarna-box {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .tg-klarna-text {
    white-space: normal;
    word-break: break-word;
  }
}
/* Διορθώνει τα YouTube video μέσα στη σελίδα προϊόντος (Astra + WooCommerce)
   και τα αναγκάζει να εμφανίζονται σε αναλογία 16:9 */

.single-product iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
}
/* =========================================
   ASTRA QUICK VIEW – MODERN MODAL STYLE
   Rounded corners + Close button + Blur background
========================================= */

/* Outer wrapper: να μη φαίνεται σαν δεύτερο παράθυρο */
#ast-quick-view-modal .ast-lightbox-content,
#ast-quick-view-modal .ast-content-main-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Πραγματικό popup */
#ast-quick-view-content {
    border-radius: 24px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.28) !important;
}

/* Close button */
#ast-quick-view-modal .ast-quick-view-close,
#ast-quick-view-modal button.mfp-close,
#ast-quick-view-modal .mfp-close {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999999 !important;
    position: absolute !important;
    top: -18px !important;
    right: -18px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25) !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Background overlay */
.mfp-bg,
.ast-quick-view-bg {
    background: rgba(0,0,0,0.52) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ast-primary-header-bar,
.site-header,
.main-header-bar,
.ast-builder-grid-row,
.ast-container {
    overflow: visible !important;
}
/* PayPal iframe overflow fix */
.paypal-buttons {
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
}

.paypal-buttons iframe {
    max-height: 55px !important;
}
.mega-indicator:after {
    content: "▾" !important;
    font-family: Arial, sans-serif !important;
}

#post-563 {
	padding-top: 0px;
}

.woocommerce #content div.product {
	padding-top: 35px !important;
}

.woocommerce ul.products li.product .ast-shop-product-out-of-stock {
	display: none;
}

body {}

.ast-shop-product-out-of-stock {
	display: none;
}
/* Back In Stock Notifier – πορτοκαλί, πλήρους πλάτους, λεπτό */
.single-product .summary .cwg_popup_submit {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    min-height: 0 !important;
    padding: 9px 16px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin: 12px 0 16px !important;
    border-radius: 6px !important;
    background: #f8923f !important;
    color: #fff !important;
    border: none !important;
}
.single-product .summary .cwg_popup_submit:hover {
    background: #e57d28 !important;
    color: #fff !important;
}
/* Back In Stock Notifier – popup φόρμας */
.cwg-modal-box { border-radius: 12px !important; }
.cwginstock-subscribe-form .cwginstock-panel-primary {
    border: none !important; box-shadow: none !important; margin: 0 !important;
}
.cwginstock-subscribe-form .cwginstock-panel-heading {
    background: #fff !important; border: none !important;
    color: #111 !important; padding: 4px 0 10px !important;
}
.cwginstock-subscribe-form .cwginstock-panel-heading h4 {
    font-size: 19px !important; font-weight: 600 !important;
    color: #111 !important; margin: 0 !important;
}
.cwginstock-subscribe-form .cwgstock_email,
.cwginstock-subscribe-form .iti input {
    height: 44px !important; border: 1px solid #ddd !important;
    border-radius: 6px !important; font-size: 15px !important;
}
.cwginstock-subscribe-form .cwgstock_button {
    background: #f8923f !important; border: none !important; color: #fff !important;
    border-radius: 6px !important; height: 44px !important; width: 100% !important;
    font-size: 15px !important; font-weight: 500 !important; text-transform: none !important;
}
.cwginstock-subscribe-form .cwgstock_button:hover { background: #e57d28 !important; }