body {
    color: #000000;
}

.main-content {
    overflow: hidden;
}


/* ---------- */
/* Globals */
/* ---------- */

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.btn.btn-primary {
    background-color: var(--bs-primary);
    color: white;
    /* border-radius: 8px; */
    border: 1px solid var(--bs-primary);
}

.btn.btn-primary:hover {
    background-color: #FFFFFF;
    color: var(--bs-primary);
}


.btn.btn-primary-otop {
    background-color: var(--bs-primary-hover);
    color: white;
    border-radius: 16px;
    border: 1px solid var(--bs-primary-hover);
    transition: 0.3s;
    border-radius: 12px;
}

.btn.btn-primary-otop:hover {
    background-color: #FFFFFF;
    color: var(--bs-primary-hover);
    border-color: var(--bs-primary-hover);
}


/* ---------- */
/* Loader */
/* ---------- */

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.loader-wrapper.active {
    visibility: visible;
    opacity: 1;
}

.spinner-dots {
    position: relative;
    width: 40px;
    height: 40px;
}

.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: dot-fade 1.2s infinite ease-in-out both;
    left: 50%;
    top: 50%;
    transform-origin: 0 -30px;
}

.dot:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.dot:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.dot:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.dot:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.dot:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.dot:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.dot:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.dot:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.dot:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.dot:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.dot:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.dot:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes dot-fade {

    0%,
    39%,
    100% {
        opacity: 0.3;
        transform: scale(0.6) rotate(inherit);
    }

    40% {
        opacity: 1;
        transform: scale(1.2) rotate(inherit);
    }
}

/* ---------- */
/* Header */
/* ---------- */


/* ===== Mobile Nav Backdrop ===== */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1029;
    /* just below sticky-top header (1030) and dropdown (1050) */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    animation: backdropFadeIn 0.2s ease;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nav-backdrop.show {
    display: block;
}

.header {
    z-index: 1030;
}

.header .desktop-layout .cart-dropdown-mobile-view {
    position: absolute;
    top: 32px;
}

/* Avatar */
.avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--bs-primary);
    flex-shrink: 0;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown-desktop .dropdown-menu {
    min-width: 180px;
    position: absolute;
}
.profile-dropdown-desktop .dropdown-menu li {
    padding: 0;
}

.profile-dropdown-desktop .dropdown-item:hover {
    background-color: #f8f9fa;
}

.profile-dropdown-desktop .dropdown-item.text-danger:hover {
    background-color: #fff5f5;
}

@media (min-width: 1200px) {
    .nav-backdrop {
        display: none !important;
    }
}

@media (max-width: 1199px) {

    .header .mobile-layout,
    .header .mobile-layout .dropdown {
        position: static;
    }

    .header .mobile-layout .dropdown-menu {
        position: absolute;
        width: 100%;
        min-width: unset;
        border-radius: 16px;
    }
}

@media (max-width: 576px) {

    .header .mobile-layout,
    .header .mobile-layout .dropdown {
        position: static;
    }

    .header .mobile-layout .dropdown-menu {
        width: 100%;
        min-width: unset;
    }
}

/* ---------- */
/* AI Search */
/* ---------- */

.ai-search-section .ai-search-wrapper {
    min-height: 60px;
}

@media (min-width: 992px) {
    .ai-search-section .ai-search-wrapper {
        min-width: 820px;
    }
}

.ai-search-section .ai-search-wrapper .form-control::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 60%;
    background-color: #B6B8BA;
}

.ai-search-section .ai-search-wrapper .form-control {
    min-height: 60px;
    border-left: 0;
    border-right: 0;
    position: relative;
}

.ai-search-section .ai-search-wrapper .form-control:focus,
.ai-search-section .ai-search-wrapper .form-control:active,
.ai-search-section .ai-search-wrapper .form-control:hover {
    box-shadow: none;
    border: 1px solid #ced4da;
    border-left: 0;
    border-right: 0;
}

.ai-search-section .ai-search-wrapper .btn-search-products {
    border: none;
    background: transparent;
    margin-right: 20px;
}


.ai-search-section .ai-search-wrapper .btn {
    z-index: 4;
}

.ai-search-section .ai-search-wrapper .btn-category::after {
    display: inline-block;
    content: "\F282";
    font-size: 16px;
    font-family: 'bootstrap-icons';
    border: 0;
}

.ai-search-section .ai-search-wrapper .btn-category.show::after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.ai-search-section .ai-search-wrapper .dropdown {
    position: static;
}

.ai-search-section .ai-search-wrapper .category-mega-menu {
    width: 100%;
    min-width: 320px;
    margin-top: 10px !important;
    border-radius: 16px;
}

.ai-search-section .ai-search-wrapper .category-mega-menu .category-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 20px;
    padding: 10px;
}

.ai-search-section .ai-search-wrapper .category-mega-menu .category-grid .category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    color: var(--title-secondary-color);
}

.ai-search-section .ai-search-wrapper .category-mega-menu .category-grid .category-item:hover {
    color: var(--title-primary-color);
}

.ai-search-section .ai-search-wrapper .category-mega-menu .category-grid img {
    width: 40px;
    height: 40px;
}

.ai-search-section .category-tag,
.ai-search-section .summary-tag {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    font-size: 14px;
    color: #43615F;
    cursor: default;
}

.ai-search-section .category-tag .remove-tag {
    cursor: pointer;
    margin-right: 8px;
    font-weight: bold;
    color: #43615F;
}

.ai-search-section .ai-search-wrapper .btn-category {
    background-color: #fff;
    color: var(--bs-primary);
    border: 1px solid #ced4da;
    border-right: 0;
    height: 100%;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.ai-search-section .ai-search-wrapper .btn-ai-search-wrapper {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-left: 0;
}

.ai-search-section .ai-search-wrapper .btn-ai-search-wrapper .btn-ai-search {
    border-radius: 12px !important;
}

.ai-search-section .btn-ai-search.btn:hover svg path,
.ai-search-section .btn-ai-search.btn:focus svg path {
    fill: #D98E04 !important;
}

@media (max-width: 1199px) {
    .ai-search-section .ai-search-wrapper .category-mega-menu .category-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
        padding: 10px;
    }
}


@media (max-width: 576px) {

    /* Mobile Search Bar */
    .ai-search-section .ai-search-wrapper {
        width: 100%;
    }

    .ai-search-wrapper .offcanvas {
        width: 100%;
    }

    .ai-search-section .ai-search-wrapper .offcanvas-body .input-group {
        border: 1px solid #B6B8BA;
        border-radius: 16px;
    }

    .ai-search-section .ai-search-wrapper .mobile-search .form-control {
        min-height: 40px;
        background: transparent;
    }

    .ai-search-section .ai-search-wrapper .offcanvas-body .form-control {
        min-height: 40px;
        background: transparent;
    }

    .ai-search-section .ai-search-wrapper .offcanvas-body .form-control,
    .ai-search-section .ai-search-wrapper .offcanvas-body .btn-ai-search-wrapper {
        border: none;
    }


    .ai-search-section .ai-search-wrapper .mobile-search .form-control:focus,
    .ai-search-section .ai-search-wrapper .mobile-search .form-control:active,
    .ai-search-section .ai-search-wrapper .mobile-search .form-control:hover {
        border: none;
    }

    .ai-search-section .ai-search-wrapper .offcanvas .btn-ai-search-wrapper {
        padding: 5px;
    }

    .ai-search-section .ai-search-wrapper .btn-filter-toggle {
        border-radius: 50%;
    }

    .ai-search-section .search-group-mobile {
        background: #fff;
        border: 1px solid #ced4da;
        border-radius: 50px;
        overflow: hidden;
        padding-left: 10px;
    }

    .ai-search-section .search-group-mobile .form-control {
        border: none;
        box-shadow: none;
    }

    .ai-search-section .btn-search-icon {
        background: #0D3E3E;
        color: #fff;
        border-radius: 50% !important;
        margin: 4px;
        padding: 5px 10px;
    }

    .ai-search-section .btn-filter-toggle {
        background: #0D3E3E;
        color: #fff;
        border-radius: 8px;
        height: 45px;
        width: 45px;
    }

    /* Grid หมวดหมู่ในมือถือ */
    .ai-search-section .category-grid-mobile {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding-top: 10px;
    }

    .ai-search-section .category-item-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 12px;
        color: #43615F;
        cursor: pointer;
    }

    .ai-search-section .category-item-mobile .icon-box {
        position: relative;
        width: 60px;
        height: 60px;
        margin-bottom: 5px;
    }

    .ai-search-section .category-item-mobile img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .ai-search-section .category-item-mobile.selected .remove-indicator {
        display: block;
    }

    .ai-search-section .remove-indicator {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #fff;
        color: #000;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        line-height: 16px;
        display: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .ai-search-section .ai-search-wrapper .btn-search-products {
        margin-right: 0;
    }

    .ai-search-section .ai-search-wrapper .btn-search-ai:hover,
    .ai-search-section .ai-search-wrapper .btn-search-ai:focus,
    .ai-search-section .ai-search-wrapper .btn-search-ai:active {
        border: none;
        background: var(--bs-primary);
    }
}


/* ---------- */
/* Banner */
/* ---------- */
.banner .banner-swiper {
    height: auto;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.banner .banner-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner .banner-swiper .swiper-pagination {
    position: absolute;
    right: 50px;
    left: auto;
    bottom: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: auto;
}

.banner .banner-swiper .swiper-pagination .swiper-pagination-bullet {
    background-color: var(--bs-white);
    opacity: 1;
    transform: scale(1);
    width: 31px;
    height: 16px;
    border-radius: 24px;
    margin: 0 !important;
    transition: width 0.3s ease;
}

.banner .banner-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #D98E04;
    opacity: 1;
    width: 68px;
}

/* ---------- */
/* Flash Sale */
/* ---------- */
.flash-sale-section .main-product-image img {
    max-height: 677px;
    object-fit: cover;
    width: 100%;
}

.flash-sale-section .flash-sale-header {
    font-size: 18px;
}

.flash-sale-section .time-box {
    background: #FFFFFF;
    border: 1px solid var(--bs-primary);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--title-primary-color);
    min-width: 40px;
    min-height: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flash-sale-section .category-text {
    font-size: 14px;
    color: var(--title-secondary-color);
}

.flash-sale-section .product-title {
    font-size: 2rem;
}

.flash-sale-section .product-info .btn-flash-buy {
    min-width: 200px;
    border-radius: 8px;
}

.flash-sale-section .btn-flash-buy {
    background-color: var(--bs-primary-hover);
    color: white;
    border-radius: 12px;
    border: 1px solid var(--bs-primary-hover);
    transition: 0.3s;
    width: 110px;
    padding: 4px;
}

.flash-sale-section .btn-flash-buy:hover {
    background-color: #FFFFFF;
    color: var(--bs-primary-hover);
    border-color: var(--bs-primary-hover);
}

.flash-sale-section .product-card {
    background: #F3F5EE;
    transition: transform 0.2s;
}

.flash-sale-section .product-card:hover {
    transform: translateY(-5px);
}

.flash-sale-section .product-card .card-img-top {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.flash-sale-section .product-card .badge {
    width: 40px;
    height: 20px;
    border-radius: 24px;
    top: 4px;
    right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7E2625;
}

.flash-sale-section .price-sm {
    color: #C53030;
    font-size: 15px;
}

.flash-sale-section .price-sm small {
    font-size: 11px;
}


.flash-sale-modal .modal-content {
    border-radius: 30px;
    border: none;
    padding: 20px;
}

.flash-sale-modal .flash-sale-title {
    color: #c62828;
    /* สีแดงเข้มตามรูป */
    font-weight: 600;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.flash-sale-modal .timeout-text {
    color: #c62828;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Countdown Boxes */
.flash-sale-modal .timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.flash-sale-modal .timer-box {
    width: 70px;
    height: 80px;
    border: 1px solid #d1d1d1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #b0b0b0;
    /* สีเทาเข้มแบบตัวเลข 00 */
}

.flash-sale-modal .timer-separator {
    font-size: 2rem;
    color: #d1d1d1;
    font-weight: bold;
}

/* Button Styling */
.flash-sale-modal .btn-home {
    background-color: #063d39;
    /* สีเขียวเข้ม */
    color: white;
    border-radius: 12px;
    padding: 12px 0;
    font-size: 1.2rem;
    width: 100%;
    border: none;
    margin-bottom: 10px;
}

.flash-sale-modal .btn-home:hover {
    background-color: #042b28;
    color: white;
}

.flash-sale-modal .footer-subtext {
    color: #333;
    font-size: 0.95rem;
}

.flash-sale-modal .btn-close-custom {
    float: right;
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------- */
/* Promotions */
/* ---------- */

.promotion-section .btn-filter {
    background-color: var(--bs-primary);
    color: #fff;
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 14px;
    border: none;
    transition: 0.3s;
}

.promotion-section .btn-filter:hover,
.promotion-section .btn-filter.active {
    background-color: var(--title-secondary-color);
    color: #fff;
    opacity: 0.9;
}

.promotion-section .badge-promo {
    background-color: #7E2625;
    font-weight: bold;
    font-size: 12px;
    border-radius: 24px;
    padding: 5px 8px;
}

.promotion-section .promo-card {
    transition: transform 0.2s ease-in-out;
}


.promotion-section .promo-card img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 1199px) {
    .promotion-section .card-title {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .promotion-section .card-text {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

@media (max-width: 576px) {
    .promotion-section .card-title {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .promotion-section .card-text {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

.promotion-section .promo-card:hover {
    transform: translateY(-5px);
}

.promotion-section .x-small {
    font-size: 11px;
    line-height: 1.4;
}

.promotion-section .tiny-icon {
    font-size: 10px;
}

.promotion-section .btn-cart-icon {
    background-color: var(--bs-primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--bs-primary);
}

.promotion-section .btn-cart-icon:hover {
    background-color: #FFFFFF;
    color: var(--bs-primary);
}

.promotion-section .view-more-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}


/* ---------- */
/* Brands */
/* ---------- */
.brands-section .brands-swiper {
    overflow: hidden;
}

.brands-section .brands-swiper .swiper-wrapper {
    align-items: center;
}

.brands-section .brands-swiper .icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------- */
/* Categories */
/* ---------- */

.category-section .category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 10px;
}

.category-section .category-grid .category-item {
    color: var(--title-secondary-color);
    text-align: center;
}

.category-section .category-grid .category-item img {
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
    width: auto;
    height: auto;
    max-width: 160px;
}

@media (max-width: 1199px) {
    .category-section .category-grid .category-item img {
        aspect-ratio: 1 / 1;
        margin-bottom: 10px;
        width: auto;
        height: auto;
        max-width: 100px;
    }

    .category-section .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 5px;
    }

    .category-section .category-grid.brands .icon-wrapper img {
        height: 100px;
    }

}

@media (max-width: 576px) {
    .category-section .category-grid .category-item img {
        aspect-ratio: 1 / 1;
        margin-bottom: 10px;
        width: auto;
        height: auto;
        max-width: 60px;
    }

    .category-section .category-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* Internet Explorer 10+ */
    }
}

/* ---------- */
/* OTOP Story */
/* ---------- */
.otop-video-section .main-video-card {
    height: 500px;
}

.otop-video-section .main-video-card img,
.otop-video-section .main-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.otop-video-section .main-image-card img {
    width: 278px;
    height: 222px;
    object-fit: cover;
}


@media (max-width: 768px) {
    .otop-video-section .main-video-card {
        height: 100%;
    }

    .otop-video-section .right-image-column {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .otop-video-section .right-image-column .col-12 {
        flex: 1;
        min-height: 0;
    }

    .otop-video-section .right-image-column img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


.otop-video-section .main-image-card .description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.otop-video-section .play-icon-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    transition: all 0.3s ease;
}

.otop-video-section .play-icon-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* .otop-video-section .play-icon-btn svg circle {
    animation: rotate-dashed 10s linear infinite;
    transform-origin: center;
} */

@keyframes rotate-dashed {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* ---------- */
/* Payment How To */
/* ---------- */

.payment-how-to-section i.bi-chevron-right {
    font-size: 30px;
    color: var(--title-secondary-color);
}

@media (max-width: 576px) {
    .payment-how-to-section .how-to {
        flex-direction: column;
        gap: 5px;
    }

    .payment-how-to-section i.bi-chevron-right::before {
        content: "";
        display: block;
        width: 3px;
        height: 28px;
        border-radius: 2px;
        background-color: var(--title-secondary-color);
        margin: 10px auto;
    }
}

.payment-how-to-section .step-item img {
    height: 40px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(17%) sepia(26%) saturate(1478%) hue-rotate(134deg) brightness(95%) contrast(97%);
}

.payment-how-to-section .step-item p {
    color: #0D3E3E;
    font-size: 14px;
}

.payment-how-to-section .payment-methods {
    gap: 70px;
}

@media (max-width: 768px) {
    .payment-how-to-section .payment-methods {
        gap: 18px;
    }
}


.payment-how-to-section .payment-methods img:nth-child(1) {
    max-width: 30px;
}

.payment-how-to-section .payment-methods img {
    max-width: 80px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .payment-how-to-section .payment-methods img:nth-child(1) {
        max-width: 16px;
    }

    .payment-how-to-section .payment-methods img {
        max-width: 32px;
    }
}

.payment-how-to-section .feature-card {
    background-color: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    color: var(--title-secondary-color);
    height: 100%;
}

@media (max-width: 768px) {
    .payment-how-to-section .feature-card {
        flex-direction: column;
        row-gap: 16px;
    }
}

.payment-how-to-section .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.payment-how-to-section .feature-card h6 {
    color: var(--title-secondary-color);
    font-size: 16px;
}

.payment-how-to-section .feature-card small {
    color: var(--title-secondary-color);
    font-size: 12px;
}

/* ---------- */
/* New arrival */
/* ---------- */

.new-arrival-section .main-product-img {
    border-radius: 16px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.new-arrival-section .main-product-img img {
    height: 620px;
}

@media (max-width: 992px) {
    .new-arrival-section .main-product-img img {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .new-arrival-section .main-product-img img {
        height: auto;
    }

    .new-arrival-section .main-product-img {
        border-radius: 0;
    }
}

.new-arrival-section .product-horizontal-card .product-card-img {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: relative;
    min-height: 156px;
}

.new-arrival-section .product-horizontal-card .product-card-img img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 576px) {
    .new-arrival-section .product-horizontal-card .product-card-img {
        min-height: unset;
        height: auto;
    }


    .new-arrival-section .product-horizontal-card .product-card-img img {
        object-fit: cover !important;
        min-height: unset;
        margin-bottom: 10px;
        border-radius: 12px;
    }   
}

.new-arrival-section .badge .badge-warning {
    background-color: #D98E04;
}

.new-arrival-section .product-horizontal-card .product-card-img .badge {
    position: absolute;
    top: 6px;
    right: 6px;
}

.new-arrival-section .x-small {
    font-size: 10px;
}

.new-arrival-section .tiny {
    font-size: 8px;
}

.new-arrival-section .btn-cart {
    padding: 8px 14px;
}

.new-arrival-section .btn-primary-otop {
    background-color: var(--bs-primary-hover);
    color: white;
    border-radius: 16px;
    border: 1px solid var(--bs-primary-hover);
    transition: 0.3s;
    min-width: 200px;
    border-radius: 12px;
}

.new-arrival-section .btn-primary-otop:hover {
    background-color: #FFFFFF;
    color: var(--bs-primary-hover);
    border-color: var(--bs-primary-hover);
}


/* ---------- */
/* Just for you */
/* ---------- */

.just-for-you-section .btn-filter-dark {
    background-color: var(--bs-primary);
    color: #fff;
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 14px;
    border: none;
}

.just-for-you-section .btn-filter-dark:hover,
.just-for-you-section .btn-filter-dark.active {
    background-color: var(--title-secondary-color);
    color: #fff;
}

.just-for-you-section .featured-recommend-card {
    height: 400px;
}

.just-for-you-section .featured-recommend-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.just-for-you-section .product-card-sm {
    box-shadow: none !important;
    background: transparent;
}

.just-for-you-section .product-card-sm .just-for-you-section .badge {
    background-color: #7A2E2E;
    font-size: 12px;
    font-weight: normal;
    top: 10px;
    right: 10px;
    padding: 5px 15px;
    border-radius: 50rem;
}

.just-for-you-section .swiper-slide {
    width: 278px !important;
}

.just-for-you-section .card .image-wrapper {
    width: 278px;
    height: 222px;
}

.just-for-you-section .card .image-wrapper .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.just-for-you-section .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 10px;
    padding: 6px 8px;
}

.just-for-you-section .badge.badge-red-promo {
    background-color: #7E2625;
}

.just-for-you-section .badge.badge-warning-promo {
    background-color: #D98E04;
}

.just-for-you-section .tiny {
    font-size: 9px;
}

.just-for-you-section .btn-cart {
    background-color: var(--bs-primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--bs-primary);
}

.just-for-you-section .btn-cart:hover {
    background-color: #FFFFFF;
    color: var(--bs-primary);
}

.just-for-you-section .just-for-you-swiper .swiper-wrapper {
    padding-bottom: 30px;
}

.just-for-you-section .swiper-scrollbar-container {
    width: 100%;
    position: absolute;
    bottom: 0;
    justify-content: space-between;
    z-index: 2;
}

.just-for-you-section .swiper-scrollbar-container .scrollbar-track-wrapper {
    max-width: 85%;
    margin-top: 12px;
}

.just-for-you-section .swiper-scrollbar-container .swiper-nav-buttons {
    position: relative;
    right: 12px;
}


.just-for-you-section .swiper-scrollbar {
    position: relative !important;
    width: 100% !important;
    height: 4px !important;
    background: #E5E7EB !important;
    border-radius: 10px;
}

.just-for-you-section .swiper-scrollbar-drag {
    background: var(--title-secondary-color) !important;
    height: 100% !important;
    border-radius: 10px;
    z-index: 2;
}


.just-for-you-section .swiper-button-prev-custom,
.just-for-you-section .swiper-button-next-custom {
    width: 40px;
    height: 40px;
    background: var(--title-secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.just-for-you-section .swiper-button-prev-custom:hover,
.just-for-you-section .swiper-button-next-custom:hover {
    background: var(--bs-primary);
}

@media (max-width: 1199px) {
    .just-for-you-section .featured-recommend-card {
        height: 340px;
    }

    .just-for-you-section .swiper-slide {
        width: 195px !important;
    }

    .just-for-you-section .card .image-wrapper {
        width: 195px;
        height: 156px;
    }

    .just-for-you-section .product-cart-option-container .card-text {
        min-height: 35px;
    }
}

@media (max-width: 992px) {
    .just-for-you-section .swiper-scrollbar-container .scrollbar-track-wrapper {
        max-width: 75%;
    }
}

@media (max-width: 576px) {
    .just-for-you-section .swiper-slide {
        width: 146px !important;
    }

    .just-for-you-section .card .image-wrapper {
        width: 146px;
        height: 117px;
    }

    .just-for-you-section .featured-recommend-card {
        height: 320px;
        margin: 0 16px;
    }

    .just-for-you-section .swiper-scrollbar-container .scrollbar-track-wrapper {
        max-width: 65%;
    }

    .just-for-you-section .swiper-scrollbar-container {
        bottom: 0;
        right: 2px;
    }
}

/* ---------- */
/* Articles */
/* ---------- */
.inspiration-section {
    padding-left: 10rem;
    padding-right: 10rem;
}

.inspiration-section .article-swiper {
    overflow: hidden;
}

.inspiration-card {
    border-radius: 20px;
    overflow: hidden;
    height: 434px;
    width: 95% !important;
}

.inspiration-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000004D;
    z-index: 1;
}

.inspiration-card .card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.inspiration-card .card-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding-bottom: 1rem;
}

.inspiration-card .card-body,
.inspiration-card .card-footer {
    position: relative;
    z-index: 2;
}

.inspiration-card .thumbnail-img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
}

@media(max-width: 1199px) {
    .inspiration-card .thumbnail-img {
        width: 80px;
        height: 80px;
    }

    .inspiration-card {
        height: 384px;
    }

    .inspiration-section {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media(max-width: 768px) {
    .inspiration-section {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (max-width: 576px) {
    .inspiration-section {
        padding-left: 0;
        padding-right: 0;
    }

    .inspiration-card {
        height: 310px;
    }

    .inspiration-card .thumbnail-img {
        width: 60px;
        height: 60px;
    }
}

/* ---------- */
/* Manufacturer */
/* ---------- */

.manufacturer-section {
    overflow: hidden;
    background-color: var(--title-secondary-color);
}

.manufacturer-section .manufacturer-card {
    background-color: #E9EFDE;
    border-radius: 40px;
    height: 482px;
    position: relative;
    overflow: hidden;
}

.manufacturer-section .manufacturer-swiper .swiper-slide-active {
    width: 907px !important;
}

.manufacturer-section .manufacturer-swiper .swiper-slide-active .manufacturer-card {
    border-top-right-radius: 240px;
    border-bottom-right-radius: 240px;
}

.manufacturer-section .manufacturer-swiper .swiper-slide-active .manufacturer-card .infomation .content {
    margin-bottom: 8rem;
}

.manufacturer-section .manufacturer-swiper .swiper-slide:not(.swiper-slide-active) .manufacturer-card .infomation a.text-decoration-none {
    display: inline-block;
    width: 100%;
    text-align: end;
    margin-top: 45px;
}

.manufacturer-section .manufacturer-swiper .swiper-slide:not(.swiper-slide-active) .manufacturer-card .infomation {
    justify-content: center !important;
}

.manufacturer-section .manufacturer-swiper .swiper-slide:not(.swiper-slide-active) .manufacturer-card {
    width: 482px
}

.manufacturer-section .manufacturer-swiper .swiper-slide:not(.swiper-slide-active) .image-wrapper {
    display: none;
}

.manufacturer-section .circle-img {
    width: 418px;
    height: 418px;
}

.manufacturer-section .manufacturer-swiper {
    padding: 20px 0;
    overflow: visible;
}

@media (max-width: 1199px) {
    .manufacturer-section .manufacturer-swiper .swiper-slide-active {
        width: 544px !important;
    }

    .manufacturer-section .manufacturer-card {
        height: 290px;
    }

    .manufacturer-section .manufacturer-swiper .swiper-slide:not(.swiper-slide-active) .manufacturer-card {
        width: 290px;
    }

    .manufacturer-section .circle-img {
        width: 238px;
        height: 238px;
    }

    .manufacturer-section .manufacturer-swiper .swiper-slide-active .manufacturer-card .infomation .content {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .manufacturer-section .manufacturer-swiper .swiper-slide-active {
        width: 240px !important;
    }

    .manufacturer-section .manufacturer-card {
        height: 240px;
    }

    .manufacturer-section .manufacturer-swiper .swiper-slide:not(.swiper-slide-active) .manufacturer-card {
        width: 240px;
    }

    .manufacturer-section .manufacturer-swiper .swiper-slide-active .manufacturer-card {
        border-radius: 40px;
        border-top-right-radius: 240px;
        border-top-left-radius: 240px;
        height: 360px;
    }

    .manufacturer-section .circle-img {
        width: 140px;
        height: 140px;
    }

    .manufacturer-section .manufacturer-swiper .swiper-slide-active .manufacturer-card .infomation {
        text-align: center;
    }

    .manufacturer-section .manufacturer-swiper .swiper-slide-active .manufacturer-card .infomation .content {
        text-align: start;
        margin-bottom: 0;
    }
}


/* ---------- */
/* Login */
/* ---------- */
#loginModal .btn-social-container .btn,
#registerModal .btn-social-container .btn {
    width: 40px;
    height: 40px;
    background: #F3F5EE;
    border: none;
}


/* ---------- */
/* Register */
/* ---------- */
#registerModal .strength-bar {
    height: 5px;
    border-radius: 5px;
    background-color: #eee;
    transition: all 0.3s;
    width: 32%;
}


.iti--fullscreen-popup.iti--container.iti--country-search {
    z-index: 999999 !important;
}

.min-h-38 {
    min-height: 38px !important;
}