/* aroundyou.gr – βελτιωμένη καρτέλα αγοράς στη σελίδα προϊόντος (2026-11-24)
   Για επαναφορά: αδειάστε αυτό το αρχείο ή αφαιρέστε τη γραμμή <link> από
   design/themes/abt__unitheme2/templates/addons/abt__unitheme2/hooks/index/meta.post.tpl */

.ty-product-detail .ut2-pb__right {
  --ay-orange: #f25529;
  --ay-orange-dark: #d9431a;
  --ay-indigo: #4651a7;
  --ay-ink: #1f2330;
  --ay-muted: #6b7080;
  --ay-line: #ececf3;
  --ay-soft: #f7f7fb;
  --ay-green: #1f9d55;
  border: 1px solid var(--ay-line);
  box-shadow: 0 8px 30px rgba(31, 35, 48, .06);
}

/* ---------- Αριστερή στήλη ---------- */
.ty-product-detail .cols-wrap .col-left .prices-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ty-product-detail .cols-wrap .ut2-pb__price-actual .ty-price,
.ty-product-detail .cols-wrap .ut2-pb__price-actual .ty-price-num {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ay-ink);
  line-height: 1.1;
}
.ty-product-detail .cols-wrap .ut2-pb__product-brand {
  margin: 0;
}
.ty-product-detail .cols-wrap .ut2-pb__product-brand img {
  max-height: 44px;
  width: auto;
  opacity: .85;
  transition: opacity .2s;
}
.ty-product-detail .cols-wrap .ut2-pb__product-brand a:hover img { opacity: 1; }

/* Διαθεσιμότητα */
.ty-product-detail .cols-wrap .stock-wrap { margin: 0 0 18px; }
.ty-product-detail .cols-wrap .ty-qty-in-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f6ee;
  color: var(--ay-green);
  font-weight: 600;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
}
.ty-product-detail .cols-wrap .ty-qty-in-stock i { font-size: 15px; margin: 0; }

/* ---------- Δεξιά στήλη (Boxnow / Κάρτα / Προμηθευτής) ---------- */
.ty-product-detail .cols-wrap .col-right .ab__mb_items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ty-product-detail .cols-wrap .col-right .ab__mb_item {
  background: var(--ay-soft) !important;
  border: 1px solid var(--ay-line) !important;
  border-radius: 14px;
  padding: 2px 14px 8px !important;
  margin: 0 !important;
}
.ty-product-detail .cols-wrap .col-right .ab__mb_item + .ab__mb_item { border-top: 1px solid var(--ay-line) !important; }
.ty-product-detail .cols-wrap .col-right .ab__mb_item-title {
  padding-top: 10px !important;
  padding-bottom: 6px !important;
  border: 0 !important;
}
.ty-product-detail .cols-wrap .col-right .ab__mb_item-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ay-ink);
}
.ty-product-detail .cols-wrap .col-right .ab__mb_item-description {
  padding: 0 0 6px !important;
  font-size: 13px;
  color: var(--ay-muted);
}
.ty-product-detail .cols-wrap .col-right .ab__mb_item-description p { margin: 0; }
.ty-product-detail .cols-wrap .col-right .ab__mb_item-description img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 6px auto 0;
  border-radius: 10px;
  mix-blend-mode: multiply;
}
.ty-product-detail .cols-wrap .col-right .ab__mb_item-description strong { color: var(--ay-ink); }

/* Προμηθευτής */
.ty-product-detail .cols-wrap .col-right > div:last-child .ty-features-list {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px dashed var(--ay-line);
  font-size: 13px;
}
.ty-product-detail .cols-wrap .col-right > div:last-child .ty-features-list a {
  text-decoration: none;
}
.ty-product-detail .cols-wrap .col-right > div:last-child .ty-features-list em { font-style: normal; }
.ty-product-detail .cols-wrap .col-right > div:last-child .ty-control-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
.ty-product-detail .cols-wrap .col-right > div:last-child .ty-product-feature__label {
  color: var(--ay-muted);
  background: none;
  flex: 0 0 auto;
}
.ty-product-detail .cols-wrap .col-right > div:last-child .ty-product-feature__label:after { display: none; }
.ty-product-detail .cols-wrap .col-right > div:last-child .ty-control-group > span:last-child {
  color: var(--ay-indigo);
  font-weight: 700;
}

/* Προμηθευτής χωρίς τελείες */
.ty-product-detail .cols-wrap .col-right > div:last-child .ty-control-group:before,.ty-product-detail .cols-wrap .col-right > div:last-child .ty-control-group:after,.ty-product-detail .cols-wrap .col-right > div:last-child .ty-control-group span:before{display:none!important}
/* Κάρτα: το 7% σαν σήμα */
.ty-product-detail .cols-wrap .col-right .ab__mb_item-description p{display:block!important;line-height:1.6}
.ty-product-detail .cols-wrap .col-right .ab__mb_item-description p span strong{display:inline-block;margin-left:6px;padding:2px 10px;border-radius:999px;background:#fff1ec;color:#f25529}

/* ---------- Ποσότητα / Καλάθι / Αγαπημένα / Σύγκριση ----------
   Μόνο σε υπολογιστή (>1024px). Σε κινητό & tablet το θέμα δείχνει
   δική του σταθερή μπάρα στο κάτω μέρος, την οποία αφήνουμε ως έχει. */
@media (min-width: 1025px) {
  /* Ποσότητα */
  .ty-product-detail .cols-wrap .ut2-qty__wrap { margin-bottom: 14px; }
  .ty-product-detail .cols-wrap .ty-qty {
    display: flex !important;
    align-items: center;
    gap: 14px;
  }
  .ty-product-detail .cols-wrap .ty-qty .ty-control-group__label {
    font-weight: 600;
    color: var(--ay-ink);
    margin: 0;
    padding: 0;
    width: auto;
  }
  .ty-product-detail .cols-wrap .ty-value-changer {
    display: inline-flex !important;
    align-items: center;
    height: 44px;
    border: 1px solid #dcdce6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    position: relative;
    width: auto;
  }
  .ty-product-detail .cols-wrap .ty-value-changer__increase,
  .ty-product-detail .cols-wrap .ty-value-changer__decrease {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 20px !important;
    color: var(--ay-ink) !important;
    background: var(--ay-soft) !important;
    border: 0 !important;
    border-radius: 0 !important;
    cursor: pointer;
    user-select: none;
    transition: background .15s;
  }
  .ty-product-detail .cols-wrap .ty-value-changer__increase { order: 3; }
  .ty-product-detail .cols-wrap .ty-value-changer__input { order: 2; }
  .ty-product-detail .cols-wrap .ty-value-changer__decrease { order: 1; }
  .ty-product-detail .cols-wrap .ty-value-changer__increase:hover,
  .ty-product-detail .cols-wrap .ty-value-changer__decrease:hover {
    background: #ececf6 !important;
  }
  .ty-product-detail .cols-wrap .ty-value-changer__input {
    width: 48px !important;
    height: 44px !important;
    border: 0 !important;
    border-left: 1px solid #ececf3 !important;
    border-right: 1px solid #ececf3 !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 16px !important;
    font-weight: 700;
    color: var(--ay-ink) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  /* Κουμπί καλαθιού */
  .ty-product-detail .cols-wrap .ut2-pb__button > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .ty-product-detail .cols-wrap .ty-btn__add-to-cart {
    flex: 1 1 100%;
    width: 100%;
    min-height: 54px;
    margin: 0 !important;
    border-radius: 14px !important;
    background: var(--ay-orange) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: .2px;
    box-shadow: 0 6px 18px rgba(242, 85, 41, .28);
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  }
  .ty-product-detail .cols-wrap .ty-btn__add-to-cart:hover {
    background: var(--ay-orange-dark) !important;
    box-shadow: 0 8px 22px rgba(242, 85, 41, .36);
    transform: translateY(-1px);
  }
  .ty-product-detail .cols-wrap .ty-btn__add-to-cart:active { transform: translateY(0); }

  /* Αγαπημένα / Σύγκριση σαν δύο ισομερή κουμπιά */
  .ty-product-detail .cols-wrap .ut2-add-to-wish,
  .ty-product-detail .cols-wrap .ut2-add-to-compare {
    flex: 1 1 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid var(--ay-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ay-indigo) !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    transition: border-color .2s, background .2s;
  }
  .ty-product-detail .cols-wrap .ut2-add-to-wish:hover,
  .ty-product-detail .cols-wrap .ut2-add-to-compare:hover {
    border-color: var(--ay-indigo);
    background: #f3f4fc;
  }
  .ty-product-detail .cols-wrap .ut2-add-to-wish i,
  .ty-product-detail .cols-wrap .ut2-add-to-compare i {
    font-size: 18px;
    margin: 0 !important;
  }


  /* ---------- Διορθώσεις διάταξης ---------- */
  .ty-product-detail .cols-wrap .ty-value-changer{flex:0 0 auto!important;width:130px!important;min-width:130px!important;max-width:none!important;padding:0!important}
  .ty-product-detail .cols-wrap .ut2-qty__wrap>div{width:100%}
  .ty-product-detail .cols-wrap .ty-qty{justify-content:flex-start!important;width:100%}
  .ty-product-detail .cols-wrap .ty-qty:before,.ty-product-detail .cols-wrap .ty-qty:after{display:none!important}
  .ty-product-detail .cols-wrap .ty-qty .ty-control-group__label{width:auto!important;min-width:0!important;flex:0 0 auto;text-align:left!important;float:none!important}
  /* Συντομότερο κείμενο: "Αγαπημένα" */
  .ty-product-detail .cols-wrap .ut2-add-to-wish{font-size:0!important}
  .ty-product-detail .cols-wrap .ut2-add-to-wish:after{content:"Αγαπημένα";font-size:13px}
}

/* ---------- Κινητό ---------- */
@media (max-width: 767px) {
  .ty-product-detail .cols-wrap .ut2-pb__price-actual .ty-price,
  .ty-product-detail .cols-wrap .ut2-pb__price-actual .ty-price-num { font-size: 30px; }
}
