@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
* {
    box-sizing: border-box;
    font-family: "Inter", serif;
}

a{
    text-decoration: none;
    color: inherit;
}

p, h1, h2, h3, h4, h5, h6{
    margin: 0;
}

body {
    width: 100%;
    min-width: 370px;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #fff;
}
/*Yellow: e59e34*/
/*Black: 21140e*/

.heading_title{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.heading_title h2{
    min-width: fit-content;
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.heading_title h2 span{
    flex-grow: 1;
    border-top: 1px solid #ccc;
}

.heading_title p{
    font-size: 16px;
}

@media(max-width: 768px){
    .heading_title h2{
        font-size: 18px;
    }

    .heading_title p {
        font-size: 12px;
    }
}

.header {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.header_top{
    padding: 10px 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    color: #e59e34;
    font-size: 12px;
    font-weight: bold;
}

.header_top .phone_number{
    background: #e59e34;
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
}
@media(max-width: 768px){
    .header_top{
        flex-direction: column;
    }

    .header_top .notify_promotion{
        margin-bottom: 5px;
        font-size: 16px;
    }
}
.header_bottom{
    padding: 10px 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    gap: 50px;
}

.header_bottom .logo_container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header_bottom .logo_container img{
    width: 80px;
}
.header_bottom .logo_container .title p{
    font-size: 12px;
    margin: 0;
    font-weight: bold;
    color: #fff;
}
.header_bottom .search{
    flex-grow: 1;
}

.header_bottom .cart{
    color: #fff;
}
.header_bottom .search, .main_menu .search{
    position: relative;
}
.icon_open_menu_mobile{
    display: none;
}
@media (max-width: 1100px) {
    .header_bottom{
        padding: 10px;
    }
    .icon_open_menu_mobile{
        font-size: 30px;
        color: #fff;
        display: block;
    }
    .header_bottom .search{
        display: none;
    }
}

.header_bottom .search input, .main_menu .search input{
    outline: none;
    border: 1px solid #e5e5e5;
    padding: 16px 32px 16px 16px;
    width: 100%;
    font-size: 16px;
    border-radius: 100px;
}

.header_bottom .search img, .main_menu .search img{
    width: 20px;
    position: absolute;
    top: 17px;
    right: 17px;
}

.header_fixed{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.header_fixed ul{
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.header_fixed ul li{
    width: 100%;
    position: relative;
}

.header_fixed ul li a{
    position: relative; /* Đảm bảo phần tử pseudo ::before sẽ căn chỉnh đúng */
    display: block;
    text-decoration: none;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: transparent;
    overflow: hidden; /* Ẩn phần background màu khi chưa hover */
    transition: color 0.3s ease; /* Chỉ chuyển đổi màu chữ */
    border-right: 1px solid rgba(255, 214, 0, 0.35);
    cursor: pointer
}

.main_menu .sub-menu{
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    flex-direction: column;
    display: none;
}

.main_menu li:hover .sub-menu{
    display: flex;
}

@media(max-width: 1100px){
    .main_menu li.active .sub-menu, .main_menu li:hover .sub-menu{
        top: 0;
        display: flex;
        position: relative!important;
    }

    .main_menu li .sub-menu li a{
        padding-left: 30px;
    }
}

.main_menu .sub-menu li a{
    background: #21140e!important;
    color: #fff!important;
}

.main_menu .sub-menu li a:hover{
    color: #21140e!important; /* Chuyển màu chữ khi hover */
    background-color: #e59e34!important;
}

.header_fixed ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #e59e34;
    z-index: -1; /* Đặt phía sau nội dung */
    transition: left 0.3s ease; /* Hiệu ứng chạy từ trái sang */
}

.header_fixed ul li:hover a, .header_fixed ul li.active a{
    color: #21140e; /* Chuyển màu chữ khi hover */
    background-color: #e59e34;
}

.header_fixed ul li:hover::before a{
    left: 0; /* Khi hover, background chạy từ trái sang phải */
}

.slider{
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.blog-slider {
    width: 90%;
    position: relative;
    background: #21140e;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    border-radius: 25px;
    height: 100%;
    margin-left: 50px;
    transition: all 0.3s;
}
.blog-slider__item {
    display: flex;
    align-items: center;
}
@media screen and (max-width: 768px) {
    .blog-slider__item {
        flex-direction: column;
    }
}
.blog-slider__item.swiper-slide-active .blog-slider__img img {
    opacity: 1;
    transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > * {
    opacity: 1;
    transform: none;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
    transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
    transition-delay: 0.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
    transition-delay: 0.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
    transition-delay: 0.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
    transition-delay: 0.7s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
    transition-delay: 0.8s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
    transition-delay: 0.9s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
    transition-delay: 1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
    transition-delay: 1.1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
    transition-delay: 1.2s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
    transition-delay: 1.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
    transition-delay: 1.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
    transition-delay: 1.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
    transition-delay: 1.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
    transition-delay: 1.7s;
}
.blog-slider__img {
    width: 600px;
    flex-shrink: 0;
    height: 600px;
    border-radius: 20px;
    transform: translateX(-80px);
    overflow: hidden;
}
.blog-slider__img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0.8;
}
.blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    border-radius: 20px;
    transition: all 0.3s;
}

.blog-slider__content {
    padding-right: 25px;
}
@media screen and (max-width: 768px) {
    .blog-slider__content {
        margin-top: -80px;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 576px) {
    .blog-slider__content {
        padding: 0;
    }
}
.blog-slider__content > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s;
}
.blog-slider__code {
    color: #fff;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}
.blog-slider__title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.blog-slider__text {
    color: #fff;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5em;
}
.blog-slider__button {
    display: inline-flex;
    background-image: linear-gradient(147deg, #000 0%, #2f2f2f 74%);
    padding: 15px 35px;
    border-radius: 50px;
    border: 3px solid #e59e34;
    color: #e59e34;
    box-shadow: 0px 14px 80px rgba(252, 190, 56, 0.4);
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
}
@media screen and (max-width: 576px) {
    .blog-slider__button {
        width: 100%;
    }

    .blog-slider__title{
        font-size: 20px;
    }

    .blog-slider__text{
        font-size: 14px;
    }
}
.blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
    bottom: 10px;
    left: 0;
    width: 100%;
}
.blog-slider__pagination {
    position: absolute;
    z-index: 21;
    right: 20px;
    width: 11px !important;
    text-align: center;
    left: auto !important;
    top: 50%!important;
    bottom: auto !important;
    transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
    .blog-slider__pagination {
        transform: translateX(-50%);
        left: 50% !important;
        top: 205px;
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 8px 0;
}
@media screen and (max-width: 768px) {
    .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 5px;
    }
}
.blog-slider__pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    display: block;
    border-radius: 10px;
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s;
}
.blog-slider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background-image: linear-gradient(147deg, #373535 0%, #fec639 74%);
    height: 30px;
    box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
}
@media screen and (max-width: 768px) {
    .blog-slider__pagination .swiper-pagination-bullet-active {
        height: 11px;
        width: 30px;
    }
}

@media screen and (max-width: 992px) {
    .blog-slider {
        width: 100%;
        margin: auto;
        max-width: 680px;
        height: 400px;
    }

    .blog-slider__img{
        width: fit-content;
        height: fit-content;
        transform: translateY(-25%);
    }

    .blog-slider__img img{
        width: 100%;
        height: 300px;
    }

    .blog-slider__title{
        font-size: 24px;
    }

    .blog-slider__content{
        font-size: 14px;
    }
}
@media screen and (max-width: 768px) {
    .blog-slider {
        min-height: 500px;
        height: auto;
        margin: 130px auto 30px auto;
    }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider {
        min-height: 350px;
    }
}

@media screen and (max-width: 1300px) {
    .blog-slider__img{
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width: 992px) {
    .blog-slider{
        height: fit-content;
    }
    .blog-slider__item{
        display: flex;
        flex-direction: column;
        padding: 30px;
    }
    .blog-slider__content{
        padding: 24px;
    }
}

@media screen and (max-width: 768px) {
    .slider{
        height: auto;
        padding: 10px;
    }
    .blog-slider__img {
        transform: translateY(-50%);
        width: 90%;
    }
    .blog-slider__pagination{
        top: calc(40%) !important;
    }
}
@media screen and (max-width: 576px) {
    .blog-slider__img {
        width: 95%;
    }
    .blog-slider__content{
        padding: 10px;
    }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider__img {
        height: 270px;
    }
}

.brand {
    width: 100%;
    max-width: 1440px;
    padding: 16px;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    overflow-x: hidden; /* Ẩn thanh cuộn ngang */
    cursor: grab; /* Hiển thị con trỏ kéo */
}
.brand:active {
    cursor: grabbing; /* Thay đổi con trỏ khi kéo */
}

.item_brand{
    width: 23%;
    min-width: 300px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    gap: 10px;
    padding: 8px 16px;
}

.item_brand img{
    width: 50px;
    height: 50px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

@media (max-width: 1068px){
    .brand{
        flex-wrap: wrap;
    }
    .item_brand{
        width: 48%;
    }
}

@media (max-width: 768px){
    .item_brand{
        width: 100%;
    }
}

.item_brand .name_brand{
    font-size: 14px;
    font-weight: bold;
}


/* General layout */
.sell_top {
    width: 100%;
    padding: 16px;
    max-width: 1440px;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    gap: 30px;
}

/* Left section */
.sell_top .left {
    width: 30%;
    min-height: 120px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid #ccc;
}

.sell_top .left h2 {
    font-size: 32px;
    color: #e59e34;
    margin: 0;
}

.sell_top .left p {
    font-size: 16px;
    color: #fff;
}

/* Right section */
.sell_top .right {
    width: 70%;
}

.list_product {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default 3 items per row */
    gap: 20px;
}

.list_product.slide_product{
    width: fit-content;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    overflow: auto;
    position: relative;
    padding-bottom: 10px;
}

.sell_top .prev-btn, .sell_top .next-btn{
    outline: none;
    padding: 8px 16px;
    margin: 10px 5px 0 0;
    font-size: 12px;
    border-radius: 3px;
    background: #fff;
    color: #21140e;
    border: 1px solid #21140e;
}

.list_product.slide_product::-webkit-scrollbar {
    display: none; /* Ẩn thanh cuộn */
}

.list_product.slide_product {
    -ms-overflow-style: none;  /* Ẩn thanh cuộn trên IE và Edge */
    scrollbar-width: none;  /* Ẩn thanh cuộn trên Firefox */
}

.card_product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    padding: 10px;
}

.list_product.slide_product .card_product{
    min-width: 30%;
    max-width: 30%;
}

button.add_to_cart, button.view{
    width: 100%;
    border-radius: 6px;
    margin-top: 5px;
    padding: 10px 16px;
    display: flex;
    gap: 3px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    border: none;
    background-image: linear-gradient(147deg, #000 0%, #565656 74%);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: ease 0.3s ease-in-out;
}

button.add_to_cart{
    background-image: linear-gradient(147deg, #21140e 40%, #e59e34 74%, #21140e 100%);
}

button.add_to_cart:hover{
    background-image: linear-gradient(147deg, #e59e34 40%, #21140e 74%, #e59e34 100%);
}

@media (max-width: 768px){
    .list_product.slide_product .card_product{
        min-width: 50%;
    }
    button.add_to_cart i, button.view i{
        display: none;
    }
    button.add_to_cart, button.view{
        padding: 8px 10px;
        font-size: 12px;
    }
}

.image_product_wrapper {
    position: relative;
    width: 100%;
    display: inline-block;
    margin-top: 10px;
}

.image_product {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 8px;
}

.image_frame{
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 100%;
}

.name_product {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.category_product {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.group_price{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 15px;
}

.price {
    font-size: 14px;
    text-decoration: line-through;
    color: #ababab;
    font-weight: bold;
}

.discount_price {
    font-size: 20px;
    line-height: 22px;
    text-decoration: none!important;
    font-weight: bold;
    color: red;
    border-radius: 4px;
}

/* Responsive design for small screens */
@media (max-width: 991px) {
    .sell_top{
        flex-direction: column;
    }
    .discount_price {
        font-size: 14px;
    }
    .sell_top .left , .sell_top .right{
        width: 100%;
    }

    .sell_top .left{
        height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sell_top .left img{
        height: 100%;
        width: auto!important;
    }
    .list_product {
        grid-template-columns: repeat(3, 1fr); /* 2 items per row */
    }

    .name_product{
        font-size: 14px;
    }

    .category_product{
        font-size: 12px;
    }

    .price{
        font-size: 12px;
    }
}

@media (max-width: 568px) {
    .list_product {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    }
}

/* Responsive design for desktop screens */
@media (min-width: 1024px) {
    .list_product_sell_top {
        grid-template-columns: repeat(3, 1fr); /* 3 items per row */
        padding: 10px;
    }
}

.grid-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1440px;
    padding: 16px;
}

.grid-item {
    position: relative;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.grid-item img:hover {
    transform: scale(1.1);
}


.grid-item h3 {
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 1.2em;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.grid-item:nth-child(1) {
    grid-column: span 2;
}

.grid-item:nth-child(3) {
    grid-row: span 2;
}

@media (max-width: 1100px) {
    .overlay{
        width: 100%;
        height: 100vh;
        position: fixed;
        background: rgba(0, 0, 0, 0.2);
        z-index: 28;
        display: none;
    }
    .header_fixed{
        width: 280px;
        position: fixed;
        height: 100vh;
        top: 0px;
        left: 0px;
        background: #21140e;
        z-index: 40;
        overflow: auto;
        display: none;
        padding-bottom: 80px;
    }
    .header_fixed input{
        border-radius: 0!important;
    }
    .header_fixed.show, .overlay.show{
        display: block;
    }

    .header_fixed ul{
        display: flex;
        flex-direction: column;
    }

    .header_fixed ul li a{
        border-right: none;
        text-align: left;
        border-bottom: 1px solid rgba(229, 158, 52, 0.47);
    }
}

@media(max-width: 768px){
    .grid-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grid-item{
        height: 120px;
    }

    .grid-item:nth-child(1) {
        grid-column: auto;
    }

    .grid-item:nth-child(3) {
        grid-row: auto;
    }
}
@media (min-width: 1100px){
    .hide-desktop{
        display: none;
    }
}

@media (max-width: 1100px){
    .hide-mobile{
        display: none;
    }
}

/* Phong cách chung cho container */
.container_blog {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
    box-sizing: border-box;
}

.container_blog img.banner{
    width: 100%;
    border-radius: 10px;
    height: 150px;
    object-fit: cover;
}

.blog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1440px;
    width: 100%;
}

/* Bài blog */
.blog_item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog_item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.blog_item:hover img {
    transform: scale(1.05);
}

.blog_title {
    font-size: 18px;
    margin: 15px 0;
    font-weight: bold;
    color: #333333;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog_author {
    font-size: 12px;
    color: #888888;
    margin-bottom: 15px;
}

.blog_description {
    font-size: 14px;
    margin-bottom: 25px;
    color: #555555;
    line-height: 1.6;
}

.blog_button {
    margin-top: 10px;
    width: fit-content;
    padding: 12px 25px;
    background-image: linear-gradient(147deg, #21140e 40%, #e59e34 74%, #21140e 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.blog_button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Responsive cho thiết bị nhỏ */
@media screen and (max-width: 768px) {
    .container_blog {
        padding: 16px;
    }

    .blog {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .blog_title {
        font-size: 1.5em;
    }

    .blog_button {
        padding: 10px 20px;
    }
}

/* Responsive cho thiết bị rất nhỏ */
@media screen and (max-width: 480px) {
    .container_blog {
        padding: 16px;
    }

    .blog {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .blog_item {
        padding: 15px;
    }

    .blog_title {
        font-size: 1.3em;
    }

    .blog_description {
        font-size: 0.9em;
    }

    .blog_button {
        padding: 8px 18px;
    }
}


.section {
    padding: 50px 0;
    text-align: center;
    background-color: #fff;
    margin-bottom: 20px;
}

.section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.section .container img{
    max-width: 200px;
}

.section p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
}

@media(max-width: 768px){
    .section p {
        font-size: 14px;
    }
}

.services-list {
    width: 100%;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
    padding: 16px;
}

.services-list li {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 10px;
    color: #555;
    justify-content: flex-start;
    align-items: center;
}

@media(max-width: 991px){
    .services-list li {
        width: 50%;
    }
}

.services-list li img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.product-item {
    background-color: #fafafa;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.product-item h3 {
    font-size: 1.5em;
    color: #333;
}

footer {
    background-color: #21140e;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 0.9em;
}

.contact_form{
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container_form{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.information{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
}

.information h2{
    font-size: 35px;
}

form {
    width: 50%;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    font-size: 1em;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #1a1a1a;
    outline: none;
}

.submit-button {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #1a1a1a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #333;
}

/*Cart*/
.cart {
    position: relative;
    cursor: pointer;
}

.cart_details {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    max-height: 400px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow-y: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    color: #000;
}

.cart:hover .cart_details {
    opacity: 1;
    visibility: visible;
}

.cart_items {
    max-height: calc(400px - 52px);
    overflow-y: auto;
    padding: 15px;
}

.cart_item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.cart_item img {
    width: 50px!important;
    height: 50px!important;
    object-fit: cover;
    margin-right: 15px;
}

.cart_item_details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cart_item_name {
    font-weight: bold;
}

.cart_item_price {
    color: #d81d27;
    font-weight: bold;
    font-size: 0.9em;
}

.cart_item_quantity{
    font-size: 12px;
}

.view_checkout {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 16px;
    background: #21140e;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 0 0 8px 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view_checkout:hover {
    background: #21140e;
}

.remove_item_button{
    padding: 4px 8px;
    font-size: 14px;
    border: none;
    outline: none;
    border-radius: 2px;
    background: #e81111;
    color: #fff;
}
