/* fdw-buttons.css — one light button system for the whole site (Simos 30/11/2026: «σε κάποιες
   σελίδες έχει ακόμα παλιά κουμπιά — φτιάξ' τα, κινητό και υπολογιστή»).
   Measured 30/11 on 46 pages × 2 widths: dark navy fills (#10357f) on eShop/Joomla buttons, a
   bright #0345bf «Φίλτρο», square «Καθαρισμός», the dark «ΕΚΔΟΣΕΙΣ ΦΩΤΟΔΟΤΕΣ» box at the end of
   articles (.fdw-artcta) with a gold button, navy social buttons, the dark mobile «Μενού» square.
   Rule of the publisher: sky + white only, dark ink only for text. Same look as the nav pills
   (fdw-nav-sky.css) and the homepage panels (fdw-promo-sky.css):
     primary   = sky-200 fill, ink text, sky-300 border, bold
     secondary = white, ink text, sky-300 border
   Loaded LAST from module 441; every selector starts with "html body" to beat the live rules.
   Removing the <link> restores the old buttons exactly. */
html body{
  --bt-ink:#0c3250; --bt-link:#1d5a8f; --bt-50:#eef7fd; --bt-100:#e2f1fb; --bt-200:#cfe7f8; --bt-300:#b5d9f3; --bt-400:#8fc4ea;
  --bt-shadow:0 1px 2px rgba(12,50,80,.08),0 4px 12px rgba(12,50,80,.08);
  --bt-font:"Alegreya Sans","Segoe UI",system-ui,sans-serif;
}

/* ── 1. Primary actions ── */
html body .btn-primary,
html body input.add-to-cart-button,
html body .fdw-buybar-b,
html body .fp-btn,
html body input.subbutton,
html body #eshop-main-container button:not([class]),
html body .eshop-search button,
html body form[action*="search"] button[type=submit],
html body .mod-finder button,
html body .search button,
html body .fdw-search button,
html body #add-to-cart,html body .eshop-buttons .btn,html body .eshop-buttons button,html body #products-list .add-to-cart-button{
  background:var(--bt-200)!important;background-image:none!important;color:var(--bt-ink)!important;
  border:1px solid var(--bt-300)!important;border-radius:999px!important;box-shadow:var(--bt-shadow)!important;
  font-family:var(--bt-font)!important;font-weight:700!important;text-shadow:none!important;
  transition:background-color .15s ease,border-color .15s ease,transform .12s ease}
html body .btn-primary:hover,html body input.add-to-cart-button:hover,html body .fdw-buybar-b:hover,html body .fp-btn:hover,
html body input.subbutton:hover,html body #eshop-main-container button:not([class]):hover,html body .eshop-search button:hover,
html body form[action*="search"] button[type=submit]:hover,html body .mod-finder button:hover,html body .search button:hover,html body .fdw-search button:hover,html body #add-to-cart:hover,html body .eshop-buttons .btn:hover,html body .eshop-buttons button:hover,html body #products-list .add-to-cart-button:hover{
  background:var(--bt-300)!important;border-color:var(--bt-400)!important;color:var(--bt-ink)!important}

/* ── 2. Secondary actions (not the +/− of quantity, not labels) ── */
html body a.btn-secondary:not(.eshop-quantity-button),
html body button.btn-secondary,
html body .fdw-more-btn{
  background:#fff!important;background-image:none!important;color:var(--bt-ink)!important;
  border:1px solid var(--bt-300)!important;border-radius:999px!important;box-shadow:none!important;
  font-family:var(--bt-font)!important;font-weight:600!important;text-shadow:none!important}
html body a.btn-secondary:not(.eshop-quantity-button):hover,html body button.btn-secondary:hover,html body .fdw-more-btn:hover{
  background:var(--bt-50)!important;border-color:var(--bt-400)!important}
/* grid / list toggle is a joined pair: keep the inner corners square */
html body .btn-group>.btn-secondary:first-child:not(:last-child){border-radius:999px 0 0 999px!important}
html body .btn-group>.btn-secondary:last-child:not(:first-child){border-radius:0 999px 999px 0!important}
html body .btn-group>.btn-secondary.active,html body .btn-group>.btn-secondary[aria-pressed=true]{background:var(--bt-200)!important}

/* ── 3. Quantity − / + : round, light ── */
html body .eshop-quantity-button{background:var(--bt-50)!important;color:var(--bt-ink)!important;
  border:1px solid var(--bt-300)!important;font-weight:700!important;box-shadow:none!important}
html body .eshop-quantity-button:hover{background:var(--bt-200)!important}

/* ── 4. Social buttons (Facebook / Instagram / Viber) ── */
html body a.fdw-bbtn{background:#fff!important;background-image:none!important;color:var(--bt-ink)!important;
  border:1px solid var(--bt-300)!important;box-shadow:none!important;text-shadow:none!important}
html body a.fdw-bbtn:hover{background:var(--bt-50)!important}
html body a.fdw-bbtn svg{color:var(--bt-link)!important;fill:currentColor}

/* ── 5. «ΕΚΔΟΣΕΙΣ ΦΩΤΟΔΟΤΕΣ» box at the end of articles: light sky panel like the homepage ── */
html body .fdw-artcta{background:linear-gradient(180deg,var(--bt-50),var(--bt-100))!important;color:var(--bt-ink)!important;
  border:1px solid var(--bt-200)!important;box-shadow:var(--bt-shadow)!important}
html body .fdw-artcta .fdw-kick{color:var(--bt-link)!important}
html body .fdw-artcta .fdw-head,html body .fdw-artcta .fdw-head *{color:var(--bt-ink)!important;text-shadow:none!important}
html body .fdw-artcta .fdw-more,html body .fdw-artcta .fdw-more a{color:var(--bt-link)!important}
html body .fdw-artcta a.fdw-btn{background:#fff!important;border-radius:14px!important;color:var(--bt-ink)!important;border:1px solid var(--bt-300)!important;box-shadow:none!important}
html body .fdw-artcta a.fdw-btn:hover{background:var(--bt-50)!important}
html body .fdw-artcta a.fdw-btn-best{background:var(--bt-200)!important;border-color:var(--bt-400)!important}
html body .fdw-artcta a.fdw-btn small{color:#3f5a70!important}

/* ── 6. Product page tabs («Περιγραφή» …) ── */
html body joomla-tab button{
  background:#fff!important;background-image:none!important;color:var(--bt-ink)!important;
  border:1px solid var(--bt-200)!important;border-radius:999px!important;font-family:var(--bt-font)!important;box-shadow:none!important}
html body joomla-tab button[aria-expanded=true],html body joomla-tab button[aria-selected=true]{background:var(--bt-200)!important;font-weight:700!important}

/* ── 7. Phones: the dark «Μενού» square (Offlajn 422) → white with sky border ── */
html body .menu-icon-cont.sm-btn-422{background:#fff!important;border:1px solid var(--bt-300)!important;box-shadow:var(--bt-shadow)!important}
html body .menu-icon-cont.sm-btn-422 *{background-color:transparent}
html body .menu-icon-cont.sm-btn-422 .menu-icon3{background:transparent!important}
html body .menu-icon-cont.sm-btn-422 .menu-icon3 span{background-color:var(--bt-ink)!important}

html body .btn-primary:focus-visible,html body a.btn-secondary:focus-visible,html body input.add-to-cart-button:focus-visible,
html body a.fdw-bbtn:focus-visible,html body .fdw-artcta a.fdw-btn:focus-visible{outline:3px solid var(--bt-link)!important;outline-offset:2px}

/* ── 8. Buttons whose live rules carry an id or deeper selectors (measured 30/11: «Εγγραφή»
   newsletter, «Αποστολή Μηνύματος», search-results «Αναζήτηση», «Δείτε το τεύχος»). Two
   :not(#…) add id weight so these beat them without touching the markup. ── */
html body :is(.btn-primary,.fdw-ni-btn,input.subbutton,button.validate,#searchForm button,form[name=searchForm] button,.com-search button,.search-page button):not(#fdw-x1):not(#fdw-x2){
  background:var(--bt-200)!important;background-image:none!important;color:var(--bt-ink)!important;
  border:1px solid var(--bt-300)!important;border-radius:999px!important;box-shadow:var(--bt-shadow)!important;
  font-family:var(--bt-font)!important;font-weight:700!important;text-shadow:none!important}
html body :is(.btn-primary,.fdw-ni-btn,input.subbutton,button.validate,#searchForm button,form[name=searchForm] button,.com-search button,.search-page button):not(#fdw-x1):not(#fdw-x2):hover{
  background:var(--bt-300)!important;border-color:var(--bt-400)!important;color:var(--bt-ink)!important}
