/* ===== EBSPLIT — Professional HVAC Store ===== */
:root {
  --bg:        #ffffff;
  --surface:   #f5f6f7;
  --surface-2: #ebedef;
  --text:      #0a0a0a;
  --text-2:    #4b5563;
  --text-3:    #9ca3af;
  --border:    #d1d5db;
  --border-2:  #9ca3af;
  --accent:    #0a0a0a;
  --accent-w:  #ffffff;
  --green:     #059669;
  --green-bg:  #d1fae5;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.14);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ——— THEMES ——— */
/* Light 1 + 2: monochrome family (default + warm) */
[data-theme="monochrome-warm"] {
  --bg:#faf9f6; --surface:#f3f1eb; --surface-2:#e8e5dc;
  --text:#2d2a24; --text-2:#5e5950; --text-3:#a09a8e;
  --border:#d9d4ca; --border-2:#beb8ac;
  --accent:#5c5348; --accent-w:#fff;
  --green:#7a9e6d; --green-bg:rgba(122,158,109,.12);
}
/* Light 3: mist */
[data-theme="mist"] {
  --bg:#f7f9fa; --surface:#eef2f4; --surface-2:#e1e8ed;
  --text:#222c35; --text-2:#4f6070; --text-3:#8a9aab;
  --border:#cdd7df; --border-2:#9badc0;
  --accent:#3a5f7a; --accent-w:#fff;
  --green:#5d8a6b; --green-bg:rgba(93,138,107,.10);
}
/* Light 4: sage */
[data-theme="sage"] {
  --bg:#f8faf7; --surface:#eff3ec; --surface-2:#e3ebe0;
  --text:#293226; --text-2:#4f5c48; --text-3:#899a80;
  --border:#c9d4c2; --border-2:#9db092;
  --accent:#4a6350; --accent-w:#fff;
  --green:#4f7a53; --green-bg:rgba(79,122,83,.10);
}
/* Light 5: pearl */
[data-theme="pearl"] {
  --bg:#fbfbfb; --surface:#f3f3f5; --surface-2:#eaeaee;
  --text:#2a2838; --text-2:#565264; --text-3:#908d9d;
  --border:#d7d5e0; --border-2:#b2afc2;
  --accent:#5a5675; --accent-w:#fff;
  --green:#5b8a7a; --green-bg:rgba(91,138,122,.10);
}
/* Light 6: sand (retained original) */
[data-theme="sand"] {
  --bg:#fdfbf7; --surface:#f5f0e8; --surface-2:#ebe5d9;
  --text:#2c2a26; --text-2:#5c5850; --text-3:#a8a095;
  --border:#d6cfc3; --border-2:#b8b0a4;
  --accent:#c65d3b; --accent-w:#fff;
  --green:#059669; --green-bg:#d1fae5;
}

/* Dark 1: midnight (retained original) */
[data-theme="midnight"] {
  --bg:#050a14; --surface:#0f172a; --surface-2:#1e293b;
  --text:#f8fafc; --text-2:#94a3b8; --text-3:#475569;
  --border:#1e293b; --border-2:#334155;
  --accent:#38bdf8; --accent-w:#0f172a;
  --green:#34d399; --green-bg:rgba(52,211,153,0.12);
}
/* Dark 2: obsidian */
[data-theme="obsidian"] {
  --bg:#070707; --surface:#121212; --surface-2:#1e1e1e;
  --text:#f2f2f2; --text-2:#9fa0a3; --text-3:#555555;
  --border:#1a1a1a; --border-2:#303030;
  --accent:#d4a373; --accent-w:#070707;
  --green:#6da06a; --green-bg:rgba(109,160,106,.10);
}
/* Dark 3: slate */
[data-theme="slate"] {
  --bg:#0b0d10; --surface:#161b22; --surface-2:#21262d;
  --text:#e6edf3; --text-2:#8b949e; --text-3:#484f58;
  --border:#30363d; --border-2:#484f58;
  --accent:#a5b4fc; --accent-w:#0b0d10;
  --green:#68a678; --green-bg:rgba(104,166,120,.12);
}
/* Dark 4: charcoal */
[data-theme="charcoal"] {
  --bg:#141414; --surface:#1e1e1e; --surface-2:#2e2e2e;
  --text:#e8e8e8; --text-2:#a3a3a3; --text-3:#6a6a6a;
  --border:#333333; --border-2:#454545;
  --accent:#c9a053; --accent-w:#141414;
  --green:#7eb770; --green-bg:rgba(126,183,112,.10);
}
/* Dark 5: graphite (retained original) */
[data-theme="graphite"] {
  --bg:#171717; --surface:#262626; --surface-2:#404040;
  --text:#f5f5f5; --text-2:#a3a3a3; --text-3:#737373;
  --border:#404040; --border-2:#525252;
  --accent:#d4a373; --accent-w:#171717;
  --green:#34d399; --green-bg:rgba(52,211,153,0.12);
}
/* Dark 6: ink */
[data-theme="ink"] {
  --bg:#0a0a10; --surface:#13131f; --surface-2:#1e1e32;
  --text:#e2e2ec; --text-2:#9595a5; --text-3:#555568;
  --border:#25253a; --border-2:#3a3a55;
  --accent:#9e8bd1; --accent-w:#0a0a10;
  --green:#5aaa6b; --green-bg:rgba(90,170,107,.12);
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size:15px; line-height:1.55; color:var(--text);
  background:var(--bg); -webkit-font-smoothing:antialiased;
  transition:background 0.35s ease, color 0.35s ease;
}

.container { width:100%; max-width:1200px; margin:0 auto; padding:0 20px; position:relative; }

/* ---------- GLASS THEME SWITCHER ---------- */
.glass-theme {
  position:fixed; bottom:24px; left:24px; z-index:400;
  display:flex; align-items:center; gap:0;
  padding:8px 20px; border-radius:999px;
  background:rgba(255,255,255,0.15);
  border:1px solid rgba(255,255,255,0.25);
  backdrop-filter:blur(24px) saturate(180%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  box-shadow:0 8px 32px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.2);
  transition:background 0.3s, border-color 0.3s, gap 0.3s ease;
}
.glass-theme:hover { gap:12px; }
.glass-theme-palette {
  display:flex; align-items:center; gap:12px;
  max-width:0; opacity:0;
  transition:max-width 0.4s ease, opacity 0.3s ease;
}
.glass-theme:hover .glass-theme-palette,
.glass-theme.open .glass-theme-palette {
  max-width:400px; opacity:1;
}
.glass-theme-toggle {
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  border:1px solid rgba(255,255,255,0.3); background:transparent;
  cursor:pointer; padding:0; display:flex; align-items:center; justify-content:center;
  color:var(--text); transition:all 0.2s;
}
.glass-theme-toggle:hover { background:rgba(255,255,255,0.1); }
.glass-theme-toggle svg { display:block; }
.glass-theme-btn {
  width:22px; height:22px; border-radius:50%; border:2px solid transparent;
  cursor:pointer; padding:0; transition:transform 0.2s, box-shadow 0.2s;
  flex-shrink:0;
  box-shadow:0 2px 8px rgba(0,0,0,0.15);
}
.glass-theme-btn:hover { transform:scale(1.18); }
.glass-theme-btn.active {
  box-shadow:0 0 0 2px var(--text), 0 0 0 4px var(--bg), 0 2px 8px rgba(0,0,0,0.2);
}
.glass-theme-btn[data-theme="mist"] { background:linear-gradient(135deg,#f7f9fa 50%,#3a5f7a 50%); border-color:#cdd7df; }
.glass-theme-btn[data-theme="sage"] { background:linear-gradient(135deg,#f8faf7 50%,#4a6350 50%); border-color:#c9d4c2; }
.glass-theme-btn[data-theme="midnight"]   { background:#0f172a; border-color:#38bdf8; }
.glass-theme-btn[data-theme="slate"]      { background:#161b22; border-color:#a5b4fc; }
.glass-theme-btn[data-theme="graphite"]   { background:#d4a373; }
.glass-theme-btn[data-theme="ink"]        { background:#13131f; border-color:#9e8bd1; }

/* ---------- HEADER ---------- */
.header {
  position:sticky; top:0; z-index:100;
  background:var(--surface);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--border);
  transition:border-color 0.3s, background 0.3s;
}
.header-inner {
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.logo {
  font-size:20px; font-weight:800; color:var(--text); text-decoration:none;
  letter-spacing:-0.5px;
}
.logo span { color:var(--text-3); font-weight:600; }
.nav { display:flex; gap:28px; }
.nav a {
  font-size:14px; font-weight:500; color:var(--text-2);
  text-decoration:none; transition:color 0.2s var(--transition);
}
.nav a:hover { color:var(--text); }

/* ---------- HERO ---------- */
.hero {
  background:linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom:1px solid var(--border);
  padding:80px 0 72px;
  transition:border-color 0.3s;
}
.hero-grid { max-width:720px; }
.hero h1 {
  font-size:48px; font-weight:800; line-height:1.05;
  letter-spacing:-2px; margin-bottom:20px;
}
.hero .lead {
  font-size:18px; color:var(--text-2); line-height:1.6;
  margin-bottom:32px; max-width:540px;
}
.hero-benefits { display:flex; flex-direction:column; gap:14px; }
.hero-benefit {
  display:flex; align-items:center; gap:12px; font-size:15px; color:var(--text);
}
.benefit-icon {
  width:28px; height:28px; border-radius:50%;
  background:var(--green-bg); color:var(--green);
  display:flex; align-items:center; justify-content:center;
  font-size:14px; flex-shrink:0;
}

/* ---------- CARD ---------- */
.card {
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:28px; box-shadow:var(--shadow);
  transition:border-color 0.3s, box-shadow 0.3s;
}
.card h3 { font-size:18px; font-weight:700; margin-bottom:20px; color:var(--text); }

/* ---------- FORM ---------- */
.form-group { margin-bottom:14px; }
.form-group label {
  display:block; font-size:12px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.5px;
  color:var(--text-2); margin-bottom:6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:12px 14px; font-size:15px;
  border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--bg); font-family:inherit; transition:border-color 0.2s, background 0.3s;
  color:var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none; border-color:var(--text);
}
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; font-size:15px; font-weight:600;
  border:none; border-radius:var(--radius-sm); cursor:pointer;
  transition:all 0.2s var(--transition); font-family:inherit;
  letter-spacing:-0.2px;
}
.btn-primary { background:var(--text); color:var(--bg); width:100%; }
.btn-primary:hover { background:var(--text-2); transform:translateY(-1px); }
.btn-primary:active { transform:translateY(0); }
[data-theme="midnight"] .btn-primary,
[data-theme="graphite"] .btn-primary {
  background:var(--accent); color:var(--accent-w);
}
.btn-outline {
  background:transparent; color:var(--text); border:1px solid var(--border-2);
}
.btn-outline:hover { background:var(--surface); }

/* ---------- SECTION ---------- */
.section { padding:72px 0; }
.section-alt {
  background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  transition:border-color 0.3s, background 0.3s;
}
.section-head { margin-bottom:36px; }
.section-head h2 {
  font-size:32px; font-weight:800; letter-spacing:-1px; margin-bottom:10px;
}
.section-head p { font-size:16px; color:var(--text-2); max-width:600px; }

/* ---------- INFO BADGE ---------- */
.info-bar {
  display:flex; align-items:center; gap:8px;
  padding:14px 18px; background:var(--surface-2); border-radius:var(--radius-md);
  margin-bottom:28px; font-size:14px; color:var(--text-2); line-height:1.5;
}
.info-bar strong { color:var(--text); font-weight:600; }
.info-bar .dot { width:6px; height:6px; border-radius:50%; background:var(--green); flex-shrink:0; }
.info-bar .dot.gold { background:#f59e0b; }

/* ---------- FILTERS ---------- */
.filters { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:28px; padding:16px; background:var(--surface-2); border-radius:var(--radius-md);}
.filter-chip { position:relative; }
.filter-chip select {
  appearance:none; padding:10px 34px 10px 14px; font-size:14px; font-weight:500;
  border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--bg); font-family:inherit; cursor:pointer; min-width:160px;
  color:var(--text); transition:border-color 0.3s, background 0.3s;
}
.filter-chip::after {
  content:""; position:absolute; right:14px; top:50%; transform:translateY(-50%);
  width:0; height:0; border-left:4px solid transparent;
  border-right:4px solid transparent; border-top:4px solid var(--text-2);
  pointer-events:none;
}

/* ---------- CATALOG ---------- */
.catalog-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:20px;
}
.catalog-more {
  display:none;
  grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:20px;
  margin-top:20px;
}
.catalog-more.active { display:grid; }
.catalog-more .product-card {
  opacity:0; transform:scale(0.96) translateY(12px);
  transition:opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.catalog-more .product-card.reveal {
  opacity:1; transform:scale(1) translateY(0);
}

.product-card {
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden;
  transition:box-shadow 0.3s var(--transition), transform 0.3s var(--transition), border-color 0.3s;
}
.product-card:hover {
  box-shadow:var(--shadow-lg); transform:translateY(-3px);
}
.product-card.selected {
  border-color:var(--accent); box-shadow:0 0 0 3px rgba(37,99,235,0.12), var(--shadow-lg);
  transform:translateY(-3px);
  background:var(--surface);
}
.product-card.selected .product-footer .btn-outline {
  background:var(--accent); color:#fff; border-color:var(--accent);
}
.product-visual { display:none; }
.product-img    { display:none; }

/* Glass iOS product gallery */
.product-gallery {
  display:flex; gap:4px; padding:4px; background:var(--surface);
  border-radius:var(--radius-lg);
  position:relative;
}
.gallery-img-wrap {
  flex:1 1 0; min-width:0; aspect-ratio:4 / 3;
  border-radius:var(--radius-md); overflow:hidden;
  background:var(--surface-2);
}
.gallery-img-wrap img {
  width:100%; height:100%; object-fit:contain; display:block;
}
.gallery-glass {
  position:absolute; bottom:8px; left:8px; right:8px;
  padding:8px 12px; border-radius:var(--radius-md);
  background:color-mix(in srgb, var(--surface) 76%, transparent);
  backdrop-filter:blur(12px) saturate(1.4);
  -webkit-backdrop-filter:blur(12px) saturate(1.4);
  border:1px solid color-mix(in srgb, var(--border) 40%, transparent);
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  text-align:center;
  transition:background 0.3s var(--transition), border-color 0.3s var(--transition);
}
.gallery-glass span {
  font-size:13px; font-weight:600; color:var(--text);
  letter-spacing:0.2px;
  transition:color 0.3s var(--transition);
}

.product-flag {
  position:absolute; top:14px; left:14px;
  padding:5px 12px; border-radius:20px;
  font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.3px;
}
.flag-stock { background:var(--green-bg); color:var(--green); }
.flag-order { background:var(--surface); color:var(--text-2); }
.flag-hot   { background:#fef3c7; color:#b45309; }

.product-info { padding:20px; }
.product-brand {
  font-size:16px; font-weight:800; letter-spacing:-0.3px;
  color:var(--text); margin-bottom:2px;
}
.product-name {
  font-size:13px; font-weight:500; color:var(--text-2); margin-bottom:2px;
}
.product-series { font-size:14px; font-weight:600; color:var(--text); margin-bottom:4px; letter-spacing:-0.2px; }

.product-meta { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.meta-tag {
  font-size:12px; padding:5px 10px; background:var(--surface); border-radius:var(--radius-sm);
  color:var(--text-2); font-weight:500;
  transition:background 0.3s;
}

.btu-tabs {
  display:flex; gap:4px; margin-bottom:16px;
  background:var(--surface); border-radius:var(--radius-sm); padding:3px;
  transition:background 0.3s;
}
.btu-tab {
  flex:1; padding:8px; text-align:center; font-size:13px; font-weight:600;
  background:transparent; border:none; border-radius:calc(var(--radius-sm) - 2px);
  cursor:pointer; transition:all 0.2s; color:var(--text-2);
  font-family:inherit;
}
.btu-tab:hover:not(:disabled) { color:var(--text); }
.btu-tab.active { background:var(--bg); color:var(--text); box-shadow:var(--shadow-sm); }
[data-theme="midnight"] .btu-tab.active,
[data-theme="graphite"] .btu-tab.active { background:var(--surface-2); }
.btu-tab:disabled { opacity:0.35; cursor:not-allowed; }

.product-footer {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; border-top:1px solid var(--border);
  transition:border-color 0.3s;
  gap:12px;
}
.product-price { font-size:22px; font-weight:800; letter-spacing:-0.8px; color:var(--text); line-height:1; }
.product-footer .btn-outline { padding:10px 16px; font-size:13px; }

.catalog-showmore, .works-showmore {
  display:flex; justify-content:center; margin-top:28px;
}
.btn-showmore {
  display:inline-flex; align-items:center; gap:6px;
  padding:10px 24px; border-radius:999px;
  background:var(--surface-2); color:var(--text);
  font-size:14px; font-weight:600; border:1px solid var(--border);
  cursor:pointer; transition:all 0.25s var(--transition);
}
.btn-showmore:hover {
  background:var(--border); transform:translateY(-1px);
}
.btn-showmore svg {
  transition:transform 0.3s var(--transition);
}
.btn-showmore.open svg {
  transform:rotate(180deg);
}

/* ---------- WORKS ---------- */
.works-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px;
}
.work-card {
  aspect-ratio:4/3; border-radius:var(--radius-md); overflow:hidden;
  background:var(--surface); border:1px solid var(--border);
  cursor:pointer; position:relative;
  box-shadow:var(--shadow-sm); transition:box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  opacity:1; transform:scale(1);
}
.work-card.hidden {
  opacity:0; transform:scale(0.85) translateY(24px);
  pointer-events:none;
  position:absolute;
  visibility:hidden;
  transition:opacity 0.35s ease, transform 0.35s ease, visibility 0s 0.35s;
}
.work-card.hidden.reveal {
  position:relative; visibility:visible;
  animation: cardExpandIn 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes cardExpandIn {
  0%   { opacity:0; transform: scale(0.88) translateY(28px); }
  60%  { opacity:1; transform: scale(1.02) translateY(-2px); }
  100% { opacity:1; transform: scale(1)   translateY(0); }
}
.work-card:hover {
  box-shadow:0 8px 24px rgba(0,0,0,0.12); transform:translateY(-2px);
}
.work-card img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform 0.5s var(--transition);
}
.work-card:hover img { transform:scale(1.05); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position:fixed; inset:0; z-index:500;
  background:rgba(0,0,0,0.92);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none;
  transition:opacity 0.3s var(--transition);
}
.lightbox.active { opacity:1; pointer-events:auto; }
.lightbox img {
  max-width:90vw; max-height:85vh;
  object-fit:contain; border-radius:var(--radius-sm);
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
  transform:scale(0.96);
  transition:transform 0.3s var(--transition), opacity 0.25s ease;
  opacity:1;
}
.lightbox img.switching {
  opacity:0;
  transform:scale(0.92);
  transition:opacity 0.15s ease, transform 0.2s ease;
}
.lightbox-close {
  position:absolute; top:24px; right:24px;
  width:48px; height:48px; border-radius:50%;
  background:rgba(255,255,255,0.1); color:#fff;
  border:none; font-size:28px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background 0.2s; z-index:10;
}
.lightbox-close:hover { background:rgba(255,255,255,0.2); }

.lightbox-nav {
  position:absolute; top:50%; transform:translateY(-50%);
  width:56px; height:56px; border-radius:50%;
  background:rgba(255,255,255,0.12); color:#fff;
  border:none; font-size:32px; cursor:pointer; z-index:10;
  display:flex; align-items:center; justify-content:center;
  transition:background 0.2s; user-select:none;
}
.lightbox-nav:hover { background:rgba(255,255,255,0.25); }
.lightbox-nav:active { background:rgba(255,255,255,0.35); }
.lightbox-prev { left:20px; }
.lightbox-next { right:20px; }

.lightbox-counter {
  position:absolute; bottom:32px; left:50%; transform:translateX(-50%);
  color:rgba(255,255,255,0.65); font-size:14px; font-weight:500;
  letter-spacing:1px; z-index:10; user-select:none;
}

/* ---------- ORDER TYPES ---------- */
.order-types {
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:24px;
}
.order-type {
  padding:16px; border:1.5px solid var(--border); border-radius:var(--radius-lg);
  cursor:pointer; text-align:left; transition:all 0.25s var(--transition);
  background:var(--bg); position:relative;
}
.order-type:hover { border-color:var(--border-2); }
.order-type.selected {
  border-color:var(--text); background:var(--surface);
}
.order-type h4 { font-size:15px; font-weight:700; margin-bottom:4px; color:var(--text); }
.order-type p { font-size:12px; color:var(--text-2); line-height:1.4; margin-bottom:0; }
.order-type-tag {
  position:absolute; top:-1px; right:18px;
  transform:translateY(-50%);
  padding:4px 12px; border-radius:20px;
  font-size:11px; font-weight:700; text-transform:uppercase;
  background:var(--text); color:var(--bg);
}
.order-type .price { font-size:24px; font-weight:800; letter-spacing:-1px; color:var(--text); }
.order-type .price-sub { font-size:12px; color:var(--text-3); font-weight:500; margin-top:2px; }

.order-summary {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:14px 18px; font-size:15px; color:var(--text-2); margin-bottom:18px;
}

/* ---------- CALENDAR ---------- */
.cal-box { margin-bottom:14px; }
.cal-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:10px;
}
.cal-title { font-size:14px; font-weight:700; color:var(--text); }
.cal-nav { display:flex; gap:4px; }
.cal-nav button {
  width:26px; height:26px; border:1px solid var(--border); background:var(--bg);
  border-radius:var(--radius-sm); cursor:pointer; font-size:13px;
  color:var(--text); transition:all 0.2s;
  display:flex; align-items:center; justify-content:center;
}
.cal-nav button:hover { background:var(--surface); border-color:var(--border-2); }
.calendar-grid {
  display:grid; grid-template-columns:repeat(7,1fr); gap:2px;
}
.cal-dow {
  text-align:center; font-size:10px; font-weight:700; color:var(--text-3);
  text-transform:uppercase; letter-spacing:0.5px; padding:4px 0;
}
.cal-day {
  height:32px; display:flex; align-items:center; justify-content:center;
  border-radius:var(--radius-sm); font-size:13px; font-weight:500;
  cursor:pointer; background:var(--bg); border:none;
  transition:all 0.15s var(--transition); font-family:inherit;
  color:var(--text);
}
.cal-day:hover:not(:disabled) { background:var(--surface-2); }
.cal-day.selected { background:var(--text); color:var(--bg); }
[data-theme="midnight"] .cal-day.selected,
[data-theme="graphite"] .cal-day.selected { background:var(--accent); color:var(--accent-w); }
.cal-day:disabled { opacity:0.3; cursor:not-allowed; }
.cal-day.today { font-weight:700; position:relative; }
.cal-day.today::after {
  content:""; position:absolute; bottom:3px; left:50%; transform:translateX(-50%);
  width:3px; height:3px; border-radius:50%; background:currentColor;
}
.cal-day.sunday { color:var(--text-3); }
.cal-day.blocked { opacity:0.3; cursor:not-allowed; text-decoration:line-through; }
.cal-day.partly-blocked {
  position:relative;
}
.cal-day.partly-blocked::after {
  content:""; position:absolute; bottom:4px; left:50%; transform:translateX(-50%);
  width:4px; height:4px; border-radius:50%; background:var(--accent);
}

/* ---------- TIME ---------- */
.time-slots { display:flex; gap:12px; }
.time-slot {
  flex:1; padding:16px; text-align:center;
  border:1.5px solid var(--border); border-radius:var(--radius-md);
  cursor:pointer; font-weight:700; font-size:15px;
  background:var(--bg); transition:all 0.2s var(--transition);
  font-family:inherit; color:var(--text);
}
.time-slot:hover:not(:disabled) { border-color:var(--text); }
.time-slot.selected { background:var(--text); color:var(--bg); border-color:var(--text); }
[data-theme="midnight"] .time-slot.selected,
[data-theme="graphite"] .time-slot.selected { background:var(--accent); color:var(--accent-w); border-color:var(--accent); }
.time-slot.disabled {
  opacity:0.35; cursor:not-allowed; background:var(--surface-2); color:var(--text-3);
  border-color:var(--border);
}
.time-slot.disabled small { opacity:0.4; }
.time-slot small { display:block; font-size:11px; font-weight:500; opacity:0.6; margin-top:4px; }

/* ---------- iOS PICKER ---------- */
.ios-picker { position:relative; }
.ios-picker-track {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; background:var(--surface-2);
  border-radius:12px; cursor:pointer; user-select:none;
  transition:background 0.2s;
  font-size:16px; font-weight:500; color:var(--text);
}
.ios-picker-track:hover { background:var(--surface); }
.ios-picker-track:active { background:var(--border); }
.ios-picker-label { pointer-events:none; }

.ios-modal {
  position:fixed; inset:0; z-index:600;
  display:flex; flex-direction:column; justify-content:flex-end;
  opacity:0; pointer-events:none;
  transition:opacity 0.25s ease;
}
.ios-modal.active { opacity:1; pointer-events:auto; }
.ios-modal-backdrop {
  position:absolute; inset:0;
  background:rgba(0,0,0,0.35);
}
.ios-picker-sheet {
  position:relative;
  background:var(--bg);
  border-radius:var(--radius-lg) var(--radius-lg) 0 0;
  padding:0 0 env(safe-area-inset-bottom, 0);
  transform:translateY(100%);
  transition:transform 0.35s cubic-bezier(0.22,1,0.36,1);
  z-index:1;
  max-height:60vh; overflow-y:auto;
}
.ios-modal.active .ios-picker-sheet {
  transform:translateY(0);
}
.ios-picker-bar {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 20px; border-bottom:1px solid var(--border);
  position:sticky; top:0; background:var(--bg); z-index:2;
}
.ios-picker-bar button {
  background:none; border:none; font-size:16px; font-weight:500;
  color:var(--text-3); cursor:pointer; padding:4px;
}
.ios-picker-bar button.ios-picker-done { color:var(--green); font-weight:600; }
.ios-picker-options { padding:8px 0; }
.ios-option {
  padding:14px 24px; font-size:17px; color:var(--text);
  cursor:pointer; transition:background 0.15s;
  position:relative;
}
.ios-option:hover { background:var(--surface); }
.ios-option.selected { font-weight:600; }
.ios-option.selected::after {
  content:"\2713"; position:absolute; right:24px; top:50%; transform:translateY(-50%);
  color:var(--green); font-weight:600;
}
.ios-option + .ios-option { border-top:1px solid var(--border); }

/* ---------- FOOTER ---------- */
.footer {
  background:var(--surface); border-top:1px solid var(--border); padding:48px 0;
  transition:background 0.3s, border-color 0.3s;
}
.footer-inner {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
.footer-info { display:flex; flex-direction:column; gap:6px; }
.footer-info span { font-size:13px; color:var(--text-2); }
.footer-info .bold { font-weight:600; color:var(--text); }

/* ---------- TOAST ---------- */
.toast {
  position:fixed; bottom:24px; right:24px;
  background:var(--text); color:var(--bg);
  padding:16px 24px; border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); z-index:300;
  transform:translateY(120%); opacity:0;
  transition:all 0.35s var(--transition); font-size:14px; font-weight:500;
  max-width:380px; line-height:1.5;
}
.toast.show { transform:translateY(0); opacity:1; }

/* ---------- FOOTER LINKS ---------- */
.footer-links a { font-size:13px; color:var(--text-2); text-decoration:none; transition:color 0.2s; }
.footer-links a:hover { color:var(--text); text-decoration:underline; }

/* ---------- CONSENT ---------- */
.consent-label a:hover { opacity:0.8; }
#submitBtn:disabled { opacity:0.45; cursor:not-allowed; transform:none; box-shadow:none; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position:fixed; bottom:0; left:0; right:0;
  background:color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter:blur(16px) saturate(1.2);
  border-top:1px solid var(--border);
  z-index:250;
  transform:translateY(100%);
  transition:transform 0.45s var(--transition);
}
.cookie-banner.show { transform:translateY(0); }
.cookie-inner {
  max-width:1200px; margin:0 auto; padding:20px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.cookie-text p { font-size:13px; color:var(--text-2); line-height:1.5; margin:0; }
.cookie-text a { color:var(--text); text-decoration:underline; }
.cookie-actions { display:flex; gap:10px; flex-shrink:0; }
.cookie-actions .btn { padding:10px 18px; font-size:13px; border-radius:var(--radius-sm); }
.cookie-actions .btn-outline { border:1px solid var(--border); background:transparent; color:var(--text); }
.cookie-actions .btn-outline:hover { background:var(--surface); }
@media (max-width:640px) {
  .cookie-inner { flex-direction:column; align-items:flex-start; }
  .cookie-actions { width:100%; }
  .cookie-actions .btn { flex:1; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:768px) {
  .hero h1 { font-size:34px; }
  .hero .lead { max-width:none; }
  .catalog-grid, .catalog-more { grid-template-columns:1fr; }
  .works-grid { grid-template-columns:repeat(2,1fr); }
  .order-types { grid-template-columns:1fr; }
  .lightbox-prev { left:8px; width:44px; height:44px; font-size:26px; }
  .lightbox-next { right:8px; width:44px; height:44px; font-size:26px; }
  .nav { display:none; }
  .glass-theme { left:50%; transform:translateX(-50%); bottom:12px; padding:6px 18px; }
  .glass-theme-btn { width:20px; height:20px; }
}
