/* Wrapper */
.iwcg-wrapper {
    max-width: 1200px;
    margin: auto;
}

/* Tabs */
.iwcg-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.iwcg-tabs button {
    padding: 10px 18px;
    border-radius: 20px;
    background: #6a0dad;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.iwcg-tabs button.active {
    background: #ff4a4a;
}

/* Grid */
.iwcg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card */
.iwcg-card {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 8px #0000000f;
    overflow: hidden;
    transition: all .3s;
    z-index: 99;
}
.iwcg-card:hover .iwcg-image img{
    /*transform: scale(1.1);*/
    filter: brightness(0.9);
    transition: all .3s;
}
/* Image */
.iwcg-image img {
    max-width: 100%;
    border-radius: 10px !important;
    transition: all .3s;
}

/* Title */
.iwcg-title {
    font-size: 18px;
    margin: 10px 0;
}

/* Price */
.iwcg-price {
    font-weight: 600;
    margin-bottom: 12px;
}

/* Cart */
.iwcg-cart {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

/* Qty */
.iwcg-qty {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 15px;
    overflow: clip;
    gap: 1px;
}

.iwcg-qty button {
    width: 30%;
    border: none;
    background: #f5f5f5;
}

.iwcg-qty input {
    width: 40%;
    border: none;
    text-align: center;
}

/* Button */
.iwcg-add {
    background: #6a0dad;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
}
button.minus, button.plus{
    font-size: unset !important;
    font-weight: unset !important;
    padding: unset !important;
    line-height: unset !important;
    letter-spacing: unset !important;
    font-family: unset !important;
    position: unset !important;
    display: unset !important;
    cursor: unset !important;
    border-radius: unset !important;
    border: unset !important;
    height: unset !important;
    text-align: unset !important;
    justify-content: unset !important;
    position: unset !important;
    z-index: unset !important;
    overflow: unset !important;
}

/*Responsive CSS*/
/* ================================
   TABLET (≤1199px)
================================ */
@media (max-width: 1199px) {

    .iwcg-wrapper {
        padding: 0 15px;
    }

    .iwcg-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .iwcg-title {
        font-size: 16px;
    }

    .iwcg-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .iwcg-tabs button {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* ================================
   MOBILE (≤767px)
================================ */
@media (max-width: 767px) {

    /* Tabs: horizontal scroll */
    .iwcg-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .iwcg-tabs::-webkit-scrollbar {
        display: none;
    }

    .iwcg-tabs button {
        flex: 0 0 auto;
        font-size: 13px;
        padding: 8px 14px;
    }

    /* Grid */
    .iwcg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Card */
    .iwcg-card {
        padding: 8px;
    }

    /* Image */
    .iwcg-image img {
        border-radius: 8px !important;
    }

    /* Title */
    .iwcg-title {
        font-size: 14px;
        margin: 8px 0;
        line-height: 1.3;
    }

    /* Price */
    .iwcg-price {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* Cart */
    .iwcg-cart {
        gap: 8px;
    }

    /* Quantity */
    .iwcg-qty {
        border-radius: 12px;
    }

    .iwcg-qty button {
        width: 30%;
        font-size: 14px;
    }

    .iwcg-qty input {
        width: 40%;
        font-size: 14px;
    }

    /* Add to cart */
    .iwcg-add {
        width: 100%;
        padding: 10px 0;
        font-size: 14px;
    }
}

/* ================================
   SMALL MOBILE (≤480px)
================================ */
@media (max-width: 480px) {

    .iwcg-grid {
        gap: 12px;
    }

    .iwcg-title {
        font-size: 13px;
    }

    .iwcg-add {
        font-size: 13px;
        border-radius: 16px;
    }
}
