/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-cjihyrkak7] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main[b-cjihyrkak7] {
    flex: 1 0 auto;
}

.content[b-cjihyrkak7] {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

#blazor-error-ui[b-cjihyrkak7] {
    color-scheme: light only;
    background: lightyellow;
    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;
}

    #blazor-error-ui .dismiss[b-cjihyrkak7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.site-header[b-lvubpcwmwe] {
    background-color: var(--ems-header-bg);
    color: var(--ems-header-fg);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.site-navbar > .container[b-lvubpcwmwe] {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-brand[b-lvubpcwmwe] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
    margin-right: 0;
    color: var(--ems-header-fg);
}

.site-brand-name[b-lvubpcwmwe] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Logo slot: hidden until the active theme sets a logo (theme.css). */
.site-brand-logo[b-lvubpcwmwe] {
    display: var(--ems-logo-display, none);
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--ems-logo-url) no-repeat center / contain;
}

.site-header-tools[b-lvubpcwmwe] {
    display: flex;
    align-items: center;
}

    .site-header-tools[b-lvubpcwmwe]  .btn-link {
        color: var(--ems-header-muted);
        text-decoration: none;
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }

        .site-header-tools[b-lvubpcwmwe]  .btn-link:hover,
        .site-header-tools[b-lvubpcwmwe]  .btn-link[aria-pressed="true"] {
            color: var(--ems-header-fg);
        }

.site-nav-toggle[b-lvubpcwmwe] {
    appearance: none;
    cursor: pointer;
    width: 2.75rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    background: var(--bs-navbar-toggler-icon-bg) no-repeat center / 1.5rem;
}

    .site-nav-toggle:checked[b-lvubpcwmwe] {
        background-color: color-mix(in srgb, var(--ems-header-fg) 15%, transparent);
    }

/* Mobile and tablet: links collapse below the bar. */
.site-nav[b-lvubpcwmwe] {
    display: none;
    flex-basis: 100%;
    padding-bottom: 0.75rem;
}

.site-nav-toggle:checked + .site-nav[b-lvubpcwmwe] {
    display: block;
}

.site-nav[b-lvubpcwmwe]  .nav-link {
    color: var(--ems-header-muted);
}

    .site-nav[b-lvubpcwmwe]  .nav-link:hover,
    .site-nav[b-lvubpcwmwe]  .nav-link.active {
        color: var(--ems-header-fg);
    }

.site-auth-links[b-lvubpcwmwe] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

    .site-auth-links[b-lvubpcwmwe]  .site-register {
        color: var(--ems-header-fg);
        border-color: var(--ems-header-muted);
    }

        .site-auth-links[b-lvubpcwmwe]  .site-register:hover {
            color: var(--ems-header-bg);
            background-color: var(--ems-header-fg);
            border-color: var(--ems-header-fg);
        }

.profile-menu[b-lvubpcwmwe] {
    position: relative;
}

    .profile-menu > summary[b-lvubpcwmwe] {
        cursor: pointer;
        list-style: none;
        display: flex;
        align-items: center;
    }

        .profile-menu > summary[b-lvubpcwmwe]::-webkit-details-marker {
            display: none;
        }

.profile-menu-name[b-lvubpcwmwe] {
    display: inline-block;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.profile-menu[open] > .profile-menu-items[b-lvubpcwmwe] {
    display: block;
    position: static;
}

.profile-menu-items form[b-lvubpcwmwe] {
    margin: 0;
}

/* Desktop: single row, links inline and the toggle hidden. */
@media (min-width: 992px) {
    .site-navbar > .container[b-lvubpcwmwe] {
        flex-wrap: nowrap;
        gap: 1.5rem;
    }

    .site-brand[b-lvubpcwmwe] {
        flex: 0 1 auto;
    }

    .site-nav-toggle[b-lvubpcwmwe] {
        display: none;
    }

    .site-nav[b-lvubpcwmwe] {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: space-between;
        flex-basis: auto;
        order: 1;
        padding-bottom: 0;
    }

    .site-header-tools[b-lvubpcwmwe] {
        order: 2;
    }

    .site-nav-links[b-lvubpcwmwe] {
        flex-direction: row;
        gap: 0.5rem;
    }

    .profile-menu[open] > .profile-menu-items[b-lvubpcwmwe] {
        position: absolute;
        right: 0;
        top: 100%;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ld0sfjhq8x],
.components-reconnect-repeated-attempt-visible[b-ld0sfjhq8x],
.components-reconnect-failed-visible[b-ld0sfjhq8x],
.components-pause-visible[b-ld0sfjhq8x],
.components-resume-failed-visible[b-ld0sfjhq8x],
.components-rejoining-animation[b-ld0sfjhq8x] {
    display: none;
}

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


#components-reconnect-modal[b-ld0sfjhq8x] {
    background-color: 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-ld0sfjhq8x 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-ld0sfjhq8x] {
    border: 0;
    background-color: var(--bs-primary);
    color: var(--ems-primary-contrast, #ffffff);
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ld0sfjhq8x] {
        background-color: var(--ems-accent, #0a58ca);
    }

    #components-reconnect-modal button:active[b-ld0sfjhq8x] {
        background-color: var(--bs-primary);
    }

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

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

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

@keyframes components-rejoining-animation-b-ld0sfjhq8x {
    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/Layout/SiteFooter.razor.rz.scp.css */
.site-footer[b-808io8j8h6] {
    background-color: var(--ems-footer-bg);
    color: var(--ems-footer-fg);
    border-top: 1px solid var(--ems-footer-border);
    padding: 2rem 0 1.5rem;
    font-size: 0.9rem;
}

    .site-footer a[b-808io8j8h6] {
        color: inherit;
        overflow-wrap: anywhere;
    }

.site-footer-name[b-808io8j8h6] {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.site-footer-heading[b-808io8j8h6] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.site-footer-copyright[b-808io8j8h6] {
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ems-footer-border);
    font-size: 0.8rem;
}
/* /Components/Pages/About.razor.rz.scp.css */
.about-content[b-5e9wxht88g]  img {
    display: block;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

.about-content[b-5e9wxht88g]  h2 {
    margin-top: 2rem;
}

.about-contact[b-5e9wxht88g] {
    position: sticky;
    top: 5rem;
}

.about-contact a[b-5e9wxht88g] {
    overflow-wrap: anywhere;
}
/* /Components/Pages/Admin/Catalog/CategoryList.razor.rz.scp.css */
/* Indentation by tree depth; classes instead of inline styles because of the CSP. */
.category-depth-1[b-dc5njile1x] { padding-inline-start: 1.25rem; }
.category-depth-2[b-dc5njile1x] { padding-inline-start: 2.5rem; }
.category-depth-3[b-dc5njile1x] { padding-inline-start: 3.75rem; }
.category-depth-4[b-dc5njile1x] { padding-inline-start: 5rem; }

.category-depth-1[b-dc5njile1x]::before,
.category-depth-2[b-dc5njile1x]::before,
.category-depth-3[b-dc5njile1x]::before,
.category-depth-4[b-dc5njile1x]::before {
    content: "└ ";
    color: var(--bs-secondary-color);
}
/* /Components/Pages/Admin/Catalog/ProductEdit.razor.rz.scp.css */
.product-image[b-84s1e3mczr] {
    aspect-ratio: 1;
    object-fit: cover;
}
/* /Components/Pages/Admin/Catalog/ProductList.razor.rz.scp.css */
.product-thumb[b-upiw7llsex] {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    object-fit: cover;
}

.product-thumb-empty[b-upiw7llsex] {
    background-color: var(--bs-secondary-bg);
}
/* /Components/Pages/Admin/Theme/ImageField.razor.rz.scp.css */
.theme-image-thumb[b-ujy9kou3nl] {
    max-width: 8rem;
    max-height: 4rem;
    object-fit: contain;
    padding: 0.25rem;
    background-color: var(--bs-tertiary-bg);
}
/* /Components/Pages/Admin/Theme/ThemeEditor.razor.rz.scp.css */
/* Colors come from the scoped preview stylesheet (/Admin/Theme/preview.css), which sets the same
   --ems-* variables the live layout uses. */
.theme-preview-header[b-c4vt3tdmgu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--ems-header-bg);
    color: var(--ems-header-fg);
}

.theme-preview-brand[b-c4vt3tdmgu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.theme-preview-logo[b-c4vt3tdmgu] {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.theme-preview-nav[b-c4vt3tdmgu] {
    color: var(--ems-header-muted);
}

.theme-preview-hero[b-c4vt3tdmgu] {
    padding: 2rem 1rem;
    color: #ffffff;
    background-color: var(--ems-secondary);
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1)), var(--ems-banner-url, none);
    background-size: cover;
    background-position: center;
    overflow-wrap: anywhere;
}

.theme-preview-body[b-c4vt3tdmgu] {
    padding: 1rem;
}

.theme-preview-footer[b-c4vt3tdmgu] {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    background-color: var(--ems-footer-bg);
    color: var(--ems-footer-fg);
    border-top: 1px solid var(--ems-footer-border);
}
/* /Components/Pages/Catalog/CatalogPage.razor.rz.scp.css */
.catalog-category[b-y2kgwt72d0] {
    display: block;
    padding: 0.35rem 0.5rem;
    border-radius: 0.375rem;
    color: var(--ems-text, var(--bs-body-color));
    text-decoration: none;
}

.catalog-category:hover[b-y2kgwt72d0] {
    background-color: rgba(var(--bs-primary-rgb), 0.08);
}

.catalog-category.active[b-y2kgwt72d0] {
    background-color: var(--ems-primary, var(--bs-primary));
    color: var(--ems-primary-contrast, #fff);
}

.catalog-depth-1[b-y2kgwt72d0] { padding-inline-start: 1.25rem; }
.catalog-depth-2[b-y2kgwt72d0] { padding-inline-start: 2rem; }
.catalog-depth-3[b-y2kgwt72d0] { padding-inline-start: 2.75rem; }

.catalog-count[b-y2kgwt72d0] {
    opacity: 0.7;
    font-size: 0.85em;
}

.catalog-filters[b-y2kgwt72d0] {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: var(--bs-tertiary-bg);
}

/* On phones the category list sits above the results; keep it short so products stay in reach. */
@media (max-width: 991.98px) {
    .catalog-categories[b-y2kgwt72d0] {
        max-height: 14rem;
        overflow-y: auto;
    }
}

.catalog-card[b-y2kgwt72d0] {
    transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.catalog-card:hover[b-y2kgwt72d0],
.catalog-card:focus-within[b-y2kgwt72d0] {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.catalog-image[b-y2kgwt72d0] {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: var(--bs-tertiary-bg);
}

.catalog-image-placeholder[b-y2kgwt72d0] {
    background-image: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.12), rgba(var(--bs-secondary-rgb), 0.12));
}

.catalog-product-link[b-y2kgwt72d0] {
    color: inherit;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .catalog-card[b-y2kgwt72d0] {
        transition: none;
    }

    .catalog-card:hover[b-y2kgwt72d0],
    .catalog-card:focus-within[b-y2kgwt72d0] {
        transform: none;
    }
}
/* /Components/Pages/Catalog/ProductPage.razor.rz.scp.css */
.product-image[b-nk6zdjdysz] {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: var(--bs-tertiary-bg);
}

.product-image-placeholder[b-nk6zdjdysz] {
    background-image: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.12), rgba(var(--bs-secondary-rgb), 0.12));
}

.product-gallery-slide[b-nk6zdjdysz] {
    display: none;
}

.product-gallery-input:checked + .product-gallery-slide[b-nk6zdjdysz] {
    display: block;
}

.product-gallery-input:focus-visible + .product-gallery-slide[b-nk6zdjdysz] {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.product-thumb[b-nk6zdjdysz] {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background-color: var(--bs-tertiary-bg);
}

.product-thumb img[b-nk6zdjdysz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb:hover[b-nk6zdjdysz] {
    border-color: rgba(var(--bs-primary-rgb), 0.4);
}

.product-description[b-nk6zdjdysz] {
    white-space: pre-line;
}

.product-specs th[b-nk6zdjdysz] {
    width: 40%;
    font-weight: 600;
    color: var(--bs-secondary-color);
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Banner from the active theme (--ems-banner-url, set in theme.css); a plain brand-colored panel without one. */
.site-hero[b-vdxc043fn1] {
    display: flex;
    align-items: flex-end;
    min-height: 12rem;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    /* White on a darkening overlay stays readable on any banner or brand color. */
    color: #ffffff;
    background-color: var(--ems-secondary, #212529);
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1)), var(--ems-banner-url, none);
    background-size: cover;
    background-position: center;
}

    .site-hero h1[b-vdxc043fn1] {
        margin: 0;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

@media (min-width: 768px) {
    .site-hero[b-vdxc043fn1] {
        min-height: 18rem;
        padding: 3rem;
    }
}
