.text-center {
    text-align: center !important;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 10px !important;
}

.slide {
    flex: 0 0 33.3333%;
    text-align: center;
    scroll-snap-align: start;
    padding: 10px;
    cursor: pointer;
}

.slide img {
    width: 40px;
    height: 40px;
}

.slide p {
    margin-top: 8px;
    font-size: 14px;
}

.dots {
    display: none;
    justify-content: center;
    margin-top: 10px;
    gap: 5px;
}

.dot {
    height: 4px;
    width: 20px;
    border-radius: 4px;
    background: #ddd;
    transition: background 0.3s;
}

.dot.active {
    background: linear-gradient(to right, #8c8cf9, #9e9ef8);
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.marquee-container {
    padding: 0px !important;
    margin: 10px 0px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.marquee {
    margin: 0% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.title-home {
    padding: 5px;
    color: rgb(91, 91, 91)
}

.title-session-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-session-home>h5 {
    font-size: 17px;
    font-weight: bold;
}

.title-session-home>.links>a {
    display: flex;
    align-items: center;
    color: #1C1C1C;
}

.title-session-home>.links>a>svg {
    margin-left: 5px;
}

.columns.is-multiline {
    display: flex !important;
    flex-wrap: wrap !important;
}

.d-flex {
    display: flex;
}

.column {
    width: 50%;
    flex-basis: auto !important;
}

.grid-product-image {
    margin: 0px !important;
    padding: 0px !important;
}

.grid-product {
    padding: 0px !important;
}

.grid-products .grid-products-inner .grid-product .grid-product-image img {
    margin: 0px !important;
    max-width: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    padding: 5px;
    border-radius: 10px;
}

.grid-product-info {
    padding: 10px 10px 0px 10px;
}

.grid-products .grid-products-inner .grid-product .grid-product-info h3 {
    font-family: Roboto, sans-serif !important;
    font-weight: bold !important;
    font-size: 15px !important;
}

.prices {
    display: flex;
    justify-content: space-between;
    margin: 5px 0px 10px 0px;
}

.text-primary {
    color: #8c8cf9 !important;
}

.text-danger {
    color: #ea5252 !important;
}

.button-buynow {
    border: 1px solid #8c8cf9;
    color: #8c8cf9;
    padding: 3px !important;
    min-height: 100% !important;
    font-size: 13px;
}

.font-default {
    font-family: Roboto, sans-serif !important;
}

.font-default-b {
    font-family: Roboto, sans-serif !important;
    font-weight: bold;
}

.bell-shake {
    display: inline-block;
    animation: ring 1s infinite;
    transform-origin: top center;
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(5deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    70%,
    100% {
        transform: rotate(0);
    }
}

.d-block {
    display: block !important;
}

.w-100 {
    width: 100% !important;
}

.switcher-logo {
    height: 25px !important;
    max-height: 25px !important;
}

.my-toast-container {
    position: fixed !important;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.my-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    max-width: 250px;
    padding: 12px 16px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(100%);
    animation: my-slideIn 0.4s forwards, my-fadeOut 0.5s forwards 3.5s;
    position: relative;
    overflow: hidden;
}

.my-toast .my-icon {
    font-size: 18px;
}

.my-toast.success {
    background: #4caf50;
}

.my-toast.error {
    background: #fa4c40;
}

.my-toast.info {
    background: #2196f3;
}

.my-toast.warning {
    background: #ff9800;
}

.my-toast::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    animation: my-progress 3.5s linear forwards;
}

@keyframes my-slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes my-fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes my-progress {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

.card-body {
    padding: 1rem;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-1 {
    margin-bottom: 3px !important;
}

.mb-2 {
    margin-bottom: 7px !important;
}

.mb-3 {
    margin-bottom: 10px !important;
}

.mt-3 {
    margin-top: 10px !important;
}

.text-white {
    color: white !important;
}

.danger-card {
    border: 1px solid #ea5252 !important;
    color: #ea5252 !important;
}

.m-1 {
    margin: 3px;
}

.m-2 {
    margin: 5px;
}

.m-3 {
    margin: 10px;
}

.p-3 {
    padding: 10px !important;
}

.text-success {
    color: #45e07b !important;
}

.border-r-0 {
    border-radius: 0px !important;
}

.border-r-ok {
    border-radius: 1px !important;
}

.border-r-1 {
    border-radius: 3px !important;
}

.border-r-3 {
    border-radius: 5px !important;
}

.fs-title {
    font-size: 17px !important;
}

.fs-ok {
    font-size: 14px !important;
}

.h-100 {
    height: 100% !important;
}

.border-r-3 {
    border-radius: 3px;
}

.p-1 {
    padding: 5px !important;
}

.ManhDev-box-chat {
    border: 1px solid #e5e5e5 !important;
    border-radius: 3px;
}

.title-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
    white-space: normal;
}

.title-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
    white-space: normal;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.pt-4 {
    padding-top: 25px !important;
}

.pb-4 {
    padding-bottom: 25px !important;
}

.me-2 {
    margin-right: 5px;
}

.img-product-view {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.img-product-view>span {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #ea5252;
    color: white;
    padding: 3px 5px;
    border-radius: 3px;
}

.img-product-view>img {
    transition: transform 0.3s ease;
}

.img-product-view>img:hover {
    transform: scale(1.2);
}

.main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
}

.main-image .prev,
.main-image .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

.main-image .prev {
    left: 10px;
}

.main-image .next {
    right: 10px;
}

.thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px;
    -webkit-overflow-scrolling: touch;
}

.thumbnails img {
    max-height: 80px;
    height: auto;
    width: auto;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 0px;
}

.thumbnails img:hover,
.thumbnails img.active {
    border: 2px solid #8c8cf9;
}

.list-default {
    border: 1px solid #ededed !important;
    box-shadow: -1px 3px 10px 0 rgba(0, 0, 0, .06) !important;
    border-radius: 0px !important;
}

.text-info {
    color: #2196f3;
}

.border-none {
    border: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

.text-dark {
    color: black !important;
}

.text-gray {
    color: #999 !important;
}

.text-end {
    text-align: end !important;
}

@media (min-width: 769px) {
    .slide {
        flex: 0 0 auto;
        width: 120px;
    }

    .dots {
        display: none;
    }

    .slide img {
        width: 35px;
        height: 35px;
    }

    .navbar-mobile {
        display: none;
    }

    .mobile {
        display: none;
    }
}

/* Điện Thoại */
@media (max-width: 768px) {
    .dots {
        display: flex;
    }

    .navbar-menu {
        padding: 0px !important;
    }

    .navbar-start>.navbar-item {
        text-align: start !important;
    }

    .navbar-end {
        display: none;
    }

    .navbar-mobile {
        padding: 10px;
        text-align: right;
        width: 100%;
    }

    .navbar-mobile>.profile-info {
        padding: 5px;
    }

    .navbar-mobile>.profile-info>a {
        border: 1px solid #8c8cf9;
        padding: 10px;
        border-radius: 3px;
        color: #8c8cf9;
    }

    .navbar-mobile>.profile-info>a>img {
        width: 30px;
    }

    .mobile {
        display: block;
    }

    .is-3 {
        width: 100% !important;
    }

    .is-4 {
        width: 100% !important;
    }

    .is-5 {
        width: 100% !important;
    }

    .is-7 {
        width: 100% !important;
    }

    .is-8 {
        width: 100% !important;
    }

    .text-right-mobile {
        text-align: right !important;
    }

    .fs-sm-mobile {
        font-size: 13px !important;
    }
}