* {
    font-family: "Nunito", sans-serif;
}

body {
    --heading-font: "Inter", sans-serif;
    --bs-link-color: #333;
    --bs-link-hover-color: #333;

    --bs-link-color-rgb: 40, 40, 40;
    --bs-link-hover-color-rgb: 0, 0, 0;
    --bs-light-rgb: 248, 248, 248;

    --bs-font-sans-serif: "Inter", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 2;
    --bs-body-color: #747474;

    --bs-primary: #6BB252;
    --bs-primary-rgb: 107, 178, 82;

    --bs-secondary: #364127;
    --bs-secondary-rgb: 54, 65, 39;

    --bs-danger: #F95F09;
    --bs-danger-rgb: 249, 95, 9;

    --bs-success: #a3be4c;
    --bs-success-rgb: 163, 190, 76;

    --bs-primary-bg-subtle: #FFF9EB;
    --bs-success-bg-subtle: #eef5e5;

    --bs-border-color: #F7F7F7;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #f7a422;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #d3d7dd;
    --bs-btn-disabled-border-color: transparent;
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ffc107;
    --bs-btn-hover-border-color: #ffc107;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ffc107;
    --bs-btn-active-border-color: #ffc107;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff3cd;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #fff3cd;
    --bs-gradient: none;
}

.btn-outline-light {
    --bs-btn-color: #747474;
    --bs-btn-border-color: #EFEFEF;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #EFEFEF;
    --bs-btn-hover-border-color: #EFEFEF;
    --bs-btn-focus-shadow-rgb: 248, 249, 250;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #EFEFEF;
    --bs-btn-active-border-color: #EFEFEF;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #EFEFEF;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #EFEFEF;
    --bs-gradient: none;
}

.btn-warning {
    --bs-btn-color: #747474;
    --bs-btn-bg: #FCF7EB;
    --bs-btn-border-color: #FCF7EB;
    --bs-btn-hover-color: #747474;
    --bs-btn-hover-bg: #FFECBE;
    --bs-btn-hover-border-color: #FFECBE;
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #FFECBE;
    --bs-btn-active-border-color: #FFECBE;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #FCF7EB;
    --bs-btn-disabled-border-color: #FCF7EB;
}

.btn-success {
    --bs-btn-color: #222;
    --bs-btn-bg: #EEF5E4;
    --bs-btn-border-color: #EEF5E4;
    --bs-btn-hover-color: #222;
    --bs-btn-hover-bg: #9de3c2;
    --bs-btn-hover-border-color: #9de3c2;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #222;
    --bs-btn-active-bg: #9de3c2;
    --bs-btn-active-border-color: #9de3c2;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #222;
    --bs-btn-disabled-bg: #EEF5E4;
    --bs-btn-disabled-border-color: #EEF5E4;
}

.btn-danger {
    --bs-btn-color: #222;
    --bs-btn-bg: #FFEADA;
    --bs-btn-border-color: #FFEADA;
    --bs-btn-hover-color: #222;
    --bs-btn-hover-bg: #ecc9af;
    --bs-btn-hover-border-color: #ecc9af;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #222;
    --bs-btn-active-bg: #ecc9af;
    --bs-btn-active-border-color: #ecc9af;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #222;
    --bs-btn-disabled-bg: #FFEADA;
    --bs-btn-disabled-border-color: #FFEADA;
}

body {
    letter-spacing: 0.03em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--bs-dark);
    font-weight: 700;
}

a {
    text-decoration: none !important;
}

/* Topbar styling */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 20px;
}

.topbar .hotline, .topbar .social-links {
    display: flex;
    gap: 15px;
}

.topbar .social-links a {
    color: #333;
    font-size: 18px;
    transition: color 0.3s;
}

.topbar .social-links a:hover {
    color: #007bff;
}

/* Main navigation styling */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item .dropdown-toggle::after {
    display: none; /* Ẩn mũi tên mặc định của Bootstrap */
}

.arrow-icon {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s;
}

.nav-item.dropdown.show .arrow-icon {
    transform: rotate(180deg);
}

/* Dropdown menu styling */
.dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(-10px);
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Cart icon styling */
.cart-icon {
    position: relative;
    font-size: 20px;
    color: #333;
    /*margin-left: 20px;*/
}

.cart-icon .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff4d4d;
    color: #fff;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 12px;
}

.widget-links {
    position: fixed;
    right: 20px;
    bottom: 100px;
    transform: translateY(-50%);
    z-index: 1000;
}

.widget-links .btn {
    margin-bottom: 10px;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    transition: transform 0.3s, background-color 0.3s;
}

.widget-links a {
    display: block;
    margin: 10px 0;
}

.widget-links .btn:hover {
    transform: scale(1.1);
}

.widget-links .hotline-button {
    width: 36px;
    height: 36px;
    background-color: rgb(0, 199, 70);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(128, 255, 183, 0.7);
    -webkit-animation: tada 1.5s ease infinite;
    animation: tada 1.5s ease infinite;
}

.widget-links .hotline-button svg {
    width: 16px;
    height: 16px;
    fill: white; /* MĂ u icon tráº¯ng */
}

@keyframes tada {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        -webkit-transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg);
        transform: scale3d(0.95, 0.95, 0.95) rotate3d(0, 0, 1, -10deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
        transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: rotate3d(0, 0, 1, -10deg);
        transform: rotate3d(0, 0, 1, -10deg);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.widget-links .hotline-button:hover {
    animation: none;
    transition: transform 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item .dropdown-menu {
        position: static;
        float: none;
        padding-left: 0;
        padding-top: 0;
    }

    .dropdown-item {
        padding: 6px !important;
    }

    .widget-links {
        right: 10px;
    }

    .widget-links .btn {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }

    /* Fix cart icon badge position on mobile */
    .cart-icon .badge {
        top: -5px;
        right: -5px;
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* youtube iframe */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Giới hạn chiều rộng tối đa */
    margin: 0 auto; /* Căn giữa container */
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden; /* Đảm bảo hình ảnh không tràn ra ngoài */
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease; /* Hiệu ứng hover mượt mà */
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9); /* Đổi màu khi hover */
}

.video-iframe {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Tỉ lệ khung hình 16:9 (9 / 16 * 100) */
}

.video-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bannerSwiper {
    height: 450px;
}

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


@media (min-width: 1200px) {
    .main-bg {
        background: url("../images/main-bg.png") no-repeat;
    }

    .categories .pattern {
        margin-top: -45px;
    }
}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
    width: 38px;
    height: 38px;
    line-height: 38px;
    background: #F1F1F1;
    color: #222222;
    padding: 0;
    text-align: center;
    border-radius: 10px;
    --bs-btn-border-color: transparent;
    --bs-btn-active-bg: #ec9b22;
    --bs-btn-active-border-color: transparent;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-disabled-color: #ccc;
    --bs-btn-disabled-bg: #eaeaea;
    --bs-btn-disabled-border-color: #eaeaea
}

.swiper-prev:hover,
.swiper-next:hover {
    background: var(--bs-primary);
}

/* category carousel */
.category-carousel .category-item {
    background: #FFFFFF;
    border: 1px solid #FBFBFB;
    box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    text-align: center;
    padding: 60px 20px;
    margin: 20px 0;
    transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

.category-carousel .category-item:hover {
    transform: translate3d(0, -10px, 0);
    box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}

.category-carousel .category-item .category-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #222222;
    margin-top: 20px;
}

.category-carousel img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.categorySwiper .swiper-slide {
    text-align: center;
    /*background: #fff;*/
    display: inline-grid;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.category-item-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #282C4B;
    display: inline;
}

.categorySwiper .category-item-img {
    width: 161px;
    height: 161px;
    border-radius: 50%;
    object-fit: cover;
}

/* products-carousel */
.products-carousel .swiper, .products-carousel .swiper-container {
    overflow: visible;
}

/* product-grid */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

.product-item .button-area .quantity {
    padding: 0.5rem;
}

.product-item .button-area {
    /*display: none;*/
    /*position: absolute;*/
    text-align: center;
    background: #fff;
    width: 100%;
    /*left: 0;*/
    /*bottom: -55px;*/
    /*z-index: 1;*/
    /*box-shadow: 0px 20px 44px rgba(0, 0, 0, 0.08);*/
    /* transition: box-shadow 0.3s ease-out; */
}

.product-item {
    position: relative;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0px 0px 22px rgba(0, 0, 0, 0);
    /* transition: box-shadow 0.3s ease-out, margin 0.3s ease-out; */
}

.product-item:hover .button-area {
    display: block;
}

.product-item:hover {
    /* z-index: 1; */
    /* margin-bottom: -50px; */
    /* max-height: 500px; */
    box-shadow: 0px 0px 44px rgba(0, 0, 0, 0.08);
}

.product-item figure {
    text-align: center;
}

.product-item figure img {
    /*width: 100%;*/
    /*height: 250px;*/
    /*object-fit: contain;*/
}

.product-item .product-qty {
    width: 85px;
}

.product-item .btn-link {
    text-decoration: none;
}

.product-item #quantity {
    height: auto;
    width: 28px;
    text-align: center;
    border: none;
    margin: 0;
    padding: 0;
}

.product-item .btn-number {
    width: 26px;
    height: 26px;
    line-height: 1;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
    border-radius: 6px;
    color: #222;
    padding: 0;
}

.button-area .btn-cart {
    text-wrap: nowrap;
    height: 3.3em;
    line-height: 2em;
    width: 100%;
}

.fs-7 {
    font-size: 0.8rem !important;
}

/* post item */
.post-item .post-meta {
    font-size: 0.8rem;
    line-height: 1;
}

.post-item .post-meta svg {
    margin-right: 5px;
}

.post-title {
    font-size: 1.5rem;
}

.sidebar_title {
    font-size: 1.2rem;
}

.category-menu .submenu {
    display: none;
}

.category-menu .arrow {
    transition: transform 0.3s;
}

.category-menu .arrow.rotate {
    transform: rotate(90deg);
}

.category-menu li {
    list-style: none;
}

.category-menu .submenu {
    padding-left: 20px;
    background: none;
}

.category-menu a.active {
    color: #007bff;
    background: #f8f9fa;
    font-weight: 500;
}

.product-detail {

}

.product-detail img {
    max-height: 500px;
}

.quantity-wrapper .input-group .btn-outline-secondary, .quantity-wrapper .input-group input {
    border-color: #ced4da;
}

.quantity-wrapper .input-group .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
    color: #212529;
}

.lh-sm {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page_breadcrumb {

}

.page_breadcrumb .breadcrumb {
    margin: 0;
}

.page_breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #fff
}

.title--page {
    color: #fff;
    line-height: 50px;
    /*padding: 40px 0;*/
}

.page_breadcrumb .breadcrumb-item.active, .page_breadcrumb li a {
    color: #fff
}

/* Responsive cho các thiết bị nhỏ hơn */
@media (max-width: 768px) {
    .play-button {
        font-size: 18px; /* Giảm kích thước nút play trên thiết bị nhỏ */
        padding: 8px 16px;
    }

    .video-iframe {
        padding-top: 75%; /* Tỉ lệ khung hình phù hợp hơn cho mobile */
    }
}

@media (max-width: 480px) {
    .play-button {
        font-size: 16px; /* Kích thước nhỏ hơn cho màn hình rất nhỏ */
        padding: 6px 12px;
    }
}


/* Product card */
.product-card {
    /*width: 280px;*/
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    aspect-ratio: 2 / 3;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
}

/* Product Info */
.product-info {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    height:auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #F2AD2B;
    margin-right: 8px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.quantity-btn {
    background-color: #f5f5f5;
    border: none;
    color: #555;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 100%;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    color: #333;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: #43a047;
}

.cart-icon {
    display: inline-block;
    /*width: 16px;*/
    /*height: 16px;*/
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

/* Latest news*/
.latest-news {
    padding-bottom: 60px;
    padding-top: 45px;
    background-color: #EEFAE4;
}

@media (min-width: 1200px) {
    .latest-news {
        background-image: url('../images/sec-img-6.png'), url('../images/sec-img-5.png');
        background-repeat: no-repeat;
        background-position: left, right;
        background-size: auto, auto;
        background-color: #EEFAE4;
    }
}

.title-wrap {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    margin-bottom: 30px;
}

.latest-news .item {
    display: inline-block;
    width: 100%;
    margin-top: 30px;
}

.latest-news .news-img {
    float: left;
    margin: 20px auto auto 20px;
    position: relative;
}

.latest-news .news-img::before {
    /*border: 1px solid #efefef;*/
    /*border-radius: 10px;*/
    /*content: "";*/
    /*display: inline-block;*/
    /*height: 100%;*/
    /*left: -20px;*/
    /*position: absolute;*/
    /*top: -20px;*/
    /*width: 100%;*/
    /*z-index: -1;*/
}
.latest-news .sub-title-sm {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #9f9f9f;
}
.latest-news .news-caption .sub-title-sm {
    letter-spacing: normal;
}

.latest-news .news-caption {
    display: table-cell;
    padding:15px;
    text-align: left;
}
.home-news-brief{
    line-height: 25px;
}

.latest-news .post-title {
    font-size: 22px;
    font-weight: 700;
}
.mobile-search-toggle{
    background: none;
    border: none;
}
.blog-category{
    font-weight: bold;
    padding:5px 0;
}
.blog-title{
    font-size: 20px;
}
.blog-excerpt{
    line-height: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em;
}

     /* Fixed header styles for mobile */
@media (max-width: 991.98px) {
    .mobile-fixed-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .mobile-fixed-header.scrolling-down {
        transform: translateY(-100%);
    }

    .mobile-fixed-header.scrolling-up {
        transform: translateY(0);
    }
}
@media (max-width: 320px) {
    .add-to-cart-btn span {
        display: none;
    }
}
@media (max-width: 375px) {
    .add-to-cart-btn span {
        display: none;
    }
}
@media (min-width: 320px) and (max-width: 768px)  {
    .title--page{
        font-size: 24px !important;
    }
    .product-card .product-title {
        font-size: 16px !important;
    }
}
@media (max-width: 767px) {
    .home-news-brief {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
    }
    .product-card{
        margin:0;
    }
    .product-card .product-image{
        height:200px;
    }
    .bannerSwiper{
        height: 300px;
    }
    .swiper-button-next, .swiper-button-prev{
        display: none !important;
    }
    .product-media > .prod-img{
        width: 160px !important;
        height: 160px !important;
    }
    .product-title{
        font-size: 18px !important;
    }
    .main-mobile-padding{
        padding-top: 6rem !important;
    }
}
