:root {
  --bg: #fffdf7;
  --surface: #fbf7ef;
  --surface-soft: #e9ddc9;
  --ink: #28241f;
  --muted: #756b5e;
  --line: #d8c9b2;
  --line-strong: #b9a68c;
  --accent: #6e563e;
  --accent-ink: #fffaf2;
  --accent-soft: #e4d4bc;
  --warm: #a76d3d;
  --warm-soft: #eed8ba;
  --danger: #9f4b3f;
  --success: #416a4e;
  --max: 1240px;
  --radius: 18px;
  --radius-small: 10px;
  --shadow-soft: 0 24px 70px -45px rgba(22, 28, 24, .45);
  --shadow-card: 0 18px 45px -30px rgba(22, 28, 24, .38);
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Manrope", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px; }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }

.topbar { position: sticky; top: 0; z-index: 20; min-height: 82px; border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); background: color-mix(in srgb, var(--bg) 91%, transparent); backdrop-filter: blur(18px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; font-size: 14px; font-weight: 700; letter-spacing: .14em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .1em; }
.logo-placeholder { width: 40px; height: 40px; object-fit: contain; }
.links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 12px; }
.links a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.links a:hover { color: var(--accent); border-color: var(--accent); }
.tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 88px; }
.tools > a { position: relative; display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 999px; transition: background .2s ease, transform .2s ease; }
.tools > button { position: relative; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.tools > button:hover { background: var(--surface); transform: translateY(-2px); }
.tools > a:hover { background: var(--surface); transform: translateY(-2px); }
.tools svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.bag { margin-right: 2px; }
.badge { position: absolute; right: -1px; top: 1px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 9px; font-weight: 700; }

.hero { position: relative; min-height: min(760px, calc(100vh - 82px)); display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 7vw, 110px); align-items: center; padding: 86px 0 92px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 540px; height: 540px; right: -150px; top: -220px; border-radius: 50%; background: var(--accent-soft); filter: blur(1px); opacity: .58; }
.hero-copy { position: relative; z-index: 1; }
.kicker, .label { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin: 22px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7.3vw, 112px); font-weight: 400; letter-spacing: -.075em; line-height: .92; text-wrap: balance; }
.hero-copy > p { max-width: 430px; color: var(--muted); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .03em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px var(--accent); background: #263d33; }
.slide { margin-top: 44px; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.hero-art { position: relative; z-index: 1; min-height: 480px; display: grid; place-items: center; border-radius: 32px; background: linear-gradient(145deg, #e7e8e2, #d4d8d0); box-shadow: var(--shadow-soft); overflow: hidden; }
.hero-art::before { content: ""; position: absolute; width: 80%; height: 62%; border-radius: 50%; background: rgba(255, 255, 255, .55); filter: blur(24px); transform: rotate(-22deg); }
.camera { position: relative; width: min(75%, 420px); aspect-ratio: 1.48; border-radius: 25px 25px 34px 34px; background: linear-gradient(145deg, #f3f3ed 0%, #afb2aa 46%, #747a73 100%); box-shadow: 22px 30px 35px rgba(34, 39, 35, .25); transform: rotate(-5deg); }
.camera::before { content: ""; position: absolute; left: 8%; right: 8%; top: 11%; height: 15%; border-radius: 6px; background: linear-gradient(90deg, #eef0e9 0 22%, #373c38 22% 69%, #cdd1c9 69%); }
.camera::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; left: 33%; top: 40%; border: 12px solid #59605a; border-radius: 50%; background: radial-gradient(circle at 42% 35%, #a6b8ae 0 8%, #26332e 9% 30%, #111713 31% 100%); box-shadow: inset 0 0 0 7px #242a26; }

.section { padding: 104px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { margin: 9px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 74px); font-weight: 400; letter-spacing: -.07em; line-height: .98; }
.all { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) 220px auto; gap: 12px; margin-bottom: 20px; }
.catalog-toolbar input, .catalog-toolbar select { min-height: 50px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.catalog-toolbar .btn { min-height: 50px; border-radius: 999px; margin: 0; }
.catalog-tabs { display: flex; gap: 20px; overflow-x: auto; margin-bottom: 30px; padding: 2px 1px 9px; scrollbar-width: thin; white-space: nowrap; }
.tab-link { flex: 0 0 auto; min-height: 42px; padding: 7px 1px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.tab-link:hover, .tab-link.active { color: var(--ink); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product { min-width: 0; }
.photo { position: relative; height: 320px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: var(--surface-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product:hover .photo img { transform: scale(1.035); }
.product:hover { transform: translateY(-2px); transition: transform .25s ease; }
.status { position: absolute; left: 15px; bottom: 14px; color: var(--success); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; }
.product-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 2px 0; }
.product-info h3 { margin-bottom: 8px; font-size: 15px; font-weight: 700; line-height: 1.25; }
.spec { color: var(--muted); font-size: 11px; line-height: 1.5; }
.price { color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; text-align: right; }
.price del { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 500; }
.add-to-cart { min-height: 40px; margin-top: 10px; padding: 0 12px; border: 1px solid var(--accent); border-radius: 999px; background: transparent; color: var(--accent); font-size: 11px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.add-to-cart:hover { transform: translateY(-1px); background: var(--accent); color: var(--accent-ink); }
.catalog-pages { display: flex; justify-content: center; gap: 8px; padding: 36px 0 0; }
.catalog-pages button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.catalog-pages button.active, .catalog-pages button:hover { background: var(--accent); color: var(--accent-ink); }
.catalog-empty { grid-column: 1 / -1; padding: 52px 0; color: var(--muted); }
.cart-recheck { color: var(--success); font-size: 13px; }
.cart-alert { margin: 18px 0; padding: 16px 18px; border: 1px solid #d4a77d; border-radius: 14px; background: #f6e4cf; color: #68472e; }
.cart-alert p { margin: 7px 0 0; }
.cart-line button:disabled,.checkout-form button:disabled { opacity: .45; cursor: not-allowed; }
.search-panel { position: fixed; inset: 0; z-index: 50; display: grid; place-items: start center; padding: min(12vh,100px) 20px 30px; background: rgba(35,29,23,.48); backdrop-filter: blur(8px); }
.search-dialog { width: min(760px,100%); max-height: min(78vh,740px); overflow: auto; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px,4vw,38px); background: var(--surface); box-shadow: 0 32px 100px rgba(35,29,23,.25); }
.search-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.search-dialog h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(27px,4vw,42px); font-weight: 400; }
.search-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.search-results { display: grid; gap: 9px; margin-top: 20px; }
.search-result { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.search-result img,.search-result .mini { width: 64px; height: 64px; border-radius: 9px; object-fit: cover; }
.search-result .mini { transform: none; }
.search-result strong { display: block; font-size: 14px; }
.search-result small { color: var(--muted); }
.search-status { color: var(--muted); padding: 12px 0; }
.route-page { display: none; }
.route-page.is-active { display: block; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0,1fr); background: #fffdf7; color: #2c2925; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 26px 18px; background: #24211f; color: #f5efe5; }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 34px; font-weight: 800; letter-spacing: .12em; }
.admin-brand img { width: 34px; height: 34px; border-radius: 9px; background: #f5efe5; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: #a9a39a; font-size: 13px; }
.admin-nav a:hover,.admin-nav a.active { background: #3d3731; color: #fffaf2; }
.admin-sidebar-foot { margin-top: auto; padding: 18px 10px 0; border-top: 1px solid #433d36; color: #928b81; font-size: 11px; line-height: 1.5; }
.admin-main { min-width: 0; padding: clamp(24px,4vw,52px); }
.admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.admin-top h1 { margin: 0 0 7px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(38px,4.6vw,68px); letter-spacing: -.07em; line-height: 1; }
.admin-top p { margin: 0; color: #7d7468; font-size: 13px; }
.admin-user { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #d3c6b4; border-radius: 999px; background: #f8f2e9; font-size: 12px; white-space: nowrap; }
.admin-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #84694e; color: #fff; font-size: 11px; font-weight: 800; }
.quick-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
.quick-stat { padding: 19px; border: 1px solid #d8ccbc; border-radius: 15px; background: #f9f4eb; box-shadow: 0 12px 30px -26px #32291f; }
.quick-stat-label { color: #81776a; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.quick-stat-value { display: block; margin-top: 10px; font-size: clamp(22px,2.5vw,32px); font-weight: 800; letter-spacing: -.04em; }
.quick-stat-note { display: block; margin-top: 7px; color: #958a7b; font-size: 11px; }
.admin-panel { border: 1px solid #d8ccbc; border-radius: 16px; background: #f9f4eb; box-shadow: 0 18px 50px -38px #32291f; overflow: hidden; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 20px; border-bottom: 1px solid #e1d7ca; }
.admin-panel-head h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: 24px; font-weight: 400; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 9px; padding: 15px 20px; border-bottom: 1px solid #e1d7ca; }
.admin-filters input,.admin-filters select { min-height: 40px; padding: 0 12px; border: 1px solid #d4c6b4; border-radius: 8px; background: #fffaf2; color: #2c2925; font-size: 12px; }
.admin-filters input { min-width: min(320px,100%); flex: 1; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 12px; }
.admin-table th { padding: 12px 20px; color: #877b6e; font-size: 10px; letter-spacing: .1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 14px 20px; border-top: 1px solid #e7ded2; white-space: nowrap; }
.admin-table tbody tr:hover { background: #f3eadc; }
.admin-product { font-weight: 700; }
.admin-product small { display: block; margin-top: 3px; color: #918676; font-weight: 500; }
.status-chip { display: inline-flex; align-items: center; min-height: 25px; padding: 0 8px; border-radius: 999px; background: #e7dfd2; color: #716555; font-size: 10px; font-weight: 800; }
.status-chip.published,.status-chip.paid { background: #dce9dc; color: #416a4e; }
.status-chip.draft,.status-chip.pending { background: #f1dfc7; color: #87592f; }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-top: 1px solid #e1d7ca; color: #897d70; font-size: 11px; }
.admin-pagination button { min-width: 38px; min-height: 38px; border: 1px solid #d4c6b4; border-radius: 8px; background: transparent; cursor: pointer; }
.admin-pagination button:hover:not(:disabled) { background: #e8dccb; }
.admin-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.admin-error { padding: 28px; color: #9f4b3f; }
.not-found-page { min-height: calc(100vh - 82px); display: grid; place-items: center; padding: 60px 20px; text-align: center; background: var(--bg); }
.not-found-art { position: relative; width: 180px; height: 150px; margin: 0 auto 24px; }
.not-found-camera { position: absolute; left: 10px; bottom: 18px; width: 158px; height: 92px; border-radius: 19px; background: #886f55; box-shadow: 12px 18px 0 #d6c1a5; transform: rotate(-7deg); }
.not-found-camera::after { content: "?"; position: absolute; left: 59px; top: 17px; width: 48px; height: 48px; display: grid; place-items: center; border: 7px solid #f5ead8; border-radius: 50%; color: #f5ead8; font: 700 26px Georgia,serif; }
.not-found-spark { position: absolute; color: var(--warm); font-size: 29px; animation: float-spark 2.8s ease-in-out infinite; }
.not-found-spark.one { right: 3px; top: 5px; }.not-found-spark.two { left: -4px; top: 1px; animation-delay: .7s; }
@keyframes float-spark { 50% { transform: translateY(-7px) rotate(10deg); opacity: .55; } }
.not-found-page h1 { margin: 0 0 12px; font-size: clamp(46px,8vw,90px); }
.not-found-page p { max-width: 440px; margin: 0 auto 22px; color: var(--muted); }
.not-found-search { display: flex; max-width: 480px; margin: 0 auto 13px; gap: 8px; }
.not-found-search input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.not-found-search button { min-height: 50px; padding: 0 19px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.product-page { padding-bottom: 100px; }
.product-page .detail-grid { max-width: 1180px; margin: 0 auto; }
.product-page .detail-actions { position: sticky; bottom: 14px; z-index: 10; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb,var(--surface) 90%,transparent); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -28px #30271f; }
.product-page .detail-actions .add-to-cart { min-height: 50px; padding-inline: 24px; background: var(--accent); color: var(--accent-ink); }
.quantity-picker { display: inline-flex; align-items: center; min-height: 50px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.quantity-picker button { width: 44px; height: 48px; border: 0; background: transparent; cursor: pointer; }
.quantity-picker span { min-width: 28px; text-align: center; font-weight: 800; }
.product-below { max-width: 1180px; margin: 72px auto 0; }
.product-below-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.product-info-panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-info-panel h2 { margin: 0 0 18px; font-family: Georgia,"Times New Roman",serif; font-size: 30px; font-weight: 400; }
.review-placeholder { padding: 16px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 13px; }
.related-rail { display: flex; gap: 16px; overflow-x: auto; padding: 2px 0 18px; scroll-snap-type: x mandatory; }
.related-rail .product { flex: 0 0 260px; scroll-snap-align: start; }
@media (max-width: 900px) { .admin-shell { grid-template-columns: 76px minmax(0,1fr); } .admin-sidebar { padding: 22px 10px; align-items: center; } .admin-brand { padding: 0 0 30px; } .admin-brand span,.admin-nav a span,.admin-sidebar-foot { display:none; } .admin-nav a { width:46px; justify-content:center; padding:0; } .quick-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) { .admin-shell { display:block; } .admin-sidebar { position: static; height:auto; flex-direction:row; align-items:center; padding:10px 14px; } .admin-brand { padding:0; margin-right:auto; } .admin-nav { display:flex; gap:3px; } .admin-nav a { width:40px; min-height:40px; } .admin-main { padding:22px 14px 40px; } .admin-top { display:block; } .admin-user { margin-top:16px; } .quick-stats { gap:8px; } .quick-stat { padding:14px; } .product-below-grid { grid-template-columns:1fr; } .product-page .detail-actions { margin-inline:-8px; } .not-found-search { flex-direction:column; } .not-found-search button { width:100%; } }
.catalog-skeleton { min-height: 260px; border-radius: var(--radius); background: linear-gradient(100deg, #eee9de 20%, #fffdf7 40%, #eee9de 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.product-rail { position: relative; }
.rail-heading { display: flex; justify-content: flex-end; gap: 10px; margin: -8px 0 14px; }
.rail-arrow { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.rail-arrow:hover:not(:disabled) { transform: translateY(-2px); background: var(--accent); color: var(--accent-ink); }
.rail-arrow:disabled { opacity: .38; cursor: default; }
.rail-track { display: flex; gap: 18px; overflow-x: auto; padding: 2px 1px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.rail-track > .product { flex: 0 0 calc((100% - 54px) / 4); min-width: 230px; scroll-snap-align: start; }
.rail-dots { display: flex; justify-content: center; gap: 7px; padding-top: 12px; }
.rail-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--line-strong); cursor: pointer; }
.rail-dot[aria-current="true"] { width: 23px; border-radius: 999px; background: var(--accent); }

.cms-section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.cms-section h2 { margin-bottom: 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 5vw, 68px); font-weight: 400; letter-spacing: -.07em; line-height: 1; }
.cms-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cms-card { min-height: 170px; padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.cms-card h3 { margin-bottom: 10px; font-size: 17px; font-weight: 700; }
.cms-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.footer { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; padding: 70px 0 36px; }
.footer-brand { font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.footer-logo { width: 62px; height: 62px; margin-bottom: 17px; object-fit: contain; }
.footer p { margin: 8px 0 0; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .03em; }
.footer h4 { margin: 0 0 15px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer a { display: block; min-height: 32px; margin-bottom: 8px; font-size: 12px; }
.footer a:hover { color: var(--accent); }
.social { display: flex; gap: 8px; margin: 10px 0; }
.social a { display: grid; place-items: center; width: 32px; min-height: 32px; margin: 0; border: 1px solid var(--line); border-radius: 50%; }
.copy { border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted); font-size: 10px; }

@media (max-width: 980px) {
  .links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 72px 0; }
  .hero-art { min-height: 390px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-track > .product { flex-basis: min(72vw, 310px); min-width: 0; }
  .footer { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer > :last-child { grid-column: 2 / -1; }
}
@media (max-width: 680px) {
  .wrap { width: min(var(--max), calc(100% - 36px)); }
  .topbar, .nav { min-height: 72px; }
  .brand { min-width: 0; font-size: 12px; }
  .logo-placeholder { width: 36px; height: 36px; }
  .hero { padding: 54px 0 62px; }
  .hero-art { min-height: 300px; border-radius: 22px; }
  .camera { width: 78%; }
  .section { padding: 72px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .catalog-toolbar { grid-template-columns: 1fr 1fr; }
  .catalog-toolbar input { grid-column: 1 / -1; }
  .search-panel { padding: 16px 12px; align-items: start; }
  .search-dialog { max-height: calc(100dvh - 32px); border-radius: 18px; padding: 18px; }
  .search-form { flex-direction: column; }
  .search-form .btn { width: 100%; }
  .search-result { grid-template-columns: 52px minmax(0,1fr); }
  .search-result .add-to-cart { grid-column: 1 / -1; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
  .photo { height: 210px; border-radius: 14px; }
  .product-info { display: block; }
  .price { margin-top: 10px; text-align: left; }
  .add-to-cart { width: 100%; }
  .cms-cards { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer > :first-child { grid-column: 1 / -1; }
  .footer > :last-child { grid-column: auto; }
}
@media (max-width: 430px) {
  .cms-cards { grid-template-columns: 1fr; }
  .tools { gap: 8px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
