/* 0.3.50 — solo tipografia dell'interfaccia TiAssisto Shop. */
#tia-shop-exact,
#tia-shop-exact *,
.tia-kit-page,
.tia-kit-page *,
.tia-shop-product-modal,
.tia-shop-product-modal *,
.tia-shop-audience-modal,
.tia-shop-audience-modal *,
.tia-gift-modal,
.tia-gift-modal *,
.tia-cart-premium,
.tia-cart-premium * {
  font-family: "Inter", sans-serif !important;
}

/* Titoli editoriali e identità del marchio mantengono Georgia. */
#tia-shop-exact h1,
#tia-shop-exact h2,
#tia-shop-exact .tia-shop-landing__card-copy h3,
#tia-shop-exact .tia-kit-option-group-head h3,
#tia-shop-exact .tia-shop-landing__brand,
#tia-shop-exact .tia-shop-landing__brand *,
#tia-shop-exact .tia-shop-landing__trust b,
#tia-shop-exact .tia-shop-exact__brand b,
#tia-shop-exact .tia-shop-exact__brand em,
#tia-shop-exact .tia-shop-custom-sticky > strong,
.tia-kit-page h1,
.tia-kit-page h2,
.tia-kit-page .tia-kit-option-group-head h3,
.tia-shop-product-modal h1,
.tia-shop-product-modal h2,
.tia-shop-audience-modal h1,
.tia-shop-audience-modal h2,
.tia-shop-audience-modal__choices span,
.tia-cart-premium h1,
.tia-cart-premium h2,
.tia-cart-premium .tia-shop-exact__brand b,
.tia-cart-premium .tia-shop-exact__brand em {
  font-family: Georgia, "Times New Roman", serif !important;
}

/* La nota illustrata mantiene la propria calligrafia. */
#tia-shop-exact .tia-shop-landing__hero-media > span {
  font-family: "Segoe Print", "Bradley Hand", cursive !important;
}

#tia-shop-exact,
.tia-kit-page,
.tia-shop-product-modal,
.tia-cart-premium {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

#tia-shop-exact .tia-shop-exact__card-body h3,
#tia-shop-config-panel .tia-shop-exact__card-body h3,
#tia-shop-exact .tia-kit-option > h3,
#tia-shop-exact.is-custom-builder .tia-shop-exact__card-body h3 {
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
#tia-shop-exact .tia-shop-exact__price,
#tia-shop-config-panel .tia-shop-exact__price,
#tia-shop-exact.is-custom-builder .tia-shop-exact__price {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

/* Filtri, categorie e ricerca. */
#tia-shop-exact .tia-shop-exact__filter-block h3,
#tia-shop-exact .tia-shop-exact__filter-block label,
#tia-shop-exact.is-custom-builder .tia-shop-exact__filter-block h3,
#tia-shop-exact.is-custom-builder .tia-shop-exact__filter-block label,
#tia-shop-exact .tia-shop-exact__filter-colors button,
#tia-shop-exact .tia-kit-category-tab,
#tia-shop-exact .tia-kit-category-tab span,
#tia-shop-exact .tia-shop-exact__nav a,
#tia-shop-exact .tia-shop-exact__search input {
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}
#tia-shop-exact .tia-shop-exact__filter-block label small,
#tia-shop-exact .tia-shop-exact__filters-head button,
#tia-shop-exact.is-custom-builder .tia-shop-exact__filter-block label small,
#tia-shop-exact.is-custom-builder .tia-shop-exact__filters-head button {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

/* Testi, varianti e badge del configuratore. */
#tia-shop-exact .tia-kit-choice,
#tia-shop-exact .tia-shop-variant-chip,
#tia-shop-exact .tia-shop-exact__sizes button,
#tia-shop-exact.is-custom-builder .tia-shop-exact__sizes button,
.tia-shop-product-modal__sizes button,
.tia-shop-product-modal__cup select,
.tia-shop-product-modal__swatches select {
  font-size: 13px !important;
  line-height: 1.2 !important;
}
#tia-shop-exact .tia-kit-image-badge,
#tia-shop-exact .tia-shop-exact__badge,
#tia-shop-exact .tia-kit-option-group-head > span,
#tia-shop-exact .tia-shop-real-config__mastcopy small,
#tia-shop-exact .tia-shop-landing__hero-copy > small,
#tia-shop-exact .tia-shop-landing__choice-head > small,
#tia-shop-exact .tia-shop-landing__card-copy > small {
  font-size: 11px !important;
  line-height: 1.25 !important;
}
#tia-shop-exact.is-custom-builder .tia-shop-custom-builder__intro > div > small,
#tia-shop-exact.is-custom-builder .tia-shop-exact__filters-head strong::after {
  font-size: 11px !important;
  line-height: 1.25 !important;
}
#tia-shop-exact .tia-kit-option-desc,
#tia-shop-exact .tia-kit-option-group-head p,
#tia-shop-exact .tia-kit-variation-note,
#tia-shop-exact .tia-kit-help,
#tia-shop-exact .tia-shop-real-config__mastcopy p,
#tia-shop-exact .tia-shop-exact__section-title p,
#tia-shop-exact .tia-shop-custom-builder__item-copy small,
.tia-shop-product-modal__desc,
.tia-shop-product-modal__content > p {
  font-size: 14px !important;
  line-height: 1.4 !important;
}
#tia-shop-exact .tia-kit-option > label,
#tia-shop-exact .tia-kit-qty-label,
#tia-shop-exact .tia-kit-options-head p,
#tia-shop-exact .tia-kit-summary > span {
  font-size: 13px !important;
  line-height: 1.35 !important;
}
#tia-shop-exact.is-custom-builder .tia-shop-custom-sticky__meta {
  font-size: 13px !important;
  line-height: 1.3 !important;
}
#tia-shop-exact.is-custom-builder .tia-shop-exact__filters-head strong {
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* Pulsanti principali e azioni del configuratore. */
#tia-shop-exact .tia-shop-exact__primary,
#tia-shop-exact .tia-shop-custom-builder__actions > button,
.tia-shop-product-modal__add,
.tia-cart-premium__button {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
#tia-shop-exact .tia-kit-continue,
#tia-shop-exact .tia-kit-submit,
#tia-shop-exact .tia-kit-toggle,
#tia-shop-exact .tia-shop-custom-sticky > button,
#tia-shop-exact .tia-shop-custom-builder__intro > button,
#tia-shop-exact.is-custom-builder .tia-shop-custom-sticky > button,
#tia-shop-exact.is-custom-builder .tia-shop-custom-builder__intro > button {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* Carrello: gli stili Premium Cart rimangono intatti. */
.tia-cart-premium__caption,
.tia-cart-premium__edit,
.tia-cart-premium__remove,
.tia-cart-premium__stock,
.tia-cart-premium__services small,
.tia-cart-premium__help p,
.tia-cart-premium__brand p {
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.tia-cart-premium__chips span,
.tia-cart-premium__item-label,
.tia-cart-premium__eyebrow {
  font-size: 12px !important;
  line-height: 1.3 !important;
}

@media (max-width: 900px) {
  #tia-shop-exact .tia-shop-exact__card-body h3,
  #tia-shop-config-panel .tia-shop-exact__card-body h3,
  #tia-shop-exact .tia-kit-option > h3,
  #tia-shop-exact.is-custom-builder .tia-shop-exact__card-body h3 {
    font-size: 15px !important;
  }
  #tia-shop-exact .tia-shop-exact__price,
  #tia-shop-config-panel .tia-shop-exact__price,
  #tia-shop-exact.is-custom-builder .tia-shop-exact__price {
    font-size: 19px !important;
  }
  #tia-shop-exact .tia-shop-exact__filter-block h3,
  #tia-shop-exact .tia-shop-exact__filter-block label,
  #tia-shop-exact.is-custom-builder .tia-shop-exact__filter-block h3,
  #tia-shop-exact.is-custom-builder .tia-shop-exact__filter-block label,
  #tia-shop-exact .tia-shop-exact__filter-colors button,
  #tia-shop-exact .tia-kit-category-tab,
  #tia-shop-exact .tia-kit-category-tab span,
  #tia-shop-exact .tia-shop-onepage__mobile-filters,
  #tia-shop-exact.is-custom-builder #tia-shop-products .tia-shop-onepage__mobile-nav .tia-kit-category-tab,
  #tia-shop-exact.is-custom-builder #tia-shop-products .tia-shop-onepage__mobile-nav .tia-kit-category-tab span,
  #tia-shop-config-panel .tia-shop-onepage__mobile-nav .tia-kit-category-tab,
  #tia-shop-config-panel .tia-shop-onepage__mobile-nav .tia-kit-category-tab span,
  #tia-shop-exact.is-custom-builder #tia-shop-products .tia-shop-onepage__mobile-filters {
    font-size: 15px !important;
  }
  #tia-shop-exact .tia-shop-exact__nav a {
    font-size: 15px !important;
  }
  #tia-shop-exact .tia-kit-choice,
  #tia-shop-exact .tia-shop-variant-chip,
  #tia-shop-exact .tia-shop-exact__sizes button,
  #tia-shop-exact.is-custom-builder .tia-shop-exact__sizes button,
  .tia-shop-product-modal__sizes button {
    font-size: 12px !important;
  }
  #tia-shop-exact .tia-shop-onepage__filter-apply,
  #tia-shop-exact .tia-shop-exact__mobile-filter-apply,
  #tia-shop-exact.is-custom-builder #tia-shop-products .tia-shop-onepage__filter-apply {
    font-size: 15px !important;
  }
  /* I nomi categoria lunghi vanno a capo invece di venire troncati. */
  #tia-shop-config-panel .tia-shop-onepage__mobile-nav .tia-kit-category-tab,
  #tia-shop-exact.is-custom-builder #tia-shop-products .tia-shop-onepage__mobile-nav .tia-kit-category-tab {
    min-height: 52px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
  #tia-shop-config-panel .tia-shop-onepage__mobile-nav .tia-kit-category-tab span,
  #tia-shop-exact.is-custom-builder #tia-shop-products .tia-shop-onepage__mobile-nav .tia-kit-category-tab span {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  #tia-shop-exact.is-custom-builder #tia-shop-products .tia-shop-onepage__mobile-nav .tia-shop-onepage__mobile-filters,
  #tia-shop-config-panel .tia-shop-onepage__mobile-nav .tia-shop-onepage__mobile-filters {
    width: 84px !important;
    min-height: 52px !important;
  }
  /* Il soprattitolo editoriale della scelta non è un badge prodotto. */
  #tia-shop-exact .tia-shop-landing__card-copy > small {
    font-size: 9px !important;
    line-height: 1.2 !important;
  }
  .tia-cart-premium__button {
    font-size: 16px !important;
  }
}
