/* ============================================================
   Drakopoulos B2B — Redesign 2026
   Palette: navy (logo) + lime (logo) + aluminium greys
   ============================================================ */
:root {
  --navy: #17334e;
  --navy-2: #0f2438;
  --navy-3: #1e4266;
  --lime: #c6d92e;
  --lime-2: #aebf1a;
  --ink: #1c2733;
  --muted: #5d6b7a;
  --line: #e3e8ee;
  --bg: #f5f7f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 36, 56, .08);
  --shadow-lg: 0 16px 48px rgba(15, 36, 56, .16);
  --font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--navy); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-2); color: #b9c6d2; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar a { color: #d7e0e8; margin-right: 16px; }
.topbar a:hover { color: var(--lime); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-b2b { color: var(--lime); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: 11px; margin-right: 8px; }
.lang { padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: 12px; margin: 0 !important; }
.lang.on { background: var(--lime); color: var(--navy-2) !important; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.header-in { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.logo img { height: 52px; width: auto; }
.search-wrap { flex: 1; max-width: 520px; position: relative; }
.search { flex: 1; display: flex; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; transition: border-color .2s; }
.search:focus-within { border-color: var(--navy-3); }
.search input { flex: 1; border: 0; outline: 0; padding: 10px 18px; font-family: inherit; font-size: 14.5px; background: transparent; }
.search button { border: 0; background: var(--navy); color: #fff; padding: 0 18px; cursor: pointer; font-size: 15px; }
.search button:hover { background: var(--navy-3); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ---------- Instant search panel ---------- */
.search-panel { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 90; max-height: min(70vh, 560px); overflow: auto; padding: 6px; }
.sp-sec { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 10px 12px 5px; }
.sp-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; color: var(--ink); }
.sp-item:hover, .sp-item.on { background: var(--bg); color: var(--ink); }
.sp-img { width: 42px; height: 42px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex: 0 0 42px; }
.sp-name { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; min-width: 0; }
.sp-name small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; letter-spacing: .3px; }
.sp-name mark { background: rgba(198, 217, 46, .45); color: inherit; border-radius: 3px; padding: 0 1px; }
.sp-price { font-weight: 800; color: var(--navy); font-size: 14px; white-space: nowrap; }
.sp-rfq { font-size: 11px; font-weight: 800; color: #8a6d00; background: #fdf6df; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.sp-go { color: var(--muted); }
.sp-all { display: block; text-align: center; font-weight: 800; font-size: 13.5px; color: var(--navy); padding: 11px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.sp-all:hover, .sp-all.on { background: var(--lime); color: var(--navy-2); }
.sp-empty { padding: 22px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.sp-recent { display: block; width: 100%; text-align: left; border: 0; background: none; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink); padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.sp-recent:hover { background: var(--bg); }
.sp-recent::before { content: '↻ '; color: var(--muted); }
.hbtn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px; font-weight: 700; font-size: 14px; background: var(--bg); color: var(--navy); position: relative; white-space: nowrap; }
.hbtn:hover { background: var(--line); }
.hbtn.lime { background: var(--lime); color: var(--navy-2); }
.hbtn.lime:hover { background: var(--lime-2); }
.hbtn.ghost { background: transparent; border: 1.5px solid var(--line); }
.hbtn .badge { position: absolute; top: -6px; right: -6px; background: var(--lime); color: var(--navy-2); font-size: 11px; font-weight: 800; border-radius: 999px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--navy); }

/* ---------- Nav ---------- */
.mainnav { background: var(--navy); position: sticky; top: 81px; z-index: 55; }
.nav-list { list-style: none; display: flex; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; color: #dce5ec; padding: 13px 18px; font-weight: 700; font-size: 14.5px; }
.nav-list > li > a:hover { color: var(--lime); }
.has-mega .mega { display: none; position: absolute; left: 0; top: 100%; background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 26px; width: min(1100px, calc(100vw - 40px)); }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px 26px; max-height: 65vh; overflow: auto; }
.mega-head { display: block; font-weight: 800; color: var(--navy); font-size: 14px; border-bottom: 2px solid var(--lime); padding-bottom: 6px; margin-bottom: 8px; }
.mega-link { display: block; font-size: 13.5px; color: var(--muted); padding: 3px 0; }
.mega-link:hover { color: var(--navy); }
.mega-link.more { color: var(--lime-2); font-weight: 700; }

/* ---------- Alerts ---------- */
.alert { margin: 16px 0; padding: 13px 18px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.alert.ok { background: #e9f5d8; color: #3c5a10; border: 1px solid #cde3a8; }
.alert.err { background: #fdebea; color: #8c2b24; border: 1px solid #f3c3bf; }
.alert.warn { background: #fef4dc; color: #7a5a12; border: 1px solid #f0dca8; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-2); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,36,56,.92) 30%, rgba(15,36,56,.4) 75%, rgba(198,217,46,.15)); }
.hero-in { position: relative; z-index: 2; padding: 96px 20px 110px; max-width: 760px; }
.hero-kicker { display: inline-block; background: rgba(198,217,46,.15); border: 1px solid rgba(198,217,46,.5); color: var(--lime); font-weight: 800; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12; font-weight: 800; letter-spacing: -.5px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { font-size: 17.5px; color: #cfdae4; max-width: 620px; margin-bottom: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-weight: 800; font-size: 15.5px; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, background .2s; }
.btn:active { transform: scale(.97); }
.btn-lime { background: var(--lime); color: var(--navy-2); }
.btn-lime:hover { background: var(--lime-2); color: var(--navy-2); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero quick points */
.hero-points { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12); }
.hero-point { background: rgba(15,36,56,.72); backdrop-filter: blur(4px); padding: 18px 24px; font-size: 14px; color: #cfdae4; display: flex; gap: 12px; align-items: center; }
.hero-point b { color: #fff; display: block; font-size: 14.5px; }
.hero-point .ico { font-size: 22px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--white); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--navy); letter-spacing: -.4px; }
.sec-head h2::after { content: ''; display: block; width: 56px; height: 4px; background: var(--lime); border-radius: 4px; margin: 14px auto 0; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.cat-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; border: 1px solid var(--line); }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #eef1f4; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-card:hover .thumb img { transform: scale(1.06); }
.cat-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.cat-card .cnt { color: var(--muted); font-size: 13px; }
.cat-card .go { margin-top: auto; font-weight: 800; font-size: 13.5px; color: var(--lime-2); }
.cat-card:hover .go { color: var(--navy); }

/* Stats */
.stats { background: linear-gradient(120deg, var(--navy-2), var(--navy-3)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.stat .num { font-size: clamp(34px, 4vw, 52px); font-weight: 800; color: var(--lime); }
.stat .lbl { color: #b9c6d2; font-weight: 600; font-size: 14.5px; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.ind-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: border-color .2s, transform .2s; }
.ind-card:hover { border-color: var(--lime); transform: translateY(-4px); }
.ind-card .ico { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 14px; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-size: 26px; }
.ind-card h3 { color: var(--navy); font-size: 16.5px; margin-bottom: 6px; }
.ind-card p { color: var(--muted); font-size: 14px; }

/* Why us */
.why-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.why-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: 0; }
.why-item .chk { flex: 0 0 34px; height: 34px; background: var(--lime); color: var(--navy-2); border-radius: 999px; display: grid; place-items: center; font-weight: 800; }
.why-item h4 { color: var(--navy); font-size: 15.5px; }
.why-item p { color: var(--muted); font-size: 14px; }

/* Custom sites strip */
.strip { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.strip h3 { font-size: 24px; color: var(--lime); margin-bottom: 10px; }
.strip p { color: #cfdae4; font-size: 15px; }
.strip .img { border-radius: 10px; overflow: hidden; }
.strip .img img { width: 100%; height: 220px; object-fit: cover; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 56px; }
.partners img { height: 44px; width: auto; filter: grayscale(1); opacity: .55; transition: .25s; }
.partners img:hover { filter: none; opacity: 1; }

/* B2B banner */
.b2b-banner { background: linear-gradient(110deg, var(--navy-2) 40%, var(--navy-3)); border-radius: var(--radius); color: #fff; padding: 52px; text-align: center; position: relative; overflow: hidden; }
.b2b-banner::before { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(198,217,46,.25), transparent 70%); }
.b2b-banner h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.b2b-banner p { color: #cfdae4; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Breadcrumbs / page head ---------- */
.page-head { background: var(--navy); color: #fff; padding: 34px 0 30px; }
.page-head h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; }
.crumbs { font-size: 13px; color: #9fb2c2; margin-top: 6px; }
.crumbs a { color: #cfdae4; }
.crumbs a:hover { color: var(--lime); }
.crumbs span { margin: 0 6px; opacity: .5; }

/* ---------- Product listing ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 20px; }
.prod-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-card .thumb { aspect-ratio: 1/.82; background: #fff; padding: 12px; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.prod-card .body { padding: 14px 16px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card .sku { font-size: 11.5px; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; font-weight: 700; }
.prod-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.prod-card .price { margin-top: auto; font-weight: 800; font-size: 17px; color: var(--navy); }
.price-locked { margin-top: auto; font-size: 12.5px; color: var(--muted); background: var(--bg); border: 1px dashed var(--line); padding: 7px 10px; border-radius: 8px; }
.price-rfq { margin-top: auto; font-size: 13px; font-weight: 700; color: #8a6d00; background: #fdf6df; padding: 7px 10px; border-radius: 8px; }

/* ---------- Product rows (one product per line) ---------- */
.prod-rows { display: flex; flex-direction: column; gap: 14px; }
.prod-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; transition: box-shadow .2s, border-color .2s; }
.prod-row:hover { box-shadow: var(--shadow-lg); border-color: #cdd6df; }
.prod-row .thumb { width: 120px; height: 100px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.prod-row .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prod-row .info { min-width: 0; }
.prod-row .sku { font-size: 11.5px; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; font-weight: 700; }
.prod-row h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); line-height: 1.3; margin: 3px 0 5px; }
.prod-row h3 a { color: inherit; }
.prod-row h3 a:hover { color: var(--navy-3); }
.prod-row .pdesc { color: var(--muted); font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-row .buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 190px; }
.prod-row .price { font-weight: 800; font-size: 20px; color: var(--navy); white-space: nowrap; }
.price-old { color: var(--muted); font-weight: 600; font-size: .78em; margin-right: 4px; }
.prod-row .buy form { display: flex; gap: 8px; align-items: center; }
.prod-row .qty-input { width: 66px; padding: 9px; }
.prod-row .price-locked, .prod-row .price-rfq { margin-top: 0; }

/* ---------- Product page ---------- */
.pd-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.pd-img { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; place-items: center; background: #fff; }
.pd-img img { max-height: 440px; object-fit: contain; }
.pd-info h1, .pd-info .pd-name { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.pd-meta { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.pd-desc { color: var(--ink); font-size: 15px; margin: 18px 0 26px; white-space: pre-line; }
.pd-price { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.pd-vat { color: var(--muted); font-size: 12.5px; margin-bottom: 18px; }
.pd-buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty-input { width: 86px; padding: 12px; border: 2px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; text-align: center; }
.pd-lock { background: var(--bg); border: 1px dashed var(--line); padding: 18px 20px; border-radius: 12px; font-size: 14.5px; color: var(--muted); }
.pd-lock a { font-weight: 800; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; max-width: 560px; margin: 48px auto; }
.form-card.wide { max-width: 780px; }
.form-card h1 { color: var(--navy); font-size: 24px; margin-bottom: 8px; }
.form-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fgrid .full { grid-column: 1 / -1; }
label.fl { display: block; font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 5px; }
.fi { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 14.5px; background: #fff; }
.fi:focus { outline: 0; border-color: var(--navy-3); }
textarea.fi { min-height: 110px; resize: vertical; }
.form-foot { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13.5px; color: var(--muted); }
.req { color: #c0392b; }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th { background: var(--navy); color: #fff; text-align: left; padding: 13px 16px; font-size: 13px; letter-spacing: .4px; }
.cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14.5px; }
.cart-table .pimg { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 16px; flex-wrap: wrap; }
.cart-total { font-size: 20px; font-weight: 800; color: var(--navy); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; }
.tag.order { background: #e2efd9; color: #3c6b1c; }
.tag.rfq { background: #fdf3d7; color: #8a6d00; }
.tag.pending { background: #fdf3d7; color: #8a6d00; }
.tag.approved, .tag.confirmed, .tag.completed { background: #e2efd9; color: #3c6b1c; }
.tag.rejected, .tag.cancelled { background: #fbe3e1; color: #99342c; }
.tag.quoted { background: #dff0f7; color: #1c5a75; }

/* ---------- Coming soon ---------- */
.coming-soon { text-align: center; background: var(--white); border: 2px dashed var(--line); border-radius: var(--radius); padding: 56px 24px; max-width: 560px; margin: 12px auto; }
.coming-soon .cs-ico { font-size: 44px; margin-bottom: 10px; }
.coming-soon h2 { color: var(--navy); font-size: 24px; margin-bottom: 8px; }
.coming-soon h2::after { content: ''; display: block; width: 48px; height: 4px; background: var(--lime); border-radius: 4px; margin: 12px auto 0; }
.coming-soon p { color: var(--muted); font-size: 14.5px; margin: 14px 0 22px; }

/* ---------- RAL ---------- */
.ral-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ral-chip { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.ral-chip .sw { height: 84px; }
.ral-chip .inf { padding: 10px 12px; }
.ral-chip .code { font-weight: 800; font-size: 13.5px; color: var(--navy); }
.ral-chip .nm { font-size: 12px; color: var(--muted); }

/* ---------- Tables (account/admin) ---------- */
.tbl { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 14px; }
.tbl th { background: var(--navy); color: #fff; text-align: left; padding: 11px 14px; font-size: 12.5px; letter-spacing: .3px; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: #fafbfc; }
.btn-sm { padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; border: 0; cursor: pointer; font-family: inherit; display: inline-block; }
.btn-sm.ok { background: #4a7d23; color: #fff; }
.btn-sm.no { background: #b3352c; color: #fff; }
.btn-sm.nv { background: var(--navy); color: #fff; }
.btn-sm.gy { background: var(--line); color: var(--ink); }

/* ---------- Admin ---------- */
.admin-wrap { display: grid; grid-template-columns: 230px 1fr; gap: 28px; padding: 32px 5% 64px; align-items: start; width: 100%; }
.admin-side { background: var(--navy-2); border-radius: var(--radius); padding: 18px 0; position: sticky; top: 140px; }
.admin-side a { display: block; color: #cfdae4; padding: 11px 22px; font-weight: 700; font-size: 14px; border-left: 3px solid transparent; }
.admin-side a:hover, .admin-side a.on { color: var(--lime); border-left-color: var(--lime); background: rgba(255,255,255,.04); }
.admin-main h1 { color: var(--navy); font-size: 24px; margin-bottom: 18px; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 28px; }
.acard { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; border-top: 4px solid var(--lime); }
.acard .n { font-size: 30px; font-weight: 800; color: var(--navy); }
.acard .l { color: var(--muted); font-size: 13px; font-weight: 700; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 24px; }
.panel h2 { color: var(--navy); font-size: 18px; margin-bottom: 14px; }
.thumb-sm { width: 46px; height: 46px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.note-item { border-left: 3px solid var(--lime); background: var(--bg); border-radius: 0 10px 10px 0; padding: 10px 14px; margin-bottom: 10px; }
.note-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.note-body { font-size: 14px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 200px) 1fr 90px; gap: 10px; align-items: center; font-size: 13.5px; padding: 5px 0; }
.bar-row .bar { background: var(--line); border-radius: 99px; height: 12px; overflow: hidden; }
.bar-row .bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-3), var(--lime)); border-radius: 99px; }
.bar-row .val { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.chart-cols { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.chart-col .c-bar { width: 100%; max-width: 46px; background: linear-gradient(180deg, var(--lime), var(--navy-3)); border-radius: 6px 6px 0 0; min-height: 2px; }
.chart-col .c-lbl { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; max-width: 100%; }
.chart-col .c-val { font-size: 11px; font-weight: 800; color: var(--navy); white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #b9c6d2; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 20px 40px; }
.fcol h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.fcol h4::after { content: ''; display: block; width: 28px; height: 3px; background: var(--lime); border-radius: 3px; margin-top: 7px; }
.fcol a { display: block; color: #b9c6d2; font-size: 14px; padding: 3.5px 0; }
.fcol a:hover { color: var(--lime); }
.fcol p { font-size: 14px; }
.flogo { height: 44px; width: auto; margin-bottom: 14px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: #8fa2b2; }

.hide-sm {}
.section-cta { text-align: center; margin-top: 36px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .why-wrap, .strip, .pd-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-wrap { grid-template-columns: 1fr; padding: 24px 4% 48px; }
  .admin-side { position: static; display: flex; flex-wrap: wrap; padding: 8px; gap: 2px; overflow-x: auto; }
  .admin-side a { border-left: 0; border-radius: 8px; padding: 9px 14px; white-space: nowrap; }
}

/* Wide tables scroll inside their own container instead of breaking the page */
@media (max-width: 900px) {
  .tbl { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl thead th { white-space: nowrap; }
  .panel { padding: 18px 16px; }
  .admin-cards { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .admin-main h1 { font-size: 20px; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .topbar-in { flex-wrap: wrap; padding: 4px 0; }
  .section { padding: 48px 0; }
  .strip { padding: 26px 22px; }
  .strip .img img { height: 170px; }
  .b2b-banner { padding: 34px 22px; }
  .header-actions { gap: 7px; }
  .header-actions .hbtn { padding: 8px 11px; font-size: 13px; }
  .sec-head { margin-bottom: 30px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-head { padding: 24px 0 22px; }
  .form-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .form-foot .btn { justify-content: center; }
  .pd-info h1, .pd-info .pd-name { font-size: 21px; }
  .pd-buy { width: 100%; }
  .pd-buy .btn { flex: 1; justify-content: center; }
  .cart-total { width: 100%; text-align: right; }
  .header-in { flex-wrap: wrap; gap: 12px; }
  .logo img { height: 42px; }
  .search-wrap { order: 3; flex-basis: 100%; max-width: none; }
  .burger { display: block; }
  .mainnav { display: none; position: static; }
  .mainnav.open { display: block; }
  .nav-list { flex-direction: column; padding: 8px 0; }
  .has-mega .mega { position: static; width: auto; display: none; box-shadow: none; border-radius: 0; }
  .has-mega.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr 1fr; max-height: none; }
  .site-header { position: static; }
  .hero-in { padding: 64px 20px 72px; }
  .fgrid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; margin: 24px auto; }
  .pd-wrap { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .prod-row { grid-template-columns: 84px 1fr; }
  .prod-row .thumb { width: 84px; height: 74px; }
  .prod-row .buy { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; min-width: 0; }
  .cart-table thead { display: none; }
  .cart-table td { display: block; border: 0; padding: 6px 14px; }
  .cart-table tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
}

/* ---------- Προϊόν με διαστάσεις / επιλογές / προεπισκόπηση ---------- */
.pd-wrap.is-config { grid-template-columns: 1fr 1.25fr; }
.pd-media { min-width: 0; }
.pd-img { position: relative; min-height: 320px; }
.cfg-preview { width: 100%; aspect-ratio: 1 / 1; max-height: 460px; display: grid; place-items: center; }
.cfg-preview svg { width: 100%; height: 100%; display: block; }
.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pd-thumb { width: 66px; height: 66px; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; display: grid; place-items: center; font-family: inherit; color: var(--navy); font-size: 20px; line-height: 1; transition: border-color .15s; }
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumb.on, .pd-thumb:hover { border-color: var(--navy); }
.pd-thumb.is-preview { background: var(--bg); }
.pd-thumb.is-preview span { display: block; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin-top: 3px; }
.cfg-summary { margin-top: 12px; font-size: 13.5px; color: var(--navy); font-weight: 700; background: var(--bg); border-radius: 10px; padding: 10px 14px; min-height: 20px; }
.cfg-summary:empty { display: none; }
.opt-block { margin: 0 0 18px; }
.opt-title { display: block; font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.opt-title small { color: var(--muted); font-weight: 600; }
.vgrid-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.vgrid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 420px; font-size: 13.5px; }
.vgrid th { background: var(--navy); color: #fff; padding: 9px 10px; font-weight: 800; text-align: center; white-space: nowrap; }
.vgrid th.corner { text-align: left; font-size: 11px; line-height: 1.25; background: var(--navy-2); }
.vgrid th.corner span { display: block; opacity: .9; }
.vgrid tbody th { background: var(--bg); color: var(--navy); border-bottom: 1px solid var(--line); }
.vgrid td { padding: 5px; text-align: center; border-bottom: 1px solid var(--line); }
.vcell { display: block; cursor: pointer; }
.vcell input { position: absolute; opacity: 0; width: 0; height: 0; }
.vc-box { display: block; border: 2px solid var(--line); border-radius: 9px; padding: 8px 6px; font-weight: 800; color: var(--navy); background: #fff; transition: all .15s; white-space: nowrap; }
.vc-price { font-size: 13.5px; }
.vc-rfq { font-size: 11px; color: #8a6d00; text-transform: uppercase; letter-spacing: .3px; }
.vc-ok { color: var(--lime-2); font-size: 16px; }
.vcell:hover .vc-box { border-color: var(--navy-3); }
.vcell input:checked + .vc-box { border-color: var(--lime-2); background: var(--lime); color: var(--navy-2); box-shadow: 0 4px 14px rgba(198, 217, 46, .35); }
.vcell input:focus-visible + .vc-box { outline: 2px solid var(--navy-3); }
.vc-na { color: var(--muted); }
.custom-box { background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; }
.custom-box .chk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--navy); cursor: pointer; }
.custom-box .chk small { color: var(--muted); font-weight: 500; }
.custom-fields { display: flex; gap: 12px; align-items: flex-end; margin-top: 12px; flex-wrap: wrap; }
.custom-fields label { font-size: 12.5px; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 120px; }
.custom-fields .x { font-weight: 800; padding-bottom: 12px; color: var(--muted); }
.pd-price-hint { font-size: 16px; color: var(--muted); font-weight: 700; }
.btn.is-wait { opacity: .75; }
.pd-form select.fi { max-width: 520px; }
.pd-form textarea.fi { max-width: 520px; }
.line-details { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.prod-row .price .from { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.pd-desc-wrap { background: var(--white); border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow); margin-top: 28px; }
.pd-desc-wrap h2 { font-size: 21px; color: var(--navy); margin-bottom: 14px; }
.pd-desc-wrap .pd-desc { margin: 0 0 22px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Σελίδα ειδικών διαστάσεων */
.cs-list { display: flex; flex-direction: column; gap: 18px; }
.cs-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.cs-thumb { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; height: 150px; }
.cs-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cs-body .sku { font-size: 11.5px; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; font-weight: 700; }
.cs-body h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin: 3px 0 5px; }
.cs-body h3 a { color: inherit; }
.cs-body .pdesc { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 14px; }
.cs-grid label { font-size: 12.5px; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; gap: 5px; }
.cs-grid label.full { grid-column: 1 / -1; }
.cs-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.cs-foot .price-rfq { margin: 0; }
.cs-foot .qty-input { width: 74px; padding: 9px; }

/* Admin: πλέγμα διαστάσεων & gallery */
.var-editor { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.var-editor h3 { font-size: 15px; color: var(--navy); margin-bottom: 12px; }
.var-grid-wrap { overflow-x: auto; margin-top: 14px; }
.var-tbl td { min-width: 118px; }
.var-tbl .fi { padding: 7px 8px; font-size: 13px; }
.var-tbl .vs { margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.gal-admin { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.gal-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.gal-item img { width: 70px; height: 70px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

@media (max-width: 1000px) { .pd-wrap.is-config { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .cs-card { grid-template-columns: 1fr; }
  .cs-thumb { height: 120px; width: 120px; }
  .pd-desc-wrap { padding: 20px; }
  .vgrid { min-width: 360px; }
}

/* Πίνακας διαστάσεων «ΠΛΑΤΟΣ (mm) / ΥΨΟΣ (mm)» όπως στον τιμοκατάλογο του πελάτη */
.vgrid th.corner { text-align: left; font-size: 12.5px; letter-spacing: .5px; text-transform: uppercase; background: var(--navy-2); }
.vgrid th.hlab { background: var(--navy-2); color: #fff; width: 34px; padding: 6px 4px; vertical-align: middle; }
.vgrid th.hlab span { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-block; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.vgrid th.hval { background: var(--bg); color: var(--navy); font-weight: 800; white-space: nowrap; }
.vchips { display: flex; gap: 10px; flex-wrap: wrap; }
.vchips .vcell { position: relative; }
.vchips .vc-box { min-width: 120px; text-align: center; }
.vchips .vc-box b { display: block; font-size: 14px; margin-bottom: 2px; }
.cs-dims { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: 100%; max-width: 520px; background: #fff; }
.cs-dims th { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 8px 10px; text-align: left; }
.cs-dims th.corner { width: 34px; background: var(--navy-2); }
.cs-dims th.hlab { width: 34px; background: var(--navy-2); vertical-align: middle; padding: 6px 4px; text-align: center; }
.cs-dims th.hlab span { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-block; white-space: nowrap; }
.cs-dims td { padding: 10px; }
.cs-dims-in { display: flex; align-items: center; gap: 10px; }
.cs-dims-in .fi { max-width: 170px; }
.cs-dims-in .x { font-weight: 800; color: var(--muted); }
.cs-limits { font-size: 12.5px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.color-note { background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; max-width: 520px; }

/* Admin: μαζικές ενέργειες προϊόντων */
.bulk-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.bulk-bar.has-sel { border-color: var(--navy-3); background: #eef3f8; }
.bulk-all { font-weight: 700; font-size: 13.5px; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.bulk-count { font-size: 12.5px; color: var(--muted); font-weight: 700; min-width: 90px; }
.bulk-bar .fi { padding: 8px 12px; font-size: 13.5px; width: auto; }
.bulk-bar .btn-sm:disabled { opacity: .45; cursor: not-allowed; }
.bulk-cb { width: 17px; height: 17px; cursor: pointer; }

/* Footer credit */
.footer-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom .credit a { color: var(--lime); font-weight: 700; }
.footer-bottom .credit a:hover { text-decoration: underline; }
@media (max-width: 760px) { .footer-bottom-in { justify-content: center; text-align: center; } }
