:root {
    --marron: #892E1C;
    --screen-width: 1300px;
}

.cata_section {
    background-color: #F5F5F5;
    padding: 100px 20px;
}

.cata_section_container {
    max-width: var(--screen-width);
    margin: auto;
    display: grid;
    gap: 30px;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, max(600px));
}

.cata_grid_item {
    display: flex;
}

.grid_item_image {
    width: 278px;
    height: 287px;
    overflow: hidden;
    flex-basis: 50%;
}

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

.grid_item_info {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: white;
}

.grid_item_info .subtitle {
    color: var(--marron);
    font-size: 14px;
    font-weight: 400;
}

.grid_item_info .descrip {
    color: #343340;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
}

.grid_item_info h3 {
    font-family: "Urbanist";
    font-size: 24px;
    font-weight: 600;
}

.product {
    background-color: #F5F5F5;
}

.product_container {
    max-width: 1000px;
    margin: auto;
    height: 70vh;
    background-color: white;
    position: relative;
    top: -60px;
    padding: 50px; 
}

.product_container_flex {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.product_descrip h2 {
    color: #000;
    font-family: "Urbanist";
    font-size: 24px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}

.product_descrip p {
    color: #343340;
    font-size: 12px;
    font-weight: 400;
}


.product_detail {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product_detail .subtitle {
    color: var(--marron);
    font-size: 14px;
    font-weight: 400;
}

.product_detail .descrip {
    color: #343340;
    font-size: 12px;
    font-weight: 400;
}

.product_detail h3 {
    font-family: "Urbanist";
    font-size: 32px;
    font-weight: 600;
}

.product_detail h2 {
    color: var(--marron);
    font-size: 32px;
    font-weight: 700;
}

.product_action {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


.product_quant {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #323232;
    color: #323232;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
}


.product_img {
    flex-basis: 50%;
    display: flex;
    gap: 10px;
}

.product_img_list {
    display: flex;
    gap: 10px;
    flex-direction: column;
}


.product_img_list div {
    width: 73px;
    height: 73px;
    overflow: hidden;
}

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

.product_img_main {
    /* width: 278px; */
    height: 316px;
    overflow: hidden;
}

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

.similar_product{
    max-width: var(--screen-width);
    margin: auto;
}

.similar_product h2{
    color: #343340;
    font-family: "Urbanist";
    font-size: 32px;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}


@media screen and (max-width:800px) {
    
    .cata_grid_item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .grid_item_info {
        width: 278px;
    }

    .cata_section_container {
        grid-template-columns: repeat(auto-fill, max(300px));
    }

    .product_container{
        height: 100%;
    }

    .product_container_flex {
        flex-direction: column;
    }  
    
    .product_container {
        padding: 20px; 
    }

}