.tw-page { margin: 0; color: #18181b; }
.tw-section, .tw-section *, .tw-dialog, .tw-dialog * { box-sizing: border-box; }
.tw-section { width: min(1200px, calc(100% - 40px)); margin: 56px auto; color: #18181b; scroll-margin-top: 18px; }
.tw-page .tw-section { margin-top: 25px; }
.tw-intro { background: #18181b; color: white; padding: clamp(25px, 5vw, 54px); border-radius: 15px; }
.tw-intro h1, .tw-intro h2 { color: white; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.12; font-weight: 900; margin: 0; }
.tw-intro p { font-size: 1rem; line-height: 1.65; margin: 12px 0 0; color: #ebe5da; }
.tw-intro .tw-kicker { margin: 0 0 11px; color: #f0b969; font-weight: 700; }
.tw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; }
.tw-button { min-height: 44px; padding: 11px 16px; display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 7px; background: #e9a64b; color: #18181b; font-weight: 800; text-decoration: none; line-height: 1.4; }
.tw-button:hover { background: #ffbb60; color: #18181b; }
.tw-secondary { background: #fff; border-color: #dcd3c5; }
.tw-secondary:hover { background: #f5e9d8; }
.tw-intro .tw-secondary { color: #fff; background: transparent; border-color: #a89b8d; }
.tw-intro .tw-secondary:hover { background: #383230; }
.tw-hero-link { display: inline-flex; min-height: 44px; align-items: center; padding: 5px 15px; color: #ffd39b; font-weight: 800; border: 1px solid #e9a64b; border-radius: 7px; text-decoration: none; }
.tw-hero-link:hover { background: #e9a64b; color: #18181b; }
.tw-brand-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.tw-brand-card { display: flex; flex-direction: column; background: #fff; color: #18181b; text-decoration: none; border: 1px solid #e2ddd4; border-radius: 11px; overflow: hidden; }
.tw-brand-card:hover { color: #18181b; border-color: #a76c1f; }
.tw-cover { display: block; aspect-ratio: 1.48; position: relative; overflow: hidden; background: #eee9e0; }
.tw-cover img { display: block; position: absolute; top: 50%; left: 0; width: 205%; max-width: none; height: auto; transform: translateY(-50%); }
.tw-cover-top-right img { top: -3%; left: -105%; transform: none; }
.tw-brand-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 13px; }
.tw-brand-copy strong { font-size: 1rem; line-height: 1.3; }
.tw-brand-copy span, .tw-brand-copy small { font-size: .875rem; color: #58524b; line-height: 1.5; }
.tw-brand-copy small { margin-top: auto; font-weight: 800; color: #75460d; }
.tw-reference { margin-top: 18px; padding: 14px 16px; border: 1px solid #ded6ca; border-radius: 9px; background: #fff; }
.tw-reference summary { cursor: pointer; font-weight: 800; min-height: 28px; }
.tw-reference[open] .tw-look-grid { margin-top: 13px; }
.tw-crumb { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: .9rem; margin-bottom: 16px; }
.tw-crumb a { color: #714100; }
.tw-crumb span::before { content: "/"; margin-right: 14px; }
.tw-group { margin-top: 37px; }
.tw-group h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.tw-models { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 17px; }
.tw-models a { min-height: 43px; display: inline-flex; align-items: center; padding: 7px 12px; color: #69400d; background: #fff; border: 1px solid #e2ddd4; border-radius: 6px; font-weight: 700; text-decoration: none; }
.tw-models a:hover { border-color: #a76c1f; }
.tw-product-grid, .tw-look-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.tw-product, .tw-look-grid .tw-image-link { background: #fff; border: 1px solid #e2ddd4; border-radius: 11px; overflow: hidden; }
.tw-product { scroll-margin-top: 20px; }
.tw-product:target { border-color: #9e651d; outline: 2px solid #9e651d; outline-offset: 2px; }
.tw-image-link { display: block; background: white; color: #70440a; text-decoration: none; }
.tw-image-link img { display: block; width: 100%; aspect-ratio: 1225 / 859; object-fit: contain; }
.tw-image-link span { display: block; padding: 11px 14px; color: #663d0b; background: #fbf7ef; font-size: .9rem; font-weight: 800; }
.tw-image-link:hover span { background: #f2e0bf; text-decoration: underline; }
.tw-product-copy { padding: 14px 16px 17px; }
.tw-product h3 { font-size: 1.1rem; margin: 4px 0; }
.tw-product p { margin: 0; color: #58524b; line-height: 1.5; }
.tw-product .tw-code { color: #714100; font-weight: 900; }
.tw-note { color: #58524b; line-height: 1.65; }
.tw-series-nav { margin-top: 36px; }
.tw-dialog { width: min(1500px, calc(100% - 20px)); max-width: none; max-height: calc(100% - 20px); padding: 0; border: 1px solid #5f5950; border-radius: 10px; color: #fff; background: #18181b; }
.tw-dialog:not([open]) { display: none; }
.tw-dialog::backdrop { background: #111e; }
.tw-dialog-bar { display: flex; position: sticky; top: 0; flex-wrap: wrap; justify-content: end; gap: 7px; padding: 8px; background: #18181b; z-index: 1; }
.tw-dialog-bar button, .tw-dialog-bar a { font: inherit; font-weight: 700; background: #fff; color: #18181b; border: 0; border-radius: 5px; padding: 8px 12px; text-decoration: none; cursor: pointer; }
.tw-dialog-scroll { overflow: auto; }
.tw-dialog img { display: block; width: 100%; height: auto; max-width: none; }
.tw-dialog img.tw-zoom { width: max(1250px, 150%); }
@media (max-width: 1020px) {
  .tw-brand-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .tw-section { width: calc(100% - 28px); margin: 34px auto; }
  .tw-brand-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .tw-brand-copy { padding: 11px; }
  .tw-product-grid, .tw-look-grid { grid-template-columns: minmax(0,1fr); }
}
