/* TI_MODEL_SEARCH_V1. Styles for the header search and its model results. */
.ti-search.tics-search { position: relative; overflow: visible; }
.tics-search .tics-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1200;
  max-height: min(68vh, 580px); overflow: auto; overscroll-behavior: contain;
  background: #fff; color: #182b49; border: 1px solid #dce2e9; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(24,43,73,.17); text-align: left;
  font: 16px/1.4 Arial, Helvetica, sans-serif;
}
.tics-search .tics-panel[hidden] { display: none !important; }
.tics-search .tics-status { padding: 13px 16px; color: #5b6879; font-size: 14px; }
.tics-search .tics-list { display: grid; min-width: 0; }
.tics-search .tics-group { min-width: 0; }
.tics-search .tics-group-title { padding: 10px 16px; background: #f4f6f8; font-size: 14px; font-weight: 700; }
.tics-search .tics-model-details { color: #5b6879; font-size: 13px; }
.tics-search .tics-item--model .tics-model-action { max-width: 112px; color: #b74719; font-size: 14px; font-weight: 700; }
.tics-search .tics-model-symbol { color: #758498; font-size: 30px; }
.tics-search .tics-item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 13px 16px; min-height: 94px; border-top: 1px solid #edf0f4;
  color: #182b49; text-decoration: none;
}
.tics-search .tics-item:hover, .tics-search .tics-item.is-active { background: #fff6ef; color: #182b49; }
.tics-search .tics-picture { display: grid; place-items: center; width: 64px; height: 64px; background: #fff; border-radius: 6px; }
.tics-search .tics-picture img { display: block; width: 64px; height: 64px; object-fit: contain; }
.tics-search .tics-info { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.tics-search .tics-title { font-size: 16px; font-weight: 700; }
.tics-search .tics-article { font-size: 13px; color: #5b6879; }
.tics-search .tics-match { font-size: 13px; color: #a43d14; }
.tics-search .tics-price { font-size: 17px; font-weight: 700; white-space: nowrap; }
.tics-search .tics-footer:empty { display: none; }
.tics-search .tics-all { display: block; padding: 14px 16px; min-height: 48px; background: #f7f9fb; color: #b94a1e; font-weight: 700; text-decoration: none; border-top: 1px solid #dce2e9; }
.tics-search .tics-all:hover { background: #fff6ef; }
.tics-search .tics-all:focus-visible { outline: 2px solid #b94a1e; outline-offset: -4px; }
@media (max-width: 600px) {
  .tics-search .tics-panel { left: var(--tics-panel-left, 0); right: auto; width: var(--tics-panel-width, 100%); box-sizing: border-box; }
  .tics-search .tics-item { grid-template-columns: 50px minmax(0, 1fr); padding: 12px; gap: 6px 10px; }
  .tics-search .tics-picture { width: 50px; height: 50px; grid-row: 1 / span 2; }
  .tics-search .tics-picture img { width: 50px; height: 50px; }
  .tics-search .tics-price { grid-column: 2; }
  .tics-search .tics-item--model .tics-model-action { grid-column: 2; max-width: none; }
  .tics-search .tics-status, .tics-search .tics-all { padding-inline: 12px; }
}

.ti-shop .tics-model-results { margin: 24px 0 32px; }
.ti-shop .tics-model-results h3, .ti-shop .tics-products-subtitle { color: #182b49; font-size: 22px; line-height: 1.4; margin: 0 0 16px; }
.ti-shop .tics-model-results .tics-count { color: #647389; font-size: 17px; font-weight: 400; }
.ti-shop .tics-model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ti-shop .tics-model-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px;
  min-width: 0; color: #182b49; background: #fff; border: 1px solid #d8e1ec; border-radius: 12px; text-decoration: none; }
.ti-shop .tics-model-card:hover { background: #fffbf8; border-color: #bf4b1a; }
.ti-shop .tics-model-card:focus-visible, .ti-shop .tics-model-pages a:focus-visible { outline: 2px solid #bf4b1a; outline-offset: 3px; }
.ti-shop .tics-model-photo { display: grid; place-items: center; width: 88px; height: 88px; }
.ti-shop .tics-model-photo img { display: block; max-width: 100%; width: 88px; height: 88px; object-fit: contain; }
.ti-shop .tics-model-photo .tics-model-symbol { color: #758498; font-size: 36px; }
.ti-shop .tics-model-copy { display: grid; gap: 7px; min-width: 0; font-size: 14px; line-height: 1.45; color: #5b6879; overflow-wrap: anywhere; }
.ti-shop .tics-model-copy strong { color: #182b49; font-size: 18px; }
.ti-shop .tics-model-copy .tics-model-action { color: #b74719; font-size: 15px; font-weight: 700; }
.ti-shop .tics-model-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.ti-shop .tics-model-pages a { padding: 10px 14px; border: 1px solid #d8e1ec; border-radius: 8px; background: #fff; color: #b74719; text-decoration: none; }
@media (max-width: 700px) {
  .ti-shop .tics-model-grid { grid-template-columns: minmax(0, 1fr); }
  .ti-shop .tics-model-card { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .ti-shop .tics-model-photo, .ti-shop .tics-model-photo img { width: 64px; height: 76px; }
}
