/* Hot Deals Section Styles */
.hot-deals-coupons {
    background: #fff;
}

.hot-deals-coupons .head-area h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hot-deals-coupons .head-area p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Hot Deals Coupon Card Styles */
.hot-deals-coupons .coupons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.hot-deals-coupons .coupon-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
}

.hot-deals-coupons .coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

/* Hot Deals Image Styles */
.hot-deals-coupons .coupon-card .thumb-area {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px 0;
    overflow: hidden;
    position: relative;
}

.hot-deals-coupons .coupon-card .thumb-area img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hot-deals-coupons .coupon-card:hover .thumb-area img {
    transform: scale(1.1);
}

/* Company Logo Container */
.hot-deals-coupons .coupon-card .company-logo-container {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    margin: 8px 0;
    border: 1px solid #e9ecef;
}

/* Standardized Logo Sizes */
.hot-deals-coupons .coupon-card .thumb-area img,
.hot-deals-coupons .coupon-card .company-logo-container img,
.company-logo-section .single-box .thumb-area img,
.company-logo-section .single-box img,
.company-logo-section img,
.company-logo-small {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Logo Fallback for Missing Images */
.hot-deals-coupons .coupon-card .thumb-area img:not([src]),
.hot-deals-coupons .coupon-card .thumb-area img[src=""],
.hot-deals-coupons .coupon-card .company-logo-container img:not([src]),
.hot-deals-coupons .coupon-card .company-logo-container img[src=""],
.company-logo-section .single-box .thumb-area img:not([src]),
.company-logo-section .single-box .thumb-area img[src=""],
.company-logo-section .single-box img:not([src]),
.company-logo-section .single-box img[src=""],
.company-logo-section img:not([src]),
.company-logo-section img[src=""],
.company-logo-small:not([src]),
.company-logo-small[src=""] {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #6c757d;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Hot Deals Badge Styles */
.hot-deals-verified-badge {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    text-align: center;
}

.hot-deals-verified-badge * {
    color: white !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.hot-deals-verified-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hot-deals-verified-badge .badge-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hot-deals-verified-badge i {
    color: #fff !important;
    font-size: 0.7rem !important;
}

/* Hot Deals Stats */
.coupon-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #333 !important;
    background: #f8f9fa;
    padding: 3px 6px;
    border-radius: 8px;
    width: 100%;
}

.stat-item * {
    color: #333 !important;
}

.stat-item i {
    color: #ff6b35 !important;
    font-size: 0.6rem;
}

/* Enhanced Flash Sale Badge */
.hot-deals-coupons .flash-sale-badge .badge {
    background: linear-gradient(45deg, #dc3545, #c82333) !important;
    color: white !important;
    font-weight: 600;
    animation: pulse 2s infinite;
    border: none;
}

/* Enhanced Exclusive Badge */
.hot-deals-coupons .exclusive-badge .badge {
    background: linear-gradient(45deg, #ffc107, #ff8c00) !important;
    color: #000 !important;
    font-weight: 600;
    border: none;
}

/* Flash Sale Badge Animation */
.flash-sale-badge .badge {
    animation: pulse 2s infinite;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Exclusive Badge */
.exclusive-badge .badge {
    background: linear-gradient(45deg, #ffc107, #ff8c00) !important;
    color: #000 !important;
    font-weight: 600;
}

/* Trending Badge */
.trending-badge .badge {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    color: white !important;
    font-weight: 600;
}

/* New Badge */
.new-badge .badge {
    background: linear-gradient(45deg, #17a2b8, #6f42c1) !important;
    color: white !important;
    font-weight: 600;
}

/* Trend Indicator */
.trend-indicator {
    font-weight: 600;
    font-size: 0.875rem;
}

.trend-indicator .text-success {
    color: #28a745 !important;
}

.trend-indicator .text-danger {
    color: #dc3545 !important;
}

.trend-indicator .text-muted {
    color: #6c757d !important;
}

/* Most Popular Stores Section Styles */
.popular-stores-section {
    background: #fff;
    padding-top: 0.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Section spacing standardization */
.hot-deals-coupons,
.popular-stores-section,
.special-day-coupons,
.popular-coupons {
    padding-top: 0.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Container spacing standardization */
.hot-deals-coupons .container,
.popular-stores-section .container,
.special-day-coupons .container,
.popular-coupons .container {
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
}

.popular-stores-section .head-area h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.popular-stores-section .head-area p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Popular Stores Card Styles */
.popular-stores-section .single-box {
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
}

/* Popular Stores Text Colors - More Visible */
.popular-stores-section .single-box .bottom-area .text-center.f11-color.fs-eight {
    color: #10b981 !important;  /* Yeşil renk - tıklama sayısı */
    font-weight: 700 !important;  /* Kalın font */
}

.popular-stores-section .single-box .bottom-area .n15-color.fs-eight {
    color: #ffffff !important;  /* Beyaz renk - şirket adı */
    font-weight: 600 !important;
}

.popular-stores-section .single-box .bottom-area .f5-color.fs-eight {
    color: #000000 !important;  /* Siyah yazı rengi */
    font-weight: 500 !important;
}

.popular-stores-section .single-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

/* Popular Stores Image Styles */
.popular-stores-section .single-box .thumb-area {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border-radius: 8px;
    margin: 10px 0;
    overflow: hidden;
    position: relative;
}

.popular-stores-section .single-box .thumb-area img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.popular-stores-section .single-box:hover .thumb-area img {
    transform: scale(1.1);
}

/* Coupon Icon Placeholder */
.coupon-icon-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #007bff;
    font-size: 2rem;
}

/* Popular Stores Fav Icon */
.popular-stores-section .fav-icon-2 {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000 !important;  /* Siyah arka plan */
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
}

/* Button Styles */
.hot-deals-coupons .btn-primary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hot-deals-coupons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.popular-stores-section .btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.popular-stores-section .btn-outline-primary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hot-deals-coupons .head-area h3,
    .popular-stores-section .head-area h3 {
        font-size: 2rem;
    }
    
    .hot-deals-coupons .head-area p,
    .popular-stores-section .head-area p {
        font-size: 0.9rem;
    }
    
    .hot-deals-coupons .coupons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hot-deals-coupons .coupon-card .thumb-area img,
    .hot-deals-coupons .coupon-card .company-logo-container img,
    .company-logo-section .single-box .thumb-area img,
    .company-logo-section .single-box img,
    .company-logo-section img,
    .company-logo-small,
    .popular-stores-section .single-box .thumb-area img {
        width: 70px !important;
        height: 70px !important;
        max-width: 70px !important;
        max-height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    }
    
    .coupon-icon-placeholder {
        width: 70px !important;
        height: 70px !important;
        border-radius: 10px !important;
        font-size: 1.5rem !important;
    }
    
    .flash-sale-badge,
    .exclusive-badge,
    .trending-badge,
    .new-badge {
        position: static !important;
        margin-bottom: 10px;
    }
    
    .trend-indicator {
        font-size: 0.75rem;
    }
    
    .coupon-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-item {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hot-deals-coupons .coupons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hot-deals-coupons .coupon-card .thumb-area {
        height: 100px;
    }
    
    .hot-deals-coupons .coupon-card .thumb-area img,
    .hot-deals-coupons .coupon-card .company-logo-container img,
    .company-logo-section .single-box .thumb-area img,
    .company-logo-section .single-box img,
    .company-logo-section img,
    .company-logo-small,
    .popular-stores-section .single-box .thumb-area img {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
    .coupon-icon-placeholder {
        width: 60px !important;
        height: 60px !important;
        border-radius: 8px !important;
        font-size: 1.2rem !important;
    }
    
    .hot-deals-coupons .coupon-card .company-logo-container {
        height: 60px;
    }
}

/* Loading Animation */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Success Rate Indicator */
.success-rate {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.success-rate.high {
    color: #28a745;
}

.success-rate.medium {
    color: #ffc107;
}

.success-rate.low {
    color: #dc3545;
}

/* Time Remaining Warning */
.time-remaining-warning {
    color: #dc3545;
    font-weight: 600;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.5;
    }
}
