     @font-face{
     font-family:YekanBakh;
     src:url("../../pwa/assets/font/IRANYekanX-Medium.eot");
     src:url("../../pwa/assets/font/IRANYekanX-Medium.eot?#iefix") format("embedded-opentype"), 
     url("../../pwa/assets/font/IRANYekanX-Medium.woff") format("woff"), 
     url("../../pwa/assets/font/IRANYekanX-Medium.TTF") format("truetype");
     font-display:swap;
     }
     html {
     user-select: none;
     -webkit-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     overflow-x: hidden;
     background-color: #f9fafc;
     font-size: 0.9rem;
      }
        body {
            font-family: 'YekanBakh', sans-serif;
            margin: 0;
            padding: 0;
            min-height: 100vh;
        }
        #map-container {
            width: 100%;
            height: 60vh;
            position: relative;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            top:-20px;
            margin-bottom:-45px;
        }
        #map {
            height: 100%;
            width: 100%;
            z-index: 0;
        }
        .main-container {
        max-width: 1536px;
        margin: 0 auto;
        width: 100%;
        padding: 0 1rem;
        
}

@media (min-width: 1536px) {
    .main-container {
        padding: 0;
    }
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

input[type="checkbox"]:checked {
  background-color: #4285f4;
  border-color: #4285f4;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:hover {
  border-color: #999;
}

input[type="checkbox"]:focus {
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3);
}
        .map-overlay {
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            z-index: 1000;
            pointer-events: none;
        }
        .map-overlay * {
            pointer-events: auto;
        }
        .leaflet-popup-content-wrapper {
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }
        .leaflet-popup-content {
            margin: 0;
            width: 250px !important;
        }
        .market-section {
            position: relative;
            overflow: hidden;
        }
        .market-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            z-index: 1;
        }
        .market-section-title {
            position: absolute;
            bottom: 0;
            right: 0;
            z-index: 2;
            color: white;
            padding: 1rem;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }
        .discount-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #ef4444;
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: bold;
        }
        .wishlist-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .wishlist-btn:hover {
            background: #f8fafc;
            transform: scale(1.1);
        }
        .wishlist-btn.active {
            color: #ef4444;
        }
        .price-before {
            text-decoration: line-through;
            color: #9ca3af;
        }
        .filter-section {
            transition: all 0.3s ease;
            max-height: 0;
            overflow: hidden;
        }
        .filter-section.active {
            max-height: 500px;
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }
        .rating-stars {
            direction: ltr;
        }
        .breadcrumb-item:not(:last-child)::after {
            content: '/';
            margin: 0 0.5rem;
            color: #9ca3af;
        }
        .product-gallery-thumbnail {
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }
        .product-gallery-thumbnail.active, .product-gallery-thumbnail:hover {
            border-color: #8b5cf6;
        }
        .quantity-selector button {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f3f4f6;
            border: none;
            cursor: pointer;
        }
        .quantity-selector input {
            width: 40px;
            text-align: center;
            border: none;
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
        }
        .product-detail-tabs .tab-btn {
            position: relative;
            padding-bottom: 0.5rem;
        }
        .product-detail-tabs .tab-btn::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #8b5cf6;
            transition: width 0.3s ease;
        }
        .product-detail-tabs .tab-btn.active::after {
            width: 100%;
        }
        .cart-item {
            transition: all 0.3s ease;
        }
        .cart-item:hover {
            background: #f9fafb;
        }
        .category-tabs {
            position: absolute;
            top: 30px;
            right: 20px;
            left: 20px;
            z-index: 0;
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none; 
            -ms-overflow-style: none;
        }
        .category-tabs::-webkit-scrollbar {
            display: none; 
        }
        
        .glass-panel {
            background: #ffffff;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 4px 5px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
    header.glass-panel {
    left: 0 !important;  
    right: 0 !important;
    width: 100% !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-left: env(safe-area-inset-left, 0px) !important;
    padding-right: env(safe-area-inset-right, 0px) !important;
    background-color: #ffffff !important;
    z-index: 100000 !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    isolation: isolate;
}
        .gradient-text {
            background: linear-gradient(90deg, #8b5cf6, #8b5cf6);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .gradient-bg {
            background: linear-gradient(135deg, #f97316, #f97316);
        }
        
        .business-marker {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #8b5cf6, #8b5cf6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid white;
        }
        
        .business-marker:hover {
            transform: scale(1.2);
            box-shadow: 0 0 25px rgba(249, 115, 22, 0.7);
        }
        
        .category-chip {
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
        }
        
        .category-chip:hover {
            background: linear-gradient(135deg, #8b5cf6, #f97316);
            color: white;
            border-color: transparent;
        }
        
        .product-card {
            transition: all 0.3s ease;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .floating-control {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .floating-control:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
        }
        
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #8b5cf6, #8b5cf6);
            border-radius: 10px;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-5px); }
            100% { transform: translateY(0px); }
        }
        
        .floating-card {
            animation: float 6s ease-in-out infinite;
        }
        
        .delay-1 { animation-delay: 0.2s; }
        .delay-2 { animation-delay: 0.4s; }
        .delay-3 { animation-delay: 0.6s; }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        .map-search-container {
            position: absolute;
            top: 80px;
            right: 20px;
            left: 20px;
            z-index: 0;
            padding: 0 20px;
            display: none;
        }
        
        .map-search-container .search-input {
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
            position: relative;
        }
        
        .map-search-container input {
            width: 100%;
            padding: 12px 20px;
            padding-right: 50px;
            border-radius: 30px;
            border: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            font-size: 14px;
            background: rgba(255, 255, 255, 0.95);
            transition: all 0.3s ease;
        }
        
        .map-search-container input:focus {
            outline: none;
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
        }
        
        .map-search-container .search-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #8b5cf6;
        }
        
        .map-controls-container {
            position: absolute;
            bottom: 150px;
            left: 20px;
            z-index: 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .map-controls-container button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #4b5563;
        }
        
        .map-controls-container button:hover {
            background: #f3f4f6;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        }
        
        .map-controls-container button.active {
            background: #8b5cf6;
            color: white;
        }
        
        .business-info-panel {
            position: absolute;
            top: 80px;
            bottom: 20px;
            right: 20px;
            z-index: 0;
            max-width: 400px;
            width: 90%;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transform: translateX(0);
            transition: transform 0.3s ease;
        }
        
        .business-info-panel.collapsed {
            transform: translateX(calc(100% - 50px));
        }
        
        .business-info-panel .panel-header {
            padding: 15px;
            background: white;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .business-info-panel .panel-title {
            font-weight: bold;
            font-size: 14px;
            color: #1f2937;
        }
        
        .business-info-panel .panel-close {
            background: none;
            border: none;
            color: #6b7280;
            cursor: pointer;
            font-size: 14px;
        }
        
        .business-info-panel .panel-content {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
        }
        
        .business-info-panel .business-item {
            padding: 12px;
            margin-bottom: 10px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .business-info-panel .business-item:hover {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }
        
        .business-info-panel .business-item.active {
            border-left: 3px solid #8b5cf6;
            background: #f5f3ff;
        }
        
        @media (max-width: 768px) {
            #business-list.collapsed {
                max-height: 0;
                overflow: hidden;
            }
            
            #products-panel {
                bottom: 4rem;
                top: auto;
                height: 60vh;
            }
            
            #map-container {
                height: 60vh;
            }
            
            .map-controls-container {
                bottom: 5.5rem;
            }
            
            .map-search-container {
                top: 80px;
                padding: 0 10px;
                display: block;
            }
            
            .business-info-panel {
                top: 120px;
                right: 10px;
                left: 10px;
                max-width: none;
                width: auto;
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            #business-panel {
                transform: translateY(0);
                transition: transform 0.3s ease;
            }
            
            #business-panel.collapsed {
                transform: translateY(calc(-100% + 56px)); 
            }
            
            #business-search-container.hidden {
                display: none;
            }
            
            #products-panel {
                transform: translateY(0);
                bottom: 0;
                top: auto;
                height: 60vh;
                width: 100%;
                left: 0;
                right: 0;
                border-radius: 1rem 1rem 0 0;
            }
            
            #products-panel.hidden {
                transform: translateY(100%);
            }
            
            .map-controls-container {
                bottom: 3rem;
                right: 0.5rem;
            }
            
            .category-tabs {
            top: 30px;
            }
        }

.business-marker.single i {
    color: #8b5cf6;
    font-size: 24px;
    text-shadow: 0 0 3px white;
}

.cluster-marker {
    position: relative;
    text-align: center;
}

.cluster-marker i {
    color: #8b5cf6;
    font-size: 28px;
    text-shadow: 0 0 3px white;
}

.cluster-marker .cluster-count {
    position: absolute;
    top: 5px;
    right: 10px;
    background: white;
    color: #8b5cf6;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.cluster-popup {
    max-width: 300px;
}

.cluster-popup .business-list {
    max-height: 200px;
    overflow-y: auto;
}

.cluster-popup h3 {
    font-size: 1.1rem;
}

.view-business-btn {
    transition: all 0.2s;
    display: inline-block;
}

.view-business-btn:hover {
    color: #6d28d9 !important;
    transform: translateX(-3px);
}
.user-location-marker {
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}
.user-location-marker i {
    font-size: 20px;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}
.location-marker {
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}
.location-marker i {
    font-size: 20px;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}
.back-to-list-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.back-to-list-btn:hover {
    background-color: #f3f4f6;
}

.back-to-list-btn i {
    transition: transform 0.3s;
}

.back-to-list-btn:hover i {
    transform: translateX(-3px);
}

  #snackbar {
    visibility: hidden;
    min-width: 250px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
  }

  #snackbar.success {
    background-color: #4CAF50;
    opacity: 1;
    visibility: visible;
  }

  #snackbar.error {
    background-color: #F44336;
    opacity: 1;
    visibility: visible;
  }

  @keyframes fadein {
    from {
      bottom: 0;
      opacity: 0;
    }
    to {
      bottom: 30px;
      opacity: 1;
    }
  }

  @keyframes fadeout {
    from {
      bottom: 30px;
      opacity: 1;
    }
    to {
      bottom: 0;
      opacity: 0;
    }
  }

  #snackbar.show {
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }

  #snackbar i {
    margin-left: 8px;
    font-size: 14px;
  }
.tiles {
    filter: hue-rotate(250deg) 
    brightness(1) 
    sepia(0.1)     
    contrast(100%) 
    saturate(50%);
    mix-blend-mode: hard-light;
    }
.price-tooltip {
    transition: all 0.2s ease;
    pointer-events: none;
    transform: translate(-50%, -100%);
}
 .lottie-animation {
     width: 60px;
     height: 60px;
     margin: 0 auto;
     will-change: transform, opacity;
     transform: translateZ(0);
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.animate-shine {
    animation: shine 3s infinite linear;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.animate-pulse {
    animation: pulse 2s infinite;
}
@keyframes rotate3d {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
#welcomePopup {
    display:none;
    transition: opacity 0.5s ease-in-out;
}
#welcomePopup.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ffffff33;
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #ffffff66;
}
@media (max-width: 640px) {
    #welcomePopup > div {
        padding: 0.75rem;
        max-width: 90%;
    }
    #welcomePopup h2 {
        font-size: 1rem;
        margin-top: 2.5rem; 
    }
    #welcomePopup p {
        font-size: 0.75rem;
    }
    .animate-pulse {
        width: 12rem;
        height: 12rem;
    }
    .fas.fa-bullhorn {
        font-size: 1rem;
    }
}

        .zk-slider-widget {
            width: 100%;
            height: 400px;
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            margin: 20px auto;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        .zk-slide-frame {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transform: translateX(30px) scale(0.95);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            font-weight: 300;
        }

        .zk-slide-frame.zk-active-slide {
            opacity: 1;
            transform: translateX(0) scale(1);
        }

        .zk-slide-frame:nth-child(2) {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .zk-slide-frame:nth-child(3) {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .zk-slide-frame:nth-child(4) {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        }

        .zk-slide-frame:nth-child(5) {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        }

        .zk-nav-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: none;
            color: white;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            z-index: 100;
            opacity: 0;
            outline: none;
        }

        .zk-slider-widget:hover .zk-nav-control {
            opacity: 1;
        }

        .zk-nav-control:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-50%) scale(1.05);
        }

        .zk-nav-control:active {
            transform: translateY(-50%) scale(0.95);
        }

        .zk-prev-control {
            left: 16px;
        }

        .zk-next-control {
            right: 16px;
        }

        .zk-indicator-container {
            position: absolute;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 100;
        }

        .zk-slide-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .zk-slide-indicator.zk-active-indicator {
            background: white;
            box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
        }

        .zk-slide-indicator:hover {
            transform: scale(1.2);
            background: rgba(255, 255, 255, 0.6);
        }

        .zk-progress-track {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 2px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            width: 0%;
            transition: width 0.1s linear;
            z-index: 100;
        }

        .zk-slide-info {
            position: absolute;
            top: 16px;
            right: 16px;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(8px);
            color: white;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 12px;
            z-index: 100;
            font-weight: 500;
        }

        .zk-slide-content {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease 0.2s;
            width: 100%;
        }

        .zk-active-slide .zk-slide-content {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .zk-slider-widget {
                height: 70px;
                border-radius: 12px;
            }
            
            .zk-slide-frame {
                font-size: 1rem;
            }
            
            .zk-nav-control {
                width: 36px;
                height: 36px;
                font-size: 14px;
            }
        }
        
        .category-chip:hover {
    background-color: #8b5cf6 !important;
    color: white !important;
}

.category-chip.active {
    background-color: #8b5cf6 !important;
    color: white !important;
}

.market-card:hover .market-overlay {
    opacity: 1;
}

.market-overlay {
    opacity: 0;
    transition: all 0.3s ease;
}

.special-badge {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.filter-active {
    background-color: #8b5cf6 !important;
    color: white !important;
}

.store-card {
    transition: all 0.3s ease;
}

.store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-filter.active {
    background-color: #8b5cf6 !important;
    color: white !important;
}

.category-filter.active .w-8 {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.ad-banner-container, .premium-ad-container {
    position: relative;
    height: 170px; 
    overflow: hidden; 
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
}
.premium-ad-container {
    height: 250px;
}

.ad-banner-slider, .premium-ad-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.ad-banner, .premium-ad {
    display: none; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; 
    box-sizing: border-box; 
}

.ad-banner.active, .premium-ad.active {
    display: block;
    opacity: 1;
}

.ad-dot, .premium-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-dot.active, .premium-dot.active {
    background-color: #8b5cf6 !important;
    transform: scale(1.2);
}

.ad-dot:hover, .premium-dot:hover {
    background-color: #a78bfa !important; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .premium-ad {
        padding: 1rem !important; 
    }
    
    .premium-ad .h-40 {
        height: 8rem !important; 
    }
    
    .ad-banner .h-32 {
        height: 6rem !important; 
    }
}

.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}