:root {
    --store-bg: #f4f3f0;
    --store-surface: #ffffff;
    --store-ink: #111518;
    --store-muted: #70767a;
    --store-line: #dfe1df;
    --store-dark: #0d1114;
    --store-shell: 80rem;
}

* { box-sizing: border-box; }

body.store-page {
    margin: 0;
    min-width: 320px;
    background: var(--store-bg);
    color: var(--store-ink);
    font-family: "Helvetica Neue", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.store-shell {
    width: min(calc(100% - 2.5rem), var(--store-shell));
    margin-inline: auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(13,17,20,.97);
    color: #fff;
    backdrop-filter: blur(18px);
}

.store-header__inner {
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 650;
}

.store-brand img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.store-nav { display: flex; align-items: center; gap: 1.5rem; }
.store-nav a {
    color: #aeb4b8;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
}
.store-nav a:hover,
.store-nav a[aria-current="page"] { color: #fff; }

.store-kicker {
    margin: 0 0 1rem;
    color: #7b8083;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.store-hero,
.store-category-hero {
    padding-block: clamp(5.5rem, 10vw, 9rem);
    background: var(--store-bg);
}

.store-hero__grid {
    display: grid;
    gap: 2.75rem;
    align-items: end;
}

.store-hero h1,
.store-category-hero h1,
.store-status-page h1 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 6.8rem);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.055em;
}

.store-hero__side { max-width: 34rem; }
.store-hero__side > p,
.store-category-hero > .store-shell > p:last-child {
    margin: 0 0 1.75rem;
    color: var(--store-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.store-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .55rem;
    padding: .35rem;
    border: 1px solid #d5d7d6;
    border-radius: 999px;
    background: #fff;
}

.store-search input {
    min-width: 0;
    min-height: 2.75rem;
    padding: 0 1rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--store-ink);
    font: inherit;
}

.store-search button,
.store-button {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--store-dark);
    color: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}

.store-search button:hover,
.store-button:hover { background: #272d31; }

.store-categories,
.store-products {
    padding-block: clamp(5rem, 8vw, 8.5rem);
    background: #fff;
}

.store-products--related { background: var(--store-bg); }

.store-section-heading {
    margin-bottom: clamp(3rem, 5vw, 4.75rem);
}
.store-section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}
.store-section-heading h2 {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.05em;
}
.store-clear-link {
    color: var(--store-ink);
    font-size: .8rem;
    font-weight: 650;
}

.store-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--store-line);
}
.store-category {
    min-height: 6.5rem;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--store-line);
    color: var(--store-ink);
    text-decoration: none;
}
.store-category:hover { padding-inline: .5rem; }
.store-category__name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; }
.store-category__count { color: var(--store-muted); font-size: .78rem; }

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem 1rem;
}

.store-card { min-width: 0; }
.store-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: .5rem;
    background: #efefec;
    color: inherit;
    text-decoration: none;
}
.store-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.store-card:hover .store-card__media img { transform: scale(1.015); }
.store-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: end start;
    padding: 1rem;
    color: #a0a4a5;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.store-card__badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .45rem .65rem;
    border-radius: 999px;
    background: rgba(13,17,20,.9);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
}
.store-card__body { padding-top: 1.15rem; }
.store-card__category {
    display: block;
    margin-bottom: .5rem;
    color: #858a8c;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.store-card h3 { margin: 0 0 .6rem; font-size: 1.08rem; line-height: 1.2; letter-spacing: -.025em; }
.store-card h3 a { color: inherit; text-decoration: none; }
.store-card__price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: .85rem; }
.store-card__price strong { font-size: .98rem; }
.store-card__price del { color: #969a9c; font-size: .8rem; }
.store-card__consult { display: block; margin-bottom: .85rem; color: #666b6e; font-size: .86rem; }
.store-card__link { color: var(--store-ink); font-size: .78rem; font-weight: 650; text-decoration: none; }
.store-card__link:hover { text-decoration: underline; }

.store-empty {
    max-width: 42rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--store-line);
    border-radius: .75rem;
    background: var(--store-bg);
}
.store-empty h2,
.store-empty h3 { margin-top: 0; font-size: 1.5rem; letter-spacing: -.03em; }
.store-empty p { color: var(--store-muted); }

.store-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 3.5rem;
    color: #858a8d;
    font-size: .72rem;
}
.store-breadcrumbs a { color: inherit; }

.product-page { padding-block: 2.25rem clamp(6rem, 9vw, 9rem); background: #fff; }
.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .75rem;
}
.product-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: .5rem;
    background: #efefec;
    aspect-ratio: 1 / 1;
}
.product-gallery__item--primary { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.product-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__placeholder {
    min-height: 32rem;
    display: grid;
    place-items: end start;
    padding: 1.25rem;
    border-radius: .5rem;
    background: #efefec;
    color: #9ca0a2;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.product-info { align-self: start; }
.product-info__category { color: #858a8d; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-info h1 { margin: .8rem 0 1.5rem; font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.product-info__price { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1rem; }
.product-info__price strong { font-size: 1.45rem; }
.product-info__price del { color: #999d9f; }
.product-status { display: inline-flex; margin: 0 0 2rem; padding: .45rem .7rem; border-radius: 999px; background: #eff2ee; color: #516052; font-size: .7rem; font-weight: 700; }
.product-status--out { background: #f3eeee; color: #705a5a; }
.product-info__lead { max-width: 36rem; margin: 0 0 2rem; color: #666c6f; font-size: 1.02rem; line-height: 1.75; }
.product-whatsapp {
    display: grid;
    grid-template-columns: auto 5rem minmax(0,1fr);
    align-items: end;
    gap: .7rem;
    margin-block: 2rem;
    padding-block: 2rem;
    border-top: 1px solid var(--store-line);
    border-bottom: 1px solid var(--store-line);
}
.product-whatsapp label { grid-column: 1 / 3; color: #797e81; font-size: .7rem; font-weight: 700; }
.product-whatsapp input {
    width: 5rem;
    min-height: 3rem;
    padding: .65rem;
    border: 1px solid #d4d6d5;
    border-radius: .5rem;
    font: inherit;
}
.store-button--whatsapp { min-height: 3rem; }
.product-whatsapp--pending { display: block; background: #f5f4f1; padding: 1.25rem; border-radius: .5rem; }
.product-whatsapp--pending p { margin-bottom: 0; color: #74797c; }
.product-info__description { margin-top: 2rem; }
.product-info__description h2 { margin: 0 0 1rem; font-size: 1.05rem; }
.product-info__description div { max-width: 38rem; color: #62686b; line-height: 1.8; }
.product-info__sku { margin-top: 2rem; color: #929698; font-size: .72rem; }

.store-status-page { min-height: 65vh; display: grid; align-items: center; padding-block: 6rem; }
.store-status-page p { max-width: 38rem; color: var(--store-muted); }

.store-footer { padding-top: 5rem; background: var(--store-dark); color: #fff; }
.store-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 4rem; }
.store-footer__grid strong { font-size: 1.05rem; }
.store-footer__grid p { max-width: 28rem; color: #8e969b; }
.store-footer nav { display: flex; flex-direction: column; gap: .8rem; }
.store-footer nav a { color: #a6adb1; text-decoration: none; font-size: .8rem; }
.store-footer nav a:hover { color: #fff; }
.store-footer__bottom { min-height: 4.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #242a2e; color: #737b80; font-size: .7rem; }

@media (min-width: 46rem) {
    .store-shell { width: min(calc(100% - 4rem), var(--store-shell)); }
    .store-hero__grid { grid-template-columns: minmax(0,1.25fr) minmax(20rem,.65fr); gap: clamp(4rem,8vw,8rem); }
    .store-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; }
    .store-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4.25rem 1.25rem; }
    .store-footer__grid { grid-template-columns: 1fr auto; }
}

@media (min-width: 64rem) {
    .store-shell { width: min(calc(100% - 5rem), var(--store-shell)); }
    .store-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5rem 1.5rem; }
    .store-product-grid--four { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .product-detail { grid-template-columns: minmax(0,1.25fr) minmax(22rem,.75fr); gap: clamp(4rem,8vw,8rem); }
    .product-info { position: sticky; top: 7rem; }
}

@media (max-width: 39.999rem) {
    .store-brand span { display: none; }
    .store-nav { gap: 1rem; }
    .store-category { grid-template-columns: minmax(0,1fr) auto; }
    .store-category__count { display: none; }
    .store-product-grid { grid-template-columns: 1fr; gap: 3.25rem; }
    .store-card__media { aspect-ratio: 4 / 4.8; }
    .store-section-heading--row { align-items: flex-start; flex-direction: column; }
    .product-whatsapp { grid-template-columns: 5rem minmax(0,1fr); }
    .product-whatsapp label { grid-column: 1 / -1; }
    .store-footer__bottom { padding-block: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.store-category-hero__grid { display: grid; gap: 2.5rem; align-items: end; }
.store-category-hero__grid > div > p:last-child { max-width: 38rem; margin: 1.5rem 0 0; color: var(--store-muted); line-height: 1.7; }
.store-category-hero__image { margin: 0; overflow: hidden; border-radius: .5rem; background: #e9e9e6; aspect-ratio: 16/10; }
.store-category-hero__image img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 52rem) { .store-category-hero__grid:has(.store-category-hero__image) { grid-template-columns: minmax(0,.8fr) minmax(24rem,1.2fr); gap: clamp(4rem,8vw,7rem); } }
