/* ================================
   LASKARI SHOP / WOOCOMMERCE
   ================================ */

/* Τίτλος προϊόντος στη single */
.woocommerce div.product .product_title {
  font-size: 20px !important;
  line-height: 26px !important;
  font-weight: 500 !important;
}

/* Τίτλοι προϊόντων σε λίστες/καρτέλες */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.tbay-woo-products .product .name, 
.product-grid .product-title,
.product .entry-title {
  font-family: var(--font-latin), var(--font-greek);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

/* Μάρκα (brand) πάνω από τίτλο, αν υπάρχει */
.product .name .brand, 
.product .meta-brand {
  font-weight: 600;
  letter-spacing: .01em;
}

/* Hide sale price (current) for MOSCOT */
a[title*="MOSCOT"] ins,
a[title*="MOSCOT"] del {
    display: none !important;
}

/* Κρύψε το default WooCommerce/Theme SALE badge */
.woocommerce span.onsale {
    display: none !important;
}
.single-product .onsale,
.single-product [class*="sale-badge"],
.single-product [class*="badge-sale"],
.single-product [class*="ribbon-sale"],
.single-product .badge.sale {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Για να κάθεται από πάνω το δικό μας group badges */
.single-product .laskari-badges { 
  z-index: 50 !important; 
}

/* Κοντέινερ για τα badges */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.single-product .product {
  position: relative;
}

.laskari-badge-new,
.laskari-badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  line-height: 1.3;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 20;
  display: inline-block;
  margin-right: 6px;
}

/* NEW */
.laskari-badge-new {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

/* SALE */
.laskari-badge-sale {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  left: auto;
  right: auto;
  margin-left: 60px;
}

/* Stock status στη single */
.single-product .summary .stock{
  font-size:18px !important;
  font-weight:700 !important;
  background:none !important;
  border:none !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  text-transform:none !important;
  line-height:1.5 !important;
}

/* Άμεσα διαθέσιμο */
.single-product .summary .stock.in-stock{ color:#28c76f !important; }
.single-product .summary .stock.in-stock::before{
  content:"●"; color:#28c76f; font-size:14px; margin-right:6px;
}

/* Κατόπιν παραγγελίας */
.single-product .summary .stock.available-on-backorder{ color:#ff9f1c !important; }
.single-product .summary .stock.available-on-backorder::before{
  content:"●"; color:#ff9f1c; font-size:14px; margin-right:6px;
}

/* Μη διαθέσιμο */
.single-product .summary .stock.out-of-stock{ color:#e63946 !important; }
.single-product .summary .stock.out-of-stock::before{
  content:"●"; color:#e63946; font-size:14px; margin-right:6px;
}

/* Κρύψε παλιές μπάρες διαθέσιμου */
.single-product .product-stock,
.single-product .product-stock-status,
.single-product .stock-bar,
.single-product .availability-bar {
  display:none !important;
}

/* Κρύψε το OUT OF STOCK στα sliders / καρουσέλ κ.λπ. */
.out-stock,
.laskari-new-carousel .out-stock,
.newarrivals-wide .out-stock,
.slick-slide .out-stock,
.owl-item .out-stock,
.product .out-stock,
.product-block .out-stock {
  display: none !important;
}

/* ===== ΤΙΜΕΣ ===== */

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.laskari-new-carousel .price,
.newarrivals-wide .price,
.laskari-slider .price {
  font-family: "Poppins","Inter",sans-serif !important;
  font-weight: 900 !important;
  color: #000 !important;
  text-decoration: none !important;
  letter-spacing: -0.015em;
  font-size: 16px;
}

/* τελική / τρέχουσα τιμή (ins) */
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.laskari-new-carousel .price ins,
.newarrivals-wide .price ins,
.laskari-slider .price ins {
  font-weight: 900 !important;
  color: #000 !important;
  text-decoration: none !important;
  border: none !important;
}

/* amount wrappers */
.woocommerce .price .woocommerce-Price-amount,
.woocommerce .price .woocommerce-Price-amount bdi,
.laskari-new-carousel .price .woocommerce-Price-amount,
.newarrivals-wide .price .woocommerce-Price-amount {
  font-weight: 470 !important;
}

/* αρχική τιμή (del) */
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.laskari-new-carousel .price del,
.newarrivals-wide .price del,
.laskari-slider .price del {
  color: rgba(0,0,0,0.45) !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  opacity: .85;
  font-size: 95%;
}

/* Απόσταση ανάμεσα σε αρχική/τελική */
.woocommerce ul.products li.product .price del + ins,
.woocommerce div.product p.price del + ins,
.woocommerce div.product span.price del + ins,
.laskari-new-carousel .price del + ins,
.newarrivals-wide .price del + ins,
.laskari-slider .price del + ins {
  margin-left: 6px;
}

/* Τιμές στο slider Νέες Αφίξεις */
.laskari-na-item .price ins .amount { font-weight: 600; }
.laskari-na-item .price del .amount { font-weight: 400; opacity: .4; }
.laskari-na-item .price > .woocommerce-Price-amount,
.laskari-na-item .price > .amount {
  font-weight: 600;
}

/* ===== Layout προϊόντων (στήλες) ===== */
@media (min-width: 1200px){
  .products.products-grid{ display:flex; flex-wrap:wrap; }
  .products.products-grid .product{ flex:0 0 25%; max-width:25%; box-sizing:border-box; }
}

@media (min-width: 992px) and (max-width:1199.98px){
  .products.products-grid{ display:flex; flex-wrap:wrap; }
  .products.products-grid .product{ flex:0 0 33.333%; max-width:33.333%; box-sizing:border-box; }
}

@media (min-width: 480px) and (max-width: 991.98px){
  .products.products-grid{ display:flex; flex-wrap:wrap; }
  .products.products-grid .product{ flex:0 0 50%; max-width:50%; box-sizing:border-box; }
}

@media (max-width: 479.98px){
  .products.products-grid{ display:flex; flex-wrap:wrap; }
  .products.products-grid .product{ flex:0 0 50%; max-width:100%; box-sizing:border-box; }
}

/* safety για εικόνες */
.products.products-grid .product img{ 
  width:100%; 
  height:auto; 
  display:block; 
}

/* ===== Selects / ordering ===== */

/* Απόκρυψη SumoSelect wrapper */
.SumoSelect {
  display: none !important;
}

/* Κανονικό WooCommerce select */
form.woocommerce-filler select[name="product_type"],
form.woocommerce-ordering select.orderby {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 10 !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== Swatches (Μέγεθος) ===== */

/* 1. Κρύψε το default select όταν υπάρχουν swatches */
.cfvsw-hidden-select select {
    display: none !important;
}

/* 2. Κρύψε το νούμερο δίπλα από το "Μέγεθος" (π.χ. Μέγεθος53) */
.cfvsw-selected-terms {
    display: none !important;
}

/* 3. Container swatches */
.cfvsw-swatches-container.cfvsw-product-container {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

/* 4. Κουτάκια μεγέθους */
.cfvsw-swatches-container .cfvsw-swatches-option {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dddddd;
    padding: 6px 12px;
    min-width: 40px;
    min-height: 32px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

/* 5. Επιλεγμένο μέγεθος */
.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-selected-swatch {
    border-color: #000000;
    font-weight: 600;
}

/* 6. Hover effect */
.cfvsw-swatches-container .cfvsw-swatches-option:hover {
    border-color: #000000;
}

/* Μη διαθέσιμα μεγέθη */
.cfvsw-swatches-option.cfvsw-swatches-hide-disable.cfvsw-swatches-disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    position: relative;
}

/* Απαλή διαγώνια διαγραφή */
.cfvsw-swatches-option.cfvsw-swatches-hide-disable.cfvsw-swatches-disabled::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 50%;
    height: 1.5px;
    background-color: #666;
    transform: translateY(-50%) rotate(-10deg);
    opacity: 0.7;
    pointer-events: none;
}

/* Αφαίρεση hover στα disabled */
.cfvsw-swatches-option.cfvsw-swatches-hide-disable.cfvsw-swatches-disabled:hover {
    border-color: #dddddd !important;
}

/* Αφαίρεση του X από τα μη διαθέσιμα swatches */
.cfvsw-swatches-option.cfvsw-swatches-hide-disable.cfvsw-swatches-disabled::before {
    display: none !important;
    content: none !important;
}

/* Label από πάνω, κουτάκια από κάτω */
table.variations tr {
    display: block;
}
table.variations th.label,
table.variations td.value {
    display: block;
    width: 100%;
}
table.variations th.label {
    text-align: left;
}
table.variations td.value {
    margin-top: 5px;
}

/* ===== Brand logo στη single ===== */

/* Force brand logo to display 100x100px */
.single-product .yith-wcbr-brands-logo img {
    width: 150px !important;
    height: 100px !important;
    object-fit: contain;
}

/* Fine-tune spacing για το brand logo πάνω από τίτλο */
.single-product .yith-wcbr-brands-logo {
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Κρύψε μόνο τη γραμμή "Brand:" στο product meta */
.single-product .product_meta span.posted_in:has(a[href*="brand/"]) {
    display: none !important;
}
