/* ============================================================
   Store page — Maison editorial layout
   Cinematic hero · marquee · quiet sections
   ============================================================ */

.store-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-height: var(--header-h);
    width: 100%;
}

.store-logo { flex-shrink: 0; }

.store-search {
    flex: 1;
    max-width: 520px;
    position: relative;
    margin: 0 auto;
}

.store-search__input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-weight: 300;
    letter-spacing: 0.04em;
    transition: var(--transition-fast);
}

.store-search__input:focus {
    outline: none;
    border-bottom-color: var(--text);
    background: transparent;
    box-shadow: none;
}

.store-search__icon {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.82rem;
    pointer-events: none;
}

.store-search__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    max-height: 320px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: var(--transition);
    z-index: 100;
}

.store-search__dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.store-search__section {
    padding: var(--space-1) var(--space-2);
    border-bottom: 1px solid var(--border);
}

.store-search__section:last-child { border-bottom: none; }

.store-search__label {
    font-size: 0.62rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-light);
    padding: 6px 0;
}

.store-search__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text);
    transition: background 0.2s ease;
}

.store-search__item:hover { background: var(--primary-soft); }

.store-search__empty {
    padding: var(--space-3);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.store-header__actions { flex-shrink: 0; }

.header-badge {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    background: var(--text);
    color: var(--bg);
    font-size: 0.58rem;
    font-weight: 400;
    border-radius: var(--radius-pill);
    display: none;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

.header-badge.is-visible { display: flex; }

.mobile-filter-toggle { display: none; }

/* ============ Cinematic hero ============ */
.hero {
    position: relative;
    min-height: calc(100svh - var(--header-h, 68px));
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--bg);
    isolation: isolate;
}

.hero--cinematic { padding: 0; }

.hero__media {
    position: absolute;
    inset: -8% 0;
    z-index: 0;
    will-change: transform;
}

.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0;
    transition: opacity 1.6s var(--ease-out);
    animation: heroDrift 22s ease-in-out infinite alternate;
    will-change: transform;
}

.hero__media img.is-live { opacity: 1; }

.hero__media img:nth-child(2) { animation-delay: -7s; }
.hero__media img:nth-child(3) { animation-delay: -14s; }

@keyframes heroDrift {
    from { transform: scale(1.02) translateY(0); }
    to { transform: scale(1.12) translateY(-2%); }
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.06) 34%, rgba(10,10,10,0.72) 78%, var(--bg) 100%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px) clamp(84px, 13vh, 140px);
    text-align: left;
    will-change: transform;
}

.hero__eyebrow {
    font-size: 0.64rem;
    font-weight: 400;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(244, 244, 244, 0.75);
    margin-bottom: 20px;
    animation: heroRise 1.1s 0.25s var(--ease-out) both;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(3rem, 9.5vw, 6.8rem);
    line-height: 0.98;
    letter-spacing: 0.005em;
    color: #f7f7f7;
    margin-bottom: 22px;
    text-wrap: balance;
    animation: heroRise 1.1s 0.4s var(--ease-out) both;
}

.hero__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.05rem, 2.4vw, 1.45rem);
    font-weight: 400;
    color: rgba(244, 244, 244, 0.85);
    max-width: 520px;
    line-height: 1.55;
    margin-bottom: 38px;
    animation: heroRise 1.1s 0.55s var(--ease-out) both;
}

.hero__cta {
    animation: heroRise 1.1s 0.7s var(--ease-out) both;
}

.hero__scrollcue {
    position: absolute;
    right: clamp(20px, 5vw, 56px);
    bottom: clamp(84px, 13vh, 140px);
    z-index: 2;
    writing-mode: vertical-rl;
    font-size: 0.6rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(244, 244, 244, 0.6);
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero__scrollcue::after {
    content: '';
    width: 1px;
    height: 54px;
    background: linear-gradient(180deg, rgba(244,244,244,0.65), transparent);
    animation: cueDrop 2.2s var(--ease-out) infinite;
}

@keyframes cueDrop {
    0% { transform: scaleY(0); transform-origin: top; }
    45% { transform: scaleY(1); transform-origin: top; }
    55% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* legacy hero kept harmless if ever reused */
.hero-content { max-width: 640px; margin: 0 auto; }
.hero-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 400;
    line-height: 1.08;
}
.hero-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin: 16px 0 30px;
}

/* Legacy fade-up sections still animate via reveal system */
.hero.fade-up, .categories.fade-up, .products.fade-up, .info-section.fade-up {
    opacity: 1;
    transform: none;
}

/* ============ Marquee ribbon ============ */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    background: var(--bg);
}

.marquee__track {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeSlide 36s linear infinite;
    will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.02rem;
    font-weight: 400;
    color: var(--text-muted);
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    gap: 30px;
}

.marquee__item i,
.marquee__sep {
    font-size: 0.55rem;
    color: var(--text-light);
    font-style: normal;
}

@keyframes marqueeSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============ Sections & headings ============ */
.section-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    letter-spacing: 0.01em;
    margin-bottom: var(--space-3);
    text-align: center;
}

.section-title + .shop-toolbar__meta { text-align: center; display: block; }

.categories {
    padding: var(--space-6) 0 var(--space-5);
    background: transparent;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-pill {
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: transparent;
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.category-pill:hover {
    color: var(--text);
    border-color: var(--border-light);
}

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

/* ============ Products section ============ */
.products {
    padding: var(--space-4) 0 var(--space-6);
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-4);
    align-items: start;
}

.home-products .shop-layout { grid-template-columns: 1fr; }

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
}

.shop-toolbar .section-title { text-align: left; margin-bottom: 2px; }

.shop-toolbar__meta {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
}

.store-sort-select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
}

.store-sort-select:hover { border-color: var(--border-light); }

.store-sort-select:focus {
    outline: none;
    border-color: var(--border-light);
    box-shadow: none;
}

.store-sort-select option {
    background: var(--bg-elevated);
    color: var(--text);
}

/* ============ Filter sidebar ============ */
.filter-sidebar {
    position: sticky;
    top: calc(var(--header-h) + var(--space-2));
    background: transparent;
    border: none;
    border-radius: 0;
    padding: var(--space-2) 0;
    color: var(--text);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.filter-sidebar__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.filter-accordion__item {
    border-bottom: 1px solid var(--border);
}

.filter-accordion__item:last-child { border-bottom: none; }

.filter-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 2px;
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    background: transparent;
}

.filter-accordion__trigger:hover { color: var(--text); }

.filter-accordion__trigger i {
    font-size: 0.66rem;
    color: var(--text-light);
    transition: transform 0.3s var(--ease-out);
}

.filter-accordion__item.is-open .filter-accordion__trigger i {
    transform: rotate(180deg);
    color: var(--text);
}

.filter-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out);
}

.filter-accordion__item.is-open .filter-accordion__panel {
    max-height: 420px;
}

.filter-accordion__content {
    padding: 0 2px 16px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--duration-fast) ease;
}

.filter-checkbox:hover { color: var(--text); }

.filter-checkbox input {
    width: 15px;
    height: 15px;
    accent-color: #f4f4f4;
    flex-shrink: 0;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-range input[type="range"] {
    width: 100%;
    accent-color: #f4f4f4;
}

.price-range__values {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-light);
    letter-spacing: 0.06em;
}

.filter-clear {
    width: 100%;
    margin-top: var(--space-2);
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    transition: var(--transition-fast);
}

.filter-clear:hover {
    border-color: var(--border-light);
    color: var(--text);
}

/* ============ Pagination ============ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-top: var(--space-6);
    flex-wrap: wrap;
}

.pagination__btn {
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.66rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    transition: var(--transition-fast);
}

.pagination__btn:hover:not(:disabled) {
    border-color: var(--border-light);
    color: var(--text);
}

.pagination__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination__pages {
    display: flex;
    gap: 6px;
}

.pagination__page {
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: 1px solid transparent;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: var(--transition-fast);
}

.pagination__page:hover {
    color: var(--text);
    border-color: var(--border);
}

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

/* ============ Empty state ============ */
.empty-state {
    text-align: center;
    padding: var(--space-6) var(--space-3);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 1.6rem;
    margin-bottom: var(--space-2);
    opacity: 0.35;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* ============ Info / editorial sections ============ */
.info-section {
    padding: var(--space-6) 0;
    background: transparent;
    border-top: 1px solid var(--border);
}

.info-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 400;
    margin-bottom: var(--space-2);
    text-align: center;
}

.info-text {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.94rem;
    line-height: 1.85;
    letter-spacing: 0.02em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1px;
    margin-top: var(--space-4);
    background: var(--border);
    border: 1px solid var(--border);
}

.contact-card {
    padding: var(--space-3);
    background: var(--bg);
    border-radius: 0;
    transition: background 0.3s ease;
    display: block;
}

.contact-card:hover { background: #111111; }

.contact-icon {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: var(--space-1);
}

.contact-label {
    font-size: 0.62rem;
    font-weight: 400;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.26em;
}

.contact-value {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--text);
    margin-top: 6px;
    word-break: break-word;
}

/* ============ Footer ============ */
.footer {
    background: var(--bg);
    color: var(--text);
    border-top: 1px solid var(--border);
    padding: var(--space-6) 0 var(--space-3);
}

.footer .store-logo { color: var(--text); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.footer-col h3 {
    font-family: var(--font);
    font-size: 0.64rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    color: var(--text-muted);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
    font-size: 0.86rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: var(--text-muted);
}

.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-links i { font-size: 0.55rem; opacity: 0.5; margin-right: 4px; }

.social-links {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    border-color: var(--text);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: none;
    background: transparent;
}

.whatsapp-link { color: var(--whatsapp) !important; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-3);
    text-align: center;
    font-size: 0.74rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.footer-bottom p { margin-bottom: 5px; }

.footer-signature {
    font-family: var(--font-script);
    font-size: 1.7rem;
    color: var(--text-muted);
    margin-top: 14px;
    line-height: 1;
}

/* ============ Modals ============ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    padding: var(--space-3);
}

.modal.active { display: flex; }

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-hover);
}

.modal.page-view .modal-content { max-width: 560px; }

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary-soft);
    color: var(--text);
}

/* ============ Filter drawer overlay ============ */
.filter-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 8000;
}

.filter-drawer-overlay.is-open { display: block; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

/* ============ Load more (home) ============ */
.home-load-more {
    display: flex;
    justify-content: center;
    padding: 52px 16px 8px;
}

.home-load-more.hidden,
.home-load-more[hidden] { display: none !important; }

.home-load-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 52px;
    padding: 14px 44px;
    border: 1px solid var(--border-light);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    transition: var(--transition);
}

.home-load-more__btn:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

/* ============ Responsive ============ */
@media (max-width: 991px) {
    .shop-layout { grid-template-columns: 1fr; }

    .store-header__inner {
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .store-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 86vw);
        z-index: 8100;
        background: var(--bg-elevated);
        border-right: 1px solid var(--border);
        padding: var(--space-2);
        transform: translateX(-102%);
        transition: transform 0.4s var(--ease-out);
        overflow-y: auto;
    }

    .filter-sidebar.is-open { transform: translateX(0); }

    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        border: 1px solid var(--border);
        border-radius: 0;
        font-size: 0.68rem;
        font-weight: 400;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--text-muted);
    }
}

@media (min-width: 992px) {
    .mobile-filter-toggle { display: none; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

/* Mobile hero breathing room under sticky header */
@media (max-width: 640px) {
    .hero__content {
        padding-bottom: 96px;
    }
    .hero__scrollcue { display: none; }

    /* Product imagery runs edge-to-edge on phones */
    .home-products .container,
    .categories .container {
        padding-left: 0;
        padding-right: 0;
    }

    .categories-grid { padding: 0 16px; }

    .home-products .shop-toolbar {
        margin-left: 16px;
        margin-right: 16px;
    }

    .info-section .container,
    .footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ============================================================
   DUO SPOTLIGHT + GLIDE ROW — section rhythm
   ============================================================ */
.duo-section {
    padding: 72px 0 30px;
}

.glide-section {
    padding: 46px 0 40px;
}

.glide-section .container {
    padding-bottom: 4px;
}
