/*
Theme Name: Poppy's Bakery
Theme URI:
Author: 
Description: Tema personalizată pentru Poppy's Bakery — Laborator & Cofetărie, Oradea.
Version: 1.0.7
License: GNU General Public License v2 or later
Text Domain: poppy
*/

/* ── Reset ───────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ── Theme variables ─────────────────────────────────────────────────────── */

/* ROMANTIC BLUSH */
body.t-romantic {
  --bg:            oklch(97.5% 0.010 355);
  --surface:       #ffffff;
  --surface2:      oklch(95% 0.018 355);
  --text:          oklch(18% 0.025 355);
  --muted:         oklch(52% 0.040 355);
  --accent:        oklch(51% 0.220  25);
  --accent2:       oklch(76% 0.130   0);
  --accent-bg:     oklch(95% 0.030   5);
  --border:        oklch(89% 0.022 355);
  --nav-bg:        rgba(255,250,252,0.92);
  --hfont:         'Playfair Display', serif;
  --bfont:         'DM Sans', sans-serif;
  --r:             16px;
  --hero-grad:     linear-gradient(100deg,rgba(0,0,0,0.58) 0%,rgba(0,0,0,0.12) 60%,transparent 100%);
  --products-bg:   oklch(95% 0.018 355);
  --products-text: oklch(18% 0.025 355);
  --ig-bg:         oklch(97% 0.010 355);
  --page-hero:     oklch(94% 0.022 355);
}

/* BOLD POPPY */
body.t-bold {
  --bg:            #fafafa;
  --surface:       #ffffff;
  --surface2:      oklch(96% 0.004   0);
  --text:          oklch(10% 0.010   0);
  --muted:         oklch(44% 0.010   0);
  --accent:        oklch(51% 0.220  25);
  --accent2:       oklch(68% 0.160 355);
  --accent-bg:     oklch(97% 0.012   5);
  --border:        oklch(88% 0.005   0);
  --nav-bg:        rgba(250,250,250,0.95);
  --hfont:         'Montserrat', sans-serif;
  --bfont:         'DM Sans', sans-serif;
  --r:             4px;
  --hero-grad:     linear-gradient(105deg,rgba(0,0,0,0.68) 0%,rgba(0,0,0,0.18) 55%,transparent 100%);
  --products-bg:   oklch(51% 0.220  25);
  --products-text: #ffffff;
  --ig-bg:         #fafafa;
  --page-hero:     oklch(51% 0.220 25);
}

/* ARTISAN WARM */
body.t-artisan {
  --bg:            oklch(96.5% 0.022  78);
  --surface:       oklch(98.5% 0.012  75);
  --surface2:      oklch(92%   0.032  78);
  --text:          oklch(20%   0.025  55);
  --muted:         oklch(48%   0.038  55);
  --accent:        oklch(50%   0.220  25);
  --accent2:       oklch(80%   0.090  68);
  --accent-bg:     oklch(95%   0.030  68);
  --border:        oklch(87%   0.035  78);
  --nav-bg:        rgba(249,244,236,0.94);
  --hfont:         'Cormorant Garamond', serif;
  --bfont:         'DM Sans', sans-serif;
  --r:             8px;
  --hero-grad:     linear-gradient(100deg,rgba(20,10,5,0.60) 0%,rgba(20,10,5,0.15) 60%,transparent 100%);
  --products-bg:   oklch(92% 0.032 78);
  --products-text: oklch(20% 0.025 55);
  --ig-bg:         oklch(94% 0.028 78);
  --page-hero:     oklch(92% 0.032 78);
}

/* SAGE GARDEN */
body.t-sage {
  --bg:            oklch(95.5% 0.040 122);
  --surface:       oklch(98.5% 0.014 118);
  --surface2:      oklch(90%   0.058 122);
  --text:          oklch(21%   0.035 135);
  --muted:         oklch(49%   0.052 128);
  --accent:        oklch(44%   0.118 135);
  --accent2:       oklch(72%   0.112 122);
  --accent-bg:     oklch(92%   0.050 122);
  --border:        oklch(85%   0.048 122);
  --nav-bg:        rgba(248,250,245,0.94);
  --hfont:         'Cormorant Garamond', serif;
  --bfont:         'DM Sans', sans-serif;
  --r:             12px;
  --hero-grad:     linear-gradient(100deg,rgba(10,20,8,0.62) 0%,rgba(10,20,8,0.18) 60%,transparent 100%);
  --products-bg:   oklch(44%   0.112 132);
  --products-text: #ffffff;
  --ig-bg:         oklch(95.5% 0.040 122);
  --page-hero:     oklch(90%   0.058 122);
}

/* ── Base typography ─────────────────────────────────────────────────────── */
body { font-family: var(--bfont); background: var(--bg); color: var(--text); transition: background .35s, color .35s; line-height: 1.6; }
h1,h2,h3,h4,h5 { font-family: var(--hfont); line-height: 1.15; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }

/* ── Shared atoms ────────────────────────────────────────────────────────── */
.section-label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.section-title { font-size: clamp(30px,3.5vw,46px); color: var(--text); }
.section-subtitle { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 540px; margin-top: 14px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary { background: var(--accent); color: #fff; padding: 14px 32px; border: none; border-radius: var(--r); font-weight: 600; font-size: 15px; letter-spacing: .02em; transition: opacity .2s, transform .2s; }
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-outline { background: transparent; color: var(--accent); padding: 12px 28px; border: 2px solid var(--accent); border-radius: var(--r); font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--accent); padding: 16px 40px; border: none; border-radius: var(--r); font-size: 16px; font-weight: 700; font-family: var(--bfont); transition: opacity .2s, transform .2s; }
.btn-white:hover { opacity: .92; transform: translateY(-1px); }
.btn-card { font-size: 13px; font-weight: 600; color: var(--accent); background: none; border: 1.5px solid var(--accent); border-radius: var(--r); padding: 7px 16px; white-space: nowrap; transition: all .18s; }
.btn-card:hover { background: var(--accent); color: #fff; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
#site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: var(--nav-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); height: 68px; transition: background .3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--hfont); font-size: 21px; font-weight: 700; color: var(--text); white-space: nowrap; }
.nav-logo img { max-height: 46px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* ── Nav dropdown (desktop) ──────────────────────────────────────────────── */
/* li fills the full nav height so top:100% lands exactly at the nav bottom  */
.nav-links { height: 68px; align-items: center; }
.nav-links li { position: relative; height: 100%; display: flex; align-items: center; }
.nav-links .menu-item-has-children > a::after { content: ' ▾'; font-size: 9px; opacity: .45; }
.nav-links .sub-menu { display: none; position: absolute; top: 100%; left: 0; list-style: none; background: var(--nav-bg); backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: var(--r); box-shadow: 0 8px 28px rgba(0,0,0,.13); min-width: 190px; padding: 6px 0; z-index: 300; }
.nav-links .sub-menu::before { content: ''; position: absolute; top: -5px; left: 16px; width: 10px; height: 10px; background: var(--nav-bg); border-top: 1px solid var(--border); border-left: 1px solid var(--border); transform: rotate(45deg); }
.nav-links .sub-menu a { display: block; padding: 9px 18px; white-space: nowrap; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 961px) {
  .nav-links .menu-item-has-children:hover > .sub-menu,
  .nav-links .menu-item-has-children:focus-within > .sub-menu { display: block; }
}

/* ── Hamburger button ────────────────────────────────────────────────────── */
.nav-hamburger { display: none; background: none; border: none; padding: 6px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 36px; height: 36px; color: var(--text); border-radius: 4px; }
.nav-hamburger:hover { background: var(--surface2); }
.ham-bar { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
#site-nav.nav-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#site-nav.nav-open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
#site-nav.nav-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; overflow: hidden; margin-bottom: 14px; }
.breadcrumb a, .breadcrumb span { white-space: nowrap; }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: .4; }

/* ── Page hero strip (inner pages) ──────────────────────────────────────── */
.page-hero { background: var(--page-hero); padding: 32px 0 28px; margin-top: 68px; transition: background .35s; }
.page-hero h1 { font-size: clamp(32px,4vw,52px); margin-bottom: 10px; }
.term-description { font-size: 16px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.term-description p { margin-bottom: 8px; }
.term-description p:last-child { margin-bottom: 0; }
.term-description ul, .term-description ol { padding-left: 1.5em; margin-bottom: 8px; }
.term-description a { color: var(--accent); text-decoration: underline; }
.term-seo-content { border-top: 1px solid var(--border); margin-top: 56px; padding: 40px 0 64px; }
.term-seo-content p { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.term-seo-content p:last-child { margin-bottom: 0; }
.term-seo-content h2, .term-seo-content h3 { font-family: var(--hfont); color: var(--text); margin-bottom: 10px; margin-top: 28px; }
.term-seo-content h2:first-child, .term-seo-content h3:first-child { margin-top: 0; }
.term-seo-content ul, .term-seo-content ol { font-size: 15px; color: var(--text); line-height: 1.75; padding-left: 1.6em; margin-bottom: 14px; }
.term-seo-content li { margin-bottom: 4px; }
.term-seo-content a { color: var(--accent); text-decoration: underline; }
body.t-bold .page-hero { color: #fff; }
body.t-bold .page-hero .breadcrumb { color: rgba(255,255,255,.7); }
body.t-bold .page-hero .breadcrumb a { color: rgba(255,255,255,.7); }

/* ── Blog post hero (full-bleed featured image) ─────────────────────────── */
.post-hero.has-featured-image {
    margin-top: 0;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0;
}
.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.70) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.04) 100%);
}
.post-hero.has-featured-image > .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 48px;
}
.post-hero.has-featured-image h1,
.post-hero.has-featured-image .breadcrumb,
.post-hero.has-featured-image .breadcrumb span { color: #fff; }
.post-hero.has-featured-image .breadcrumb a { color: rgba(255,255,255,.72); }
.post-hero.has-featured-image .breadcrumb a:hover { color: #fff; }
.post-hero.has-featured-image .breadcrumb-sep { opacity: .4; }
.post-hero-meta { font-size: 13px; color: var(--muted); margin-top: 10px; }
.post-hero.has-featured-image .post-hero-meta { color: rgba(255,255,255,.72); }

/* ── Blog post layout ────────────────────────────────────────────────────── */
.post-wrap { padding: 48px 0 80px; }
.post-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 40px; align-items: start; }

/* Article card */
.post-prose {
    background: var(--surface);
    border-radius: var(--r);
    border: 1px solid var(--border);
    padding: 48px 56px;
}
.post-prose p { font-size: 17px; line-height: 1.9; color: var(--text); margin-bottom: 22px; }
.post-prose p:last-child { margin-bottom: 0; }
.post-prose h2 {
    font-family: var(--hfont);
    font-size: clamp(20px, 2.4vw, 26px);
    color: var(--text);
    margin: 44px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--accent);
    line-height: 1.3;
}
.post-prose h3 {
    font-family: var(--hfont);
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text);
    margin: 32px 0 12px;
}
.post-prose ul, .post-prose ol { font-size: 17px; line-height: 1.85; color: var(--text); padding-left: 1.6em; margin-bottom: 22px; }
.post-prose li { margin-bottom: 6px; }
.post-prose a { color: var(--accent); text-decoration: underline; }
.post-prose strong { font-weight: 700; }
.post-prose em { font-style: italic; }
.post-prose img { width: 100%; border-radius: calc(var(--r) - 4px); margin: 8px 0 24px; }
.post-prose blockquote {
    border-left: 4px solid var(--accent2);
    margin: 28px 0;
    padding: 12px 24px;
    background: var(--accent-bg);
    border-radius: 0 var(--r) var(--r) 0;
    font-size: 17px;
    color: var(--muted);
    font-style: italic;
}

/* Sidebar */
.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--surface); border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; }
.widget-header { padding: 18px 20px 0; }
.widget-title { font-family: var(--hfont); font-size: 17px; color: var(--text); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.widget-title-accent { width: 16px; height: 2px; background: var(--accent); border-radius: 1px; flex-shrink: 0; }
.widget-subtitle { font-size: 12px; color: var(--muted); margin-top: 3px; }
.widget-body { padding: 14px 20px 20px; }

/* Search widget */
.sidebar-search { display: flex; border: 1.5px solid var(--border); border-radius: calc(var(--r) - 4px); overflow: hidden; transition: border-color .18s; }
.sidebar-search:focus-within { border-color: var(--accent); }
.sidebar-search input[type="search"] { flex: 1; border: none; padding: 8px 10px; font-size: 13px; background: transparent; color: var(--text); outline: none; font-family: var(--bfont); min-width: 0; }
.sidebar-search input[type="search"]::placeholder { color: var(--muted); }
.sidebar-search button { background: var(--accent); color: #fff; border: none; padding: 0 14px; display: flex; align-items: center; transition: opacity .2s; }
.sidebar-search button:hover { opacity: .85; }

/* Recomandare widget */
.feat-widget { display: block; text-decoration: none; color: inherit; }
.feat-widget-img { margin: 12px 20px 0; border-radius: calc(var(--r) - 4px); overflow: hidden; aspect-ratio: 4/3; }
.feat-widget-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.feat-widget:hover .feat-widget-img img { transform: scale(1.04); }
.feat-widget-body { padding: 14px 20px 20px; }
.feat-widget-cat { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.feat-widget-name { font-family: var(--hfont); font-size: 17px; color: var(--text); font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.feat-widget-meta { display: flex; justify-content: space-between; align-items: center; }
.feat-widget-price { font-size: 15px; font-weight: 700; color: var(--text); }
.feat-widget-cta { font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* Promo widget */
.promo-widget { position: relative; overflow: hidden; border: none !important; color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(135deg, var(--accent) 0%, oklch(38% 0.180 25) 100%); }
.promo-widget::before { content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%); pointer-events: none; }
.promo-tag { display: inline-block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; background: rgba(255,255,255,.22); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 20px; font-weight: 600; margin-bottom: 12px; width: fit-content; position: relative; z-index: 1; }
.promo-widget h3 { font-family: var(--hfont); font-size: 21px; color: #fff; line-height: 1.25; margin-bottom: 8px; font-style: italic; position: relative; z-index: 1; }
.promo-widget p { font-size: 13px; color: rgba(255,255,255,.88); line-height: 1.55; margin-bottom: 16px; position: relative; z-index: 1; }
.promo-btn { background: #fff; color: var(--accent); border: none; padding: 9px 18px; border-radius: var(--r); font-size: 13px; font-weight: 700; display: inline-block; text-decoration: none; position: relative; z-index: 1; transition: transform .18s, box-shadow .18s; }
.promo-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.18); color: var(--accent); }

/* Latest posts widget */
.lp-list { display: flex; flex-direction: column; }
.lp-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); text-decoration: none; color: inherit; }
.lp-row:first-child { border-top: none; padding-top: 4px; }
.lp-thumb { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--surface2); }
.lp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-content { flex: 1; min-width: 0; }
.lp-title { font-family: var(--hfont); font-size: 14px; color: var(--text); font-weight: 600; line-height: 1.35; margin-bottom: 3px; transition: color .18s; }
.lp-row:hover .lp-title { color: var(--accent); }
.lp-date { font-size: 11.5px; color: var(--muted); }

@media (max-width: 1000px) {
    .post-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 680px) {
    .post-wrap { padding: 32px 0 60px; }
    .post-prose { padding: 32px 24px; }
    .post-prose h2 { margin-top: 32px; }
}

/* ── Hero (homepage) ─────────────────────────────────────────────────────── */
.hero { height: 100vh; min-height: 600px; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay { position: absolute; inset: 0; background: var(--hero-grad); }
.hero-content { position: relative; z-index: 2; max-width: 580px; }
.hero-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px,5.5vw,70px); color: #fff; margin-bottom: 20px; text-wrap: balance; }
.hero p { font-size: 18px; color: rgba(255,255,255,.88); line-height: 1.65; margin-bottom: 32px; max-width: 440px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-outline:hover { background: #fff; color: var(--accent); border-color: #fff; }
body.t-bold .hero h1 { text-transform: uppercase; letter-spacing: -.01em; }
body.t-artisan .hero h1 { font-size: clamp(32px,4.2vw,54px); }

/* ── About ───────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge { position: absolute; bottom: 20px; right: 20px; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.stat-card { background: var(--surface2); padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--border); }
.stat-num { font-family: var(--hfont); font-size: 38px; color: var(--accent); font-weight: 700; line-height: 1; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 5px; letter-spacing: .03em; }

/* ── Products section (homepage) ─────────────────────────────────────────── */
.products-section { background: var(--products-bg); transition: background .35s; }
.products-label { color: var(--products-text); opacity: .7; }
.products-title { color: var(--products-text); }
.products-sub { color: var(--products-text); opacity: .75; }

/* ── Product grid ────────────────────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.product-card { background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; cursor: pointer; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,.10); }
.product-img { aspect-ratio: 4/3; width: 100%; overflow: hidden; background: var(--surface2); position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-body { padding: 18px 26px 24px; }
.product-cat-label { font-size: 11px; letter-spacing: .10em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 6px; }
.product-info { padding: 18px 26px 24px; text-align: center; }
.product-cat { font-size: 11px; letter-spacing: .10em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 6px; }
.product-name { font-family: var(--hfont); font-size: 19px; color: var(--text); margin-bottom: 7px; line-height: 1.3; }
.product-desc-text { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product-price { font-family: var(--hfont); font-size: 20px; font-weight: 700; color: var(--text); }
.product-price-unit { font-size: 12px; color: var(--muted); font-family: var(--bfont); font-weight: 400; margin-left: 2px; }

/* ── Filter bar (menu page) ──────────────────────────────────────────────── */
.filter-bar { position: sticky; top: 68px; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); transition: background .35s; }
.filter-inner { display: flex; align-items: center; gap: 0; max-width: 1200px; margin: 0 auto; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.filter-inner::-webkit-scrollbar { display: none; }
.cat-tab { padding: 16px 20px; font-size: 13.5px; font-weight: 600; color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; letter-spacing: .03em; }
.cat-tab:hover { color: var(--text); }
.cat-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Category grid (/produse/) ───────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,.10); }
.cat-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface2); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: .25; }
.cat-card-body { padding: 20px 22px 22px; }
.cat-card-name { font-family: var(--hfont); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cat-card-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }
.cat-card-count { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state { grid-column: 1/-1; text-align: center; padding: 80px 24px; color: var(--muted); }
.empty-state p { font-size: 16px; margin-top: 12px; }

/* ── Order CTA ───────────────────────────────────────────────────────────── */
.order-cta { background: var(--accent); padding: 88px 24px; text-align: center; }
.order-cta h2 { font-family: var(--hfont); font-size: clamp(26px,3.5vw,44px); color: #fff; margin-bottom: 14px; }
.order-cta p { font-size: 17px; color: rgba(255,255,255,.9); max-width: 500px; margin: 0 auto 32px; line-height: 1.65; }
body.t-bold .order-cta h2 { text-transform: uppercase; letter-spacing: -.01em; }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 30px; }
.testi-stars { color: var(--accent); font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; }
.testi-text { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testi-author { font-weight: 600; font-size: 14px; color: var(--text); }
.testi-loc { color: var(--muted); font-weight: 400; }

/* ── Instagram ───────────────────────────────────────────────────────────── */
.ig-section { background: var(--ig-bg); }
.ig-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 5px; }
.ig-item { aspect-ratio: 1/1; overflow: hidden; position: relative; cursor: pointer; }
.ig-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.36); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.ig-item:hover .ig-overlay { opacity: 1; }
.ig-handle { font-weight: 700; color: var(--accent); font-size: 16px; letter-spacing: .03em; }
.ig-handle:hover { opacity: .8; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 740px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--hfont); font-size: 18px; color: var(--text); text-align: left; transition: color .2s; }
.faq-q:hover { color: var(--accent); }
.faq-icon { color: var(--accent); font-size: 24px; font-weight: 300; flex-shrink: 0; transition: transform .25s; font-family: 'DM Sans', sans-serif; }
.faq-icon.open { transform: rotate(45deg); }
.faq-a { font-size: 15px; color: var(--muted); line-height: 1.75; padding-bottom: 22px; padding-right: 40px; }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-section { background: var(--surface2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-map { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.contact-map iframe { width: 100%; height: 100%; border: none; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 46px; height: 46px; border-radius: var(--r); background: var(--accent-bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-label-text { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-value { font-size: 16px; color: var(--text); font-weight: 500; }

/* ── Single product layout ───────────────────────────────────────────────── */
.breadcrumb-bar { padding: 20px 0 0; }
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "gallery header" "gallery details";
    gap: 64px;
    align-items: start;
    padding: 32px 0 64px;
}
.product-header  { grid-area: header;  display: flex; flex-direction: column; gap: 12px; }
.product-gallery { grid-area: gallery; position: sticky; top: 88px; }
.product-details { grid-area: details; display: flex; flex-direction: column; gap: 28px; }
.product-main-img { aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; background: var(--surface2); border: 1px solid var(--border); }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb-strip { display: flex; gap: 8px; margin-top: 10px; }
.product-thumb { flex: 1 1 0; aspect-ratio: 1/1; border-radius: calc(var(--r) - 4px); overflow: hidden; background: var(--surface2); border: 2px solid transparent; cursor: pointer; padding: 0; transition: border-color .15s; }
.product-thumb:hover { border-color: var(--border); }
.product-thumb.active { border-color: var(--accent, #c084a0); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb[data-type="video"] { position: relative; }
.product-thumb[data-type="video"]::after { content: '▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 28px; height: 28px; line-height: 28px; text-align: center; font-size: 11px; color: #fff; background: rgba(0,0,0,.45); border-radius: 50%; pointer-events: none; }
.product-info-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.info-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; }
.info-tile-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 5px; }
.info-tile-value { font-size: 15px; font-weight: 600; color: var(--text); }
.product-cat-tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.product-title { font-size: clamp(28px,3.5vw,44px); color: var(--text); }
.product-price-block { display: flex; align-items: baseline; gap: 8px; }
.product-price-main { font-family: var(--hfont); font-size: 32px; font-weight: 700; color: var(--text); }
.product-price-note { font-size: 14px; color: var(--muted); }
.product-short-desc { font-size: 16px; color: var(--text); line-height: 1.65; margin: 0; }
.detail-divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.detail-label { font-size: 12px; letter-spacing: .10em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.allergens-row { display: flex; gap: 8px; flex-wrap: wrap; }
.allergen-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; letter-spacing: .02em; }
.allergen-emoji { font-size: 16px; line-height: 1; }
.product-body { padding: 40px 0 80px; border-top: 1px solid var(--border); }
.product-body p { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.product-body p:last-child { margin-bottom: 0; }
.product-body ul, .product-body ol { font-size: 15px; color: var(--text); line-height: 1.75; padding-left: 1.6em; margin-bottom: 14px; }
.product-body li { margin-bottom: 4px; }
.product-body h2, .product-body h3 { font-family: var(--hfont); color: var(--text); margin-bottom: 10px; }
.product-mobile-cta { display: none; }

/* ── Order form (single product) ─────────────────────────────────────────── */
.order-form-section { background: var(--surface2); border-radius: var(--r); border: 1px solid var(--border); padding: 28px; }
.order-form-title { font-family: var(--hfont); font-size: 22px; color: var(--text); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: 1/-1; }
.form-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form-input, .form-textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--text); font-family: var(--bfont); font-size: 14px; transition: border-color .18s; outline: none; resize: none; }
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-input.error, .form-textarea.error { border-color: oklch(55% 0.22 25); }
.form-error { font-size: 11px; color: oklch(55% 0.22 25); margin-top: 2px; }
.form-textarea { min-height: 90px; }
.order-price-estimate { justify-content: flex-end; }
.order-price-value { font-family: var(--hfont); font-size: 22px; font-weight: 700; color: var(--accent); padding: 9px 0 8px; border-bottom: 1.5px solid var(--border); }
.form-radio-group { display: flex; gap: 24px; padding: 6px 0; }
.form-radio { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; color: var(--text); }
.form-radio input[type="radio"] { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.form-disclaimer { font-size: 12.5px; color: var(--muted); line-height: 1.65; font-style: italic; margin: 14px 0 10px; }
.btn-submit { width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none; border-radius: var(--r); font-size: 15px; font-weight: 700; font-family: var(--bfont); letter-spacing: .02em; transition: opacity .2s, transform .2s; margin-top: 6px; }
.btn-submit:hover { opacity: .9; transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; transform: none; cursor: not-allowed; }
.form-success { text-align: center; padding: 20px 0; }
.form-success-icon { font-size: 40px; margin-bottom: 12px; }
.form-success h3 { font-family: var(--hfont); font-size: 22px; color: var(--text); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--muted); }

/* ── Related products ────────────────────────────────────────────────────── */
.related-section { background: var(--surface2); padding: 64px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 32px; }
.related-card { background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.related-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface2); }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 14px 16px 18px; }
.related-name { font-family: var(--hfont); font-size: 16px; color: var(--text); margin-bottom: 4px; }
.related-price { font-size: 13px; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer { background: var(--text); color: rgba(255,255,255,.82); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo { color: #fff; margin-bottom: 14px; }
.footer-tagline { font-size: 13.5px; opacity: .55; line-height: 1.65; max-width: 240px; }
.footer-col h4 { font-family: var(--hfont); font-size: 15px; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col li a { font-size: 13.5px; opacity: .55; transition: opacity .2s; }
.footer-col li a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12.5px; opacity: .35; }
.footer-startup-logo { width: 70%; height: auto; object-fit: contain; margin-top: 20px; }
.footer-badges { display: flex; align-items: center; gap: 16px; }
.footer-badges img { height: 40px; width: auto; object-fit: contain; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .related-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .ig-grid { grid-template-columns: repeat(3,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-layout { grid-template-columns: 1fr; grid-template-areas: none; gap: 24px; padding-bottom: 32px; }
  .product-header, .product-gallery, .product-details { grid-area: auto; }
  .product-gallery { position: static; }
  .product-header { gap: 8px; }
  .product-title { font-size: 26px; }
  .product-price-main { font-size: 24px; }
  .product-body { padding: 24px 0 40px; }
  .product-mobile-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -2px 16px rgba(0,0,0,.08); z-index: 100; transition: transform .25s, opacity .25s; }
  .product-mobile-cta.cta-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
  .product-mobile-cta .btn-primary { display: block; width: 100%; text-align: center; padding: 14px; font-size: 16px; }
  .product-page-main { padding-bottom: 80px; }
  .nav-right .btn-primary { display: none; }
  .form-grid { grid-template-columns: 1fr; }

  /* Nav mobile */
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  #site-nav.nav-open { background: var(--surface); backdrop-filter: none; }
  #site-nav.nav-open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; height: auto; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: 6px 0 14px; }
  #site-nav.nav-open .nav-links > li { width: 100%; height: auto; display: block; }
  #site-nav.nav-open .nav-links > li > a { display: block; padding: 11px 24px; }

  /* Mobile sub-menu */
  .nav-links .menu-item-has-children > a::after { float: right; margin-right: 8px; transition: transform .2s; }
  .nav-links .menu-item-has-children.open > a::after { transform: rotate(180deg); }
  .nav-links .menu-item-has-children.open > a { background: var(--accent-bg); }
  .nav-links .sub-menu { position: static; background: var(--surface2); border: none; border-radius: 0; box-shadow: none; backdrop-filter: none; padding: 4px 0; min-width: unset; }
  .nav-links .sub-menu::before { display: none; }
  .nav-links .sub-menu li + li { border-top: 1px solid var(--border); }
  .nav-links .sub-menu a { padding: 9px 24px 9px 40px; }
  .nav-links .menu-item-has-children.open > .sub-menu { display: block; }
}

@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .section-pad { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .product-info-strip { grid-template-columns: 1fr; }
}
