/* =====================================================================
   Тема „Бутик · Козметика" — the original dark luxury look, generalised.
   Cormorant Garamond + Jost, rose-gold gradients, glassy dark panels.
   Palettes: „Тъмна" (default) and „Пепел от рози" (data-palette="rose").
   ===================================================================== */
html[data-theme="boutique"] {
  color-scheme: dark;
  --bg: #0e0c0d;
  --bg-alt: #161213;
  --surface: #1c1719;
  --surface-2: #241d20;
  --line: #352a2d;
  --input-bg: #161213;
  --text: #f3eae8;
  --muted: #b6a6a3;
  --faint: #8b7c79;
  --accent: #c9a24b;
  --accent-strong: #e6c87a;
  --accent-soft: rgba(201, 162, 75, 0.12);
  --on-accent: #211a10;
  --accent-2: #c9a6a2;
  --on-accent-2: #211a10;
  --price: #e6c87a;
  --success: #9cc28a;
  --danger: #d98a84;
  --grad-accent: linear-gradient(120deg, #c9a6a2 0%, #e6c87a 55%, #c9a24b 100%);
  --glow: radial-gradient(60vw 60vw at 80% -10%, rgba(201, 166, 162, 0.18), transparent 60%), radial-gradient(50vw 50vw at -10% 100%, rgba(201, 162, 75, 0.1), transparent 60%);
  --header-bg: rgba(14, 12, 13, 0.78);
  --header-text: #f3eae8;
  --header-line: #352a2d;
  --nav-text: #b6a6a3;
  --nav-hover: #f3eae8;
  --topbar-bg: #161213;
  --topbar-text: #e6c87a;
  --footer-bg: #161213;
  --footer-text: #f3eae8;
  --footer-muted: #b6a6a3;
  --footer-line: #352a2d;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-btn: 100px;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.85);
  --shadow-accent: 0 14px 40px -18px rgba(201, 162, 75, 0.45);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --body-weight: 300;
  --h-weight: 500;
  --h-tracking: 0.01em;
  --h-line: 1.08;
  --btn-transform: uppercase;
  --btn-tracking: 0.18em;
  --btn-weight: 500;
  --btn-size: 0.8rem;
  --btn-pad: 0.95em 2em;
  --eyebrow-color: #c9a24b;
  --eyebrow-tracking: 0.42em;
  --card-ratio: 4 / 3;
  --header-h: 74px;
}
html[data-theme="boutique"][data-palette="rose"] {
  --bg: #6b4b48;
  --bg-alt: #1b1416;
  --surface: #181113;
  --surface-2: #211719;
  --line: #8a615c;
  --input-bg: #1b1416;
  --text: #f1d896;
  --muted: #dcc794;
  --faint: #bda06f;
  --accent: #d9af56;
  --accent-strong: #f1d896;
  --accent-2: #e4cdc9;
  --price: #f1d896;
  --grad-accent: linear-gradient(120deg, #f3dca0 0%, #e6c87a 55%, #c9a24b 100%);
  --glow: radial-gradient(60vw 60vw at 80% -10%, rgba(243, 220, 160, 0.1), transparent 60%), radial-gradient(50vw 50vw at -10% 100%, rgba(201, 162, 75, 0.1), transparent 60%);
  --header-bg: rgba(20, 15, 16, 0.86);
  --topbar-bg: #1b1416;
  --footer-bg: #1b1416;
}
html[data-theme="boutique"] h1, html[data-theme="boutique"] h2 { font-weight: 500; }
html[data-theme="boutique"] .btn-primary { background: var(--grad-accent); color: var(--on-accent); box-shadow: var(--shadow-accent); }
html[data-theme="boutique"] .btn-primary:hover { background: var(--grad-accent); filter: brightness(1.07); transform: translateY(-2px); }
html[data-theme="boutique"] .btn-outline { color: var(--accent-strong); }
html[data-theme="boutique"] .accent-line { height: 2px; width: 64px; }
html[data-theme="boutique"] .topbar { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; }
html[data-theme="boutique"] .brand .logo { font-weight: 600; font-size: 1.75rem; letter-spacing: 0.04em; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="boutique"] .brand .tag { font-size: 0.6rem; letter-spacing: 0.28em; max-width: 14rem; }
@media (min-width: 961px) {
  html[data-theme="boutique"] .main-nav { justify-self: center; }
  html[data-theme="boutique"] .nav-links { gap: 1.6rem; }
  html[data-theme="boutique"] .nav-links > li > a { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; position: relative; }
  html[data-theme="boutique"] .nav-links > li > a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--grad-accent); transition: width 0.3s; }
  html[data-theme="boutique"] .nav-links > li > a:hover::after, html[data-theme="boutique"] .nav-links > li > a.active::after { width: 100%; }
}
html[data-theme="boutique"] .header-search input { width: 180px; }
html[data-theme="boutique"] .hdr-link, html[data-theme="boutique"] .cart-btn { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; }
html[data-theme="boutique"] .cart-count { background: var(--grad-accent); color: var(--on-accent); }

/* cards */
html[data-theme="boutique"] .pcard:hover { transform: translateY(-6px); border-color: var(--accent-2); box-shadow: var(--shadow); }
html[data-theme="boutique"] .pcard-media { background: linear-gradient(180deg, #1c1719 0%, #120f10 100%); }
html[data-theme="boutique"] .pcard-body { padding: 1.2rem 1.3rem 1.5rem; }
html[data-theme="boutique"] .pcard-title { font-size: 1.4rem; font-weight: 500; }
html[data-theme="boutique"] .pcard-cat { letter-spacing: 0.2em; }
html[data-theme="boutique"] .pcard-price .now { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
html[data-theme="boutique"] .badge { background: var(--grad-accent); color: var(--on-accent); letter-spacing: 0.14em; }
html[data-theme="boutique"] .badge.sale { background: var(--bg-alt); color: var(--accent-strong); border: 1px solid var(--accent); }
html[data-theme="boutique"] .stars { color: var(--accent-strong); }

/* home */
.bx-hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 6rem); position: relative; z-index: 1; }
.bx-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.bx-title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 0.3rem; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx-motto { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--accent-2); margin-bottom: 1.4rem; }
.bx-lead { font-size: 1.12rem; color: var(--muted); max-width: 30rem; margin-bottom: 2rem; }
.bx-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.bx-hero-art { aspect-ratio: 1; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: linear-gradient(180deg, #1c1719 0%, #120f10 100%); position: relative; }
.bx-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.bx-hero-art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(201, 166, 162, 0.16), transparent 60%); pointer-events: none; }
@media (max-width: 860px) { .bx-hero-grid { grid-template-columns: 1fr; } .bx-hero-art { max-width: 460px; margin-inline: auto; } }
.bx-features .features { gap: 0.5rem; }
.bx-features .fv { font-weight: 500; font-size: 1.6rem; }
.bx-features .fi { display: none; }
.bx-story-art { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #1c1719 0%, #120f10 100%); }
.bx-story-art img { width: 100%; height: 100%; object-fit: cover; }
.bx-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.bx-list li { display: flex; gap: 1rem; align-items: center; }
.bx-list .mark { color: var(--accent-strong); font-size: 1.3rem; }
html[data-theme="boutique"] .review-card p { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; }
html[data-theme="boutique"] .newsletter { background: linear-gradient(180deg, #1c1719 0%, #120f10 100%); }
html[data-theme="boutique"][data-palette="rose"] .newsletter, html[data-theme="boutique"][data-palette="rose"] .bx-hero-art, html[data-theme="boutique"][data-palette="rose"] .bx-story-art, html[data-theme="boutique"][data-palette="rose"] .pcard-media { background: linear-gradient(180deg, #1d1517 0%, #120d0e 100%); }

/* product page */
html[data-theme="boutique"] .viewer { background: radial-gradient(circle at 50% 40%, #221c1e, #100d0e 70%); }
html[data-theme="boutique"] .product-info .price .now { font-weight: 500; font-size: 2rem; }
html[data-theme="boutique"] .footer-brand .logo { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }

/* admin */
html[data-theme="boutique"] body.page-admin { --admin-side-bg: #161213; --admin-side-active-bg: #241d20; --admin-side-active: #e6c87a; }
html[data-theme="boutique"] .admin-brand .logo { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="boutique"] .serp { color: #202124; }
