/* TeleEnergy · κατάστημα του platform (module Eshop) στο σχέδιο του site. Μόνο εμφάνιση· χρώματα από τις μεταβλητές του style.css. */

/* κατάλογος / κατηγορία */
a.subtab{display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.subtab small{color:inherit;opacity:.7;font-weight:500}
/* κατηγορίες: στο πλάι με τα φίλτρα στον υπολογιστή, σειρά επάνω στο κινητό (εκεί τα φίλτρα είναι κρυφά) */
.fcatlist{display:grid;gap:2px;margin-inline:-8px}
a.fcat{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:7px 8px;border-radius:8px;font-size:14px;line-height:1.3;color:var(--fg);text-decoration:none;transition:background .15s ease-out}
a.fcat small{flex:none;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
a.fcat:hover{background:var(--soft)}
a.fcat[aria-current=page]{background:var(--blue-soft);color:var(--blue);font-weight:700}
@media (min-width:821px){#subtabs{display:none}.te-shop .catlayout{margin-top:20px}}
@media (max-width:820px){.fcats{display:none}}
/* te-sticky: Φίλτρα + Ταξινόμηση ίσα και πάντα ορατά στο κινητό */
@media (max-width:820px){
  .te-shop .subtabs{margin:12px -16px 4px}
  .te-shop .toolbar{position:sticky;top:calc(env(safe-area-inset-top,0px) + 78px);z-index:25;display:grid;grid-template-columns:1fr 1fr;gap:6px 8px;margin:0 -16px 12px;padding:8px 16px 6px;background:var(--bg);border-radius:0;box-shadow:0 10px 12px -14px rgba(0,0,0,.4)}
  .te-shop .toolbar>*{min-width:0}
  .te-shop .toolbar .fbtn{order:1;width:100%;height:44px;justify-content:center;border-radius:12px}
  .te-shop .toolbar .fbtn::before{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h9M18 7h2M4 17h2M11 17h9'/%3E%3Ccircle cx='15.5' cy='7' r='2.5'/%3E%3Ccircle cx='8.5' cy='17' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h9M18 7h2M4 17h2M11 17h9'/%3E%3Ccircle cx='15.5' cy='7' r='2.5'/%3E%3Ccircle cx='8.5' cy='17' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat}
  .te-shop .toolbar .tsort{order:2;width:100%;margin:0;display:block;font-size:0}
  .te-shop .toolbar .tsort .nw-sel,.te-shop .toolbar .tsort select,.te-shop .toolbar .tsort .nw-sel-btn{width:100%}
  .te-shop .toolbar .tsort .nw-sel-btn{height:44px;min-height:44px;border-radius:12px;background-color:var(--surface);font-size:15px;font-weight:700}
  .te-shop .toolbar #cnt{order:3;grid-column:1/-1;flex-basis:auto;padding:0;text-align:center;font-size:12.5px}
}
@media (max-width:640px){
  .te-shop .toolbar{top:calc(env(safe-area-inset-top,0px) + 66px)}
}
a.fband{display:inline-block;text-decoration:none}
.fband.on{background:var(--blue);border-color:var(--blue);color:var(--white)}
.fquick{display:flex;flex-wrap:wrap;gap:6px}
a.fchip{text-decoration:none}
.fbq{width:100%;margin-bottom:8px}
.fmore-d>summary{list-style:none;cursor:pointer;display:inline-block}
.fmore-d>summary::-webkit-details-marker{display:none}
.fmore-d[open]>summary{display:none}
.filters .ffoot a.linkbtn{display:inline-flex;align-items:center}
form.catlayout[aria-busy="true"] [data-eshop-swap="grid"]{opacity:.55;transition:opacity .15s}
.te-pages{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
.te-pages a{color:var(--blue);font-weight:600}
.more .btn.busy{opacity:.6;pointer-events:none}
.card .img .ph,.gallery .main .ph,.thumb .ph{display:block;width:100%;height:100%;min-height:80px;background:var(--soft)}
.card .add.add-cart{text-align:center;text-decoration:none}
.card .add[disabled]{opacity:.6}
.empty{text-align:center;padding:40px 16px}

/* σελίδα προϊόντος */
.qty input{width:44px;border:0;background:none;text-align:center;font:inherit;font-weight:700;color:var(--fg);font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.thumb[aria-current="true"]{border-color:var(--blue)}
.thumbs{flex-wrap:wrap}
.pd .price{display:flex;align-items:baseline;gap:12px}
.pd .price .was{order:2}
.pd [data-eshop-add][disabled]{opacity:.5}
.steps a.chip{text-decoration:none}
.te-opt{border:0;padding:0;margin:0 0 14px}
.te-opt legend{font-weight:700;margin-bottom:6px}
.te-vals{display:flex;flex-wrap:wrap;gap:8px}
.te-vals label{position:relative}
.te-vals input{position:absolute;opacity:0}
.te-vals span{display:inline-block;border:1.5px solid var(--line);border-radius:999px;padding:7px 14px;font-weight:600;cursor:pointer}
.te-vals input:checked+span{border-color:var(--blue);color:var(--blue)}
.te-vals label.na span{opacity:.4;text-decoration:line-through}
.pd .ppay{margin-top:14px}
.tabpanel.desc h3{font-size:18px;margin:18px 0 8px}
.tabpanel.desc table,.specs-wrap table{width:100%;border-collapse:collapse;font-size:14px}
.tabpanel.desc td,.specs-wrap td{padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.specs-wrap td:first-child{color:var(--muted);width:42%}
.specs-wrap tr:nth-child(odd) td{background:var(--soft)}
.tabpanel img{max-width:100%;height:auto}

/* καλάθι, ταμείο, λογαριασμός, παραγγελία: σελίδες του platform με τα χρώματα/γραμματοσειρές του site */
.nw-shop{--nw-shop-accent:var(--blue);--nw-shop-accent-text:var(--white);--nw-shop-radius:var(--radius);--nw-shop-border:var(--line);--nw-shop-max:1240px;font-family:var(--body);color:var(--fg);padding-inline:16px}
.nw-shop h1,.nw-shop h2,.nw-shop h3,.nw-shop-btn{font-family:var(--display)}
.nw-shop-btn:hover{background:var(--blue-deep);opacity:1}
.nw-shop input:not([type=checkbox]):not([type=radio]),.nw-shop select,.nw-shop textarea{border-color:var(--line)}
.nw-shop input:focus,.nw-shop select:focus,.nw-shop textarea:focus{border-color:var(--blue);outline:none}
.nw-shop-toast{font-family:var(--body)}

/* ομάδες φίλτρων που μαζεύονται */
#filt .fgh[role=button]{display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;user-select:none;border-radius:6px}
#filt .fgh[role=button]::after{content:"";flex:none;width:8px;height:8px;margin-right:4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;rotate:45deg;translate:0 -2px;transition:rotate .15s ease-out,translate .15s ease-out}
#filt .fgh[role=button]:hover{color:var(--fg)}
#filt .fgh[role=button]:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
#filt .fgroup.fshut>:not(.fgh){display:none}
#filt .fgroup.fshut>.fgh{margin-bottom:0}
#filt .fgroup.fshut>.fgh::after{rotate:-135deg;translate:0 2px}

/* μήνυμα «Μπήκε στο καλάθι» */
.toast:has(.ta){width:min(440px,calc(100vw - 24px));padding:10px 12px;background:var(--surface,#fff);color:var(--fg);border:1px solid var(--line);box-shadow:0 14px 36px rgba(10,30,60,.2);z-index:60}
.toast .ta{display:flex;align-items:center;gap:12px;text-align:left}
.toast .ta img{flex:none;width:52px;height:52px;object-fit:contain;border-radius:8px;background:#fff}
.toast .ta-t{flex:1;min-width:0;display:grid;gap:2px;font-weight:400}
.toast .ta-t b{font-size:14px;color:var(--fg)}
.toast .ta-n{display:block;font-size:13px;line-height:1.3;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.toast .ta-f{display:block;font-size:12px;line-height:1.3;color:var(--fg)}
.toast a.ta-go{flex:none;padding:10px 14px;border-radius:10px;background:var(--blue);color:#fff;font-size:14px;font-weight:700;text-decoration:none}
@media (max-width:820px){.nw-shop-toast{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}}
