/**
 * Store / Collections — réplica de maorbenezri.com/collections
 * Tokens alineados a Maor + soporte data-theme light/dark.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.store-page {
    /* Escala Maor */
    --store-page-width: 1900px;
    --store-sp-3: 0.75rem;
    --store-sp-4: 1rem;
    --store-sp-5: 1.25rem;
    --store-sp-6: 1.5rem;
    --store-sp-7d5: 1.875rem;
    --store-sp-10: 2.5rem;
    --store-sp-12: 3rem;
    --store-sp-20: 5rem;
    --store-sp-32: 8rem;
    --store-card-gap: clamp(var(--store-sp-4), 1.263vw, var(--store-sp-6));
    --store-radius: clamp(0.625rem, 1.053vw, 1.25rem);
    --store-radius-sm: 0.5rem;
    --store-btn-radius: 3.75rem;
    --store-font: 'Inter', system-ui, sans-serif;
    --store-anim: 0.5s cubic-bezier(0.3, 1, 0.3, 1);

    /* Tema (sigue data-theme del sitio) */
    --store-bg: var(--background, #f8f7f4);
    --store-surface: var(--surface, #ffffff);
    --store-text: var(--text, #141414);
    --store-muted: var(--text-muted, rgba(20, 20, 20, 0.58));
    --store-border: var(--border, rgba(20, 20, 20, 0.1));
    --store-sale: #c1121f;
    /* Botón: fondo = color de texto del tema; letras = fondo (siempre contraste) */
    --store-btn-bg: var(--text, #141414);
    --store-btn-fg: var(--background, #f8f7f4);
    --store-btn-hover-bg: #ffffff;
    --store-btn-hover-fg: var(--text, #141414);
    --store-media-bg: color-mix(in srgb, var(--store-text) 8%, var(--store-bg));
    --store-skeleton: color-mix(in srgb, var(--store-text) 10%, var(--store-surface));

    font-family: var(--store-font);
    background: var(--store-bg) !important;
    color: var(--store-text) !important;
}

/* Cabecera legible sobre fondo claro del store (tema light) */
[data-theme="light"] body.store-page .topbar:not(.is-open) .topbar__link,
[data-theme="light"] body.store-page .topbar.topbar--floating .topbar__link {
    color: var(--text, #141414) !important;
    opacity: 0.82;
    text-shadow: none !important;
}

[data-theme="light"] body.store-page .topbar:not(.is-open) .topbar__link:hover,
[data-theme="light"] body.store-page .topbar:not(.is-open) .topbar__link:focus,
[data-theme="light"] body.store-page .topbar.topbar--floating .topbar__link:hover,
[data-theme="light"] body.store-page .topbar.topbar--floating .topbar__link:focus {
    color: var(--text, #141414) !important;
    opacity: 1;
}

[data-theme="light"] body.store-page .topbar:not(.is-open) .lang-switch__item,
[data-theme="light"] body.store-page .topbar.topbar--floating .lang-switch__item {
    color: var(--text, #141414) !important;
    text-shadow: none !important;
}

[data-theme="light"] body.store-page .topbar:not(.is-open) .lang-switch__item:hover,
[data-theme="light"] body.store-page .topbar.topbar--floating .lang-switch__item:hover {
    color: var(--text, #141414) !important;
    opacity: 0.72;
}

[data-theme="light"] body.store-page .topbar:not(.is-open) .topbar__logo,
[data-theme="light"] body.store-page .topbar.topbar--floating .topbar__logo {
    filter: none !important;
}

[data-theme="light"] body.store-page .topbar:not(.is-open) .topbar__toggle-bar,
[data-theme="light"] body.store-page .topbar.topbar--floating .topbar__toggle-bar {
    background: var(--text, #141414) !important;
}

[data-theme="dark"] body.store-page {
    --store-surface: #141414;
    --store-btn-hover-bg: #0c0c0c;
    --store-btn-hover-fg: #f2f2f0;
}

/* Neutraliza letter-spacing 15px / font-size de p y button legacy */
body.store-page p {
    font-family: var(--store-font) !important;
    font-size: 1rem !important;
    letter-spacing: normal !important;
    line-height: 1.5 !important;
    color: inherit;
    inline-size: auto !important;
}

body.store-page button {
    background: transparent;
    font-family: var(--store-font);
    letter-spacing: normal;
}

body.store-page.has-store-bundle {
    padding-bottom: 0;
}

@media (max-width: 1023px) {
    body.store-page.has-store-bundle {
        padding-bottom: 5rem;
    }
}

body.store-page .site-header,
body.store-page .site-footer {
    font-family: inherit;
}

.store-collections {
    /* page-width Maor: 1900px + padding fluido */
    width: 100%;
    max-width: var(--store-page-width);
    margin: 0 auto;
    padding: var(--store-sp-10) clamp(var(--store-sp-5), 3vw, var(--store-sp-12)) var(--store-sp-12);
    box-sizing: border-box;
}

/* Anula header { position:fixed } de estilo.css */
body.store-page .store-collections__head {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    background: transparent !important;
    z-index: auto !important;
    margin-bottom: var(--store-sp-10);
    padding: 0;
}

/* title-xl + tracking-heading */
body.store-page h1.store-collections__title {
    margin: 0;
    font-family: var(--store-font) !important;
    font-size: clamp(var(--store-sp-12), 7.813vw, var(--store-sp-20)) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
    text-transform: none;
    color: var(--store-text) !important;
}

@media (min-width: 1024px) {
    body.store-page h1.store-collections__title {
        font-size: clamp(var(--store-sp-20), 6.737vw, var(--store-sp-32)) !important;
    }
}

.store-collections__lead {
    margin: 0.85rem 0 0;
    max-width: 36rem;
    color: var(--store-muted);
    font-size: 1rem !important;
    line-height: 1.5 !important;
    font-weight: 400;
    letter-spacing: normal !important;
}

/* Filtros tipo chips */
.store-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 var(--store-sp-6);
    padding: 0;
    list-style: none;
}

.store-filters__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--store-border);
    background: var(--store-surface);
    color: var(--store-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: background var(--store-anim), color var(--store-anim), border-color var(--store-anim);
}

.store-filters__link:hover {
    border-color: color-mix(in srgb, var(--store-text) 35%, transparent);
}

.store-filters__link.is-active {
    background: var(--store-text);
    color: var(--store-bg);
    border-color: var(--store-text);
}

.store-filters__count {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.65;
}

/* Cards de colección */
.store-collection-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--store-card-gap);
    margin-bottom: var(--store-sp-12);
}

.store-collection-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--store-text);
    min-width: 0;
}

.store-collection-card__media {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--store-radius);
    background: var(--store-media-bg);
}

.store-collection-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-collection-card__carousel {
    position: absolute;
    inset: 0;
}

.store-collection-card__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s ease;
    pointer-events: none;
}

.store-collection-card__slide.is-active {
    opacity: 1;
}

.store-collection-card__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-collection-card:hover .store-collection-card__media img,
.store-collection-card:hover .store-collection-card__slide.is-active img {
    transform: scale(1.04);
}

.store-collection-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.store-collection-card__text {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.3em;
    min-width: 0;
    max-width: calc(100% - 1.75rem);
}

.store-collection-card__label {
    display: inline;
    font-family: var(--store-font);
    font-size: clamp(1.25rem, 0.4966rem + 1.1818vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.15;
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: left 1.15em;
    background-repeat: no-repeat;
    background-size: 0 1.35px;
    transition: background-size var(--store-anim);
}

.store-collection-card:hover .store-collection-card__label {
    background-size: 100% 1.35px;
}

.store-collection-card__count {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0.75;
    line-height: 1.2;
    margin-top: 0.1em;
}

.store-collection-card__arrow {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--store-text);
    transition: transform 0.35s cubic-bezier(0.3, 1, 0.3, 1);
}

.store-collection-card:hover .store-collection-card__arrow {
    transform: translateX(3px);
}

/* Grid productos + sidebar — Maor: card-grid--4 + gap-10 */
.store-bundle-layout {
    display: flex;
    align-items: flex-start;
    gap: var(--store-sp-10);
}

.store-bundle-layout__main {
    flex: 1 1 auto;
    min-width: 0;
}

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--store-card-gap);
}

.store-product-card {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--store-radius);
    background: var(--store-media-bg);
    margin-bottom: 0.85rem;
    isolation: isolate;
}

.store-product-card__link {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}

.store-product-card__link > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-product-card__carousel {
    position: absolute;
    inset: 0;
}

.store-product-card__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
}

.store-product-card__slide.is-active {
    opacity: 1;
}

.store-product-card__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-product-card__dots {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.55rem;
    z-index: 3;
    display: flex;
    gap: 3px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.store-product-card:hover .store-product-card__dots {
    opacity: 1;
}

.store-product-card__dot {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.15s ease;
}

.store-product-card__dot.is-active {
    background: #fff;
}

/* Quick view eye */
.store-product-card__quick {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--store-text) 12%, transparent);
    background: color-mix(in srgb, var(--store-surface) 92%, transparent);
    color: var(--store-text);
    text-decoration: none;
    opacity: 0;
    transform: translateY(-4px) scale(0.96);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--store-text) 12%, transparent);
    backdrop-filter: blur(8px);
}

.store-product-card:hover .store-product-card__quick {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.store-product-card__quick:hover {
    background: var(--store-surface);
}

.store-product-card__quick svg {
    width: 1.1rem;
    height: 1.1rem;
}

.store-product-card__badges {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    display: grid;
    gap: 0.35rem;
    z-index: 2;
    pointer-events: none;
}

.store-product-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--store-surface) 94%, transparent);
    color: var(--store-text);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
}

.store-product-card__badge--sale {
    background: var(--store-sale);
    color: #fff;
}

.store-product-card__badge--region {
    background: color-mix(in srgb, var(--store-surface) 88%, transparent);
    color: var(--store-text);
    font-weight: 500;
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-product-card--map .store-product-card__media {
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--store-text) 12%, transparent), transparent 55%),
        var(--store-media-bg);
}

/* Mockup covers (e.g. Costa Rica book shot) — smaller, more white space */
.store-product-card--cover-contain .store-product-card__media {
    background: #fff;
}

.store-product-card--cover-contain .store-product-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22%;
    box-sizing: border-box;
}

.store-product-card--cover-contain .store-product-card__link > img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-collection-card__slide--contain {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20%;
    box-sizing: border-box;
    background: #fff;
}

.store-collection-card__slide--contain img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
}

.store-collection-card:hover .store-collection-card__slide--contain.is-active img {
    transform: none;
}

.store-product-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.store-product-card__details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .store-product-card__details {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.5rem;
    }
}

/* text-base-xl font-medium */
body.store-page h2.store-product-card__title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--store-font) !important;
    font-size: clamp(1rem, 0.873rem + 0.3175vw, 1.25rem) !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    color: var(--store-text) !important;
}

.store-product-card__title a {
    color: inherit !important;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: left 1.15em;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size var(--store-anim);
}

.store-product-card__title a:hover {
    background-size: 100% 1px;
}

.store-product-card__vendor {
    margin: 0;
    order: -1;
    font-family: var(--store-font);
    font-size: 0.75rem !important;
    color: var(--store-muted) !important;
    font-weight: 400;
    letter-spacing: normal !important;
    line-height: 1.3 !important;
}

.store-product-card__price {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.4rem;
    font-family: var(--store-font);
    font-size: clamp(1rem, 0.873rem + 0.3175vw, 1.25rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: var(--store-text);
}

@media (min-width: 1024px) {
    .store-product-card__price {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.15rem;
    }
}

.store-product-card__compare {
    font-weight: 400;
    color: var(--store-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
}

/* Add to bundle — contraste siempre legible (light + dark) */
body.store-page .store-product-card__cta {
    position: relative;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.125rem;
    padding: 0.85rem 1.15rem;
    overflow: hidden;
    isolation: isolate;
    border: 2px solid var(--store-btn-bg) !important;
    background: var(--store-btn-bg) !important;
    color: var(--store-btn-fg) !important;
    font-family: var(--store-font) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    text-decoration: none;
    border-radius: var(--store-btn-radius) !important;
    cursor: pointer;
    transition: color var(--store-anim), background var(--store-anim), border-color var(--store-anim);
}

body.store-page .store-product-card__cta-fill {
    position: absolute;
    display: block;
    width: 150%;
    height: 200%;
    top: -50%;
    left: -25%;
    border-radius: 50%;
    background: var(--store-btn-hover-bg) !important;
    transform: translate3d(0, -100%, 0);
    transition: transform 0.6s cubic-bezier(0.3, 1, 0.3, 1);
    z-index: 0;
    pointer-events: none;
}

body.store-page .store-product-card__cta-text {
    position: relative;
    z-index: 1;
    color: inherit !important;
}

body.store-page .store-product-card__cta:hover {
    color: var(--store-btn-hover-fg) !important;
    background: var(--store-btn-bg) !important;
}

body.store-page .store-product-card__cta:hover .store-product-card__cta-fill {
    transform: translate3d(0, 0, 0);
}

body.store-page .store-product-card__cta.is-added {
    background: var(--store-btn-hover-bg) !important;
    color: var(--store-btn-hover-fg) !important;
    border-color: var(--store-btn-bg) !important;
}

body.store-page .store-product-card__cta.is-added .store-product-card__cta-fill {
    transform: translate3d(0, 0, 0);
    background: var(--store-btn-hover-bg) !important;
}

body.store-page .store-product-card__cta.is-added:hover {
    color: var(--store-btn-fg) !important;
}

body.store-page .store-product-card__cta.is-added:hover .store-product-card__cta-fill {
    background: var(--store-btn-bg) !important;
}

.store-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--store-muted);
}

.store-alert {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--store-radius-sm);
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.9rem;
}

/* Trust strip */
.store-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--store-border);
}

.store-trust__item {
    display: grid;
    gap: 0.65rem;
}

.store-trust__icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--store-text);
}

.store-trust__title {
    margin: 0;
    font-size: 1rem !important;
    font-weight: 600;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    color: var(--store-text) !important;
}

.store-trust__text {
    margin: 0;
    font-size: 0.875rem !important;
    color: var(--store-muted) !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
}

/* Your bundle — sidebar sticky derecha (Maor) */
.store-bundle {
    position: sticky;
    top: calc(var(--header-h, 5.5rem) + 1.25rem);
    flex: 0 0 auto;
    width: clamp(340px, 25vw, 430px);
    z-index: 20;
    align-self: flex-start;
    pointer-events: auto;
}

.store-bundle__inner {
    display: flex;
    flex-direction: column;
    gap: var(--store-sp-7d5);
    padding: var(--store-sp-7d5);
    color: var(--store-text);
    background: var(--store-surface);
    border: 2px solid var(--store-text);
    border-radius: var(--store-radius);
    max-height: calc(100svh - var(--header-h, 5.5rem) - 2.5rem);
    overflow: auto;
}

.store-bundle__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent !important;
    cursor: default;
    font-family: inherit;
    text-align: left;
    pointer-events: none;
    color: var(--store-text);
}

.store-bundle__heading {
    margin: 0;
    font-family: var(--store-font) !important;
    font-size: clamp(1.5rem, 2vw, 2.25rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
    color: var(--store-text) !important;
}

.store-bundle__chevron {
    display: none;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--store-text);
}

.store-bundle__progress {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--store-text) 10%, transparent);
    overflow: hidden;
}

.store-bundle__progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: var(--store-text);
    transition: width 0.45s cubic-bezier(0.3, 1, 0.3, 1);
}

.store-bundle__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.store-bundle__list {
    display: grid;
    gap: 1rem;
}

.store-bundle__item {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.store-bundle__thumb {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--store-radius-sm);
    overflow: hidden;
    background: var(--store-skeleton);
}

.store-bundle__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-bundle__meta {
    min-width: 0;
    display: grid;
    gap: 0.35rem;
}

.store-bundle__title {
    margin: 0;
    font-family: var(--store-font);
    font-size: 0.875rem !important;
    font-weight: 500;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
    color: var(--store-text) !important;
}

.store-bundle__price {
    margin: 0;
    font-size: 0.8rem !important;
    color: var(--store-muted) !important;
    letter-spacing: normal !important;
    line-height: 1.3 !important;
}

.store-bundle__skeleton {
    display: block;
    height: 0.7rem;
    width: 70%;
    border-radius: 999px;
    background: var(--store-skeleton);
}

.store-bundle__skeleton:last-child {
    width: 40%;
}

.store-bundle__remove {
    border: none;
    background: none !important;
    color: var(--store-muted) !important;
    font-family: var(--store-font);
    font-size: 0.75rem !important;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    padding: 0;
    letter-spacing: normal !important;
}

.store-bundle__footer {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.store-bundle__total-row {
    display: none;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--store-font);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--store-text);
}

@media (min-width: 1024px) {
    .store-bundle__total-row {
        display: flex;
    }
}

body.store-page .store-bundle__checkout {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.75rem;
    padding: 0.95rem 1rem;
    overflow: hidden;
    isolation: isolate;
    border: 2px solid var(--store-btn-bg) !important;
    border-radius: var(--store-btn-radius) !important;
    background: var(--store-btn-bg) !important;
    color: var(--store-btn-fg) !important;
    text-decoration: none;
    font-family: var(--store-font);
    font-size: 0.9rem !important;
    font-weight: 500;
    letter-spacing: -0.01em !important;
    transition: color var(--store-anim), opacity 0.2s ease;
}

body.store-page .store-bundle__checkout .store-product-card__cta-fill {
    background: var(--store-btn-hover-bg) !important;
}

body.store-page .store-bundle__checkout:hover:not([aria-disabled="true"]) {
    color: var(--store-btn-hover-fg) !important;
}

body.store-page .store-bundle__checkout:hover:not([aria-disabled="true"]) .store-product-card__cta-fill {
    transform: translate3d(0, 0, 0);
}

.store-bundle__checkout[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.store-bundle__checkout-inner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: inherit !important;
}

.store-bundle__checkout-price {
    display: none;
}

@media (max-width: 1023px) {
    .store-bundle__checkout-price {
        display: inline;
    }
}

.store-bundle__note {
    margin: 0;
    text-align: center;
    font-size: 0.75rem !important;
    color: var(--store-muted) !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
}

@media (max-width: 1100px) {
    .store-bundle-layout {
        flex-direction: column;
    }

    .store-bundle {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        top: auto;
        width: auto;
        z-index: 80;
    }

    .store-bundle__inner {
        max-height: min(55svh, 420px);
        padding: 1rem 1.15rem 1.15rem;
        gap: 0.85rem;
        box-shadow: 0 16px 48px color-mix(in srgb, var(--store-text) 18%, transparent);
    }

    .store-bundle__head {
        pointer-events: auto;
        cursor: pointer;
    }

    .store-bundle__chevron {
        display: block;
        transition: transform 0.25s ease;
    }

    .store-bundle:not(.is-expanded) .store-bundle__body,
    .store-bundle:not(.is-expanded) .store-bundle__progress {
        display: none;
    }

    .store-bundle.is-expanded .store-bundle__chevron {
        transform: rotate(180deg);
    }

    .store-bundle__heading {
        font-size: 1.35rem !important;
    }

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

    .store-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1279px) and (min-width: 1101px) {
    .store-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .store-collection-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .store-collection-cards {
        grid-template-columns: 1fr;
    }

    .store-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 0.75rem;
    }

    .store-product-card__quick {
        opacity: 1;
        transform: none;
    }

    .store-product-card__dots {
        opacity: 1;
    }

    .store-trust {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .store-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-collection-card img,
    .store-collection-card__slide,
    .store-collection-card__label,
    .store-collection-card__arrow,
    .store-product-card__slide,
    .store-product-card__quick,
    .store-product-card__cta-fill,
    .store-filters__link,
    .store-product-card__cta,
    .store-bundle__progress-bar {
        transition: none;
    }
}
