:root {
  color-scheme: light;
  background: #fffdf9;
  color: #271c19;
  font: 16px/1.55 "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --rust: #963923;
  --dark: #652719;
  --muted: #6e625d;
  --border: #eaded7;
  --white: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
img, iframe { max-width: 100%; }
a { color: var(--rust); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--rust); outline-offset: 4px;
}
.wrap { width: min(100% - 48px, 1080px); margin-inline: auto; }
.hero {
  color: white;
  background: linear-gradient(90deg, #1b0e0cbb 0%, #260e0877 48%, #20110c24 100%),
    url("/static/img/banner.webp") center 46% / cover #82301b;
}
.hero-inner { min-height: 205px; padding-top: 33px; display: flex; flex-direction: column; justify-content: space-between; }
.hero a { color: #fff; text-decoration: none; }
.brand { align-self: start; font-weight: 800; font-size: clamp(29px, 4vw, 40px); line-height: 1.16; letter-spacing: -.035em; }
.tagline { margin: 4px 0 auto; font-size: 15px; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 31px; align-items: center; padding-top: 24px; }
.tabs a { padding: 11px 0 9px; border-bottom: 3px solid transparent; font-weight: 620; white-space: nowrap; }
.tabs a:hover, .tabs a[aria-current] { border-color: #ffd1a6; }
.tabs .phone { margin-left: auto; }
.page { min-height: 58vh; padding: 43px 0 70px; }
h1, h2 { line-height: 1.17; letter-spacing: -.027em; }
h1 { font-size: clamp(32px, 5vw, 49px); font-weight: 680; margin: 0 0 29px; }
h2 { margin: 0 0 12px; font-size: 23px; }
p { margin: 0 0 12px; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
.card { min-width: 0; text-align: center; display: flex; flex-direction: column; }
.card-image { display: block; background: #fff; border: 1px solid #eee3de; border-radius: 8px; overflow: hidden; }
.card-image img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; display: block; }
.card-image:hover { border-color: #c3a89b; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 14px 3px 0; }
.card-copy h2 { font-size: 19px; font-weight: 670; margin: 0 0 5px; }
.card-copy h2 a { text-decoration: none; color: inherit; }
.card-copy h2 a:hover { text-decoration: underline; }
.card-copy p { margin: 0 0 7px; }
.product .price, .card .price { font-weight: 740; color: #32221a; font-variant-numeric: tabular-nums; }
.card .button { margin-top: auto; }
.button, button { cursor: pointer; font: inherit; font-weight: 680; display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 6px; padding: 8px 15px; background: var(--rust); color: white; text-decoration: none; }
.button:hover, button:hover { background: var(--dark); }
.muted, .back { color: var(--muted); font-size: 14px; }
.back { display: inline-block; margin-bottom: 15px; }
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.product-photo { width: 100%; border: 1px solid #eee3de; background: white; border-radius: 8px; display: block; }
.product h1 { margin-bottom: 10px; font-size: clamp(31px, 4vw, 43px); }
.product .price { font-size: 23px; margin-bottom: 20px; }
.order { display: grid; gap: 11px; max-width: 410px; scroll-margin-top: 15px; }
.order button, .editor button { justify-self: start; }
.order .muted { margin: 0; }
label { display: block; font-weight: 630; }
input, textarea, select { width: 100%; display: block; margin-top: 4px; border: 1px solid #cdbeb7; border-radius: 6px; padding: 8px 9px; background: white; color: inherit; font: inherit; }
input[type="checkbox"] { display: inline; width: auto; }
.screen-reader-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gallery { max-width: 900px; display: grid; gap: 18px; }
.gallery img { border-radius: 6px; display: block; }
.contact { margin-bottom: 34px; }
.map, .reviews { display: block; width: 100%; max-width: 900px; border: 1px solid var(--border); border-radius: 7px; margin-bottom: 8px; }
.map { height: min(52vh, 420px); min-height: 255px; }
.reviews { height: 560px; }
.footer { border-top: 1px solid var(--border); padding: 21px 0 28px; display: flex; flex-wrap: wrap; gap: 9px 25px; font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.feedback { padding: 10px 14px; background: #e6f2e8; border-radius: 6px; }
.error { background: #fee7e0; }
.management { margin-bottom: 24px; padding: 20px; border: 1px solid var(--border); background: #fff; border-radius: 8px; }
.check { margin-bottom: 11px; }
.entry { padding: 7px 0; border-top: 1px solid var(--border); }
.entry summary { cursor: pointer; display: flex; align-items: center; gap: 11px; }
.entry summary:before { content: "▸"; color: var(--rust); }
.entry[open] summary:before { content: "▾"; }
.entry summary img { object-fit: contain; }
.entry summary small { display: block; color: var(--muted); }
.entry summary strong { margin-left: auto; text-align: right; }
.entry.new summary { padding: 5px 0; font-weight: 700; }
.editor { display: grid; gap: 9px; max-width: 530px; margin: 12px 0; }
.remove { background: #fff; color: var(--dark); outline: 1px solid var(--border); }
.remove:hover { background: #fbece8; }
.wide { overflow-x: auto; }
table { border-collapse: collapse; text-align: left; width: 100%; font-size: 14px; }
td, th { border-bottom: 1px solid var(--border); padding: 7px 10px; }
@media (max-width: 720px) {
  .wrap { width: min(100% - 30px, 1080px); }
  .hero-inner { min-height: 180px; padding-top: 24px; }
  .tabs { gap: 0 15px; padding-top: 17px; }
  .tabs a { font-size: 14px; padding-bottom: 6px; }
  .tabs .phone { margin-left: 0; }
  .page { padding: 28px 0 48px; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 13px; }
  .card-copy h2 { font-size: 16px; }
  .product { grid-template-columns: 1fr; gap: 22px; }
}
