/* WRAPPER */
.zaa-stl-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    position: relative;
}

/* GRID */
.zaa-stl-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* PRODUCT CARD */
.zaa-item {
    position: relative;
    text-align: center;
    font-family: inherit;
    margin-bottom: 30px;
}

.zaa-img-wrap {
    position: relative;
}

.zaa-img-wrap img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
}

/* CHECKBOX ON IMAGE */
.zaa-check {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    transform: scale(1.3);
}

/* NAME */
.zaa-name {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}

/* VARIATION BUTTONS */
.zaa-vars {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: auto;
    position: absolute;
    bottom: 18%;
    width: 100%;
    text-align: center;
    flex-wrap: wrap;
}

.zaa-var-btn {
    padding: 0px 14px;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    margin: 0px;
}

.zaa-var-btn.active {
    background: #000;
    color: #fff;
}

/* PRICE */
.zaa-price {
    margin-top: 5px;
    font-size: 18px;
    font-weight: 700;
}

/* PLUS SIGNS BETWEEN GRID ITEMS */
.zaa-item:nth-child(n+2)::before {
    content: "+";
    position: absolute;
    left: -44px;
    top: 39%;
    transform: translateY(-50%);
    font-size: 40px;
    background: #fffffff0;
    padding: 0px 20px;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 20em;
    color: #000;
}

/* SIDEBAR SUMMARY */
.zaa-summary {
    width: 280px;
    flex-shrink: 0;
    border-left: 1px solid #eee;
    padding-left: 30px;
}

.zaa-summary h3 {
    font-size: 20px;
    font-weight: 700;
}

.zaa-summary-thumbs img {
    width: 60px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 6px;
}

.zaa-total-box {
    margin-top: 14px;
}

.zaa-total-label {
    font-size: 14px;
    color: #666;
}

.zaa-total-value {
    font-size: 22px;
    font-weight: 700;
}

.zaa-installments {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.zaa-buy-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* MOBILE STICKY BUY BAR */
.zaa-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    padding: 15px;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
}

.zaa-m-total {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.zaa-m-buy {
    background: #fff;
    color: #000;
    padding: 12px 20px;
    border: none;
    font-size: 16px;
}

.zaa-disabled {
    opacity: 0.4;
    cursor: not-allowed !important;
}
.zaa-mobile{
    display: none;
}

/* CLICK ANIMATION FOR BUY LOOK BUTTON */
.zaa-buy-btn,
.zaa-m-buy {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

/* Return to normal */
.zaa-buy-btn,
.zaa-m-buy {
    transition: all 0.25s ease-in-out;
}

.zaa-buy-btn.clicked,
.zaa-m-buy.clicked {
    background-color: #899a9b !important;
    color: #fff !important;
    transform: scale(0.96);
    transition: all 0.15s ease-in-out;
}

/* ripple effect */
.zaa-buy-btn::after,
.zaa-m-buy::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.zaa-buy-btn.ripple::after,
.zaa-m-buy.ripple::after {
    animation: ripple-effect 0.5s ease-out forwards;
}

@keyframes ripple-effect {
    0% {
        transform: scale(0);
        opacity: 0.7;
        top: 50%;
        left: 50%;
    }
    100% {
        transform: scale(15);
        opacity: 0;
    }
}


@media(min-width:320px) and (max-width:568px){
    .zaa-stl-grid .zaa-item .zaa-img-wrap{
        width:35%;
        float: left;
    }
   .zaa-item{
        background: #f6f2ef;
        padding: 10px;
        margin: 0px;
        box-shadow: 2px 2px 2px #ddd;
    }
    .zaa-item:nth-child(n+2)::before{
        display: none;
    }
    .zaa-item .zaa-name {
        padding-left: 12px;
        text-align: left;
    }
    .zaa-item .zaa-price{
         padding-left: 12px;
      text-align: left;
    }
     .zaa-desktop{
        display: none;
     }
    .zaa-mobile{
        display: block;
    }
    .zaa-stl-wrapper{
        display: block !important;
    }
    .zaa-summary {
        margin-top: 4%;
        width: 100%;
    }
    .zaa-title-wrap{
        width: 60%;
        float: left;
        position: relative;
    }
    
    .zaa-vars {
        justify-content: flex-start;
        margin-left: 12px;
        position: relative !important;
        gap: 2px;
        margin-top: 10px;
    }
    .zaa-item .zaa-name{
        float: none;
    }
    .zaa-price{
        float: none;
    }

}

