:root {
  --ink: #2a221c;
  --muted: #6e6258;
  --bg: #f4efe8;
  --panel: #ffffff;
  --line: #e0d4c6;
  --side: #3c342e;
  --side-2: #4d453e;
  --orange: #e0703a;
  --blue: #c45d2c;
  --ok: #2f6a46;
  --danger: #a33b3b;
  --sans: "Barlow", "Segoe UI", sans-serif;
  --display: "Syne", "Arial Narrow", sans-serif;
  --dock: 248px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-left: var(--dock);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

a { color: inherit; }

h1, h2, h3, .logo-type strong, .footer-brand {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

p { margin: 0 0 0.7em; }

::selection { background: #f3c2ae; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--orange);
  color: var(--ink);
  padding: 8px 12px;
}

.skip:focus { top: 12px; }

.container {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.mobile-bar { display: none; }

.dock {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--dock);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 16px 16px;
  background: var(--side);
  color: #f3ece4;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-type { display: grid; line-height: 1; }

.logo-type strong { font-size: 1.35rem; color: #fff; }

.logo-type small {
  margin-top: 4px;
  color: #cbbbaa;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.dock-note {
  margin: 0;
  padding: 10px;
  background: var(--side-2);
  color: #d9cdc0;
  font-size: 0.86rem;
  border-left: 3px solid var(--orange);
}

.nav {
  display: grid;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  padding: 10px 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.nav a[aria-current="page"],
.nav a:hover { background: var(--orange); color: var(--ink); }

.header-search {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: auto;
  background: #fff;
  color: var(--ink);
}

.header-search input {
  border: 0;
  min-height: 44px;
  padding: 0 10px;
  width: 100%;
  background: transparent;
}

.header-search input:focus { outline: none; }

.header-search button {
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: var(--orange);
  color: var(--ink);
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-link[aria-current="page"] { outline: 2px solid #fff; }

.count {
  background: var(--ink);
  color: #fff;
  min-width: 1.6rem;
  height: 1.6rem;
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1rem;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.84rem;
}

.btn:hover { background: #ee8a5c; }

.btn-line {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-small { min-height: 38px; padding: 0.3rem 0.7rem; font-size: 0.78rem; }

.btn-block { width: 100%; }

.btn-text {
  background: none;
  border: 0;
  color: var(--danger);
  min-height: 0;
  padding: 0;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.flash {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #fff;
  border-left: 4px solid var(--blue);
}

.flash-ok { border-left-color: var(--ok); }

.flash-err { border-left-color: var(--danger); color: var(--danger); }

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.lead { font-size: 1.05rem; max-width: 42ch; }

.muted { color: var(--muted); }

.hero {
  background: var(--side);
  color: #f7f1ea;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-copy {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.88;
  max-width: 8ch;
}

.hero .lead { color: #d9cdc0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

.hero .btn-line { color: #fff; }

.hero .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-float {
  display: grid;
  gap: 2px;
  align-self: start;
  text-decoration: none;
  background: var(--orange);
  color: var(--ink);
  padding: 12px 14px;
  max-width: 280px;
}

.hero-float span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-float strong { font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  background: var(--blue);
  color: #fff;
}

.hero-stats div { padding: 16px 18px; border-right: 1px solid rgba(255, 255, 255, 0.2); }

.hero-stats dt {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.hero-stats dd { margin: 2px 0 0; font-size: 0.92rem; }

.section { padding: 42px 0; }

.section.tight { padding-top: 0; }

.section.band { background: #e8dfd4; padding: 28px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 8px;
}

.section-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }

.section-head a { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; color: var(--blue); }

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cat {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 14px 16px;
  background: var(--side);
  color: #fff;
  text-decoration: none;
  border-left: 6px solid var(--orange);
}

.cat:nth-child(even) { border-left-color: var(--blue); }

.cat strong { font-size: 1.15rem; }

.cat-line { grid-column: 1; color: #d2c4b6; font-size: 0.88rem; }

.cat small {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-family: var(--display);
  font-size: 1.6rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  display: grid;
  grid-template-columns: 132px 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 0;
}

.card.is-out { opacity: 0.72; }

.card-media {
  display: block;
  background: var(--media, #1b232e);
  min-height: 132px;
}

.card-media img,
.detail-media img,
.story-photo,
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media img { height: 100%; min-height: 148px; }

.badge {
  display: inline-block;
  margin-left: 8px;
  background: var(--ink);
  color: #fff;
  padding: 1px 6px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  min-width: 0;
}

.card-cat {
  margin: 0;
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.card h3,
.cart-name {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.05;
}

.card h3 a,
.cart-name a { color: inherit; text-decoration: none; }

.card h3 a:hover,
.cart-name a:hover { color: var(--orange); }

.card-short {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.card-row form { margin: 0; }

.price { font-weight: 800; font-variant-numeric: tabular-nums; }

.compare { color: var(--muted); font-size: 0.85rem; }

.stock-out { color: var(--danger); font-weight: 800; font-size: 0.85rem; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.story-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border: 6px solid var(--ink);
}

.story-grid h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 0.92; }

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--ink);
}

.services li {
  padding: 16px;
  background: var(--panel);
  border-right: 1px solid var(--ink);
}

.services li:last-child { border-right: 0; }

.services h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--blue); }

.visit-wrap { background: var(--orange); }

.visit {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding: 28px 0;
}

.visit h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 0.95; }

.visit .eyebrow { color: var(--ink); }

.page-head { padding: 28px 0 8px; }

.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.9;
  max-width: none;
}

.catalog {
  display: grid;
  gap: 16px;
  padding-bottom: 42px;
}

.filters h2 { margin: 0 0 8px; font-size: 1rem; }

.filters ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filters a {
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
}

.filters a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.filters span { color: var(--muted); }

.filters a[aria-current="page"] span { color: #f3c2ae; }

.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.catalog .product-grid { grid-template-columns: 1fr; }

.sort-form select { width: auto; min-width: 180px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 10px;
}

.crumbs a { color: var(--blue); }

.detail { padding: 18px 0 8px; }

.detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.detail-media {
  order: 2;
  position: sticky;
  top: 16px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1b232e;
  border: 6px solid var(--ink);
}

.detail h1 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0;
  font-size: 1.4rem;
}

.buy-row {
  display: flex;
  gap: 10px;
  align-items: end;
  margin: 14px 0;
}

.buy-row .btn { flex: 1; }

.qty-label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 700; }

.qty-input { width: 76px; text-align: center; }

.notes { margin: 8px 0 16px; padding-left: 18px; }

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 8px 0 0;
}

.specs div { border-top: 2px solid var(--ink); padding-top: 6px; }

.specs dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }

.specs dd { margin: 2px 0 0; font-weight: 700; }

.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 48px;
}

.panel,
.summary,
.receipt {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px;
}

.summary { border-top: 6px solid var(--orange); }

.summary h2,
.panel h2 { margin: 0 0 12px; font-size: 1.4rem; }

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
}

.summary-row.total {
  border-top: 2px solid var(--ink);
  padding-top: 10px;
  font-size: 1.1rem;
}

.summary .btn { margin-top: 12px; }

.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px;
}

.cart-thumb {
  display: block;
  width: 92px;
  height: 112px;
  overflow: hidden;
  background: #1b232e;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.line-total { margin-left: auto; }

.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

label,
.field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 700; }

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.65rem 0.75rem;
}

textarea { min-height: 120px; resize: vertical; padding-top: 0.7rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.wide { grid-column: 1 / -1; }

.field-error { color: var(--danger); font-weight: 600; }

.errors {
  background: #fde8e8;
  color: var(--danger);
  padding: 10px 12px;
  margin: 0 0 12px;
}

.pay-list { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }

.pay-list legend { font-weight: 800; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

.pay {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.pay:has(input:checked) {
  border-color: var(--ink);
  background: #fff;
  box-shadow: inset 4px 0 0 var(--orange);
}

.pay strong,
.pay small { display: block; }

.pay small { color: var(--muted); font-weight: 500; font-size: 0.88rem; }

.pay input { width: auto; min-height: 0; margin-top: 4px; }

.empty {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 32px 16px;
  text-align: left;
}

.empty h2 { margin: 0 0 8px; font-size: 1.8rem; }

.timeline { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  border-top: 2px solid var(--ink);
  padding: 10px 0;
}

.timeline strong { font-family: var(--display); text-transform: uppercase; }

.hours { margin: 0; padding-left: 18px; }

.hours li { margin: 6px 0; }

.receipt table { width: 100%; border-collapse: collapse; }

.receipt td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.receipt td:last-child { text-align: right; }

.receipt-meta { display: grid; gap: 4px; margin-bottom: 12px; }

.site-footer {
  background: #e8dfd4;
  color: var(--ink);
  padding: 28px 0 16px;
  border-top: 6px solid var(--orange);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.2fr;
  gap: 20px;
}

.footer-brand { margin: 0 0 6px; font-size: 1.8rem; }

.footer-title {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-footer a { display: block; text-decoration: none; margin: 3px 0; font-weight: 600; }

.site-footer a:hover { color: var(--orange); }

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .product-grid,
  .services,
  .hero-stats { grid-template-columns: 1fr 1fr; }

  .services li:nth-child(2) { border-right: 0; }

  .services li { border-bottom: 1px solid var(--ink); }
}

@media (max-width: 860px) {
  body { padding-left: 0; }

  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 25;
    background: var(--side);
    color: #fff;
    padding: 10px 12px;
  }

  .nav-toggle,
  .mobile-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    border: 0;
    background: var(--orange);
    color: var(--ink);
    min-height: 40px;
    padding: 0 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-brand {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
  }

  .dock {
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.28);
  }

  body.nav-open .dock { transform: none; }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 14, 0.45);
    z-index: 30;
  }

  .hero-grid,
  .story-grid,
  .split,
  .contact-grid,
  .detail-grid,
  .footer-grid,
  .form-grid,
  .visit,
  .cat-grid { grid-template-columns: 1fr; }

  .hero-copy { padding: 28px 18px 32px; }

  .hero h1 { max-width: none; }

  .hero-visual img { min-height: 240px; height: 280px; }

  .detail-media { order: 0; position: static; }

  .catalog .product-grid,
  .product-grid { grid-template-columns: 1fr; }

  .visit { align-items: start; }
}

@media (max-width: 640px) {
  .container { width: min(1080px, calc(100% - 24px)); }

  .services,
  .hero-stats,
  .specs,
  .footer-grid { grid-template-columns: 1fr; }

  .services li { border-right: 0; }

  .card { grid-template-columns: 104px 1fr; }

  .legal { flex-direction: column; }

  .cart-controls { flex-wrap: wrap; }

  .line-total { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dock { transition: none; }
}

@media print {
  .dock,
  .mobile-bar,
  .site-footer,
  .wa-float,
  .no-print { display: none !important; }

  body { padding: 0; background: white; }
}

.btn-wa,
.btn-wa:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: #fff;
}

.btn-wa:hover { background: #0c6b60; }

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
}

.card-actions form { margin: 0; }

.wa-float {
  position: fixed;
  z-index: 45;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  background: #128C7E;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.wa-float:hover { background: #0c6b60; color: #fff; }

.iban-card {
  margin-top: 8px;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--ink);
}

.iban-card p { margin: 0 0 10px; }

.iban-dl { display: grid; gap: 8px; margin: 0; }

.iban-dl div { display: grid; gap: 2px; }

.iban-dl dt {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.iban-dl dd { margin: 0; font-weight: 800; word-break: break-all; }
