.tito-catalog { padding: 48px 0 64px; scroll-margin-top: 110px; color: #232323; }
#tito-result-count { scroll-margin-top: 110px; }
.tito-catalog *, .tito-dialog * { box-sizing: border-box; }
.tito-catalog [hidden], .tito-dialog [hidden] { display: none !important; }
.tito-catalog h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; color: #0b3d91; }
.tito-catalog .tito-intro { color: #535b69; margin: 0 0 26px; line-height: 1.5; }
.tito-categories { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tito-catalog button, .tito-dialog button { font: inherit; cursor: pointer; }
.tito-categories button { border: 1px solid #dce2ec; background: #fff; border-radius: 30px; padding: 11px 17px; color: #26364f; }
.tito-categories button[aria-pressed="true"] { color: white; background: #0b3d91; border-color: #0b3d91; }
.tito-categories button span { margin-left: 7px; font-size: 12px; opacity: .75; }
.tito-filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 14px; padding: 20px; background: #f5f7fa; border-radius: 12px; }
.tito-filters label { display: grid; gap: 7px; font-size: 13px; color: #354155; min-width: 0; }
.tito-filters input, .tito-filters select { width: 100%; min-width: 0; font: inherit; font-size: 14px; height: 44px; padding: 0 12px; color: #232323; background: white; border: 1px solid #d9e0e8; border-radius: 6px; }
.tito-filters select { appearance: auto; }
.tito-results-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 22px 0 18px; }
.tito-results-bar p { margin: 0; color: #535b69; font-size: 14px; }
.tito-clear { background: transparent; color: #0b3d91; border: 0; padding: 8px 0; text-decoration: underline; }
.tito-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tito-card { display: flex; flex-direction: column; border: 1px solid #e1e5eb; border-radius: 10px; overflow: hidden; background: white; transition: border-color .18s, box-shadow .18s; }
.tito-card:hover { border-color: #a8b9d6; box-shadow: 0 6px 20px #0b3d910b; }
.tito-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 20px; background: #fafafa; color: #5e697c; text-decoration: none; }
.tito-image img { width: 100%; height: 100%; max-height: 180px; object-fit: contain; }
.tito-no-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; font-size: 12px; color: #667181; }
.tito-tile-icon { width: 44px; height: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; transform: rotate(-8deg); }
.tito-tile-icon i { border: 1px solid #adb9cc; border-radius: 2px; background: #eef1f6; }
.tito-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.tito-category-label { color: #576d8b; font-size: 12px; margin-bottom: 7px; }
.tito-card h3 { font-size: 16px; line-height: 1.45; margin: 0 0 14px; font-weight: 600; overflow-wrap: anywhere; }
.tito-card h3 a { text-decoration: none; color: #1e2c43; }
.tito-stock { font-size: 13px; color: #266344; margin-top: auto; line-height: 1.5; }
.tito-stock.is-unavailable { color: #7b591f; }
.tito-box { font-size: 13px; color: #626a76; margin-top: 5px; line-height: 1.5; }
.tito-price { font-size: 16px; color: #0b3d91; font-weight: 600; margin: 18px 0 12px; }
.tito-details-link { display: block; padding: 11px 14px; border: 1px solid #0b3d91; border-radius: 6px; color: #0b3d91; font-size: 14px; text-decoration: none; text-align: center; }
.tito-details-link:hover { background: #0b3d91; color: #fff; }
.tito-empty { text-align: center; border: 1px dashed #c7d1e1; padding: 48px 20px; border-radius: 10px; }
.tito-empty h3 { margin: 0 0 10px; font-size: 21px; }
.tito-pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 32px; }
.tito-pagination button { border: 1px solid #d1d9e6; border-radius: 6px; padding: 10px 18px; color: #0b3d91; background: white; }
.tito-pagination button:disabled { opacity: .4; cursor: default; }
.tito-pagination span { font-size: 14px; color: #536077; }
.tito-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; border-radius: 14px; width: min(820px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; box-shadow: 0 24px 80px #0004; color: #232323; }
.tito-dialog::backdrop { background: #0c1c36a6; }
body:has(.tito-dialog[open]) { overflow: hidden; }
.tito-dialog-close { position: absolute; top: 12px; right: 12px; height: 36px; width: 36px; border: 1px solid #dce2ec; border-radius: 50%; background: white; font-size: 24px !important; color: #22344f; z-index: 1; }
.tito-detail-layout { display: grid; grid-template-columns: 1fr 1.3fr; }
.tito-detail-image { background: #f5f7fa; display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 35px; }
.tito-detail-image img { width: 100%; object-fit: contain; max-height: 340px; }
.tito-detail-info { padding: 48px 30px 30px; }
.tito-detail-info h2 { font-size: 23px; line-height: 1.4; margin: 8px 0 20px; color: #163a74; }
.tito-specs { margin: 22px 0; }
.tito-specs div { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid #e8ecf1; padding: 10px 0; font-size: 14px; }
.tito-specs dt { color: #616d7c; }
.tito-specs dd { margin: 0; text-align: right; color: #22344f; }
.tito-contact { display: block; text-align: center; border-radius: 6px; padding: 13px 16px; background: #0b3d91; color: #fff; font-size: 15px; text-decoration: none; }
.tito-contact:hover { background: #082e6d; color: #fff; }
.tito-detail-note { font-size: 12px; line-height: 1.5; margin: 12px 0 0; color: #626a76; }
.tito-catalog :focus-visible, .tito-dialog :focus-visible { outline: 3px solid #e1a500; outline-offset: 3px; }
@media (max-width: 1000px) { .tito-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tito-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) {
  .tito-catalog { padding: 30px 0 40px; }
  .tito-categories { gap: 8px; }
  .tito-categories button { padding: 9px 12px; font-size: 13px; }
  .tito-filters { padding: 14px; gap: 12px; }
  .tito-filter-search { grid-column: 1 / -1; }
  .tito-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tito-card-body { padding: 12px; }
  .tito-card h3 { font-size: 14px; }
  .tito-image { padding: 12px; }
  .tito-price { font-size: 14px; }
  .tito-detail-layout { grid-template-columns: 1fr; }
  .tito-detail-image { min-height: 170px; padding: 25px; }
  .tito-detail-image img { max-height: 170px; }
  .tito-detail-info { padding: 24px; }
  .tito-dialog-close { position: sticky; float: right; margin: 10px 10px -46px 0; }
}
