/* Structural styles for native model catalogs. Public tokens, navigation,
   controls and typography are owned by public-modern.css. */
.twf-model-shell { margin: auto; }
.twf-model-shell a { text-underline-offset: 3px; }
.twf-model-shell .twf-crumb a { text-decoration: none; }
.twf-model-shell section > h2 a { text-decoration: none; }
.twf-model-hero { display: grid; grid-template-columns: minmax(230px, 360px) minmax(0, 1fr); }
.twf-model-photo { min-height: 300px; display: grid; place-items: center; padding: 24px; }
.twf-model-photo img { width: 100%; height: auto; max-height: 380px; object-fit: contain; }
.twf-no-photo { color: #616166; min-height: 220px; display: grid; place-items: center; text-align: center; padding: 16px; }
.twf-model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.twf-model-tile { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 200px; border: 1px solid #deddd9; text-align: center; text-decoration: none; font-weight: 600; }
.twf-model-tile img { width: 100%; object-fit: contain; }
.twf-tile-placeholder { font-size: 64px; color: #9c9b98; }
.twf-show-more { display: block; margin: 24px auto; padding: 12px 24px; font-weight: 600; cursor: pointer; }
.twf-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0; }
.twf-price-card { border: 1px solid #deddd9; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.twf-price-card span { font-weight: 700; }
.twf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.twf-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; font-weight: 650; text-decoration: none; }
.twf-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.twf-service-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; text-decoration: none; border: 1px solid #deddd9; }
.twf-service-icon-wrap { display: grid; place-items: center; width: 42px; height: 42px; }
.twf-service-icon { display: block; }
.twf-service-label { font-weight: 600; }
.twf-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.twf-review { display: flex; flex-direction: column; min-width: 0; border: 1px solid #deddd9; }
.twf-review-top { display: flex; align-items: center; gap: 13px; min-height: 64px; }
.twf-review-device { width: 46px; height: 64px; object-fit: contain; }
.twf-review-heading { display: flex; flex-direction: column; gap: 3px; }
.twf-review-type { font-weight: 650; }
.twf-review p { overflow-wrap: anywhere; }
.twf-review-intro { margin: 12px 0 24px !important; color: #616166; }
@media (max-width: 850px) {
  .twf-model-hero { grid-template-columns: 1fr; }
  .twf-model-photo { max-width: 450px; }
  .twf-model-grid, .twf-service-grid, .twf-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .twf-price-grid, .twf-review-grid { grid-template-columns: 1fr; }
}
