span.validation_error {
    font-size: 13px;
    color: red;
    margin-top: 5px;
    display: inline-block;
}


h3.variations_price {
    font-size: 18px;
    color: var(--color-heading);
    margin-top: 5px;
}

/* Fix mobile horizontal scroll issue - iPhone */
/* html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
} */

/* Ensure main container and rows don't overflow */
/* .container,
.container-fluid,
.row {
    max-width: 100%;
} */

/* Ensure slider and full-width sections don't overflow */
.fullwidth-slider,
.slider-wrapper,
.swiper,
.swiper-wrapper,
.swiper-slide {
    max-width: 100vw;
    /* overflow-x: hidden; */
    box-sizing: border-box;
}

@media (max-width: 767px) {
    html, body {
        /* overflow-x: hidden !important; */
        max-width: 100vw !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        /* overflow-x: hidden !important; */
        box-sizing: border-box;
    }
    
    /* Prevent horizontal scroll on all sections */
    section {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }
    
    .row {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }
}

/* Fix dashboard sidebar overlapping with sticky header in mobile view */
@media screen and (max-width: 575px) {
    .dashboard-wrapper .dashboard-sidebar {
        top: 70px !important;
        z-index: 1100 !important;
        height: calc(100vh - 70px) !important;
    }
}


/* Product page css */
.productThumb-wrapper .sliderContent img {
    max-height:745px !important;
}


/* Product listing page css */
/* Default: 315px for normal/zoom out view */
.productItem .productThumb img {
  max-width: 315px !important;
  max-height: 450px !important;
  width: 315px !important;
}

/* Medium screens - 274px */
@media (max-width: 1500px) {
  .productItem .productThumb img {
    max-width: 274px !important;
    width: 274px !important;
  }
}

.productItem {
    padding: 0px !important;
}

.grid-4 {
    gap: 40px 10px !important;
}

.product-grid[data-v-fef757ca]  {
   
    gap: 10px !important;
}

.productItem .product-content {
    margin-top: 6px !important;
 margin-bottom: 5px;
}


.productThumb-wrapper .sliderContent {
  padding: 0px !important;
}

.productItem .productThumb {
  height: auto !important;
}

/* === Responsive: Mobile View (Below 768px) === */
@media (max-width: 768px) {
  .productItem .productThumb img {
      width: 100% !important;       /* image responsive ho jaye */
      height: auto !important;       /* height auto maintain rahe */
      /* object-fit: contain !important;  */
      max-width: 370px !important;
      
  }

  /* .productThumb-wrapper .sliderContent {
      padding: 5px 10px !important;  
  } */

  .productItem {
      margin-bottom: 15px;           /* products ke beech gap ho */
  }
}



/* Deals Section - OfferEnding Layout Fix */
/* 2 products per row with banners (total 4 products) */
.deals-wrapper {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media screen and (max-width: 1199px) {
    .deals-wrapper {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media screen and (max-width: 991px) {
    .deals-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 767px) {
    .deals-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Responsive Banner Images in Deals Section */
.deals-wrapper .promo-banner {
    display: flex;
    align-items: stretch;
    grid-column: span 2 !important; /* Desktop: 4 columns grid, banner spans 2 */
}

/* Tablet: 2 columns grid, banner spans 2 (full width) */
@media screen and (max-width: 991px) {
    .deals-wrapper .promo-banner {
        grid-column: span 2 !important;
    }
}

.deals-wrapper .promo-banner .banner-thumb {
    display: block;
    width: 100%;
    height: 100%;
}

.deals-wrapper .promo-banner .banner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Desktop: Maintain proper aspect ratio */
@media screen and (min-width: 992px) {
    .deals-wrapper .promo-banner .banner-thumb img {
        min-height: 300px;
        max-height: 450px;
    }
}

/* Tablet: Medium size */
@media screen and (max-width: 991px) and (min-width: 768px) {
    .deals-wrapper .promo-banner .banner-thumb img {
        min-height: 250px;
        max-height: 350px;
    }
}

/* Mobile: Ensure images don't get too small */
@media screen and (max-width: 767px) {
    .deals-wrapper .promo-banner {
        grid-column: span 2 !important;
        min-height: 200px;
    }
    
    .deals-wrapper .promo-banner .banner-thumb {
        min-height: 200px;
    }
    
    .deals-wrapper .promo-banner .banner-thumb img {
        min-height: 200px;
        max-height: 300px;
        width: 100%;
        object-fit: cover;
    }
}

/* Small Mobile: Full width banner */
@media screen and (max-width: 479px) {
    .deals-wrapper .promo-banner {
        grid-column: span 1 !important;
        min-height: 180px;
    }
    
    .deals-wrapper .promo-banner .banner-thumb {
        min-height: 180px;
    }
    
    .deals-wrapper .promo-banner .banner-thumb img {
        min-height: 180px;
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }
}

/* Mobile view me hide karne ke liye */
@media (max-width: 768px) {
    .quickBtn {
      display: none !important;
    }
  }

/* Mobile search results - Reduce font size and show full product name */
@media (max-width: 768px) {
    .search-result-wrapper .search-result .content .title {
        font-size: 11px !important;
        line-height: 18px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow: visible !important;
        text-overflow: unset !important;
        display: -webkit-box !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        max-height: none !important;
    }
    .search-result-wrapper .search-result .thumb {
        border: none !important;
        width: auto !important;
        max-width: 120px !important;
        min-width: 60px;
    }
}
  

.search-result-wrapper .search-result .thumb {
    border: none !important;
    width: auto !important;
    min-width: 60px;
}

/* Product Detail Page - Mobile Breadcrumb Optimization */
@media (max-width: 768px) {
    /* Reduce padding and height on mobile */
    .breadcrumb-section.py-10 {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        min-height: auto !important;
    }
    
    .breadcrumb-section .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Make breadcrumb smaller and fit in one line */
    .breadcrumb-section .breadcrumb-area {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .breadcrumb-section .breadcrumb-area .list {
        gap: 2px 12px !important;
        flex-wrap: nowrap !important;
        overflow: hidden;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .breadcrumb-section .breadcrumb-area .list li {
        font-size: 12px !important;
        line-height: 16px !important;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 100px;
        margin: 0 !important;
    }
    
    /* Reduce separator spacing */
    .breadcrumb-section .breadcrumb-area .list li:not(:last-child)::after {
        right: -9px !important;
        font-size: 10px;
        top: 57% !important;
        transform: translateY(-50%);
    }
    
    /* Ensure product name truncates if too long */
    .breadcrumb-section .breadcrumb-area .list li:last-child {
        max-width: 204px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Product cards - soften labels and price in mobile view */
@media (max-width: 768px) {
    .productItem .productThumb-wrapper .badge {
        font-size: 8px !important;
        font-weight: 500 !important;
        line-height: 1.1 !important;
        padding: 2px 5px !important;
        border-radius: 3px !important;
        letter-spacing: 0 !important;
        top: 6px !important;
        left: 6px !important;
        max-width: calc(100% - 12px) !important;
        white-space: nowrap !important;
    }

    .productItem .product-content .title {
        font-size: 12px !important;
        line-height: 15px !important;
        margin-bottom: 8px !important;
    }

    .productItem .product-content .price {
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 16px !important;
        gap: 5px !important;
    }

    .productItem .product-content .price del {
       font-size: 13px !important;
        line-height: 12px !important;
    }
}

/* Product detail image countdown - bottom center and compact size */

.product-single .productThumb-wrapper .countdown .time-box {
    height: 24px !important;
    min-width: 30px !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    gap: 2px !important;
}

.product-single .productThumb-wrapper .countdown .time-box span {
    font-size: 10px !important;
    line-height: 10px !important;
}

.product-single .productThumb-wrapper .countdown .time-box::after {
    right: -7px !important;
    font-size: 12px !important;
}

