:root, [data-skin="batarya"] {
  --bg: #f4f2f6; --card: #fff; --ink: #241821; --muted: #6d6270; --line: #eadfe6;
  --accent: #e11d48; --accent-2: #fb7185; --soft: #fff1f4; --dark: #1c1218; --on-accent: #fff;
  --header: #fff; --radius: 18px; --shadow: 0 14px 40px rgba(80, 20, 40, .06);
}
[data-skin="gece"] {
  --bg: #10140f; --card: #191f18; --ink: #f3f6ef; --muted: #b7c2b0; --line: #2c352a;
  --accent: #c6f135; --accent-2: #8fb814; --soft: #222a1c; --dark: #0b0e0a; --on-accent: #142000;
  --header: #141a13; --radius: 14px; --shadow: 0 14px 40px rgba(0, 0, 0, .35);
}
[data-skin="okyanus"] {
  --bg: #eef5f8; --card: #fff; --ink: #102833; --muted: #5c7280; --line: #d5e4ec;
  --accent: #0277bd; --accent-2: #00acc1; --soft: #e3f4fb; --dark: #0c2230; --on-accent: #fff;
  --header: #fff; --radius: 22px; --shadow: 0 14px 40px rgba(10, 60, 90, .07);
}
[data-skin="amber"] {
  --bg: #fbf6ee; --card: #fffdf9; --ink: #2c2116; --muted: #7a6856; --line: #efe2d2;
  --accent: #d97706; --accent-2: #b45309; --soft: #fff4e5; --dark: #2a1c10; --on-accent: #fff;
  --header: #fffaf3; --radius: 12px; --shadow: 0 14px 40px rgba(90, 50, 10, .06);
}
[data-skin="orman"] {
  --bg: #f2f6f1; --card: #fff; --ink: #16241b; --muted: #5d6e63; --line: #d7e4da;
  --accent: #1f7a4d; --accent-2: #3aaa6d; --soft: #e7f6ee; --dark: #102117; --on-accent: #fff;
  --header: #fff; --radius: 20px; --shadow: 0 14px 40px rgba(20, 60, 30, .06);
}
[data-skin="mor"] {
  --bg: #f5f2fb; --card: #fff; --ink: #241536; --muted: #6e6284; --line: #e4dcf2;
  --accent: #6d28d9; --accent-2: #a78bfa; --soft: #f3e8ff; --dark: #1a1030; --on-accent: #fff;
  --header: #fff; --radius: 24px; --shadow: 0 14px 40px rgba(60, 20, 100, .07);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Manrope, sans-serif; background: var(--bg); color: var(--muted); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.03em; margin: 0; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.top { background: var(--header); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-row, .nav-row, .foot-row { display: flex; align-items: center; gap: 16px; }
.top-row { min-height: 74px; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 22px; }
.logo b { color: var(--accent); font-weight: 800; }
.mark { width: 42px; height: 42px; display: block; }
.search button { width: auto; padding: 0 14px; border-radius: 999px; }
.search {
  align-items: center; gap: 8px; height: 46px; padding: 4px 4px 4px 14px !important;
  background: var(--card) !important; border: 1.5px solid var(--line) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04); transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--accent) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.search-ico { display: grid; place-items: center; color: var(--muted); flex: none; }
.search-ico svg { width: 18px; height: 18px; }
.search input { font-size: 14px; min-width: 0; height: 100%; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button { width: auto !important; height: 36px !important; padding: 0 18px !important; font-size: 13px; flex: none; transition: filter .15s; }
.search button:hover { filter: brightness(1.08); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 800; font-size: 14px;
  transition: border-color .15s, transform .15s;
}
.cart-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn em {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 11px; font-style: normal; display: grid; place-items: center;
  border: 2px solid var(--header);
}
.pi { width: 22px; height: 22px; flex: none; display: block; }
.nav a { display: flex; align-items: center; justify-content: center; gap: 8px; }
.plat { display: flex !important; align-items: center; gap: 14px; }
.plat .pi { width: 40px; height: 40px; }
.ptitle { display: flex; align-items: center; gap: 12px; }
.ptitle .pi { width: 34px; height: 34px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) 1.1fr; overflow: hidden; }
.search { flex: 1; max-width: 420px; display: flex; background: var(--bg); border-radius: 999px; padding: 4px 4px 4px 14px; border: 1px solid transparent; }
.search input { flex: 1; border: 0; background: transparent; color: var(--ink); outline: none; }
.search button, .btn, .btn-line { border: 0; cursor: pointer; font-weight: 800; }
.search button, .icon-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.actions { display: flex; align-items: center; gap: 8px; }
.btn { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 12px 16px; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; }
.icon-btn.ghost { background: var(--card); color: var(--ink); position: relative; border: 1px solid var(--line); cursor: pointer; }
.icon-btn em { position: absolute; top: -2px; right: -2px; background: var(--accent); color: var(--on-accent); border-radius: 99px; font-size: 10px; min-width: 16px; height: 16px; display: grid; place-items: center; font-style: normal; }
.nav { background: var(--header); border-bottom: 1px solid var(--line); }
.nav-row { min-height: 48px; gap: 0; flex-wrap: wrap; }
.nav a { flex: 1; text-align: center; padding: 14px 8px; color: var(--ink); font-weight: 800; }
.nav a + a { box-shadow: inset 1px 0 0 var(--line); }
main { padding: 22px 0 56px; }
.hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.card, .panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-copy { padding: 28px; }
.kicker { color: var(--accent); font-weight: 800; font-size: 13px; }
.hero h1 { font-size: 40px; line-height: 1.05; margin: 8px 0 12px; }
.hero p { line-height: 1.6; max-width: 460px; }
.hero-side { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; }
.hero-side h2 { color: #fff; font-size: 26px; }
.plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.plat { padding: 18px; color: var(--ink); display: block; }
.plat span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product { overflow: hidden; display: flex; flex-direction: column; }
.ph {
  height: 150px; background: linear-gradient(145deg, var(--accent), var(--dark));
  display: grid; place-items: center; color: #fff; font-weight: 800; text-align: center; padding: 12px;
}
.ph.ph-logo { position: relative; overflow: hidden; height: 170px; color: #fff; isolation: isolate; }
.ph.ph-logo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .28), transparent 60%);
}
.ph-instagram { background: radial-gradient(circle at 25% 110%, #ffd776 0%, #fd9b48 22%, #f3474d 42%, #d42a8b 62%, #7c3aed 88%, #5b51d8 100%); }
.ph-tiktok { background: radial-gradient(circle at 15% 100%, rgba(37, 244, 238, .45), transparent 45%), radial-gradient(circle at 90% 0%, rgba(254, 44, 85, .55), transparent 50%), #0d0d12; }
.ph-telegram { background: linear-gradient(150deg, #5fd0ff 0%, #2aa6e8 45%, #1677c7 100%); }
.ph-glyph { width: 92px; height: 92px; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .28)); transition: transform .25s ease; }
.ph-tiktok .ph-glyph { filter: drop-shadow(-3px -2px 0 #25f4ee) drop-shadow(3px 2px 0 #fe2c55); }
.ph-mark { position: absolute; width: 230px; height: 230px; right: -60px; bottom: -70px; opacity: .14; transform: rotate(-14deg); z-index: -1; transition: transform .4s ease; }
.product:hover .ph-glyph { transform: scale(1.1) rotate(-4deg); }
.product:hover .ph-mark { transform: rotate(-4deg) scale(1.08); }
.split .ph.ph-logo { height: auto; }
.split .ph-glyph { width: 170px; height: 170px; }
.split .ph-mark { width: 420px; height: 420px; right: -110px; bottom: -130px; }
.split > div:has(> .ph-logo) { display: flex; }
.split .ph.ph-logo { flex: 1; max-height: none; }
.ph.has-img { padding: 0; background: var(--soft); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split .ph { height: 100%; min-height: 340px; max-height: 520px; border-radius: 0; }
.product .body, .pad { padding: 14px 16px 16px; }
.price { color: var(--accent); font-weight: 800; font-size: 20px; }
.price-row { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-old { color: #e11d48; text-decoration: line-through; text-decoration-thickness: 2px; font-weight: 800; font-size: 14px; }
.price-row.compact .price, .price-row.compact .price-old { font-size: 13px; }
.nav-alert { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 99px; background: #e11d48; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.stock-ok { color: #15803d; font-weight: 800; font-size: 13px; }
.stock-low { color: #c2410c; font-weight: 800; font-size: 13px; }
.stock-no { color: var(--accent); font-weight: 800; font-size: 13px; }
[data-skin="gece"] .stock-ok { color: #b6f25c; }
.section { margin: 26px 0 12px; display: flex; justify-content: space-between; align-items: center; }
.warn {
  background: #fff6d8; color: #7a4b00; border-radius: 14px; padding: 14px 16px; font-weight: 800; line-height: 1.45;
}
[data-skin="gece"] .warn { background: #2a2612; color: #f3e2a2; }
.iban { border: 1px dashed var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; justify-items: start; }
.iban b { color: var(--ink); font-size: 18px; letter-spacing: .04em; word-break: break-word; }
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px;
  padding: 18px 30px; border: 0; border-radius: 16px; cursor: pointer;
  background: linear-gradient(90deg, #25d366, #128c7e); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .35); transition: transform .15s, box-shadow .15s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37, 211, 102, .45); }
.wa-icon { width: 24px; height: 24px; flex: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-weight: 800; color: var(--ink); font-size: 13px; margin: 10px 0 6px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  border-radius: 12px; padding: 12px 14px; outline: none;
}
textarea { min-height: 120px; resize: vertical; }
.auth { max-width: 460px; margin: 20px auto; padding: 22px; }
.cart-line, .table-row { display: grid; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line { grid-template-columns: 1fr auto auto; }
.total { display: flex; justify-content: space-between; color: var(--ink); font-weight: 800; font-size: 20px; margin: 12px 0; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--ink); }
.check input { width: auto; margin-top: 3px; }
.foot { background: var(--dark); color: #ddd; padding: 28px 0; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 18px 28px; }
.foot-legal p + p { margin-top: 8px !important; }
.foot-legal a { color: #ddd; font-size: 14px; }
.foot-legal a:hover, .foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: #aaa; }
.foot-pay { color: #ddd; font-weight: 700; }

.legal { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: start; }
.legal-nav { position: sticky; top: 130px; display: grid; gap: 2px; padding: 10px; }
.legal-nav a { padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: 14px; }
.legal-nav a:hover { background: var(--soft); }
.legal-nav a.on { background: var(--soft); color: var(--accent); }
.legal-doc { max-width: 860px; }
.legal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.legal-intro { font-size: 15px; color: var(--muted); }
.legal-sec { margin-top: 22px !important; }
.legal-sec h2 { font-size: 18px; margin: 0 0 8px; }
.legal-sec p + p { margin-top: 8px; }
.legal-sec ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-sec li, .legal-sec p { line-height: 1.65; }
mark.fill { display: inline-block; background: #fff3c4; color: #7a5b00; padding: 0 6px; border-radius: 6px; font-weight: 700; line-height: 1.5; }
.legal-sec .iban-line b:last-child { display: inline-block; white-space: nowrap; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px !important; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-check { align-items: flex-start; font-size: 13px; line-height: 1.5; margin-top: 12px !important; }
.legal-check input { margin-top: 3px; flex: none; }
.legal-check a { color: var(--accent); font-weight: 800; text-decoration: underline; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; }
  .legal-nav a { white-space: nowrap; }
}
@media print {
  .top, .nav, .foot, #desk, .legal-nav, .legal-actions, .crumbs, .drawer, .dw-bg { display: none !important; }
  .legal { display: block; }
  .legal-doc { box-shadow: none; border: 0; max-width: none; }
}
.muted { color: var(--muted); }
.crumbs { font-size: 13px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crumbs a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04); transition: border-color .15s, color .15s;
}
.crumbs a::before { content: "←"; color: var(--accent); }
.crumbs a:hover { border-color: var(--accent); color: var(--accent); }
.nav a.on { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.nav a.nav-wa { color: #128c4a; }
.nav a.nav-wa:hover { background: #e9f9ef; }
.nav a.nav-wa svg, .dw-link-wa svg { width: 20px; height: 20px; flex: none; color: #25d366; }
.dw-link.dw-link-wa { color: #128c4a; }
.nav a.on + a, .nav a + a.on { box-shadow: inset 1px 0 0 var(--line), inset 0 -3px 0 var(--accent); }
.nav a.on + a:not(.on) { box-shadow: inset 1px 0 0 var(--line); }
.faq button { width: 100%; text-align: left; background: var(--card); border: 0; border-radius: var(--radius); padding: 14px; color: var(--ink); font-weight: 800; cursor: pointer; box-shadow: var(--shadow); }
.faq p { margin: 8px 0 0; line-height: 1.55; }
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--dark); color: #fff; padding: 18px 12px; display: flex; flex-direction: column; gap: 6px; }
.side .logo { padding: 6px 12px 14px; }
.side-links { display: grid; gap: 2px; }
.side a, .side button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; color: #ddd; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-weight: 700; font: inherit; }
.side svg { width: 18px; height: 18px; flex: none; opacity: .75; }
.side a.on, .side a:hover, .side button:hover { background: rgba(255,255,255,.1); color: #fff; }
.side a.on svg, .side a:hover svg { opacity: 1; }
.side button { margin-top: auto; }
.side-badge { margin-left: auto; background: #e11d48; color: #fff; border-radius: 99px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 11px; display: grid; place-items: center; font-style: normal; }
.admin-main { padding: 26px; }
.admin-head h1 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats-5 { grid-template-columns: repeat(5, 1fr); }
.stat { padding: 14px; }
.stat b { display: block; color: var(--ink); font-size: 22px; }
.kpi { padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.kpi > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.kpi > b { font-size: 24px; color: var(--ink); line-height: 1.15; }
.kpi.good > b { color: #15803d; }
.kpi.bad > b { color: #be123c; }
.delta { font-size: 12px; font-weight: 800; }
.delta.up { color: #15803d; }
.delta.down { color: #be123c; }
.chart-card { padding: 18px 18px 14px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.chart-head h2 { margin: 0; }
.chart-head p { margin-top: 4px; max-width: 560px; }
.seg { display: flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 8px 14px; font-weight: 800; cursor: pointer; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.chart-box { display: grid; grid-template-columns: 78px 1fr; gap: 8px; margin-top: 18px; padding-bottom: 28px; }
.chart-axis { display: flex; flex-direction: column; justify-content: space-between; text-align: right; color: var(--muted); font-size: 11px; font-weight: 700; }
.chart { position: relative; height: 190px; display: flex; align-items: flex-end; gap: 3px; border-bottom: 1px solid var(--line); }
.chart-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; min-width: 0; }
.chart-col .bar { display: block; width: 42%; max-width: 16px; border-radius: 5px 5px 2px 2px; }
.bar.in { background: linear-gradient(180deg, #4ade80, #16a34a); }
.bar.out { background: linear-gradient(180deg, #fb7185, #e11d48); }
.chart-col em { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; color: var(--muted); white-space: nowrap; }
.chart-col em.off { visibility: hidden; }
.chart-col .tip { display: none; position: absolute; bottom: calc(100% - 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 10px; z-index: 4; white-space: nowrap; font-size: 12px; }
.chart-col .tip b { color: #fff; display: block; margin-bottom: 2px; }
.chart-col .tip span { display: block; }
.chart-col:hover { z-index: 5; }
.chart-col:hover .tip { display: block; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 8px; color: var(--muted); font-weight: 700; font-size: 13px; }
.chart-legend .bar { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.chart-legend b { color: var(--ink); }
.admin-split { display: grid; grid-template-columns: 1.5fr .9fr; gap: 28px; align-items: start; }
.admin-split > * { min-width: 0; }
.admin-order { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; }
.admin-order span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.admin-order select { height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 0 8px; font: inherit; font-weight: 700; }
.stock-list { display: grid; gap: 8px; margin-top: 10px; }
.stock-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--soft); color: var(--ink); font-weight: 700; }
.mini-rows { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin-top: 10px; }
.mini-rows b { color: var(--ink); }
.alert-card { display: block; padding: 14px 16px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.alert-card b { color: #9a3412; }
.switch { width: 46px; height: 28px; border-radius: 99px; border: 0; background: #ccc; position: relative; cursor: pointer; }
.switch.on { background: var(--accent); }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .15s; }
.switch.on i { left: 21px; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.theme-card { padding: 0; overflow: hidden; text-align: left; cursor: pointer; border: 2px solid transparent; display: flex; flex-direction: column; background: var(--card); color: var(--ink); }
.theme-card.on { border-color: var(--accent); }
.swatch { height: 74px; display: flex; }
.swatch span { flex: 1; }
.list { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: 64px 1.4fr .6fr .5fr auto; gap: 10px; align-items: center; padding: 8px; }
.thumb { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--soft); }
#toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(12px); background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 999px; opacity: 0; transition: .2s; z-index: 80; }
#toast.show { opacity: 1; transform: translateX(-50%); }
#desk { position: fixed; left: 16px; top: 136px; z-index: 40; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#desk-toggle { order: 1; border: 0; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 12px 16px; font-weight: 800; cursor: pointer; box-shadow: var(--shadow); }
.chat { order: 2; width: min(360px, calc(100vw - 24px)); height: 460px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; margin: 0; border: 1px solid var(--line); }
.chat header { background: var(--dark); color: #fff; padding: 12px 14px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chat header a { color: #fff; font-size: 13px; text-decoration: underline; }
.chat-log { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 90%; padding: 8px 10px; border-radius: 12px; line-height: 1.45; font-size: 14px; }
.bubble.bot { background: var(--soft); color: var(--ink); }
.bubble.me { background: var(--accent); color: var(--on-accent); align-self: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.chips button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 8px; cursor: pointer; font-size: 12px; }
.chat form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); }
.chat input { flex: 1; }
.hidden { display: none !important; }
.empty { text-align: center; padding: 28px 10px; }
.menu { display: none; }

.btn, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.2; text-align: center; vertical-align: middle; }
h1 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; }
h2 { font-size: 22px; line-height: 1.2; }
h3 { font-size: 17px; line-height: 1.3; }
:where(p) { line-height: 1.55; margin: 0; }
:where(.pad, .auth, .empty, .hero-copy, .admin-main) > * + * { margin-top: 12px; }
:where(.pad, .auth, .empty) > :where(.btn, .btn-line, .warn, .list, .total, form, .btn-wa) { margin-top: 16px; }
:where(.pad, .auth) > label { margin-top: 14px; }
.pad > label + *, .auth > label + * { margin-top: 0; }
.product .body > * + * { margin-top: 4px; }
.empty { padding: 40px 16px; display: flex; flex-direction: column; align-items: center; }
.empty > * + * { margin-top: 14px; }
.cart-line + .cart-line { margin-top: 0; }
:where(form) > :where(input, select, textarea) + :where(.btn, .btn-line, button) { margin-top: 14px; }
.order-top + h1 { margin-top: 6px; }
.crumbs + * { margin-top: 4px; }
main > .wrap > h1 + * { margin-top: 14px; }
.faq { display: grid; gap: 8px; }
.foot strong { display: block; color: #fff; margin-bottom: 12px; }
.foot p + p { margin-top: 10px; }
.foot .logo + p { margin-top: 12px; }
.hero-side h2 { margin-top: 12px; }
.hero-side p { margin-top: 8px; }

.plat-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; margin-top: 6px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--pc) 10%, var(--card)), var(--card) 60%);
  border: 1px solid color-mix(in srgb, var(--pc) 18%, var(--line));
}
.plat-head-ico .pi { width: 56px; height: 56px; filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--pc) 35%, transparent)); }
.plat-head p { margin-top: 6px; }
.plat-head-stats { display: flex; gap: 10px; }
.plat-head-stats span {
  display: grid; justify-items: center; min-width: 96px; padding: 10px 14px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 700;
}
.plat-head-stats b { color: var(--ink); font-size: 22px; line-height: 1.1; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.cat-card {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--pc), color-mix(in srgb, var(--pc) 30%, transparent));
}
.cat-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pc) 45%, var(--line)); box-shadow: 0 18px 40px color-mix(in srgb, var(--pc) 16%, transparent); }
.cat-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--pc) 12%, var(--card)); color: var(--pc);
}
.cat-ico svg { width: 26px; height: 26px; }
.cat-body { min-width: 0; }
.cat-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cat-meta { margin-top: 6px; font-size: 13px; }
.cat-meta b { color: var(--ink); }
.pill { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.on { background: #e8f8ee; color: #15803d; }
[data-skin="gece"] .pill.on { background: #22301a; color: #b6f25c; }
.cat-go {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); color: var(--ink); transition: background .18s, color .18s, transform .18s;
}
.cat-go svg { width: 18px; height: 18px; }
.cat-card:hover .cat-go { background: var(--pc); color: #fff; transform: translateX(2px); }
.cat-card.off { opacity: .6; }
.cat-card.off:hover { transform: none; }

.pill.wait { background: #fff4dc; color: #b45309; }
.pill.bad { background: #fde8ea; color: #be123c; }
.pill.info { background: #e6f1fd; color: #1d5fbf; }
[data-skin="gece"] .pill.wait { background: #33290f; color: #f5c451; }
[data-skin="gece"] .pill.bad { background: #3a1419; color: #ff8a9a; }
[data-skin="gece"] .pill.info { background: #13263a; color: #7cb8ff; }
.btn.sm, .btn-line.sm { padding: 7px 12px; font-size: 12px; }
.btn-wa.sm { padding: 12px 18px; font-size: 14px; border-radius: 14px; margin: 14px 8px 0 0; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-top b { color: var(--ink); }

.profile-head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px; position: relative; overflow: hidden; }
.profile-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.avatar {
  width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--dark)); box-shadow: 0 0 0 4px var(--card), 0 0 0 7px var(--lv);
}
.who { min-width: 0; }
.who > * + * { margin-top: 6px; }
.who-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.level { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--lv); }
.who-meta { font-size: 13px; }
.who-meta b { color: var(--ink); }
.lv-bar { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; max-width: 420px; margin-top: 12px !important; }
.lv-bar span { display: block; height: 100%; border-radius: 99px; transition: width .4s; }
.wallet { display: grid; gap: 4px; justify-items: end; text-align: right; padding: 16px 18px; border-radius: 18px; background: var(--bg); min-width: 220px; }
.wallet span { font-size: 12px; font-weight: 800; }
.wallet b { color: var(--ink); font-size: 30px; line-height: 1.1; }
.wallet small { color: #b45309; font-weight: 700; }
.wallet .btn { margin-top: 8px; }
.pstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pstat { padding: 16px; display: grid; gap: 4px; }
.pstat span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pstat b { color: var(--ink); font-size: 24px; }
.pstat small { font-size: 12px; }
.ptabs { display: flex; gap: 6px; margin: 18px 0 14px; padding: 5px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; overflow-x: auto; }
.ptabs { scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs a { padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.ptabs a.on { background: var(--accent); color: var(--on-accent); }
.ptabs em, .chip em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: rgba(0, 0, 0, .08); }
.ptabs a.on em { background: rgba(255, 255, 255, .25); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pgrid .wide { grid-column: 1 / -1; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sec-head a { color: var(--accent); font-weight: 800; font-size: 13px; }
.active-order { padding: 12px; border-radius: 14px; background: var(--bg); }
.active-order + .active-order { margin-top: 8px; }
.steps { display: flex; gap: 6px; margin-top: 10px; }
.step { flex: 1; font-size: 12px; font-weight: 800; padding-top: 10px; position: relative; color: var(--muted); }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 99px; background: var(--line); }
.step.done::before { background: #16a34a; }
.step.now::before { background: linear-gradient(90deg, #f59e0b, var(--line)); }
.step.done { color: #15803d; }
.step.now { color: #b45309; }
.step.bad::before { background: #e11d48; }
.step.bad { color: #be123c; }
.units { display: flex; flex-wrap: wrap; gap: 8px; }
.unit { padding: 10px 14px; border-radius: 14px; background: var(--soft); font-size: 13px; font-weight: 700; }
.unit b { color: var(--accent); font-size: 18px; margin-right: 2px; }
.fav { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); }
.fav span { grid-column: 1; font-size: 12px; font-weight: 800; }
.fav b { grid-column: 1; color: var(--ink); }
.fav small { grid-column: 1; }
.fav button { grid-column: 2; grid-row: 1 / span 3; }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: auto 80px 1fr auto; align-items: center; gap: 10px; font-size: 13px; }
.bar-label { font-weight: 800; color: var(--ink); }
.bar { height: 10px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.bar-row b { color: var(--ink); }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 150px; }
.month { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; text-align: center; }
.month .col { display: flex; align-items: flex-end; justify-content: center; background: var(--bg); border-radius: 10px; overflow: hidden; }
.month .col i { display: block; width: 100%; background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-radius: 10px 10px 0 0; }
.month small { font-size: 12px; font-weight: 700; }
.targets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.target { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg); }
.target .pi { width: 32px; height: 32px; }
.target b { color: var(--ink); display: block; }
.target small { font-size: 12px; }
.tips ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; line-height: 1.5; }
.tips b { color: var(--ink); }
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 800; font-size: 13px; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.chip.on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.chip.on em { background: rgba(255, 255, 255, .2); }
.orders { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .15s; }
.order-row:hover { border-color: var(--accent); }
.order-main { min-width: 0; }
.order-sub { font-size: 12px; margin-top: 4px; }
.order-total { color: var(--ink); font-weight: 800; font-size: 17px; }
.order-actions { display: flex; gap: 6px; }
.ledger { display: grid; font-size: 13px; }
.lrow { display: grid; grid-template-columns: 150px 1fr 110px 110px 120px; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.lrow.lhead { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding-top: 0; }
.lrow b { color: var(--ink); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow small { font-size: 11px; }
.lrow.faded { opacity: .55; }
.amt { font-weight: 800; }
.amt.plus { color: #16a34a; }
.amt.minus { color: #e11d48; }
.small-note { font-size: 12px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 12px 0 0; }
.facts dt { font-size: 13px; font-weight: 700; }
.facts dd { margin: 0; color: var(--ink); font-weight: 800; }

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.product { position: relative; transition: transform .18s, box-shadow .18s; }
.product:hover { transform: translateY(-3px); }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  letter-spacing: .02em; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.good { background: #e8f8ee; color: #15803d; }
.badge.eco { background: #fff4dc; color: #b45309; }
.product > .badge { position: absolute; top: 10px; left: 10px; z-index: 2; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
[data-skin="gece"] .badge.good { background: #22301a; color: #b6f25c; }
[data-skin="gece"] .badge.eco { background: #33290f; color: #f5c451; }
.cat-note { font-size: 13px; font-weight: 700; color: var(--ink); opacity: .75; }
.cat-card .cat-note { margin-top: 4px; }
.features { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.price-table { margin-top: 16px !important; }
.features li { position: relative; padding-left: 26px; line-height: 1.45; color: var(--ink); font-size: 14px; }
.features li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; background: #e8f8ee; color: #15803d;
}
.features li.no::before { content: "✕"; background: #fde8ea; color: #be123c; }
.cat-head { border: 1px solid color-mix(in srgb, var(--pc) 18%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, var(--pc) 8%, var(--card)), var(--card) 55%); }
.cat-head-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.price-table a {
  display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  transition: border-color .15s, transform .15s;
}
.price-table a:hover { border-color: var(--accent); transform: translateY(-2px); }
.price-table span { font-size: 13px; font-weight: 700; }
.price-table b { color: var(--accent); font-size: 18px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.split .pad > .stock-ok, .split .pad > .stock-low, .split .pad > .stock-no { display: block; margin-top: 4px; }
.sizes a { display: grid; justify-items: center; gap: 2px; min-width: 84px; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); transition: border-color .15s; }
.sizes a b { color: var(--ink); }
.sizes a small { font-size: 11px; }
.sizes a:hover { border-color: var(--accent); }
.sizes a.on { border-color: var(--accent); background: var(--soft); }
.sizes a.out { opacity: .45; }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .price-table { grid-template-columns: 1fr 1fr; }
  .profile-head { grid-template-columns: auto 1fr; }
  .wallet { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .pstats { grid-template-columns: 1fr 1fr; }
  .pgrid, .targets { grid-template-columns: 1fr; }
  .lrow { grid-template-columns: 1fr auto; }
  .lrow > :nth-child(1) { grid-column: 1 / -1; font-size: 11px; }
  .lrow > :nth-child(3), .lrow > :nth-child(5) { display: none; }
  .lrow.lhead { display: none; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-actions { grid-column: 1 / -1; }
  .plat-head { grid-template-columns: auto 1fr; }
  .plat-head-stats { grid-column: 1 / -1; }
  .admin { grid-template-columns: 1fr; }
  .side { flex-direction: row; align-items: center; overflow-x: auto; }
  .side .logo { display: none; }
  .side-links { display: flex; }
  .side a, .side button { width: auto; white-space: nowrap; }
  .side button { margin-top: 0; }
  .stats, .stats-5 { grid-template-columns: 1fr 1fr; }
  .admin-split { grid-template-columns: 1fr; }
  .chart-axis { display: none; }
  .chart-box { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top-row { gap: 8px; min-height: 64px; }
  .logo { font-size: 18px; gap: 8px; white-space: nowrap; }
  .mark { width: 34px; height: 34px; }
  .actions { gap: 6px; }
  .actions .btn, .actions .btn-line { padding: 8px 11px; font-size: 13px; }
  .cart-btn { height: 38px; padding: 0 10px; }
  .cart-btn span { display: none; }
  .hero h1 { font-size: 30px; }
  .plat-head { padding: 18px; gap: 14px; }
  .plat-head-ico .pi { width: 44px; height: 44px; }
  .plat-head-stats span { flex: 1; }
}
@media (max-width: 400px) {
  .top .logo span { display: none; }
  .hero, .plats, .grid, .stats, .themes, .foot-grid, .admin, .row-2, .split { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 64px 1fr; }
  .split .ph { height: 260px; min-height: 0; }
  .search { display: none; }
  .admin { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid, .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product { border-radius: 18px; }
  .product .ph.ph-logo { height: 108px; }
  .product .ph-glyph { width: 50px; height: 50px; }
  .product .ph-mark { width: 140px; height: 140px; right: -38px; bottom: -46px; }
  .product .ph.has-img { height: 108px; }
  .product > .badge { top: 8px; left: 8px; padding: 3px 8px; font-size: 10px; }
  .product .body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
  .product .kicker { display: none; }
  .product h3 { font-size: 14px; line-height: 1.3; margin: 0; }
  .product .price { font-size: 17px; margin-top: auto !important; padding-top: 6px; }
  .product .body > :last-child { font-size: 11px; }

  .plats { grid-template-columns: repeat(3, 1fr) !important; gap: 10px; }
  .plat { flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding: 14px 6px; }
  .plat .pi { width: 38px; height: 38px; }
  .plat strong { font-size: 13px; }
  .plat span { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .nav { display: none; }
  .menu { display: grid; }
  #desk { top: 76px; }
}

.calc { display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; margin-top: 14px; }
.calc-info {
  position: relative; padding: 26px; color: #fff; display: grid; align-content: center; gap: 10px;
  background: radial-gradient(circle at 20% 110%, #ffd776 0%, #fd9b48 22%, #f3474d 42%, #d42a8b 62%, #7c3aed 92%);
}
.calc-info h2 { font-size: 26px; line-height: 1.15; margin: 0; color: #fff; }
.calc-info p { opacity: .92; }
.calc-info b { color: #fff; }
.calc-tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 800; backdrop-filter: blur(4px); }
.calc-tag svg { width: 16px; height: 16px; }
.calc-form { padding: 22px 24px; display: grid; gap: 10px; align-content: start; }
.calc-form > label { margin: 4px 0 -4px; }
.calc-input { position: relative; display: flex; align-items: center; }
.calc-input input { width: 100%; height: 56px; font-size: 24px; font-weight: 800; padding: 0 70px 0 16px; border-radius: 16px; }
.calc-input span { position: absolute; right: 16px; color: var(--muted); font-weight: 700; pointer-events: none; }
.calc-range { width: 100%; accent-color: var(--accent); height: 22px; margin: 0; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-chips button { border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 99px; padding: 7px 13px; font-weight: 800; font-size: 13px; cursor: pointer; }
.calc-chips button.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.calc-total { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 10px; padding: 14px 16px; border-radius: 16px; background: var(--soft); border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); }
.calc-total span { color: var(--muted); font-weight: 700; font-size: 13px; }
.calc-total b { grid-row: span 2; font-size: 30px; color: var(--accent); line-height: 1; }
.calc-total small { color: var(--muted); font-size: 12px; }
.calc.bad .calc-total b { opacity: .45; }
.calc-err { color: #c0392b; font-weight: 700; font-size: 13px; }
.calc-form .btn { margin-top: 4px; height: 48px; }
.calc-or { font-size: 18px; margin-top: 22px; }
.tag-custom { display: inline-block; padding: 1px 8px; border-radius: 99px; background: var(--soft); color: var(--accent); font-weight: 800; font-size: 11px; }
.cat-admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.unit-form { margin-top: 12px; }
.unit-row { display: flex; gap: 8px; max-width: 340px; }
.unit-row input { flex: 1; min-width: 0; }
@media (max-width: 760px) {
  .calc { grid-template-columns: 1fr; }
  .calc-info { padding: 20px; }
  .calc-info h2 { font-size: 21px; }
  .calc-form { padding: 18px; }
  .calc-total b { font-size: 26px; }
}

.dw-bg, .drawer { display: none; }
@media (max-width: 600px) {
  .dw-bg {
    display: block; position: fixed; inset: 0; z-index: 90; background: rgba(15, 10, 14, .55);
    backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .28s ease;
  }
  .drawer {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
    width: min(86vw, 340px); background: var(--card); color: var(--ink);
    border-radius: 24px 0 0 24px; box-shadow: -20px 0 50px rgba(0, 0, 0, .25);
    transform: translateX(105%); visibility: hidden;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
  }
  .drawer.open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
  .drawer.open ~ .dw-bg, .dw-lock .dw-bg { opacity: 1; pointer-events: auto; }
  .dw-lock, .dw-lock body { overflow: hidden; }
  .dw-lock #desk { display: none; }
}
.dw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.dw-head .logo { font-size: 18px; }
.dw-head .logo span { display: inline !important; }
.dw-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.dw-x svg { width: 18px; height: 18px; }
.dw-body { flex: 1; overflow-y: auto; padding: 14px 16px 18px; display: grid; align-content: start; gap: 8px; scrollbar-width: none; }
.dw-body::-webkit-scrollbar { display: none; }
.dw-wa { color: #128c4a; border-color: #b9e8cb; }
.dw-wa svg { width: 18px; height: 18px; }
.dw-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 12px 4px 2px; }
.dw-list { display: grid; gap: 2px; }
.dw-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); font-weight: 700; font-size: 15px; }
.dw-link .dw-ico { width: 20px; height: 20px; color: var(--muted); flex: none; }
.dw-link:hover { background: var(--soft); }
.dw-link.on { background: var(--soft); color: var(--accent); }
.dw-link.on .dw-ico { color: var(--accent); }
.dw-cats { display: grid; gap: 8px; }
.dw-cat { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); color: var(--ink); font-weight: 800; font-size: 15px; }
.dw-cat .pi { width: 24px; height: 24px; flex: none; }
.dw-cat span { flex: 1; }
.dw-cat.on { border-color: var(--accent); }
.dw-chev { width: 18px; height: 18px; color: var(--muted); flex: none; }
.dw-user { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, var(--accent), var(--dark)); color: #fff; }
.dw-user > span:nth-child(2) { flex: 1; display: grid; gap: 2px; min-width: 0; }
.dw-user b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-user small { font-size: 12px; opacity: .85; }
.dw-user .dw-chev { color: #fff; }
.dw-av { width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-weight: 800; flex: none; }
.dw-search { position: relative; display: flex; align-items: center; margin-top: 4px; }
.dw-search .search-ico { position: absolute; left: 14px; color: var(--muted); display: grid; pointer-events: none; }
.dw-search input { width: 100%; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); padding: 0 14px 0 40px; color: var(--ink); font: inherit; }
.dw-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.dw-foot .btn, .dw-foot .btn-line { height: 48px; border-radius: 16px; margin: 0; font-size: 14px; }
.dw-dark { background: var(--ink); color: var(--card); letter-spacing: .04em; }

.home-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.home-cat { display: flex; align-items: center; gap: 10px; padding: 14px; color: var(--ink); }
.home-cat svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
.home-cat b { display: block; }
.home-cat small { color: var(--muted); font-weight: 700; }
.boost-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; margin-top: 18px; background: linear-gradient(120deg, var(--ink), #3a2433); color: #fff; }
.boost-banner b, .boost-banner p { color: #fff; }
.boost-banner .btn { background: #fff; color: var(--ink); }
.cat-admin-actions { display: flex; align-items: center; gap: 8px; }
.spot-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spot-pick label { display: grid; gap: 4px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; color: var(--ink); }
.spot-pick label:has(input:checked) { border-color: var(--accent); background: var(--soft); }
.spot-pick small { color: var(--muted); font-weight: 600; }
.discount-box { display: grid; gap: 10px; }
.ticket-list { display: grid; gap: 10px; }
.ticket-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px 16px; color: var(--ink); }
.ticket-card b { color: var(--ink); }
.ticket-card small, .ticket-card p { color: var(--muted); }
.ticket-card.new { border: 1px solid var(--accent); }
.ticket-thread { display: grid; grid-template-rows: auto minmax(280px, 46vh) auto; min-height: 460px; overflow: hidden; padding: 0; }
.ticket-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.ticket-log { overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--soft); }
.tmsg { display: grid; justify-items: start; gap: 4px; max-width: min(78%, 460px); }
.tmsg.admin { align-self: flex-end; justify-items: end; }
.tmsg .bubble { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.tmsg.admin .bubble { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.tmsg time { font-size: 11px; color: var(--muted); font-weight: 700; }
.ticket-compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.ticket-compose textarea { min-height: 64px; resize: vertical; }
.ticket-tools { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .home-cats, .spot-pick { grid-template-columns: 1fr; }
  .ticket-compose { grid-template-columns: 1fr; }
}
