@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/manrope-greek-wght-normal.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Χρώματα, γραμματοσειρά και αναλογίες του primedevices.gr */
:root {
  /* 60% λευκό και υπόλευκες επιφάνειες, 30% ανθρακί κείμενο και απαλά περιγράμματα, 10% ένα μπλε δράσης */
  --navy: #0f172a;
  --blue: #1d4ed8;
  --blue-dark: #1e40af;
  --soft: #eaf0fe;
  --bar: #f1f5f9;
  --bg: #f8fafc;
  --card: #ffffff;
  --title: #0f172a;
  --text: #334155;
  --muted: #475569;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --red: #e0272b;
  --green: #689b2c;
  --green-dark: #577f25;
  --ok: #0f172a;
  --radius: 10px;
  --font: "Manrope", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--title); font-weight: 500; line-height: 1.25; margin: 0; }
h1 { font-size: 2.4rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: 1.33rem; }
p { margin: 0 0 .9rem; }
ul { margin: 0; padding: 0; list-style: none; }
.ico { flex: none; vertical-align: middle; }
.muted { color: var(--muted); font-size: .93rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 60; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1600px; margin: 0 auto; padding: 0 24px; }
.main { padding-top: 0; padding-bottom: 4rem; min-height: 55vh; }

/* Κουμπιά */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: inherit; font-weight: 600; font-size: .87rem; line-height: 1.2; min-height: 40px; padding: .5rem 1.2rem; border: 0; border-radius: 5px; background: #fff; color: var(--title); cursor: pointer; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.btn:hover { color: var(--title); box-shadow: inset 0 0 0 1px #b9bfca; }
.btn.blue, .buy-btn { background: var(--blue); color: #fff; box-shadow: none; }
.btn.blue:hover, .buy-btn:hover { background: var(--blue-dark); color: #fff; box-shadow: none; }
.btn.green { background: var(--green); color: #fff; box-shadow: none; }
.btn.green:hover { background: var(--green-dark); color: #fff; }
.btn.soft, .pill { background: var(--soft); color: var(--blue); box-shadow: none; }
.btn.soft:hover, .pill:hover { background: #d3e1ff; color: var(--blue); }
.btn.white { background: #fff; color: var(--title); box-shadow: none; min-height: 38px; }
.pill { display: inline-flex; align-items: center; gap: .3rem; border-radius: 99px; padding: .55rem 1.1rem; font-weight: 600; font-size: .87rem; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
button.link:hover { text-decoration: underline; }

/* Συρόμενο μενού κατηγοριών */
.drawer { position: fixed; inset: 0; z-index: 50; display: flex; }
.drawer-panel { width: min(340px, 88vw); background: #fff; height: 100%; overflow-y: auto; padding: 0 0 2rem; }
.drawer-shade { flex: 1; border: 0; background: rgba(10, 20, 45, .5); cursor: pointer; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; background: var(--navy); color: #fff; font-size: 1.07rem; position: sticky; top: 0; z-index: 1; }
.drawer-head button { background: none; border: 0; color: #fff; cursor: pointer; padding: .2rem; display: grid; }
.drawer summary, .drawer a.solo { display: flex; align-items: center; gap: .7rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 600; color: var(--title); list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: ""; margin-left: auto; flex: none; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.drawer details[open] > summary::after { transform: rotate(-135deg); }
.drawer details[open] > summary { color: var(--navy); }
.drawer details ul { background: var(--bg); }
.drawer details details ul { background: #ececef; }
.drawer details ul summary, .drawer details ul a.solo { font-weight: 500; padding-left: 2.2rem; }
.drawer details details ul summary, .drawer details details ul a.solo { padding-left: 3.2rem; }
.drawer details details details ul a.solo { padding-left: 4.2rem; }
.drawer a.solo.all { color: var(--blue); }

.logo-link { display: inline-flex; align-items: center; flex: none; }
.wordmark { font-weight: 800; font-size: 1.6rem; color: var(--navy); letter-spacing: -0.02em; white-space: nowrap; }


/* Αρχική */
.sec-title { font-size: 1.73rem; font-weight: 600; margin: 3rem 0 1.2rem; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 3rem 0 1.2rem; }
.sec-head .sec-title { margin: 0; }

/* Κάρτες προϊόντων */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.card-img { position: relative; display: block; margin-bottom: .8rem; padding: 16px; border-radius: 8px; background: var(--bg); }
.card-img img, .noimg { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.card-img img { mix-blend-mode: multiply; }
.noimg { background: repeating-linear-gradient(45deg, #f3f4f7, #f3f4f7 8px, #fff 8px, #fff 16px); border-radius: 6px; }
.noimg.small { width: 64px; }
.noimg.big { max-width: 600px; }
.hot { position: absolute; top: 6px; left: 6px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; font-weight: 600; display: grid; place-items: center; }
.card-name { font-weight: 500; color: var(--title); line-height: 1.35; margin-bottom: .35rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.avail { display: inline-flex; align-items: center; gap: .25rem; font-weight: 500; color: var(--title); }
.avail.a0 { color: var(--red); }
.card .avail { margin-bottom: .8rem; }
.price { display: block; margin-top: auto; padding-top: .4rem; color: var(--title); font-size: 1.27rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card form, .card > .btn { margin-top: .5rem; }
.card .btn { width: 100%; }
.sku { margin-top: .6rem; font-size: .87rem; font-weight: 600; color: var(--title); }
.sku span { font-weight: 400; color: #a5a5a5; }

/* Διαδρομή και λίστα προϊόντων */
.crumb-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 0; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs b { color: var(--title); font-weight: 600; }
.listing { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 18px; align-items: start; }
.side { background: #fff; border-radius: var(--radius); padding: 1.2rem 14px; }
.side summary { display: none; font-weight: 600; cursor: pointer; }
.side h2, .side legend { font-size: 1.07rem; font-weight: 500; color: var(--title); padding: 0; margin: 0 0 .7rem; }
.side fieldset { border: 0; border-top: 1px solid var(--line); margin: 1.3rem 0 0; padding: 1.3rem 0 0; min-width: 0; }
.side form > fieldset:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.side legend { float: left; width: 100%; }
.side legend + * { clear: both; }
.side .btn { margin-top: 1rem; min-height: 34px; padding: .3rem .9rem; font-size: .82rem; }
.side .clear { margin-left: .7rem; font-size: .87rem; color: var(--muted); }
.range { display: flex; gap: .5rem; }
.range input, .field input, .checkout textarea, .cart-lines input[type=number], .toolbar select {
  font: inherit; padding: .5rem .7rem; min-height: 40px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--title); width: 100%;
}
.brand-list { max-height: 17rem; overflow-y: auto; }
.check { display: flex; gap: .5rem; align-items: flex-start; padding: .15rem 0; }
.check input { margin-top: .28rem; flex: none; accent-color: var(--blue); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .2rem 0 1.1rem; }
.toolbar form { display: flex; align-items: center; gap: .5rem; }
.toolbar select { width: auto; min-width: 15rem; color: var(--muted); }
/* Υποκατηγορίες ως πλακίδια με φωτογραφία, πάνω από τα προϊόντα */
.subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; margin-bottom: 1.3rem; }
.subcats a { height: 100%; display: flex; flex-direction: column; align-items: center; gap: .25rem; background: #fff; border-radius: 12px; padding: 12px 10px 14px; text-align: center; color: var(--title); }
.subcats a:hover { color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.subcat-img { position: relative; flex: none; width: 100%; height: 104px; display: grid; place-items: center; color: var(--navy); margin-bottom: .35rem; overflow: hidden; }
.subcat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.subcats b { font-weight: 700; line-height: 1.25; }
.subcats .n { color: var(--muted); font-size: .87rem; }
.toolbar h1 { font-weight: 700; display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; }
.h-count { font-size: .93rem; font-weight: 500; color: var(--muted); background: #fff; border-radius: 99px; padding: .2rem .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.chips a { display: block; border-radius: 99px; padding: .35rem .95rem; background: #fff; font-weight: 500; }
.chips a:hover { background: var(--soft); }
.chips .n { color: var(--muted); font-weight: 400; font-size: .86em; margin-left: .15rem; }
.chips.brands { align-items: center; margin-top: -.5rem; }
.chips.brands .label { color: var(--muted); font-size: .9rem; margin-right: .15rem; }
.chips.brands a { padding: .28rem .8rem; font-size: .93rem; border: 1px solid transparent; }
.chips.brands a.on { background: var(--blue); color: #fff; }
.chips.brands a.on .n { color: rgba(255, 255, 255, .8); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 1.5rem; color: var(--muted); }
.pager > :last-child { justify-self: end; }
.pager > :first-child { justify-self: start; }
.notice-page { background: #fff; border-radius: var(--radius); padding: 2.2rem 1.5rem; text-align: center; max-width: 44rem; margin: 2rem auto; }
.notice-page h1, .notice-page h2 { margin-bottom: .7rem; }
.alert { background: #fdecec; border: 1px solid #f3c0c0; color: #8f1d20; border-radius: 6px; padding: .7rem 1rem; margin-bottom: 1rem; }
.alert ul { list-style: disc; padding-left: 1.1rem; }

/* Σελίδα προϊόντος: λευκή ζώνη σε όλο το πλάτος, περιγραφή πάνω στο γκρι */
.band { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); padding-bottom: 2.6rem; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; }
.main-wrap { position: relative; }
.main-img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.main-wrap .hot { top: 14px; left: auto; right: 14px; width: 50px; height: 50px; }
.thumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.thumbs button { border: 1px solid var(--line); border-radius: 6px; padding: 2px; background: #fff; cursor: pointer; display: block; }
.thumbs button[aria-current] { border-color: var(--navy); }
.thumbs img { width: 64px; height: 64px; object-fit: contain; display: block; }
.buy h1 { font-size: 1.87rem; letter-spacing: -.01em; line-height: 1.25; margin-bottom: .9rem; }
.codes { font-weight: 600; color: var(--title); margin-bottom: 1.1rem; }
.codes span { font-weight: 400; color: var(--muted); }
.price-row { display: flex; align-items: flex-start; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.price-big { font-size: 2.27rem; font-weight: 700; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.price-row .avail { color: var(--muted); font-weight: 400; padding-top: .3rem; }
.price-row .avail.a0 { color: var(--red); }
.add { display: flex; align-items: stretch; gap: .6rem; flex-wrap: wrap; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.qty button { width: 26px; border: 0; background: #fff; color: var(--muted); font: inherit; cursor: pointer; }
.qty button:hover { background: var(--bg); color: var(--title); }
.qty input { width: 34px; border: 0; border-inline: 1px solid var(--line); text-align: center; font: inherit; color: var(--title); padding: 0; appearance: textfield; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add .btn { flex: 1; min-width: 11rem; min-height: 42px; }
.soldout { background: var(--bg); border-radius: var(--radius); padding: 1rem; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; color: var(--muted); }
.facts .ico { color: var(--blue); }
.facts li:nth-child(-n+2) .ico { color: var(--title); }
.facts span { flex: 1; }
.facts li:nth-child(n+3) span { color: var(--title); }
.facts a { color: var(--blue); font-style: italic; white-space: nowrap; }
.tabs { padding-top: 1.6rem; }
.tab-buttons { display: flex; justify-content: center; gap: 1.8rem; margin-bottom: 1.6rem; }
.tab-buttons button { background: none; border: 0; font: inherit; font-weight: 600; text-transform: uppercase; font-size: .93rem; color: var(--title); cursor: pointer; padding: .4rem 0; border-bottom: 2px solid transparent; }
.tab-buttons button[aria-selected=true] { color: var(--navy); border-bottom-color: var(--navy); }
.specs { max-width: 54rem; margin: 0 auto; }
.specs h3 { font-size: 1.07rem; font-weight: 600; margin: 1.4rem 0 .5rem; }
.specs table { background: #fff; border-radius: var(--radius); overflow: hidden; }
.specs th { width: 42%; font-size: 1rem; font-weight: 500; color: var(--muted); }
.specs td { color: var(--title); font-weight: 500; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.prose { color: var(--muted); }
.prose h1 { margin: 2.2rem 0 1.2rem; }
.prose h2 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.prose b, .prose strong { color: var(--title); }
.prose a { color: var(--blue); }
.prose ul, .prose ol { margin: 0 0 .9rem; padding-left: 1.3rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose table { border-collapse: collapse; margin-bottom: 1rem; background: #fff; }
.prose td, .prose th { border: 1px solid var(--line); padding: .4rem .7rem; text-align: left; }
/* Πίνακας «χαρακτηριστικό: τιμή» μέσα στην περιγραφή */
.prose .kv { width: 100%; max-width: 46rem; border-radius: var(--radius); overflow: hidden; }
.prose .kv th, .prose .kv td { border: 0; border-bottom: 1px solid var(--line); padding: .55rem .9rem; vertical-align: top; }
.prose .kv th { width: 42%; font-weight: 500; color: var(--muted); }
.prose .kv td { color: var(--title); font-weight: 500; overflow-wrap: anywhere; }
.prose .kv tr:last-child th, .prose .kv tr:last-child td { border-bottom: 0; }
article.prose { max-width: 54rem; background: #fff; border-radius: var(--radius); padding: .4rem 2rem 2rem; margin-top: 2rem; }

/* Καλάθι και ολοκλήρωση παραγγελίας */
.main > h1 { margin: 2rem 0 1.2rem; }
.cart-layout, .checkout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 18px; align-items: start; }
.cart-lines, .checkout-main, .done { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.4rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font-size: .87rem; color: var(--muted); font-weight: 600; }
th.num, td.num { text-align: right; }
td.img { width: 80px; }
td.img img { width: 64px; height: 64px; object-fit: contain; display: block; }
td .sub { display: block; font-size: .87rem; color: var(--muted); }
td b { color: var(--navy); }
.cart-lines input[type=number] { width: 4.8rem; }
.cart-lines p { margin: 1rem 0 0; }
tr.just-added td { background: #f3f7ff; }
tr.total td { font-weight: 700; font-size: 1.1rem; border-bottom: 0; color: var(--navy); }
.summary { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; position: sticky; top: 72px; }
.summary h2 { margin-bottom: .9rem; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; margin: 0 0 1rem; }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .total { font-weight: 700; font-size: 1.2rem; color: var(--navy); border-top: 1px solid var(--line); padding-top: .7rem; }
.summary .buy-btn { display: flex; width: 100%; margin: .9rem 0; min-height: 46px; font-size: .93rem; }
.summary a:not(.btn) { color: var(--blue); }
.mini { margin-bottom: 1rem; }
.mini li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.mini b { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--navy); }
.checkout fieldset { border: 0; border-top: 1px solid var(--line); padding: 1.2rem 0 1.3rem; margin: 0; min-width: 0; }
.checkout fieldset:first-of-type { border-top: 0; padding-top: .2rem; }
.checkout legend { font-size: 1.2rem; font-weight: 500; color: var(--title); padding: 0; float: left; width: 100%; margin-bottom: .9rem; }
.checkout legend + * { clear: both; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; clear: both; }
.two > .wide { grid-column: 1 / -1; }
.field { margin-bottom: .8rem; }
.field label { display: block; font-weight: 600; font-size: .87rem; color: var(--title); margin-bottom: .25rem; }
.field input:focus, .checkout textarea:focus, .range input:focus { outline: 0; border-color: var(--navy); }
.option { display: flex; gap: .6rem; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: .75rem .9rem; margin-bottom: .5rem; cursor: pointer; clear: both; }
.option:has(input:checked) { border-color: var(--blue); background: #f3f7ff; }
.option input { accent-color: var(--blue); }
.option b { margin-left: auto; white-space: nowrap; color: var(--navy); }
.option small { display: block; font-size: .84rem; color: var(--muted, #5b6675); margin-top: .15rem; line-height: 1.4; }
.bank form { margin-top: .7rem; }
.hp { position: absolute; left: -9999px; }
.done { max-width: 50rem; margin-top: 2rem; }
.done h1 { margin-bottom: 1rem; }
.done table { margin: 1rem 0; }
.bank { background: var(--bar); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0; }
.bank h2 { margin-bottom: .5rem; }

/* Υποσέλιδο */

/* Μενού προϊόντων: ανοίγει κάτω από τη γαλάζια μπάρα, πάνω από τη σελίδα. Τρεις στήλες που εμφανίζονται διαδοχικά. */
.mega { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; top: var(--mega-top, 136px); }
.mega-shade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: rgba(10, 20, 45, .45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); cursor: default; }
.mega-col { flex: none; width: 300px; padding: 16px 12px; overflow-y: auto; overscroll-behavior: contain; }
.mega-col li > a > span { flex: 1; min-width: 0; }

/* Χρωματιστό πλακίδιο εικονιδίου: κάθε κύρια κατηγορία έχει το δικό της χρώμα */
.cico { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--tint); color: var(--ink); display: grid; place-items: center; }
.drawer .cico, .side-col .cico { width: 30px; height: 30px; border-radius: 8px; }
.cico .ico { stroke-width: 1.9; }

/* Το ίδιο μενού ανοιγμένο δίπλα στη λίστα της αρχικής (με το ποντίκι πάνω σε μια κατηγορία): μόνο οι υποκατηγορίες */
.mega.beside .mega-panel { position: fixed; max-width: none; height: auto; }
.mega.beside .mega-col.l1 { display: none; }
.mega.beside .mega-shade { background: rgba(10, 20, 45, .28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.mega-beside .home-cats { z-index: 46; }

/* Αρχική: οι κατηγορίες σε λευκή στήλη αριστερά, που ακολουθεί τη σελίδα */
.home-cats { position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow-y: auto; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 1px 6px rgba(10, 20, 45, .06); }
.home-cats a { display: flex; align-items: center; gap: .8rem; min-height: 44px; padding: 5px 10px; border-radius: 10px; font-weight: 600; line-height: 1.25; color: var(--title); }
.home-cats a:hover, .home-cats a.sel { background: var(--bar); color: var(--navy); }

/* Το ίδιο μενού αριστερά στις σελίδες κατηγοριών, πάνω από τα φίλτρα: δεν ακολουθεί τη σελίδα */
.side-col .home-cats { position: relative; top: auto; max-height: none; margin-bottom: 14px; box-shadow: none; }
.side-col .home-cats a { gap: .65rem; padding: 4px 8px; font-size: .93rem; min-height: 42px; }
.home-cats a[aria-current] { background: var(--bar); color: var(--navy); }

/* Φαρδιές οθόνες: η σελίδα απλώνει περισσότερο, οπότε χωράνε πέντε προϊόντα στη σειρά και η φωτογραφία προϊόντος δεν γιγαντώνεται */
@media (min-width: 1500px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .product { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 3rem; }
  .buy { max-width: 780px; }
  .cart-layout, .checkout { grid-template-columns: minmax(0, 1fr) 400px; }
}
@media (max-width: 1200px) {
  .grid.five { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .mega, .home-cats { display: none; }
  .grid, .grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .side summary { display: block; }
  .side details[open] summary { margin-bottom: 1rem; }
  .cart-layout, .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 14px; }
  h1 { font-size: 1.5rem; }
  .sec-title { font-size: 1.4rem; margin-top: 2.2rem; }
  .sec-head { margin-top: 2.2rem; }
  .grid, .grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .subcats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .subcats a { padding: 8px 6px 10px; font-size: .87rem; }
  .subcat-img { height: 72px; }
  .subcats .n { font-size: .8rem; }
  .card { padding: 10px; }
  .card .btn { padding: .4rem .5rem; font-size: .82rem; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .price-big { font-size: 1.9rem; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .toolbar select { min-width: 0; }
  article.prose { padding: .2rem 1.1rem 1.4rem; }
  .cart-lines { padding: .4rem 1rem 1rem; }
  .cart-lines thead { display: none; }
  .cart-lines tr { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: .2rem .7rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .cart-lines td { border: 0; padding: 0; }
  .cart-lines td.img { grid-row: span 3; width: auto; }
  .cart-lines td:nth-child(2) { grid-column: 2 / 4; }
  .cart-lines td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .search button, .pill { transition: background-color .15s, color .15s, box-shadow .15s; }
}

/* ===== Κεφαλίδα, μενού κατηγοριών και υποσέλιδο (κοινά σε όλες τις σελίδες) ===== */
.top { background: #fff; }
.top-row { display: flex; align-items: center; gap: 2.2rem; min-height: 86px; }
.logo { height: 48px; width: auto; display: block; }
.m-burger { display: none; width: 44px; height: 44px; margin-left: -8px; border: 0; background: none; color: var(--title); cursor: pointer; place-items: center; flex: none; }
.search { flex: 1; position: relative; min-width: 0; max-width: 860px; }
.search input { width: 100%; font: inherit; height: 50px; padding: 0 58px 0 1.15rem; border: 1px solid #d5d7dc; border-radius: 8px; background: #fff; color: var(--title); }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
.search button { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--blue-dark); }
.top-actions { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; flex: none; }
.top-act { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .93rem; color: var(--title); white-space: nowrap; }
.act-ico { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.act-ico b { position: absolute; top: 0; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; padding: 0 5px; }
.top-act:hover { color: var(--blue); }

.bar { background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; position: sticky; top: 0; z-index: 20; }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 54px; }
.bar nav { display: flex; align-items: center; gap: 2.2rem; overflow-x: auto; scrollbar-width: none; }
.bar nav::-webkit-scrollbar { display: none; }
.bar nav a { font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--title); white-space: nowrap; padding: .5rem 0; }
.bar nav a:hover { color: var(--blue); }
.bar nav a.prod-btn { display: inline-flex; align-items: center; gap: .55rem; background: var(--blue); color: #fff; border-radius: 6px; padding: .62rem 1.15rem .62rem .95rem; }
.bar nav a.prod-btn:hover, .mega-open .bar nav a.prod-btn { background: var(--blue-dark); color: #fff; }
.prod-btn .ico:nth-child(2), .mega-open .prod-btn .ico:nth-child(1) { display: none; }
.mega-open .prod-btn .ico:nth-child(2) { display: block; }
.bar-tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .93rem; color: var(--title); white-space: nowrap; }

/* Μενού κατηγοριών: πάνω οι τρεις ομάδες· από κάτω οι βασικές κατηγορίες, το πλέγμα υποκατηγοριών και δύο προτεινόμενα προϊόντα */
.mega-wrap { position: relative; z-index: 1; pointer-events: none; }
.mega-panel { pointer-events: auto; position: relative; display: flex; flex-direction: column; width: min(100%, 1360px); height: min(640px, calc(100vh - var(--mega-top, 140px) - 24px)); background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .18); overflow: hidden; }
.mega-groups { flex: none; display: flex; align-items: stretch; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.mega-groups [data-g] { font: inherit; font-weight: 600; font-size: .98rem; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 16px 12px 14px; cursor: pointer; }
.mega-groups [data-g]:hover { color: var(--title); }
.mega-groups [data-g][aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.mega-close { margin-left: auto; align-self: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.mega-close:hover { background: var(--bar); color: var(--title); }
.mega-body { flex: 1; min-height: 0; display: flex; align-items: stretch; }
.mega-col.l1 { width: 296px; padding: 16px 12px; border-right: 1px solid var(--line); }
.mega-col li > a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 4px 12px; border-radius: 8px; font-weight: 500; line-height: 1.25; color: var(--text); }
.mega-col li > a .ico { color: var(--muted); }
.mega-col li > a:hover, .mega-col li > a.sel { background: var(--bar); color: var(--blue); }
.mega-col li > a:hover .ico, .mega-col li > a.sel .ico { color: var(--blue); }
.mega-main { flex: 1; min-width: 0; padding: 24px 32px; overflow-y: auto; overscroll-behavior: contain; }
.mega-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.mega-head b { font-size: 1.2rem; font-weight: 600; line-height: 1.25; color: var(--title); }
.see-all { flex: none; border: 0; color: var(--blue); border-radius: 0; padding: 0; font-weight: 600; font-size: .87rem; white-space: nowrap; }
.see-all:hover { background: none; color: var(--blue-dark); text-decoration: underline; }
.mega-grid { columns: 3 190px; column-gap: 32px; }
.mg { break-inside: avoid; padding-bottom: 16px; }
.mg-h { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-weight: 600; color: var(--title); line-height: 1.3; }
.mg-h .ico { color: var(--muted); }
.mg-h:hover, .mg-h:hover .ico { color: var(--blue); }
.mg ul { padding: 2px 0 0 30px; }
.mg li a { display: block; padding: 3px 0; font-size: .93rem; color: var(--muted); }
.mg li a:hover { color: var(--blue); }
.mg li a.mg-more { color: var(--blue); font-weight: 600; font-size: .87rem; }
.mega-feat { flex: none; width: 296px; padding: 24px; background: var(--bg); border-left: 1px solid var(--line); overflow-y: auto; }
.mega-feat-title { display: block; font-size: .73rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.mf { display: flex; gap: 12px; align-items: center; padding: 12px; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--title); }
.mf:hover { border-color: #cbd5e1; color: var(--title); }
.mf-img { flex: none; width: 72px; height: 72px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.mf-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.mf-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mf-brand { font-size: .73rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.mf-name { font-size: .87rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mf b { font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.mega.beside .mega-groups, .mega.beside .mega-feat { display: none; }
.mega.beside .mega-panel { width: auto; border: 1px solid var(--line); border-radius: 12px; overflow: visible; }
.mega.beside .mega-main { flex: none; width: auto; padding: 20px 24px; }
.mega.beside [data-l1-panel] { width: min(max(264px, calc(var(--cols, 3) * 236px)), calc(100vw - 390px)); }
.mega.beside .mega-grid { columns: var(--cols, 3) 190px; }
.mega.beside .mg:last-child { padding-bottom: 0; }
.drawer-group { display: block; padding: 1.1rem 1.1rem .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drawer-more { border-top: 8px solid var(--bg); }

.foot { background: #fff; color: var(--title); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.4rem 2rem; padding-top: 3.2rem; padding-bottom: 2.8rem; }
.foot h2 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--title); margin-bottom: 1rem; }
.foot-col li { padding: .26rem 0; color: var(--muted); line-height: 1.4; }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--blue); }
.foot-contact li:first-child a { color: var(--title); font-weight: 700; font-size: 1.07rem; }
.foot-note { border-top: 1px solid var(--line); }
.foot-note-row { display: flex; align-items: center; gap: 1.6rem; padding-top: 1.3rem; padding-bottom: 1.3rem; }
.foot-logo { height: 38px; }
.foot-note p { margin: 0; color: var(--muted); font-size: .9rem; }
.main-full { padding: 0; min-height: 55vh; background: #fff; }

/* Σελίδα «Brands» */
.brand-index { columns: 4 220px; column-gap: 2.4rem; margin-top: 1.6rem; }
.brand-index section { break-inside: avoid; margin-bottom: 1.6rem; }
.brand-index h2 { font-size: 1.07rem; font-weight: 800; color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: .4rem; margin-bottom: .5rem; }
.brand-index a { display: block; padding: .22rem 0; font-weight: 500; }

@media (max-width: 1200px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .top-actions { gap: 1rem; }
}
@media (max-width: 1024px) {
  .m-burger { display: grid; }
  .bar nav a.prod-btn { display: none; }
  .top { position: sticky; top: 0; z-index: 21; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #f1f5f9; }
  .bar { position: static; border-top: 0; }
  .act-label { display: none; }
}
@media (max-width: 720px) {
  .top-row { flex-wrap: wrap; gap: .5rem .6rem; padding-top: .55rem; padding-bottom: .65rem; min-height: 0; }
  .logo { height: 38px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .search button { width: 34px; height: 34px; }
  .top-actions { gap: .2rem; }
  .bar-row { min-height: 44px; }
  .bar nav { gap: 1.4rem; }
  .bar-tel { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1.2rem; padding-top: 2.2rem; }
  .foot-note-row { flex-direction: column; align-items: flex-start; gap: .8rem; }
}
/* Ζωντανά αποτελέσματα αναζήτησης */
.suggest { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .18); padding: 16px; max-height: min(70vh, 620px); overflow-y: auto; }
.sg-title { display: block; font-size: .73rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.sg-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sg-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--bg); font-weight: 500; font-size: .93rem; color: var(--title); }
.sg-cats a span { color: var(--muted); font-size: .8rem; }
.sg-cats a:hover { background: var(--soft); color: var(--blue); }
.sg-prods a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; color: var(--title); }
.sg-prods a:hover { background: var(--bg); color: var(--title); }
.sg-img { flex: none; width: 48px; height: 48px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.sg-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.sg-name { flex: 1; min-width: 0; font-size: .93rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-name i { display: block; font-style: normal; font-size: .73rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sg-prods b { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg-all { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--blue); }
.sg-none { margin: 0; color: var(--muted); }
@media (hover: hover) { .card:hover { border-color: #cbd5e1; } }
@media (prefers-reduced-motion: no-preference) {
  .bar nav a, .top-act, .foot-col a, .mega-groups [data-g], .mega-col li > a, .mg a, .mf, .sg-prods a, .sg-cats a { transition: color .15s, background-color .15s, border-color .15s; }
  .mega:not(.beside) .mega-panel, .suggest { animation: rise .14s ease-out both; }
  .card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  @media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .06); } }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Box Now: η θυρίδα που διάλεξε ο πελάτης και ο χάρτης της Box Now κάτω από την επιλογή */
.boxnow { margin: -4px 0 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.boxnow-picked { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-weight: 600; color: var(--title); }
.boxnow-picked .ico { flex: none; color: var(--blue); margin-top: 2px; }
.boxnow .btn { background: #fff; color: var(--title); border: 1px solid var(--line); }
.boxnow .btn:hover { border-color: var(--blue); color: var(--blue); }
.boxnow-map { width: 100%; height: 520px; margin-top: 12px; border-radius: 8px; overflow: hidden; background: #fff; }
.boxnow-map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .boxnow-map { height: 70vh; } }
