/* ═══════════════════════════════════════════════════════════════
   دیکۆراتی کەمال — Warm Atelier design system
   RTL-first · Kurdish Sorani · vanilla CSS
   ═══════════════════════════════════════════════════════════════ */

:root {
  --charcoal: #232120;
  --ink: #2c2925;
  --bone: #faf7f2;
  --paper: #ffffff;
  --beige: #e9dfd2;
  --beige-soft: #f3ece1;
  --wood: #a9805b;
  --accent: #bfa05a;
  --accent-deep: #a5884a;
  --green: #1ea85c;
  --line: rgba(35, 33, 32, 0.12);
  --line-soft: rgba(35, 33, 32, 0.07);
  --muted: rgba(44, 41, 37, 0.62);
  --shadow-sm: 0 2px 10px rgba(35, 33, 32, 0.06);
  --shadow-md: 0 10px 34px rgba(35, 33, 32, 0.13);
  --radius: 14px;
  --radius-lg: 20px;
  --font-body: 'Vazirmatn', Tahoma, Arial, sans-serif;
  --font-display: 'Noto Kufi Arabic', 'Vazirmatn', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.55; margin: 0; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
::selection { background: var(--accent); color: #fff; }

/* honeypot */
.hp-wrap { position: absolute !important; left: -9999px !important; top: -9999px !important; }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 0.95rem var(--font-body); cursor: pointer; transition: 0.22s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-dark { background: var(--charcoal); color: var(--bone); }
.btn-dark:hover { background: #3a3735; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-outline-light { border-color: rgba(250, 247, 242, 0.65); color: var(--bone); background: rgba(35, 33, 32, 0.25); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: var(--bone); color: var(--charcoal); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #178b4b; transform: translateY(-1px); }
.btn-small { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.arr { font-family: var(--font-body); }

/* ── header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft); transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: flex; flex-direction: column; line-height: 1.3; flex-shrink: 0; }
.brand-logo { max-height: 50px; width: auto; }
.brand-text { font: 700 1.35rem var(--font-display); color: var(--charcoal); }
.brand-text::after { content: '.'; color: var(--accent); }
.brand-sub { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.02em; }
.main-nav { display: flex; gap: 4px; margin-inline-start: 8px; }
.main-nav a {
  padding: 8px 13px; border-radius: 9px; font-size: 0.93rem; font-weight: 500;
  color: var(--ink); transition: 0.18s;
}
.main-nav a:hover { color: var(--accent-deep); background: var(--beige-soft); }
.main-nav a.active { color: var(--accent-deep); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: var(--ink); border: 1px solid var(--line-soft); background: var(--paper); transition: 0.18s;
}
.icon-btn:hover { color: var(--accent-deep); border-color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }

.header-search { position: relative; display: flex; align-items: center; }
.header-search .search-ico { position: absolute; inset-inline-start: 12px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.header-search input {
  width: 210px; padding: 9px 38px 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); font: 0.88rem var(--font-body);
  transition: 0.2s;
}
.header-search input:focus { outline: none; border-color: var(--accent); width: 260px; box-shadow: 0 0 0 3px rgba(191, 160, 90, 0.15); }

.suggest-box {
  position: absolute; top: calc(100% + 8px); inset-inline: 0; min-width: 300px;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft); overflow: hidden; z-index: 70; max-height: 380px; overflow-y: auto;
}
.suggest-item { display: flex; align-items: center; gap: 11px; padding: 10px 14px; transition: 0.15s; }
.suggest-item:hover { background: var(--beige-soft); }
.suggest-thumb { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line-soft); }
.suggest-swatch { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; border: 1px solid var(--line-soft); }
.suggest-label { font-size: 0.9rem; font-weight: 600; }
.suggest-sub { font-size: 0.75rem; color: var(--muted); }
.suggest-empty { padding: 14px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--charcoal); border-radius: 2px; transition: 0.25s; }

/* ── drawer (mobile) ─────────────────────────────────────── */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(35, 33, 32, 0.5); z-index: 80; opacity: 0; transition: 0.25s; }
.drawer-backdrop.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(320px, 86vw); z-index: 90;
  background: var(--bone); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
  display: flex; flex-direction: column; padding: 20px; overflow-y: auto;
}
[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer-title { font: 700 1.15rem var(--font-display); }
.drawer-close { background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--muted); padding: 6px; }
.drawer-search { display: flex; gap: 8px; margin-bottom: 18px; }
.drawer-search input { flex: 1; padding: 10px 14px; border-radius: 11px; border: 1px solid var(--line); font: 0.9rem var(--font-body); background: var(--paper); }
.drawer-search button { width: 44px; border-radius: 11px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer-search button svg { width: 18px; height: 18px; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 12px 10px; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.drawer-nav a.active { color: var(--accent-deep); font-weight: 700; }
.drawer-socials { display: flex; gap: 10px; margin-top: 20px; }
.drawer-socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-soft); }
.drawer-socials svg { width: 19px; height: 19px; }

/* ── hero ────────────────────────────────────────────────── */
.hero { position: relative; min-height: clamp(500px, 82vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--charcoal); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(12deg, rgba(28, 26, 24, 0.88) 8%, rgba(28, 26, 24, 0.35) 46%, rgba(28, 26, 24, 0.12) 75%);
}
.hero-content { position: relative; z-index: 2; padding: 70px 0 84px; color: var(--bone); max-width: 720px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font: 600 0.9rem var(--font-body); letter-spacing: 0.03em; margin-bottom: 14px; }
.hero-kicker::before { content: ''; width: 38px; height: 2px; background: var(--accent); }
.hero-title { font-size: clamp(1.75rem, 4.6vw, 3.3rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.hero-sub { font-size: clamp(0.98rem, 1.7vw, 1.15rem); color: rgba(250, 247, 242, 0.82); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption { position: absolute; z-index: 2; bottom: 26px; inset-inline-end: 40px; text-align: end; color: rgba(250, 247, 242, 0.85); font-size: 0.82rem; max-width: 300px; display: none; }
.hero-dots { position: absolute; z-index: 3; bottom: 30px; inset-inline-end: 40px; display: flex; gap: 8px; }
.hero-dots button { width: 26px; height: 4px; border-radius: 4px; border: 0; background: rgba(250, 247, 242, 0.35); cursor: pointer; transition: 0.25s; }
.hero-dots button.active { background: var(--accent); width: 40px; }

/* ── sections ────────────────────────────────────────────── */
.section { padding: 76px 0; }
.section-tint { background: var(--beige-soft); }
.section-dark { background: var(--charcoal); color: var(--bone); }
.section-dark .card, .section-dark .testimonial { background: #2d2a28; color: var(--bone); border-color: rgba(250, 247, 242, 0.08); }
.section-dark .card-text, .section-dark .card-meta, .section-dark .muted { color: rgba(250, 247, 242, 0.6); }
.section-dark .section-sub { color: rgba(250, 247, 242, 0.62); }
.section-dark .btn-ghost { border-color: rgba(250, 247, 242, 0.3); color: var(--bone); }
.section-dark .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-title { font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 800; position: relative; padding-bottom: 14px; }
.section-title::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 52px; height: 3px; border-radius: 3px; background: var(--accent); }
.section-sub { color: var(--muted); margin: 8px 0 0; font-size: 0.95rem; }

/* ── grids & cards ───────────────────────────────────────── */
.grid-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.7; background: var(--beige); display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 26, 24, 0.82), rgba(28, 26, 24, 0.05) 55%); }
.cat-name { position: absolute; bottom: 14px; inset-inline: 14px; color: #fff; font: 700 1rem var(--font-display); }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--beige-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-kicker { font-size: 0.75rem; color: var(--accent-deep); font-weight: 700; }
.card-title { font-size: 1.02rem; font-weight: 700; }
.card-title a:hover { color: var(--accent-deep); }
.card-text { font-size: 0.88rem; color: var(--muted); margin: 0; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8rem; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font: 700 1.02rem var(--font-display); color: var(--accent-deep); }
.price small { font: 500 0.72rem var(--font-body); color: var(--muted); }
.price-ask { font: 600 0.83rem var(--font-body); color: var(--muted); }
.link-more { color: var(--accent-deep); font-size: 0.85rem; font-weight: 600; margin-top: 4px; }

.badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  padding: 5px 12px; border-radius: 999px; font: 700 0.72rem var(--font-body);
}
.badge-gold { background: var(--accent); color: #fff; }
.badge-muted { background: rgba(35, 33, 32, 0.75); color: var(--bone); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; background: var(--beige-soft); border: 1px solid var(--line-soft); }
.chip-code { font-family: ui-monospace, 'Courier New', monospace; font-weight: 700; letter-spacing: 0.04em; }
a.chip:hover, .chip.active { background: var(--charcoal); color: var(--bone); border-color: var(--charcoal); }

/* palette card */
.palette-card .card-media { aspect-ratio: 16/10; }
.palette-strip { display: flex; height: 16px; }
.palette-strip span { flex: 1; }
.palette-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.8rem; }

/* shade tiles */
.grid-shades { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 16px; }
.shade-tile { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: 0.22s; display: block; }
.shade-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shade-swatch { display: block; aspect-ratio: 1/0.82; }
.shade-info { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px; }
.shade-name { font-size: 0.88rem; font-weight: 700; }
.shade-code { font-family: ui-monospace, monospace; font-size: 0.72rem; color: var(--muted); }

/* testimonials */
.grid-testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.testimonial { margin: 0; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.testimonial .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 10px; font-size: 0.95rem; }
.testimonial blockquote { margin: 0 0 14px; font-size: 0.93rem; line-height: 2; }
.testimonial figcaption { font-weight: 700; font-size: 0.86rem; }
.testimonial figcaption span { font-weight: 400; color: var(--muted); }

/* why us */
.grid-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.why-item { text-align: center; padding: 30px 20px; border-radius: var(--radius); background: rgba(250, 247, 242, 0.04); border: 1px solid rgba(250, 247, 242, 0.09); }
.why-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(191, 160, 90, 0.14); color: var(--accent); }
.why-icon svg { width: 26px; height: 26px; }
.why-item h3 { font-size: 1rem; margin-bottom: 8px; color: var(--bone); }
.why-item p { font-size: 0.85rem; color: rgba(250, 247, 242, 0.6); margin: 0; }

/* ── page hero (interior pages) ──────────────────────────── */
.page-hero { background: var(--charcoal); color: var(--bone); padding: 58px 0 50px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 20%, rgba(191, 160, 90, 0.16), transparent 70%); }
.page-hero .container { position: relative; }
.page-title { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 800; color: #fff; }
.page-sub { color: rgba(250, 247, 242, 0.68); margin: 10px 0 0; max-width: 640px; }

.breadcrumbs { background: var(--beige-soft); border-bottom: 1px solid var(--line-soft); font-size: 0.8rem; }
.breadcrumbs .container { padding-block: 11px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-deep); }
.bc-sep { color: var(--line); }
.bc-current { font-weight: 600; }

/* ── filters bar ─────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 34px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-select { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
select, input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="url"], textarea {
  font: 0.92rem var(--font-body); color: var(--ink);
  padding: 11px 15px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper);
  transition: 0.18s; max-width: 100%;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(191, 160, 90, 0.15); }
textarea { width: 100%; resize: vertical; min-height: 130px; }
label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 4px; }
.field input, .field select { width: 100%; }

/* ── detail pages ────────────────────────────────────────── */
.detail-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--beige-soft); border: 1px solid var(--line-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 76px; height: 60px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-info h1 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin-bottom: 12px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.detail-price { font: 800 1.5rem var(--font-display); color: var(--accent-deep); margin-bottom: 20px; }
.detail-price small { font: 500 0.8rem var(--font-body); color: var(--muted); }
.detail-desc { color: var(--ink); font-size: 0.95rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 10px 14px; border: 1px solid var(--line-soft); text-align: start; }
.spec-table th { background: var(--beige-soft); font-weight: 700; width: 38%; }

.prose { font-size: 0.97rem; line-height: 2.1; }
.prose img { border-radius: var(--radius); margin-block: 10px; }
.prose h2, .prose h3 { margin: 1.2em 0 0.5em; }
.prose ol, .prose ul { padding-inline-start: 22px; }
.prose a { color: var(--accent-deep); text-decoration: underline; }
.prose blockquote { border-inline-start: 3px solid var(--accent); margin: 1em 0; padding: 6px 18px; background: var(--beige-soft); border-radius: 8px; }

/* shade detail */
.shade-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.shade-big { border-radius: var(--radius-lg); min-height: 320px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.shade-big .hexlabel { position: absolute; bottom: 16px; inset-inline-start: 16px; background: rgba(255, 255, 255, 0.92); border-radius: 999px; padding: 6px 16px; font: 700 0.85rem ui-monospace, monospace; }
.info-rows { display: flex; flex-direction: column; }
.info-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 2px; border-bottom: 1px dashed var(--line-soft); font-size: 0.92rem; }
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; font-weight: 700; }
.code-imgs { display: flex; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.code-box { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px; text-align: center; }
.code-box img { max-height: 120px; margin-inline: auto; }
.code-box .lbl { font-size: 0.72rem; color: var(--muted); margin-top: 8px; }

/* before / after */
.ba-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9.5; user-select: none; touch-action: none; box-shadow: var(--shadow-md); background: var(--beige); }
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after-img { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; z-index: 3; box-shadow: 0 0 12px rgba(0, 0, 0, 0.4); }
.ba-handle::after { content: '⇄'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: #fff; color: var(--charcoal); border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; }
.ba-tag { position: absolute; top: 14px; z-index: 2; padding: 5px 14px; border-radius: 999px; font: 700 0.75rem var(--font-body); background: rgba(28, 26, 24, 0.72); color: #fff; }
.ba-tag-before { right: 14px; }
.ba-tag-after { left: 14px; }

/* masonry gallery */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry a { display: block; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; break-inside: avoid; position: relative; }
.masonry img { width: 100%; transition: transform 0.45s; }
.masonry a:hover img { transform: scale(1.04); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(22, 20, 18, 0.95); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.1); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 1.35rem; display: grid; place-items: center; transition: 0.2s; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-close { top: 20px; inset-inline-end: 20px; }
.lightbox-prev { inset-inline-start: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }

/* ── scanner page ────────────────────────────────────────── */
.scanner-card { max-width: 560px; margin-inline: auto; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); padding: 28px; }
#qrReader { border-radius: var(--radius); overflow: hidden; background: var(--charcoal); min-height: 120px; }
#qrReader video { border-radius: var(--radius); }
.scanner-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.manual-search { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.manual-search form { display: flex; gap: 10px; }
.manual-search input { flex: 1; font-family: ui-monospace, monospace; }
.scan-result { margin-top: 16px; padding: 13px 16px; border-radius: 11px; font-size: 0.9rem; display: none; }
.scan-result.err { display: block; background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; }
.scan-result.ok { display: block; background: #e8f6ee; color: #146c43; border: 1px solid #bfe5d0; }

/* ── contact ─────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-info-list { display: flex; flex-direction: column; gap: 4px; }
.ci-item { display: flex; gap: 14px; padding: 13px 4px; border-bottom: 1px dashed var(--line-soft); align-items: flex-start; }
.ci-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--beige-soft); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; }
.ci-icon svg { width: 20px; height: 20px; }
.ci-label { font-size: 0.76rem; color: var(--muted); }
.ci-value { font-weight: 700; font-size: 0.93rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); margin-top: 22px; aspect-ratio: 16/8; background: var(--beige-soft); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 0.92rem; }
.alert-success { background: #e8f6ee; color: #146c43; border: 1px solid #bfe5d0; }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; }

/* ── pagination ──────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 44px; flex-wrap: wrap; }
.page-btn { min-width: 40px; height: 40px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--paper); border: 1px solid var(--line-soft); font-size: 0.88rem; transition: 0.18s; }
.page-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.page-btn.active { background: var(--charcoal); color: var(--bone); border-color: var(--charcoal); }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }
.page-dots { align-self: center; color: var(--muted); }

/* ── footer ──────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: rgba(250, 247, 242, 0.78); margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 36px; padding: 60px 0 44px; }
.footer-col h4 { color: var(--accent); font-size: 0.95rem; margin-bottom: 18px; }
.footer-brand { font: 800 1.3rem var(--font-display); color: #fff; margin-bottom: 12px; }
.footer-brand::after { content: '.'; color: var(--accent); }
.footer-logo { max-height: 54px; width: auto; margin-bottom: 14px; }
.footer-about p { font-size: 0.87rem; line-height: 2; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(250, 247, 242, 0.07); border: 1px solid rgba(250, 247, 242, 0.1); color: var(--bone); transition: 0.2s; }
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-socials svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(250, 247, 242, 0.09); font-size: 0.8rem; }
.footer-bottom .container { padding-block: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a:hover { color: var(--accent); }

/* whatsapp float — bottom-left as requested */
.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 100;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 26px rgba(30, 168, 92, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(30, 168, 92, 0.4); animation: waPulse 2s infinite; }
@keyframes waPulse { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

/* ── reveal animations ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
}

/* ── 404 ─────────────────────────────────────────────────── */
.err-page { text-align: center; padding: 110px 20px; }
.err-code { font: 800 5rem var(--font-display); color: var(--accent); line-height: 1; }
.err-page h1 { font-size: 1.5rem; margin: 14px 0 10px; }
.err-page p { color: var(--muted); margin-bottom: 26px; }

/* ── empty state ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .ico { font-size: 2.6rem; margin-bottom: 12px; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .detail-layout, .shade-hero, .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-search { display: none; }
  .header-social { display: none; }
  .section { padding: 54px 0; }
  .hero { min-height: 74vh; }
  .hero-content { padding-bottom: 66px; }
  .hero-dots { inset-inline-end: auto; inset-inline-start: 20px; bottom: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 44px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .masonry { columns: 2 150px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { padding: 11px 18px; font-size: 0.86rem; }
}

/* print (labels are printed from the admin; keep public print clean) */
@media print {
  .site-header, .site-footer, .wa-float, .breadcrumbs, .hero-dots { display: none !important; }
}
