/* TI Compact Product 20261026.2. The original mobile layout stays unchanged. */
.ti-compact-product-page .ti-compact-summary { display: none; }

@media (min-width: 1100px) {
  .ti-compact-product-page.ti-main { padding-top: 24px; }
  .ti-compact-product-page > .ti-title {
    max-width: 1120px;
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1.22;
  }
  .ti-compact-product-page > .ti-manufacturer { margin-bottom: 20px; }

  .ti-compact-product-page .ti-compact-layout {
    --ti-compact-hero-row: 1;
    --ti-compact-spec-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: start;
    gap: 24px;
  }
  .ti-compact-product-page .ti-compact-source,
  .ti-compact-product-page .ti-compact-detail {
    display: contents;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
  }
  .ti-compact-product-page .ti-compact-layout > .ti-article-topline {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0;
  }
  .ti-compact-product-page .ti-compact-layout > .ti-article-topline .ti-article-topline__inner {
    grid-column: 1 / -1;
  }
  .ti-compact-product-page .ti-compact-layout > .ti-article-topline .ti-compact-variant-topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 20px;
    width: 100%;
    min-width: 0;
  }
  .ti-compact-product-page .ti-compact-variant-topline > .ti-manufacturer {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .ti-compact-product-page .ti-compact-variant-topline > .ti-compact-variant-strip {
    grid-column: 1;
    grid-row: 1;
  }
  .ti-compact-product-page .ti-compact-variant-topline.ti-compact-variant-has-manufacturer > .ti-compact-variant-strip {
    grid-row: 2;
  }
  .ti-compact-product-page .ti-compact-variant-topline > .ti-article-badge {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    margin-left: 0;
    max-width: 280px;
  }
  .ti-compact-product-page .ti-compact-variant-topline.ti-compact-variant-has-manufacturer > .ti-article-badge {
    grid-row: 1 / span 2;
  }
  .ti-compact-product-page .ti-compact-layout > .ti-compact-variant-strip {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .ti-compact-product-page .ti-compact-layout.ti-compact-has-topline > .ti-compact-variant-strip {
    grid-row: 2;
  }
  .ti-compact-product-page .ti-compact-gallery {
    grid-column: 1;
    grid-row: var(--ti-compact-hero-row);
    align-self: start;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--ti-line, #d9e0e8);
    border-radius: 11px;
    background: #fff;
  }
  .ti-compact-product-page .ti-compact-gallery .ti-gallery-stage {
    width: min(100%, 480px);
    margin-inline: auto;
  }
  .ti-compact-product-page .ti-compact-gallery .ti-gallery-main {
    width: 100%;
    max-width: none;
    aspect-ratio: 1;
  }
  .ti-compact-product-page .ti-compact-gallery .ti-gallery-toolbar {
    gap: 12px;
    margin-top: 10px;
  }
  .ti-compact-product-page .ti-compact-gallery .ti-gallery-thumbs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    overflow: visible;
    margin-top: 10px;
    padding: 4px;
  }
  .ti-compact-product-page .ti-compact-gallery .ti-gallery-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }

  .ti-compact-product-page .ti-compact-purchase {
    grid-column: 2;
    grid-row: var(--ti-compact-hero-row);
    min-width: 0;
    padding: 24px;
  }
  .ti-compact-product-page .ti-compact-purchase .ti-buy-price {
    margin: 8px 0 18px;
    font-size: 36px;
  }
  .ti-compact-product-page .ti-compact-variant-strip {
    min-width: 0;
    margin: 0;
  }
  .ti-compact-product-page .ti-compact-variant-strip h2 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.4;
  }
  .ti-compact-product-page .ti-compact-variant-strip .ti-variant-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    max-height: none;
    overflow: visible;
  }
  .ti-compact-product-page .ti-compact-variant-strip .ti-variant {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    flex: 0 1 174px;
    width: 174px;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    gap: 4px 6px;
    padding: 8px 10px;
    border-radius: 7px;
    overflow: visible;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .ti-compact-product-page .ti-compact-variant-strip .ti-variant-label {
    grid-column: 1 / -1;
    display: block;
    overflow: visible;
    white-space: normal;
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
  }
  .ti-compact-product-page .ti-compact-variant-strip .ti-variant-article {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    min-width: 0;
    font-size: 11px;
  }
  .ti-compact-product-page .ti-compact-variant-strip .ti-variant strong {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin-top: 0;
    text-align: right;
    font-size: 14px;
  }
  .ti-compact-product-page .ti-compact-variant-strip .ti-variant-selected {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .ti-compact-product-page .ti-compact-purchase .ti-buy-form { margin-top: 16px; }
  .ti-compact-product-page .ti-compact-purchase .ti-buy-note {
    margin-top: 18px;
    padding-top: 16px;
    font-size: 14px;
    line-height: 1.5;
  }
  .ti-compact-product-page .ti-compact-summary { display: block !important; margin-top: 20px; }
  .ti-compact-product-page .ti-compact-summary[hidden] { display: none !important; }
  .ti-compact-product-page .ti-compact-summary-title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.4;
  }
  .ti-compact-product-page .ti-compact-key-specs { margin: 0; }
  .ti-compact-product-page .ti-compact-key-specs > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 16px;
    padding: 6px 0;
    border-top: 1px solid var(--ti-line, #d9e0e8);
  }
  .ti-compact-product-page .ti-compact-key-specs dt,
  .ti-compact-product-page .ti-compact-key-specs dd {
    min-width: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .ti-compact-product-page .ti-compact-key-specs dt { color: var(--ti-muted, #647083); }
  .ti-compact-product-page .ti-compact-key-specs dd { text-align: right; font-weight: 650; }
  .ti-compact-product-page .ti-compact-all-specs-link {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #a43e16;
    font: inherit;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
  .ti-compact-product-page .ti-compact-all-specs-link:focus-visible {
    outline: 3px solid #b94a1e;
    outline-offset: 4px;
  }

  .ti-compact-product-page .ti-compact-specifications {
    grid-column: 1 / -1;
    grid-row: var(--ti-compact-spec-row);
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--ti-line, #d9e0e8);
    border-radius: 11px;
    background: #fff;
    scroll-margin-top: 24px;
  }
  .ti-compact-product-page .ti-compact-specifications .ti-specs-title { margin-bottom: 14px; font-size: 22px; }
  .ti-compact-product-page .ti-compact-layout.ti-compact-has-topline,
  .ti-compact-product-page .ti-compact-layout.ti-compact-variants-standalone {
    --ti-compact-hero-row: 2;
    --ti-compact-spec-row: 3;
  }
  .ti-compact-product-page .ti-compact-layout.ti-compact-has-topline.ti-compact-variants-standalone {
    --ti-compact-hero-row: 3;
    --ti-compact-spec-row: 4;
  }
  .ti-compact-product-page .ti-compact-all-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0 32px;
  }
  .ti-compact-product-page .ti-compact-all-specs > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 16px;
    min-width: 0;
    padding: 8px 0;
  }
  .ti-compact-product-page .ti-compact-all-specs > .ti-compact-spec-row--wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr);
  }
  .ti-compact-product-page .ti-compact-all-specs dt,
  .ti-compact-product-page .ti-compact-all-specs dd {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
  }
  .ti-compact-product-page .ti-compact-all-specs dd { font-weight: 650; }
  .ti-compact-product-page .ti-compact-source > .ti-content {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--ti-line, #d9e0e8);
    border-radius: 11px;
    background: #fff;
  }

  .ti-compact-product-page .ti-relations,
  .ti-compact-product-page .ti-relations [data-ti-panel] { width: 100%; min-width: 0; max-width: none; }
  .ti-compact-product-page .ti-relations .ti-tab-nav { flex-wrap: wrap; }
  .ti-compact-product-page .ti-relations .ti-related-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: stretch;
    gap: 18px;
  }
  .ti-compact-product-page .ti-relations .ti-related-grid .ti-product-media {
    height: 180px;
    max-height: 200px;
    aspect-ratio: auto;
    padding: 12px;
  }
  .ti-compact-product-page .ti-relations .ti-related-grid .ti-product-media img {
    width: 100%;
    height: 100%;
    max-height: 156px;
    object-fit: contain;
  }
  .ti-compact-product-page #ti-panel-models .tim-model-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    min-width: 0;
  }
  .ti-compact-product-page #ti-panel-models .tim-series-card {
    grid-column: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .ti-compact-product-page #ti-panel-models .tim-series-card .tim-model-copy {
    min-width: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ti-line, #d9e0e8);
  }
  .ti-compact-product-page #ti-panel-models .tim-compatibility-models {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-height: none;
    overflow: visible;
  }
  .ti-compact-product-page #ti-panel-models .tim-series-card:has(.tim-compatibility-models > a:nth-child(4)) {
    grid-column: 1 / -1;
  }
  .ti-compact-product-page #ti-panel-models .tim-series-card:has(.tim-compatibility-models > a:nth-child(4)) .tim-compatibility-models {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ti-compact-product-page #ti-panel-models .tim-compatibility-models > a {
    display: block;
    min-width: 0;
    max-width: none;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
  }
}

@media (min-width: 1440px) {
  .ti-compact-product-page .ti-compact-gallery .ti-gallery-stage { width: min(100%, 500px); }
}
