

/* Product Image Hover */

.image-hover-effect {
    position: relative;
    overflow: hidden;
}
.product-hover-image {
    top: 0;
    left: 0;
    opacity: 0; 
    transition: opacity 0.6s ease-in-out;
}

.image-hover-effect:hover .product-hover-image {
    opacity: 1; 
}

.live-circle-icon {
    animation: blink-1p5 1.5s infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes blink-1p5 {
    0%   { opacity: 1; }   
    50%  { opacity: 0.5; }   
    100% { opacity: 1; }  
}

  /* Respect reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    .blink { animation: none; }
  }

.product-details-page .add-to-cart {
  transition: transform 0.3s ease-in-out;
}

.product-details-page .add-to-cart:hover {
  transform: scale(1.02, 1.1);
}

/* Image Gallery Viewer */


.img-zoom {
   cursor:grab;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left:0; top:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
    overflow: auto;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    top: 50%;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.lightbox-toolbar button {
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    border-radius: 5px;
}
.lightbox-close { font-size: 22px; background: rgba(0,0,0,0.7);}


.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: rgb(0 0 0 / 25%);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1100;
    transition: background 0.3s ease;
}
.lightbox-arrow:hover {
    background: rgba(0,0,0,0.8);
}
.lightbox-arrow.prev { left: 20px; }
.lightbox-arrow.next { right: 20px; }

.lightbox-toolbar {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* left + right */
    align-items: center;
    padding: 0 15px;
    z-index: 1100;
}

.toolbar-left {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.toolbar-right button {
    margin-left: 4px;
    font-size: 18px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.toolbar-right button:hover {
    background: rgba(0,0,0,0.8);
}


.lightbox-modal img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
   
    max-width: 90% !important;
    max-height: 80% !important;
    margin: 0 !important; 
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* Expand Icon */
.carousel-box {
    position: relative; 
    overflow: visible;  
}

.wd-show-product-gallery-wrap {
    position: absolute;
    bottom: 40px;
    left: 10px;
    z-index: 999; 
}

.wd-show-product-gallery-wrap a {
    display: flex;
    align-items: center;
    padding: 6px ;
    background: rgba(0,0,0,0);
    color: #666666;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    width: 35px;
    transition: width 0.3s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.wd-show-product-gallery-wrap a .text {
    margin-left: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wd-show-product-gallery-wrap a:hover {
    width: 145px; 
    color: #000;
}

.wd-show-product-gallery-wrap a:hover .text {
    opacity: 1;
}

/* Custom hober effect on btn */
.custom-hov-btn:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.custom-hov-btn:active {
    transform: translateY(1px);
}

.pb-26px{
    padding-bottom: 1.625rem;
}
.py-19px{
    padding-top: 1.1875rem;
    padding-bottom: 1.1875rem;
}
.py-32px{
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.pt-32px{
    padding-top: 2rem;
}
.pb-32px{
    padding-bottom: 2rem;
}
.mb-32px{
    margin-bottom: 2rem;
}

.my-32px{
    margin-top: 2rem;
    margin-bottom: 2rem;
}
/* Extra small devices (xs) <576px */
@media (max-width: 575.98px) {
    .pb-26px { padding-bottom: 1rem !important; }
    .py-19px { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
    .py-32px { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .pt-32px { padding-top: 1rem !important; }
    .pb-32px { padding-bottom: 1rem !important; }
    .mb-32px { margin-bottom: 1rem !important; }
    .my-32px { margin-top: 1rem !important; margin-bottom: 1rem !important; }
}

/* Small devices (sm) ≥576px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .pb-26px { padding-bottom: 1.25rem !important; }
    .py-19px { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
    .py-32px { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
    .pt-32px { padding-top: 1.25rem !important; }
    .pb-32px { padding-bottom: 1.25rem !important; }
    .mb-32px { margin-bottom: 1.25rem !important; }
    .my-32px { margin-top: 1.25rem !important; margin-bottom: 1.25rem !important; }
}

/* Medium devices (md) ≥768px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .pb-26px { padding-bottom: 1.5rem !important; }
    .py-19px { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .py-32px { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .pt-32px { padding-top: 1.5rem !important; }
    .pb-32px { padding-bottom: 1.5rem !important; }
    .mb-32px { margin-bottom: 1.5rem !important; }
    .my-32px { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
}

/* Large devices (lg) ≥992px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .pb-26px { padding-bottom: 1.625rem !important; }
    .py-19px { padding-top: 1.1875rem !important; padding-bottom: 1.1875rem !important; }
    .py-32px { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
    .pt-32px { padding-top: 1.75rem !important; }
    .pb-32px { padding-bottom: 1.75rem !important; }
    .mb-32px { margin-bottom: 1.75rem !important; }
    .my-32px { margin-top: 1.75rem !important; margin-bottom: 1.75rem !important; }
}

/* Extra large devices (xl) ≥1200px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .pb-26px { padding-bottom: 1.75rem !important; }
    .py-19px { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
    .py-32px { padding-top: 1.875rem !important; padding-bottom: 1.875rem !important; }
    .pt-32px { padding-top: 1.875rem !important; }
    .pb-32px { padding-bottom: 1.875rem !important; }
    .mb-32px { margin-bottom: 1.875rem !important; }
    .my-32px { margin-top: 1.875rem !important; margin-bottom: 1.875rem !important; }
}

/* Extra extra large devices (xxl) ≥1400px */
@media (min-width: 1400px) {
    .pb-26px { padding-bottom: 1.625rem !important; }
    .py-19px { padding-top: 1.1875rem !important; padding-bottom: 1.1875rem !important; }
    .py-32px { padding-top: 2rem !important; padding-bottom: 2rem !important; } /* max 2rem */
    .pt-32px { padding-top: 2rem !important; }
    .pb-32px { padding-bottom: 2rem !important; }
    .mb-32px { margin-bottom: 2rem !important; }
    .my-32px { margin-top: 2rem !important; margin-bottom: 2rem !important; }
}
