/* Home sections: loaded after the legacy page's inline styles. */
@media (max-width: 1024px) {
  :is(.tt-collections-section, .tt-surgical-care-section, .tt-strategies-section, .tt-process-section, .tt-why-choose-section) .tt-sc-container,
  #tt-showcase-full .tt-showcase-container,
  .tt-assurance-section .tt-assurance-inner,
  #tt-home-contact .tt-home-contact-wrap {
    width: calc(100% - 32px) !important;
    max-width: 1240px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
  :is(.tt-collections-section, .tt-surgical-care-section, .tt-strategies-section, .tt-process-section, .tt-why-choose-section, .tt-assurance-section, #tt-showcase-full, #tt-home-contact) {
    padding-block: 32px !important;
  }
  :is(.tt-collections-section, .tt-surgical-care-section, .tt-strategies-section, .tt-process-section, .tt-why-choose-section) :is(.tt-new-cat-grid, .tt-sc-grid, .tt-strategies-grid, .tt-process-grid, .tt-why-grid) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    min-width: 0 !important;
  }
  #tt-collections .tt-new-cat-flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    overflow: visible !important;
  }
  #tt-collections .tt-new-cta-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #tt-collections .tt-cat-desc {
    min-width: 0 !important;
    padding: 20px !important;
  }
  #tt-collections .tt-cat-desc h3 {
    font-size: 23px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }
  #tt-collections .tt-cat-desc p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  #tt-collections .tt-cat-cta .arrow-link {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 12px 18px !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  #tt-collections .tt-cat-image {
    height: clamp(200px, 28vw, 280px) !important;
  }
  #tt-collections .tt-cat-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  .tt-proof-strip .tt-proof-inner,
  .tt-capability-strip .tt-capability-inner {
    width: calc(100% - 32px) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }
  .tt-proof-strip .tt-proof-item,
  .tt-capability-strip .tt-capability-item {
    min-width: 0 !important;
    padding: 20px 12px !important;
    box-sizing: border-box !important;
  }
  .tt-proof-strip .tt-proof-desc,
  .tt-capability-strip .tt-capability-desc {
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }
  :is(.tt-proof-strip, .tt-capability-strip) strong {
    font-size: 21px !important;
    line-height: 1.3 !important;
  }
  :is(.tt-proof-strip, .tt-capability-strip) .tt-proof-svg,
  .tt-capability-strip .tt-capability-svg { flex-shrink: 0 !important; }
  :is(.tt-surgical-care-section, .tt-process-section, .tt-why-choose-section) :is(.tt-sc-card, .tt-process-card, .tt-why-card) {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 26px 22px !important;
    box-sizing: border-box !important;
  }
  :is(.tt-surgical-care-section, .tt-process-section, .tt-why-choose-section) :is(h3, p) { overflow-wrap: anywhere; }
  .tt-strategies-section .tt-strategy-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 360px !important;
    padding-top: 180px !important;
    box-sizing: border-box !important;
    background: #071827;
  }
  .tt-strategies-section .tt-strategy-content {
    position: relative !important;
    inset: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: auto !important;
    padding: 24px 22px !important;
    background: linear-gradient(180deg, rgba(7,24,39,.64), #071827);
    box-sizing: border-box !important;
  }
  .tt-strategies-section .tt-strategy-title {
    display: block !important;
    min-height: 0 !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }
  .tt-strategies-section .tt-strategy-text {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
  .tt-assurance-section .tt-assurance-inner,
  #tt-home-contact .tt-home-contact-wrap { grid-template-columns: minmax(0, 1fr) !important; }
  .tt-assurance-section .tt-assurance-actions {
    justify-content: flex-start !important;
    min-width: 0 !important;
  }
  .tt-assurance-section .tt-hero-btn {
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 15px 22px !important;
    white-space: normal !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
    box-sizing: border-box !important;
  }
  #tt-showcase-full .pbox .name a {
    white-space: normal !important;
    overflow-wrap: anywhere;
    font-size: 17px !important;
    line-height: 1.4 !important;
  }
  #tt-showcase-full .pbox .description:not(.hidden-phone) {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  #tt-showcase-full :is(.btn-details, .btn-quote) {
    min-height: 44px !important;
    height: auto !important;
    padding: 12px 8px !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }
  #tt-showcase-full .tt-product-slide-btn {
    width: 44px !important;
    height: 44px !important;
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  #tt-showcase-full .tt-product-prev { left: calc(50% - 54px) !important; }
  #tt-showcase-full .tt-product-next { right: calc(50% - 54px) !important; }
  #tt-showcase-full .tt-product-slide-btn::before {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }
  #tt-showcase-full .tt-product-next::before { transform: rotate(225deg); }
  #tt-showcase-full .tt-product-slide-btn i { display: none !important; }
  #tt-home-contact .tt-home-contact-copy {
    background: linear-gradient(145deg, #071827, #0b2b3d) !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 28px 24px !important;
    box-sizing: border-box !important;
  }
  #tt-home-contact .tt-home-contact-copy p { color: #d9edf7 !important; }
  #tt-home-contact .tt-home-contact-copy .tt-contact-points > div {
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.12) !important;
    padding: 14px !important;
    min-width: 0 !important;
    height: auto !important;
    line-height: 1.5 !important;
  }
  #tt-home-contact .tt-contact-points span { min-width: 0; overflow-wrap: anywhere; }
  #tt-home-contact .tt-contact-points i { flex-shrink: 0; }
  #tt-home-contact .tt-home-contact-form {
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 28px 24px !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
  }
  #tt-home-contact .tt-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #tt-home-contact :is(label, input, textarea) { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
  #tt-home-contact :is(input, textarea) { font-size: 16px !important; min-height: 46px; }
  #tt-home-contact .tt-captcha-row { flex-wrap: wrap !important; min-width: 0 !important; gap: 16px !important; }
  #tt-home-contact .tt-captcha-row img { max-width: 100% !important; width: auto !important; align-self: flex-start; }
  #tt-home-contact .tt-captcha-row button {
    min-height: 46px !important;
    height: auto !important;
    max-width: 100% !important;
    padding: 14px 20px !important;
    white-space: normal !important;
    line-height: 1.5 !important;
  }
  /* Keep every section readable while scrolling on phones and tablets. */
  body.tt-home-anim-ready :is(.tt-collections-section, .tt-surgical-care-section, .tt-strategies-section, .tt-process-section, .tt-why-choose-section, .tt-assurance-section) .tt-home-anim-target[data-tt-effect] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  /* Scale the complete banner together, keeping the copy on its image. */
  .tt-hero-slider {
    height: calc(576px * var(--tt-hero-scale, 1)) !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: #f2f7fc !important;
    box-sizing: border-box !important;
  }
  .tt-hero-slider .tt-slide,
  .tt-hero-slider .tt-slide.active {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 1024px !important;
    height: 576px !important;
    min-height: 0 !important;
    padding: 0 !important;
    transform: scale(var(--tt-hero-scale, 1)) !important;
    transform-origin: top left !important;
    box-sizing: border-box !important;
  }
  .tt-hero-slider .tt-slide-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  .tt-hero-slider .tt-slide-beauty .tt-slide-bg { background-size: 100% 100% !important; }
  .tt-hero-slider .tt-hero-brand {
    position: absolute !important;
    inset: 32px auto auto 42px !important;
    width: auto !important;
    max-width: 480px !important;
    font-size: 58px !important;
    line-height: 1 !important;
    letter-spacing: 4px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .tt-hero-slider .tt-hero-brand::after { margin-top: 16px !important; }
  .tt-hero-slider .tt-hero-copy {
    position: absolute !important;
    inset: 132px auto auto 42px !important;
    width: 460px !important;
    max-width: 460px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 18px !important;
    border-left-width: 4px !important;
    box-sizing: border-box !important;
  }
  .tt-hero-slider .tt-hero-copy span {
    max-width: 100% !important;
    min-height: 28px !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    letter-spacing: .6px !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  .tt-hero-slider .tt-hero-copy h2 {
    font-size: 26px !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
    overflow-wrap: anywhere !important;
  }
  .tt-hero-slider .tt-hero-copy p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    overflow-wrap: anywhere;
  }
  .tt-hero-slider .tt-hero-copy a {
    position: relative;
    min-height: 44px !important;
    max-width: 100% !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .tt-hero-slider .tt-hero-copy a::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100%, calc(44px / var(--tt-hero-scale, 1)));
    height: max(100%, calc(44px / var(--tt-hero-scale, 1)));
    transform: translate(-50%, -50%);
  }
  .tt-hero-slider .new-slider-navigation {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
  }
  .tt-hero-slider :is(.tt-slider-prev, .tt-slider-next) {
    display: none !important;
  }
  .tt-hero-slider .tt-slider-dots {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    gap: 0 !important;
    align-items: center !important;
    pointer-events: auto !important;
  }
  .tt-hero-slider .tt-dot {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    cursor: pointer;
    background: radial-gradient(circle, #fff 0 4px, #667f8c 4px 6px, transparent 6px) center / 12px 12px no-repeat !important;
  }
  .tt-hero-slider .tt-dot.active { background-image: radial-gradient(circle, #12646c 0 4px, #fff 4px 6px, transparent 6px) !important; }
}

@media (max-width: 767px) {
  :is(.tt-collections-section, .tt-surgical-care-section, .tt-strategies-section, .tt-process-section, .tt-why-choose-section) :is(.tt-new-cat-grid, .tt-sc-grid, .tt-strategies-grid, .tt-process-grid, .tt-why-grid),
  #tt-collections .tt-new-cat-flex { grid-template-columns: minmax(0, 1fr) !important; }
  :is(.tt-collections-section, .tt-surgical-care-section, .tt-strategies-section, .tt-process-section, .tt-why-choose-section, .tt-assurance-section, #tt-home-contact, #tt-showcase-full) h2 {
    font-size: clamp(26px, 6.5vw, 32px) !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere;
  }
  :is(.tt-collections-section, .tt-surgical-care-section, .tt-strategies-section, .tt-process-section, .tt-why-choose-section, .tt-assurance-section, #tt-home-contact, #tt-showcase-full) :is(.tt-section-head, .tt-sc-header, .tt-process-header) p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
  #tt-collections .tt-cat-image { height: clamp(220px, 64vw, 330px) !important; }
  #tt-home-contact .tt-form-grid { grid-template-columns: minmax(0, 1fr) !important; }
  #tt-home-contact .tt-captcha-row { flex-direction: column !important; align-items: stretch !important; }
  #tt-home-contact .tt-captcha-row :is(label, button) { width: 100% !important; }
  #tt-home-contact .tt-home-contact-copy,
  #tt-home-contact .tt-home-contact-form { padding: 26px 20px !important; }
  #tt-showcase-full .p-actions { flex-direction: column !important; gap: 8px !important; background: transparent !important; }
  #tt-showcase-full .p-actions > a { width: 100% !important; }
  #tt-showcase-full .tt-product-slide-btn:hover { transform: none !important; }
}

@media (max-width: 479px) {
  .tt-proof-strip .tt-proof-inner,
  .tt-capability-strip .tt-capability-inner { grid-template-columns: minmax(0, 1fr) !important; }
  .tt-proof-strip .tt-proof-item,
  .tt-capability-strip .tt-capability-item { padding: 20px 0 !important; }
  .tt-assurance-section .tt-assurance-actions .tt-hero-btn { width: 100% !important; text-align: center; }
}
