/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-7y61crl3f7] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7y61crl3f7] {
    flex: 1;
}

.sidebar[b-7y61crl3f7] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-7y61crl3f7] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-7y61crl3f7]  a, .top-row[b-7y61crl3f7]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-7y61crl3f7]  a:hover, .top-row[b-7y61crl3f7]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-7y61crl3f7]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-7y61crl3f7] {
        justify-content: space-between;
    }

    .top-row[b-7y61crl3f7]  a, .top-row[b-7y61crl3f7]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-7y61crl3f7] {
        flex-direction: row;
    }

    .sidebar[b-7y61crl3f7] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-7y61crl3f7] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-7y61crl3f7]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-7y61crl3f7], article[b-7y61crl3f7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-7y61crl3f7] {
    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-7y61crl3f7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Products.razor.rz.scp.css */
/* ------------------------------------ */
/* 4. Product List Grid */
/* ------------------------------------ */
.main-product-section[b-e27ubowj06]{
    padding:25px 0;
}
.product-grid[b-e27ubowj06] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* ------------------------------------ */
/* 2. Product Card & Carousel */
/* ------------------------------------ */
.product-card[b-e27ubowj06] {
    background-color: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover[b-e27ubowj06] {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

/* Carousel Container (CSS Scroll Snap) */
.carousel[b-e27ubowj06] {
    display: grid;
    /* This creates 2 columns if there are 2+ images; 1 column if only 1 */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    padding: 10px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

    .carousel[b-e27ubowj06]::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

.carousel-item[b-e27ubowj06] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Keeps images as perfect squares */
    padding: 10px;
    border: 1px solid #f0f0f0;
}

    .carousel-item img[b-e27ubowj06] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* Preserves image ratio without cropping */
        transition: transform 0.3s ease;
    }
    .carousel-item:hover img[b-e27ubowj06] {
        transform: scale(1.05);
    }

/* ------------------------------------ */
/* 3. Product Content Details */
/* ------------------------------------ */
.card-content[b-e27ubowj06] {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-name[b-e27ubowj06] {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-dark);
}

.card-desc[b-e27ubowj06] {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Specifications List */
.specs-list[b-e27ubowj06] {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.spec-item[b-e27ubowj06] {
    font-size: 0.85rem;
}

.spec-label[b-e27ubowj06] {
    display: block;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 2px;
}

.spec-value[b-e27ubowj06] {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}
/* Android App Button at bottom of card (Optional) */
.card-footer[b-e27ubowj06] {
    padding: 0 25px 25px;
}

.btn-link[b-e27ubowj06] {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s;
}

    .btn-link:hover[b-e27ubowj06] {
        background: var(--primary-blue-dark);
    }
/* /Components/Pages/Support.razor.rz.scp.css */
