/* ==========================================================================
   Power Graphics — site styles
   Light / dark theming via [data-theme] on <html>; "auto" follows the OS.
   ========================================================================== */

:root {
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Power Graphics brand: blue -> green */
  --blue: #0e86c0;
  --green: #11a298;
  --green-2: #27b36b;
  --ink: #0e86c0;          /* primary accent (brand blue) */
  --ink-dark: #0b6f9f;
  --ink-soft: rgba(14, 134, 192, .10);
  --accent: #2dafa0;       /* teal used for labels */
  --grad: linear-gradient(90deg, #0e86c0 0%, #11a298 60%, #27b36b 100%);
  --yellow: #11a298;

  --bg: #f5f8f5;
  --bg-2: #ffffff;
  --bg-3: #eaf0ec;
  --text: #16191c;
  --text-2: #4a5157;
  --muted: #6f7a80;
  --line: #d9e2dd;
  --shadow: 0 10px 30px rgba(14, 60, 80, .10);
  --radius: 6px;
  --radius-sm: 4px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--ink);
  --max: 1200px;
  color-scheme: light;
}

:root[data-theme="dark"],
:root[data-theme="auto"] { }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111416; --bg-2: #181c1f; --bg-3: #20262a;
    --text: #f1f4f2; --text-2: #c3cbc8; --muted: #8b969c; --line: #2b3236;
    --shadow: 0 10px 30px rgba(0, 0, 0, .5);
    --ink: #2aa3dc; --ink-dark: #1c8fc5; --ink-soft: rgba(42, 163, 220, .16); --accent: #3cc4b4;
    --focus: 0 0 0 3px #111, 0 0 0 6px var(--ink);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111416; --bg-2: #181c1f; --bg-3: #20262a;
  --text: #f1f4f2; --text-2: #c3cbc8; --muted: #8b969c; --line: #2b3236;
  --shadow: 0 10px 30px rgba(0, 0, 0, .5);
  --ink: #2aa3dc; --ink-dark: #1c8fc5; --ink-soft: rgba(42, 163, 220, .16); --accent: #3cc4b4;
  --focus: 0 0 0 3px #111, 0 0 0 6px var(--ink);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; line-height: 1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.5vw, 6rem); text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 60ch; }
.eyebrow { font-family: var(--font-mono); font-size: .8rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); flex: none; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-3); }
.section-dark { background: #16191c; color: #f3f6f2; }
.section-dark h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-dark .lead, .section-dark .muted { color: #c9c8c1; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); z-index: 1000; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--font-body); padding: .9rem 1.4rem; border-radius: 4px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, color .15s, border-color .15s;
  min-height: 44px; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.btn-primary:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 8px 20px rgba(14,134,192,.25); }
.btn-ghost { background: var(--bg-2); border-color: var(--ink); color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
.btn-ghost:hover { border-color: var(--green); color: var(--text); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { color: var(--bg); opacity: .9; }
.btn-light { background: #f5f8f5; color: #16191c; text-transform: uppercase; letter-spacing: .04em; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; min-height: 38px; }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: 1px solid transparent; color: var(--text); cursor: pointer; position: relative; text-decoration: none;
}
.icon-btn:hover { background: var(--bg-3); color: var(--text); }

/* ---------- Top bar + header ---------- */
.announcement { background: var(--yellow); color: #161616; text-align: center; padding: .5rem 1rem; font-weight: 600; font-size: .9rem; }
.topbar { background: #16191c; color: #e8ecea; font-size: .85rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #5ad1c2; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar-phone { font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: flex-end; gap: 2rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.brand-text { font-family: var(--font-display); font-size: 1.5rem; white-space: nowrap; letter-spacing: .02em; line-height: 1; }
.brand-text span { color: var(--green); }
.brand img { width: auto; height: 46px; }
.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.primary-nav ul a { display: block; padding: .5rem .6rem; text-decoration: none; font-weight: 500; border-radius: var(--radius-sm); font-size: .9rem; white-space: nowrap; }
.primary-nav ul a:hover, .primary-nav ul a[aria-current="page"] { background: transparent; color: var(--text); box-shadow: inset 0 -3px 0 var(--ink); border-radius: 0; }
.nav-actions { display: flex; align-items: center; gap: .4rem; }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--green); color: #fff; font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 1rem; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; }
  .nav-actions { flex-wrap: wrap; padding-top: .5rem; border-top: 1px solid var(--line); }
  .topbar-inner { justify-content: center; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 7rem) 0; background:
  radial-gradient(var(--line) 1.2px, transparent 1.2px) 0 0 / 22px 22px, var(--bg); }
.hero h1 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: normal; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0; }
.stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.stat b { font-family: var(--font-display); font-size: 2.4rem; display: block; line-height: 1; color: var(--text); }
.stat span { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 560px; margin-inline: auto; }
.hero-art svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 380px; margin-inline: auto; } }

/* Marquee of audiences */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: .9rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .05em; }
.marquee-track span::before { content: "✦"; color: var(--green); margin-right: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }

/* ---------- Services tabs ---------- */
.services-tabs { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }
.tablist { display: flex; flex-direction: column; gap: .4rem; }
.tablist button {
  text-align: left; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; cursor: pointer; font: 500 1rem var(--font-body); color: var(--text); display: flex; gap: .9rem; align-items: center;
}
.tablist button .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--muted); }
.tablist button[aria-selected="true"] { border-color: var(--ink); background: var(--ink-soft); box-shadow: inset 4px 0 0 var(--ink); }
.tablist button[aria-selected="true"] .num { color: var(--ink); }
.tabpanel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.tabpanel[hidden] { display: none; }
.tabpanel .big-num { font-family: var(--font-display); font-size: 5rem; color: var(--ink-soft); line-height: 1; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.chips li { background: var(--bg-3); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; font-weight: 500; }
@media (max-width: 800px) { .services-tabs { grid-template-columns: 1fr; } .tablist { flex-direction: row; overflow-x: auto; padding-bottom: .5rem; } .tablist button { white-space: nowrap; } }

/* ---------- Cards ---------- */
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card-hover { transition: transform .2s, box-shadow .2s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: .5rem; }
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.showcase-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-3); border: 1px solid var(--line); }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; }
.showcase-item .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--muted); background: repeating-linear-gradient(45deg, var(--bg-3) 0 12px, var(--bg-2) 12px 24px); }
.showcase-item figcaption { position: absolute; inset: auto 0 0; padding: .8rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.showcase-item figcaption small { display: block; opacity: .85; }
.cat-tag { position: absolute; top: .7rem; left: .7rem; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filters button { background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; font: 500 .9rem var(--font-body); color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Products */
.product-card img, .product-card .ph { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-3); display: grid; place-items: center; color: var(--muted); font-family: var(--font-display); font-size: 1.4rem; }
.price { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); }

/* CTA band */
.cta-band { background: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px) 0 0 / 22px 22px, var(--grad); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.cta-band .btn-light:hover { color: var(--ink); }

/* ---------- Forms ---------- */
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: .35rem; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .75rem .9rem; min-height: 44px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: var(--focus); outline: none; border-color: var(--ink); }
textarea { min-height: 130px; resize: vertical; }
.field { margin-bottom: 1.1rem; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.field.error input, .field.error textarea, .field.error select { border-color: var(--ink); }
.error-msg { color: var(--ink); font-size: .85rem; margin-top: .3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.checkbox input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--ink); }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin: 1rem 0; border: 1px solid; font-weight: 500; }
.alert-success { background: #e9f7ec; color: #14532d; border-color: #9fd7ad; }
.alert-error { background: #fdeceb; color: #7f1d1d; border-color: #f2a7a0; }
.error-msg, .field.error input, .field.error textarea, .field.error select { --ink: #c0392b; }
.alert-info { background: #eaf2fd; color: #1e3a8a; border-color: #a7c3f0; }
:root[data-theme="dark"] .alert-success, :root[data-theme="dark"] .alert-error, :root[data-theme="dark"] .alert-info { background: var(--bg-3); color: var(--text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alert { background: var(--bg-3); color: var(--text); } }
.form-card { max-width: 560px; margin-inline: auto; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .8rem; }
.info-list svg { flex: 0 0 22px; color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--text-2); }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); }

/* ---------- Tables, badges ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.data th, table.data td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th { background: var(--bg-3); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
table.data tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--bg-3); color: var(--text-2); text-transform: capitalize; }
.badge-new, .badge-pending { background: #fdf0c7; color: #7a4b00; }
.badge-quoted, .badge-paid { background: #dbeafe; color: #1e3a8a; }
.badge-approved, .badge-in_production { background: #ede9fe; color: #4c1d95; }
.badge-done, .badge-delivered, .badge-shipped { background: #dcfce7; color: #14532d; }
.badge-closed, .badge-cancelled { background: #e5e7eb; color: #374151; }
.badge-admin { background: var(--grad); color: #fff; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 2rem 0 4rem; }
.dash-nav { position: sticky; top: 90px; align-self: start; }
.dash-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .2rem; }
.dash-nav a { display: flex; gap: .6rem; align-items: center; padding: .65rem .9rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; }
.dash-nav a:hover, .dash-nav a[aria-current="page"] { background: var(--ink-soft); color: var(--ink); }
.dash-nav .who { padding: 0 .9rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: .8rem; }
.dash-nav .who strong { display: block; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.dash-head h1 { font-size: 2.6rem; margin: 0; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.tile b { font-family: var(--font-display); font-size: 2.4rem; display: block; line-height: 1; }
.tile span { font-size: .85rem; color: var(--muted); }
.tile.accent { border-color: var(--ink); }
.tile.accent b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } .dash-nav { position: static; } .dash-nav ul { flex-direction: row; flex-wrap: wrap; } }
.design-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.design-thumb { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.design-thumb img, .design-thumb .ph { aspect-ratio: 1; width: 100%; object-fit: contain; background: var(--bg-3); display: grid; place-items: center; color: var(--muted); }
.design-thumb .meta { padding: .7rem .9rem; font-size: .88rem; }
.design-thumb .meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.design-thumb .actions { display: flex; gap: .4rem; padding: 0 .9rem .8rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.inline-form { display: inline; }
.row-actions { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 75ch; }
.prose h2 { font-size: 1.9rem; margin-top: 2rem; }
.prose h3 { font-size: 1.4rem; margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }
.page-head h1 { margin-bottom: .5rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); list-style: none; padding: 0; display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 1rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; }

/* ---------- Footer ---------- */
.site-footer { background: #16191c; color: #e8ecea; padding: 4rem 0 2rem; margin-top: 2rem; }
:root[data-theme="dark"] .site-footer { background: #0a0a0a; color: #ddd; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #0a0a0a; color: #ddd; } }
.site-footer a { color: inherit; text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: #5ad1c2; }
.site-footer .brand { color: inherit; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-h { font-family: var(--font-mono); font-size: .85rem; margin-bottom: 1rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.footer-brand p { opacity: .8; max-width: 40ch; }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.subscribe-form { display: flex; gap: .5rem; }
.subscribe-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: inherit; }
.ship-note { margin-top: 1rem; }
.areas { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas a { display: inline-block; padding: .35rem .8rem; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-size: .88rem; }
.footer-bottom { font-size: .85rem; opacity: .85; }
.legal-links { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Chatbot ---------- */
.chatbot { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 200; }
.chat-launcher { display: inline-flex; align-items: center; gap: .6rem; background: var(--grad); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.2rem; font: 600 1rem var(--font-body); cursor: pointer; box-shadow: 0 10px 30px rgba(14,134,192,.35); }
.chat-panel { position: absolute; right: 0; bottom: calc(100% + .8rem); width: min(380px, calc(100vw - 2.4rem)); height: min(560px, calc(100vh - 7rem)); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: #16191c; color: #e8ecea; }
.chat-head .icon-btn { margin-left: auto; color: inherit; font-size: 1.6rem; }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.msg { max-width: 85%; padding: .65rem .9rem; border-radius: 14px; font-size: .93rem; white-space: pre-line; line-height: 1.45; }
.msg a { color: var(--ink); }
.msg-bot { background: var(--bg-3); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-user { background: var(--grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-right: 3px; animation: blink 1s infinite; }
.msg-typing span:nth-child(2) { animation-delay: .2s; } .msg-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.chat-chips { display: flex; gap: .4rem; flex-wrap: wrap; padding: 0 1rem .6rem; }
.chat-chips button { background: var(--bg-2); border: 1px solid var(--ink); color: var(--ink); border-radius: 999px; padding: .3rem .8rem; font: 500 .82rem var(--font-body); cursor: pointer; }
.chat-chips button:hover { background: var(--ink); color: #fff; }
.chat-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-height: 40px; }
.chat-form .btn { padding: .5rem 1rem; min-height: 40px; }
@media (max-width: 600px) { .chat-launcher-text { display: none; } .chat-launcher { padding: .9rem; } }

/* ---------- Catalog cards / locations ---------- */
.catalog-card { display: flex; flex-direction: column; gap: .6rem; }
.catalog-card .chips { margin: .5rem 0 1rem; }
.loc-hero { background: var(--bg-3); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: .6rem; background: var(--bg-2); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details[open] summary { color: var(--ink); margin-bottom: .5rem; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}
.flex{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}
.w-auto{width:auto!important}
.notice { font-size: .85rem; color: var(--muted); }
.cart-table img, .cart-table .ph { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--bg-3); }
.qty-input { width: 72px !important; }
.summary { position: sticky; top: 100px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin: 0 0 1rem; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { font-family: var(--font-display); font-size: 1.8rem; }
