/* Reset default box-sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* GRID LAYOUT FOR CATEGORY PAGE */
.cwpp-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px 40px;
}

.cwpp-grid-item {
    text-align: center;
    background: #fff;
    padding: 12px;
    box-shadow: 0 0 6px rgba(0,0,0,0.08);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cwpp-grid-item:hover {
    transform: translateY(-5px);
}

.cwpp-grid-item img {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Add black background behind all product images */
.cwpp-product-image img,
.cwpp-grid-item img {
    background-color: #000;
    padding: 8px;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cwpp-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cwpp-grid-wrapper {
        grid-template-columns: 1fr;
    }
    .cwpp-product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding:0px !important;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}
}

/* SINGLE PRODUCT PAGE STRUCTURE */
.cwpp-product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.cwpp-product-image {
    flex: 1 1 500px;
    text-align: center;
}

.cwpp-product-details {
    flex: 1 1 500px;
    padding: 10px;
}

.cwpp-product-description {
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.6;
}

.cwpp-whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cwpp-whatsapp-button:hover {
    background-color: #1DA851;
}


.menu_cta {
background-color: #ff6900;
color: #fff;
padding: 0 !important;
border-radius: 30px;
border: solid 2px #fff;
transition: 0.3s;
}

.menu_cta a {
color: #fff !important;
padding: 15px 15px 15px 15px !important;
}

.mfp-title {
    margin-top: -50px;
}

.cwpp-gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.cwpp-gallery-scroll img {
    max-height: 400px;
    border-radius: 8px;
    scroll-snap-align: start;
    flex-shrink: 0;
}
