/* =========================================
   CANNA24 – Seed Section (Auto + Photo)
   ========================================= */

/* Κεφαλίδα ενότητας */
.c24-seedsection .section-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  max-width:1200px; margin:0 auto 14px; padding:0 10px;
}

/* Products container */
.c24-seedsection .products.row{
  display:grid !important;
  gap:22px !important;
  max-width:1200px;
  margin:0 auto !important;
  padding:0 10px;
}

/* Κατάργηση clearfix */
.c24-seedsection .products.row::before,
.c24-seedsection .products.row::after{ display:none !important; }

/* Κάρτες προϊόντων */
.c24-seedsection .products.row > .product-small{
  float:none !important;
  width:100% !important;
  margin:0 !important;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  transition:transform .25s ease, box-shadow .25s ease;
  padding:14px !important;
  text-align:center;
  align-self:stretch;
}
.c24-seedsection .products.row > .product-small:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}

/* Εικόνες */
.c24-seedsection .box-image{
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:12px;
}
.c24-seedsection .box-image img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:12px;
  transition:transform .3s ease;
}
.c24-seedsection li.product:hover .box-image img{
  transform:scale(1.04);
}

/* Τίτλος + τιμή */
.c24-seedsection .woocommerce-loop-product__title{
  font-size:16px;
  font-weight:600;
  margin:10px 0 4px;
}
.c24-seedsection .price{
  color:#2BA84A;
  font-weight:600;
  font-size:15px;
}

/* Columns (ανά Woo κλάση) */
.c24-seedsection .products.row.large-columns-3,
.c24-seedsection .products.row.medium-columns-3{
  grid-template-columns:repeat(3, minmax(280px,1fr));
}
.c24-seedsection .products.row.large-columns-2,
.c24-seedsection .products.row.medium-columns-2{
  grid-template-columns:repeat(2, minmax(360px,1fr));
}

/* Responsive */
@media (max-width:1024px){
  .c24-seedsection .products.row.large-columns-3,
  .c24-seedsection .products.row.medium-columns-3,
  .c24-seedsection .products.row.large-columns-2,
  .c24-seedsection .products.row.medium-columns-2{
    grid-template-columns:repeat(2, minmax(260px,1fr));
  }
}
@media (max-width:600px){
  .c24-seedsection .products.row{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
}

/* Seed of the Week — single card per tab */
.c24-seedweek{padding:18px 0;background:#f9faf9} /* << μικρό ύψος */

.c24-seedweek .seed-tabs{
  display:flex; gap:10px; justify-content:center;
  margin:0 0 12px; padding:0; list-style:none;
}
.c24-seedweek .seed-tabs li a{
  display:block; padding:9px 18px;
  border:1px solid #DCE6E0; border-radius:20px;
  color:#1A1F1C; font-weight:500; background:#fff; transition:all .2s;
  text-decoration:none;
}
.c24-seedweek .seed-tabs li a:hover{ border-color:#2BA84A; color:#2BA84A; }
.c24-seedweek .seed-tabs li.active a{ background:#2BA84A; color:#fff; border-color:#2BA84A; }

.c24-seedweek .seed-tab{ display:none; }
.c24-seedweek .seed-tab.active{ display:block; }

/* Κέντρο και max-width για ΜΙΑ κάρτα */
.c24-seedweek .products.row{
  display:grid !important;
  grid-template-columns: minmax(280px, 420px);
  justify-content:center !important;
  gap:22px !important;
  max-width: 100%;
  margin:0 auto !important;
  padding:0 10px;
}
.c24-seedweek .products.row::before,
.c24-seedweek .products.row::after{ display:none !important; }

/* Κάρτα */
.c24-seedweek .products.row > .product-small{
  float:none !important; width:100% !important; margin:0 !important;
  background:#fff; border-radius:14px; box-shadow:0 8px 20px rgba(0,0,0,.06);
  transition:transform .25s ease, box-shadow .25s ease;
  text-align:center; padding:16px !important; align-self:stretch;
}
.c24-seedweek .products.row > .product-small:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}

/* Εικόνα 1:1 */
.c24-seedweek .box-image{ width:100%; aspect-ratio:1 / 1; overflow:hidden; border-radius:12px; margin-bottom:10px; }
.c24-seedweek .box-image img{ width:100% !important; height:100% !important; object-fit:cover !important; border-radius:12px; transition:transform .3s ease; }
.c24-seedweek .product-small:hover .box-image img{ transform:scale(1.04); }

/* Τίτλος/Τιμή */
.c24-seedweek .woocommerce-loop-product__title{ font-size:16px; font-weight:600; color:#0b0f0d; margin:10px 0 4px; }
.c24-seedweek .price{ color:#2BA84A; font-weight:600; font-size:15px; }

/* Unclamp wrappers */
.c24-seedweek .product-small .col-inner,
.c24-seedweek .product-small .box,
.c24-seedweek .product-small .box-text{ max-width:none !important; width:100% !important; margin:0 !important; }
.c24-seedweek .equalize-box .box{ height:auto !important; }

/* CTA */
.c24-seedweek .seed-cta{ margin-top:10px; text-align:center; }
.c24-seedweek .seed-cta .button{ border-radius:14px; padding:10px 16px; }

/* ===== Head / Title ===== */
.c24-seedweek__head{ text-align:center; margin: 0 0 8px; }
.c24-seedweek .c24-title{
  font-family:Poppins, sans-serif;
  font-weight:700;
  letter-spacing:-0.01em;
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0;
}
.c24-seedweek .c24-sub{ margin:0; opacity:.75; font-size: 14px; }

/* ===== Optional: διακριτικό watermark (leaf) ===== */
.c24-seedweek.has-watermark{ position:relative; overflow:hidden; }
.c24-seedweek.has-watermark::before{
  content:"";
  position:absolute;
  right: -80px; top: -40px;
  width: 280px; height: 280px;
  opacity: .06;
  background-repeat:no-repeat; background-size:contain;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'>\
<defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'>\
<stop offset='0%' stop-color='%232BA84A'/>\
<stop offset='100%' stop-color='%231E5631'/></linearGradient></defs>\
<path fill='url(%23g)' d='M170 18c-22 28-60 44-101 44-12 0-24-1-36-3 7 43 27 77 55 96 29 19 64 22 97 6-13 26-33 46-60 59-27 12-56 15-86 9 38 24 80 31 119 19 39-11 73-40 96-82 22-42 27-92 16-148-31 7-58 0-80-19z'/>\
</svg>");
  pointer-events:none; z-index:0;
}
@media (max-width: 600px){
  .c24-seedweek.has-watermark::before{ opacity: .04; width:220px; height:220px; right:-60px; top:-30px; }
}
.c24-seedweek .seed-tabs,
.c24-seedweek .seed-tab,
.c24-seedweek .seed-cta{ position:relative; z-index:1; }

/* ======= Seed of the Week: custom single-card layout with excerpt ======= */
.c24-seedweek .seed-tab { display:block; }
.c24-seedweek .seed-tab:not(.active){ display:none; }

.c24-seedweek .seed-tab .seed-card{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  max-width: 540px;            /* λίγο πιο φαρδιά από το grid των Woo */
  margin: 0 auto;              /* κέντρο */
  background:#fff;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  padding:14px;
}

.c24-seedweek .seed-card .seed-thumb{
  display:block;
  border-radius:12px;
  overflow:hidden;
}
.c24-seedweek .seed-card .seed-thumb img{
  width:100%; height:auto; display:block;
  aspect-ratio:1/1; object-fit:cover;
  transition:transform .3s ease;
  border-radius:12px;
}
.c24-seedweek .seed-card:hover .seed-thumb img{ transform:scale(1.03); }

.c24-seedweek .seed-card .seed-body{
  text-align:center;
}
.c24-seedweek .seed-card .seed-title{
  margin:6px 0 4px;
  font-size:18px; font-weight:600; line-height:1.35;
}
.c24-seedweek .seed-card .seed-title a{ color:#0b0f0d; text-decoration:none; }
.c24-seedweek .seed-card .seed-title a:hover{ color:#1E5631; }

.c24-seedweek .seed-card .seed-price{
  font-weight:600; margin-bottom:6px;
}
.c24-seedweek .seed-card .seed-price .price{
  color:#2BA84A; font-size:15px;
}

/* Απόσπασμα 2–3 γραμμές με clamp */
.c24-seedweek .seed-card .seed-excerpt{
  margin:6px 0 10px;
  font-size:14px; line-height:1.55; opacity:.88;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3;
  overflow:hidden;
}

/* Κουμπί */
.c24-seedweek .seed-card .seed-actions .button{
  border-radius:12px; padding:10px 14px;
}

/* Responsive: λίγο πιο στενό σε μικρές οθόνες */
@media (max-width:480px){
  .c24-seedweek .seed-tab .seed-card{ max-width: 92%; }
}
