html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #f3f4f6;
}

/* ==========================================================================
   PROFESSIONAL LAYOUT DESIGN
   ========================================================================== */

/* Hero Section */
.hero-section {
    background: #2563eb;
    position: relative;
    overflow: hidden;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400;
}

.hero-section .text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-stats {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-stats h3 {
    color: #1e293b !important;
    font-weight: 700;
}

.hero-stats p {
    color: #64748b !important;
}

/* Premium Banner */
.premium-banner {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.alert-premium {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 0;
    margin: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Section Headers */
.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    color: #1f2937;
    font-weight: 700;
}

/* Modern Price Cards - Enhanced Best Deals */
.price-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    position: relative;
}

.price-grid::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.05), rgba(34, 197, 94, 0.05), rgba(245, 158, 11, 0.05));
    border-radius: 20px;
    z-index: -1;
    animation: best-deals-glow 4s ease-in-out infinite;
}

@keyframes best-deals-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

.price-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}


.price-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 35px -5px rgba(37, 99, 235, 0.2), 0 15px 15px -5px rgba(37, 99, 235, 0.1);
    border-color: #3b82f6;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.price-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    background: #f1f5f9;
}

.pharmacy-name-section .pharmacy-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.dosage-text {
    color: #64748b;
    font-size: 0.875rem;
}

.price-section {
    text-align: right;
}

.price-amount {
    font-size: 2.25rem;
    font-weight: 900;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
    position: relative;
}




.cashback-text {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 500;
    margin-top: 0.25rem;
}

.price-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.status-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid transparent;
}

.status-in-stock {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.status-out-stock {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.status-live {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: #ffffff;
    border-color: #ea580c;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    animation: live-pulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.status-live::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: live-shimmer 3s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5);
    }
}

@keyframes live-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.status-cached {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: button-glow 3s ease-in-out infinite;
}

@keyframes button-glow {
    0%, 100% {
        box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), 0 0 20px rgba(37, 99, 235, 0.3);
    }
}

.btn-primary-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-4px) scale(1.05);
    color: white;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4), 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary-modern i {
    transition: transform 0.3s ease;
}

.btn-primary-modern:hover i {
    transform: translateX(5px);
}

/* Price List (All Prices Section) */
.price-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-list-item {
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.price-list-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
    transform: translateX(4px);
    background: linear-gradient(to right, #f8fafc 0%, #f0f9ff 100%);
}

.pharmacy-info h6 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.status-indicators {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-success {
    background: #22c55e;
}

.status-danger {
    background: #ef4444;
}

.price-display-compact {
    font-size: 1.25rem;
    font-weight: 700;
    color: #22c55e;
    text-align: right;
}

/* Clean Premium Card */
.premium-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    transition: none;
}

.premium-card-header {
    background: #9ca3af;
    padding: 0.5rem 0.75rem;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.premium-card-header h5 {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.premium-card-body {
    padding: 0.75rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-item-clean {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.75rem;
    padding: 0.125rem;
    border-radius: 4px;
    transition: none;
    position: relative;
}

.feature-item-clean i {
    font-size: 0.625rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d1d5db;
    color: white;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Premium card enhancements */
.premium-card::before {
    display: none;
}

.premium-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #e5e7eb;
}

.premium-card-header::before {
    display: none;
}

.premium-card-header p {
    display: none;
}

.feature-item-clean:hover {
    background: none;
    transform: none;
}

.feature-item-clean::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: #94a3b8;
    transition: height 0.3s ease;
}

.feature-item-clean:hover::before {
    height: 50%;
}

/* Premium badge */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
    margin-bottom: 0.75rem;
}

.premium-badge i {
    font-size: 1rem;
}

/* Info Card */
.info-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.info-card-header {
    background: #f3f4f6;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.info-card-body {
    padding: 1.5rem;
}

/* Disclaimer Section */
.disclaimer-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.disclaimer-header {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #475569;
}

.info-item i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.disclaimer-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 2rem;
}

/* Last Updated */
.last-updated {
    text-align: center;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Loading Section */
.loading-section {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section .container {
        padding: 0 1rem;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .price-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .price-section {
        text-align: left;
        width: 100%;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .status-row {
        flex-wrap: wrap;
    }
    
    .price-list-item {
        padding: 1rem;
    }
    
    .price-list-item .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .price-action {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .disclaimer-card {
        padding: 1.5rem;
    }
    
    .sidebar-sticky {
        position: static;
        margin-top: 2rem;
    }
    
    .premium-banner .alert-premium {
        padding: 0.75rem 1rem;
    }
    
    .premium-banner .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section .container {
        padding: 0 0.5rem;
    }
    
    .price-card-modern {
        margin: 0 -0.5rem;
    }
    
    .price-card-header,
    .price-card-body {
        padding: 1rem;
    }
    
    .price-list-item {
        margin: 0 -0.5rem;
        border-radius: 8px;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .disclaimer-card {
        margin: 0 -0.5rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .info-item {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   CLEAN BUTTON STYLES
   ========================================================================== */

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: #2563eb;
    border-color: #2563eb;
}

.btn-outline-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: translateY(-1px);
}

.btn-warning {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
    color: white;
    transform: translateY(-1px);
}

/* Pharmacy card special effects */
.price-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #3b82f6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-card-modern:hover::before {
    opacity: 1;
}

.price-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3b82f6 0%, #10b981 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-list-item:hover::before {
    opacity: 1;
}

/* Pharmacy logo emphasis */
.pharmacy-logo {
    transition: transform 0.3s ease;
}

.price-card-modern:hover .pharmacy-logo,
.price-list-item:hover .pharmacy-logo {
    transform: scale(1.1);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-muted {
    color: #64748b !important;
}

.small {
    font-size: 0.875rem;
}

.fw-semibold {
    font-weight: 600;
}

/* Price update animations */
.price-item {
  transition: all 0.3s ease;
}

.price-updated {
  animation: price-update 2s ease-in-out;
}

@keyframes price-update {
  0% {
    background-color: #fff3cd;
    transform: scale(1);
  }
  15% {
    background-color: #dbeafe;
    transform: scale(1.02);
  }
  85% {
    background-color: #dbeafe;
    transform: scale(1.02);
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

.pharmacy-card.updated {
  animation: card-flash 1.5s ease-in-out;
  border: 2px solid #3b82f6;
}

@keyframes card-flash {
  0%, 100% {
    border-color: transparent;
    box-shadow: none;
  }
  50% {
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
  }
}

/* Professional styling improvements */
.hero-section {
  background: #007bff;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.03"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.03"/><circle cx="90" cy="30" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.price-display {
  background: #3b82f6;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.badge {
  font-size: 0.75em;
  font-weight: 500;
}

.alert {
  border-radius: 0.5rem;
}

.card {
  border-radius: 0.75rem;
}

.card-header {
  border-radius: 0.75rem 0.75rem 0 0 !important;
  font-weight: 600;
}

.price-item:hover {
  background-color: rgba(0,123,255,0.02);
  border-radius: 0.5rem;
  transform: translateX(2px);
}

.price-badge.updated {
  animation: badge-pulse 1s ease-in-out;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.update-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #3b82f6;
  border-radius: 50%;
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Premium CTA button styles */
.btn-premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: #ffffff;
}

/* Information Sidebar */
.info-sidebar {
    position: sticky;
    top: 2rem;
}

.alert-cta-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid #2563eb;
}

.alert-cta-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.alert-cta-header i {
    color: #2563eb;
}

.stats-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.stat-value {
    font-weight: 600;
    color: #374151;
}

.nhs-info-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid #22c55e;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  color: white;
  padding: 20px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 9999;
}

/* ==========================================================================
   ENHANCED BEST DEALS BADGE & STARS
   ========================================================================== */

.deals-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(220, 38, 38, 0.4);
    }
}

.deals-stars {
    display: flex;
    gap: 0.2rem;
}

.deals-stars i {
    font-size: 0.875rem;
    animation: star-twinkle 2s ease-in-out infinite;
}

.deals-stars i:nth-child(1) {
    animation-delay: 0s;
}

.deals-stars i:nth-child(2) {
    animation-delay: 0.3s;
}

.deals-stars i:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes star-twinkle {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .deals-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}
