﻿.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.grid.min.width {
    min-width: 150px !important;
}

.footer-button {
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

@media (min-width: 1360px) {
    .basket-container {
        display: flex;
        width: 100%;
        /*height: 100vh;*/ /* örnek olarak tüm ekran yüksekliði */
    }

    .right {
        width: 280px;
    }

    .left {
        flex: 1; /* Geriye kalan alaný kaplar */
        margin-right: 5px;
        overflow-x: auto;
    }
}

.category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .category-box img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 50%; /* Yuvarlak */
        border: 3px solid #ccc;
    }

    .category-box span {
        margin-top: 10px;
        font-weight: 500;
    }

    .category-box:hover {
        transform: scale(1.05);
    }

/*@media (min-width: 800px) {
    .product-filtre-container {
        display: flex;
        width: 100%;*/
/*height: 100vh;*/ /* örnek olarak tüm ekran yüksekliði */
/*}

    .product-filtre-container-left {
        width: 280px;
    }

    .product-filtre-container-right {
        flex: 1;*/ /* Geriye kalan alaný kaplar */
/*margin-left: 5px;
    }
}*/


/* _content/Blazored.Toast/BlazoredToast.razor.rz.scp.css */
.blazored-toast {
    display: flex;
    position: relative;
    flex-direction: row;
    animation: fadein-b-jnm4noxjw5 1.5s;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    color: #1D1D1B;
    width: 20rem;
    border-radius: .25rem;
    box-shadow: rgba(0,0,0,0.30) 0px 10px 30px 2px;
    background-color: #fff;
    border-top: 6px solid #fff;
}

.blazored-toast-component {
    display: initial;
    padding: 0 0 0 0;
    border-top: none;
}

.blazored-toast-info {
    border-top: 6px solid #2563eb;
}

    .blazored-toast-info .blazored-toast-icon {
        color: #2563eb;
    }

.blazored-toast-success {
    border-top: 6px solid #16a34a;
}

    .blazored-toast-success .blazored-toast-icon {
        color: #16a34a;
    }

.blazored-toast-warning {
    border-top: 6px solid #eab308;
}

    .blazored-toast-warning .blazored-toast-icon {
        color: #eab308;
    }

.blazored-toast-error {
    border-top: 6px solid #dc2626;
}

    .blazored-toast-error .blazored-toast-icon {
        color: #dc2626;
    }

.blazored-toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 0 1rem 0 0;
    font-size: 1.5rem;
}

.blazored-toast .blazored-toast-message {
    flex-grow: 1;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 0.875rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.blazored-toast .blazored-toast-close {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 0 0 0 1rem;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    color: #94a3b8;
    font-size: 0.9rem;
}

    .blazored-toast .blazored-toast-close:hover {
        color: inherit;
    }

.blazored-toast .blazored-toast-progressbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-bottom-left-radius: .375rem;
    border-bottom-right-radius: .375rem;
}

    .blazored-toast .blazored-toast-progressbar > span {
        position: absolute;
        filter: brightness(75%);
        height: 6px;
        border-bottom-left-radius: .375rem;
        background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0);
        transition: all .1s linear;
    }

.blazored-toast-action {
    cursor: pointer;
}

@keyframes fadein-b-jnm4noxjw5 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/* _content/Blazored.Toast/BlazoredToasts.razor.rz.scp.css */
.blazored-toast-container[b-y65zu6vhcs] {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 999;
}

.position-topleft[b-y65zu6vhcs] {
    top: 2rem;
    left: 2rem;
}

.position-topright[b-y65zu6vhcs] {
    top: 2rem;
    right: 2rem;
}

.position-topcenter[b-y65zu6vhcs] {
    top: 2rem;
    left: 50%;
    transform: translate(-50%, 0%);
}

.position-bottomleft[b-y65zu6vhcs] {
    bottom: 2rem;
    left: 2rem;
}

.position-bottomright[b-y65zu6vhcs] {
    bottom: 2rem;
    right: 2rem;
}

.position-bottomcenter[b-y65zu6vhcs] {
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 0%);
}

.blazored-toast[b-y65zu6vhcs] {
    width: 30rem;
    border-radius: .25rem;
}








.scroll-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    /*padding: 10px;*/
}

.scroll-item {
    display: inline-block;
    /*width: 200px;*/
    height: 30px;
    background-color: #90caf9;
    margin-right: 10px;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    font-size: 20px;
    border-radius: 8px;
    padding: 5px;
}

.demo-drawer .dxbl-drawer-content {
    font-size: var(--dxbl-drawer-panel-font-size);
    line-height: var(--dxbl-drawer-panel-line-height);
    overflow: auto;
    height: auto;
    padding: var(--dxbl-drawer-panel-padding-y) var(--dxbl-drawer-panel-padding-x);
}

.demo-drawer:has(.demo-drawer-menu) {
    --dxbl-drawer-panel-body-padding-x: 0;
    --dxbl-drawer-panel-body-padding-y: 0;
}

.dxbl-menu.demo-drawer-menu {
    --dxbl-menu-top-left-border-radius: 0;
    --dxbl-menu-top-right-border-radius: 0;
    --dxbl-menu-bottom-left-border-radius: 0;
    --dxbl-menu-bottom-right-border-radius: 0;
}

.custom-switch-container {
    display: flex;
    justify-content: start;
    align-items: center;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    position: relative;
}

    .switch-label input {
        display: none;
    }

.slider {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 34px;
    cursor: pointer;
    transition: .4s;
}

    .slider::before {
        content: "";
        position: absolute;
        height: 22px;
        width: 22px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        border-radius: 50%;
        transition: .4s;
    }

.switch-label input:checked + .slider {
    background-color: #0d6efd;
}

    .switch-label input:checked + .slider::before {
        transform: translateX(24px);
    }

.slider.round {
    border-radius: 34px;
}

.custom-switch-container {
    display: flex;
    justify-content: start;
    align-items: center;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    position: relative;
}

    .switch-label input {
        display: none;
    }

.slider {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 34px;
    cursor: pointer;
    transition: .4s;
}

    .slider::before {
        content: "";
        position: absolute;
        height: 22px;
        width: 22px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        border-radius: 50%;
        transition: .4s;
    }

.switch-label input:checked + .slider {
    background-color: #0d6efd;
}

    .switch-label input:checked + .slider::before {
        transform: translateX(24px);
    }

.slider.round {
    border-radius: 34px;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

    .spinner-overlay img,
    .spinner-overlay svg {
        width: 60px;
        height: 60px;
    }

.auth-form-group-custom {
    position: relative;
}

    .auth-form-group-custom label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        display: block;
    }

    .auth-form-group-custom input,
    .auth-form-group-custom textarea {
        padding-left: 2.25rem;
        font-size: 0.9rem;
        height: auto;
    }

.auti-custom-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #6c757d;
    pointer-events: none;
}

.payment-logo {
    height: 40px;
    object-fit: contain;
    margin: 5px 3px;
    vertical-align: middle;
}

.hide-sf-grid-header .e-gridheader {
    display: none !important;
}


.listbox-style {
    display: flex;
    align-items: center; /* dikeyde ortalama */
    gap: 12px; /* resim ve yazı arası boşluk */
}

    .listbox-style img {
        width: 60px;
        height: 60px;
        border-radius: 50%; /* yuvarlak yapar */
        object-fit: cover; /* resim taşmasını önler */
    }

    .listbox-style .text h3 {
        margin: 0;
        font-size: 1.1rem;
    }

    .listbox-style .text p {
        margin: 0;
        color: #555;
        font-size: 0.9rem;
    }

.cari-card {
    height: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Varsayılan olarak gizle */
    transition: overflow 0.3s;
}

    /* Hover olunca scrollbar aktif olsun */
    .cari-card:hover {
        overflow: auto;
    }

    /* Modern scrollbar stili (Chrome/Edge/Safari) */
    .cari-card::-webkit-scrollbar {
        width: 8px;
    }

    .cari-card::-webkit-scrollbar-track {
        background: transparent;
    }

    .cari-card::-webkit-scrollbar-thumb {
        background: rgba(79, 172, 254, 0.7);
        border-radius: 10px;
    }

        .cari-card::-webkit-scrollbar-thumb:hover {
            background: rgba(58, 154, 230, 0.9);
        }

/* Firefox için */
.cari-card {
    scrollbar-width: thin;
    scrollbar-color: rgba(79, 172, 254, 0.7) transparent;
}

.cari-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, #252b3b, #00f2fe);
    color: white;
}

.cari-avatar {
    border-radius: 50%;
    margin-right: 12px;
    width: 80px;
    height: 80px;
    border: 3px solid white;
}

.cari-title h2 {
    margin: 0;
    font-size: 20px;
    color: white;
}

.cari-title p {
    margin: 4px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.cari-body {
    padding: 16px;
}

.cari-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.label {
    font-weight: bold;
    color: #555;
}

.value {
    color: #333;
}

    .value.positive {
        color: green;
    }

    .value.negative {
        color: red;
    }

.cari-footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px;
    background: #f9f9f9;
    gap: 8px;
}


.fav-icon-style {
    width: 40px;
    height: 40px;
    border: 2px solid lightgray;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .fav-icon-style i {
        font-size: 25px;
    }


.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f8f8;
    padding: 10px 20px;
    border-top: 1px solid #ccc;
    text-align: center;
    z-index: 1000; /* Üstte görünmesi için */
}

/* Footer sosyal medya ikonları için genel stil */
.footera .fab {
    transition: color 0.3s ease;
    font-size: 1.5rem;
}

.footera .fa-facebook {
    color: #1877F2;
}

.footera .fa-twitter {
    color: #1DA1F2;
}

.footera .fa-instagram {
    color: #E4405F;
}

.footera .fa-linkedin {
    color: #0A66C2;
}

.footera .fa-youtube {
    color: #FF0000;
}

.footera .fa-whatsapp {
    color: #25D366;
}

.footera .fab:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.avatar-wrapper {
    position: relative;
    cursor: pointer;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
}

.avatar-wrapper:hover .avatar-overlay {
    opacity: 1;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

    .custom-modal .modal-backdrop {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
        top: 0;
        left: 0;
        z-index: 1040;
    }

    .custom-modal .modal-dialog {
        position: relative;
        z-index: 1060;
        max-width: 90vw;
        width: 90vw;
        max-height: 90vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom-modal .modal-content {
        width: 100%;
        height: auto;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        overflow-y: auto;
        padding: 25px 20px;
    }

.custom-messagebox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .custom-messagebox .modal-backdrop {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.4);
        top: 0;
        left: 0;
        z-index: 1040;
    }

    .custom-messagebox .modal-content {
        position: relative;
        background-color: #fff;
        border-radius: 12px;
        max-width: 400px;
        width: 90%;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        z-index: 1060;
        text-align: center;
        animation: fadeIn 0.2s ease-in-out;
    }

.custom-datepicker .e-control.e-datepicker {
    border-radius: 50px !important;
    height: 38px !important;
    padding: 6px 12px !important;
}

.e-datepicker .e-popup {
    width: 280px !important;
    border-radius: 12px !important;
}

.e-grid .e-toolbar-items {
    min-height: 40px !important;
    height: 40px !important;
    align-items: center !important; /* dikey ortalama */
}

.e-grid .e-row:nth-child(even) {
    background-color: #f9f9f9; /* açık gri */
}

.e-grid .e-row:nth-child(odd) {
    background-color: #ffffff; /* beyaz */
}

/* Hover efekti istersen */
.e-grid .e-row:hover {
    background-color: #eaf4ff; /* açık mavi */
}

.quantity-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.qty-btn {
    background: #f1f3f5;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    .qty-btn:hover {
        background: linear-gradient(135deg, #007bff, #0056d2);
        color: white;
        transform: translateY(-2px);
    }

.qty-input {
    width: 44px;
    height: 32px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}
.product-box {
    width: 100%;
}
.product-box.border-animate-up::after,
.product-box.border-animate-down::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 8px;
    pointer-events: none;
    box-sizing: border-box;
}

.product-box.border-animate-up::after {
    border-color: #007bff;
    animation: borderSlideDownSmooth 0.6s ease-out forwards;
}

.product-box.border-animate-down::after {
    border-color: #dc3545;
    animation: borderSlideUpSmooth 0.6s ease-out forwards;
}

@keyframes borderSlideDownSmooth {
    0% {
        border-top-color: #007bff;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }

    25% {
        border-top-color: #007bff;
        border-right-color: #007bff;
    }

    50% {
        border-top-color: #007bff;
        border-right-color: #007bff;
        border-bottom-color: #007bff;
    }

    75% {
        border-top-color: #007bff;
        border-right-color: #007bff;
        border-bottom-color: #007bff;
        border-left-color: #007bff;
    }

    100% {
        border-color: #007bff;
    }
}

@keyframes borderSlideUpSmooth {
    0% {
        border-bottom-color: #dc3545;
        border-left-color: transparent;
        border-top-color: transparent;
        border-right-color: transparent;
    }

    25% {
        border-bottom-color: #dc3545;
        border-left-color: #dc3545;
    }

    50% {
        border-bottom-color: #dc3545;
        border-left-color: #dc3545;
        border-top-color: #dc3545;
    }

    75% {
        border-bottom-color: #dc3545;
        border-left-color: #dc3545;
        border-top-color: #dc3545;
        border-right-color: #dc3545;
    }

    100% {
        border-color: #dc3545;
    }
}

.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    background-color: transparent;
    transition: transform 0.2s, background-color 0.2s;
}

    .cart-btn:hover {
        transform: scale(1.1);
        cursor: pointer;
    }

    .cart-btn.in-basket {
        background-color: #007bff;
        color: #fff;
    }

.badge-quantity {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ff6f00, #ff3d00);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}




#components-reconnect-modal {
    display: none;
}

.components-reconnect-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: none;
    overflow: hidden;
    animation: components-reconnect-fade-in;
}

    .components-reconnect-overlay.components-reconnect-visible {
        display: block;
    }

    .components-reconnect-overlay::before {
        content: '';
        background-color: rgba(0, 0, 0, 0.4);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        animation: components-reconnect-fadeInOpacity 0.5s ease-in-out;
        opacity: 1;
    }

    .components-reconnect-overlay p {
        margin: 0;
        text-align: center;
    }

    .components-reconnect-overlay button {
        border: 0;
        background-color: #6b9ed2;
        color: white;
        padding: 4px 24px;
        border-radius: 4px;
    }

        .components-reconnect-overlay button:hover {
            background-color: #3b6ea2;
        }

        .components-reconnect-overlay button:active {
            background-color: #6b9ed2;
        }

.components-reconnect-dialog {
    position: relative;
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: components-reconnect-slideUp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-fadeInOpacity 0.5s ease-out 0.3s;
    animation-fill-mode: forwards;
    z-index: 10001;
}

.components-rejoining-animation {
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2) {
            animation-delay: -0.5s;
        }

.components-reconnect-show {
    display: block !important;
}

@keyframes components-rejoining-animation {
    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;
    }
}

@keyframes components-reconnect-fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-slideUp {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

.scroll-container.modern-filters {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 5px 0;
    scrollbar-width: thin; /* Firefox */
}

    .scroll-container.modern-filters::-webkit-scrollbar {
        height: 6px;
    }

    .scroll-container.modern-filters::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
    }

.filter-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(145deg, #e0f7ff, #cceeff);
    color: #0077b6;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .filter-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        background: linear-gradient(145deg, #b3ecff, #99ddff);
    }

.menu-icon {
    font-size: 18px;
    padding: 5px;
    color: #333;
}

.kpi-box i {
    font-size: 20px;
}

.kpi-box .text-success {
    color: #28a745;
}

.kpi-box .text-danger {
    color: #dc3545;
}

@media (max-width: 1199px) {
    .dashboard-card .kpi-box {
        flex: 1 1 45%;
    }
}

@media (max-width: 767px) {
    .dashboard-card .kpi-box {
        flex: 1 1 100%;
    }
}

.favorite-btn i {
    font-size: 22px;
    transition: transform 0.2s, color 0.2s;
}

    .favorite-btn i:hover {
        transform: scale(1.3);
        color: #ff1a1a;
    }

.favorite-btn.clicked i {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.product-slide {
    width: 160px !important;
    flex-shrink: 0;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex: 0 0 auto; 
    width: 160px !important;
    margin-right: 0; 
}
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

   /*eror page*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

.errpage-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.errpage-bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.errpage-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: errpage-float 20s infinite ease-in-out;
}

.errpage-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.errpage-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.errpage-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation-delay: 14s;
}

@keyframes errpage-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.errpage-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: errpage-slideUp 0.6s ease-out;
}

@keyframes errpage-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.errpage-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.errpage-icon-circle {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: errpage-bounce 2s infinite;
}

.errpage-icon {
    font-size: 3rem;
    color: white;
    animation: errpage-shake 3s infinite;
}

.errpage-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid #f5576c;
    border-radius: 50%;
    animation: errpage-pulse 2s infinite;
}

@keyframes errpage-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes errpage-shake {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

@keyframes errpage-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.errpage-title {
    font-size: 6rem;
    font-weight: 900;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.errpage-digit {
    display: inline-block;
    animation: errpage-digitPop 0.6s ease-out backwards;
}

    .errpage-digit:nth-child(1) {
        animation-delay: 0.1s;
    }

    .errpage-digit:nth-child(2) {
        animation-delay: 0.2s;
    }

    .errpage-digit:nth-child(3) {
        animation-delay: 0.3s;
    }

@keyframes errpage-digitPop {
    from {
        opacity: 0;
        transform: scale(0.5) rotateY(90deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

.errpage-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 2rem;
    animation: errpage-fadeIn 0.8s ease-out 0.4s backwards;
}

@keyframes errpage-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.errpage-message {
    margin-bottom: 2rem;
    animation: errpage-fadeIn 1s ease-out 0.6s backwards;
}

.errpage-message-primary {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.errpage-message-secondary {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
}

.errpage-status-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: errpage-fadeIn 1.2s ease-out 0.8s backwards;
}

.errpage-status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 600;
}

.errpage-status-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.errpage-status-error {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation: errpage-statusPulse 2s infinite;
}

.errpage-status-checking {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

    .errpage-status-checking i {
        animation: errpage-spin 2s linear infinite;
    }

@keyframes errpage-statusPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes errpage-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.errpage-button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: errpage-fadeIn 1.4s ease-out 1s backwards;
}

.errpage-retry-button {
    position: relative;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

.errpage-support-button {
    position: relative;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    background: white;
    border: 2px solid #667eea;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.errpage-button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.errpage-button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.errpage-retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.errpage-support-button:hover {
    transform: translateY(-2px);
    background: #667eea;
    color: white;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

    .errpage-retry-button:hover .errpage-button-shine,
    .errpage-support-button:hover .errpage-button-shine {
        left: 100%;
    }

.errpage-retry-button:active,
.errpage-support-button:active {
    transform: translateY(0);
}

.errpage-info {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    color: #4a5568;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: errpage-fadeIn 1.6s ease-out 1.2s backwards;
}

    .errpage-info i {
        color: #667eea;
    }

.errpage-footer {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    z-index: 1;
}

@media (max-width: 768px) {
    .errpage-title {
        font-size: 4rem;
    }

    .errpage-subtitle {
        font-size: 1.25rem;
    }

    .errpage-status-grid {
        gap: 1rem;
    }

    .errpage-button-group {
        width: 100%;
    }

    .errpage-retry-button,
    .errpage-support-button {
        width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

.annnews-animate-btn {
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    border: none;
    transition: all 0.3s ease;
}

    .annnews-animate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
        background: linear-gradient(90deg, #0dcaf0, #0d6efd);
    }

.annnews-hover-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .annnews-hover-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

.clickable-row-icon {
    font-size: 1.4rem;
    color: var(--bs-primary);
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.e-row:hover .clickable-row-icon {
    transform: translateX(4px);
    color: var(--bs-info);
}

.e-row[role="row"]:hover {
    background-color: rgba(13, 110, 253, 0.05) !important;
    transition: background-color 0.2s ease;
}

.e-row {
    cursor: pointer;
}

.campaign-hover-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

    .campaign-hover-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.campaign-card-title {
    font-size: 1rem;
}

.campaign-card-footer a {
    font-size: 0.9rem;
}

.campaign-badge {
    font-size: 0.75rem;
}

.campaign-no-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.pdetail-carousel {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 480px;
}

.pdetail-carousel-item {
    height: 100%;
}

.pdetail-carousel-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    background-color: #fff;
    display: block;
    border-radius: 16px;
    padding: 10px;
    transition: transform 0.3s ease;
}

    .pdetail-carousel-img:hover {
        transform: scale(1.03);
    }

.pdetail-carousel-control-prev-icon,
.pdetail-carousel-control-next-icon {
    filter: invert(1);
    opacity: 0.8;
}

.pdetail-carousel-control-prev,
.pdetail-carousel-control-next {
    width: 8%;
}

.pdetail-carousel-indicators {
    position: relative;
    margin-top: 8px;
}

    .pdetail-carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #bbb;
    }

    .pdetail-carousel-indicators .active {
        background-color: #0d6efd;
    }

@media (max-width: 768px) {
    .pdetail-carousel {
        max-width: 100%;
        height: 360px;
    }
}

.pdetail-thumbnail-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

    .pdetail-thumbnail-bar::-webkit-scrollbar {
        height: 6px;
    }

    .pdetail-thumbnail-bar::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
    }

.pdetail-thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: white;
}

    .pdetail-thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 5px;
    }

    .pdetail-thumbnail-item:hover {
        border-color: #0d6efd;
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .pdetail-thumbnail-item.active {
        border-color: #0d6efd;
        background: #e7f3ff;
        box-shadow: 0 2px 6px rgba(13,110,253,0.3);
    }

    .pdetail-thumbnail-item.active {
        border-color: #007bff;
    }

@media (max-width: 768px) {
    .pdetail-thumbnail-bar {
        gap: 8px;
        padding: 8px;
    }

    .pdetail-thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

.pdetail-qty-wrapper {
    display: flex;
    align-items: center;
    width: 180px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .pdetail-qty-wrapper:focus-within {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }

.pdetail-qty-btn {
    background: #f8f9fa;
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .pdetail-qty-btn:hover {
        background: #e9ecef;
        color: #0d6efd;
    }

    .pdetail-qty-btn:active {
        transform: scale(0.95);
    }

.pdetail-qty-minus {
    border-right: 1px solid #e0e0e0;
}

.pdetail-qty-plus {
    border-left: 1px solid #e0e0e0;
}

.pdetail-qty-input {
    flex: 1;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    height: 48px;
    outline: none;
    -moz-appearance: textfield;
}

    .pdetail-qty-input::-webkit-outer-spin-button,
    .pdetail-qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.pdetail-cart-btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

    .pdetail-cart-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }

    .pdetail-cart-btn:active {
        transform: translateY(0);
    }

.pdetail-fav-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    transition: all 0.3s ease;
}

    .pdetail-fav-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    }

    .pdetail-fav-btn i {
        transition: all 0.3s ease;
    }

    .pdetail-fav-btn:hover i {
        animation: heartBeat 0.6s ease;
    }

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.15);
    }
}

@media (max-width: 576px) {
    .pdetail-qty-wrapper {
        width: 100%;
    }

    .pdetail-cart-btn {
        font-size: 14px;
        padding: 12px 20px;
    }
}

.pdetail-qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .pdetail-qty-wrapper:focus-within {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }

.pdetail-qty-btn {
    background: #f8f9fa;
    border: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .pdetail-qty-btn:hover {
        background: #e9ecef;
        color: #0d6efd;
    }

    .pdetail-qty-btn:active {
        transform: scale(0.95);
    }

.pdetail-qty-minus {
    border-right: 1px solid #e0e0e0;
}

.pdetail-qty-plus {
    border-left: 1px solid #e0e0e0;
}

.pdetail-qty-input {
    width: 80px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    height: 48px;
    outline: none;
    -moz-appearance: textfield;
}

    .pdetail-qty-input::-webkit-outer-spin-button,
    .pdetail-qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.pdetail-cart-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
    white-space: nowrap;
}

    .pdetail-cart-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }

    .pdetail-cart-btn:active {
        transform: translateY(0);
    }

.pdetail-fav-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .pdetail-fav-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    }

    .pdetail-fav-btn i {
        transition: all 0.3s ease;
    }

    .pdetail-fav-btn:hover i {
        animation: heartBeat 0.6s ease;
    }

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.15);
    }
}

@media (max-width: 768px) {
    .pdetail-cart-btn {
        font-size: 14px;
        padding: 12px 24px;
    }

    .pdetail-qty-input {
        width: 60px;
        font-size: 16px;
    }

    .pdetail-qty-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.nav-tabs-scrollable-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: -1px;
}

.nav.nav-tabs {
    flex-wrap: nowrap;
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-item {
    flex-shrink: 0;
}

.nav-tabs .nav-link {
    white-space: nowrap;
    padding: 12px 16px;
}

.nav-tabs-scrollable-wrapper::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
}

.nav-tabs-scrollable-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
