:root {
  --bg: #F7F5F0;
  --ink: #24211B;
  --accent: #8A6B48;
  --accent-dark: #6E5437;
  --line: #E5DFD1;
  --muted: #8A8479;
  --muted-2: #6B675F;
  --faint: #9A948A;
  --ok: #4E7355;
  --dark: #24211B;
  --dark-ink: #F2EEE6;
  --card-bg: #EBE5D8;
  --paper: #FCFAF6;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
::selection { background: #E8E0D4; }
img { max-width: 100%; display: block; }
h1, h2, h3, .h-serif { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }

@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page { animation: pageIn .5s ease both; }

.section { padding: 88px 6vw; }
.section--tight { padding: 56px 6vw 96px 6vw; }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section__title { font-size: 36px; margin-bottom: 8px; }
.section__lead { color: #4C463A; max-width: 560px; margin: 12px 0 36px 0; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: opacity .2s ease, border-color .2s ease, background .2s ease;
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { opacity: .88; color: #fff; }
.btn--outline { border-color: #C7BDAA; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--accent-outline { border-color: var(--accent); color: var(--accent); }
.btn--accent-outline:hover { background: #F1EBE2; }
.btn--light { border-color: rgba(253,252,250,.7); color: var(--paper); }
.btn--light:hover { background: rgba(253,252,250,.14); color: var(--paper); }

/* Top bar */
.topbar {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 10px 6vw; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted-2);
}
.topbar__group { display: flex; gap: 24px; }
.topbar a { color: var(--ink); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,245,240,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 6vw;
}
.header__logo { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.header__name { font-size: 24px; }
.header__tag { font-size: 12px; color: var(--faint); letter-spacing: .08em; }
.header__nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.header__nav a { color: var(--ink); border-bottom: 2px solid transparent; padding-bottom: 3px; }
.header__nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { padding: 9px 20px; font-size: 14px; border-color: var(--accent); color: var(--accent); }
.header__cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.header__icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid #C7BDAA; color: var(--ink);
  transition: border-color .2s ease, color .2s ease;
}
.header__icon:hover { border-color: var(--accent); color: var(--accent); }
.header__max {
  display: flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 12px; border: 1px solid #C7BDAA; color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  transition: border-color .2s ease, color .2s ease;
}
.header__max:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { position: relative; height: 76vh; min-height: 520px; background: #E9E5DE; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,15,.55) 0%, rgba(20,18,15,.15) 45%, rgba(20,18,15,0) 70%);
  display: flex; align-items: flex-end;
}
.hero__content { padding: 0 6vw 64px 6vw; max-width: 860px; }
.hero__title { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.12; color: var(--paper); margin-bottom: 16px; }
.hero__lead { color: rgba(253,252,250,.85); font-size: 18px; max-width: 560px; margin: 0 0 28px 0; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Proof strip */
.proof { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 22px 6vw; border-bottom: 1px solid var(--line); font-size: 14px; color: #4C463A; }
.proof__item { display: flex; align-items: center; gap: 10px; }
.proof__item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px 32px; }
.card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-bg); }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__hover { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.card:hover .card__hover { opacity: 1; }
.card__title { font-size: 21px; }
.card__meta { font-size: 13px; color: var(--muted); }
.card__price { font-size: 16px; font-weight: 600; margin-top: 4px; }
.card__stock { font-size: 13px; }
.stock--ok { color: var(--ok); }
.stock--accent { color: var(--accent); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 6px 10px;
}
.placeholder { width: 100%; height: 100%; background: var(--card-bg); }

/* Chips */
.chips { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 18px; font-size: 14px; font-weight: 600;
  border: 1px solid #C7BDAA; color: var(--ink); background: transparent;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--active { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.chip--active:hover { color: var(--paper); }
.chip--sm { padding: 7px 14px; font-size: 13px; }
.chips__label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(36,33,27,.2); }

/* Row list (in transit, services) */
.row-list__item {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; color: var(--ink);
}
.row-list__item:hover { background: #F4F1EC; }
.row-list__name { font-size: 20px; }
.row-list__meta { font-size: 14px; color: var(--muted); }
.row-list__status { font-size: 14px; color: var(--accent); font-weight: 600; }

/* Batch table */
.batch-table { width: 100%; border-collapse: collapse; }
.batch-table th {
  text-align: left; padding: 12px 16px 12px 0; font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--faint);
  border-bottom: 1px solid var(--line);
}
.batch-table td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.batch-cards { display: none; flex-direction: column; gap: 14px; }
.batch-card { border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.batch-card__top { display: flex; justify-content: space-between; }

/* Footer */
.footer { padding: 64px 6vw 40px 6vw; }
.footer a { color: rgba(242,238,230,.75); }
.footer a:hover { color: var(--dark-ink); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 44px; }
.footer__logo { font-size: 22px; margin-bottom: 10px; }
.footer__about { font-size: 14px; color: rgba(242,238,230,.6); max-width: 280px; margin: 0; }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__phone { color: var(--dark-ink) !important; font-weight: 600; }
.footer__bottom {
  border-top: 1px solid rgba(242,238,230,.18); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(242,238,230,.45);
}

/* Mobile action bar */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--paper); border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) 14px;
}
.mobile-bar .btn { min-height: 48px; padding: 8px 10px; }

/* Two-column feature blocks */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.split__media { aspect-ratio: 4 / 3; background: var(--card-bg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Responsive */
@media (max-width: 759px) {
  .topbar { display: none; }
  .header__nav { display: none; }
  .header__actions { display: none; }
  .header__tag { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 76px; }
  .batch-table { display: none; }
  .batch-cards { display: flex; }
  .section { padding: 56px 6vw; }
}

/* Product gallery */
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery__main { position: relative; aspect-ratio: 4 / 3; background: var(--card-bg); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery__main.zoomed { cursor: zoom-out; }
.gallery__main.zoomed img { transform: scale(2.4); }
.gallery__zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  background: rgba(252,250,246,.92); color: var(--ink);
  border: 1px solid rgba(36,33,27,.2); padding: 9px 14px;
  font-size: 13px; font-weight: 600; font-family: var(--sans);
}
.gallery__zoom:hover { border-color: var(--ink); }
.zoomed .gallery__zoom { background: var(--ink); color: var(--paper); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__thumb { border: 0; padding: 0; background: none; cursor: pointer; text-align: left; }
.gallery__thumb img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--card-bg); }
.gallery__thumb span { font-size: 12px; color: var(--muted); }

.slab-toggle { border: 0; background: none; padding: 0; margin-left: 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: underline; }
.slab-row { padding: 0 !important; border-bottom: none !important; }
.slab-row:has(> div:not(:empty)) { border-bottom: 1px solid var(--line) !important; }
.is-collapsed { display: none; }
.slab-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; padding: 0 0 20px 0; }
.slab-strip__empty { color: var(--muted); font-size: 14px; padding-bottom: 20px; }
.slab-card { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.slab-card__shot { border: 0; padding: 0; background: none; cursor: pointer; }
.slab-card__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--card-bg); display: block; }
.slab-card__placeholder { width: 100%; aspect-ratio: 4 / 3; background: var(--card-bg); }
.slab-card__title { font-weight: 700; }
.slab-card__meta { color: var(--muted-2); }
.slab-card__status { font-size: 12px; }
.slab-card__cta { font-weight: 600; }
.slab-dialog { border: 0; padding: 24px; max-width: min(900px, 92vw); background: var(--paper); }
.slab-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.slab-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.slab-dialog__close { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.slab-dialog__shots { display: grid; gap: 12px; }
.slab-dialog__shots img { width: 100%; height: auto; display: block; }
.slab-dialog__meta { color: var(--muted-2); font-size: 14px; margin: 16px 0; }
