

/* 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; }
}


/* ======================================
   HOME – Today's Deal carousel image fix
   (mobile & small devices)
====================================== */
@media (max-width: 767.98px) {

    /* wrapper div er fixed height বাদ দিচ্ছি */
    .aiz-carousel.arrow-x-0.arrow-inactive-none .image-hover-effect {
        height: auto !important;
        width: 110px !important;      /* চাইলে 100–130px করতে পারো */
        max-width: 100%;
    }

    /* ভেতরের দুইটা image – main + hover */
    .aiz-carousel.arrow-x-0.arrow-inactive-none
    .image-hover-effect img.product-main-image,
    .aiz-carousel.arrow-x-0.arrow-inactive-none
    .image-hover-effect img.product-hover-image {

        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;   /* আর crop করবে না, পুরো ছবি দেখাবে */
    }

    /* যদি পুরোনো h-80px ইমেজে লেগে থাকে, mobile এ neutral করে দিচ্ছি */
    .aiz-carousel.arrow-x-0.arrow-inactive-none
    .image-hover-effect img.img-fit.h-80px,
    .aiz-carousel.arrow-x-0.arrow-inactive-none
    .image-hover-effect img.img-fit.h-lg-100px {
        height: auto !important;
    }
}


/* ==========================
   Gradient Heading Styles
   ========================== */
.section-heading-main {
    font-size: 22px;              /* চাইলে 24–26 করলেও পারো */
    font-weight: 800;
    margin: 0 0 8px;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

/* প্রথম শব্দ: কালো অংশ */
.section-heading-main .text-black-part {
    color: #111111;
    font-weight: 800;
}

/* দ্বিতীয় শব্দ: গ্রেডিয়েন্ট টেক্সট */
.section-heading-main .gradient-part {
    background: linear-gradient(90deg, #ff6a00 0%, #ffae00 30%, #ff4dd2 65%, #7b61ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}


.category-banner-wrap { text-align:center; margin-bottom:18px; }
.category-banner-img { width:100%; max-height:380px; object-fit:cover; display:block; margin:0 auto; border-radius:4px; }
@media (min-width:1200px) {
  .category-banner-img { max-height:320px; }
}
@media (max-width:767px) {
  .category-banner-img { max-height:180px; }
}


.ut-faq-ultra {
  max-width: 920px;
  margin: 80px auto 0;
  padding: 0 16px;
}

.ut-faq-heading {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}

.ut-faq-sub {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  margin: 8px 0 30px;
}

.ut-faq-item {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border: 1px solid #e5e7eb;
  transition: all 0.35s ease;
}

.ut-faq-item.active {
  border-color: #2563eb;
  box-shadow: 0 10px 30px rgba(37,99,235,0.12);
}

.ut-faq-q {
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 24px;
}

.ut-faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.ut-faq-item.active .ut-faq-q::after {
  transform: rotate(45deg);
}

.ut-faq-a {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}
