:root {
  font-family: Arial, sans-serif;
  color: #1b1d19;
  background: #f6f6f3;
  font-synthesis: none;
  --ink: #1b1d19;
  --muted: #6b7065;
  --line: #dedfd7;
  --lime: #d5ff3f;
  scroll-padding-top: 20px;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #6a7b20;
  outline-offset: 3px;
}

.wrap { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand-block { display: flex; align-items: center; gap: 24px; }
.wordmark { font-size: 27px; font-weight: 800; letter-spacing: -1.6px; line-height: 1; }
.tagline { color: var(--muted); font-size: 12px; line-height: 1.5; }
.brand-details { display: flex; flex-direction: column; gap: 9px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; line-height: 1.5; }
.site-nav a { color: var(--muted); padding-block: 3px; }
.site-nav a[aria-current] { color: var(--ink); box-shadow: 0 2px var(--lime); }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.phone-action { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; max-width: 100%; }
.header-contacts { align-items: flex-end; text-align: right; }
.phone-link { padding: 0; border: 0; background: transparent; appearance: none; color: var(--ink); font-size: 13px; line-height: 1.4; text-align: inherit; white-space: nowrap; }
.phone-link:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.call-hours { color: var(--muted); font-size: 10px; line-height: 1.5; max-width: 100%; overflow-wrap: break-word; }
.phone-feedback { color: var(--muted); font-size: 11px; line-height: 1.5; max-width: 100%; overflow-wrap: anywhere; }
.phone-copy-input { width: 200px; max-width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.4; user-select: all; }
.phone-copy-input::selection { background: var(--lime); color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 12px 18px; border: 1px solid transparent; font-size: 12px; font-weight: 600; line-height: 1.4; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #3a4032; }
.button-outline { background: transparent; border-color: var(--line); }
.button-outline:hover { border-color: var(--ink); }
.catalog { padding-block: 35px 40px; min-height: 55vh; }
.catalog-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.catalog-heading h1 { font-size: 29px; line-height: 1.2; font-weight: 600; letter-spacing: -.8px; }
.catalog-status { color: var(--muted); font-size: 11px; line-height: 1.6; text-align: right; }
.catalog-controls { display: flex; gap: 10px; }
.search-field { flex: 1; min-width: 180px; }
.search-field input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 12px; border-radius: 0; }
.search-field input::placeholder { color: #73796d; }
.select-field { display: flex; width: 170px; min-width: 0; }
.select-field select { width: 100%; padding: 0 24px 0 12px; border: 1px solid var(--line); background: #fff; min-height: 44px; font-size: 12px; border-radius: 0; cursor: pointer; }
.sort-field { width: 185px; }
.catalog-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; }
.result-count { color: var(--muted); font-size: 11px; line-height: 1.5; }
.text-button { padding: 8px 0; border: 0; background: transparent; font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--ink); }
.catalog-notice { margin-bottom: 18px; padding: 12px 15px; border-left: 3px solid #859435; background: #ebeee0; font-size: 12px; line-height: 1.6; color: #505a3a; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: #fff; }
.product-visual { width: 100%; display: grid; place-items: center; aspect-ratio: 1.45; padding: 18px; border: 0; background: #fff; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-visual.is-bike img { object-fit: cover; }
.product-no-image { display: grid; place-items: center; min-height: 100px; color: #8a9082; font-size: 11px; }
.product-info { padding: 16px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid #f0f1eb; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; line-height: 1.5; margin-bottom: 8px; }
.product-meta span:last-child { text-align: right; }
.product-title { font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -.3px; overflow-wrap: anywhere; }
.product-title button { border: 0; padding: 0; background: transparent; font: inherit; text-align: left; }
.product-title button:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-variant { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 7px; overflow-wrap: anywhere; }
.image-note { font-size: 10px; line-height: 1.5; color: var(--muted); margin-top: 7px; }
.order-status { align-self: flex-start; color: #536229; background: #f0f4e5; font-size: 10px; padding: 5px 7px; margin-top: 13px; line-height: 1.2; }
.product-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 17px; }
.product-price { font-size: 19px; font-weight: 600; letter-spacing: -.5px; white-space: nowrap; }
.order-button { display: inline-flex; justify-content: center; align-items: center; min-height: 35px; max-width: 100%; padding: 10px 12px; border: 0; font-size: 11px; font-weight: 600; line-height: 1.3; text-align: center; background: var(--lime); color: var(--ink); }
.order-button:hover { background: #e0ff77; }
.product-order { align-items: flex-end; margin-left: auto; text-align: right; }
.order-actions { display: flex; }
.catalog-state { padding: 40px 20px; border: 1px solid var(--line); text-align: center; background: #eeefe8; }
.catalog-state h2 { font-size: 22px; font-weight: 500; line-height: 1.3; }
.catalog-state p { max-width: 440px; margin: 12px auto 20px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.price-note { margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.order-terms { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: start; gap: 20px; margin-top: 26px; padding: 19px 20px; border: 1px solid var(--line); background: #eeefe8; }
.order-terms h2 { font-size: 15px; font-weight: 600; line-height: 1.5; }
.order-terms-copy { display: grid; gap: 7px; max-width: 900px; }
.order-terms p { font-size: 12px; line-height: 1.6; }
.order-terms h3 { margin-top: 8px; font-size: 13px; line-height: 1.5; }
.order-selection { font-weight: 600; overflow-wrap: anywhere; }
.order-steps { display: grid; gap: 10px; padding-left: 20px; font-size: 13px; line-height: 1.6; }
.order-steps li > p { font-size: inherit; }
.order-contact { margin-top: 8px; }
.order-contact .phone-link { font-size: 19px; font-weight: 600; }
.order-contact .call-hours, .order-contact .order-phone-hint { font-size: 11px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; border-top: 1px solid var(--line); padding-block: 26px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.footer-name { color: var(--ink); font-weight: 600; }
.admin-link { margin-left: auto; font-size: 10px; }
.product-dialog { width: min(900px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; overflow: auto; background: #f6f6f3; color: var(--ink); }
.product-dialog::backdrop { background: #13170fbf; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 35px; height: 35px; padding: 0; border: 1px solid var(--line); background: #fff; font-size: 25px; line-height: 1; }
.dialog-close:hover { background: var(--lime); }
.dialog-layout { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-image { display: grid; place-items: center; min-height: 360px; padding: 30px; background: #fff; }
.dialog-image img { width: 100%; max-height: 350px; object-fit: contain; }
.dialog-details { display: flex; flex-direction: column; align-items: flex-start; padding: 58px 28px 30px; }
.dialog-details h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.8px; font-weight: 600; overflow-wrap: anywhere; }
.dialog-variant { margin-top: 13px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.dialog-description { margin-top: 17px; font-size: 12px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.dialog-price { margin-top: 23px; font-size: 27px; font-weight: 600; letter-spacing: -.6px; }
.dialog-details .price-note { margin-top: 10px; }
.dialog-order-terms { margin-top: 13px; font-size: 12px; line-height: 1.65; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.gallery-examples { margin-top: 19px; font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
.gallery-examples:hover { color: #536229; }
.official-source { margin-top: 21px; font-size: 10px; line-height: 1.5; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.dialog-components { padding: 24px 28px 30px; border-top: 1px solid var(--line); }
.dialog-components h3 { margin-bottom: 16px; font-size: 18px; font-weight: 600; }
.component-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.6; }
.component-table th, .component-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; white-space: pre-line; }
.component-table th { width: 34%; padding-left: 0; font-weight: 500; color: var(--muted); }
.component-table td { padding-right: 0; }

@media (max-width: 1150px) {
  .brand-block { flex-direction: column; align-items: flex-start; gap: 8px; }
  .catalog-controls { flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .select-field { width: auto; flex: 1; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 100px; }
  .phone-link { font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-price { font-size: 21px; }
  .product-info { padding: 18px; }
  .dialog-details { padding: 58px 22px 25px; }
  .dialog-image { min-height: 300px; padding: 20px; }
  .dialog-details h2 { font-size: 24px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .header { align-items: flex-start; gap: 17px; padding-block: 23px 20px; flex-direction: column; }
  .brand-block { gap: 9px; }
  .wordmark { font-size: 27px; }
  .tagline { font-size: 11px; }
  .header-contacts { width: 100%; align-items: flex-start; text-align: left; }
  .phone-link { font-size: 13px; }
  .catalog { padding-top: 25px; }
  .catalog-heading { flex-direction: column; align-items: flex-start; gap: 9px; margin-bottom: 19px; }
  .catalog-heading h1 { font-size: 27px; }
  .catalog-status { text-align: left; font-size: 10px; }
  .catalog-controls { gap: 8px; }
  .search-field input { font-size: 11px; height: 42px; }
  .select-field { flex-basis: calc(50% - 4px); }
  .select-field select { min-height: 41px; font-size: 11px; }
  .sort-field { flex-basis: 100%; }
  .catalog-summary { min-height: 42px; }
  .result-count, .text-button { font-size: 10px; }
  .product-grid { grid-template-columns: 1fr; gap: 13px; }
  .product-visual { aspect-ratio: 1.6; padding: 22px; }
  .product-info { padding: 17px 19px 19px; }
  .product-title { font-size: 18px; }
  .product-price { font-size: 23px; }
  .order-button { padding: 11px 17px; font-size: 12px; }
  .order-status { margin-top: 12px; }
  .product-bottom { padding-top: 15px; }
  .catalog-state { padding: 30px 18px; }
  .catalog-state h2 { font-size: 20px; }
  .catalog-state p { font-size: 12px; }
  .price-note { font-size: 10px; }
  .order-terms { grid-template-columns: 1fr; gap: 10px; padding: 17px 18px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 22px; }
  .admin-link { margin-left: 0; }
  .product-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-image { min-height: 230px; max-height: 280px; padding: 35px 22px 20px; }
  .dialog-image img { height: 210px; }
  .dialog-details { padding: 25px 22px 28px; }
  .dialog-details h2 { font-size: 26px; }
  .dialog-components { padding: 22px; }
  .component-table { font-size: 11px; }
  .component-table th { width: 38%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
