
:root { --font: 'Trebuchet MS', 'Segoe UI', sans-serif; --bg: #f5f0e7; --ink: #15201d; --muted: #68706c; --accent: #1f6f8b; --accent-ink: #f8fbfc; --line: #d8cfc1; --card: #fffaf0; --panel: linear-gradient(145deg, #dceef0, #fff7e7); --media: #edf4f1; --chip: #eaf4f3; --chip-ink: #1f4f5c; --table-head: #e8f2ef; --radius: 26px; --radius-lg: 42px; --radius-sm: 18px; --mark-radius: 12px; --shadow: 0 24px 60px rgba(62, 72, 67, .16); --shadow-sm: 0 12px 28px rgba(62, 72, 67, .09); }
.nomad .hero { border-bottom: 1px solid var(--line); }
.nomad .product-card:nth-child(3n+1) { transform: rotate(-.35deg); }
.nomad .product-card:nth-child(3n+2) { transform: rotate(.25deg); }

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header { width: min(1180px, calc(100% - 32px)); margin: 24px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -0.04em; }
.brand span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--mark-radius); background: var(--accent); color: var(--accent-ink); }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a, .button, .filters button { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: var(--card); color: var(--ink); font-weight: 800; }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: 34px; }
.hero h1, .page-title h1 { font-size: clamp(42px, 7vw, 84px); line-height: .9; letter-spacing: -0.08em; margin: 12px 0; max-width: 850px; }
.hero p, .page-title p { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 720px; }
.eyebrow { margin: 0; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 950; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.hero-panel { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.hero-panel strong { display: block; font-size: 72px; line-height: .9; letter-spacing: -0.08em; }
.hero-panel span { display: block; margin-top: 10px; font-weight: 900; }
.hero-panel small { display: block; margin-top: 20px; color: var(--muted); }
.sections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 48px; }
.section-tile { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 20px; min-height: 180px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); }
.section-tile span { font-size: 42px; font-weight: 950; letter-spacing: -0.08em; }
.section-tile small, .muted { color: var(--muted); line-height: 1.5; }
.block, .catalog-section { margin: 54px 0; }
.block-head { margin-bottom: 20px; }
.block-head h2 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.06em; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.product-card__media { display: grid; place-items: center; min-height: 210px; padding: 18px; background: var(--media); }
.product-card img, .detail-media img { width: 100%; height: 190px; object-fit: contain; }
.product-card__body { padding: 18px; display: flex; min-height: 250px; flex-direction: column; }
.product-card h3 { margin: 8px 0; line-height: 1.15; font-size: 19px; letter-spacing: -0.03em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips span { border: 1px solid var(--line); background: var(--chip); border-radius: 999px; padding: 7px 9px; font-size: 12px; font-weight: 850; color: var(--chip-ink); }
.page-title { padding: 76px 0 24px; }
.toolbar { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 300px 1fr; gap: 12px; align-items: start; padding: 14px 0; backdrop-filter: blur(16px); background: color-mix(in srgb, var(--bg) 84%, transparent); }
#site-search { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: 14px 16px; color: var(--ink); background: var(--card); font: inherit; font-weight: 750; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { cursor: pointer; white-space: normal; }
.filters button.is-active { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 16px; text-align: left; vertical-align: top; }
.compare-table th { background: var(--table-head); }
.product-detail { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; padding: 72px 0 34px; }
.detail-media { border: 1px solid var(--line); background: var(--media); border-radius: var(--radius-lg); padding: 30px; }
.detail-media img { height: 430px; }
.detail-copy h1 { font-size: clamp(38px, 6vw, 72px); line-height: .92; letter-spacing: -0.08em; margin: 10px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 54px; }
.facts-grid div { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius-sm); padding: 16px; }
.facts-grid span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 950; }
.facts-grid strong { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.facts { display: grid; gap: 12px; margin-top: 24px; padding: 0; list-style: none; }
.facts li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--card); }
.site-footer { width: min(1180px, calc(100% - 32px)); margin: 70px auto 30px; border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.is-hidden { display: none !important; }
.image-fallback { width: 100%; min-height: 190px; display: grid; place-items: center; color: var(--muted); font-weight: 900; text-align: center; padding: 20px; border-radius: var(--radius-sm); background: var(--media); }
@media (max-width: 980px) { .hero, .product-detail, .toolbar { grid-template-columns: 1fr; } .product-grid, .sections, .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .site-header, .site-footer { flex-direction: column; align-items: flex-start; }
  .site-header, .site-footer, main { width: calc(100% - 32px); max-width: calc(100% - 32px); }
  .page-title, .toolbar, .catalog-section, .block, .product-card, .product-detail, .facts-grid { width: calc(100vw - 32px); max-width: calc(100vw - 32px); }
  nav, .filters, .hero-actions { max-width: 100%; }
  nav a, .filters button, .button { max-width: 100%; line-height: 1.2; }
  .hero { min-height: auto; padding: 64px 0 28px; }
  .product-grid, .sections, .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .page-title h1 { font-size: 40px; line-height: .98; }
  .block-head h2 { font-size: 22px; line-height: 1.12; max-width: 320px; }
  .page-title p { font-size: 16px; line-height: 1.5; }
  .page-title p, .hero p, .block-head h2, .product-card h3, .muted { width: 100%; max-width: calc(100vw - 32px); overflow-wrap: anywhere; word-break: normal; }
  .toolbar { position: static; width: 100%; }
  .filters { display: grid; grid-template-columns: minmax(0, 1fr); width: calc(100vw - 32px); max-width: calc(100vw - 32px); overflow: hidden; }
  .filters button { width: 100%; min-width: 0; text-align: center; padding-inline: 10px; overflow-wrap: anywhere; }
  .catalog-section, .product-card, .product-card__body { min-width: 0; overflow: hidden; }
  .product-card__media { min-height: 190px; }
  .product-card img { height: 170px; }
}
