/* Theotokatos FC Shop — premium dark UI, matches site palette (green / black / white) */
:root {
  --bg: #0b0c0d;
  --surface: #131517;
  --surface-2: #1a1d20;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f5f6;
  --muted: #9aa3ab;
  --green: #17b06a;
  --green-deep: #007841;
  --ok: #3ddc97;
  --warn: #f5b942;
  --bad: #ff6b6b;
  --r: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 Inter, 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
code { font-size: .8rem; color: var(--muted); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.section { padding: 32px 0 64px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* Header / footer */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 12, 13, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { color: var(--text); font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-deep)); box-shadow: 0 0 0 4px rgba(23, 176, 106, .18); }
.bar-nav { display: flex; align-items: center; gap: 6px; }
.bar-nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .92rem; }
.bar-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.bar-nav .lang { border: 1px solid var(--line); font-weight: 700; font-size: .8rem; }
.cart-btn { position: relative; display: inline-flex; color: var(--text) !important; }
.cart-btn .ic { width: 1.4em; height: 1.4em; }
.badge {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--green); color: #04130b; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center;
}
.badge.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--muted); }

/* Hero */
.hero {
  padding: clamp(48px, 9vw, 96px) 0 clamp(36px, 6vw, 64px);
  background:
    radial-gradient(900px 380px at 15% -10%, rgba(23, 176, 106, .22), transparent 70%),
    linear-gradient(180deg, #0f1411, var(--bg));
  border-bottom: 1px solid var(--line);
}
.eyebrow { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin-top: 14px; }
.hero-perks { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: .92rem; }
.hero-perks span { display: inline-flex; gap: 8px; align-items: center; }
.section-title { margin: 8px 0 22px; font-size: 1.35rem; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0 24px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(23, 176, 106, .45); box-shadow: var(--shadow); }
.card-img { display: block; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--surface-2); }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 16px 16px 18px; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { text-decoration: none; color: var(--green); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.card-row form { margin: 0; }
.price { font-weight: 800; font-size: 1.1rem; }
.ph {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, hsl(var(--h) 38% 22%), hsl(calc(var(--h) + 40) 30% 12%));
}
.ph span { font-size: 3.2rem; font-weight: 800; color: rgba(255, 255, 255, .85); }

/* Pills */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.pill-ok { background: rgba(61, 220, 151, .14); color: var(--ok); }
.pill-low { background: rgba(245, 185, 66, .14); color: var(--warn); }
.pill-out { background: rgba(255, 107, 107, .14); color: var(--bad); }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #04130b;
  background: linear-gradient(135deg, var(--green), #12965a); padding: 12px 20px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  transition: transform .15s var(--ease), box-shadow .2s, filter .2s; box-shadow: 0 6px 18px rgba(23, 176, 106, .25);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: transparent; color: var(--bad); border: 1px solid rgba(255, 107, 107, .4); box-shadow: none; }
.btn.loading { position: relative; color: transparent; }
.btn.loading::after {
  content: ''; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(4, 19, 11, .3);
  border-top-color: #04130b; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; padding: 4px 0; }
.link-btn:hover { color: var(--bad); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.center.actions, .center .actions { justify-content: center; }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.crumb:hover { color: var(--text); text-decoration: none; }

/* Item */
.item { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 56px); margin-bottom: 64px; }
.item-media { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; background: var(--surface-2); }
.item-media img, .item-media .ph { width: 100%; height: 100%; object-fit: cover; }
.item-media .ph span { font-size: 7rem; }
.item-info h1 { margin: 12px 0 8px; }
.item-price { font-size: 1.9rem; font-weight: 800; margin-bottom: 18px; }
.item-desc { color: #c9d0d6; font-size: 1.05rem; }
.buy { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; align-items: center; }
.trust { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: .92rem; }
.trust li { display: flex; gap: 10px; align-items: center; }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.stepper button { appearance: none; border: 0; background: transparent; color: var(--text); width: 42px; height: 46px; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--surface-2); }
.stepper input { width: 48px; text-align: center; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Steps */
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 28px; overflow-x: auto; }
.steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .88rem; font-weight: 600; flex: 1; min-width: max-content; }
.steps li:not(:last-child)::after { content: ''; flex: 1; height: 2px; background: var(--line); margin-left: 6px; border-radius: 2px; }
.steps .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; }
.steps .n .ic { width: 15px; height: 15px; }
.steps .now { color: var(--text); }
.steps .now .n { background: var(--green); border-color: var(--green); color: #04130b; }
.steps .done .n { background: rgba(23, 176, 106, .18); border-color: var(--green); color: var(--green); }
.steps .done:not(:last-child)::after { background: var(--green); }

/* Two-column cart/checkout */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.stack { display: grid; gap: 20px; }
.summary, .panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 0; min-width: 0;
}
.summary { position: sticky; top: 90px; }
.summary h2, .panel h2, .panel legend { margin-bottom: 14px; font-size: 1.1rem; font-weight: 700; padding: 0; }
dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 14px 0 18px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 600; }
dt.total, dd.total { color: var(--text); font-size: 1.25rem; font-weight: 800; padding-top: 12px; border-top: 1px solid var(--line); }
.hint { background: rgba(23, 176, 106, .1); border: 1px solid rgba(23, 176, 106, .25); color: #bfe9d3; padding: 10px 12px; border-radius: 12px; font-size: .88rem; display: flex; gap: 8px; }
.summary .hint { margin-bottom: 16px; }

/* Cart lines */
.lines { display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); align-items: center; }
.line-img { width: 96px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: block; }
.line-img img, .line-img .ph { width: 100%; height: 100%; object-fit: cover; }
.line-img .ph span { font-size: 2rem; }
.line-main { display: grid; gap: 4px; justify-items: start; }
.line-name { color: var(--text); font-weight: 600; }
.line-main .stepper { margin-top: 8px; }
.line-main .stepper button { height: 38px; width: 36px; }
.line-side { display: grid; justify-items: end; gap: 8px; }

/* Mini order list */
.mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini li { display: flex; align-items: center; gap: 12px; }
.mini-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.mini-img { position: relative; width: 52px; height: 52px; border-radius: 10px; overflow: visible; flex: none; }
.mini-img img, .mini-img .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.mini-img .ph span { font-size: 1.2rem; }
.mini-img i { position: absolute; top: -7px; right: -7px; background: var(--green); color: #04130b; font-style: normal; font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }

/* Forms */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.panel legend { float: left; width: 100%; }
.panel legend + * { clear: both; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); font-weight: 500; }
label > span { color: #c9d0d6; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input:not([type]), textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
input[type=file] { color: var(--muted); font-size: .9rem; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 176, 106, .16); }
input:user-invalid { border-color: var(--bad); }
.panel > label + label, .panel > .fields + label, .panel > label + .fields, .panel > .fields { margin-top: 14px; }
.agree, .check { display: flex; align-items: flex-start; gap: 10px; color: #c9d0d6; font-size: .92rem; }
.check input, .agree input { accent-color: var(--green); width: 20px; height: 20px; margin-top: 2px; flex: none; }

/* Gateway cards */
.gw { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--bg); transition: border-color .15s, background .15s; margin-top: 10px; color: var(--text); }
.gw:first-of-type { margin-top: 0; }
.gw:hover { border-color: rgba(255, 255, 255, .22); }
.gw input { position: absolute; opacity: 0; }
.gw-body { display: grid; gap: 2px; flex: 1; font-size: .88rem; }
.gw-logo { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.gw-stripe { color: #8f8bff; } .gw-paypal { color: #5ab0ff; } .gw-revolut { color: #fff; } .gw-demo { color: var(--warn); }
.gw-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; }
.gw:has(input:checked) { border-color: var(--green); background: rgba(23, 176, 106, .08); }
.gw:has(input:checked) .gw-check { background: var(--green); border-color: var(--green); color: #04130b; }
.gw:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }

/* States & notices */
.state { padding: 36px 0; }
.state-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--surface-2); color: var(--muted); }
.state-ic .ic { width: 34px; height: 34px; }
.state-ok { background: rgba(61, 220, 151, .14); color: var(--ok); animation: pop .5s var(--ease); }
.state-warn { background: rgba(245, 185, 66, .14); color: var(--warn); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.state .lead { margin-inline: auto; }
.big-total { font-size: 2.6rem; font-weight: 800; margin: 18px 0 0; }
.card-flat { display: flex; gap: 12px; text-align: left; justify-content: center; margin: 34px auto 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); max-width: 460px; color: var(--muted); }
.notice { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; margin: 16px 0 0; border: 1px solid var(--line); background: var(--surface); }
.notice-error { border-color: rgba(255, 107, 107, .45); background: rgba(255, 107, 107, .08); color: #ffc7c7; }
.notice-ok { border-color: rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .08); color: #bff3da; }
.notice-warn { border-color: rgba(245, 185, 66, .4); background: rgba(245, 185, 66, .08); color: #ffe2a8; margin-bottom: 20px; }
.receipt { margin-top: 24px; }
.receipt-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.prose p, .prose div { color: #c9d0d6; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 50;
  background: var(--surface-2); border: 1px solid rgba(23, 176, 106, .5); color: var(--text);
  padding: 13px 20px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; max-width: calc(100% - 32px);
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(255, 107, 107, .6); }

/* Cookie consent banner */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow);
}
.consent-inner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 20px; }
.consent-inner p { margin: 0; color: var(--muted); font-size: .88rem; max-width: 640px; }
.consent-inner p a { color: var(--green); }
.consent-actions { display: flex; gap: 10px; flex: none; margin-left: auto; }

/* Admin */
.admin-nav { padding-top: 18px; }
.admin-nav nav { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.admin-nav a { color: var(--muted); padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.admin-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.admin-nav a.on { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--green); }
.admin-nav .push { margin-left: auto; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 34px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 6px; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat strong { font-size: 1.7rem; letter-spacing: -.02em; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, .02); }
.num { text-align: right; }
.thumb { width: 56px; }
.thumb .ph, .thumb img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.thumb .ph span { font-size: 1rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chips a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 600; }
.chips a.on, .chips a:hover { color: var(--text); border-color: var(--green); text-decoration: none; }
.form-narrow { max-width: 720px; }
.form-narrow label { margin-top: 14px; }
.form-narrow .fields label { margin-top: 0; }
.preview { width: 180px; height: 180px; object-fit: cover; border-radius: 14px; margin: 4px 0; border: 1px solid var(--line); background: var(--surface-2); }
.danger-zone { margin-top: 24px; }
.gw-set { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.gw-set label { margin-top: 0; }
.auth { display: grid; gap: 16px; margin-top: 8vh; }
.auth label { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .summary { position: static; }
  .item { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .fields { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-body { padding: 12px; }
  .card-row { flex-direction: column; align-items: stretch; }
  .card-row .btn span { display: none; }
  .card-row .btn { width: 100%; }
  .line { grid-template-columns: 72px 1fr; }
  .line-img { width: 72px; }
  .line-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; justify-items: start; align-items: center; }
  .steps .l { display: none; }
  .steps .now .l { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Product cards: keep the price on one line */
.price { white-space: nowrap; }
.card-row { flex-wrap: wrap; }

/* Admin: drag & drop image zone */
.field-label { display: block; color: #c9d0d6; font-size: .88rem; font-weight: 500; margin: 14px 0 6px; }
.dropzone {
  position: relative; display: grid; place-items: center; min-height: 180px; padding: 16px; margin: 0;
  border: 2px dashed rgba(255, 255, 255, .18); border-radius: 16px; background: var(--bg);
  cursor: pointer; overflow: hidden; text-align: center; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--green); }
.dropzone.drag { border-color: var(--green); background: rgba(23, 176, 106, .1); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface-2); }
.dz-text { position: relative; display: grid; gap: 4px; justify-items: center; color: var(--text); pointer-events: none; }
.dz-text small { color: var(--muted); font-size: .82rem; }
.dropzone.has-img .dz-text { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(11, 12, 13, .78); backdrop-filter: blur(6px); }
.dropzone.has-img .dz-text .ic { display: none; }

/* Rich text editor (admin) + rendered rich text */
.rte { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; margin-top: 6px; }
.rte:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 176, 106, .16); }
.rte-bar { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.rte-bar button {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 700;
  min-width: 44px; height: 44px; border-radius: 10px; cursor: pointer; padding: 0 10px; touch-action: manipulation;
}
.rte-bar button:hover, .rte-bar button:active { border-color: var(--green); background: rgba(23, 176, 106, .12); }
.rte-area { padding: 14px 16px; outline: none; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.rte-hint { margin: 0; padding: 8px 12px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }
.rte-hint code { color: var(--text); }
.rte-area p, .rich p { margin: 0 0 .9em; }
.rte-area h2, .rich h2 { font-size: 1.3rem; margin: 1.1em 0 .5em; }
.rte-area h3, .rich h3 { font-size: 1.1rem; margin: 1em 0 .4em; }
.rte-area ul, .rte-area ol, .rich ul, .rich ol { padding-left: 1.3em; margin: 0 0 .9em; }
.rte-area blockquote, .rich blockquote { margin: 0 0 .9em; padding: 6px 14px; border-left: 3px solid var(--green); color: var(--muted); }
.rte-area a, .rich a { color: var(--green); text-decoration: underline; }
.rich hr, .rte-area hr { border: 0; border-top: 1px solid var(--line); margin: 1.2em 0; }
.rich > :last-child { margin-bottom: 0; }

.sub { margin: 22px 0 8px; font-size: 1.05rem; }
.prose h1 { margin-bottom: 20px; }

/* ================= Product page (premium) ================= */
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); text-decoration: none; }
.crumbs span:last-child { color: var(--text); overflow-wrap: anywhere; }

.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 64px); align-items: start; }
.pdp-media { position: sticky; top: 90px; display: grid; gap: 16px; }
.pdp-info { display: grid; gap: 4px; align-content: start; }
.pdp-top { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.pdp-info h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; margin: 4px 0 10px; }
.pdp-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.pdp-price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.pdp-lead { color: #c9d0d6; font-size: 1.04rem; margin: 0 0 22px; }
.pdp-buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin: 6px 0 20px; }
.pdp-add { flex: 1 1 220px; }

/* magnifier */
.zoom {
  position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; aspect-ratio: 1; cursor: zoom-in; touch-action: manipulation;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.zoom img, .zoom .ph { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.zoom .ph span { font-size: 7rem; }
.zoom-lens {
  position: absolute; width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
  border: 3px solid var(--green); box-shadow: 0 10px 40px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .6);
  background-repeat: no-repeat; background-color: #fff; opacity: 0; transform: scale(.85);
  transition: opacity .15s, transform .15s var(--ease); z-index: 3;
}
.zoom.is-zooming .zoom-lens { opacity: 1; transform: scale(1); }
.zoom-hint {
  position: absolute; left: 14px; bottom: 14px; z-index: 4; display: inline-flex; gap: 8px; align-items: center;
  padding: 7px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: rgba(11, 12, 13, .72); color: var(--text); backdrop-filter: blur(6px); pointer-events: none;
  transition: opacity .2s;
}
.zoom-hint-tap { display: none; }
.zoom.is-zooming .zoom-hint { opacity: 0; }
@media (hover: none) { .zoom-hint-hover { display: none; } .zoom-hint-tap { display: inline-flex; } .zoom-lens { display: none; } }

.pdp-assure { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pdp-assure li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: .8rem; color: var(--muted); }
.pdp-assure .ic { width: 1.5em; height: 1.5em; color: var(--green); }

.pdp-share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.chip-btn { appearance: none; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); }
.chip-btn:hover { border-color: var(--green); text-decoration: none; background: rgba(23, 176, 106, .08); }

/* detail boxes */
.pdp-details { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin: 56px 0 64px; align-items: start; }
.pdp-details.single { grid-template-columns: minmax(0, 860px); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.box h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 18px; }
.box .bar { width: 4px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, var(--green), var(--green-deep)); }
.box .rich { color: #d4dae0; font-size: 1.02rem; }
.box-features { background: linear-gradient(180deg, rgba(23, 176, 106, .08), var(--surface) 55%); border-color: rgba(23, 176, 106, .28); position: sticky; top: 90px; }
.box-features ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.box-features li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.box-features li:last-child { border-bottom: 0; }
.box-features li::before {
  content: ''; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(23, 176, 106, .18) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2317b06a%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 12 4 4 8-9%27/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* sticky mobile buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; justify-content: space-between; align-items: center; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(19, 21, 23, .94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s var(--ease);
}
.buybar.show { transform: none; }
.buybar .small { display: block; max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5, 6, 7, .94); display: grid; place-items: center; overflow: auto; cursor: zoom-out; }
.lightbox img { max-width: min(96vw, 1200px); max-height: 92vh; object-fit: contain; border-radius: 12px; background: #fff; transition: transform .25s var(--ease); touch-action: pinch-zoom pan-x pan-y; }
.lightbox img.zoomed { transform: scale(2); cursor: zoom-out; }
.lb-close { position: fixed; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(19, 21, 23, .9); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.lb-close .ic { width: 20px; height: 20px; }

.seo-box { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--line); }
.seo-box label { margin-top: 12px; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-media, .box-features { position: static; }
  .pdp-details { grid-template-columns: 1fr; margin-top: 36px; }
}
@media (max-width: 700px) {
  .buybar { display: flex; }
  .pdp-wrap { padding-bottom: 96px; }
  .pdp-assure { grid-template-columns: 1fr; }
  .pdp-assure li { flex-direction: row; text-align: left; padding: 12px 14px; }
}

/* share buttons with icons */
.chip-btn { display: inline-flex; align-items: center; gap: 8px; }
.chip-btn .ic { width: 1.1em; height: 1.1em; }
.chip-fb .ic-brand { color: #1877f2; }
.chip-wa .ic-brand { color: #25d366; }
.chip-fb:hover { border-color: #1877f2; background: rgba(24, 119, 242, .1); }
.chip-wa:hover { border-color: #25d366; background: rgba(37, 211, 102, .1); }

/* ================= Catalogue (home) ================= */
.shop-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.shop-tools .section-title { margin: 0; }
.tools-right { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { position: relative; display: block; margin: 0; }
.search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input[type=search] { padding-left: 42px; min-height: 46px; width: min(280px, 100%); border-radius: 999px; }
.tools-right select { width: auto; min-height: 46px; border-radius: 999px; padding-right: 36px; cursor: pointer; }

.grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.card { display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 1 / 1; background: #fff; }
.card-img img { object-fit: contain; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.card-body h3 {
  font-size: 1rem; line-height: 1.35; min-height: 2.7em; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-row { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: 1.2rem; }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em; backdrop-filter: blur(6px);
}
.badge-low { background: rgba(245, 185, 66, .95); color: #1c1300; }
.badge-out { background: rgba(20, 22, 24, .9); color: var(--bad); border: 1px solid rgba(255, 107, 107, .4); }
.card.is-out .card-img img, .card.is-out .card-img .ph { opacity: .45; filter: grayscale(.6); }
.card.is-hidden { display: none; }

@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: .9rem; }
  .card-row { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
  .card-row .btn { padding: 8px 12px; }
  .card-row .btn span { display: none; }
  .card-row form { margin-left: auto; }
  .search input[type=search] { width: 100%; }
  .search { flex: 1 1 100%; }
  .tools-right { width: 100%; }
  .tools-right select { flex: 1 1 100%; }
}

/* Admin: one box per payment gateway */
.gw-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; border-top: 3px solid var(--gwc, var(--line)); }
.gw-card-stripe { --gwc: #8f8bff; }
.gw-card-paypal { --gwc: #5ab0ff; }
.gw-card-revolut { --gwc: #e6e8ea; }
.gw-card-demo { --gwc: var(--warn); }
.gw-card header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.gw-card header > div { display: grid; gap: 2px; }
.gw-name { font-weight: 800; font-size: 1.1rem; color: var(--gwc, var(--text)); }
.gw-body { padding: 18px 20px 20px; display: grid; gap: 14px; }
.gw-body label { margin: 0; }
.gw-body .hint { margin: 0; }
.hint-warn { background: rgba(245, 185, 66, .1); border-color: rgba(245, 185, 66, .3); color: #ffe2a8; }

/* on/off switch */
.switch { position: relative; display: inline-block; margin: 0; cursor: pointer; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { display: block; width: 52px; height: 30px; border-radius: 999px; background: #3a3f44; border: 1px solid var(--line); transition: background .2s; position: relative; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 2px solid var(--green); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* pick-up */
.gw-pickup { color: var(--green); }
.gw-card-pickup { --gwc: var(--green); }
.pickup-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(23, 176, 106, .1); border: 1px solid rgba(23, 176, 106, .3); color: #cfeedd; font-size: .93rem; }
.pickup-note .ic { margin-top: 3px; color: var(--green); }
.pickup-note-lg { max-width: 560px; margin: 18px auto 0; text-align: left; }
.delivery-field[hidden] { display: none; }

.gw-card-telegram { --gwc: #37aee2; }
.gw-card-ntfy { --gwc: #57d28f; }
.steps-list { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: .92rem; display: grid; gap: 4px; }
.steps-list li::marker { color: var(--green); font-weight: 700; }

/* Settings: tabs */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; border-bottom: 1px solid var(--line); scrollbar-width: none; margin-bottom: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; white-space: nowrap;
  padding: 12px 18px; border-radius: 12px 12px 0 0; cursor: pointer; position: relative; min-height: 46px;
}
.tab:hover { color: var(--text); background: var(--surface); }
.tab.on { color: var(--text); background: var(--surface); }
.tab.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--green); }
.tab:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.tab-panel[hidden] { display: none; }
.savebar {
  position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 8px; padding: 14px 0; background: linear-gradient(180deg, transparent, var(--bg) 35%);
}

/* Legal: sub-tabs */
.subtabs { display: inline-flex; gap: 4px; padding: 4px; margin: 6px 0 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; overflow-x: auto; }
.subtab { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: .9rem; padding: 9px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.subtab:hover { color: var(--text); }
.subtab.on { background: var(--green); color: #04130b; }
.subtab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.subpanel[hidden] { display: none; }

.hero-share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.chip-vb .ic { color: #8f7cf6; }
.chip-vb:hover { border-color: #7360f2; background: rgba(115, 96, 242, .12); }

/* sizes */
.sizes { flex: 1 1 100%; border: 0; padding: 0; margin: 0 0 4px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sizes legend { width: 100%; float: left; margin-bottom: 8px; color: #c9d0d6; font-size: .88rem; font-weight: 600; padding: 0; }
.sizes legend + * { clear: left; }
.size { position: relative; margin: 0; cursor: pointer; }
.size input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.size span {
  display: grid; place-items: center; min-width: 56px; height: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; transition: border-color .15s, background .15s;
}
.size:hover span { border-color: rgba(255, 255, 255, .3); }
.size input:checked + span { border-color: var(--green); background: rgba(23, 176, 106, .15); box-shadow: 0 0 0 3px rgba(23, 176, 106, .18); }
.size input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.size.is-out { cursor: not-allowed; }
.size.is-out span { color: var(--muted); background: transparent; text-decoration: line-through; opacity: .55; }
.line-variant { font-size: .85rem; color: var(--muted); }
.line-variant strong { color: var(--text); }

/* admin: size rows */
.v-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.v-row { display: grid; grid-template-columns: 1fr 120px 36px; gap: 10px; margin-bottom: 8px; align-items: center; }
.v-row input { min-height: 44px; }
.v-del { justify-content: center; font-size: 1.3rem; color: var(--muted); }

/* add-to-cart effects */
.fly-item {
  position: fixed; z-index: 90; pointer-events: none; object-fit: cover; border-radius: 14px; background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5); border: 2px solid var(--green); will-change: transform, opacity;
}
.fly-item.ph { display: grid; place-items: center; }
.cart-btn.pop { animation: cartpop .45s var(--ease); }
@keyframes cartpop { 30% { transform: scale(1.28) rotate(-8deg); } 60% { transform: scale(.94) rotate(4deg); } }
.toast-link { color: var(--green); font-weight: 800; margin-left: 6px; text-decoration: underline; text-underline-offset: 3px; }

/* product page action buttons */
.btn-light { background: #f4f5f6; color: #0b0c0d; box-shadow: 0 6px 18px rgba(255, 255, 255, .08); }
.btn-light:hover { background: #fff; }
.pdp-buynow { flex: 1 1 100%; }
.pdp-viewcart { margin: -4px 0 20px; position: relative; }
.count-pill { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--green); color: #04130b; font-size: .78rem; font-weight: 800; }

/* honeypot (bots only) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* security page */
.sec-list { display: grid; gap: 10px; margin-top: 18px; }
.sec-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.sec-row .pill { flex: none; min-width: 78px; text-align: center; }
.sec-crit { border-color: rgba(255, 107, 107, .5); background: rgba(255, 107, 107, .06); }
.sec-warn { border-color: rgba(245, 185, 66, .4); }

.gw-keys{border:1px solid var(--border,#2a2f3a);border-radius:10px;padding:.6rem .9rem .9rem;margin:.4rem 0;display:grid;gap:.6rem}
.gw-keys legend{padding:0 .4rem;font-weight:600;font-size:.9rem}
.reveal{position:relative;display:block}
.reveal input{width:100%;padding-right:2.8rem}
.reveal-btn{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);background:none;border:0;color:#8b93a1;cursor:pointer;padding:.25rem;display:flex}
.reveal-btn:hover,.reveal-btn.on{color:#4da3ff}
