/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-8uc910l2pv] {
    background: var(--cs-card-bg, lightyellow);
    color: var(--cs-text, #333);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 2px solid var(--cs-orange, #9F8453);
}

    #blazor-error-ui .dismiss[b-8uc910l2pv] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu - minimal scoped styles; Bootstrap handles most navbar styling */
/* Global navbar styles are in app.css under .navbar-cs */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nbvlwffiao],
.components-reconnect-repeated-attempt-visible[b-nbvlwffiao],
.components-reconnect-failed-visible[b-nbvlwffiao],
.components-pause-visible[b-nbvlwffiao],
.components-resume-failed-visible[b-nbvlwffiao],
.components-rejoining-animation[b-nbvlwffiao] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-nbvlwffiao],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-nbvlwffiao],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-nbvlwffiao],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-nbvlwffiao],
#components-reconnect-modal.components-reconnect-retrying[b-nbvlwffiao],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-nbvlwffiao],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-nbvlwffiao],
#components-reconnect-modal.components-reconnect-failed[b-nbvlwffiao],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-nbvlwffiao] {
    display: block;
}


#components-reconnect-modal[b-nbvlwffiao] {
    background-color: var(--cs-card-bg, white);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-nbvlwffiao 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-nbvlwffiao 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-nbvlwffiao 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-nbvlwffiao]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-nbvlwffiao 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-nbvlwffiao {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-nbvlwffiao {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-nbvlwffiao {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-nbvlwffiao] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-nbvlwffiao] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-nbvlwffiao] {
    border: 0;
    background-color: var(--cs-gold, #9B7E4B);
    color: white;
    padding: 4px 24px;
    border-radius: 0;
}

    #components-reconnect-modal button:hover[b-nbvlwffiao] {
        background-color: var(--cs-gold-dark, #7D6539);
    }

    #components-reconnect-modal button:active[b-nbvlwffiao] {
        background-color: var(--cs-gold, #9B7E4B);
    }

.components-rejoining-animation[b-nbvlwffiao] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-nbvlwffiao] {
        position: absolute;
        border: 3px solid var(--cs-gold, #9B7E4B);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-nbvlwffiao 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-nbvlwffiao] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-nbvlwffiao {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Gallery.razor.rz.scp.css */
/* ── Gallery Hero ── */
.gallery-hero[b-yjpu7cny21] {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, var(--cs-cream) 0%, var(--cs-stone) 100%);
    border-bottom: 1px solid var(--cs-separator);
    margin: -1rem -0.75rem 0;
}

.gallery-hero h1[b-yjpu7cny21] {
    font-family: var(--cs-font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cs-brown);
    margin-bottom: 0.375rem;
}

.gallery-hero-subtitle[b-yjpu7cny21] {
    font-size: 0.8125rem;
    color: var(--cs-text-muted);
    letter-spacing: 0.04em;
    max-width: 480px;
    margin-bottom: 0;
}

.gallery-hero-nav[b-yjpu7cny21] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

/* ── Search ── */
.gallery-search[b-yjpu7cny21] {
    position: relative;
    max-width: 360px;
    flex: 1;
}

.gallery-search-icon[b-yjpu7cny21] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cs-text-muted);
    font-size: 0.8125rem;
    pointer-events: none;
    z-index: 1;
}

.gallery-search input[b-yjpu7cny21] {
    background: var(--cs-glass-bg);
    backdrop-filter: var(--cs-glass-blur);
    -webkit-backdrop-filter: var(--cs-glass-blur);
    border: 1px solid var(--cs-glass-border);
    border-radius: 0;
    padding: 0.625rem 2.5rem 0.625rem 2.5rem;
    font-family: var(--cs-font-body);
    font-size: 0.8125rem;
    color: var(--cs-text);
    width: 100%;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.gallery-search input[b-yjpu7cny21]::placeholder {
    color: var(--cs-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gallery-search input:focus[b-yjpu7cny21] {
    background: rgba(255, 255, 255, 0.45);
    border-color: var(--cs-gold);
    outline: none;
    box-shadow: 0 0 0 3px var(--cs-gold-glow);
}

.gallery-search-clear[b-yjpu7cny21] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--cs-text-muted);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.25rem;
    line-height: 1;
}

.gallery-search-clear:hover[b-yjpu7cny21] {
    color: var(--cs-text);
}


/* ── Atelier Grid ── */
.atelier-grid[b-yjpu7cny21] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .atelier-grid[b-yjpu7cny21] {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }
}

@media (min-width: 1024px) {
    .atelier-grid[b-yjpu7cny21] {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── Tile ── */
.atelier-tile[b-yjpu7cny21] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--cs-stone);
}

.atelier-tile.tile-hero[b-yjpu7cny21] {
    grid-column: span 2;
    grid-row: span 2;
}

.atelier-tile.tile-featured[b-yjpu7cny21] {
    box-shadow: inset 0 0 0 1px var(--cs-gold-light);
}

@media (max-width: 639px) {
    .atelier-tile.tile-hero[b-yjpu7cny21] {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/10;
    }
}

.atelier-tile img[b-yjpu7cny21] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--cs-tile-transition);
}

.atelier-tile:hover img[b-yjpu7cny21] {
    transform: scale(1.03);
}

/* ── Frosted Overlay ── */
.tile-overlay[b-yjpu7cny21] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.625rem 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease;
}

.atelier-tile:hover .tile-overlay[b-yjpu7cny21] {
    background: rgba(0, 0, 0, 0.4);
}

.tile-name[b-yjpu7cny21] {
    font-family: var(--cs-font-heading);
    font-size: 0.6875rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.tile-hero .tile-overlay[b-yjpu7cny21] {
    padding: 1rem 1.25rem;
}

.tile-hero .tile-name[b-yjpu7cny21] {
    font-size: 0.9375rem;
    letter-spacing: 0.1em;
}

.tile-hero .tile-meta[b-yjpu7cny21] {
    font-size: 0.6875rem;
}

.tile-hero .tile-price[b-yjpu7cny21] {
    font-size: 0.75rem;
}

.tile-meta[b-yjpu7cny21] {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    margin-top: 1px;
    text-transform: uppercase;
}

.tile-price[b-yjpu7cny21] {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* ── Tile Tags ── */
.tile-weave-tag[b-yjpu7cny21] {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.tile-your-fabric[b-yjpu7cny21] {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--cs-gold);
    color: #fff;
    z-index: 1;
}

.tile-featured-accent[b-yjpu7cny21] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cs-gold);
    z-index: 1;
}

/* ── Selection ── */
.atelier-tile.selected[b-yjpu7cny21] {
    box-shadow: inset 0 0 0 3px var(--cs-gold);
    z-index: 1;
}

.tile-select-check[b-yjpu7cny21] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--cs-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tile-select-check i[b-yjpu7cny21] {
    color: #fff;
    font-size: 14px;
}


/* ── Placeholder (no image) ── */
.tile-placeholder[b-yjpu7cny21] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-placeholder span[b-yjpu7cny21] {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tile-hero .tile-placeholder span[b-yjpu7cny21] {
    font-size: 2rem;
}

/* ── Pagination ── */
.gallery-pagination[b-yjpu7cny21] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
}

.gallery-pagination-info[b-yjpu7cny21] {
    font-size: 0.6875rem;
    color: var(--cs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Floating Action Bar ── */
.fab-bar[b-yjpu7cny21] {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    max-width: 520px;
    width: calc(100% - 2rem);
    margin-bottom: 1rem;
}

.fab-bar-inner[b-yjpu7cny21] {
    background: rgba(30, 28, 26, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.625rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--cs-shadow-lg);
}

.fab-bar-label[b-yjpu7cny21] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.03em;
}

.fab-bar-actions[b-yjpu7cny21] {
    display: flex;
    gap: 0.5rem;
}

/* ── Detail Modal ── */
.modal-image-hero[b-yjpu7cny21] {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.modal-image-hero img[b-yjpu7cny21] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-hero-overlay[b-yjpu7cny21] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-image-hero-overlay h4[b-yjpu7cny21] {
    color: #fff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.modal-carousel-nav[b-yjpu7cny21] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    padding: 0.5rem 0.625rem;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.modal-carousel-nav:hover[b-yjpu7cny21] {
    background: rgba(0, 0, 0, 0.6);
}

.modal-carousel-nav.prev[b-yjpu7cny21] { left: 8px; }
.modal-carousel-nav.next[b-yjpu7cny21] { right: 8px; }

.modal-thumbnails[b-yjpu7cny21] {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1.5rem;
    overflow-x: auto;
    background: var(--cs-light-gray);
}

.modal-thumbnails img[b-yjpu7cny21] {
    width: 52px;
    height: 52px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.modal-thumbnails img:hover[b-yjpu7cny21] {
    opacity: 0.85;
}

.modal-thumbnails img.active[b-yjpu7cny21] {
    border-color: var(--cs-gold);
    opacity: 1;
}

/* ── Empty state ── */
.gallery-empty[b-yjpu7cny21] {
    text-align: center;
    padding: 4rem 2rem;
}

.gallery-empty h4[b-yjpu7cny21] {
    font-weight: 400;
    color: var(--cs-text-muted);
    letter-spacing: 0.08em;
    font-size: 1rem;
}

.gallery-empty p[b-yjpu7cny21] {
    color: var(--cs-text-muted);
    font-size: 0.8125rem;
}

/* ── Responsive hero ── */
@media (max-width: 639px) {
    .gallery-hero[b-yjpu7cny21] {
        padding: 1.5rem 1rem 1.25rem;
    }

    .gallery-hero h1[b-yjpu7cny21] {
        font-size: 1.375rem;
    }

    .gallery-hero-nav[b-yjpu7cny21] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .gallery-search[b-yjpu7cny21] {
        max-width: 100%;
    }


    .gallery-pagination[b-yjpu7cny21] {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .fab-bar-inner[b-yjpu7cny21] {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .modal-image-hero[b-yjpu7cny21] {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atelier-tile:hover img[b-yjpu7cny21] {
        transform: none;
    }
}
/* /Components/Pages/StyleGallery.razor.rz.scp.css */
/* ── Gallery Hero (shared pattern with fabric gallery) ── */
.gallery-hero[b-n5vqsk0dq9] {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, var(--cs-cream) 0%, var(--cs-stone) 100%);
    border-bottom: 1px solid var(--cs-separator);
    margin: -1rem -0.75rem 0;
}

.gallery-hero h1[b-n5vqsk0dq9] {
    font-family: var(--cs-font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cs-brown);
    margin-bottom: 0.375rem;
}

.gallery-hero-subtitle[b-n5vqsk0dq9] {
    font-size: 0.8125rem;
    color: var(--cs-text-muted);
    letter-spacing: 0.04em;
    max-width: 480px;
    margin-bottom: 0;
}

/* ── Category Icon Selector ── */
.category-selector[b-n5vqsk0dq9] {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1.25rem 2rem;
    margin: 0 -0.75rem;
    border-bottom: 1px solid var(--cs-separator);
    background: var(--cs-card-bg);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-selector[b-n5vqsk0dq9]::-webkit-scrollbar {
    display: none;
}

.category-icon-tile[b-n5vqsk0dq9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    min-width: 68px;
    border: 1px solid var(--cs-separator);
    background: var(--cs-card-bg);
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.category-icon-tile:hover[b-n5vqsk0dq9] {
    border-color: var(--cs-gold-light);
    background: var(--cs-gold-glow);
}

.category-icon-tile.active[b-n5vqsk0dq9] {
    border-color: var(--cs-gold);
    background: var(--cs-gold);
    color: #fff;
}

.category-icon-tile.active[b-n5vqsk0dq9]  svg {
    stroke: #fff;
}

.category-icon-label[b-n5vqsk0dq9] {
    font-family: var(--cs-font-body);
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: inherit;
}

/* ── Category Divider ── */
.category-divider[b-n5vqsk0dq9] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--cs-separator);
}

.category-divider-icon[b-n5vqsk0dq9] {
    color: var(--cs-gold);
    flex-shrink: 0;
}

.category-divider h3[b-n5vqsk0dq9] {
    font-size: 0.8125rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.12em;
}

/* ── Atelier Grid ── */
.atelier-grid[b-n5vqsk0dq9] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

@media (min-width: 640px) {
    .atelier-grid[b-n5vqsk0dq9] {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }
}

@media (min-width: 1024px) {
    .atelier-grid[b-n5vqsk0dq9] {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── Tile ── */
.atelier-tile[b-n5vqsk0dq9] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--cs-stone);
}

.atelier-tile img[b-n5vqsk0dq9] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--cs-tile-transition);
}

.atelier-tile:hover img[b-n5vqsk0dq9] {
    transform: scale(1.03);
}

/* ── Frosted Overlay ── */
.tile-overlay[b-n5vqsk0dq9] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.625rem 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease;
}

.atelier-tile:hover .tile-overlay[b-n5vqsk0dq9] {
    background: rgba(0, 0, 0, 0.4);
}

.tile-name[b-n5vqsk0dq9] {
    font-family: var(--cs-font-heading);
    font-size: 0.6875rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.tile-price[b-n5vqsk0dq9] {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* ── Placeholder ── */
.tile-placeholder[b-n5vqsk0dq9] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-placeholder span[b-n5vqsk0dq9] {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Detail Modal ── */
.modal-image-hero[b-n5vqsk0dq9] {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.modal-image-hero img[b-n5vqsk0dq9] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-hero-overlay[b-n5vqsk0dq9] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-image-hero-overlay h4[b-n5vqsk0dq9] {
    color: #fff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.modal-carousel-nav[b-n5vqsk0dq9] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    padding: 0.5rem 0.625rem;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.modal-carousel-nav:hover[b-n5vqsk0dq9] {
    background: rgba(0, 0, 0, 0.6);
}

.modal-carousel-nav.prev[b-n5vqsk0dq9] { left: 8px; }
.modal-carousel-nav.next[b-n5vqsk0dq9] { right: 8px; }

.modal-thumbnails[b-n5vqsk0dq9] {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1.5rem;
    overflow-x: auto;
    background: var(--cs-light-gray);
}

.modal-thumbnails img[b-n5vqsk0dq9] {
    width: 52px;
    height: 52px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.modal-thumbnails img:hover[b-n5vqsk0dq9] {
    opacity: 0.85;
}

.modal-thumbnails img.active[b-n5vqsk0dq9] {
    border-color: var(--cs-gold);
    opacity: 1;
}

/* ── Footer ── */
.gallery-footer[b-n5vqsk0dq9] {
    font-size: 0.6875rem;
    color: var(--cs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cs-separator);
}

/* ── Empty state ── */
.gallery-empty[b-n5vqsk0dq9] {
    text-align: center;
    padding: 4rem 2rem;
}

.gallery-empty h4[b-n5vqsk0dq9] {
    font-weight: 400;
    color: var(--cs-text-muted);
    letter-spacing: 0.08em;
    font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 639px) {
    .gallery-hero[b-n5vqsk0dq9] {
        padding: 1.5rem 1rem 1.25rem;
    }

    .gallery-hero h1[b-n5vqsk0dq9] {
        font-size: 1.375rem;
    }

    .category-selector[b-n5vqsk0dq9] {
        padding: 0.75rem 1rem;
    }

    .category-icon-tile[b-n5vqsk0dq9] {
        padding: 0.5rem 0.625rem;
        min-width: 60px;
    }

    .modal-image-hero[b-n5vqsk0dq9] {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atelier-tile:hover img[b-n5vqsk0dq9] {
        transform: none;
    }
}
