/* TI product cards 20260909.1. Complements site.css, including the mobile update. */
.ti-product-page .ti-purchase { min-width: 0; scroll-margin-top: 24px; }
.ti-product-page .ti-specs > div { flex-wrap: wrap; gap: 6px 16px; }
.ti-product-page .ti-specs dd { max-width: 100%; }
.ti-variants { margin: 0 0 24px; }
.ti-variants h2 { font-size: 18px; line-height: 1.4; margin: 0 0 12px; }
.ti-variant-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ti-variant { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 13px 12px; border: 1px solid var(--ti-line,#d9e0e8); border-radius: 8px; background: #fff; color: var(--ti-navy,#182b49); text-decoration: none; overflow-wrap: anywhere; line-height: 1.35; }
.ti-variant:hover { border-color: #b94a1e; text-decoration: none; background: #fff9f4; }
.ti-variant.is-selected { border-color: #b94a1e; box-shadow: inset 0 0 0 1px #b94a1e; background: #fff7f1; }
.ti-variant-label { font-size: 15px; font-weight: 650; }
.ti-variant-article { font-size: 12px; color: #647083; }
.ti-variant strong { font-size: 17px; margin-top: auto; }
.ti-variant-selected { font-size: 12px; font-weight: 700; color: #a43e16; }
.ti-variant:focus-visible, .ti-tab-nav a:focus-visible { outline: 3px solid #b94a1e; outline-offset: 3px; }
.ti-relations { margin-top: 40px; }
.ti-tab-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; border-bottom: 1px solid var(--ti-line,#d9e0e8); margin-bottom: 24px; }
.ti-tab-nav a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 0; border-bottom: 3px solid transparent; color: #536175; font-weight: 650; font-size: 18px; text-decoration: none; line-height: 1.4; }
.ti-tab-nav a[aria-selected="true"] { border-color: #b94a1e; color: #182b49; }
.ti-tab-count { border-radius: 20px; background: #e8edf3; font-size: 13px; padding: 2px 8px; font-weight: 500; }
.ti-related-panel { scroll-margin-top: 20px; margin-bottom: 28px; }
.ti-related-panel[hidden] { display: none !important; }
.ti-relations-heading { font-size: 24px; margin: 0 0 20px; }
.ti-relations.is-enhanced .ti-relations-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ti-related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ti-related-grid .ti-product-card, .ti-related-grid .ti-product-body { min-width: 0; }
.ti-related-grid .ti-product-card h3 { overflow-wrap: anywhere; }
.ti-related-grid .ti-product-card-bottom { flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .ti-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .ti-relations { margin-top: 28px; }
  .ti-tab-nav { gap: 4px 12px; }
  .ti-tab-nav a { font-size: 16px; justify-content: flex-start; }
  .ti-related-grid { grid-template-columns: minmax(0,1fr); }
  .ti-variant { padding: 12px; min-height: 92px; }
}
/* TI: larger main product photo, 20260914.1.
   Append this block to assets/ti-theme/css/product-cards.css. */
.ti-product-page .ti-product-detail {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.ti-product-page .ti-product-photo {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  padding: 0;
}

.ti-product-page .ti-product-photo > img {
  position: absolute;
  inset: 8px;
  display: block;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 800px) {
  .ti-product-page .ti-product-photo {
    max-width: 500px;
  }
}
/* End TI larger main product photo. */
