/* General Shop Styles */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --color-text: #111;
    --color-subtext: #666;
    --color-muted: #888;
    --color-accent: #000;
    --color-bg: #fff;
    --color-light-bg: #f8f8f8;
    --color-border: #e5e5e5;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

html.no-scroll,
body.no-scroll {
    overflow: hidden !important;
    touch-action: none;
    -ms-touch-action: none;
}

.shop-container {
    max-width: 100%;
    margin: 0 auto;
    /* Top offset comes from body.shop-page padding (fixed header) */
    padding: 12px 0 40px;
    overflow-x: hidden;
}

/* Hero Section (Legacy/Fallback) */
.shop-hero {
    text-align: center;
    padding: 80px 20px 60px;
    margin-bottom: 60px;
    position: relative;
}

.shop-hero::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: #000;
    margin: 40px auto 0;
}

.shop-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0 0 20px 0;
    color: var(--color-text);
}

.shop-title-accent {
    font-style: italic;
    font-weight: 400;
    color: #444;
}

.shop-subtitle {
    font-size: 1.1rem;
    color: var(--color-subtext);
    letter-spacing: 0.05em;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0;
}

/* Filter Section */
.filter-section {
    margin-bottom: 60px;
    padding: 0;
    border: none;
    text-align: center;
}

.filter-container {
    display: inline-flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--color-light-bg);
    padding: 8px;
    border-radius: 40px;
}

.filter-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    letter-spacing: 0.02em;
}

.filter-btn:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}

.filter-btn.active {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    padding: 20px 0;
    justify-content: center;
    align-items: start;
}

/* Minimalist Product Card */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 40px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity .4s, transform .4s;
}

/* Hover details overlay for Shop/Catalog */
.product-image .masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    box-sizing: border-box;
}

.product-image:hover .masonry-overlay {
    opacity: 1;
}

.product-image .overlay-content {
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.product-image:hover .overlay-content {
    transform: translateY(0);
}

.product-image .overlay-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.6rem;
    margin: 0 0 12px 0;
    font-weight: 400;
    color: #111;
    line-height: 1.2;
}

.product-image .overlay-details {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #555;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

body:not(.catalog-page) .product-image:hover img {
    transform: scale(1.05);
}

/* Shop masonry grid — framed crop; carousel keeps contain (see .carousel-container-mini) */
body.shop-page .products-grid .product-image {
    aspect-ratio: 4 / 5;
}

body.shop-page .products-grid .product-image img,
body.shop-page .products-grid .product-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.shop-page .carousel-container-mini .product-image {
    aspect-ratio: auto;
    height: 320px;
}

body.shop-page .carousel-container-mini .product-image img,
body.shop-page .carousel-container-mini .product-image picture,
body.shop-page .carousel-container-mini .product-image .carousel-img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: contain;
}

/* Sold Overlay */
.product-card.sold {
    position: relative;
}

body.shop-page .products-grid .product-card.sold .product-image img,
body.shop-page .carousel-container-mini .product-card.sold .product-image img {
    filter: grayscale(0.35);
    opacity: 0.82;
}

/* Shop: one sold label on the image — not ::after + badge + footer */
body.shop-page .product-card.sold::after {
    display: none;
}

body.shop-page .carousel-container-mini .product-image .product-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.3;
    padding: 5px 9px;
    border-radius: 2px;
    pointer-events: none;
}

/* Legacy image-overlay sold badge — catalog-style cards use product-card-status */
body.shop-page .carousel-container-mini .product-card--catalog-style .product-image .product-status-badge {
    display: none;
}

body.shop-page .product-card.sold .product-actions-grid--solo .btn-grid-details {
    flex: 1;
    width: 100%;
    border-right: none;
}

.product-card.sold .product-price {
    text-decoration: line-through;
    opacity: 0.5;
    display: none;
}

.product-card.sold .btn-grid-buy {
    display: none !important;
}

.product-card.sold .btn-grid-details {
    border-right: none;
}

/* Lightbox Modal (Pure Image Zoom) */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.95);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    background: none;
    border: none;
    padding: 0;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s, background-color 0.3s;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    user-select: none;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
}


/* Info */
.product-info {
    text-align: center;
    flex-grow: 1;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 4px 0;
    color: #000;
}

.product-artist {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.product-price {
    color: #000;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Shop end CTA — single conversion point before newsletter */
.shop-end-cta {
    text-align: center;
    padding: 48px 20px 40px;
    border-top: 1px solid var(--color-border, #eee);
    margin-top: 24px;
}

.shop-end-cta__text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    color: var(--color-text, #222);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.shop-end-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 2px;
    transition: background 0.22s;
}

.shop-end-cta__btn:hover,
.shop-end-cta__btn:focus-visible {
    background: #222;
    color: #fff;
    outline: none;
}

body.shop-page .shop-info-section {
    display: none;
}

/* Shop Info Section */
.shop-info-section {
    background-color: var(--color-light-bg);
    padding: 64px 20px;
    margin-top: 48px;
}

.shop-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.shop-info-item {
    flex: 1;
    min-width: 250px;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}

.shop-info-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.shop-info-item p {
    color: var(--color-subtext);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* Image Modal Styling */
.image-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    overscroll-behavior: contain;
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    display: flex;
    margin: auto;
    background: #fff;
    width: 88%;
    max-width: 960px;
    height: 82vh;
    max-height: 820px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    overflow: hidden;
    transform: translateY(8px);
    transition: transform 0.25s ease;
}

.image-modal.active .modal-container {
    transform: translateY(0);
}

.modal-image-wrapper {
    flex: 1.5;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #111;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    z-index: 3001;
    transition: color 0.3s, background-color 0.3s;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    user-select: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    color: #fff;
    background-color: #111;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.modal-info-wrapper {
    flex: 1;
    padding: 48px 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
    min-height: 0;
    border-left: 1px solid #f0f0f0;
}

/* Scrollable text area — title, description, metadata */
.modal-info-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding-right: 6px;
}

.modal-info-scroll::-webkit-scrollbar {
    width: 3px;
}

.modal-info-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.modal-info-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

/* Button always pinned at bottom — desktop */
.modal-btn-footer {
    flex-shrink: 0;
    padding-top: 16px;
    padding-bottom: 56px;
}

.modal-btn-footer .btn-modal-buy {
    display: block;
    width: 100%;
    box-sizing: border-box;
}


.modal-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.modal-dimensions,
.modal-technique {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.modal-price {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 30px;
    color: #000;
}

.btn-modal-buy {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: background 0.3s ease;
    text-align: center;
}

.btn-modal-buy:hover {
    background: #333;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #000;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
}

.modal-close:hover {
    color: #666;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

footer p {
    margin: 0;
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 0.05em;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Minimalist Grid Actions */
.product-actions-grid {
    display: flex;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.btn-grid-action {
    flex: 1;
    background: transparent;
    border: none;
    color: #000;
    padding: 15px 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-grid-details {
    border-right: 1px solid #eee;
}

.btn-grid-action:hover {
    background: #fafafa;
}

.product-card.hidden {
    display: none;
}

/* --- Vertical Shop Hero (Landing) --- */
.shop-hero-featured {
    width: 100%;
    padding: 4px 0 0;
}

.shop-hero-featured .shop-carousel-section--hero {
    padding: 0 0 12px;
}

.shop-hero-featured .carousel-container-mini {
    padding: 0 clamp(12px, 4vw, 48px);
}

.shop-hero-featured .carousel-card.product-card--catalog-style,
.shop-hero-featured .carousel-card {
    flex: 0 0 min(72vw, 300px);
    scroll-snap-align: start;
}

.shop-hero-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px 32px;
    gap: 28px;
}

.shop-hero-vertical--compact {
    padding: 12px 20px 28px;
    gap: 0;
}

.shop-hero-vertical--compact .hero-eyebrow {
    margin-bottom: 12px;
}

.shop-hero-vertical--compact .shop-hero-h1 {
    margin-bottom: 18px;
}

.shop-hero-vertical--compact .hero-actions {
    margin-bottom: 20px;
}

.shop-hero-vertical--compact .shop-search-wrapper {
    margin-top: 0;
}

/* Compact trust strip — early conversion signal */
.shop-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    max-width: 720px;
    margin: 0 auto 8px;
    padding: 0 20px 20px;
    list-style: none;
}

.shop-trust-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-subtext);
}

.shop-trust-strip__icon {
    color: var(--color-text);
    font-size: 0.85rem;
    line-height: 1;
}

/* Sticky section jump nav */
.shop-section-nav {
    position: sticky;
    top: 72px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 8px;
}

.shop-section-nav__track {
    display: flex;
    gap: 4px;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px clamp(16px, 4vw, 40px);
    -webkit-overflow-scrolling: touch;
}

.shop-section-nav__track::-webkit-scrollbar {
    display: none;
}

.shop-section-nav__link {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-subtext);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.shop-section-nav__link:hover,
.shop-section-nav__link:focus-visible {
    color: var(--color-text);
    border-color: var(--color-border);
    background: var(--color-light-bg);
    outline: none;
}

.shop-section-nav__link.is-active {
    color: var(--color-text);
    border-color: var(--color-text);
    background: #fff;
}

.shop-section-nav__link--catalog {
    color: var(--color-text);
    border-color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 720px) {
    .shop-section-nav {
        top: 104px;
    }

    .shop-carousel-section {
        scroll-margin-top: 152px;
    }
}

/* Mobile landing: hero + CTA above featured carousel */
@media (max-width: 768px) {
    .shop-container {
        display: flex;
        flex-direction: column;
    }

    .shop-hero-vertical--compact {
        order: 1;
        padding-top: 4px;
    }

    .shop-trust-strip {
        order: 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px 8px;
        max-width: none;
        margin: 0;
        padding: 4px 16px 16px;
    }

    .shop-trust-strip__item {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        font-size: 0.52rem;
        letter-spacing: 0.06em;
        line-height: 1.35;
        text-align: center;
        padding: 0 2px;
    }

    .shop-trust-strip__icon {
        font-size: 0.95rem;
    }

    .shop-section-nav {
        order: 3;
    }

    #recentlyViewedContainer {
        order: 4;
    }

    #shopHeroFeatured {
        order: 5;
        padding-top: 0;
    }

    #carouselSectionsContainer {
        order: 6;
    }

    #shopHeroFeatured .shop-carousel-section--hero {
        padding: 8px 0 4px;
    }

    #shopHeroFeatured .carousel-container-mini .product-image {
        height: 200px;
    }

    #shopHeroFeatured .carousel-card.product-card--catalog-style,
    #shopHeroFeatured .carousel-card {
        flex: 0 0 min(78vw, 280px);
    }

    #shopHeroFeatured .carousel-card,
    #shopHeroFeatured .shop-carousel-section {
        content-visibility: visible;
        contain-intrinsic-size: auto;
    }

    .shop-hero-vertical--compact .shop-hero-h1 {
        font-size: clamp(1.05rem, 4.8vw, 1.3rem);
        margin-bottom: 14px;
    }

    .hero-catalog-btn {
        padding: 14px 20px;
        font-size: 0.72rem;
    }

    /* Hero already has catalog CTA — hide redundant bottom prompts on mobile */
    .shop-end-cta,
    .catalog-float {
        display: none !important;
    }

    #recentlyViewedContainer.recently-viewed-section--top {
        padding: 16px 0 24px;
        scroll-margin-top: 160px;
    }

    .rv-section-title {
        display: block;
        width: 100%;
        margin: 0 0 16px;
        padding: 0 20px;
        font-size: 0.82rem;
        letter-spacing: 0.18em;
        color: #888;
        line-height: 1.4;
    }

    .rv-section-title::before,
    .rv-section-title::after {
        display: none;
    }
}

.hero-header {
    max-width: 680px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Eyebrow line */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin: 0 0 22px;
}

.hero-eyebrow-line {
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--color-border);
    display: block;
}

.shop-hero-h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
    letter-spacing: 0.03em;
    line-height: 1.35;
    margin: 0 0 20px;
    max-width: 28ch;
}

/* Title */
.shop-hero-vertical .shop-title {
    font-size: 4.2rem;
    margin: 0 0 12px;
    line-height: 1.05;
}

/* Subtitle */
.shop-hero-vertical .shop-subtitle {
    font-size: 0.78rem;
    color: var(--color-subtext);
    letter-spacing: 0.22em;
    margin: 0 0 36px;
}

/* CTA area */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 2px;
    transition: background 0.22s, gap 0.22s;
}

.hero-catalog-btn:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.hero-catalog-btn svg {
    transition: transform 0.22s;
    flex-shrink: 0;
}

.hero-catalog-btn:hover {
    background: #222;
    gap: 16px;
    color: #fff;
}

.hero-catalog-btn:hover svg {
    transform: translateX(4px);
}

.hero-obra-count {
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    text-transform: uppercase;
}

/* Mobile */
@media (max-width: 600px) {
    .shop-hero-vertical .shop-title {
        font-size: 2.8rem;
    }

    .hero-catalog-btn {
        width: 100%;
        justify-content: center;
    }
}

.hero-featured {
    width: 100%;
    max-width: 100%;
}



/* --- Carousel Styling Refinement --- */
.shop-hero-vertical .featured-carousel-wrapper {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-top: 20px;
}

.shop-hero-vertical .featured-label {
    margin-bottom: 30px;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--color-subtext);
    position: relative;
    display: inline-block;
}

/* Add decorative lines to label */
.shop-hero-vertical .featured-label::before,
.shop-hero-vertical .featured-label::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #ddd;
}

.shop-hero-vertical .featured-label::before {
    right: 100%;
    margin-right: 15px;
}

.shop-hero-vertical .featured-label::after {
    left: 100%;
    margin-left: 15px;
}

/* Restore Carousel Logic Styles */
.carousel-container-mini {
    position: relative;
    width: 100%;
    padding: 0 72px;
    box-sizing: border-box;
}

.carousel-container-mini .carousel-track {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 15px;
    scrollbar-width: none;
    max-width: 100%;
    box-sizing: border-box;
}

.carousel-container-mini .carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--color-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.carousel-btn:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-container-mini .carousel-card {
    flex: 0 0 min(320px, 82vw);
    margin: 0;
    scroll-snap-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* Carousel cards — match catalog grid card */
body.shop-page .carousel-container-mini .product-card--catalog-style {
    border: 1px solid #e5e5e3;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 0;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 6px 20px rgba(0, 0, 0, 0.05);
}

body.shop-page .carousel-container-mini .product-card--catalog-style:hover {
    transform: translateY(-3px);
    border-color: #d4d4d0;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 14px 32px rgba(0, 0, 0, 0.09);
}

body.shop-page .carousel-container-mini .product-card--catalog-style .product-image {
    aspect-ratio: 4 / 5;
    height: auto;
    max-height: none;
    background: #f3f3f0;
    border-bottom: 1px solid #ececea;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .product-image img,
body.shop-page .carousel-container-mini .product-card--catalog-style .product-image picture,
body.shop-page .carousel-container-mini .product-card--catalog-style .product-image .carousel-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.shop-page .carousel-container-mini .product-card--catalog-style.sold .product-image img {
    filter: grayscale(0.25);
    opacity: 0.9;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .product-info {
    padding: 12px 14px 0;
    text-align: center;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .product-card-status {
    margin-bottom: 6px;
}

body.shop-page .carousel-container-mini .product-card--catalog-style:not(.sold) .product-card-status {
    display: none;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .product-status-badge {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 2px;
    line-height: 1.3;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .product-status-badge--sold {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .product-title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0 0 4px;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .catalog-card-price {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    margin: 2px 0 8px;
    color: #444;
    font-weight: 400;
    text-transform: none;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .catalog-card-price--consult {
    font-style: italic;
    color: #666;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .product-actions-grid {
    margin: 12px -14px 0;
    width: calc(100% + 28px);
    border-top: 1px solid #ececea;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .btn-grid-details {
    border-right: 1px solid #ececea;
}

body.shop-page .carousel-container-mini .product-card--catalog-style .btn-grid-action {
    padding: 12px 8px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}

body.shop-page .carousel-container-mini .product-card--catalog-style.sold .product-price {
    display: none;
}

.carousel-container-mini .product-image {
    aspect-ratio: auto;
    height: 320px;
}

.carousel-container-mini .product-image img {
    height: 100%;
    max-height: 320px;
    object-fit: contain;
    width: 100%;
}

.carousel-container-mini .product-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.carousel-container-mini .product-price {
    font-size: 0.8rem;
    color: #000;
}

.carousel-container-mini .product-price--consult {
    font-style: italic;
    color: var(--color-subtext);
}

.carousel-container-mini .product-price-hint {
    display: block;
    font-size: 0.68rem;
    color: var(--color-muted);
    letter-spacing: 0.04em;
    margin: 0 0 6px;
    font-style: normal;
    text-transform: none;
}

body.shop-page .carousel-container-mini .product-card:not(.product-card--catalog-style) {
    border-color: var(--color-border);
    box-shadow: none;
}

body.shop-page .carousel-container-mini .product-card:not(.product-card--catalog-style):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .shop-hero-vertical {
        padding: 16px 0 20px;
        gap: 20px;
    }

    .shop-hero-vertical .shop-title {
        font-size: 2.5rem;
    }

    .carousel-container-mini {
        padding: 0 20px;
    }

    .carousel-container-mini .carousel-card.product-card--catalog-style,
    .carousel-container-mini .carousel-card {
        flex: 0 0 min(280px, 86vw);
    }

    body.shop-page .carousel-container-mini .product-card--catalog-style .product-image {
        aspect-ratio: 4 / 5;
        height: auto;
    }

    .carousel-container-mini .product-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .shop-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .products-grid {
        gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .shop-info-container {
        flex-direction: column;
        align-items: center;
    }

    .shop-info-section {
        padding: 50px 20px;
        margin-top: 60px;
    }

    /* Catalog: 2 columns on mobile */
    .catalog-content .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .catalog-content .product-title {
        font-size: 0.8rem !important;
    }

    .image-modal {
        background-color: #fff;
    }

    .modal-container {
        flex-direction: column;
        height: 100%;
        height: 100dvh;
        max-height: 100%;
        max-height: 100dvh;
        overflow-y: auto;
        border-radius: 0;
        margin-top: 0;
        width: 100%;
        box-shadow: none;
    }

    .modal-image-wrapper {
        padding: 15px;
        flex: 1 1 auto;
        /* Allow image wrapper to taking remaining space */
        min-height: 40vh;
        /* Ensure image is visible */
    }

    .modal-image {
        max-height: 40vh;
    }

    .modal-info-wrapper {
        padding: 20px;
        flex: none;
        /* Prevent this from growing */
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .modal-price {
        font-size: 1.1rem;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .btn-modal-buy {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Standard scrolling layout for mobile */
@media (max-width: 600px) {

    .shop-container {
        padding-top: 8px;
        padding-bottom: 20px;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .shop-hero-vertical {
        padding: 8px 15px 12px !important;
        gap: 12px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-bottom: 8px;
    }

    .hero-header {
        margin-bottom: 0;
    }

    .hero-eyebrow {
        display: none;
    }

    .shop-hero-vertical .shop-title {
        font-size: 1.75rem;
        margin: 0 0 4px;
        line-height: 1.15;
    }

    .shop-hero-vertical .shop-subtitle {
        font-size: 0.72rem;
        margin: 0 0 12px;
        letter-spacing: 0.16em;
    }

    .shop-search-wrapper {
        margin-top: 8px;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-catalog-btn {
        padding: 12px 20px;
        font-size: 0.7rem;
        width: 100%;
        justify-content: center;
    }

    .hero-obra-count {
        font-size: 0.62rem;
    }

    .shop-hero-vertical .featured-label {
        display: block;
        /* Show label again */
        font-size: 1rem;
        margin-bottom: 15px;
        color: #999;
    }

    .shop-hero-vertical .featured-carousel-wrapper {
        margin-top: 10px;
        /* Reduced from 20px */
        width: 100%;
        display: block;
    }

    .carousel-container-mini {
        padding: 0 10px;
    }

    .carousel-container-mini .product-image {
        height: 220px;
    }

    .carousel-container-mini .carousel-card {
        flex: 0 0 min(88vw, 340px);
        margin: 0;
    }

    .carousel-container-mini .product-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .carousel-container-mini .product-price {
        font-size: 0.9rem;
        padding: 5px 0;
    }

    /* CTA Text/Button */
    .shop-cta-section {
        padding: 0 0 40px;
        /* Removed top padding, kept bottom */
        text-align: center;
    }

    .btn-see-all {
        padding: 15px 0 !important;
        font-size: 0.85rem;
        background: #000;
        color: #fff;
        width: 100%;
        min-width: unset;
        border-radius: 0;
        display: block;
    }

    /* Use regular flow for Info Section */
    .shop-info-section {
        position: relative;
        /* Not fixed */
        width: 100%;
        height: auto;
        padding: 40px 20px;
        background-color: #fcfcfc;
        border-top: 1px solid #ddd;
        z-index: 1;
        display: block;
    }

    .shop-info-container {
        display: flex;
        flex-direction: row;
        /* Horizontal alignment */
        justify-content: space-between;
        gap: 10px;
        align-items: flex-start;
        text-align: center;
    }

    .shop-info-item {
        flex: 1;
        padding: 0;
        border: none;
        width: auto;
    }

    .info-icon {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .shop-info-item h3 {
        font-size: 0.75rem;
        margin-bottom: 0;
        display: block;
        line-height: 1.2;
    }

    .shop-info-item p {
        display: none;
        /* Hide desc to fit side-by-side */
    }

    /* Restore Footer */
    footer {
        display: block;
        padding: 40px 0 80px;
        /* Extra padding at bottom */
    }


    /* Mobile-specific button adjustments (smaller) */
    .product-actions-grid {
        margin-top: auto;
        /* Ensure it stays at bottom */
    }

    .btn-grid-action {
        padding: 10px 0;
        font-size: 0.70rem;
    }

    .btn-grid-details {
        border-right: 1px solid #eee;
        background: transparent;
        border-top: none;
        border-left: none;
        border-bottom: none;
    }

    .btn-grid-buy {
        background: transparent;
        color: #000;
        border: none;
    }
}

@media (max-width: 768px) {
    .shop-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .products-grid {
        gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .shop-info-container {
        align-items: center;
    }

    .shop-info-section {
        padding: 50px 20px;
        margin-top: 60px;
    }

    .modal-container {
        flex-direction: column;
        height: auto;
        max-height: 85vh;
        /* Prevent covering screen edges completely */
        width: 90%;
        margin: auto;
        border-radius: 12px;
        /* iOS card feel */
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .modal-image-wrapper {
        padding: 0;
        /* Remove padding */
        height: 40vh;
        /* Fixed height for image area */
        background: #f8f8f8;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .modal-image {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        padding: 20px;
    }

    .modal-info-wrapper {
        padding: 20px;
        flex: 1 1 auto;
        overflow: hidden;
        min-height: 0;
    }

    .modal-info-scroll {
        flex: 1 1 auto;
        overflow-y: auto;
        min-height: 0;
        max-height: none;
    }

    .modal-btn-footer {
        position: sticky;
        bottom: 0;
        flex-shrink: 0;
        padding: 12px 20px;
        background: #fff;
        border-top: 1px solid #eee;
        margin: 0 -20px;
        z-index: 5;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .shop-title {
        font-size: 2rem;
    }

    .shop-subtitle {
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .filter-container {
        flex-direction: column;
        width: 100%;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .filter-btn {
        width: 100%;
        border: 1px solid #eee;
        margin-bottom: 5px;
        padding: 10px;
    }

    .filter-btn.active {
        box-shadow: none;
        border-color: #000;
    }

    .modal-close {
        top: 20px;
        right: 20px;
    }
}

/* --- Catalog / Sidebar Layout --- */
.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 40px;
}

.catalog-header-actions {
    margin-bottom: 20px;
}

.back-link {
    text-decoration: none;
    color: #666;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-link:hover {
    color: #000;
}

.catalog-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.catalog-divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin-bottom: 40px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 10px;
}

.sidebar-filter-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.2s;
    text-align: left;
}

.sidebar-filter-btn:hover,
.sidebar-filter-btn.active {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

/* Price Inputs in Sidebar */
.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #333;
}

.price-filter-arrow {
    background: #ccc;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.price-filter-arrow:hover {
    background: #000;
}

/* Catalog Content Grid Override */
.catalog-content .products-grid {
    padding-top: 0;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.catalog-content .product-card {
    border: none;
    margin-bottom: 0;
    background: transparent;
}

.catalog-content .product-card:hover {
    transform: none;
    box-shadow: none;
}

.catalog-content .product-image {
    aspect-ratio: auto;
    background: #f5f5f5;
    overflow: hidden;
}

.catalog-content .product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.catalog-content .product-card:hover .product-image img {
    transform: scale(1.03);
}

.catalog-content .product-info {
    padding: 12px 0;
}

.catalog-content .product-title {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.catalog-content .product-actions-grid {
    border-top: none;
    padding-top: 0;
}

/* ── Floating Catalog Banner (removed) ── */

.shop-cta-section {
    text-align: center;
    padding: 72px 20px;
    background: #0e0e0e;
    margin: 20px 0 0;
    position: relative;
    overflow: hidden;
}

.shop-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.018) 40px,
            rgba(255, 255, 255, 0.018) 41px);
    pointer-events: none;
}

.cta-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 28px;
    position: relative;
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    color: #000;
    padding: 20px 52px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: relative;
    transition: background 0.25s, gap 0.3s, box-shadow 0.25s;
}

.btn-see-all::after {
    content: '→';
    font-size: 1rem;
    font-weight: 300;
    transition: transform 0.25s;
}

.btn-see-all:hover {
    background: #f0f0f0;
    gap: 22px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.14);
    color: #000;
}

.btn-see-all:hover::after {
    transform: translateX(5px);
}



/* Mobile Responsiveness for Catalog */
@media (max-width: 900px) {
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Inline filters for mobile/tablet */
    .catalog-sidebar {
        position: static;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        /* Force horizontal */
        gap: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
        align-items: flex-end;
        /* Align labels/inputs */
    }

    .sidebar-section {
        flex: 1;
        /* Equal width */
        min-width: 0;
        margin-bottom: 0;
    }

    .filter-dropdown {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {

    /* ... existing mobile styles ... */
    .shop-title {
        font-size: 2rem;
    }

    .shop-subtitle {
        font-size: 0.9rem;
    }

    /* Scale down text to fit nicely in 2 columns */
    .catalog-content .product-card {
        margin-bottom: 15px;
    }

    .catalog-content .product-title {
        font-size: 0.85rem;
        line-height: 1.2;
        margin-bottom: 3px;
        padding: 0 5px;
    }

    .catalog-content .product-price {
        font-size: 0.8rem;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .catalog-content .btn-grid-action {
        font-size: 0.55rem;
        padding: 8px 2px;
        gap: 3px;
    }

    .catalog-content .btn-icon svg {
        width: 12px;
        height: 12px;
    }

    .product-card {
        margin-bottom: 20px;
    }

    /* Hide sidebar filter logic if needed, but we start with horizontal */
    .filter-container {
        flex-direction: column;
        width: 100%;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .filter-btn {
        width: 100%;
        border: 1px solid #eee;
        margin-bottom: 5px;
        padding: 10px;
    }

    .filter-btn.active {
        box-shadow: none;
        border-color: #000;
    }

    .modal-close {
        top: 20px;
        right: 20px;
    }
}

/* --- Novedades Section --- */
.shop-novedades-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.novedades-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    color: #333;
}

@media (max-width: 768px) {
    .shop-novedades-section {
        padding: 40px 20px;
    }

    .novedades-title {
        font-size: 2rem;
    }
}
/* ── Carousel loading skeleton (P2) ── */
.carousel-skeleton {
    padding: 8px clamp(12px, 4vw, 48px) 20px;
}

.carousel-skeleton__label {
    width: 120px;
    height: 12px;
    margin: 0 auto 24px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shop-skeleton-shimmer 1.4s ease-in-out infinite;
}

.carousel-skeleton__track {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.carousel-skeleton__card {
    flex: 0 0 min(72vw, 300px);
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, #f3f3f3 25%, #ececec 50%, #f3f3f3 75%);
    background-size: 200% 100%;
    animation: shop-skeleton-shimmer 1.4s ease-in-out infinite;
    border: 1px solid var(--color-border);
}

@keyframes shop-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Search bar ──────────────────────────────────────── */
.shop-search-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 24px auto 0;
}

.catalog-search-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 0 28px;
}

.shop-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    transition: border-color 0.2s;
}

.search-input:focus-visible {
    outline: none;
}

.shop-search-bar:focus-within {
    border-bottom-color: #111;
    box-shadow: inset 0 -1px 0 #111;
}

.search-icon {
    flex-shrink: 0;
    color: var(--color-muted);
    transition: color 0.2s;
}

.shop-search-bar:focus-within .search-icon {
    color: #111;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #111;
    min-width: 0;
}

.search-input::placeholder {
    color: var(--color-muted);
    letter-spacing: 0.5px;
}

.search-clear {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #bbb;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    display: none;
    transition: color 0.15s;
}

.search-clear:hover { color: #111; }
.search-clear.visible { display: block; }

.search-results-count {
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-muted);
    min-height: 16px;
}

/* No results message */
.search-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 0.05em;
}

/* ── Floating Catalog Banner ── */
.catalog-float {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #111;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 13px 24px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.catalog-float.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.catalog-float:hover {
    background: #333;
    color: #fff;
}

.catalog-float-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-float-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.catalog-float-arrow {
    font-size: 1rem;
    opacity: 0.7;
    transition: transform 0.2s;
}

.catalog-float:hover .catalog-float-arrow {
    transform: translateX(3px);
    opacity: 1;
}

@media (max-width: 768px) {
    /* Swipe scroll — arrows collide with floats and artwork */
    .carousel-container-mini .carousel-btn {
        display: none;
    }

    .carousel-container-mini {
        padding: 0 10px;
    }

    .shop-hero-featured .carousel-container-mini {
        padding: 0 10px;
    }

    .catalog-float {
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        transform: translateY(12px);
        justify-content: center;
        padding: 12px 16px;
        border-radius: 6px;
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        gap: 10px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    }

    .catalog-float.visible {
        transform: translateY(0);
    }

    .catalog-float-text {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .catalog-float-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .catalog-float-count {
        flex-shrink: 0;
        font-size: 0.62rem;
    }

    .catalog-float-arrow {
        flex-shrink: 0;
    }

    .back-to-top {
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        left: 16px;
        right: auto;
        width: 38px;
        height: 38px;
        z-index: 9996;
    }

    .catalog-float.visible ~ .back-to-top.visible {
        bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 58px);
    }

    .whatsapp-float {
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        right: 16px;
        padding: 10px 14px 10px 12px;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        gap: 8px;
        max-width: calc(100vw - 72px);
    }

    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-float span {
        display: inline;
        white-space: nowrap;
    }

    .catalog-float.visible ~ .whatsapp-float.is-ready {
        bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 58px);
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        animation: none;
    }

    /* Keep product CTAs clear of the float stack */
    body.shop-page .shop-container {
        padding-bottom: 96px;
    }

    body.shop-page .shop-end-cta,
    body.shop-page .newsletter-section {
        padding-bottom: 88px;
    }
}

/* ── WhatsApp Floating Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9997;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 12px 20px 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.35s ease, bottom 0.35s ease;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.whatsapp-float.is-ready {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Fade in shortly after paint (no 8s wait) */
.shop-page .whatsapp-float.is-ready {
    animation: whatsapp-float-in 0.45s ease 0.35s both;
}

@keyframes whatsapp-float-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-float.is-shifted {
    bottom: 88px;
}

@media (max-width: 768px) {
    .whatsapp-float.is-shifted {
        bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 58px);
    }
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float svg {
    flex-shrink: 0;
}

/* ── Inquiry Modal ── */
.inquiry-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.inquiry-overlay.active {
    display: flex;
}

.inquiry-modal {
    background: #0e0e0e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 40px 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin: auto;
}

.inquiry-modal h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 0 6px;
}

.inquiry-modal .inquiry-artwork-name {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 28px;
}

.inquiry-modal p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 28px;
}

.inquiry-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inquiry-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    background: transparent;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s;
}

.inquiry-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.inquiry-btn.primary {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.inquiry-btn.primary:hover {
    background: #20c55c;
    border-color: #20c55c;
}

.inquiry-btn .btn-icon {
    font-size: 1.1rem;
}

.inquiry-btn.cart-add {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    font-family: var(--font-body);
}

.inquiry-btn.cart-add:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

.inquiry-btn.cart-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.inquiry-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s;
}

.inquiry-close:hover {
    color: #fff;
}

/* ── Back-to-Top Button ── */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ── Year Badge on Cards ── */
.product-year {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #999;
    margin-top: 4px;
}

/* ── Category Count Badge ── */
.cd-option .cd-count {
    font-size: 0.75rem;
    color: #aaa;
    margin-left: 4px;
}

/* ── Sort Dropdown ── */
.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-wrapper label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    white-space: nowrap;
}

.sort-select {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg width='9' height='5' viewBox='0 0 9 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l4.5 5L9 0z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid #ddd;
    padding: 8px 30px 8px 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
    min-width: 160px;
}

.sort-select:focus {
    outline: none;
    border-color: #000;
}

/* ── Live Search Dropdown ── */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.search-dropdown.open {
    display: block;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
}

.search-dropdown-item:hover,
.search-dropdown-item.is-highlighted {
    background: #f5f5f5;
}

.search-dropdown-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #f8f8f8;
    flex-shrink: 0;
}

.search-dropdown-item .search-item-info {
    flex: 1;
    min-width: 0;
}

.search-dropdown-item .search-item-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-dropdown-item .search-item-meta {
    font-size: 0.75rem;
    color: #999;
}

.search-dropdown-empty {
    padding: 16px 14px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-muted);
    letter-spacing: 0.04em;
}

.search-dropdown-footer {
    padding: 10px 14px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid #eee;
    cursor: pointer;
}

.search-dropdown-footer:hover {
    background: #f5f5f5;
}

/* ── Wishlist Heart ── */
.btn-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.2s, background 0.2s;
    padding: 0;
}

.btn-wishlist:hover {
    transform: scale(1.15);
    background: #fff;
}

.btn-wishlist svg {
    width: 18px;
    height: 18px;
    transition: fill 0.2s, stroke 0.2s;
}

.btn-wishlist.active svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

@media (max-width: 768px) {
    .sort-wrapper {
        width: 100%;
    }
    .sort-select {
        width: 100%;
    }
}

/* ── Skeleton Loader ── */
.skeleton-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.product-image.loading {
    min-height: 200px;
}

.product-image.loading .skeleton-shimmer {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-image img.loaded + .skeleton-shimmer,
.product-image.loaded .skeleton-shimmer {
    display: none;
}

/* ── Staggered Card Animation ── */
@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card.stagger-in {
    animation: cardReveal 0.4s ease-out both;
}

/* ── Recently Viewed Section ── */
.recently-viewed-section {
    padding: 40px 0 20px;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.recently-viewed-section h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
    padding: 0 20px;
}

.recently-viewed-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 20px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.recently-viewed-track::-webkit-scrollbar {
    height: 4px;
}

.recently-viewed-track::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.recently-viewed-item {
    flex: 0 0 140px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.2s;
}

.recently-viewed-item:hover {
    transform: translateY(-3px);
}

.recently-viewed-item img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    background: #f5f5f5;
    display: block;
}

.recently-viewed-item .rv-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.8rem;
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recently-viewed-item .rv-year {
    font-size: 0.7rem;
    color: #999;
}


/* ── Cart Toast Notification ── */
.cart-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #111;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Shop performance helpers ───────────────────────────
   These do not change the visual design. They reduce offscreen work
   for the generated carousel cards/sections. */
.shop-carousel-section {
    content-visibility: auto;
    contain-intrinsic-size: 760px;
    scroll-margin-top: 128px;
}

body.shop-page .carousel-container-mini .carousel-card {
    cursor: pointer;
}

.carousel-container-mini .carousel-card {
    content-visibility: auto;
    contain-intrinsic-size: 450px 430px;
}

.carousel-container-mini .product-image {
    contain: content;
}

/* ── Newsletter ──────────────────────────────────────── */
.newsletter-section {
    background: #0e0e0e;
    color: #fff;
    padding: 64px 40px;
    text-align: center;
}

.newsletter-inner {
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    font-style: italic;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 28px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    padding: 12px 24px;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
}

.newsletter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.newsletter-msg {
    margin: 16px 0 0;
    font-size: 0.85rem;
    min-height: 20px;
}

.newsletter-msg.success {
    color: #4ade80;
}

.newsletter-msg.error {
    color: #f87171;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-section {
        padding: 48px 20px;
    }
}

/* Recently Viewed */
.recently-viewed-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 48px;
}

.recently-viewed-section--top {
    padding: 8px 24px 32px;
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
}

.rv-section-title {
    display: block;
    text-align: center;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 16px;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    position: relative;
}

.rv-section-title::before,
.rv-section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #ddd;
}

.rv-section-title::before {
    right: calc(50% + 5.8rem);
}

.rv-section-title::after {
    left: calc(50% + 5.8rem);
}

.recently-viewed-section--top .rv-heading {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto 20px;
}

.recently-viewed-section--top .rv-heading::before,
.recently-viewed-section--top .rv-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #ddd;
}

.recently-viewed-section--top .rv-heading::before {
    right: 100%;
    margin-right: 15px;
}

.recently-viewed-section--top .rv-heading::after {
    left: 100%;
    margin-left: 15px;
}

.recently-viewed-section--top .rv-heading {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--color-subtext);
    position: relative;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
}

.rv-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.rv-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.rv-track::-webkit-scrollbar {
    display: none;
}

.rv-card {
    flex: 0 0 min(140px, 42vw);
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e5e3;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.rv-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    overflow: hidden;
    background: #f3f3f0;
    border-bottom: 1px solid #ececea;
}

.rv-img img,
.rv-img picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rv-title {
    font-size: 0.75rem;
    color: #555;
    margin: 0;
    padding: 8px 10px 10px;
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rv-year {
    font-size: 0.68rem;
    color: #888;
    text-align: center;
    padding: 0 10px 10px;
    letter-spacing: 0.04em;
}

/* Page fade-in transition */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

body {
    animation: pageFadeIn 0.4s ease-out;
}
