.by-page {
  --by-rule: var(--rule, #d9d9d9);
  --by-muted: #595959;
  --by-gutter: var(--pad, clamp(20px, 6vw, 96px));
  color: var(--ink, #202020);
  background: var(--paper, #fff);
  font-family: var(--sans, Arial, sans-serif);
  padding-block-end: clamp(60px, 8vw, 130px);
}
.by-page [hidden] { display: none !important }
.by-wrap { width: min(calc(100% - 2 * var(--by-gutter)), 1330px); margin-inline: auto }
.by-page h1,.by-page h2,.by-page h3 { font-family: var(--display, "Times New Roman", serif); font-weight: var(--display-weight, 700); letter-spacing: .005em; line-height: 1.13; margin: 0 }
.by-page p { margin: 0; line-height: 1.65 }
.by-page h1 { font-size: clamp(2rem, 3.15vw, 2.75rem); text-wrap: balance }
.by-page h2 { font-size: clamp(1.45rem, 2.12vw, 1.875rem); text-wrap: balance }
.by-page button,.by-page input,.by-page textarea { font: inherit }
.by-page img { display: block; max-width: 100% }
.by-page-intro { padding-block: clamp(40px, 5.4vw, 76px) clamp(27px, 3.4vw, 46px) }
.by-page .by-kicker,.by-page .by-identifier { font: 450 .8125rem/1.5 var(--sans, Arial, sans-serif); letter-spacing: .10em; text-transform: uppercase }
.by-page .by-kicker { color: var(--accent, #252525); margin: 0 0 16px }
.by-page .by-identifier { margin-top: 18px; color: var(--by-muted); letter-spacing: .065em }
.by-filters { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2.6vw, 40px); border-bottom: 1px solid var(--by-rule); margin-bottom: 30px }
.by-filters button { color: var(--by-muted); border: 0; border-bottom: 1px solid transparent; background: transparent; padding: 14px 0 12px; font-size: .94rem; cursor: pointer }
.by-filters button[aria-pressed=true] { color: var(--accent, #252525); border-bottom-color: currentColor; font-weight: 550 }
.by-catalog { background: #fff }
.by-catalog .by-wrap { width: calc(100% - 2 * clamp(14px, 2.4vw, 54px)); max-width: 1840px }
.by-catalog .by-page-intro { padding-block: clamp(32px, 4vw, 62px) clamp(16px, 2vw, 32px) }
.by-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 6px; align-items: start }
.by-catalog-item { display: block; min-width: 0; color: inherit; text-decoration: none }
.by-catalog-photo { overflow: hidden; background: #ededed; width: 100%; aspect-ratio: 2 / 3 }
.by-catalog-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease }
.by-catalog-item:hover .by-catalog-photo img { transform: scale(1.018) }
.by-catalog-item h2 { font: 400 clamp(.875rem, 1vw, 1rem)/1.4 var(--sans, Arial, sans-serif); letter-spacing: 0; text-wrap: wrap; margin: 9px 0 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden }
.by-catalog-item:hover h2,.by-catalog-item:focus-visible h2 { text-decoration: underline; text-underline-offset: .2em }
.by-text-action,.by-back,.by-line-button { display: inline-block; color: inherit; font-family: var(--sans, sans-serif); font-size: .90rem; font-weight: 500; line-height: 1.45; padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; text-decoration: none; background: none }
.by-text-action:hover,.by-back:hover,.by-line-button:hover { color: var(--accent, #252525) }
.by-empty { padding: 64px 0; color: var(--by-muted) }
.by-empty button { cursor: pointer; margin-top: 16px }
.by-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
.by-crumb { display: flex; gap: 12px; flex-wrap: wrap; font-size: .875rem; line-height: 1.45; color: var(--by-muted); padding: 25px 0 }
.by-crumb a { color: inherit; text-underline-offset: 4px }
.by-product-layout { display: grid; grid-template-columns: minmax(0, 1.09fr) minmax(0, .94fr); gap: clamp(38px, 7vw, 115px); align-items: start }
.by-product-info { padding-top: clamp(12px, 3vw, 55px) }
.by-product-info h1 { font-size: clamp(2rem, 3vw, 2.75rem); max-width: 19ch }
.by-gallery-main { width: 100%; height: auto; object-fit: contain; aspect-ratio: 2 / 3; max-height: 78svh; background: #ededed }
.by-gallery-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 11px; max-width: 540px }
.by-gallery-thumbs button { cursor: pointer; padding: 2px; border: 1px solid transparent; background: transparent }
.by-gallery-thumbs button[aria-pressed=true] { border-color: var(--accent, #252525) }
.by-gallery-thumbs img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover }
.by-page .by-product-summary { margin: 28px 0 25px; color: var(--by-muted); max-width: 44ch }
.by-specs { margin: 0 0 14px; border-block-start: 1px solid var(--by-rule) }
.by-specs div { display: grid; grid-template-columns: minmax(65px, .6fr) 1fr; align-items: center; border-block-end: 1px solid var(--by-rule); padding: 13px 0 }
.by-specs dt { color: var(--by-muted) }.by-specs dd { margin: 0; display: flex; align-items: center; gap: .65rem }
.by-swatch { display: inline-block; height: 15px; width: 15px; background: #212537; border-radius: 50%; border: 1px solid #282735 }
.by-button { padding: 10px 20px; min-height: 44px; background: transparent; color: var(--ink, #202020); border: 1px solid #8b8b8b; display: inline-flex; align-items:center; justify-content:center; text-decoration:none; font: 500 .90rem/1.35 var(--sans, sans-serif); cursor: pointer }
.by-product-info .by-button { margin: 23px 0 29px }.by-button:hover { background: var(--accent, #252525); border-color: var(--accent, #252525); color: white }
.by-fabric { border-top: 1px solid var(--by-rule); padding-top: 22px }.by-fabric h2 { font-size: clamp(1.25rem, 1.7vw, 1.5rem) }.by-fabric p { margin-top: 10px; color: var(--by-muted) }
.by-measures { padding-top: clamp(50px, 7vw, 110px); scroll-margin-top: 68px }
.by-table-scroll { overflow-x: auto; max-width: 100%; margin-top: 25px }
.by-page table { border-collapse: collapse; width: 100%; min-width: 580px; font-size: .95rem }
.by-page th,.by-page td { padding: 15px 10px; text-align: center; border-bottom: 1px solid var(--by-rule); font-variant-numeric: tabular-nums }
.by-page th:first-child,.by-page td:first-child { text-align: left; padding-left: 0 }
.by-page table thead { color: var(--by-muted); border-block-start: 1px solid var(--by-rule) }
.by-page th { font-weight: 550 }
.by-choice-page .by-page-intro>p:last-child { margin-top: 20px; color: var(--by-muted) }
.by-choices { border-block: 1px solid var(--by-rule); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) }
.by-choices:has([hidden]) { grid-template-columns: repeat(2,minmax(0,1fr)) }
.by-choice { display: flex; flex-direction: column; align-items: start; padding: clamp(30px, 3vw, 48px) clamp(20px, 2.8vw, 44px); color: inherit; text-decoration: none; border-right: 1px solid var(--by-rule) }
.by-choice:first-of-type,.by-choice[hidden]+.by-choice { padding-left: 0 }.by-choice:last-child { border-right: 0 }
.by-choice h2 { font-size: clamp(1.45rem, 2vw, 1.75rem) }.by-choice p { margin: 17px 0 23px; color: var(--by-muted) }.by-choice .by-text-action { margin-top: auto }.by-choice:hover .by-text-action { color: var(--accent, #252525) }
.by-form-view { padding-top: 32px }.by-form-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.13fr); gap: clamp(35px,8vw,130px); margin-top: clamp(32px, 5.2vw, 82px) }
.by-form-aside h1 { font-size: clamp(2rem, 3.1vw, 2.75rem) }.by-form-aside>p:not(.by-kicker) { color: var(--by-muted); margin-top: 20px; max-width: 36ch }
.by-reference { display: flex; align-items:center; gap: 16px; text-decoration:none; color: inherit; margin-top: 23px; font-size: .9rem }.by-reference img { width: 64px; height: 86px; object-fit: cover }
.by-form { display: grid; gap: 18px; align-content: start; padding-top: 3px }.by-field { display: grid; gap: 7px; align-content: start; min-width:0 }.by-field span { font-size: .92rem; font-weight: 500 }.by-field input,.by-field textarea { width: 100%; padding: 10px 12px; font-size: 16px; min-height: 45px; border: 1px solid #bdbdbd; border-radius:0; background:#fff; color:var(--ink, #202020); box-sizing:border-box }.by-field textarea { resize:vertical }.by-field input[type=file] { padding:10px; font-size:.9rem }
.by-form-fields { border:0; margin:0; padding:0; min-width:0; display:grid; gap:18px }
.by-duo { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px }.by-status,.by-hint,.by-field-rule { color:var(--by-muted); font-size:.9rem }.by-form .by-hint { margin-top:-11px }
.by-form .by-status { overflow-wrap:anywhere; padding-top:13px; border-top:1px solid var(--by-rule) }
.by-form .by-status:empty { position:absolute; width:1px; height:1px; padding:0; border:0; overflow:hidden }
.by-form .by-button { justify-self:start }.by-form .by-button:disabled { cursor:default; opacity:.7 }
@media (max-width:680px) {
  .by-page { --by-gutter:var(--pad,20px) }.by-page h1,.by-product-info h1,.by-form-aside h1{font-size:clamp(1.75rem,7vw,2rem)}.by-page-intro { padding-top:42px }.by-product-layout,.by-form-layout {grid-template-columns:minmax(0,1fr);gap:24px}
  .by-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 5px }
  .by-filters{gap:0 16px;margin-bottom:18px}.by-filters button{padding-block:10px;font-size:.87rem}
  .by-crumb{font-size:.8rem;padding-block:17px}.by-gallery-main{max-height:67svh}.by-product-info{padding-top:6px}.by-gallery-thumbs{gap:4px}.by-measures{padding-top:46px}
  .by-choices,.by-choices:has([hidden]){grid-template-columns:1fr}.by-choice,.by-choice:first-of-type{padding:23px 0;border-right:0}.by-choice+.by-choice{border-top:1px solid var(--by-rule)}.by-choice[hidden]+.by-choice{border-top:0}
  .by-choice p{margin:10px 0 16px}.by-form-view{padding-top:23px}.by-duo{grid-template-columns:1fr}.by-form-layout{margin-top:33px;gap:34px}
}
@media (prefers-reduced-motion:reduce){.by-catalog-photo img{transition:none}}
