/* Tipografía compartida para las pantallas públicas de Isabella. */
:root {
  --store-font: 'Cormorant Garamond', Georgia, serif;
  --store-body-size: 16px;
  --store-card-name-size: 16px;
  --store-card-price-size: 20px;
  --store-card-old-price-size: 14px;
  --store-section-size: clamp(28px, 2.2vw, 32px);
  --store-banner-size: clamp(48px, 4.2vw, 60px);
}
:is(html.site-public-root body, body.store-auth-page) {
  font-family: var(--store-font);
  font-size: var(--store-body-size);
  line-height: 1.5;
}
:is(html.site-public-root body, body.store-auth-page) :is(
  h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea,
  label, legend, small, strong, b, em, blockquote, figcaption,
  summary, dt, dd, li, td, th, div, span
):not(:is(.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .material-icons, [class^="icon_"], [class*=" icon_"], [class^="arrow_"], [class*=" arrow_"], [class^="social_"], [class*=" social_"])) {
  font-family: var(--store-font) !important;
}
:is(html.site-public-root body, body.store-auth-page) :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 500 !important;
}
:is(html.site-public-root body, body.store-auth-page) :is(button, input, select, textarea, label) {
  font-size: 16px;
}
.site-public-root :is(.footer__list a, .footer__contact-text, .footer__trust-text) {
  font-size: 15px;
  line-height: 1.5;
}
body.store-auth-page :is(.store-auth-intro, .store-auth-switch, .store-auth-recovery) {
  font-size: 16px;
}
body.store-auth-page :is(.store-auth-tabs button, .store-auth-form label, .store-auth-submit) {
  font-size: 16px;
  font-weight: 600;
}
/* Los importes conservan el signo de pesos y los números de lectura tabular. */
.site-public-root body.site-public :is(
  .fcard-price, .fcard-price *, .topsell__price, .topsell__price *,
  .ars-symbol, .ars-amount, .pm-price, .pm-price *,
  .hot-sale__details strong, .hot-sale__details del, .hot-sale__discount,
  .cart-drawer__total strong, .cart-drawer__total strong *,
  #coSubtotal, #coShipping, #coTotal, .ec-money, .ec-summary-item > strong
) {
  font-family: Cairo, Arial, sans-serif !important;
  font-variant-numeric: lining-nums tabular-nums;
}

@media (min-width: 768px) and (max-width: 900px) {
  .site-public-root .home-reference--live .home-reference__benefits span {
    font-size: 13px;
    letter-spacing: .04em;
    line-height: 1.3;
  }
}

/* Public store scale at normal browser zoom. */
html.site-public-root body.site-public :is(.home-reference__title) {
  font-size:var(--store-banner-size)!important;line-height:1.08!important;margin-bottom:16px;
}
html.site-public-root body.site-public .home-reference__subtitle { font-size:24px!important;line-height:1.2;margin-block:10px 14px; }
html.site-public-root body.site-public :is(.home-reference__description,.featured__head p,.topsells__subtitle,.home-cats__subtitle,.hot-sale__description) {
  font-size:16px!important;line-height:1.5!important;
}
html.site-public-root body.site-public .home-reference__description { max-width:38ch;margin-bottom:20px;text-align:left!important; }
html.site-public-root body.site-public .home-reference__cta { width:fit-content;max-width:100%;padding-inline:16px;gap:12px; }
html.site-public-root body.site-public .home-reference__tagline p { font-size:14px!important;line-height:1.4; }
html.site-public-root body.site-public :is(.featured__head h2,.home-cats__title,.topsells__title) {
  font-size:var(--store-section-size)!important;line-height:1.2!important;letter-spacing:0;margin-bottom:10px;
}
html.site-public-root body.site-public :is(.reference-topbar__nav-link,.header__menu ul li a) { font-size:15px!important; }
html.site-public-root body.site-public :is(.home-reference__cta,.featured__bottom-btn,.fcard-add,.hot-sale__cta,.store-footer-cta__button,.ca-fav-actions a) {
  min-height:44px!important;font-size:16px!important;line-height:1.25;padding-block:10px;
}
html.site-public-root body.site-public :is(input:not([type='checkbox']):not([type='radio']):not([type='color']),select,textarea) { font-size:16px; }
html.site-public-root body.site-public :is(.home-reference__benefits span,.home-cat__name) { font-size:14px!important;line-height:1.4; }
html.site-public-root body.site-public :is(.footer__title,.footer__heading) { font-size:17px!important; }
html.site-public-root body.site-public :is(.footer__list a,.footer__contact-text,.footer__trust-text,.footer__tagline) { font-size:14px!important; }
html.site-public-root body.site-public .hot-sale__copy h2 { font-size:var(--store-banner-size)!important;line-height:.95; }
html.site-public-root body.site-public :is(.hot-sale__details strong,.ca-fav-price) { font-size:var(--store-card-price-size)!important; }
html.site-public-root body.site-public :is(.hot-sale__details h3,.ca-fav-body h4) { font-size:var(--store-card-name-size)!important; }

/* Product text uses fixed readable values, with a second row when necessary. */
html.site-public-root body.site-public :is(#content-productos,#nuevos-ingresos) .featured__item__text h6 {
  font-size:var(--store-card-name-size)!important;line-height:1.3!important;
}
html.site-public-root body.site-public :is(#content-productos,#nuevos-ingresos) .fcard-price__current {
  font-size:var(--store-card-price-size)!important;line-height:1.3!important;
}
html.site-public-root body.site-public :is(#content-productos,#nuevos-ingresos) .fcard-price__old {
  font-size:var(--store-card-old-price-size)!important;line-height:1.3!important;
}
html.site-public-root body.site-public :is(#content-productos,#nuevos-ingresos) .fcard-price :is(.ars-symbol,.ars-amount) { font-size:inherit!important; }
html.site-public-root body.site-public #top-vendidos .topsell__name { font-size:26px!important;line-height:1.15!important; }
html.site-public-root body.site-public #top-vendidos .topsell__price { font-size:24px!important; }
html.site-public-root body.site-public #top-vendidos .topsell__from { font-size:13px!important; }
html.site-public-root body.site-public #top-vendidos .topsell__eyebrow { font-size:11px!important; }
html.site-public-root body.site-public #top-vendidos .topsell__btn { min-height:44px!important;font-size:14px!important; }
html.site-public-root body.site-public #top-vendidos .topsell__body { gap:10px; }
html.site-public-root body.site-public #top-vendidos .topsells__grid { max-width:1120px; }

/* Product dialog keeps its own hierarchy without oversized text. */
html.site-public-root body.site-public #productoModal .pm-heading > .pm-title { font-size:30px!important; }
html.site-public-root body.site-public #productoModal .pm-heading > .pm-price { font-size:24px!important; }
html.site-public-root body.site-public #productoModal :is(.pm-desc,.pm-btn,.pm-section__label,.pm-qty__label) { font-size:16px!important; }
html.site-public-root body.site-public #productoModal .pm-btn { min-height:44px; }

@media(min-width:768px) {
  html.site-public-root body.site-public.site-home :is(.featured.spad,.home-panels.spad,.home-cats) { padding-block:40px!important; }
  html.site-public-root body.site-public.site-home :is(#nuevos-ingresos,.home-cats,.home-panels) > .container,
  html.site-public-root body.site-public .store-catalog > .container { max-width:1440px!important; }
  html.site-public-root body.site-public .home-cat__icon { width:min(128px,100%)!important;height:auto!important;aspect-ratio:1; }
}
@media(min-width:768px) and (max-width:1199px) {
  html.site-public-root body.site-public #nuevos-ingresos .featured__slider { --new-columns:3;--new-total-gap:48px; }
}
@media(max-width:767px) {
  :root { --store-card-name-size:15px;--store-card-price-size:18px;--store-card-old-price-size:13px;--store-section-size:24px;--store-banner-size:clamp(26px,7.2vw,30px); }
  html.site-public-root body.site-public .home-reference--live .home-reference__title { margin-bottom:0; }
  html.site-public-root body.site-public .home-reference--live .home-reference__subtitle { font-size:18px!important;margin-block:8px 10px; }
  html.site-public-root body.site-public .home-reference--live .home-reference__description { font-size:14px!important;line-height:1.45!important;margin-block:10px 16px;-webkit-hyphens:none;hyphens:none;word-break:normal;overflow-wrap:normal; }
  html.site-public-root body.site-public .home-reference--live .home-reference__tagline { margin-bottom:8px; }
  html.site-public-root body.site-public .home-reference--live .home-reference__tagline p { font-size:12px!important; }
  html.site-public-root body.site-public .home-reference--live .home-reference__tagline::after { margin-top:8px; }
  html.site-public-root body.site-public .home-reference--live .home-reference__cta { font-size:14px!important;letter-spacing:0;gap:10px; }
  html.site-public-root body.site-public .home-reference--live .home-reference__benefits span { font-size:clamp(11px,3vw,12px)!important;line-height:1.35; }
  html.site-public-root body.site-public :is(.reference-topbar__nav-link,.header__menu ul li a) { font-size:15px!important; }
  html.site-public-root body.site-public.site-home :is(.featured.spad,.home-panels.spad,.home-cats) { padding-block:28px!important; }
  html.site-public-root body.site-public #top-vendidos .topsell__name { font-size:21px!important; }
  html.site-public-root body.site-public #top-vendidos .topsell__price { font-size:20px!important; }
  html.site-public-root body.site-public #top-vendidos .topsell__eyebrow { font-size:10px!important; }
  html.site-public-root body.site-public #top-vendidos .topsell__from { font-size:13px!important; }
  html.site-public-root body.site-public #top-vendidos .topsell__body { gap:8px; }
  html.site-public-root body.site-public #productoModal .pm-heading > .pm-title { font-size:26px!important; }
  html.site-public-root body.site-public #productoModal .pm-heading > .pm-price { font-size:20px!important; }
  /* Carousel controls get their own row so two readable cards can use the full width. */
  html.site-public-root body.site-public #nuevos-ingresos .featured__slider { --new-columns:2;--new-total-gap:8px;grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px; }
  html.site-public-root body.site-public #nuevos-ingresos .featured__viewport { grid-column:1/-1;grid-row:1; }
  html.site-public-root body.site-public #nuevos-ingresos .fnav-btn { width:44px;height:44px;min-height:44px; }
  html.site-public-root body.site-public #nuevos-ingresos .fnav-btn--prev { grid-column:2;grid-row:2; }
  html.site-public-root body.site-public #nuevos-ingresos .fnav-btn--next { grid-column:3;grid-row:2; }
}
