/* ===========================================================
   Farfoulas — custom skin on top of VM Basic
   Ανανεωμένη παλέτα βασισμένη στο εγκεκριμένο mockup
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --farf-orange:        #E06B22;
  --farf-orange-dark:   #C4571A;
  --farf-orange-light:  #FBEAE0;
  --farf-olive-light:   #8A9A2B;
  --farf-olive-dark:    #6F7C1F;
  --farf-slate:         #5B5A52;
  --farf-text:          #2B2B26;
  --farf-green:         #3D7A3D;
  --farf-cream:         #FBF9F4;
  --farf-card:          #FFFFFF;
  --farf-line:          #ECE7DC;
  --farf-radius:        14px;
  --farf-shadow:        0 4px 18px rgba(43,43,38,0.08);
  --farf-shadow-hover:  0 10px 28px rgba(43,43,38,0.14);

  --bs-primary: var(--farf-orange);
  --bs-primary-rgb: 224,107,34;
  --bs-link-color: var(--farf-slate);
  --bs-link-hover-color: var(--farf-orange-dark);
  --bs-body-font-family: 'Inter', system-ui, sans-serif;
  --bs-body-color: var(--farf-text);
}

body{
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--farf-text);
  background: var(--farf-cream);
}

h1, h2, h3, h4, h5, h6,
.module-title,
.logo{
  font-family: 'Lora', Georgia, serif;
}

a{ color: var(--farf-slate); }
a:hover{ color: var(--farf-orange-dark); }

/* ---------- Γενικές κάρτες (Bootstrap .card, πλαίσια modules) ---------- */
.card{
  border-radius: var(--farf-radius);
  border-color: var(--farf-line) !important;
  box-shadow: var(--farf-shadow);
}

/* ---------- Header / λογότυπο ---------- */
header.header{
  background: #ffffff;
  border-bottom: 1px solid var(--farf-line);
}

.logo,
.logo a.logo{
  color: var(--farf-orange) !important;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: .5px;
  text-decoration: none;
}

/* ---------- Κουμπιά ---------- */
.btn-primary{
  background-color: var(--farf-orange) !important;
  border-color: var(--farf-orange) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: var(--farf-shadow);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.btn-primary:hover,
.btn-primary:focus{
  background-color: var(--farf-orange-dark) !important;
  border-color: var(--farf-orange-dark) !important;
  box-shadow: var(--farf-shadow-hover);
}

/* ---------- Τίτλοι modules (sidebar: Main Menu, Category, Search) ---------- */
.module-title{
  background: linear-gradient(180deg, var(--farf-olive-light) 0%, var(--farf-olive-dark) 100%);
  color: #fff;
  font-weight: 700;
  padding: .65rem 1.1rem;
  margin: 0 0 .75rem 0;
  border-radius: var(--farf-radius) var(--farf-radius) 0 0;
  letter-spacing: .02em;
}

.moduletable{
  margin-bottom: 1.5rem;
}

/* ---------- Τιμές προϊόντων ---------- */
.PricesalesPrice,
.vm-price-value{
  color: var(--farf-green) !important;
  font-weight: 700;
}

/* ---------- Κάρτες προϊόντων ---------- */
.product{
  transition: transform .18s ease, box-shadow .18s ease;
  border-radius: var(--farf-radius);
  overflow: hidden;
}
.product-container{
  padding: 14px 10px;
}
.product:hover{
  transform: translateY(-4px);
  box-shadow: var(--farf-shadow-hover);
}

/* ---------- Breadcrumb ---------- */
.mod-breadcrumbs__wrapper a{
  color: var(--farf-slate);
}

/* ---------- Footer ---------- */
footer{
  background: var(--farf-text);
  color: #C8C4B8;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
footer a{
  color: #C8C4B8;
}
footer a:hover{
  color: var(--farf-orange);
}
footer .module-title{
  background: none;
  color: #fff;
  padding: 0 0 .75rem 0;
  margin: 0 0 .75rem 0;
  border-radius: 0;
  font-size: 1rem;
  letter-spacing: .03em;
}


/* ---------- Οριζόντιο κυρίως μενού (top navbar) ---------- */
.main-menu{
  background: linear-gradient(90deg, var(--farf-olive-light), var(--farf-olive-dark));
}
.main-menu ul.nav{
  justify-content: center;
}
.main-menu .nav-item > a{
  color: #fff;
  font-weight: 600;
  padding: .85rem 1.1rem;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .03em;
  transition: color .15s ease, background-color .15s ease;
}
.main-menu .nav-item > a:hover{
  color: #fff;
  background: rgba(0,0,0,.15);
}
.main-menu .nav-item.active > a,
.main-menu .nav-item.current > a{
  background: rgba(0,0,0,.18);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--farf-orange);
}
.main-menu .mod-menu__sub{
      background: var(--farf-olive-dark);
        border-top: 3px solid var(--farf-orange);
          box-shadow: 0 8px 20px rgba(36,44,46,.18);
            padding: .4rem 0;
}
.main-menu .mod-menu__sub li > a{
      display: block;
        color: #fff;
          padding: .55rem 1.1rem;
            background: transparent;
}
.main-menu .mod-menu__sub li > a:hover,
.main-menu .mod-menu__sub li > a:focus{
      background: rgba(0,0,0,.18);
        color: #fff;
}


/* ---------- Λογότυπο (τοπικό αρχείο) ---------- */
.logo,
.logo a.logo{
  display: inline-flex;
  align-items: center;
}
.logo a.logo{
  width: 240px;
  height: 58px;
  background-image: url('/media/templates/site/vmbasic_farfoulas/images/farfoulas.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.logo a.logo .h3{
  display: inline-block;
  text-indent: -9999px;
  overflow: hidden;
  width: 0;
  height: 0;
}


/* ---------- Σελίδα προϊόντος ---------- */
.manufacturer .manuModal{
  color: var(--farf-slate);
  font-weight: 600;
  text-decoration: none;
}
.manufacturer .manuModal:hover{
  color: var(--farf-orange-dark);
  text-decoration: underline;
}

.product-image.img-thumbnail,
.browse-image img,
.category-image img{
  border: 1px solid var(--farf-line);
  border-radius: var(--farf-radius);
  transition: box-shadow .15s ease, transform .15s ease;
}

h1.vm-page-title{
  border-bottom-color: var(--farf-orange) !important;
  border-bottom-width: 3px !important;
}

.vm-subcategory-title.border-top{
  border-top-color: var(--farf-orange) !important;
  border-top-width: 3px !important;
  padding-top: .75rem !important;
}

.quantity-controls{
  border-color: #d8d2c4 !important;
  color: var(--farf-slate) !important;
}
.quantity-controls:hover{
  color: var(--farf-orange-dark) !important;
}

/* ---------- Pagination ---------- */
.pagenav{
  color: var(--farf-slate);
  text-decoration: none;
  border-radius: 999px;
  padding: .3rem .75rem;
  transition: background-color .15s ease, color .15s ease;
}
.pagenav:hover{
  background: var(--farf-orange);
  color: #fff;
}

/* ---------- Footer module: fix low-contrast inherited inline colors ---------- */
#mod-custom157 span[style*="333300"],
#mod-custom157 span[style*="51, 51, 0"]{
  color: #C8C4B8 !important;
}

/* ---------- Mobile fix: footer store-info table overflowed viewport ---------- */
@media (max-width: 767.98px){
  #mod-custom157 table,
  #mod-custom157 tbody,
  #mod-custom157 tr{
    display: block !important;
    width: 100% !important;
  }
  #mod-custom157 td{
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #mod-custom157 img{
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
  }
}

/* ---------- Hero (custom module, αρχική σελίδα) ---------- */
.farf-hero{
  background: linear-gradient(120deg, var(--farf-orange) 0%, var(--farf-orange-dark) 65%);
  color: #fff;
  padding: 48px 28px 56px;
  border-radius: var(--farf-radius);
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0;
}
.farf-hero::after{
  content:"";
  position:absolute; right:-60px; top:-60px; width:280px; height:280px; border-radius:50%;
  background: rgba(255,255,255,0.08);
}
.farf-hero-inner{ position:relative; z-index:1; max-width:620px; }
.farf-hero .eyebrow{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; opacity:.85; font-weight:600; }
.farf-hero h2{ font-size:32px; margin:10px 0 14px; line-height:1.2; color:#fff; }
.farf-hero p{ font-size:15.5px; opacity:.92; margin:0 0 24px; max-width:480px; color:#fff; }
.farf-hero-cta{
  display:inline-flex; align-items:center; gap:10px; background:#fff; color:var(--farf-orange-dark);
  font-weight:700; padding:12px 24px; border-radius:999px; font-size:14px; box-shadow: var(--farf-shadow);
  text-decoration:none;
}
.farf-hero-cta:hover{ color: var(--farf-orange-dark); box-shadow: var(--farf-shadow-hover); }

/* ---------- Category pills ---------- */
.farf-pills{
  display:flex; gap:10px; flex-wrap:wrap; padding: .25rem 0 1.5rem;
}
.farf-pills a{
  background: var(--farf-card); border:1px solid var(--farf-line); padding:9px 18px; border-radius:999px;
  font-size:13.5px; font-weight:600; color:var(--farf-text); box-shadow: var(--farf-shadow);
  text-decoration:none;
}
.farf-pills a:hover{ color: var(--farf-orange-dark); border-color: var(--farf-orange); }

/* ---------- Category icon rail ---------- */
.farf-cat-rail{
  display:grid; grid-template-columns:repeat(6,1fr); gap:14px; padding: .25rem 0 1.5rem;
}
.farf-cat-card{
  background: var(--farf-card); border:1px solid var(--farf-line); border-radius: var(--farf-radius);
  padding: 64px 10px 18px; text-align:center; transition: box-shadow .15s, transform .15s; text-decoration:none; display:block;
  position:relative; font-size:12.5px; font-weight:600; color: var(--farf-slate); line-height:1.3;
}
.farf-cat-card:hover{ box-shadow: var(--farf-shadow-hover); transform: translateY(-3px); border-color: var(--farf-orange); }
.farf-cat-card::before{
  content:""; position:absolute; top:14px; left:50%; transform:translateX(-50%);
  width:44px; height:44px; border-radius:50%; background-color: var(--farf-orange-light);
  background-repeat:no-repeat; background-position:center; background-size:22px 22px;
}
.farf-cat-card.icon-lit::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C4571A%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2019.5A2.5%202.5%200%200%201%206.5%2017H20%22%2F%3E%3Cpath%20d%3D%22M6.5%202H20v20H6.5A2.5%202.5%200%200%201%204%2019.5v-15A2.5%202.5%200%200%201%206.5%202z%22%2F%3E%3C%2Fsvg%3E"); }
.farf-cat-card.icon-history::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C4571A%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E"); }
.farf-cat-card.icon-study::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C4571A%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018V5l12-2v13%22%2F%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2218%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2216%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E"); }
.farf-cat-card.icon-local::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C4571A%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.5%205.5%200%200%200-7.8%200L12%205.6l-1-1a5.5%205.5%200%200%200-7.8%207.8l1%201L12%2021l7.8-7.6%201-1a5.5%205.5%200%200%200%200-7.8z%22%2F%3E%3C%2Fsvg%3E"); }
.farf-cat-card.icon-arts::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C4571A%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%2F%3E%3C%2Fsvg%3E"); }
.farf-cat-card.icon-collectible::before{ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C4571A%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202l2.4%206.6L21%2011l-6.6%202.4L12%2020l-2.4-6.6L3%2011l6.6-2.4z%22%2F%3E%3C%2Fsvg%3E"); }
.farf-cat-card span{ font-size:12.5px; font-weight:600; color: var(--farf-slate); line-height:1.3; display:block; }

@media (max-width: 767.98px){
  .farf-cat-rail{ grid-template-columns:repeat(3,1fr); }
  .farf-hero h2{ font-size:24px; }
}
@media (max-width: 575.98px){
  .farf-cat-rail{ grid-template-columns:repeat(2,1fr); }
}

/* ---------- Newsletter ---------- */
.farf-newsletter{
  background: linear-gradient(120deg, var(--farf-olive-dark), var(--farf-olive-light));
  color:#fff; text-align:center; padding: 40px 24px; border-radius: var(--farf-radius); margin: 1.5rem 0;
}
.farf-newsletter h2{ font-size:22px; margin:0 0 8px; color:#fff; }
.farf-newsletter p{ opacity:.9; font-size:14px; margin:0 0 22px; color:#fff; }
.farf-nl-form{ display:flex; justify-content:center; gap:10px; max-width:440px; margin:0 auto; flex-wrap:wrap; }
.farf-nl-form input{
  flex:1; min-width:200px; border:none; border-radius:999px; padding:12px 18px; font-size:14px; font-family:inherit;
}
.farf-nl-form button{
  background: var(--farf-text); color:#fff; border:none; border-radius:999px; padding:12px 22px; font-weight:700; font-size:13.5px; cursor:pointer;
}

.vm-addtocart-button-col{
  margin-left: .6rem;
}


/* Round 2: smaller product title & short description in listing */
.vm-product-title{
  font-size: 14px !important;
}
.vm-product-s-desc{
  font-size: 12px !important;
}

/* Round 2: move sidebar modules from right to left on desktop */
@media (min-width: 992px){
  aside.sidebar-right{
    order: 1 !important;
  }
  main.order-lg-2{
    order: 2 !important;
  }
}

/* ---------- Hero carousel (πολλαπλά banners στο hero, βασισμένο σε Bootstrap carousel) ---------- */
.farf-hero-carousel .carousel-item .farf-hero{ margin: 1.5rem 0; }

/* Εναλλακτικά χρώματα banner — προσθέστε class="farf-hero farf-hero--olive" (ή --green, --slate) σε νέο banner για ποικιλία */
.farf-hero--olive{ background: linear-gradient(120deg, var(--farf-olive-light) 0%, var(--farf-olive-dark) 65%); }
.farf-hero--green{ background: linear-gradient(120deg, var(--farf-green) 0%, #2a5c46 65%); }
.farf-hero--slate{ background: linear-gradient(120deg, var(--farf-slate) 0%, #3a3a35 65%); }

.farf-hero-carousel .carousel-indicators{ bottom: 14px; margin-bottom:0; }
.farf-hero-carousel .carousel-indicators [data-bs-target]{
  width:9px; height:9px; border-radius:50%; opacity:.55; margin: 0 4px;
}
.farf-hero-carousel .carousel-indicators .active{ opacity:1; }
.farf-hero-carousel .carousel-control-prev,
.farf-hero-carousel .carousel-control-next{ width: 44px; }

/* Με ένα μόνο banner, κρύψε τα βελάκια πλοήγησης και τις τελείες (χρειάζονται 2+ banners) */
.farf-hero-carousel .carousel-indicators,
.farf-hero-carousel .carousel-control-prev,
.farf-hero-carousel .carousel-control-next{ display:none !important; }
.farf-hero-carousel:has(.carousel-item:nth-child(2)) .carousel-indicators{ display:flex !important; }
.farf-hero-carousel:has(.carousel-item:nth-child(2)) .carousel-control-prev,
.farf-hero-carousel:has(.carousel-item:nth-child(2)) .carousel-control-next{ display:flex !important; }


/* ---------- Διόρθωση οριζόντιου scroll σε mobile (Επιλεγμένα Προϊόντα carousel) ---------- */
/* Το εσωτερικό horizontal-scroll carousel των προϊόντων "διέρρεε" πλάτος προς τα έξω και προκαλούσε
   οριζόντιο scroll/swipe σε όλη τη σελίδα σε mobile. Το carousel παραμένει scrollable εσωτερικά. */
html, body{ overflow-x: hidden; max-width: 100vw; }


/* ---------- Σελίδα Επικοινωνίας: αναβαθμισμένη φόρμα & κάρτα στοιχείων επικοινωνίας ---------- */
/* Βασισμένο στο εγκεκριμένο mockup — δύο κάρτες δίπλα-δίπλα μέσα στο ήδη υπάρχον
   Bootstrap grid της Joomla (row.gy-4.mb-4 > col-md-6 x2): σκούρα κάρτα στοιχείων
   επικοινωνίας αριστερά, λευκή κάρτα φόρμας δεξιά. Στυλ μόνο (CSS) — δεν αλλάζει
   καθόλου τα ονόματα πεδίων, το action, τα hidden inputs ή τη λειτουργικότητα
   αποστολής της Joomla. */

.com-contact.contact .row.gy-4.mb-4{
  align-items: stretch;
}

/* --- Κάρτα στοιχείων επικοινωνίας (αριστερά) --- */
.com-contact__container{
  background: linear-gradient(160deg, var(--farf-olive-dark), #3a3a20);
  color: #f3f2ea;
  border-radius: var(--farf-radius);
  padding: 34px 30px;
  box-shadow: var(--farf-shadow);
  height: 100%;
  box-sizing: border-box;
}
.com-contact__container h3{
  color: #fff;
  font-size: 21px;
  margin: 0 0 14px;
}
.com-contact__position{
  margin: 0 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
}
.com-contact__position dt{
  display: inline;
  color: #c8c4a8;
  font-weight: 600;
}
.com-contact__position dd{
  display: inline;
  margin: 0 0 0 4px;
  color: #fff;
}

/* Λίστα διεύθυνσης/τηλεφώνου/ιστότοπου με εικονίδια (τα ίδια icon-* της Joomla) */
dl.com-contact__address{ margin: 0; }
dl.com-contact__address dt{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 6px;
}
dl.com-contact__address dt:first-child{ margin-top: 0; }
dl.com-contact__address dt [class^="icon-"]{
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(224,107,34,.22);
  color: #f2b183;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
/* Επαναφορά της (κρυμμένης για accessibility) ετικέτας σε ορατή λεζάντα — μόνο εδώ,
   δεν πειράζει το γενικό .visually-hidden που χρησιμοποιείται αλλού στο site */
dl.com-contact__address dt .visually-hidden{
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #c8c4a8;
  font-weight: 600;
}
dl.com-contact__address dd{
  display: block;
  margin: 0 0 2px 46px;
  color: #f3f2ea;
  font-size: 14.5px;
  line-height: 1.5;
}
dl.com-contact__address .contact-webpage a{
  color: #f2b183;
  text-decoration: none;
}
dl.com-contact__address .contact-webpage a:hover{
  text-decoration: underline;
  color: #fff;
}

/* --- Κάρτα φόρμας επικοινωνίας (δεξιά) --- */
.com-contact__form form.well{
  background: var(--farf-card);
  border: 1px solid var(--farf-line);
  border-radius: var(--farf-radius);
  padding: 34px 32px;
  box-shadow: var(--farf-shadow);
  height: 100%;
  box-sizing: border-box;
}
.com-contact__form legend{
  font-family: 'Lora', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--farf-olive-dark);
  border: none;
  padding: 0 0 16px;
  margin: 0 0 4px;
  width: auto;
}
.com-contact__form .control-group.field-spacer{
  margin-bottom: 18px;
}
.com-contact__form .control-group.field-spacer label{
  font-size: 12.5px;
  text-transform: none;
  color: var(--farf-slate);
  font-weight: 400;
}
.com-contact__form .control-group.field-spacer .red{
  color: var(--farf-orange);
}
.com-contact__form .control-group{
  margin-bottom: 20px;
}
.com-contact__form .control-label{
  margin-bottom: 6px;
}
.com-contact__form .control-label label{
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--farf-slate);
}
.com-contact__form .control-label label .star{
  color: var(--farf-orange);
}
.com-contact__form .controls input.form-control,
.com-contact__form .controls textarea.form-control{
  width: 100%;
  border: 1.5px solid var(--farf-line);
  border-radius: 10px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--farf-text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.com-contact__form .controls textarea.form-control{
  min-height: 130px;
  resize: vertical;
}
.com-contact__form .controls input.form-control:focus,
.com-contact__form .controls textarea.form-control:focus{
  outline: none;
  border-color: var(--farf-orange);
  box-shadow: 0 0 0 4px rgba(224,107,34,.12);
}
.com-contact__form .btn-primary.validate{
  padding: .85rem 2rem;
  font-size: 14.5px;
}


/* ---------- Άρθρα (Ενιαία σελίδα & Ροή Νέων): αναβαθμισμένη εμφάνιση ---------- */
/* Στοχεύει τις σταθερές core-classes του com_content (article view + category blog view).
   Μόνο CSS — δεν αλλάζει markup, δεδομένα ή λειτουργικότητα.
   Ο τίτλος στη μονή σελίδα άρθρου ΔΕΝ πειράζεται — έχει ήδη το gradient banner
   από το γονικό template. Εδώ δίνουμε το ΙΔΙΟ ύφος και στον τίτλο άρθρου μέσα
   στη ροή Νέων (blog listing), όπου δεν φτάνει αυτό το στυλ. */

/* Τίτλος άρθρου μέσα στη ροή Νέων/Εκδηλώσεων */
.com-content-category-blog__item .item-content > .page-header {
  background: linear-gradient(100deg, var(--farf-olive-dark), var(--farf-orange-dark));
  border-radius: 8px;
  padding: 16px 22px;
  margin: 0 0 22px;
  box-shadow: var(--farf-shadow);
}
.com-content-category-blog__item .item-content > .page-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}
.com-content-category-blog__item .item-content > .page-header h2 a {
  color: #fff;
  text-decoration: none;
}
.com-content-category-blog__item .item-content > .page-header h2 a:hover {
  text-decoration: underline;
}

/* Μπάρα πληροφοριών άρθρου (συγγραφέας / κατηγορία / ημερομηνία / εμφανίσεις) */
dl.article-info.text-muted {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin: 0 0 26px;
  padding: 14px 18px;
  background: var(--farf-orange-light);
  border-radius: 10px;
  border: 1px solid var(--farf-line);
}
dl.article-info.text-muted dt.article-info-term {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--farf-slate);
  font-weight: 700;
  margin: 0 4px 0 0;
}
dl.article-info.text-muted dd {
  margin: 0;
  font-size: 13px;
  color: var(--farf-slate);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
dl.article-info.text-muted dd .icon-user,
dl.article-info.text-muted dd .icon-folder-open,
dl.article-info.text-muted dd .icon-calendar,
dl.article-info.text-muted dd .icon-eye {
  color: var(--farf-orange-dark);
  font-size: 14px;
}
dl.article-info.text-muted dd a {
  color: var(--farf-olive-dark);
  font-weight: 600;
  text-decoration: none;
}
dl.article-info.text-muted dd a:hover {
  text-decoration: underline;
}

/* Σώμα κειμένου άρθρου */
.com-content-article__body,
.com-content-category-blog__item .item-content {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--farf-text);
}
.com-content-article__body p,
.com-content-category-blog__item .item-content p {
  margin: 0 0 16px;
}
.com-content-article__body img,
.com-content-category-blog__item .item-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--farf-shadow);
}
.com-content-article__body a,
.com-content-category-blog__item .item-content a {
  color: var(--farf-orange-dark);
  text-decoration: underline;
  text-decoration-color: rgba(224,107,34,.35);
  text-underline-offset: 2px;
}
.com-content-article__body a:hover,
.com-content-category-blog__item .item-content a:hover {
  color: var(--farf-orange);
}
.com-content-article__body table,
.com-content-category-blog__item .item-content table {
  max-width: 100%;
}

/* Κάρτα ροής άρθρων (σελίδα κατηγορίας / blog) */
.com-content-category-blog__item.blog-item {
  background: var(--farf-card);
  border: 1px solid var(--farf-line);
  border-radius: var(--farf-radius);
  padding: 30px 32px;
  box-shadow: var(--farf-shadow);
  transition: box-shadow .2s ease;
}
.com-content-category-blog__item.blog-item:hover {
  box-shadow: var(--farf-shadow-hover);
}


/* ---------- Λίστα προϊόντων & Αναζήτηση: εικόνες ~50% μεγαλύτερες ---------- */
/* Μόνο μέσα στη λίστα κατηγορίας/αναζήτησης (.browse-view). Δεν επηρεάζει Αρχική/modules/σελίδα προϊόντος. */
/* farf-thumb-cap */
/* Τα thumbnails παράγονται πλέον στα 400px· κρατάμε το μικρό μέγεθος παντού (module, καλάθι, related)... */
.browseProductImage,
.featuredProductImage{ max-width: 115px; height: auto; }
/* ...εκτός από τη λίστα/αναζήτηση όπου τα θέλουμε μεγάλα */
.browse-view .browseProductImage{
  width: 220px;   /* ~50% μεγαλύτερο από το προηγούμενο ~108px */
  height: auto;
  max-width: 100%;
}

/* farf-featured-cap: κράτα το module «Επιλεγμένα Προϊόντα» στο προηγούμενο μέγεθος παρά τα μεγαλύτερα thumbnails */
.top-3 li.product-container img.featuredProductImage{ max-width: 120px !important; }


/* =========================================================
   Round 3: Header logo bigger, hero shorter, free-shipping bar
   ========================================================= */

/* ---------- 1) Bigger header logo ---------- */
.logo a.logo{
  width: 300px;
  height: 72px;
}
@media (max-width: 991.98px){
  .logo a.logo{ width: 250px; height: 60px; }
}
@media (max-width: 575.98px){
  .logo a.logo{ width: 200px; height: 48px; }
}

/* ---------- 2) Shorter hero (less height) ---------- */
.farf-hero{
  padding: 28px 30px 32px !important;
}
.farf-hero h2{ font-size: 28px; margin: 8px 0 12px; }
.farf-hero p{ margin: 0 0 18px; }
.farf-hero::after{ width: 220px; height: 220px; right: -50px; top: -50px; }
@media (max-width: 767.98px){
  .farf-hero{ padding: 22px 22px 26px !important; }
  .farf-hero h2{ font-size: 22px; }
}

/* ---------- 3) Free-shipping bar (module position: farf-topbar, full width, top) ---------- */
/* Text is edited from Joomla admin: Custom HTML module in position "farf-topbar". */
.farf-shipbar-wrap{
  background: linear-gradient(90deg, var(--farf-orange), var(--farf-orange-dark));
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 8px 16px;
  line-height: 1.4;
}
.farf-shipbar-wrap:empty{ display: none; }
.farf-shipbar-wrap p{ margin: 0; color: #fff; }
.farf-shipbar-wrap a{ color: #fff; text-decoration: underline; }
@media (max-width: 575.98px){
  .farf-shipbar-wrap{ font-size: 12px; padding: 7px 12px; }
}


/* ---------- Offers landing: cards of the 4 offer subcategories (module in banner-1 on Itemid 394) ---------- */
.farf-offer-cats{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:10px 0 6px; }
.farf-offer-cats a{
  display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center;
  min-height:120px; padding:18px 14px; background:var(--farf-card); border:1px solid var(--farf-line);
  border-radius:var(--farf-radius); box-shadow:var(--farf-shadow); text-decoration:none;
  color:var(--farf-text); font-weight:700; font-size:15px; line-height:1.3;
  transition:box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.farf-offer-cats a:hover{ transform:translateY(-3px); box-shadow:var(--farf-shadow-hover); border-color:var(--farf-orange); color:var(--farf-orange-dark); }
.farf-offer-cats a small{ display:block; margin-top:8px; font-weight:600; font-size:12px; color:#fff; background:var(--farf-orange); border-radius:999px; padding:3px 12px; }
@media (max-width:767.98px){ .farf-offer-cats{ grid-template-columns:repeat(2,1fr); } }
/* ===================================================================
   Round 4b: Farfoulas Category Mega Menu (position: farf-catmenu) - mockup faithful
   =================================================================== */
.farf-catmenu-wrap{width:100%;font-family:inherit;position:relative;margin-top:-16px;}
.farf-catmenu-wrap *{box-sizing:border-box;}
.farf-catmenu-wrap ul{list-style:none;margin:0;padding:0;}
.farf-catmenu-wrap a{text-decoration:none;}
.farf-catmenu-wrap .vm-menu li{border-left:0 !important;border-right:0 !important;}
.farf-catmenu-wrap .vm-submenu{border:0;}
.farf-catmenu-wrap .accordion-collapse{display:none;}
.farf-catmenu-wrap .vm-menu-btn{background:transparent;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:inherit;}

/* ---------- DESKTOP (>=1200px) ---------- */
@media (min-width:1200px){
  .farf-catmenu-wrap{background:linear-gradient(90deg,var(--farf-olive-light,#8A9A2B),var(--farf-olive-dark,#6F7C1F));}
  .farf-catmenu-wrap .farf-hamb-btn{display:none;}
  .farf-catmenu-wrap > .vm-menu{max-width:1400px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:stretch;padding:0 8px;}
  .farf-catmenu-wrap > .vm-menu > li.lvl-1{position:relative;display:flex;}
  .farf-catmenu-wrap > .vm-menu > li.lvl-1 > .vm-row-head{display:flex;align-items:center;}
  .farf-catmenu-wrap > .vm-menu > li.lvl-1 > .vm-row-head > .vm-cat-label,
  .farf-catmenu-wrap > .vm-menu > li.lvl-1 > .vm-row-head > a{display:flex;align-items:center;gap:5px;height:47px;color:#fff;font-weight:700;font-size:12px;letter-spacing:0;text-transform:uppercase;padding:0 11px;white-space:nowrap;cursor:pointer;border-bottom:3px solid transparent;transition:background .15s,border-color .15s;}
  /* caret removed to keep all 10 items on one row */
  .farf-catmenu-wrap > .vm-menu > li.lvl-1 > .vm-row-head > .vm-menu-btn{display:none;}
  .farf-catmenu-wrap > .vm-menu > li.lvl-1:hover > .vm-row-head > .vm-cat-label,
  .farf-catmenu-wrap > .vm-menu > li.lvl-1:hover > .vm-row-head > a{background:rgba(0,0,0,.16);border-bottom-color:var(--farf-orange,#E06B22);}
  /* dropdown panel */
  .farf-catmenu-wrap > .vm-menu > li.lvl-1 > .accordion-collapse{position:absolute;top:100%;left:0;z-index:1200;background:#fff;border:1px solid var(--farf-line,#ECE7DC);border-top:3px solid var(--farf-orange,#E06B22);box-shadow:0 14px 34px -8px rgba(43,43,38,.28);border-radius:0 0 10px 10px;padding:18px 6px;}
  .farf-catmenu-wrap > .vm-menu > li.lvl-1:hover > .accordion-collapse{display:block;}
  .farf-catmenu-wrap > .vm-menu > li.lvl-1:nth-last-child(-n+5) > .accordion-collapse{left:auto;right:0;}
  /* adaptive columns with thin full-height dividers */
  .farf-catmenu-wrap > .vm-menu > li.lvl-1 > .accordion-collapse > .vm-submenu{column-count:1;column-gap:0;width:250px;}
  .farf-catmenu-wrap > .vm-menu > li.lvl-1:has(> .accordion-collapse > .vm-submenu > li:nth-child(5)) > .accordion-collapse > .vm-submenu{column-count:2;width:480px;column-rule:1px solid var(--farf-line,#ECE7DC);}
  .farf-catmenu-wrap > .vm-menu > li.lvl-1:has(> .accordion-collapse > .vm-submenu > li:nth-child(12)) > .accordion-collapse > .vm-submenu{column-count:3;width:690px;max-width:78vw;column-rule:1px solid var(--farf-line,#ECE7DC);}
  .farf-catmenu-wrap li.lvl-2{break-inside:avoid;-webkit-column-break-inside:avoid;padding:0 16px;}
  /* 2nd-level leaf: stands out (ink, 600) */
  .farf-catmenu-wrap li.lvl-2 > .vm-row-head > a{display:block;color:var(--farf-text,#2B2B26);font-size:14px;font-weight:600;line-height:1.3;padding:6px 8px;border-radius:7px;}
  .farf-catmenu-wrap li.lvl-2 > .vm-row-head > a:hover{background:var(--farf-cream,#FBF9F4);color:var(--farf-orange-dark,#C4571A);}
  .farf-catmenu-wrap li.lvl-2 > .vm-row-head > .vm-menu-btn{display:none;}
  /* 2nd-level WITH children: olive header + 3rd-level leaves (no lines) */
  .farf-catmenu-wrap li.lvl-2.has-children{margin:2px 0 12px;}
  .farf-catmenu-wrap li.lvl-2.has-children > .vm-row-head > .vm-cat-label{display:block;background:var(--farf-olive-dark,#6F7C1F);color:#fff;font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;line-height:1.25;padding:6px 12px;border-radius:8px;margin-bottom:6px;}
  .farf-catmenu-wrap li.lvl-2.has-children > .accordion-collapse{display:block;position:static;background:transparent;border:0;box-shadow:none;padding:0;border-radius:0;}
  .farf-catmenu-wrap li.lvl-2.has-children > .accordion-collapse > .vm-submenu{column-count:1 !important;width:auto !important;column-rule:0 !important;}
  .farf-catmenu-wrap li.lvl-3{padding:0;}
  .farf-catmenu-wrap li.lvl-3 > .vm-row-head > a{display:block;color:var(--farf-slate,#5B5A52);font-size:14px;font-weight:500;line-height:1.3;padding:5px 8px 5px 14px;border-radius:7px;}
  .farf-catmenu-wrap li.lvl-3 > .vm-row-head > a:hover{background:var(--farf-cream,#FBF9F4);color:var(--farf-orange-dark,#C4571A);}
}

/* ---------- MOBILE (<1200px): mockup accordion ---------- */
@media (max-width:1199.98px){
  .farf-catmenu-wrap{background:#fff;margin-bottom:12px;}
  .farf-catmenu-wrap button.farf-hamb-btn{display:flex !important;align-items:center;justify-content:flex-start !important;text-align:left !important;gap:14px !important;width:100%;background:var(--farf-olive-dark,#6F7C1F);color:#fff;border:0;font-weight:700;font-size:14px;letter-spacing:.4px;text-transform:uppercase;padding:0 16px !important;display:block !important;}
  .farf-catmenu-wrap .farf-cat-burger{font-size:19px;line-height:1;}
  .farf-catmenu-wrap .farf-cat-toglabel::after{content:"\39A \391 \3A4 \397 \393 \39F \3A1 \399 \395 \3A3";}
  .farf-catmenu-wrap > .vm-menu{display:none;}
  .farf-catmenu-wrap.is-menu-open > .vm-menu{display:block;}
  .farf-catmenu-wrap .vm-row-head{display:flex;align-items:center;justify-content:space-between;}
  .farf-catmenu-wrap li.lvl-1{border-bottom:1px solid var(--farf-line,#ECE7DC);}
  .farf-catmenu-wrap li.lvl-1 > .vm-row-head{display:flex !important;align-items:center !important;justify-content:space-between;min-height:54px;}
  .farf-catmenu-wrap li.lvl-1 > .vm-row-head > .vm-cat-label,
  .farf-catmenu-wrap li.lvl-1 > .vm-row-head > a{flex:1;color:var(--farf-olive-dark,#6F7C1F);font-weight:700;font-size:14px;text-transform:uppercase;padding:16px 18px !important;cursor:pointer;}
  .farf-catmenu-wrap li.lvl-1 > .vm-row-head > .vm-menu-btn{padding:10px 18px;}
  .farf-catmenu-wrap li.lvl-1 > .vm-row-head > .vm-menu-btn svg{display:none;}
  .farf-catmenu-wrap li.lvl-1 > .vm-row-head > .vm-menu-btn::after{content:"+";color:var(--farf-orange,#E06B22);font-size:21px;font-weight:700;line-height:1;transition:transform .18s;}
  .farf-catmenu-wrap li.lvl-1.is-open > .vm-row-head > .vm-menu-btn::after{transform:rotate(45deg);}
  .farf-catmenu-wrap li.lvl-1.is-open > .accordion-collapse{display:block;background:var(--farf-cream,#FBF9F4);padding:4px 0 8px;}
  .farf-catmenu-wrap li.lvl-2 > .vm-row-head > a{flex:1;display:block;color:var(--farf-slate,#5B5A52);font-size:14px;font-weight:500;padding:9px 16px 9px 30px;}
  .farf-catmenu-wrap li.lvl-2 > .vm-row-head > .vm-menu-btn{display:none;}
  .farf-catmenu-wrap li.lvl-2.has-children > .vm-row-head > .vm-cat-label{flex:1;display:block;margin:8px 12px 4px;padding:6px 12px;background:var(--farf-olive-dark,#6F7C1F);color:#fff;border-radius:8px;font-weight:700;font-size:12.5px;text-transform:uppercase;}
  .farf-catmenu-wrap li.lvl-2.has-children > .accordion-collapse{display:block;background:transparent;}
  .farf-catmenu-wrap li.lvl-3 > .vm-row-head > a{flex:1;display:block;color:var(--farf-slate,#5B5A52);font-size:14px;font-weight:500;padding:8px 16px 8px 34px;}
}

/* Round 4c: hide old top-right main-menu hamburger (offcanvas toggle) on mobile - replaced by categories menu */
button[data-bs-toggle="offcanvas"][data-bs-target="#offcanvas"]{display:none !important;}

/* FARF-LOGO-40: logo +40% (desktop) with equal top/bottom spacing + tighter header padding */
.header .logo a.logo { width: 420px; height: 101px; }
@media (min-width: 992px) {
  .header .header-inner { padding-top: 16px !important; padding-bottom: 16px !important; }
}

/* FARF-LOGO-MOBILE: mobile logo +20%, tighter header padding, gap before menu */
@media (max-width: 991.98px) {
  .header .logo a.logo { width: 300px; height: 72px; }
  .header .header-inner { padding-top: 10px !important; padding-bottom: 10px !important; }
  .header .main-search { margin-bottom: 10px; }
  .farf-catmenu-wrap { margin-top: 0 !important; }
}
@media (max-width: 575.98px) {
  .header .logo a.logo { width: 240px; height: 58px; }
}
