/* Upzale themes v1. Shared presentation over the existing commerce components.
   Only this file and the selected theme stylesheet are requested by a store. */
body[data-store-theme] {
    --store-content-width: 1480px;
    --store-gutter: 48px;
    --store-grid-gap: clamp(.75rem, 1.7vw, 1.5rem);
    --theme-radius: 12px;
    --theme-card-radius: var(--theme-radius);
    --theme-card-padding: 1rem;
    --theme-image-ratio: 1;
    --theme-columns: 4;
    --theme-header: #fff;
    --theme-on-header: var(--color-text-primary);
    --theme-heading-weight: 650;
    color: var(--color-text-primary);
    background: var(--color-background);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    color-scheme: light;
}
body[data-store-theme] :is(button, input, select, textarea) { font-family: var(--font-body); }
body[data-store-theme] :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}
body[data-store-theme] .store-header {
    background: var(--theme-header) !important;
    color: var(--theme-on-header);
    border-bottom: 1px solid var(--color-border);
    box-shadow: none;
    backdrop-filter: none;
}
body[data-store-theme] .store-header .store-brand-link h1 { color: var(--theme-on-header) !important; font-family: var(--font-body); font-weight: 700; letter-spacing: -.035em; }
body[data-store-theme] .store-header .store-header-main { padding-block: .85rem; }
body[data-store-theme] :is(.header-cart-btn, .app-menu-btn) { color: var(--theme-on-header); background: transparent; border-color: transparent; box-shadow: none; min-width: 44px; min-height: 44px; }
body[data-store-theme] .store-header .app-menu-icon-muted { color: var(--theme-on-header); }
body[data-store-theme] :is(.search-bar-container, .search-input-theme) { background: var(--color-background-secondary); border-radius: var(--theme-radius); }
body[data-store-theme] .search-bar-container { border: 1px solid var(--color-border); box-shadow: none; }
body[data-store-theme] .search-bar-btn { border-radius: calc(var(--theme-radius) * .65); }
body[data-store-theme] .store-category-navigation { background: var(--theme-header); border-color: var(--color-border); }
body[data-store-theme] .store-category-navigation .category-pill { border-radius: 0; border: 0; background: transparent; color: var(--theme-on-header); min-height: 44px; font-weight: 500; }
body[data-store-theme] .store-category-navigation .category-pill--selected { color: var(--theme-on-header); box-shadow: inset 0 -3px var(--color-accent); font-weight: 700; }
body[data-store-theme] .store-category-navigation .category-pill:hover { background: color-mix(in srgb, var(--theme-on-header) 7%, transparent); }
body[data-store-theme] .store-header .app-menu-dropdown { color: var(--color-text-primary); background: var(--color-background-secondary); }
body[data-store-theme] .store-shell { max-width: var(--store-content-width); padding-inline: var(--store-gutter); }
body:is([data-store-theme="aurea"],[data-store-theme="maison"],[data-store-theme="distrito"],[data-store-theme="origen"],[data-store-theme="tostado"],[data-store-theme="mesa"],[data-store-theme="enruta"],[data-store-theme="esquina"],[data-store-theme="estudio"],[data-store-theme="miga"]) { --store-content-width:1368px; --store-gutter:44px; }
@media(max-width:1200px) { body[data-store-theme] { --store-gutter:32px; } }
@media(max-width:900px) { body[data-store-theme] { --store-gutter:22px; } }
@media(max-width:600px) { body[data-store-theme] { --store-gutter:16px; } }
body[data-store-theme] main.store-content-shell { padding-top: clamp(1.25rem, 2.5vw, 2rem); }
body[data-store-theme] .store-catalog-intro { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-end; padding-block: .5rem 1.75rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }
body[data-store-theme] .store-catalog-eyebrow { color: var(--color-text-secondary); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .65rem; }
body[data-store-theme] #store-catalog-heading { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.2vw, 2.75rem); font-weight: var(--theme-heading-weight); line-height: 1.15; letter-spacing: -.035em; }
body[data-store-theme] .store-catalog-description { max-width: 48rem; margin-top: .75rem; font-size: .9rem; line-height: 1.7; color: var(--color-text-secondary); }
body[data-store-theme] .store-catalog-count { flex-shrink: 0; color: var(--color-text-secondary); font-size: .85rem; padding-bottom: .15rem; }
body[data-store-theme] :is(.home-section-title, .category-view-title, .section-title, .product-summary-header h1, .banner-title) { font-family: var(--font-heading); font-weight: var(--theme-heading-weight) !important; letter-spacing: -.035em; }
body[data-store-theme] .home-section-title { font-size: clamp(1.3rem, 2.1vw, 1.9rem) !important; line-height: 1.2; }
body[data-store-theme] .store-shell .home-section { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
body[data-store-theme] .store-rail-heading { margin-bottom: 1.25rem; }
body[data-store-theme] .store-shell :is(.product-card, .related-product-card, .latest-product-card) {
    border: 1px solid var(--color-border);
    border-radius: var(--theme-card-radius);
    background: var(--color-background-secondary);
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    overflow: hidden;
}
body[data-store-theme] .store-shell :is(.product-card, .related-product-card, .latest-product-card):hover { transform: none; border-color: var(--color-primary); box-shadow: 0 6px 22px #1827440a; }
body[data-store-theme] .product-card .product-card-image-area { aspect-ratio: var(--theme-image-ratio); height: auto; min-height: 0; background: #fff; border-radius: 0; }
body[data-store-theme] .product-card .product-card-img { object-fit: contain; padding: .65rem; }
body[data-store-theme] .product-card > .p-2 { padding: var(--theme-card-padding); }
body[data-store-theme] .product-card h3 { font-size: .9rem !important; line-height: 1.5; font-weight: 550; letter-spacing: -.015em; }
body[data-store-theme] .product-card .price-neutral { font-size: 1.2rem; font-weight: 650; }
body[data-store-theme] :is(.category-filter-panel, .filters-panel-theme) { border-radius: var(--theme-radius); box-shadow: none; border: 1px solid var(--color-border); background: var(--color-background-secondary); }
body[data-store-theme] .store-hero :is(.banner-carousel-container, .banner-carousel, .banner-slide) { border-radius: var(--theme-radius); box-shadow: none; }
body[data-store-theme] .store-hero .banner-slides-wrapper { width: 100%; min-width: 0; }
body[data-store-theme] .store-hero .banner-slide-item { flex: 0 0 100%; min-width: 0; width: 100%; max-width: 100%; }
body[data-store-theme] .store-hero .banner-slide { width: 100%; min-width: 0; }
body[data-store-theme] .store-hero .banner-title { line-height: 1.08; font-size: clamp(1.75rem, 3.4vw, 3.2rem); max-height: none; }
body[data-store-theme] .store-hero .store-hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; width: fit-content; min-height: 44px; padding: .75rem 1.25rem; margin-top: 1.25rem; color: var(--color-on-primary); background: var(--color-primary); border: 1px solid var(--color-primary); border-radius: var(--theme-radius); font-family: var(--font-body); font-size: .85rem; font-weight: 600; text-decoration: none; text-shadow: none; }
body[data-store-theme] .store-hero .store-hero-cta:hover { background: var(--color-primary-dark); }
body[data-store-theme] .store-hero .banner-category { letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; }
body[data-store-theme] .store-product-page .product-detail-layout { gap: clamp(1.25rem, 3vw, 3rem) !important; }
body[data-store-theme] .store-product-page .product-summary-header h1 { font-size: clamp(1.5rem, 2.6vw, 2.3rem) !important; line-height: 1.2; }
body[data-store-theme] .product-gallery-stage { border-radius: var(--theme-radius) !important; box-shadow: none !important; }
body[data-store-theme] .store-product-page .product-info-price-current { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 650; letter-spacing: -.04em; }
body[data-store-theme] :is(.btn-primary, .minimal-cart-btn, .minimal-whatsapp-btn, .cart-checkout-btn) { border-radius: var(--theme-radius); min-height: 44px; box-shadow: none; }
body[data-store-theme] .cart-sidebar { font-family: var(--font-body); background: var(--color-background-secondary); }
body[data-store-theme] .store-footer { margin-top: 3rem; }
@media (min-width: 768px) {
    body[data-store-theme] .store-shell .store-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body[data-store-theme] .store-shell .home-section-scroll > .flex > div { flex-basis: clamp(11rem, 18vw, 14rem); width: clamp(11rem, 18vw, 14rem); }
}
@media (min-width: 1024px) {
    body[data-store-theme] .store-shell .store-products-grid { grid-template-columns: repeat(var(--theme-columns), minmax(0, 1fr)); }
    body[data-store-theme] .store-header-main { display: grid; grid-template-columns: minmax(9rem, .65fr) minmax(0, 2fr) auto; gap: 1.75rem; align-items: center; }
    body[data-store-theme] .store-header-main .store-header-row { display: contents; margin: 0; }
    body[data-store-theme] .store-header-main .store-header-row > :first-child { grid-column: 1; grid-row: 1; }
    body[data-store-theme] .store-header-main .store-header-row > :last-child { grid-column: 3; grid-row: 1; }
    body[data-store-theme] .store-header-main .store-header-search { grid-column: 2; grid-row: 1; margin: 0; }
    body[data-store-theme] .store-product-page .product-detail-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "gallery heading" "gallery purchase" "details details"; }
    body[data-store-theme] .store-product-page .product-gallery { --store-gallery-height: clamp(24rem, 36vw, 35rem); }
}
@media (max-width: 767px) {
    body[data-store-theme] { --theme-card-padding: .7rem; --store-grid-gap: .75rem; }
    body[data-store-theme] .store-shell .store-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body[data-store-theme] .store-header .store-header-main { padding-block: .65rem; }
    body[data-store-theme] .store-header .store-brand-link h1 { font-size: 1.1rem !important; }
    body[data-store-theme] .store-category-navigation .category-pill { font-size: .8rem; padding-inline: .8rem; }
    body[data-store-theme] .product-card h3 { font-size: .8rem !important; }
    body[data-store-theme] .product-card .price-neutral { font-size: 1.05rem; }
    body[data-store-theme] .store-hero .banner-title { font-size: clamp(1.5rem, 7vw, 2rem); }
    body[data-store-theme] .store-catalog-intro { align-items: flex-start; flex-direction: column; gap: .75rem; padding-bottom: 1.25rem; }
    body[data-store-theme] .store-hero { margin-inline: 0; }
    body[data-store-theme] .store-hero :is(.banner-carousel-container, .banner-carousel) { margin-inline: 0; width: 100%; left: auto; right: auto; }
    body[data-store-theme] .store-hero .banner-slide { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; }
    body[data-store-theme] .store-hero .banner-slide__img { position: relative; inset: auto; order: 2; width: 100%; height: 190px; object-fit: cover; }
    body[data-store-theme] .store-hero .banner-slide-overlay { display: none; }
    body[data-store-theme] .store-hero .banner-content { position: relative; inset: auto; transform: none; order: 1; width: 100%; min-width: 0; max-width: none; padding: 1.25rem; background: var(--color-background-tertiary); color: var(--color-text-primary); text-shadow: none; }
    body[data-store-theme] .store-hero .banner-title { color: var(--color-text-primary); text-shadow: none; line-height: 1.15; }
    body[data-store-theme] .store-hero .banner-category { color: var(--color-primary); background: transparent; padding-left: 0; }
    body[data-store-theme] .store-product-page .product-summary-header h1 { font-size: 1.5rem !important; }
    body[data-store-theme] .store-product-page .product-gallery { --store-gallery-height: clamp(16rem, 65vw, 26rem); }
}
@media (prefers-reduced-motion: reduce) {
    body[data-store-theme] *, body[data-store-theme] *::before, body[data-store-theme] *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
