/* /Components/Common/CarouselOneSwiper.razor.rz.scp.css */
.carousel-one-slide[b-gd40pdkpmi] {
    width: calc(50% - 0.5rem) !important;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .carousel-one-slide[b-gd40pdkpmi] {
        width: calc(33.333333% - 0.5rem) !important;
    }
}

@media (min-width: 768px) {
    .carousel-one-slide[b-gd40pdkpmi] {
        width: calc(25% - 0.5rem) !important;
    }
}

@media (min-width: 1024px) {
    .carousel-one-slide[b-gd40pdkpmi] {
        width: calc(14.285714% - 0.5rem) !important;
    }
}
/* /Components/Common/PersianDatePicker.razor.rz.scp.css */
.persian-date-dialog[b-khvbas6kjw] {
    width: min(calc(100% - 2rem), 28rem);
    max-width: 28rem;
    max-height: 92dvh;
    margin: auto;
    padding: 0;
    border: none;
    outline: none;
    overflow: visible;
    background: transparent;
}

    .persian-date-dialog[b-khvbas6kjw]::backdrop {
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

.persian-date-dialog__content[b-khvbas6kjw] {
    max-height: 92dvh;
    border-radius: 1.5rem;
    overscroll-behavior: contain;
}

@media (max-width: 639px) {
    .persian-date-dialog[b-khvbas6kjw] {
        width: 100%;
        max-width: none;
        max-height: 94dvh;
        margin: auto 0 0;
    }

    .persian-date-dialog__content[b-khvbas6kjw] {
        max-height: 94dvh;
        border-radius: 1.75rem 1.75rem 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }
}
/* /Components/Common/ProductCommentsSection.razor.rz.scp.css */
/* کارت هر نظر با سایه و حاشیه مجزا */
.comment-card[b-j8ucvvinvv] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

    .comment-card:hover[b-j8ucvvinvv] {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px -8px rgba(6, 182, 212, 0.15);
        border-color: rgba(6, 182, 212, 0.4);
    }

/* هدر کارت با خط جداکننده رنگی */
.comment-header[b-j8ucvvinvv] {
    border-bottom: 2px solid #e6f7f9;
}

/* نشان‌دهنده رتبه با رنگ‌بندی خاص */
.rating-badge[b-j8ucvvinvv] {
    background: #fef3c7;
    color: #d97706;
    border-radius: 30px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* آواتار با افکت */
.avatar-wrapper[b-j8ucvvinvv] {
    position: relative;
}

    .avatar-wrapper[b-j8ucvvinvv]::after {
        content: '';
        position: absolute;
        bottom: -2px;
        right: -2px;
        width: 12px;
        height: 12px;
        background: #10b981;
        border: 2px solid white;
        border-radius: 50%;
    }

/* دکمه‌های اقدام در پایین هر نظر */
.action-btn[b-j8ucvvinvv] {
    transition: all 0.2s ease;
    cursor: pointer;
}

    .action-btn:hover[b-j8ucvvinvv] {
        transform: translateY(-1px);
    }

.custom-scroll[b-j8ucvvinvv] {
    scrollbar-width: thin;
    scrollbar-color: #06b6d4 #e2e8f0;
}

    .custom-scroll[b-j8ucvvinvv]::-webkit-scrollbar {
        width: 5px;
    }

    .custom-scroll[b-j8ucvvinvv]::-webkit-scrollbar-track {
        background: #e2e8f0;
        border-radius: 10px;
    }

    .custom-scroll[b-j8ucvvinvv]::-webkit-scrollbar-thumb {
        background: #06b6d4;
        border-radius: 10px;
    }

/* افکت ریپل برای دکمه‌ها */
.btn-submit[b-j8ucvvinvv] {
    transition: all 0.2s ease;
    cursor: pointer;
}

    .btn-submit:active[b-j8ucvvinvv] {
        transform: scale(0.97);
    }

.input-focus[b-j8ucvvinvv] {
    transition: all 0.2s ease;
}

    .input-focus:focus[b-j8ucvvinvv] {
        border-color: #06b6d4;
        box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
        outline: none;
    }

/* استایل ستاره‌ها */
.star-rating[b-j8ucvvinvv] {
    display: inline-flex;
    gap: 2px;
}

.star-filled[b-j8ucvvinvv] {
    color: #fbbf24;
    fill: #fbbf24;
}

.star-empty[b-j8ucvvinvv] {
    color: #d1d5db;
}

/* هدر بخش نظرات */
.section-header[b-j8ucvvinvv] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
/* /Components/Common/ProductGallery.razor.rz.scp.css */
.swiper-slide img[b-xhc7zzox4z] {
    display: block;
    width: 100%;
    height: 100%;
}

.res_gallery .swiper-slide img[b-xhc7zzox4z],
.gallery_swiper .swiper-slide img[b-xhc7zzox4z] {
    object-fit: contain;
}

.gallery_swiper .swiper-slide[b-xhc7zzox4z] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next[b-xhc7zzox4z],
.swiper-button-prev[b-xhc7zzox4z] {
    color: white;
}

@media (prefers-reduced-motion: reduce) {
    .swiper-wrapper[b-xhc7zzox4z] {
        transition-duration: 0.01ms !important;
    }
}
.product-gallery__nav[b-xhc7zzox4z] {
    width: 44px !important;
    height: 44px !important;
    color: #fff !important;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background-color 150ms ease, opacity 150ms ease;
}

    .product-gallery__nav:hover[b-xhc7zzox4z] {
        background: rgba(15, 23, 42, 0.95);
    }

    .product-gallery__nav[b-xhc7zzox4z]::after {
        display: none !important;
        content: none !important;
    }

    .product-gallery__nav svg[b-xhc7zzox4z] {
        width: 24px;
        height: 24px;
    }

    .product-gallery__nav.swiper-button-disabled[b-xhc7zzox4z] {
        opacity: 0.35 !important;
        cursor: default;
    }

/* فضای قابل لمس pagination در موبایل */
[b-xhc7zzox4z] .res_gallery .swiper-pagination-bullet {
    position: relative;
    width: 32px !important;
    height: 32px !important;
    margin: 0 1px !important;
    background: transparent !important;
    opacity: 1 !important;
    /*
     * Swiper برای dynamic bullets بعضی bulletها را کوچک می‌کند.
     * این کار باعث خطای Touch Target در Lighthouse می‌شود.
     */
    transform: scale(1) !important;
}

    /* خود نقطه کوچک باقی بماند */
    [b-xhc7zzox4z] .res_gallery .swiper-pagination-bullet::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        border-radius: 9999px;
        background: #94a3b8;
        transform: translate(-50%, -50%);
    }

/* نقطه فعال */
[b-xhc7zzox4z] .res_gallery .swiper-pagination-bullet-active::after {
    background: #0284c7;
}

/* برای کاربر کیبورد */
[b-xhc7zzox4z] .res_gallery .swiper-pagination-bullet:focus-visible {
    outline: 2px solid #0369a1;
    outline-offset: 1px;
}
/* /Components/Common/SliderSwiper.razor.rz.scp.css */
.swiper-pagination[b-otgkwqgc7m]  .swiper-pagination-bullet {
    position: relative;
    width: 48px;
    height: 48px;
    margin: 0 !important;
    background: transparent;
    opacity: 1;
}

    .swiper-pagination[b-otgkwqgc7m]  .swiper-pagination-bullet::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background-color: var(--swiper-pagination-bullet-inactive-color, #000);
        opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
    }

.swiper-pagination[b-otgkwqgc7m]  .swiper-pagination-bullet-active::after {
    background-color: var(--swiper-pagination-color, var(--swiper-theme-color));
    opacity: 1;
}

@media (max-width: 1799px) {
    .swiper-slide[b-otgkwqgc7m] {
        overflow: hidden;
        border-radius: 0.500rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2w4ahmk3wu] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-2w4ahmk3wu] {
    flex: 1;
}

.sidebar[b-2w4ahmk3wu] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-2w4ahmk3wu] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-2w4ahmk3wu]  a, .top-row[b-2w4ahmk3wu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-2w4ahmk3wu]  a:hover, .top-row[b-2w4ahmk3wu]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-2w4ahmk3wu]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-2w4ahmk3wu] {
        justify-content: space-between;
    }

    .top-row[b-2w4ahmk3wu]  a, .top-row[b-2w4ahmk3wu]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-2w4ahmk3wu] {
        flex-direction: row;
    }

    .sidebar[b-2w4ahmk3wu] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-2w4ahmk3wu] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-2w4ahmk3wu]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-2w4ahmk3wu], article[b-2w4ahmk3wu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-2w4ahmk3wu] {
    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-2w4ahmk3wu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/checkout/Basket.razor.rz.scp.css */
.gradient-text[b-uwi5hb3n2e] {
    background: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-border[b-uwi5hb3n2e] {
    position: relative;
    background: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
    padding: 2px;
    border-radius: 20px;
}

    .gradient-border > div[b-uwi5hb3n2e] {
        background: white;
        border-radius: 18px;
        padding: 24px;
    }

.blob[b-uwi5hb3n2e] {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    z-index: -1;
}

@media (max-width: 768px) {
    .container[b-uwi5hb3n2e] {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1[b-uwi5hb3n2e] {
        font-size: 1.75rem;
    }

    h2[b-uwi5hb3n2e] {
        font-size: 1.5rem;
    }

    .w-48.h-48[b-uwi5hb3n2e] {
        width: 12rem;
        height: 12rem;
    }

    .w-32.h-32[b-uwi5hb3n2e] {
        width: 8rem;
        height: 8rem;
    }
}

/* انیمیشن ورود تدریجی */
.animate-fade-in[b-uwi5hb3n2e] {
    animation: fadeIn 0.8s ease-out forwards;
}

/* اسکرول بار سفارشی */
[b-uwi5hb3n2e]::-webkit-scrollbar {
    width: 10px;
}

[b-uwi5hb3n2e]::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

[b-uwi5hb3n2e]::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #14b8a6, #0ea5e9);
    border-radius: 10px;
}

    [b-uwi5hb3n2e]::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(to bottom, #0d9488, #0284c7);
    }
