.thumbs-container {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    height: 70px; /* ensures container never collapses */
}

.thumb-img {
    width: 50px;
    height: 50px;
    object-fit: cover; /* forces proper cropping */
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.thumb-img:hover {
    border-color: #28a745; /* your boutique green */
    transform: scale(1.1); /* zoom effect */
}

.thumb-img.active {
    border-color: rgb(165, 0, 0); /* your boutique red */
    transform:scale(1.1); /* zoom effect */
    
}
.main-product-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

.main-product-img {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-product-img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}
.col-md-6:first-child {
    overflow: visible;
}
.col-md-6 {
    overflow: visible !important;
}



.subscribe-btn {
    background-color: #28a745; /* your boutique green */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.quantity-box {
    display: flex;
    align-items: center;
    
}   
.quantity-btn {
    background-color: #28a745; /* your boutique green */
    border: none;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}



.thumb-img.enlarged {
    width: 400px !important;
    height: 400px !important;
    object-fit: contain;

    position: absolute !important;   /* ⭐ removes it from flex layout */
    left: 50%;                       /* ⭐ moves it under right column */
    top: 0;                          /* ⭐ aligns with top of container */
    transform: translateX(-20%);     /* ⭐ fine‑tune centering */

    z-index: 999 !important;
    background: white;
    border: none !important;
    margin: 0 !important;
}


body{
    height:1200px;
}




.thumb-img.enlarged {
    margin-left: calc(50% + 15px); /* accounts for Bootstrap gutter */
}
.thumbs-container {
    position: relative;   /* ⭐ allows absolute children */
    height: auto;
    overflow: visible;
}







.thumbs-container {
    position: relative;
    overflow: visible;
}
.thumb-img.enlarged {
    border-color: transparent !important;
}
