@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
}

:root {
  --primary: #ec994b;
  --white: #ffffff;
  --bg: #f5f5f5;
}

html {
  font-size: 62.5%;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background-color: #ffffff;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

@media (min-width: 1440px) {
  html {
    zoom: 1.5;
  }
}

@media (min-width: 2560px) {
  html {
    zoom: 1.7;
  }
}

@media (min-width: 3860px) {
  html {
    zoom: 2.5;
  }
}

::-webkit-scrollbar {
  width: 1.3rem;
}

::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background: #797979;
  transition: all 0.5s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: #222224;
}

::-webkit-scrollbar-track {
  background: #f9f9f9;
}

.container{
    max-width: 124rem;
    padding: 0 1rem;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.text-center{
    text-align: center;
}

.business-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(226, 226, 240, 0.95) 0%, rgba(219, 219, 220, 0.95) 50%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.business-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(74, 57, 138, 0.732) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.business-logo {
    /* width: 4rem; */
    height: 5rem;
    /* border-radius: 50%; */
    object-fit: cover;
    border: 0.5px solid var(--primary);
    box-shadow: 
        0 4px 12px rgba(236, 153, 75, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    /* padding: 10px; */
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    /* Force circular shape */
    /* aspect-ratio: 1; */
    /* min-width: 4rem;
    min-height: 4rem; */
}

.business-logo:hover {
    transform: scale(1.05);
    box-shadow: 
        0 6px 18px rgba(236, 153, 75, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.business-name {
    font-size: 1.8rem;
    color: white;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    display: none;
}

.section-heading{
    font-size: 2.2rem;
    color: var(--primary);
    padding: 1.5rem 0;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#trending{
    padding: 0;
    width: 100%;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.trending-slider{
    height: 70%;
    padding: 1.8rem 0 1.6rem 0;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.trending-slide{
    width: 37rem;
    height: 42rem;
    position: relative;
    max-width: 100%;
    border-radius: 2rem;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Smooth transition for non-active slides */
.trending-slide:not(.swiper-slide-active) {
    opacity: 0.7;
    transform: scale(0.95);
}

.trending-slide.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

@media (max-width:768px) {
    .trending-slider{
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .trending-slide{
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0;
    }
    
    .trending-slide-img img{
        width: 100%;
        height: auto !important;
        aspect-ratio: 3/4;
        object-fit: cover;
    }
}

@media (max-width:500px) {
    .trending-slider{
        max-width: 100%;
    }

    .trending-slide{
        width: 100% !important;
        height: auto !important;
        margin: 0;
    }
    .trending-slide-img img{
        width: 100%;
        height: auto !important;
        aspect-ratio: 3/4;
    }
}
.trending-slide-img{
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
}

.quick-view-btn, .wishlist-btn-slide {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.quick-view-btn {
    top: 1rem;
    left: 1rem;
    color: #3498db;
}

.quick-view-btn:hover {
    background: white;
    transform: scale(1.1);
}

.quick-view-btn ion-icon {
    font-size: 1.4rem;
}

.wishlist-btn-slide {
    top: 1rem;
    right: 1rem;
    color: #e74c3c;
}

.wishlist-btn-slide:hover {
    background: white;
    transform: scale(1.1);
}

.wishlist-btn-slide.active {
    background: #e74c3c;
    color: white;
}

.wishlist-btn-slide.active:hover {
    background: #c0392b;
}

.wishlist-btn-slide ion-icon {
    font-size: 1.4rem;
}
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    border-radius: 2rem;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.8) 45%,
        rgba(10, 10, 10, 0.55) 70%,
        rgba(10, 10, 10, 0) 100%
    );
    pointer-events: none;
}
.trending-slide-img img{
    width: 100% ;
    height: 42rem ;
    border-radius: 2rem;
    object-fit: cover;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 70%);
    transition: transform 0.3s ease;
}

/* Subtle hover effect for desktop */
@media (hover: hover) {
    .trending-slide:hover .trending-slide-img img {
        transform: scale(1.02);
    }
}

.image-counter {
    position: absolute;
    top: 1rem;
    left: 5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 10;
}
.trending-slide-content{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.product-price{
    position: absolute;
    top: 1.5rem;
    right: 5rem;
    color:var(--white);
    font-size: 1.6rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.4rem 0.8rem;
    border-radius: 0.8rem;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}
.trending-slide-content-bottom {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    right: 2rem;
    color: var(--white);
    max-width: calc(100% - 4rem);
    z-index: 10;
    padding: 1.2rem 1.4rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 1.2rem;
    backdrop-filter: blur(8px);
}

.product-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--white);
    letter-spacing: 0.3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.product-artist {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--primary);
    letter-spacing: 0.2px;
}

.product-size {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
}

.product-category {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    letter-spacing: 0.2px;
}
.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  display: none;
}

/* Lazy Loading Preloader */
.swiper-lazy-preloader {
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -2rem;
    margin-top: -2rem;
    z-index: 10;
    transform-origin: 50%;
    animation: swiper-preloader-spin 1s infinite linear;
    box-sizing: border-box;
    border: 4px solid var(--primary);
    border-radius: 50%;
    border-top-color: transparent;
}

@keyframes swiper-preloader-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Hide preloader when image is loaded */
.swiper-lazy-loaded ~ .swiper-lazy-preloader {
    display: none;
}

/* Smooth image fade-in */
.swiper-lazy {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.swiper-lazy-loaded {
    opacity: 1;
}
.trending-slider-control {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 2.5rem;
    border-radius: 5rem;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    max-width: 90%;
    width: auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
}
.swiper-button-next {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 1001;
}

.swiper-button-prev {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 1001;
}
.slider-arrow {
    background: rgba(255, 255, 255, 0.95);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0px 4px 12px rgba(18, 28, 53, 0.2));
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    z-index: 1002;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-arrow ion-icon {
    font-size: 1.8rem;
    color: #667eea;
    transition: all 0.3s ease;
}

.slider-arrow:hover ion-icon {
    color: #764ba2;
}

.slider-arrow::after {
    content: '';
}
  
.swiper-pagination {
    position: relative;
    width: auto;
    bottom: 0;
    margin: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.swiper-pagination .swiper-pagination-bullet {
    width: 0.9rem;
    height: 0.9rem;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 0.4rem !important;
    transition: all 0.3s ease;
    filter: drop-shadow(0px 2px 6px rgba(18, 28, 53, 0.2));
}

.swiper-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--white);
    width: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

/* Ultra Modern Header - 100x Better Design */
.modern-header {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a1929 100%);
    color: white;
    padding: 1rem 0 0.8rem;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 181, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.modern-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 181, 246, 0.6), transparent);
    animation: shimmer 4s ease-in-out infinite reverse;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    width: 100%;
}

.business-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.business-logo-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-logo-container:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(100, 181, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.business-logo {
    height: 3rem;
    object-fit: cover;
    padding: 0.3rem 0.8rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(100, 181, 246, 0.3));
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}

.business-logo-container:hover .business-logo {
    filter: drop-shadow(0 0 15px rgba(100, 181, 246, 0.6));
}

.business-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.business-name {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.business-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}



.search-filter-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-left: auto;
}

.wishlist-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border: none;
    border-radius: 50%;
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(255, 107, 107, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.wishlist-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(255, 107, 107, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.wishlist-btn ion-icon {
    font-size: 1.6rem;
    color: white;
}

#wishlist-count {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    border-radius: 50%;
    width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 
        0 2px 8px rgba(255, 71, 87, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

/* Loading and Error States */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40rem;
    color: var(--primary);
}

.spinner {
    width: 5rem;
    height: 5rem;
    border: 4px solid rgba(236, 153, 75, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 1.8rem;
    font-weight: 500;
}

.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50rem;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2rem;
    margin: 3rem auto;
    max-width: 60rem;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.3),
        0 10px 30px rgba(118, 75, 162, 0.2);
    position: relative;
    overflow: hidden;
}

.error-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.error-message ion-icon {
    font-size: 10rem;
    margin-bottom: 3rem;
    color: #ffffff;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: bounce 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.error-message p {
    font-size: 2.2rem;
    font-weight: 600;
    max-width: 50rem;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .error-message {
        min-height: 40rem;
        margin: 2rem 1rem;
        padding: 3rem 1.5rem;
    }
    
    .error-message ion-icon {
        font-size: 8rem;
        margin-bottom: 2rem;
    }
    
    .error-message p {
        font-size: 1.8rem;
        padding: 1.5rem;
    }
}

/* Ultra Modern Modal Styles - 100x Better */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.95) 0%, rgba(26, 26, 46, 0.95) 50%, rgba(15, 52, 96, 0.95) 100%);
    backdrop-filter: blur(15px);
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(15px);
    }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    margin: 3% auto;
    padding: 0;
    border-radius: 2.5rem;
    width: 90%;
    max-width: 120rem;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border-radius: 2.5rem 2.5rem 0 0;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

.modal-header h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    flex: 1;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
}

.close-modal {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2.6rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-image-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#modal-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-in;
}

.main-image-container:hover #modal-main-image {
    transform: scale(1.05);
}

.main-image-container:hover .image-zoom-overlay {
    opacity: 1;
}

.thumbnail-gallery {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 0.5rem;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 1rem;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

.thumbnail {
    width: 9rem;
    height: 7rem;
    border-radius: 1rem;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.thumbnail:hover {
    transform: scale(1.08);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.thumbnail.active {
    border-color: var(--primary);
    box-shadow: 
        0 6px 18px rgba(236, 153, 75, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3, .product-info h4, .product-info h5 {
    margin: 0 0 1.2rem 0;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-info h3 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.product-info h4 {
    font-size: 1.8rem;
    color: #34495e;
}

.product-info h5 {
    font-size: 1.5rem;
    color: #7f8c8d;
    font-style: italic;
}

.product-info p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #555;
    margin: 1.8rem 0;
    font-weight: 500;
}

.price-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(236, 153, 75, 0.1) 0%, rgba(236, 153, 75, 0.05) 100%);
    border-radius: 1.5rem;
    border: 1px solid rgba(236, 153, 75, 0.2);
    box-shadow: 
        0 4px 15px rgba(236, 153, 75, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.price-section h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin: 0 0 0.8rem 0;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(236, 153, 75, 0.3);
    letter-spacing: 1px;
}

#modal-gst-info {
    font-size: 1.3rem;
    color: #7f8c8d;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.action-buttons button {
    padding: 1.4rem 2.5rem;
    border: none;
    border-radius: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wishlist-btn-modal {
    background: #e74c3c;
    color: white;
}

.wishlist-btn-modal:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.wishlist-btn-modal.active {
    background: #27ae60;
}

.share-btn {
    background: #3498db;
    color: white;
}

.share-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.contact-btn {
    background: var(--primary);
    color: white;
}

.contact-btn:hover {
    background: #d68910;
    transform: translateY(-2px);
}

/* Ultra Modern Wishlist Sidebar - 100x Better */
.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: -45rem;
    width: 45rem;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a1929 100%);
    box-shadow: 
        -12px 0 40px rgba(0, 0, 0, 0.5),
        inset 1px 0 0 rgba(255, 255, 255, 0.1);
    z-index: 1500;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
}

.wishlist-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 181, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.wishlist-sidebar.open {
    right: 0 !important;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.wishlist-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

.wishlist-header h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.close-wishlist {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.close-wishlist:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
}

.wishlist-items {
    padding: 2.5rem;
    position: relative;
    z-index: 3;
}

.wishlist-actions {
    padding: 0 2.5rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 3;
}

.whatsapp-share-btn {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    border-radius: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.whatsapp-share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s;
}

.whatsapp-share-btn:hover::before {
    left: 100%;
}

.whatsapp-share-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 18px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wishlist-item {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.wishlist-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wishlist-item:hover::before {
    opacity: 1;
}

.wishlist-item:hover {
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(100, 181, 246, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.wishlist-item img {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.wishlist-item:hover img {
    border-color: rgba(100, 181, 246, 0.4);
    transform: scale(1.08);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wishlist-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wishlist-item-info h4 {
    font-size: 1.4rem;
    margin: 0 0 0.8rem 0;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.wishlist-item-info p {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.remove-wishlist {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 8px rgba(255, 71, 87, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    align-self: center;
}

.remove-wishlist:hover {
    transform: scale(1.1);
    box-shadow: 
        0 4px 12px rgba(255, 71, 87, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.wishlist-empty ion-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.wishlist-empty p {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: white;
    font-weight: 500;
}

.wishlist-empty span {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Ultra Modern Contact Footer - 100x Better */
.contact-footer {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a1929 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 100%;
    overflow-x: hidden;
    flex-shrink: 0;
}

.contact-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 181, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.contact-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 181, 246, 0.6), transparent);
    animation: shimmer 4s ease-in-out infinite reverse;
}

/* Footer Bottom Section */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 181, 246, 0.8), transparent);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.footer-powered-by {
    color: rgba(100, 181, 246, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.footer-powered-by a {
  color: rgba(100, 181, 246, 0.8);
  text-decoration: none;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.loading-content .spinner {
    margin: 0 auto 2rem;
}

.loading-content p {
    font-size: 1.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 55%; /* Slightly smaller base font for mobile */
    }
    
    body {
        min-height: 100vh;
        overflow-y: auto;
    }
    
    .container{
        height: auto;
        overflow: visible;
        padding: 0 1.5rem;
    }
    
    .modern-header {
        padding: 0.8rem 0 0.6rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .header-main {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 0.5rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .business-info {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .business-name {
        font-size: 1.3rem;
    }
    
    .business-tagline {
        font-size: 0.75rem;
    }
    
    .search-filter-section {
        justify-content: flex-end;
        gap: 0.8rem;
        margin-left: 0;
    }
    
    .wishlist-btn {
        width: 3rem;
        height: 3rem;
    }
    
    .wishlist-btn ion-icon {
        font-size: 1.6rem;
    }
    
    #wishlist-count {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.8rem;
    }
    
    /* Optimize slider for mobile */
    #trending {
        flex: 1;
        margin-top: 10%;
        padding: 0;
    }
    
    .trending-slider {
        height: auto;
        padding: 1rem 0 6rem 0;
    }
    
    .section-heading {
        font-size: 1.6rem;
        padding: 0.8rem 0;
    }
    
    /* Optimize slider controls for mobile */
    .trending-slider-control {
        padding: 0.8rem 1.5rem;
        gap: 1rem;
        max-width: 95%;
        bottom: 1.5rem;
    }
    
    .slider-arrow {
        width: 3rem;
        height: 3rem;
    }
    
    .slider-arrow ion-icon {
        font-size: 1.6rem;
    }
    
    .swiper-pagination {
        padding: 0 0.8rem;
    }
    
    .swiper-pagination .swiper-pagination-bullet {
        width: 0.7rem;
        height: 0.7rem;
        margin: 0 0.3rem !important;
    }
    
    .swiper-pagination .swiper-pagination-bullet-active {
        width: 1.5rem;
    }
    
    /* Better button sizes for touch */
    .quick-view-btn, .wishlist-btn-slide {
        width: 3rem;
        height: 3rem;
    }
    
    .quick-view-btn ion-icon,
    .wishlist-btn-slide ion-icon {
        font-size: 1.4rem;
    }
    
    .image-counter {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
    
    .product-price {
        font-size: 1.3rem;
        padding: 0.4rem 0.8rem;
        top: 1rem;
        right: 4rem;
    }
    
    .trending-slide-content-bottom {
        bottom: 1rem;
        left: 1.5rem;
        right: 1.5rem;
        max-width: calc(100% - 3rem);
        padding-bottom: 0.3rem;
    }
    
    .product-name {
        font-size: 1.3rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0.3rem;
    }
    
    .product-artist {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .product-size {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .product-category {
        font-size: 0.8rem;
    }
    
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 95vh;
        border-radius: 2rem;
    }
    
    .modal-header {
        padding: 1.5rem 2rem;
        border-radius: 2rem 2rem 0 0;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .close-modal {
        font-size: 2rem;
        padding: 0.6rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        max-height: calc(95vh - 8rem);
        overflow-y: auto;
    }
    
    .modal-gallery {
        gap: 1rem;
    }
    
    .main-image-container {
        aspect-ratio: 3/4;
        border-radius: 1rem;
    }
    
    .thumbnail-gallery {
        gap: 0.8rem;
        padding: 0.5rem 0;
    }
    
    .thumbnail {
        width: 6rem;
        height: 5rem;
        border-radius: 0.8rem;
        flex-shrink: 0;
    }
    
    .modal-details {
        gap: 1.5rem;
    }
    
    .product-info h3 {
        font-size: 1.6rem;
    }
    
    .product-info h4 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .product-info h5 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .price-section {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        border-radius: 1.2rem;
    }
    
    .price-section h2 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    #modal-gst-info {
        font-size: 1.1rem;
    }
    
    .action-buttons {
        gap: 1rem;
    }
    
    .action-buttons button {
        padding: 1.2rem 2rem;
        font-size: 1.2rem;
        border-radius: 1.2rem;
    }
    
    .action-buttons button ion-icon {
        font-size: 1.4rem;
    }
    
    .wishlist-sidebar {
        width: 100%;
        height: 85vh;
        top: 100vh;
        right: 0 !important;
        left: 0 !important;
        border-left: none;
        border-top: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 2rem 2rem 0 0;
        box-shadow: 
            0 -12px 40px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .wishlist-sidebar.open {
        top: 15vh !important;
        right: 0 !important;
    }
    
    /* Mobile-specific wishlist header adjustments */
    .wishlist-header {
        border-radius: 2rem 2rem 0 0;
        padding: 1.5rem 2rem;
    }
    
    .wishlist-header h3 {
        font-size: 1.6rem;
    }
    
    .close-wishlist {
        font-size: 1.8rem;
        padding: 0.6rem;
    }
    
    /* Mobile wishlist items adjustments */
    .wishlist-items {
        padding: 1.5rem;
    }
    
    .wishlist-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .wishlist-item img {
        width: 4rem;
        height: 4rem;
    }
    
    .wishlist-item-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .wishlist-item-info p {
        font-size: 1rem;
    }
    
    /* Mobile wishlist actions adjustments */
    .wishlist-actions {
        padding: 0 1.5rem 1.5rem;
    }
    
    .whatsapp-share-btn {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .contact-footer {
        padding: 1rem 0;
    }
    
    .footer-bottom {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .business-logo {
        height: 2.5rem;
        padding: 0.3rem 0.6rem;
    }
    
    .business-name {
        font-size: 1.2rem;
    }
    
    .business-tagline {
        font-size: 0.7rem;
    }
    
    .search-filter-section {
        gap: 0.5rem;
    }
    
    .wishlist-btn {
        width: 2.8rem;
        height: 2.8rem;
    }
    
    .wishlist-btn ion-icon {
        font-size: 1.4rem;
    }
    
    #wishlist-count {
        width: 1.4rem;
        height: 1.4rem;
        font-size: 0.7rem;
    }
    
    .trending-slider-control {
        padding: 0.6rem 1.2rem;
        gap: 0.8rem;
        bottom: 1rem;
    }
    
    .slider-arrow {
        width: 2.8rem;
        height: 2.8rem;
    }
    
    .slider-arrow ion-icon {
        font-size: 1.4rem;
    }
    
    /* Modal adjustments for very small screens */
    .modal-content {
        margin: 1% auto;
        width: 98%;
        max-height: 98vh;
        border-radius: 1.5rem;
    }
    
    .modal-header {
        padding: 1.2rem 1.5rem;
        border-radius: 1.5rem 1.5rem 0 0;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .close-modal {
        font-size: 1.8rem;
        padding: 0.5rem;
        width: 3rem;
        height: 3rem;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        max-height: calc(98vh - 7rem);
    }
    
    .thumbnail-gallery {
        gap: 0.6rem;
    }
    
    .thumbnail {
        width: 5rem;
        height: 4rem;
    }
    
    .product-info h3 {
        font-size: 1.4rem;
    }
    
    .product-info h4 {
        font-size: 1.2rem;
    }
    
    .product-info h5 {
        font-size: 1.1rem;
    }
    
    .price-section {
        padding: 1.2rem;
    }
    
    .price-section h2 {
        font-size: 2.2rem;
    }
    
    #modal-gst-info {
        font-size: 1rem;
    }
    
    .action-buttons button {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Performance Optimizations for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .swiper-lazy {
        opacity: 1;
    }
    
    .business-header::before,
    .modern-header::before,
    .modern-header::after,
    .wishlist-header::before,
    .error-message::before {
        animation: none;
    }
}

/* Hardware Acceleration for Smooth Performance */
.swiper-slide {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.modal-content,
.wishlist-sidebar {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize images for better performance */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Prevent layout shift */
.trending-slide-img img {
    content-visibility: auto;
}



