:root {
    --primary: #FF5E00; 
    --primary-gradient: linear-gradient(135deg, #FF8C00 0%, #FF3D00 100%);
    --primary-hover: linear-gradient(135deg, #FF6A00 0%, #E63600 100%);
    --secondary: #0A2540; 
    --secondary-gradient: linear-gradient(135deg, #0A2540 0%, #174071 100%);
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --border: #E2E8F0;
    --cashback-green: #10B981;
    --footer-bg: #0B1120;
    --flash-1: #0F172A;
    --flash-2: #1E293B;
    --anim: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-dark); overflow-x: hidden; }

a, button, .store-card, .deal-card, .info-card, .cc-card, .social-icon { transition: var(--anim); }

/* --- Elegant Shimmering Headings --- */
.category-header { margin-bottom: 15px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; gap: 15px; }
.heading-left { display: flex; flex-direction: column; gap: 5px; }

.animated-heading {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--text-dark) 0%, var(--text-dark) 40%, #FF5E00 50%, var(--text-dark) 60%, var(--text-dark) 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}
.flash-text {
    background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 40%, #FFD700 50%, #FFFFFF 60%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}
@keyframes shine { to { background-position: 200% center; } }

/* Buttons & Links */
.btn-primary { background: var(--primary-gradient); color: var(--white); border: none; padding: 12px 30px; font-size: 16px; font-weight: 600; border-radius: 50px; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 61, 0, 0.3); display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 61, 0, 0.4); }

.view-all-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: bold; font-size: 14px; transition: var(--anim); }

.btn-light { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(5px); box-shadow: none; }
.btn-light:hover { background: var(--primary-gradient); color: var(--white); border-color: transparent; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 61, 0, 0.3); }

.btn-dark { background: var(--secondary); color: var(--white); border: none; box-shadow: 0 4px 6px rgba(10, 37, 64, 0.2); }
.btn-dark:hover { background: var(--primary-gradient); color: var(--white); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 61, 0, 0.3); }

/* Sidebar */
.hamburger-btn { background: none; border: none; font-size: 24px; color: var(--text-dark); cursor: pointer; margin-right: 15px; }
.left-header { display: flex; align-items: center; }

/* --- Premium Sidebar Menu --- */

/* Backdrop */
.menu-backdrop {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 37, 64, 0.6); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: 0.3s ease; z-index: 9998;
}
.menu-backdrop.active { opacity: 1; visibility: visible; }

/* Sidebar Container */
.vd-menu {
  position: fixed; top: 0; left: 0; height: 100vh;
  width: 85%; max-width: 400px;
  background: var(--white); box-shadow: 4px 0 25px rgba(0,0,0,0.15);
  transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 9999; display: flex; flex-direction: column;
}
.vd-menu.open { transform: translateX(0); }

/* Header & Profile */
.vd-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px; border-bottom: 1px solid var(--border);
}
.vd-profile-quick { display: flex; align-items: center; gap: 12px; cursor: pointer; transition: transform 0.2s; }
.vd-profile-quick:hover { transform: translateX(5px); }
.vd-profile-link { font-weight: 700; color: var(--secondary); font-size: 16px; }
/* --- Animated Close Button --- */
.close-btn { 
    background: transparent; 
    border: none; 
    font-size: 24px; /* Perfect size for the FA icon */
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    color: var(--text-light); 
    transition: all 0.3s ease; 
    padding: 0; 
    margin: 0;
}

/* 1. Changes background and color on hover */
.close-btn:hover { 
    background-color: #FEE2E2; 
    color: #DC2626; 
}

/* 2. Adds smooth transition to the icon itself */
.close-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. Spins ONLY the perfectly centered icon */
.close-btn:hover i { 
    transform: rotate(90deg); 
}

/* Scrollable Content */
.vd-menu-content { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 20px 0; }
.vd-menu-content::-webkit-scrollbar { width: 5px; }
.vd-menu-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.vd-section { padding: 0 20px; margin-bottom: 20px; }
.vd-section-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 15px; }
.vd-divider { border: 0; height: 1px; background: var(--border); margin: 20px 0; }

/* Top Stores (Mobile: Horizontal Scroll, Desktop: Grid) */
.vd-top-stores {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px;
  scrollbar-width: none; 
}
.vd-top-stores::-webkit-scrollbar { display: none; }
.store-icon img { border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.08); transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid var(--border); }
.store-icon:hover img { transform: translateY(-3px) scale(1.05); border-color: var(--primary); box-shadow: 0 6px 15px rgba(255, 94, 0, 0.2); }

@media (min-width: 768px) {
  .vd-top-stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; overflow-x: visible; }
  .store-icon img { width: 100%; height: auto; }
}

/* ==========================================================================
   ULTIMATE SIDEBAR MENU FIX (Clean White Sub-Menus)
   ========================================================================== */

/* 1. Main Wrapper - Stripped of background and padding */
.vd-accordion.vd-hover-box {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--border);
}

/* 2. Main Header Button - Controls spacing and default colors */
.vd-accordion.vd-hover-box .vd-accordion-header {
    padding: 16px 20px;
    background: transparent;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
}

/* 3. Orange highlight ONLY applied to the Header Button */
.vd-accordion.vd-hover-box:hover > .vd-accordion-header,
.vd-accordion.vd-hover-box.active > .vd-accordion-header {
    background-color: #FFF0E5 !important;
    color: var(--primary) !important;
    padding-left: 24px;
}

/* Plus/Minus Icons */
.vd-icon-plus::before { content: '+'; font-size: 20px; color: var(--text-light); transition: transform 0.3s; font-family: inherit; }
.vd-accordion.vd-hover-box.active .vd-icon-plus::before { content: '−'; color: var(--primary) !important; }
.vd-accordion.vd-hover-box:hover .vd-icon-plus::before { color: var(--primary) !important; }

/* 4. Sub-Menu Container - Forced pure white, full width */
.vd-accordion-content {
    background: #FFFFFF !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

/* 5. Individual Sub-Menu Links - White background, partitioned */
.vd-accordion-content a {
    background: #FFFFFF !important;
    display: block;
    padding: 14px 20px 14px 45px;
    border-top: 1px solid #F1F5F9;
    color: #4B5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* 6. Hover state specifically for Sub-Menu Links */
.vd-accordion-content a:hover {
    background-color: #FFF0E5 !important;
    color: var(--primary) !important;
    padding-left: 55px;
    font-weight: 700;
}

/* Standard Links */
.vd-links-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.vd-links-list a { text-decoration: none; color: var(--text-dark); font-size: 15px; font-weight: 600; transition: color 0.2s, transform 0.2s; display: inline-block; }
.vd-links-list a:hover { color: var(--primary); transform: translateX(5px); }
.vd-highlight-link { color: var(--primary) !important; font-weight: 800 !important; }

/* Shimmer Button */
.vd-btn-shimmer {
  display: block; margin-top: 20px; padding: 14px; text-align: center;
  background: var(--primary-gradient); color: var(--white); text-decoration: none;
  font-weight: 800; border-radius: 8px; position: relative; overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 61, 0, 0.3); transition: transform 0.2s;
}
.vd-btn-shimmer:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 61, 0, 0.4); color: var(--white); }
.vd-btn-shimmer::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg); animation: shimmerBtnMenu 3s infinite;
}
@keyframes shimmerBtnMenu { 100% { left: 200%; } }

/* Footer */
.vd-menu-footer {
  background: #F8FAFC; padding: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.vd-footer-links { display: flex; gap: 12px; }
.vd-footer-links a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.vd-footer-links a:hover { color: var(--primary); text-decoration: underline; }
.vd-socials a { color: var(--secondary); text-decoration: none; margin-left: 12px; font-size: 18px; transition: transform 0.2s, color 0.2s; display: inline-block; }
.vd-socials a:hover { color: var(--primary); transform: scale(1.2); }

/* Header & Nav */
.announcement-bar { background: var(--text-dark); color: var(--white); text-align: center; padding: 8px; font-size: 13px; }
.main-header { background: var(--white); padding: 25px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.header-content { max-width: 100%; width: 100%; margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 0 40px; gap: 15px; box-sizing: border-box; }
.logo { font-size: 26px; font-weight: 800; color: var(--secondary); }
.logo span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.search-container { flex: 1; min-width: 300px; margin: 0 20px; }
.search-box { display: flex; border: 2px solid var(--border); border-radius: 50px; overflow: hidden; height: 45px; transition: var(--anim); }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1); }
.search-box input { flex: 1; border: none; padding: 0 20px; font-size: 15px; outline: none; }
.search-btn { background: var(--text-dark); color: var(--white); border: none; padding: 0 30px; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: var(--anim); }
.search-btn:hover { background: var(--primary-gradient); }

.auth-group { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.link-login { text-decoration: none; color: var(--text-dark); font-weight: 600; }
.link-login:hover { color: var(--primary); }
.btn-join { background: var(--secondary-gradient); color: var(--white); text-decoration: none; padding: 10px 20px; border-radius: 50px; font-weight: 600; box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2); transition: var(--anim); }
.btn-join:hover { background: var(--primary-gradient); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 94, 0, 0.3); }

.main-nav { background: var(--white); box-shadow: 0 2px 4px rgba(0,0,0,0.05); width: 100%; display: block; }
.main-nav ul { max-width: 100%; width: 100%; margin: 0; display: flex; list-style: none; padding: 0 40px; box-sizing: border-box; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a { display: block; padding: 16px 20px; text-decoration: none; color: var(--text-dark); font-weight: 700; font-size: 16px; border-bottom: 3px solid transparent; transition: var(--anim); }
.main-nav a:hover, .main-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
/* The .nav-highlight rule has been removed so 'How it Works' matches perfectly */

/* Category Images & Animations */
.hero-wrapper { max-width: 100%; width: 100%; margin: 20px auto; padding: 0 40px; box-sizing: border-box; }
.circular-categories { display: flex; gap: 25px; overflow-x: auto; padding-bottom: 20px; scroll-behavior: smooth; width: 100%; align-items: flex-start; }
.circular-categories::-webkit-scrollbar { display: none; }
.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    flex-shrink: 0;
    width: 150px;
    text-decoration: none;
}

.cat-icon {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 3px solid var(--border);
    transition: var(--anim);
}

.cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.cat-item span {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.3;
    transition: var(--anim);
}
.cat-item:hover .cat-icon { border-color: var(--primary); transform: translateY(-8px); box-shadow: 0 12px 25px rgba(255, 94, 0, 0.2); }
.cat-item:hover .cat-icon img { transform: scale(1.2) rotate(4deg); }
.cat-item:hover span { color: var(--primary); transform: translateY(2px); font-weight: 800; text-shadow: 0 2px 4px rgba(255, 94, 0, 0.1); }

/* =========================================
   PROMO BANNERS CAROUSEL (UPDATED: 3 ITEMS + BIGGER)
   ========================================= */
.promo-ribbon {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px; 
    scroll-behavior: smooth;
    width: 100%;
    scrollbar-width: none; 
}
.promo-ribbon::-webkit-scrollbar { display: none; }

/* Forces exactly 3 banners to show on desktop (33.33% minus gap space) */
.promo-banner {
    flex: 0 0 calc(33.333% - 14px); 
    height: 200px; /* Made the banners bigger */
    border-radius: 16px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-decoration: none;
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.promo-content {
    padding: 30px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Banner Text Styles */
.promo-brand { font-size: 26px; font-weight: 900; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.promo-brand span { font-size: 13px; font-weight: 700; text-transform: uppercase; line-height: 1; border-left: 2px solid rgba(255,255,255,0.5); padding-left: 8px; }
.promo-offer { font-size: 30px; font-weight: 900; margin-bottom: 5px; line-height: 1.1; }
.promo-sub { font-size: 15px; margin-bottom: 20px; opacity: 0.9; font-weight: 600; }
.promo-sub-top { font-size: 15px; font-weight: 600; margin-bottom: 5px; color: #475569; }

/* Cashback Tags - VerifyDeals Branded */
.promo-cb-tag {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.2); padding: 6px 15px 6px 6px;
    border-radius: 8px; font-size: 14px; font-weight: 700;
    backdrop-filter: blur(5px);
}
/* Uses VerifyDeals Dark Navy */
.cb-icon { background: var(--secondary); color: white; padding: 4px 8px; border-radius: 6px; font-weight: 900; font-size: 12px; }

.promo-cb-tag.blue-tag { background: #E0F2FE; color: #0F172A; border: 1px solid #BAE6FD; }
/* Uses VerifyDeals Primary Orange */
.cb-icon.blue { background: var(--primary); }

/* Brand Colors & Gradients */
.ajio-banner { background: linear-gradient(135deg, #7A0016 0%, #B30020 100%); color: white; }
.amazon-banner { background: linear-gradient(135deg, #FF9900 0%, #FF5E00 100%); color: white; }
.derma-banner { background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%); color: #0F172A; border: 1px solid #BAE6FD; }
.derma-banner .promo-brand, .derma-banner .promo-offer { color: #0F172A; }

/* Responsive adjustments for Tablets and Mobile */
@media (max-width: 1024px) {
    .promo-banner { flex: 0 0 calc(50% - 10px); } /* Show 2 on tablets */
}
@media (max-width: 768px) {
    .promo-banner { flex: 0 0 85%; height: 180px; } /* Show 1 on mobile */
    .promo-offer { font-size: 24px; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .promo-banner {
        width: 300px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        width: 260px;
        height: 120px;
    }
}

/* Sections */
.content-section { max-width: 100%; width: 100%; margin: 50px auto; padding: 0 40px; box-sizing: border-box; }
.bg-gray { background: var(--white); padding: 50px 40px; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }

/* Carousel Wrappers */
.carousel-wrapper { position: relative; display: flex; align-items: center; }


/* Animated Premium Flash Deals */
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes slideStripes { 0% { transform: translateY(0) translateX(0); } 100% { transform: translateY(50px) translateX(50px); } }
@keyframes lightningPulse { 0% { transform: scale(1); filter: drop-shadow(0 0 3px #FFD700); } 50% { transform: scale(1.3); filter: drop-shadow(0 0 12px #FFD700) drop-shadow(0 0 20px #FF8C00); } 100% { transform: scale(1); filter: drop-shadow(0 0 3px #FFD700); } }

.premium-flash-section { 
    position: relative; 
    background: linear-gradient(270deg, var(--flash-1), var(--flash-2), #020617);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    padding: 40px; 
    border-radius: 20px; 
    color: var(--white); 
    overflow: hidden;
}
.flash-overlay-pattern { 
    position: absolute; 
    top: -50%; left: -50%; 
    width: 200%; height: 200%; 
    background: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255, 255, 255, 0.03) 15px, rgba(255, 255, 255, 0.03) 30px); 
    animation: slideStripes 30s linear infinite; 
    pointer-events: none; z-index: 1; 
}
.premium-flash-section > * { position: relative; z-index: 2; }
.pulse-anim { animation: lightningPulse 1.2s infinite ease-in-out; display: inline-block; margin-right: 5px; color: #FFD700; }
.timer { background: rgba(255, 215, 0, 0.1); color: #FFD700; padding: 6px 15px; border-radius: 50px; font-weight: bold; border: 1px solid rgba(255, 215, 0, 0.3); font-size: 14px; display: inline-block; }

/* Stores */
.store-card { background: var(--white); border-radius: 16px; padding: 25px 10px; text-align: center; border: 1px solid var(--border); cursor: pointer; min-width: 160px; flex-shrink: 0; }
.store-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary); }
.store-card i { font-size: 40px; color: var(--secondary); margin-bottom: 15px; }
.store-cb { color: var(--cashback-green); font-weight: 700; font-size: 14px; margin-top: 10px; }

/* Deals Ribbon */
.deals-ribbon { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-behavior: smooth; width: 100%; }
.deals-ribbon::-webkit-scrollbar { display: none; }
.deal-card { min-width: 260px; flex-shrink: 0; background: var(--white); border-radius: 16px; padding: 20px; border: 1px solid var(--border); display: flex; flex-direction: column; }
.deal-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.premium-deal-card { background: #1E293B; border: 1px solid #334155; color: var(--white); }
.premium-deal-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.5); border-color: #475569; }
.deal-img { height: 140px; background: #F1F5F9; display: flex; align-items: center; justify-content: center; font-size: 50px; color: #CBD5E1; border-radius: 10px; margin-bottom: 15px; }
.premium-deal-card .deal-img { background: #0F172A; color: #334155; }
.deal-store { font-size: 12px; color: var(--text-light); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.premium-deal-card .deal-store { color: #94A3B8; }
.deal-title { font-size: 16px; font-weight: 700; margin: 8px 0 12px; line-height: 1.3; }
.deal-prices { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.new-price { font-size: 20px; font-weight: 800; }
.old-price { font-size: 14px; text-decoration: line-through; color: var(--text-light); }

.card-actions { display: flex; gap: 8px; margin-top: auto; align-items: stretch; }

.btn-grab { display: flex; align-items: center; justify-content: center; flex: 1; text-align: center; background: var(--secondary); color: var(--white); text-decoration: none; padding: 12px; border-radius: 8px; font-weight: 800; font-size: 14px; border: none; cursor: pointer; transition: var(--anim); box-shadow: 0 4px 6px rgba(10, 37, 64, 0.2); margin-top: 0; }
.btn-grab:hover { background: var(--primary-gradient); color: var(--white); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 61, 0, 0.3); }

.premium-deal-card .btn-grab { background: var(--white); color: var(--text-dark); border: none; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.premium-deal-card .btn-grab:hover { background: var(--primary-gradient); color: var(--white); box-shadow: 0 5px 15px rgba(255, 61, 0, 0.4); }

.btn-copy { background: #F1F5F9; color: var(--text-light); border: 1px solid var(--border); width: 44px; flex-shrink: 0; border-radius: 8px; cursor: pointer; transition: var(--anim); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.btn-copy:hover { color: var(--white); border-color: var(--primary); background: var(--primary-gradient); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 61, 0, 0.2); }

.premium-deal-card .btn-copy { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.2); }
.premium-deal-card .btn-copy:hover { background: var(--primary-gradient); border-color: transparent; }

/* Credit Cards */
.cc-card { min-width: 320px; flex-shrink: 0; color: var(--white); padding: 30px; border-radius: 20px; position: relative; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); cursor: pointer; display: flex; flex-direction: column; }
.cc-card::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); transition: 0.5s; }
.cc-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.cc-card:hover::after { left: 150%; }
.cc-name { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.cc-bank { font-size: 12px; opacity: 0.8; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.cc-reward { background: rgba(255,255,255,0.15); backdrop-filter: blur(5px); display: inline-block; padding: 8px 15px; border-radius: 8px; font-size: 13px; font-weight: bold; margin-bottom: 20px; }

/* MODIFIED: Fixed Credit Card Buttons Hover Independence */
.cc-card .card-actions { justify-content: flex-start; margin-top: auto; }
.btn-cc { flex: none; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); padding: 10px 20px; border-radius: 50px; font-weight: bold; cursor: pointer; transition: var(--anim); margin-top: 0; }
.btn-cc:hover { background: var(--primary-gradient); color: var(--white); border-color: transparent; transform: scale(1.05); box-shadow: 0 5px 15px rgba(255, 61, 0, 0.4); }

.cc-card .btn-copy { width: 44px; border-radius: 50px; background: transparent; border: 2px solid rgba(255,255,255,0.5); color: var(--white); }
.cc-card .btn-copy:hover { background: var(--primary-gradient); color: var(--white); border-color: transparent; transform: scale(1.05); box-shadow: 0 5px 15px rgba(255, 61, 0, 0.4); }

/* Info Cards */
.info-card { background: var(--white); padding: 40px 30px; border-radius: 20px; border: 1px solid var(--border); text-align: center; min-width: 320px; flex-shrink: 0; }
.info-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--primary); }
.icon-wrap { width: 80px; height: 80px; background: #F1F5F9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: var(--anim); }
.info-card:hover .icon-wrap { background: var(--primary-gradient); color: var(--white); transform: scale(1.1); }
.icon-wrap i { font-size: 35px; color: var(--secondary); transition: var(--anim); }
.info-card:hover .icon-wrap i { color: var(--white); }
.info-card h3 { margin-bottom: 15px; font-size: 20px; }
.info-card p { color: var(--text-light); font-size: 15px; line-height: 1.6; }

/* Testimonials Carousel */
.testimonial-carousel { position: relative; display: flex; align-items: center; }
.testimonial-card { min-width: 320px; flex-shrink: 0; background: #F8FAFC; padding: 30px; border-radius: 16px; border: 1px solid var(--border); transition: var(--anim); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); background: var(--white); }
.stars { color: #FFD700; margin-bottom: 15px; font-size: 14px; }
.review-text { font-style: italic; color: var(--text-light); font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
.user-info { display: flex; align-items: center; gap: 15px; }
.user-icon { width: 45px; height: 45px; background: var(--primary-gradient); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; }
.user-name { font-weight: bold; font-size: 16px; color: var(--text-dark); }

/* Footer */
.main-footer { background-color: var(--footer-bg); color: var(--white); padding: 70px 20px 30px; margin-top: 70px; border-top: 5px solid var(--primary); }
.footer-grid { max-width: 100%; width: 100%; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 50px; padding-left: 40px; padding-right: 40px; box-sizing: border-box; }
.footer-col h4 { font-size: 16px; margin-bottom: 25px; color: var(--primary); text-transform: uppercase; letter-spacing: 1.5px; }
.footer-col a { display: block; color: #94A3B8; text-decoration: none; margin-bottom: 15px; font-size: 15px; transition: var(--anim); }
.footer-col a:hover { color: var(--white); transform: translateX(5px); }

.social-text-icons { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
.social-icon { font-size: 24px; color: #94A3B8; text-decoration: none; display: flex; align-items: center; gap: 12px; transition: var(--anim); cursor: pointer; }
.social-icon span { font-size: 15px; font-weight: 500; }
.social-icon:hover { transform: translateX(8px); }
.social-icon:active { transform: scale(0.95); } 
.social-icon.twitter:hover { color: #FFFFFF; } 
.social-icon.youtube:hover { color: #FF0000; }
.social-icon.instagram:hover { color: #E1306C; }
.social-icon.facebook:hover { color: #1877F2; }
.social-icon.linkedin:hover { color: #0A66C2; }

.app-btn { display: flex; align-items: center; background: #000; color: #fff; padding: 10px 15px; border-radius: 8px; border: 1px solid #333; margin-bottom: 15px; transition: 0.3s; text-decoration: none; width: fit-content; }
.app-btn i { font-size: 24px; margin-right: 12px; }
.app-btn-text { display: flex; flex-direction: column; text-align: left; }
.app-btn-text span { font-size: 10px; text-transform: uppercase; }
.app-btn-text strong { font-size: 16px; font-weight: 600; }
.app-btn:hover { background: #222; border-color: #555; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }

.footer-bottom { text-align: center; max-width: 100%; width: 100%; margin: 30px auto 0; color: #64748B; font-size: 14px; padding: 0 40px; box-sizing: border-box; }

#backToTop { display: none; position: fixed; bottom: 30px; right: 30px; z-index: 99; font-size: 20px; border: none; outline: none; background: var(--primary-gradient); color: white; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 5px 15px rgba(255, 61, 0, 0.4); transition: var(--anim); align-items: center; justify-content: center; opacity: 0; pointer-events: none; }
#backToTop.show { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-5px) scale(1.1); }

@media (max-width: 768px) {
    .header-content { flex-wrap: wrap; padding: 10px 20px; }
    .search-container { order: 3; flex: 1 1 100%; margin: 15px 0 0; min-width: 100%; }
    .auth-group { display: none; }
    .hide-mobile { display: none; }
    .main-nav { padding: 10px 0; overflow-x: auto; white-space: nowrap; }
	.main-nav ul { width: max-content; }
    .slider-container { height: 250px; }
    .banner-text h2 { font-size: 28px; }
    .banner-text p { font-size: 14px; }
    .section-heading { flex-direction: column; align-items: flex-start; }
    .view-all-btn { margin-top: 10px; }
    .premium-flash-section { padding: 25px 15px; }
    
}

/* =========================================
   AUTHENTICATION PAGE STYLES (Sign In / Join)
   ========================================= */
.auth-body { background-color: #F1F5F9; display: flex; flex-direction: column; min-height: 100vh; }
.auth-header { background: var(--white); padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.back-link { text-decoration: none; color: var(--text-light); font-weight: 600; transition: var(--anim); display: flex; align-items: center; gap: 8px; }
.back-link:hover { color: var(--primary); }

.auth-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-container { background: var(--white); width: 100%; max-width: 900px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); display: flex; overflow: hidden; }

/* Left Side Branding */
.auth-left { flex: 1; background: var(--secondary-gradient); color: var(--white); padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; }
.auth-left h2 { 
    font-size: 38px; /* Slightly larger for impact */
    font-weight: 900; 
    margin-bottom: 20px; 
    line-height: 1.2; 
    /* The Animated Shimmer Highlight */
    background: linear-gradient(90deg, #FFFFFF 0%, #FFD700 40%, #FF5E00 60%, #FFFFFF 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 94, 0, 0.3));
}
.auth-left p { color: #CBD5E1; font-size: 16px; margin-bottom: 40px; line-height: 1.6; }
.auth-benefits { display: flex; flex-direction: column; gap: 15px; }
.benefit-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.benefit-item i { color: var(--cashback-green); font-size: 20px; }

/* Right Side Form */
.auth-right { flex: 1.2; padding: 40px 50px; background: var(--white); }
.auth-tabs { display: flex; margin-bottom: 30px; border-bottom: 2px solid var(--border); }
.tab-btn { flex: 1; background: none; border: none; padding: 15px 0; font-size: 18px; font-weight: bold; color: var(--text-light); cursor: pointer; position: relative; transition: var(--anim); }
.tab-btn.active { color: var(--secondary); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; }

.auth-form { display: none; animation: fadeIn 0.4s ease; }
.auth-form.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Form Controls */
.form-group { margin-bottom: 20px; }
.form-row { display: flex; gap: 15px; }
.form-group.half { flex: 1; }
.form-group label, .label-row label { display: block; font-size: 13px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.label-row label { margin-bottom: 0; }
.forgot-link { font-size: 13px; color: var(--primary); text-decoration: none; font-weight: 600; }
.forgot-link:hover { text-decoration: underline; }

.form-control { width: 100%; padding: 14px 15px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; transition: var(--anim); background: #F8FAFC; outline: none; }
.form-control:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1); }

.input-with-btn { display: flex; gap: 10px; }
.btn-send-otp { background: var(--secondary); color: var(--white); border: none; padding: 0 15px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: var(--anim); white-space: nowrap; }
.btn-send-otp:hover { background: var(--primary); }

.otp-container { display: flex; align-items: center; gap: 15px; }
.timer-text { font-weight: 700; color: var(--text-light); }
.resend-link { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; display: inline-block; margin-top: 5px; }
.resend-link.disabled { color: var(--text-light); pointer-events: none; opacity: 0.5; }

.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 25px; }
.form-checkbox input { margin-top: 3px; cursor: pointer; }
.form-checkbox label { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.form-checkbox a { color: var(--secondary); font-weight: 600; text-decoration: none; }
.form-checkbox a:hover { color: var(--primary); text-decoration: underline; }

.auth-submit { width: 100%; justify-content: center; padding: 15px; font-size: 16px; margin-bottom: 15px; }

/* Social & Extras */
.btn-google { width: 100%; background: var(--white); border: 1px solid var(--border); padding: 12px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: var(--anim); }
.btn-google img { width: 20px; }
.btn-google:hover { background: #F8FAFC; border-color: #CBD5E1; }

.divider { display: flex; align-items: center; text-align: center; margin: 20px 0; color: var(--text-light); font-size: 12px; font-weight: bold; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
.divider span { padding: 0 10px; }

.auth-switch-text { text-align: center; font-size: 14px; font-weight: 600; }
.auth-switch-text a { color: var(--primary); text-decoration: none; }
.auth-switch-text a:hover { text-decoration: underline; }

.hidden { display: none !important; }
.error-msg { background: #FEE2E2; color: #DC2626; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: bold; margin-bottom: 15px; text-align: center; display: none; border: 1px solid #FCA5A5; }

@media (max-width: 768px) {
    .auth-container { flex-direction: column; }
    .auth-left { padding: 40px 20px; text-align: center; }
    .auth-benefits { align-items: center; }
    .auth-right { padding: 30px 20px; }
    .form-row { flex-direction: column; gap: 0; }
}

/* --- ERROR HIGHLIGHT ANIMATION --- */
@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.shake-anim {
    animation: shakeError 0.4s ease-in-out;
    border: 2px solid #DC2626 !important;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}

/* =========================================
   UI UPGRADES & ANIMATIONS
   ========================================= */

/* Sign In Button (Blue to Orange) */
#btn-login-submit {
    background-color: #2563EB; /* Bright Blue */
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}
#btn-login-submit:hover {
    background-color: var(--primary); /* VerfiyDeals Orange */
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
    transform: translateY(-2px);
}

/* Hover Animation for Sign In & Join Free Tabs */
.tab-btn {
    transition: all 0.3s ease;
}
.tab-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Modernized "Send OTP" Button */
.btn-send-otp {
    background: var(--secondary); /* Dark Navy */
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.btn-send-otp:hover {
    background: var(--primary); /* Orange */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3);
}

/* "Login via OTP instead" - Now perfectly matches Send OTP button */
.auth-switch-text a {
    display: block;
    width: 100%;
    background: var(--secondary); /* Dark Navy */
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}
.auth-switch-text a:hover {
    background: var(--primary); /* Orange on hover */
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.3);
}

/* Google Button Shimmer & Color Hover Animation */
.btn-google {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border);
}
.btn-google::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.5s;
    z-index: 1;
}
.btn-google:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.15);
}
.btn-google:hover::before {
    left: 100%;
}

/* Upgraded Universal Error Message Design */
.error-msg { 
    background: #FEE2E2; 
    color: #DC2626; 
    padding: 12px 15px; 
    border-radius: 8px; 
    font-size: 14px; 
    font-weight: 700; 
    margin-bottom: 20px; 
    text-align: center; 
    border: 2px solid #DC2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    display: none;
}

/* =========================================
   MAKE LINKS PAGE STYLES
   ========================================= */

.ml-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Instructions UI */
.ml-instructions {
    text-align: center;
    margin-bottom: 40px;
}
.ml-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.ml-step {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}
.ml-step h4 { color: var(--secondary); margin-bottom: 10px; font-size: 18px; }
.ml-step p { color: var(--text-light); font-size: 14px; line-height: 1.5; }

/* Main Link Container */
.ml-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    margin-bottom: 50px;
}

/* Input & Live Validation */
.ml-input-wrapper {
    position: relative;
}
.ml-badge {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #D1FAE5;
    color: #065F46;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #10B981;
}
.ml-badge.invalid {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #EF4444;
}

/* Disabled State for Button */
#btn-convert-single:disabled {
    background: #CBD5E1;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Results Area */
.ml-result-area {
    margin-top: 30px;
    padding-top: 10px;
    animation: fadeIn 0.4s ease;
}
.ml-result-box {
    background: #F8FAFC;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.ai-sparkle { color: #8B5CF6; }

/* Share Buttons */
.ml-share-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.ml-share-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
.btn-telegram { background: #229ED9; color: white; }
.btn-telegram:hover { background: #0088CC; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(34, 158, 217, 0.3); }

/* Recent Links Table */
.ml-recent-section {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
}
.ml-recent-section h3 {
    margin-bottom: 20px;
    color: var(--secondary);
}
.ml-table-container {
    overflow-x: auto;
}
.ml-table {
    width: 100%;
    border-collapse: collapse;
}
.ml-table th {
    background: #F8FAFC;
    color: var(--text-light);
    text-align: left;
    padding: 15px;
    font-size: 14px;
    border-bottom: 2px solid var(--border);
}
.ml-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-dark);
}
.store-badge {
    background: #F1F5F9;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}
.original-link-cell {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-light);
}
.short-link-cell {
    font-weight: 700;
    color: var(--primary);
}
.table-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--anim);
}
.table-btn:hover {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
}

/* =========================================
   ADVANCED MAKE LINKS UPGRADES
   ========================================= */

/* New Input Layout */
.ml-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
}
.ml-input-wrapper {
    flex: 1;
    max-width: 600px; /* Makes the box smaller as requested */
    position: relative;
}
.btn-paste-outside {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--anim);
    white-space: nowrap;
}
.btn-paste-outside:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.2);
}

@media (max-width: 600px) {
    .ml-input-group { flex-direction: column; align-items: stretch; }
    .ml-input-wrapper { max-width: 100%; }
}

/* Examples & Warnings Box */
.ml-examples-box {
    background: #F8FAFC;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed var(--border);
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.6;
}
.ex-correct { color: #065F46; margin-bottom: 5px; }
.ex-wrong { color: #991B1B; margin-bottom: 10px; }
.ml-warning { color: #92400E; font-weight: 600; background: #FFFBEB; padding: 8px; border-radius: 6px; }

/* Vertical Leaderboard */
.leaderboard-section {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}
.leaderboard-title { margin-bottom: 5px; font-size: 20px; color: var(--secondary); display: flex; align-items: center; gap: 8px; }
.leaderboard-vertical {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 10px;
}
.leaderboard-vertical::-webkit-scrollbar { width: 6px; }
.leaderboard-vertical::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
.lb-row {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 8px;
    justify-content: space-between;
}
.lb-rank-col { display: flex; align-items: center; gap: 15px; }
.lb-rank-num { font-size: 18px; font-weight: 800; color: var(--text-light); width: 40px; text-align: center; }
.lb-user-info strong { display: block; font-size: 15px; color: var(--text-dark); }
.lb-sales { font-size: 13px; font-weight: 700; color: var(--primary); }

/* Highlight Current User */
.lb-row.is-me {
    background: #FFFBEB;
    border-color: #FDE68A;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    z-index: 10;
}
.lb-row.gold-rank .lb-rank-num { color: #F59E0B; }
.lb-row.silver-rank .lb-rank-num { color: #94A3B8; }
.lb-row.bronze-rank .lb-rank-num { color: #B45309; }

/* Result Highlight */
.highlight-box { border-left: 4px solid var(--primary); }
.profit-text { font-size: 13px; color: var(--text-light); margin-bottom: 10px; font-weight: 600; }

/* Advanced Settings Dropdown */
.advanced-options { margin: 15px 0 25px; background: #F8FAFC; border-radius: 12px; border: 1px solid var(--border); }
.advanced-options summary { padding: 15px; font-weight: 700; color: var(--secondary); cursor: pointer; user-select: none; }
.advanced-settings-grid { padding: 0 15px 15px; border-top: 1px solid var(--border); margin-top: 10px; padding-top: 15px; }

/* AI Review Summarizer */
.ai-review-content { font-size: 14px; color: var(--text-dark); line-height: 1.6; }

/* Bot Connect Area */
.bot-sync-area { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
.bot-sync-area p { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.btn-light-outline { flex: 1; padding: 12px; background: white; border: 1px solid var(--border); border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; transition: var(--anim); }
.btn-light-outline:hover { background: #F1F5F9; border-color: #94A3B8; transform: translateY(-2px); }

/* Custom Toast Notification for 'Coming Soon' */
#custom-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #0F172A;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    z-index: 999999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    pointer-events: none;
}
#custom-toast.show {
    bottom: 40px;
    opacity: 1;
}

/* Fix: Ensures long links stay on straight lines in the input box */
.bulk-textarea-input {
    white-space: nowrap;
    overflow-x: auto;
    resize: vertical;
}

/* Badge position for top of text box */
.ml-badge-top {
    background: #D1FAE5;
    color: #065F46;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #10B981;
}
.ml-badge-top.invalid {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #EF4444;
}

/* =========================================
   CONTACT US PAGE STYLES
   ========================================= */
.contact-wrapper {
    max-width: 1200px;
    margin: 80px auto 50px;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.status-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info-panel {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: fit-content;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-text h4 { margin: 0 0 5px 0; color: var(--text-dark); }
.info-text p { margin: 0; color: var(--text-light); font-size: 14px; }

.contact-form-panel {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dynamic-fields {
    background: #F8FAFC;
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    margin-top: 10px;
    display: none;
}

.dynamic-fields.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.drag-drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #F8FAFC;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.drag-drop-zone:hover, .drag-drop-zone.dragover {
    border-color: var(--primary);
    background: #eff6ff;
}

.drag-drop-zone i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Multi-File Attachment Styles */
.file-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-dark);
}

.file-item-name {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-item-name i { color: var(--primary); }
.file-item-name .file-size { color: var(--text-light); font-size: 11px; margin-left: 5px; }

.file-item-remove {
    color: #ef4444;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}
.file-item-remove:hover { color: #b91c1c; }

/* NEW: Add More Files Button */
.btn-add-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px dashed var(--primary);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    transition: all 0.2s;
    width: fit-content;
}

.btn-add-more:hover {
    background: rgba(14, 165, 233, 0.05);
}

/* NEW: Inline Custom Validation Errors */
.inline-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: fadeIn 0.2s ease-in;
}

.inline-error i { font-size: 11px; }

/* Highlight input border on error */
.form-control.has-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.ai-deflection-banner {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-left: 4px solid #F59E0B;
    padding: 15px;
    border-radius: 4px 8px 8px 4px;
    margin-top: 20px;
    font-size: 13px;
    color: #92400E;
    display: none;
}

.ai-deflection-banner i { margin-right: 5px; color: #D97706; }

@media(max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* =========================================
   PROFILE PAGE SPECIFIC STYLES & OVERRIDES
   ========================================= */
.profile-wrapper { max-width: 1100px; margin: 30px auto; padding: 0 15px; }
.page-title-box { margin-bottom: 35px; text-align: left; }
.page-title-box h2 { font-size: 32px; margin-bottom: 8px; font-weight: 900; letter-spacing: -0.5px; color: var(--secondary); }
.page-title-box p { color: var(--text-light); font-size: 15px; margin: 0; line-height: 1.5; }
.profile-link { text-decoration: none; color: var(--text-dark); transition: var(--anim); }
.profile-link:hover { color: var(--primary); }
.profile-layout { display: flex; gap: 30px; align-items: flex-start; }

/* Vertical Tabs (Sidebar) */
.profile-sidebar { width: 280px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 20px 0; flex-shrink: 0; position: sticky; top: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.user-mini-profile { text-align: center; padding: 0 20px 20px; border-bottom: 1px solid var(--border); margin-bottom: 15px; }
.avatar-container { position: relative; width: 80px; height: 80px; margin: 0 auto 10px; }
.avatar-circle { width: 100%; height: 100%; border-radius: 50%; background: var(--primary-gradient); color: white; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 900; box-shadow: 0 4px 10px rgba(255,94,0,0.2); }
.edit-avatar { position: absolute; bottom: 0; right: 0; background: var(--white); border: 1px solid var(--border); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--secondary); cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: var(--anim); }
.edit-avatar:hover { color: var(--primary); transform: scale(1.1); }
.user-mini-profile h4 { margin: 0 0 5px; color: var(--secondary); font-size: 18px; font-weight: 800; }
.user-mini-profile p { margin: 0; font-size: 13px; color: var(--text-light); }
.tab-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 25px; background: transparent; border: none; border-left: 3px solid transparent; text-align: left; font-size: 15px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: var(--anim); }
.tab-btn i { font-size: 16px; width: 20px; text-align: center; }
.tab-btn:hover { color: var(--primary); background: #F8FAFC; }
.tab-btn.active { color: var(--primary); background: #FFFBEB; border-left-color: var(--primary); font-weight: 800; }

/* Content Area */
.profile-content { flex-grow: 1; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); min-height: 500px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Personal Info Staggered Animation */
@keyframes slideUpFade { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.stagger-anim-1 { animation: slideUpFade 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) backwards; animation-delay: 0.05s; }
.stagger-anim-2 { animation: slideUpFade 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) backwards; animation-delay: 0.15s; }
.stagger-anim-3 { animation: slideUpFade 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) backwards; animation-delay: 0.25s; }
.stagger-anim-4 { animation: slideUpFade 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) backwards; animation-delay: 0.35s; }

.panel-header { margin-bottom: 25px; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.panel-header p { margin: 0; font-size: 14px; color: var(--text-light); }

.form-row { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.form-group { flex: 1; min-width: 250px; position: relative; }
.form-group label { display: flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: #F8FAFC; font-size: 14px; outline: none; transition: 0.3s; font-family: inherit; font-weight: 500; }
.form-control:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(255,94,0,0.1); }
.form-control:disabled { background: #E2E8F0; color: #64748B; cursor: not-allowed; }

.verified-badge { color: #10B981; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; cursor: help; }

.btn-save { background: var(--primary); color: var(--white); border: none; padding: 14px 30px; border-radius: 8px; font-weight: 800; font-size: 15px; cursor: pointer; transition: var(--anim); display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 10px rgba(255,94,0,0.2); }
.btn-save:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255,94,0,0.3); }
.btn-save:disabled { background: #CBD5E1; color: #94A3B8; cursor: not-allowed; box-shadow: none; transform: none; }

.btn-danger { background: #FEF2F2; color: #DC2626; border: 1px solid #FCA5A5; padding: 12px 25px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: var(--anim); display: inline-flex; align-items: center; gap: 8px; }
.btn-danger:hover { background: #DC2626; color: white; border-color: #DC2626; }

.btn-edit-field { background: #F1F5F9; color: var(--text-dark); border: 1px solid var(--border); width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--anim); flex-shrink: 0; }
.btn-edit-field:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Gender Control */
.segmented-control { display: flex; background: #F1F5F9; border-radius: 8px; padding: 4px; border: 1px solid var(--border); height: 48px; }
.segmented-control input[type="radio"] { display: none; }
.segmented-control label { flex: 1; text-align: center; padding: 10px 15px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--text-light); transition: var(--anim); margin-bottom: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.segmented-control label:hover { background: #E2E8F0; color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.segmented-control input[type="radio"]:checked + label { background: var(--white); color: var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* Custom Toggle Switch */
.toggle-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 15px; background: #F8FAFC; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 15px; }
.toggle-text h4 { margin: 0 0 5px; font-size: 15px; color: var(--secondary); font-weight: 800; }
.toggle-text p { margin: 0; font-size: 13px; color: var(--text-light); }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #CBD5E1; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(24px); }

/* Reports Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 25px; }
.stat-card { padding: 20px; background: #F8FAFC; border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
.stat-card i { font-size: 24px; color: var(--primary); }
.stat-card .value { font-size: 24px; font-weight: 900; color: var(--secondary); }
.stat-card .label { font-size: 13px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }

/* Special Boxes */
.feature-box { background: var(--secondary-gradient); padding: 25px; border-radius: 12px; color: white; margin-bottom: 25px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.feature-box h3 { margin: 0 0 10px; font-size: 20px; font-weight: 900; color: #FFFBEB; }
.feature-box p { margin: 0 0 15px; font-size: 14px; opacity: 0.9; line-height: 1.5; }

.session-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid var(--border); }
.session-item:last-child { border-bottom: none; }
.session-info { display: flex; align-items: center; gap: 15px; }
.session-info i { font-size: 24px; color: #64748B; }
.session-info h4 { margin: 0 0 3px; font-size: 14px; color: var(--secondary); font-weight: 700; }
.session-info p { margin: 0; font-size: 12px; color: var(--text-light); }
.badge-active { background: #ECFDF5; color: #059669; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; border: 1px solid #A7F3D0; }

/* --- MODAL STYLES FOR EMAIL CHANGE --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(4px); z-index: 9999; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.show, 
.modal-overlay.active { 
    display: flex; 
    opacity: 1; 
    visibility: visible; 
}
.modal-content { background: var(--white); width: 100%; max-width: 480px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); transform: scale(0.95) translateY(20px); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); margin: 15px; display: flex; flex-direction: column; overflow: hidden; }
.modal-overlay.show .modal-content { transform: scale(1) translateY(0); }
.modal-header { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); background: #F8FAFC; }
.modal-header h3 { margin: 0; color: var(--secondary); font-size: 18px; font-weight: 900; }
.modal-close { background: var(--white); border: 1px solid var(--border); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-light); cursor: pointer; transition: var(--anim); }
.modal-close:hover { background: #FEE2E2; color: #DC2626; border-color: #FCA5A5; transform: rotate(90deg); }
.modal-body { padding: 25px; }

.email-step { display: none; animation: fadeIn 0.3s ease; }
.email-step.active { display: block; }
.step-icon-large { width: 60px; height: 60px; background: #FFFBEB; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 15px; }

/* Shake Error Animation */
@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.shake-anim { animation: shake 0.4s ease-in-out; border-color: #DC2626 !important; background: #FEF2F2 !important; }
.error-message { display: none; background: #FEF2F2; color: #DC2626; border: 1px solid #FCA5A5; padding: 10px 15px; border-radius: 8px; font-size: 13px; align-items: center; gap: 8px; line-height: 1.4; text-align: left; }
.error-message.show { display: flex; }
.error-message.shake { animation: shake 0.4s ease-in-out; }

/* ========================================================
   FIXED: STRICTLY SMALL, COMPACT GLOBAL TOAST 
   ======================================================== */
.custom-toast {
    position: fixed !important; top: 25px !important; left: 50% !important;
    transform: translateX(-50%) translateY(-150px) !important; background: #10B981 !important; color: #ffffff !important;
    padding: 0 20px !important; border-radius: 30px !important; font-size: 14px !important; font-weight: 600 !important;
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important; width: max-content !important; min-width: 200px !important;
    max-width: 90vw !important; height: 45px !important; margin: 0 !important; bottom: auto !important; right: auto !important;
    z-index: 999999 !important; transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s !important;
    opacity: 0; pointer-events: none !important;
}
.custom-toast.show { transform: translateX(-50%) translateY(0) !important; opacity: 1 !important; }

/* ========================================================
   FIXED: PREMIUM FLATPICKR CALENDAR OVERRIDES
   ======================================================== */
.flatpickr-calendar { font-family: inherit !important; border-radius: 12px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; border: 1px solid var(--border) !important; padding: 10px 0 !important; }
.flatpickr-months { display: flex !important; align-items: center !important; justify-content: center !important; height: auto !important; position: relative !important; padding: 10px 10px 15px 10px !important; overflow: visible !important; }
.flatpickr-current-month { display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; padding: 0 !important; height: auto !important; position: static !important; width: 100% !important; }

/* Unified Select Styling for both Month and custom Year dropdown */
.flatpickr-current-month .flatpickr-monthDropdown-months,
.custom-year-select {
    appearance: none !important; -webkit-appearance: none !important; -moz-appearance: none !important;
    background-color: #FFFBEB !important; 
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5E00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 8px center !important; background-size: 14px !important;
    color: var(--primary) !important; font-weight: 800 !important; font-size: 16px !important;
    border: 1px solid rgba(255, 94, 0, 0.2) !important; border-radius: 6px !important; 
    padding: 8px 30px 8px 12px !important; cursor: pointer !important; width: auto !important; margin: 0 5px 0 0 !important;
    line-height: normal !important; height: auto !important; outline: none !important; box-sizing: border-box !important;
}

.flatpickr-day.selected { background: var(--primary) !important; border-color: var(--primary) !important; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--primary) !important; }

@media(max-width: 768px) {
    .profile-layout { flex-direction: column; }
    .profile-sidebar { width: 100%; position: relative; top: 0; }
    .tab-btn { justify-content: center; text-align: center; }
}

/* =========================================
   HOW IT WORKS PAGE STYLES
   ========================================= */
.page-header { text-align: center; padding: 60px 20px; background: var(--secondary-gradient); color: var(--white); border-bottom: 5px solid var(--primary); }
.page-header h1 { font-size: 42px; font-weight: 900; margin-bottom: 15px; background: linear-gradient(90deg, #FFFFFF 0%, #FFD700 50%, #FFFFFF 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
.page-header p { font-size: 18px; color: #CBD5E1; max-width: 600px; margin: 0 auto; }

.timeline-section { padding: 60px 20px; background: var(--white); }
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 40px auto 0; position: relative; }
.step-card { background: #F8FAFC; padding: 30px 25px; border-radius: 16px; text-align: center; border: 1px solid var(--border); transition: var(--anim); position: relative; z-index: 2; }
.step-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.06); border-color: var(--primary); }
.step-icon { width: 60px; height: 60px; background: var(--white); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 15px; box-shadow: 0 8px 15px rgba(255, 94, 0, 0.15); }
.step-card h3 { color: var(--secondary); margin-bottom: 10px; font-size: 18px; }
.step-card p { color: var(--text-light); font-size: 14px; line-height: 1.5; }

.calculator-section { padding: 60px 20px; background: var(--secondary-gradient); color: var(--white); text-align: center; }
.calc-heading { font-size: 32px; font-weight: 900; margin-bottom: 10px; background: linear-gradient(90deg, #FFFFFF 0%, #FFD700 50%, #FFFFFF 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 3s linear infinite; }

.calc-container { max-width: 600px; margin: 0 auto; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 35px 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 15px 35px rgba(0,0,0,0.2); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease; }
.calc-container:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(0,0,0,0.3); }

.slider-wrapper { margin: 25px 0; position: relative; }
.range-slider { width: 100%; -webkit-appearance: none; height: 8px; border-radius: 5px; background: rgba(255,255,255,0.2); outline: none; transition: 0.3s; }
.range-slider:active { background: rgba(255,255,255,0.3); }
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 0 15px rgba(255, 94, 0, 0.8); transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); }
.range-slider::-webkit-slider-thumb:hover, .range-slider:active::-webkit-slider-thumb { transform: scale(1.3); }

.calc-value { font-size: 28px; font-weight: 900; color: #FFD700; margin: 10px 0; display: inline-block; transition: color 0.2s; }

.result-box { background: var(--white); color: var(--secondary); padding: 25px 20px; border-radius: 16px; margin-top: 25px; transition: var(--anim); position: relative; overflow: hidden; border: 2px solid transparent; }
.result-box:hover { transform: scale(1.02); box-shadow: 0 15px 30px rgba(0,0,0,0.15); border-color: rgba(255, 94, 0, 0.3); }
.result-box::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,94,0,0.08) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: sweepGlow 4s infinite cubic-bezier(0.25, 0.8, 0.25, 1); }
@keyframes sweepGlow { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.result-amount { font-size: 42px; font-weight: 900; color: var(--primary); line-height: 1; display: inline-block; }

@keyframes valuePop { 0% { transform: scale(1); text-shadow: none; } 50% { transform: scale(1.15); text-shadow: 0 0 20px rgba(255,215,0,0.8); } 100% { transform: scale(1); text-shadow: none; } }
.value-pop { animation: valuePop 0.25s ease-out; }

.api-note { font-size: 12px; color: rgba(255, 255, 255, 0.8); margin-top: 15px; font-style: italic; line-height: 1.4; }

.anatomy-section { padding: 60px 20px; background: #F8FAFC; }
.anatomy-container { display: flex; align-items: center; justify-content: center; gap: 15px; max-width: 900px; margin: 40px auto 0; flex-wrap: wrap; }
.anatomy-box { background: var(--white); padding: 25px; border-radius: 16px; border: 1px solid var(--border); text-align: center; flex: 1; min-width: 220px; box-shadow: 0 8px 15px rgba(0,0,0,0.03); }
.anatomy-arrow { font-size: 24px; color: var(--primary); }
.url-mock { background: #F1F5F9; padding: 8px; border-radius: 6px; font-family: monospace; font-size: 11px; color: var(--text-light); word-break: break-all; margin-top: 12px; }
.engine-pulse { width: 60px; height: 60px; background: var(--primary-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; margin: 0 auto 12px; animation: pulse-glow 2s infinite; }

.faq-section { padding: 60px 20px; background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-search { display: flex; background: #F8FAFC; border: 2px solid var(--border); border-radius: 50px; padding: 5px 20px; align-items: center; margin-bottom: 35px; transition: var(--anim); }
.faq-search:focus-within { border-color: var(--primary); background: var(--white); }
.faq-search i { color: var(--text-light); font-size: 16px; }
.faq-search input { border: none; background: transparent; padding: 12px; width: 100%; font-size: 15px; outline: none; }
.faq-categories { display: flex; gap: 8px; margin-bottom: 25px; flex-wrap: wrap; justify-content: center; }
.faq-cat-btn { background: var(--white); border: 1px solid var(--border); padding: 8px 18px; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text-light); transition: var(--anim); }
.faq-cat-btn.active, .faq-cat-btn:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: var(--anim); }
.faq-question { padding: 18px 20px; background: var(--white); display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; color: var(--secondary); font-size: 15px; user-select: none; }
.faq-question i { color: var(--primary); transition: transform 0.3s ease; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; background: #F8FAFC; color: var(--text-light); font-size: 14px; line-height: 1.6; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open { border-color: var(--primary); }
.faq-item.open .faq-question { background: #FFFBEB; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-item.open .faq-answer { padding: 18px 20px; max-height: 500px; }

@media(max-width: 768px) {
    .anatomy-container { flex-direction: column; }
    .anatomy-arrow { transform: rotate(90deg); }
    .calc-container { padding: 25px 20px; }
    .result-amount { font-size: 32px; }
}

/* =========================================
   MISSING CASHBACK STYLES
   ========================================= */
.dashboard-wrapper { max-width: 900px; margin: 30px auto; padding: 0 15px; }
.page-title-box { margin-bottom: 25px; text-align: center; }
.page-title-box h2 { font-size: 34px; margin-bottom: 8px; font-weight: 900; letter-spacing: -0.5px; background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 50%, var(--secondary) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
.page-title-box p { color: var(--text-light); font-size: 15px; max-width: 600px; margin: 0 auto; line-height: 1.5; }

.alert-banner { background: #F8FAFC; border: 1px solid var(--border); padding: 15px 20px; border-radius: 12px; margin-bottom: 25px; display: flex; gap: 15px; align-items: flex-start; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.alert-banner i { color: var(--primary); font-size: 22px; margin-top: 2px; }
.alert-banner p { margin: 0; font-size: 14px; color: var(--secondary); line-height: 1.5; }
.alert-banner strong { color: var(--text-dark); }

.section-header { margin-bottom: 20px; font-size: 24px; font-weight: 900; display: flex; align-items: center; justify-content: space-between; }
.animated-gradient-text { background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 50%, var(--secondary) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }

.smart-action-bar { background: var(--secondary-gradient); padding: 30px 25px; border-radius: 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; margin-bottom: 40px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); color: white; gap: 15px; }
.smart-action-text h3 { margin: 0 0 8px 0; font-size: 28px; font-weight: 900; background: linear-gradient(90deg, #FFFFFF 0%, #FFD700 50%, #FFFFFF 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 3s linear infinite; }
.smart-action-text p { margin: 0; font-size: 15px; opacity: 0.95; max-width: 600px; line-height: 1.5; }
.btn-smart-scan { background: var(--primary); color: var(--white); border: none; padding: 14px 28px; border-radius: 50px; font-weight: 800; font-size: 16px; cursor: pointer; transition: var(--anim); display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3); margin-top: 10px; }
.btn-smart-scan:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 25px rgba(255, 94, 0, 0.4); }

.scrollable-timeline { max-height: 480px; overflow-y: auto; overflow-x: hidden; padding: 5px 15px 5px 25px; margin-bottom: 40px; margin-left: -10px; }
.scrollable-timeline::-webkit-scrollbar { width: 6px; }
.scrollable-timeline::-webkit-scrollbar-track { background: #F1F5F9; border-radius: 10px; }
.scrollable-timeline::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
.scrollable-timeline::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

.timeline-container { position: relative; }
.timeline-item { position: relative; margin-bottom: 20px; padding: 15px 20px; background: var(--white); border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: var(--anim); }
.timeline-item:hover { transform: translateX(3px); border-color: rgba(255, 94, 0, 0.3); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
.timeline-item::before { content: ''; position: absolute; left: -18px; top: 25px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--primary); }

.timeline-item.locked::before { background: #CBD5E1; border-color: #CBD5E1; box-shadow: none; }
.timeline-item.locked { opacity: 0.8; }

.timeline-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.store-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--secondary); }
.store-logo { width: 35px; height: 35px; border-radius: 50%; object-fit: contain; border: 1px solid var(--border); background: #F8FAFC; padding: 4px; }

.store-logo-fallback { width: 35px; height: 35px; border-radius: 50%; background: #E2E8F0; color: #475569; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; border: 1px solid var(--border); }

.timeline-details { font-size: 13px; color: var(--text-light); margin-bottom: 15px; display: flex; flex-direction: column; gap: 10px; }
.timeline-details-top { display: flex; gap: 15px; flex-wrap: wrap; }
.timeline-details span { background: #F1F5F9; padding: 6px 12px; border-radius: 6px; font-family: inherit; border: 1px solid var(--border); }
.timeline-details strong { color: var(--secondary); font-weight: 700; }
.timeline-details .full-width-id { display: inline-block; max-width: 100%; word-break: break-all; }

.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.badge-wait { background: #F1F5F9; color: #64748B; border: 1px solid #CBD5E1; }
.badge-review { background: #FFFBEB; color: #D97706; border: 1px solid #FCD34D; }
.badge-resolved { background: #F0FDFA; color: #059669; border: 1px solid #34D399; }
.badge-confirmed { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE;}
.badge-rejected { background: #FEF2F2; color: #DC2626; border: 1px solid #FCA5A5; }

.btn-action { background: var(--secondary); color: var(--white); border: none; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: var(--anim); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 140px; }
.btn-action:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,94,0,0.25); }
.btn-action:disabled { background: #E2E8F0; color: #94A3B8; cursor: not-allowed; box-shadow: none; transform: none; }

.btn-cancel { background: #94A3B8; color: var(--white); border: none; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: var(--anim); min-width: 100px; display: inline-flex; align-items: center; justify-content: center; }
.btn-cancel:hover { background: #64748B; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(100,116,139,0.3); }

@keyframes pulseOrange { 0% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.4); } 70% { box-shadow: 0 0 0 8px rgba(255, 94, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); } }

.controls-wrapper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
.filter-container { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; flex-wrap: wrap; }

.time-filter { appearance: none; -webkit-appearance: none; background-color: #FFFBEB; border: 2px solid var(--primary); color: var(--primary); padding: 10px 40px 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 800; cursor: pointer; outline: none; transition: var(--anim); background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23ff5e00' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 10px 12px; box-shadow: 0 4px 10px rgba(255,94,0,0.15); }
.time-filter:focus, .time-filter:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255,94,0,0.25); }

/* --- FILE UPLOAD STYLES --- */
.file-upload-wrapper { position: relative; border: 2px dashed var(--border); border-radius: 8px; padding: 20px; text-align: center; background: #F8FAFC; transition: 0.3s; cursor: pointer; margin-bottom: 5px; }
.file-upload-wrapper:hover { border-color: var(--primary); background: #FFFBEB; }
.file-upload-wrapper input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.reply-file-upload { padding: 15px; border: 2px dashed #CBD5E1; border-radius: 8px; background: #F8FAFC; text-align: center; position: relative; cursor: pointer; transition: var(--anim); }
.reply-file-upload:hover { border-color: var(--primary); background: #FFFBEB; }
.reply-file-upload input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.file-list-container { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-height: 120px; overflow-y: auto; padding-right: 5px; }
.file-list-container::-webkit-scrollbar { width: 4px; }
.file-list-container::-webkit-scrollbar-track { background: #F8FAFC; border-radius: 4px; }
.file-list-container::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

.file-item { display: flex; justify-content: space-between; align-items: center; background: #E0E7FF; border: 1px solid #C7D2FE; color: #3730A3; padding: 8px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.remove-file { color: #DC2626; cursor: pointer; font-size: 14px; padding: 0 5px; }
.remove-file:hover { color: #991B1B; }

.modal-footer { padding: 15px 25px; border-top: 1px solid var(--border); background: #F8FAFC; display: flex; justify-content: flex-end; gap: 12px; flex-shrink: 0; }

.ticket-disclaimer { margin-bottom: 20px; }
.info-alert { background: #F8FAFC; border-left: 4px solid var(--primary); padding: 12px 15px; border-radius: 8px; font-size: 13px; color: var(--secondary); line-height: 1.5; }
.success-alert { background: #ECFDF5; border-left: 4px solid #10B981; padding: 12px 15px; border-radius: 8px; font-size: 13px; color: #065F46; line-height: 1.5; }
.error-alert { background: #FEF2F2; border-left: 4px solid #DC2626; padding: 12px 15px; border-radius: 8px; font-size: 13px; color: #991B1B; line-height: 1.5; }

/* Chat & Attachments */
.chat-thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 15px; background: #F8FAFC; padding: 15px; border-radius: 10px; border: 1px solid var(--border); }
.chat-msg { background: var(--white); padding: 12px; border-radius: 8px; border: 1px solid var(--border); font-size: 13px; line-height: 1.5; }
.chat-msg.agent { border-left: 3px solid var(--primary); }
.chat-header { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 11px; color: var(--text-light); }
.chat-header strong { color: var(--secondary); }
.chat-attachment { display: inline-flex; align-items: center; gap: 8px; background: #F1F5F9; border: 1px solid #CBD5E1; padding: 6px 12px; border-radius: 6px; font-size: 11px; color: #475569; margin-top: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; text-decoration: none; }
.chat-attachment:hover { background: #E2E8F0; border-color: #94A3B8; color: var(--primary); }

.modern-store-card { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: var(--white); transition: var(--anim); }
.modern-store-card:hover { border-color: var(--primary); box-shadow: 0 5px 15px rgba(255,94,0,0.1); transform: translateY(-2px); }
.modern-store-card .store-info-left { display: flex; align-items: center; gap: 15px; }
.modern-store-card .store-info-left h4 { margin: 0 0 4px 0; color: var(--secondary); font-size: 16px; font-weight: 800; }
.modern-store-card .store-info-left p { margin: 0; color: var(--text-light); font-size: 12px; }

@media(max-width: 768px) {
    .smart-action-bar { padding: 25px 15px; }
    .btn-smart-scan { width: 100%; justify-content: center; }
    .timeline-container { padding-left: 15px; }
    .timeline-item::before { left: -18px; width: 10px; height: 10px; top: 22px; }
    .timeline-header { flex-direction: column; align-items: flex-start; }
    .timeline-details-top { gap: 10px; flex-direction: column; }
    .timeline-details span { width: 100%; text-align: left; }
    .btn-action { width: 100%; justify-content: center; }
    .modern-store-card { flex-direction: column; gap: 15px; align-items: stretch; text-align: center; }
    .modern-store-card .store-info-left { flex-direction: column; text-align: center; }
    .controls-wrapper { flex-direction: column; align-items: stretch; }
    .time-filter { width: 100%; }
}

/* =========================================
   EARNINGS & CASHOUT DASHBOARD STYLES
   ========================================= */

/* Earnings Summary Cards */
.earnings-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; }
.earn-card { padding: 25px 20px; border-radius: 16px; border: 1px solid var(--border); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.earn-icon { width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 15px; }
.earn-info p { margin: 0 0 5px; font-size: 13px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.earn-info h3 { margin: 0; font-size: 28px; font-weight: 900; color: var(--secondary); }

.earn-card.pending { background: #FFFBEB; border-color: #FCD34D; }
.earn-card.pending .earn-icon { background: #FEF3C7; color: #D97706; }
.earn-card.pending h3 { color: #B45309; }

.earn-card.available { background: #ECFDF5; border-color: #6EE7B7; }
.earn-card.available .earn-icon { background: #D1FAE5; color: #059669; }
.earn-card.available h3 { color: #047857; }

/* --- Dark Premium Lifetime Earnings Card --- */
.earn-card.lifetime { 
    background: var(--secondary-gradient) !important; 
    border: none !important; 
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.15);
}
.earn-card.lifetime .earn-icon { 
    background: rgba(255,255,255,0.1) !important; 
    color: var(--white) !important; 
}
.earn-card.lifetime .earn-info p { 
    color: #CBD5E1 !important; 
}
.earn-card.lifetime .earn-info h3 { 
    color: var(--white) !important; 
}

.missing-deflect-link { display: inline-block; margin-top: 15px; font-size: 11px; color: #D97706; font-weight: 700; text-decoration: none; transition: var(--anim); }
.missing-deflect-link:hover { color: #92400E; text-decoration: underline; }

/* Cashout Center */
.cashout-center-box { background: var(--white); padding: 30px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 8px 20px rgba(0,0,0,0.02); margin-bottom: 30px; }
.cashout-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.cashout-header h4 { margin: 0; font-size: 18px; color: var(--secondary); font-weight: 800; }
.threshold-status { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 50px; background: #F1F5F9; color: var(--text-light); }
.threshold-status.active { background: #D1FAE5; color: #059669; }

/* Progress Bar with Shimmer */
.progress-container { margin-bottom: 25px; }
.progress-text { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.progress-bar-bg { width: 100%; height: 10px; background: #E2E8F0; border-radius: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--primary); border-radius: 10px; transition: width 1s ease-in-out; }

@keyframes shimmer-green {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.shimmer-bg {
    background: linear-gradient(90deg, #10B981 0%, #34D399 50%, #10B981 100%);
    background-size: 200% auto;
    animation: shimmer-green 2s infinite linear;
}

/* Express Payout Options */
.payout-speed-box { background: #F8FAFC; padding: 20px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 25px; }
.speed-title { margin: 0 0 15px; font-size: 14px; font-weight: 700; color: var(--secondary); }
.speed-options { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.speed-card { display: block; position: relative; cursor: pointer; }
.speed-card input { position: absolute; opacity: 0; }
.speed-card-content { border: 2px solid var(--border); background: var(--white); padding: 15px; border-radius: 10px; transition: var(--anim); display: flex; align-items: center; gap: 12px; }
.speed-card-content i { font-size: 24px; color: var(--text-light); }
.speed-card-content strong { display: block; font-size: 14px; color: var(--text-dark); margin-bottom: 3px; }
.speed-card-content span { display: block; font-size: 11px; color: var(--text-light); font-weight: 600; }
.speed-card input:checked + .speed-card-content { border-color: var(--primary); background: #FFFBEB; }
.speed-card input:checked + .speed-card-content i { color: var(--primary); }
.speed-card.express input:checked + .speed-card-content { border-color: #F59E0B; background: #FEF3C7; }

/* Withdraw Buttons */
.cashout-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-cashout { flex: 1; padding: 16px; border-radius: 12px; font-weight: 800; font-size: 15px; cursor: pointer; transition: var(--anim); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: none; min-width: 200px; }
.btn-cashout.gc-btn { background: var(--secondary); color: var(--white); position: relative; overflow: hidden; }
.btn-cashout.gc-btn:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 94, 0, 0.3); }
.bonus-tag { background: #FFD700; color: #92400E; font-size: 10px; padding: 3px 8px; border-radius: 50px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-cashout.bank-btn { background: var(--white); color: var(--secondary); border: 2px solid var(--border); }
.btn-cashout.bank-btn:hover { border-color: var(--secondary); background: #F8FAFC; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); }

/* Visual Tracker Modal */
.payout-visual-tracker { display: flex; align-items: center; justify-content: space-between; background: #F8FAFC; padding: 25px 30px; border-bottom: 1px solid var(--border); }
.tracker-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 2; width: 60px; }
.tracker-icon { width: 35px; height: 35px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 14px; transition: var(--anim); }
.tracker-step span { font-size: 11px; font-weight: 700; color: var(--text-light); text-align: center; }
.tracker-step.active .tracker-icon { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 0 10px rgba(255,94,0,0.3); }
.tracker-step.active span { color: var(--text-dark); }
.tracker-line { flex: 1; height: 3px; background: var(--border); margin: 0 -15px 25px -15px; position: relative; z-index: 1; transition: var(--anim); }
.tracker-line.active { background: var(--primary); }

@media (max-width: 600px) {
    .speed-options { grid-template-columns: 1fr; }
    .cashout-buttons { flex-direction: column; }
    .payout-visual-tracker { padding: 20px 15px; }
}

/* --- Balance Breakup Accordion Styles --- */
.balance-breakup {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}
.balance-breakup.show {
    max-height: 300px;
    opacity: 1;
    padding: 15px 20px 20px;
}
.breakup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}
.breakup-item:last-of-type { border-bottom: none; }
.breakup-item span { color: var(--text-light); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.breakup-item strong { color: var(--text-dark); font-size: 16px; font-weight: 800; }
.total-card { border-radius: 16px !important; z-index: 2; position: relative; }
.total-card.open { border-radius: 16px 16px 0 0 !important; }
.total-card.open #balance-chevron { transform: rotate(180deg); }

/* --- Locked/Disabled Cashout Buttons --- */
.btn-cashout:disabled {
    background: #E2E8F0 !important;
    color: #94A3B8 !important;
    border-color: #CBD5E1 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}
.btn-cashout:disabled i { 
    color: #94A3B8 !important; 
}

/* --- Identical Withdraw Buttons & Lock States --- */
.btn-cashout {
    flex: 1;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: var(--anim);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    min-width: 200px;
    background: var(--secondary); /* Both buttons now use identical secondary background */
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.btn-cashout:hover:not(:disabled) {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.3);
}
.btn-cashout:disabled {
    background: #E2E8F0 !important;
    color: #94A3B8 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* --- Premium View Button in Table --- */
.table-btn {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    transition: var(--anim);
}
.table-btn:hover {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(255,94,0,0.2);
}

/* --- Express Payout Selection Animation --- */
@keyframes borderPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.speed-card input:checked + .speed-card-content {
    border-color: var(--primary);
    background: #FFFBEB;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255,94,0,0.1);
}
.speed-card.express input:checked + .speed-card-content {
    border-color: #F59E0B;
    background: #FEF3C7;
    animation: borderPulse 2s infinite;
}
/* Matches Analytics & Reports Dropdown Style */
.time-filter { 
    appearance: none; 
    -webkit-appearance: none; 
    background-color: #FFFBEB !important; /* Soft Cream - Not too bright */
    border: 2px solid var(--primary) !important; /* Professional Orange Border */
    color: var(--primary) !important; 
    padding: 10px 40px 10px 20px !important; 
    border-radius: 50px !important; 
    font-size: 14px !important; 
    font-weight: 800 !important; 
    cursor: pointer; 
    outline: none; 
    transition: var(--anim); 
    /* Custom Orange Arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23ff5e00' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") !important; 
    background-repeat: no-repeat !important; 
    background-position: right 15px center !important; 
    background-size: 10px 12px !important; 
    box-shadow: 0 4px 10px rgba(255,94,0,0.15) !important; 
}

.time-filter:focus, .time-filter:hover { 
    transform: translateY(-2px); /* Same hover animation as Reports */
    box-shadow: 0 6px 15px rgba(255,94,0,0.25) !important; 
}

/* Upgraded Inner Dropdown Menu Options */
.time-filter option {
    background-color: var(--white);
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    padding: 10px;
}

/* --- Smooth Hover Animations for Payout Cards --- */
.speed-card:hover .speed-card-content {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: var(--primary);
}
.speed-card.express:hover .speed-card-content {
    border-color: #F59E0B;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}
/* --- Fix Table Date Wrapping --- */
.ml-table td:nth-child(2) { 
    white-space: nowrap; 
}

/* --- Modern Dropdown for Modals --- */
.modern-dropdown {
    appearance: none; 
    -webkit-appearance: none;
    background-color: var(--white);
    border: 2px solid var(--border);
    color: var(--secondary);
    padding: 12px 40px 12px 15px;
    font-weight: 600;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; 
    background-position: right 15px center; 
    background-size: 16px;
}
.modern-dropdown:focus { 
    border-color: var(--primary); 
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1); 
}
/* --- Fix Table Date Wrapping --- */
.ml-table td:nth-child(2) { 
    white-space: nowrap; 
}

/* --- Modern Dropdown for Modals --- */
.modern-dropdown {
    appearance: none; 
    -webkit-appearance: none;
    background-color: var(--white);
    border: 2px solid var(--border);
    color: var(--secondary);
    padding: 12px 40px 12px 15px;
    font-weight: 600;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; 
    background-position: right 15px center; 
    background-size: 16px;
}
.modern-dropdown:focus { 
    border-color: var(--primary); 
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1); 
}

/* =========================================
   MY ORDERS TAB STYLES (UPDATED)
   ========================================= */
.order-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: var(--anim);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Point 1: Shimmer Animation on Hover */
.order-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s ease-in-out;
    z-index: 1;
    pointer-events: none;
}
.order-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.1);
    transform: translateY(-2px);
}
.order-card:hover::before {
    left: 150%;
}

.order-card > * { position: relative; z-index: 2; }

/* Point 4: Outside Card Structure */
.order-main-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 220px;
}
.order-text-info h4 { margin: 0 0 5px; font-size: 16px; color: var(--secondary); font-weight: 800; }
.order-text-info p { margin: 0; font-size: 12px; color: var(--text-light); font-weight: 600; }
.order-text-info span { display: block; margin-top: 3px; font-size: 12px; color: var(--text-light); }

.order-financials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    min-width: 150px;
}
.order-financials .spent { font-size: 13px; color: var(--text-light); font-weight: 600; }
.order-financials .earned { font-size: 18px; font-weight: 900; color: var(--cashback-green); }
.order-financials .earned.zero { color: var(--text-light); }

/* Point 5: Status Badge Alignment */
.order-status-wrap {
    min-width: 100px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .order-card { flex-direction: column; align-items: flex-start; gap: 15px; }
    .order-financials { align-items: flex-start; }
    .order-status-wrap { width: 100%; justify-content: flex-start; margin-top: 5px; }
}

/* =========================================
   ORDER TRACKING TIMELINE STYLES (MODAL)
   ========================================= */
.vertical-tracker {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
}
.v-step {
    display: flex;
    gap: 15px;
    position: relative;
    padding-bottom: 25px;
}
.v-step:last-child { padding-bottom: 0; }
.v-step::before {
    content: '';
    position: absolute;
    left: 14px; /* Center of the 30px icon */
    top: 30px;
    bottom: 0;
    width: 2px;
    background: #E2E8F0;
    z-index: 1;
}
.v-step:last-child::before { display: none; }
.v-step.active::before { background: var(--primary); }

.v-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 2px solid #CBD5E1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: #94A3B8;
    font-size: 12px;
    position: relative;
    flex-shrink: 0;
}
.v-step.active .v-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1);
}
.v-step.cancelled .v-icon {
    background: #DC2626;
    border-color: #DC2626;
    color: white;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.v-content {
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}
.v-content strong { font-size: 14px; color: var(--secondary); margin-bottom: 3px; }
.v-content span { font-size: 12px; color: var(--text-light); }
.v-content.cancelled-text strong { color: #DC2626; }

/* Distinct Color for Confirmed Status */
.badge-confirmed { 
    background: #EFF6FF; 
    color: #2563EB; 
    border: 1px solid #BFDBFE; 
}

/* Unified Fonts for Order ID, Date, and Amount */
.order-text-info p, 
.order-text-info span, 
.order-financials .spent {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-light) !important;
    margin-bottom: 2px;
}
/* =========================================
   RAISE TICKET RETAILER CARDS
   ========================================= */
.retailer-select-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    transition: var(--anim);
}
.retailer-select-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.retailer-select-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.retailer-select-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: var(--secondary);
    font-weight: 800;
}
.retailer-select-info span {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-select {
    background: #0B1120; /* Dark Navy Blue */
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--anim);
}
.btn-select:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.2);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Max Width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Main Layout Stacking */
    .profile-layout {
        flex-direction: column;
    }
    
    .profile-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    /* Make sidebar tabs scrollable horizontally on mobile */
    .profile-sidebar {
        display: flex;
        flex-direction: column;
    }
    .profile-sidebar .tab-btn {
        text-align: left;
    }

    /* 2. Order Card Mobile View */
    .order-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .order-main-info {
        width: 100%;
    }

    /* Put financials and status side-by-side or stack them neatly */
    .order-financials {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px dashed var(--border);
        padding-top: 10px;
    }
    .order-financials span {
        margin-bottom: 0 !important;
    }

    .order-status-wrap {
        width: 100%;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center !important;
        margin-top: 5px;
    }

    /* Hide the chevron arrow on mobile to save space */
    .order-card > .fa-chevron-right {
        display: none;
    }

    /* 3. Controls & Filters (Orders Tab) */
    .controls-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-container {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap;
        /* Hides scrollbar but allows scrolling */
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }
    .filter-container::-webkit-scrollbar { 
        display: none; 
    }

    .controls-wrapper > div:last-child {
        flex-direction: column;
        align-items: stretch;
    }
    .controls-wrapper select, .controls-wrapper button, .controls-wrapper label {
        width: 100%;
        justify-content: center;
    }

    /* 4. Modals */
    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }

    /* Fix the drawer grid inside the Order Details Modal */
    .drawer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns instead of 4 */
        gap: 15px;
    }

    /* 5. Missing Order Deflection Box */
    .stagger-anim-3[style*="background: #F8FAFC"] {
        flex-direction: column;
        text-align: center;
    }
    .stagger-anim-3[style*="background: #F8FAFC"] div {
        text-align: center !important;
    }
    .stagger-anim-3[style*="background: #F8FAFC"] button {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   EXTRA SMALL MOBILE (Max Width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .drawer-grid {
        grid-template-columns: 1fr; /* Stack into 1 column on very small phones */
    }
    
    .stats-grid {
        grid-template-columns: 1fr; /* Stack performance reports */
    }
}

/* =========================================
   ADVANCED REPORTS DASHBOARD STYLES
   ========================================= */

.report-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.report-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: var(--anim);
    overflow: hidden;
}

.report-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.report-card.full-width {
    width: 100%;
}

.report-row-split {
    display: flex;
    gap: 20px;
    width: 100%;
}

.report-row-split > .report-card {
    flex: 1; /* Forces side-by-side cards to be exactly 50% width */
    min-width: 0; 
}

/* Stack them vertically on mobile */
@media (max-width: 991px) {
    .report-row-split {
        flex-direction: column;
    }
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    background: var(--white);
    transition: background 0.3s ease;
}

.report-header:hover {
    background: #F8FAFC;
}

.report-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-header h4 {
    margin: 0;
    font-size: 16px;
    color: var(--secondary);
    font-weight: 800;
}

/* Accordion Toggle Icon Animation */
.toggle-icon {
    font-size: 16px;
    color: var(--text-light);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.report-card.open .toggle-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Collapsible Body */
.report-body {
    display: none;
    padding: 0 20px 20px 20px;
    border-top: 1px dashed var(--border);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.report-card.open .report-body {
    display: block;
    opacity: 1;
}

.report-subtext {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
    margin-top: 5px;
}

/* Specific Badges */
.report-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-neutral { background: #F1F5F9; color: #475569; }
.badge-premium { background: #FEF3C7; color: #D97706; border: 1px solid #FCD34D; }
.badge-success { background: #ECFDF5; color: #059669; }
.badge-danger { background: #FEF2F2; color: #DC2626; }
.badge-info { background: #EFF6FF; color: #2563EB; }

.chart-container {
    position: relative;
    width: 100%;
    flex-grow: 1;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chart-center-data {
    position: absolute; 
    top: 42%; /* Fixes the off-center issue caused by the bottom legend */
    left: 50%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    pointer-events: none; 
    width: 120px;
    z-index: 10;
}

/* Link Health List */
.link-health-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.lh-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.lh-info strong { display: block; font-size: 14px; color: var(--secondary); margin-bottom: 2px; }
.lh-info span { font-size: 11px; color: var(--text-light); text-transform: uppercase; }

.lh-stats { display: flex; gap: 15px; font-size: 13px; font-weight: 600; color: var(--secondary); }
.lh-stats .clicks { color: #3B82F6; }
.lh-stats .sales { color: #10B981; }

.lh-ctr { font-weight: 800; font-size: 13px; padding: 4px 8px; border-radius: 6px; }
.lh-ctr.good { background: #D1FAE5; color: #065F46; }
.lh-ctr.avg { background: #FEF3C7; color: #92400E; }
.lh-ctr.bad { background: #FEE2E2; color: #991B1B; }

/* Smart Recommendations Card */
.smart-recs-card {
    background: var(--secondary-gradient);
    color: white;
    border: none;
}
.smart-recs-card .report-header {
    background: transparent;
}
.smart-recs-card .report-header:hover {
    background: rgba(255, 255, 255, 0.05);
}
.smart-recs-card .report-body {
    border-top: 1px dashed rgba(255,255,255,0.2);
}

.rec-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.rec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 10px;
}

.rec-icon {
    width: 40px; height: 40px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: white;
}

.rec-text { flex-grow: 1; }
.rec-text strong { display: block; font-size: 14px; margin-bottom: 3px; }
.rec-text span { font-size: 11px; color: #CBD5E1; }

/* UI COMPONENTS (TOGGLES & DROPDOWNS) */
.report-mini-select {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    outline: none;
    cursor: pointer;
}

.toggle-btn {
    background: #F1F5F9;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    color: var(--text-light);
    transition: 0.3s;
}

.toggle-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}
/* =========================================
   FORCED SPLIT ROW LAYOUT (WEB VIEW FIX)
   ========================================= */
.report-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.report-card.full-width {
    width: 100%;
}

.report-row-split {
    display: flex;
    gap: 20px;
    width: 100%;
}

.report-row-split > .report-card {
    flex: 1; /* Forces the two grouped cards to share exactly 50% width */
    min-width: 0; /* Prevents long text from blowing out the card width */
}

/* Stack them vertically on mobile */
@media (max-width: 991px) {
    .report-row-split {
        flex-direction: column;
    }
}/* =========================================
   FORCED SPLIT ROW LAYOUT (WEB VIEW FIX)
   ========================================= */
.report-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.report-card.full-width {
    width: 100%;
}

.report-row-split {
    display: flex;
    gap: 20px;
    width: 100%;
}

.report-row-split > .report-card {
    flex: 1; /* Forces the two grouped cards to share exactly 50% width */
    min-width: 0; /* Prevents long text from blowing out the card width */
}

/* Stack them vertically on mobile */
@media (max-width: 991px) {
    .report-row-split {
        flex-direction: column;
    }
}/* =========================================
   FORCED SPLIT ROW LAYOUT (WEB VIEW FIX)
   ========================================= */
.report-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.report-card.full-width {
    width: 100%;
}

.report-row-split {
    display: flex;
    gap: 20px;
    width: 100%;
}

.report-row-split > .report-card {
    flex: 1; /* Forces the two grouped cards to share exactly 50% width */
    min-width: 0; /* Prevents long text from blowing out the card width */
}

/* Stack them vertically on mobile */
@media (max-width: 991px) {
    .report-row-split {
        flex-direction: column;
    }
}/* =========================================
   FORCED SPLIT ROW LAYOUT (WEB VIEW FIX)
   ========================================= */
.report-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.report-card.full-width {
    width: 100%;
}

.report-row-split {
    display: flex;
    gap: 20px;
    width: 100%;
}

.report-row-split > .report-card {
    flex: 1; /* Forces the two grouped cards to share exactly 50% width */
    min-width: 0; /* Prevents long text from blowing out the card width */
}

/* Stack them vertically on mobile */
@media (max-width: 991px) {
    .report-row-split {
        flex-direction: column;
    }
}

/* =========================================
   ADVANCED REPORTS: DESKTOP LAYOUT FIXES
   ========================================= */
.report-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.report-card.full-width {
    width: 100%;
}

.report-row-split {
    display: flex;
    gap: 20px;
    width: 100%;
}

.report-row-split > .report-card {
    flex: 1; /* Forces side-by-side cards to be exactly 50% width */
    min-width: 0; 
}

/* Stack them vertically on mobile */
@media (max-width: 991px) {
    .report-row-split {
        flex-direction: column;
    }
}


/* =========================================
   BUTTERY SMOOTH NO-LAG ACCORDION (FIXED)
   ========================================= */
.report-body {
    display: block !important;
    max-height: 0px !important;
    overflow: hidden !important;
    padding: 0 20px !important;
    opacity: 0 !important;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease !important;
    border-top: 1px solid transparent !important;
}

.report-card.open .report-body {
    max-height: 1200px !important; /* Enough space for the full-width charts */
    padding: 15px 20px 20px 20px !important;
    opacity: 1 !important;
    border-top: 1px dashed var(--border) !important;
}
#chart-center-data {
    transition: opacity 0.3s ease;
}

/* =========================================
   PREMIUM DROPDOWN STYLING
   ========================================= */
.premium-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.premium-select {
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 35px 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    outline: none;
}

.premium-select:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.premium-select:focus {
    border-color: #3b82f6;
    outline: 2px solid rgba(59, 130, 246, 0.2);
}

.premium-dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #64748b;
    pointer-events: none;
}

.toggle-btn {
    background: #F1F5F9;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    color: var(--text-light);
    transition: 0.3s;
}
.toggle-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* =========================================
   PREMIUM DROPDOWN STYLING
   ========================================= */
.premium-select {
    appearance: none; /* Hides default ugly browser arrow */
    -webkit-appearance: none;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 35px 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    outline: none;
}

.premium-select:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.premium-select:focus {
    border-color: #3b82f6;
    outline: 2px solid rgba(59, 130, 246, 0.2);
}

/* =========================================
   SAFE UI OVERRIDES (HEADINGS, BUTTONS, & LAYOUT)
   ========================================= */

/* 1. Make all report card headings slightly bigger */
.report-card .report-header h4 {
    font-size: 17px !important;
    line-height: 1.2 !important;
}

/* 2. Button padding, text size, and hover animation */
.toggle-btn {
    padding: 6px 14px !important; 
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.toggle-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    background-color: #E2E8F0 !important; 
    color: var(--secondary) !important;   
}

.toggle-btn:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: none !important;
}

.toggle-btn.active:hover {
    background-color: var(--secondary) !important;
    color: white !important;
}

/* 3. RESTORE BROKEN CARD LAYOUT & BORDERS */
.report-card {
    border: 1px solid var(--border) !important; 
    transition: border-color 0.2s ease !important; /* Adds a smooth color fade */
}

/* This brings back your orange hover border! */
.report-card:hover {
    border-color: var(--primary) !important; 
}

.report-header {
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important;
}

/* =========================================
   PREMIUM CUSTOM TOOLTIP (DARK THEME & WIDER)
   ========================================= */
.premium-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    cursor: pointer;
    color: #94A3B8;
    font-size: 14px;
    transition: color 0.2s ease;
}

.premium-tooltip-wrapper:hover {
    color: #F59E0B; /* Golden Orange on hover */
}

/* The Premium Tooltip Box (Drops DOWN, Dark Background, 340px Wide) */
.premium-tooltip-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%; 
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 12px; 
    
    background: var(--secondary); /* Dark blue premium background */
    color: #FFFFFF; /* White readable text */
    
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px; 
    font-weight: 500;
    line-height: 1.5;
    
    width: 340px; /* Wider so text fits beautifully horizontally */
    
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25); 
    border: 1px solid rgba(255,255,255,0.1); 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    
    z-index: 999999 !important; 
    box-sizing: border-box !important;
    white-space: normal !important;
}

/* =========================================
   PREMIUM CUSTOM TOOLTIP (RIGHT-SIDE FIX)
   ========================================= */
.premium-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    cursor: pointer;
    color: #94A3B8;
    font-size: 14px;
    transition: color 0.2s ease;
}

.premium-tooltip-wrapper:hover {
    color: #F59E0B; /* Golden Orange on hover */
}

/* The Premium Tooltip Box (Pops to the RIGHT to avoid clipping) */
.premium-tooltip-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%; 
    left: 100%;
    bottom: auto;
    transform: translateY(-50%);
    margin-top: 0; 
    margin-left: 12px; /* Space between icon and box */
    
    background: var(--secondary); 
    color: #FFFFFF; 
    
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px; 
    font-weight: 500;
    line-height: 1.4;
    
    width: 320px; 
    text-align: left; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
    border: 1px solid rgba(255,255,255,0.1); 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    
    z-index: 999999 !important; 
    box-sizing: border-box !important;
    white-space: normal !important;
}

/* The little arrow (Matches background and points LEFT) */
.premium-tooltip-wrapper::before {
    content: '';
    position: absolute;
    top: 50%; 
    left: 100%;
    bottom: auto;
    transform: translateY(-50%);
    margin-top: 0;
    margin-left: 6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent var(--secondary) transparent transparent; 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000000 !important;
}

/* CRITICAL RULE: Show the tooltip smoothly on hover */
.premium-tooltip-wrapper:hover::after,
.premium-tooltip-wrapper:hover::before {
    opacity: 1;
}

/* =========================================
   ADVANCED BOUNCE REPORT STYLING
   ========================================= */

/* Top Metrics Grid */
.bounce-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.bounce-metric-box {
    background: #F8FAFC;
    border: 1px solid var(--border);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-label {
    font-size: 11px;
    color: #64748B;
    text-transform: uppercase;
    font-weight: 700;
}

.metric-value {
    font-size: 18px;
    color: var(--secondary);
}

.text-danger {
    color: #EF4444; /* Alert Red for lost money */
}

/* Up/Down Trend Badges */
.trend-badge {
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 4px;
    width: fit-content;
}

/* Green: Good trend (bounces went down) */
.trend-down {
    background: #ECFDF5;
    color: #10B981;
}

/* Red: Bad trend (bounces went up) */
.trend-up.bad-trend {
    background: #FEF2F2;
    color: #EF4444;
}

/* Retailer Breakdown List */
.bounce-retailer-breakdown {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}

.breakdown-title {
    font-size: 12px;
    text-transform: uppercase;
    color: #64748B;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.retailer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.retailer-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.retailer-loss {
    font-weight: 700;
    color: #EF4444;
}

/* Brand Dots for list */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.amazon-dot { background: #F59E0B; }
.flipkart-dot { background: #3B82F6; }

/* Subdued icon to not distract from the data */
.info-icon { 
    font-size: 12px; 
    color: #CBD5E1; 
    transition: color 0.2s;
}
.info-icon:hover {
    color: var(--secondary);
}

/* Premium Toggle Container */
.premium-toggle-group {
    background: #F8FAFC;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: inline-flex;
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: #FFFFFF;
    color: var(--secondary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* FOMO Indicator */
.live-velocity-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #EF4444;
    font-weight: 600;
    background: #FEF2F2;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    margin-top: auto;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #EF4444;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Copy Link Button */
.copy-deal-btn {
    width: 100%;
    padding: 10px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.copy-deal-btn:hover { background: #F59E0B; }

/* =========================================
   PREMIUM TRENDING SECTION (MASTER CSS)
   ========================================= */

/* Deep Dark Blue Background */
.premium-trending-section {
    background: #0F172A; 
    padding: 25px 40px; /* Changed side padding to 40px to align perfectly */
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 3-Column Header Layout */
.trending-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.trending-titles { 
    flex: 1; 
    min-width: 350px; /* Increased from 200px to prevent the title from squishing */
}
.trending-toggles-center { flex: 1; display: flex; justify-content: center; min-width: 200px; }
.trending-view-all { flex: 1; display: flex; justify-content: flex-end; min-width: 150px; }

.premium-heading { color: #FFFFFF; margin: 0 0 5px 0; font-size: 22px; }
.premium-subtext { color: #94A3B8; margin: 0; font-size: 14px; }

/* =========================================
   MODERN SLIDING TOGGLE
   ========================================= */
.modern-pill-toggle {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    padding: 4px;
    border-radius: 50px;
    width: 260px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #FFFFFF;
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.toggle-option {
    position: relative;
    flex: 1;
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s;
}
.toggle-option.active { color: #0F172A; }

/* PASTE THE NEW CODE RIGHT HERE */
.toggle-option:not(.active):hover {
    color: var(--primary);
}

/* =========================================
   SLIDER / CAROUSEL MECHANICS
   ========================================= */
.deals-ribbon {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    width: 100%;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.deals-ribbon::-webkit-scrollbar { display: none; }

.deal-arrow {
    background: #FFFFFF;
    color: #0F172A;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background 0.2s;
}
.deal-arrow:hover { background: #E2E8F0; }
.deal-arrow.prev { left: 0; }
.deal-arrow.next { right: 0; }

/* Premium Card Styling */
.premium-deal-card {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 280px;
    position: relative;
    border-radius: 10px;
    padding: 15px;
}
.premium-deal-card .text-light { color: #FFFFFF; }

.premium-image-box {
    height: 150px;
    background: #0F172A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 40px;
    color: #334155;
}

/* Trend Indicators */
.trend-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}
.trend-up { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.trend-down { background: rgba(239, 68, 68, 0.2); color: #F87171; }

/* =========================================
   PREMIUM TRENDING BUTTONS (Matches btn-light)
   ========================================= */
.view-all-trending-btn,
.flash-copy-icon-btn,
.flash-grab-btn {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    transition: var(--anim);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.view-all-trending-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    gap: 8px;
}

.flash-grab-btn {
    flex: 1;
    height: 44px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
}

.flash-copy-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.view-all-trending-btn:hover,
.flash-copy-icon-btn:hover,
.flash-grab-btn:hover {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 61, 0, 0.3);
}

.flash-action-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* =========================================
   TRENDING SECTION FIX (FORCES TITLE TO STAY VISIBLE)
   ========================================= */

/* Ensure the main row doesn't restrict height */
.trending-header-row {
    min-height: 80px;
    margin-bottom: 20px;
}

/* Force the heading to be visible and not clipped */
.trending-titles h2 {
    display: block !important;
    overflow: visible !important;
    width: auto !important;
}

/* Mobile Responsive: If the screen is too small, stack them so nothing hides */
@media (max-width: 900px) {
    .trending-header-row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    
    .trending-controls-wrapper {
        width: 100%;
        justify-content: space-between;
    }
}


/* ==========================================
   FORM SHAKE ANIMATION (ERRORS)
   ========================================== */
.shake-error {
    animation: formShake 0.4s cubic-bezier(.36,.07,.19,.97) both !important;
}

@keyframes formShake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Logout All Devices Button Hover Effect */
#btn-logout-all:hover {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Specific Log Out Text Button Animation */
.logout-text-btn {
    background: transparent;
    border: none;
    color: #DC2626;
    cursor: pointer;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.logout-text-btn:hover {
    background: #FEF2F2;
    color: #991B1B;
    transform: scale(1.05);
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}
/* Keep My Account Button */
.btn-keep {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-keep:hover {
    background: #0F172A; /* A slightly darker shade of your secondary color */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.2);
}
/* Delete Account Button Hover (Only works when enabled!) */
#btn-modal-delete {
    transition: all 0.3s ease;
}

#btn-modal-delete:not(:disabled):hover {
    background: #B91C1C; /* A slightly darker shade of your danger red */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}
/* ==========================================
   SIDEBAR MENU OVERLAP FIX
   ========================================== */
.profile-sidebar .tab-btn {
    position: relative; /* Ensures z-index works properly */
}

.profile-sidebar .tab-btn.active {
    z-index: 10 !important; /* Forces the active tab's borders to stay on top */
}

.profile-sidebar .tab-btn:hover {
    z-index: 5; /* Keeps hover state below the active tab but above the rest */
}

/* ==========================================
   WRITE A REVIEW SPECIFICS
   ========================================== */

/* The Sidebar Button */
.review-btn {
    width: 100%;
    background: transparent;
    border: 1px dashed var(--primary);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-btn i {
    color: #F59E0B; /* Gold star icon */
}

.review-btn:hover {
    background: #FFFBEB; /* Soft gold background */
    border-color: #F59E0B;
    color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.15);
}

/* Modal Star Rating System */
.star-rating-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.star-rating-container .star {
    font-size: 32px;
    color: #E2E8F0; /* Empty star color (gray) */
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating-container .star:hover {
    transform: scale(1.15);
}

.star-rating-container .star.active {
    color: #F59E0B; /* Filled star color (gold) */
}

/* About Us Page Specific Styles */

:root {
    --vd-orange: #FF6B00;
    --vd-orange-dark: #E55E00;
    --vd-dark: #1F2937;
    --vd-light: #F9FAFB;
}

.text-orange { color: var(--vd-orange); }

.about-page { 
    /* Remove overflow-x: hidden if it is here */
    overflow: visible !important; 
    height: auto !important; 
    min-height: 100%;
}

.about-hero {
    padding: 80px 0;
    text-align: center;
    background: transparent; /* Lets the global page color show */
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--vd-dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 800px;
    margin: 0 auto;
}

.stats-banner {
    background: var(--vd-orange);
    padding: 60px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Feature Cards & Shimmer */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.shimmer {
    background: linear-gradient(90deg, #ffffff 0%, #f9fafb 50%, #ffffff 100%);
    background-size: 200% 100%;
    animation: shimmerEffect 3s infinite linear;
}

@keyframes shimmerEffect {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Centered Journey Timeline Styling
   ========================================= */
.journey-timeline.centered {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: left;
}

/* The Central Vertical Line */
.journey-timeline.centered::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary, #FF6B00);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.journey-timeline.centered .journey-item {
    position: relative;
    width: 50%;
    margin-bottom: 40px;
    box-sizing: border-box;
}

/* Left & Right Card Positioning */
.journey-timeline.centered .left-side {
    left: 0;
    padding-right: 40px;
}

.journey-timeline.centered .right-side {
    left: 50%;
    padding-left: 40px;
}

/* Center the Icons on the Line */
.journey-timeline.centered .journey-icon {
    position: absolute;
    top: 0;
    width: 44px;
    height: 44px;
    background: #FFF;
    border: 3px solid var(--primary, #FF6B00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.2);
}

/* Snap Left Icon to Right Edge */
.journey-timeline.centered .left-side .journey-icon {
    right: -22px; /* Half of the 44px width */
    left: auto;
}

/* Snap Right Icon to Left Edge */
.journey-timeline.centered .right-side .journey-icon {
    left: -22px; /* Half of the 44px width */
    right: auto;
}

/* Keep the Hover Effects you already had */
.journey-card {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border, #E5E7EB);
    transition: transform 0.3s ease;
}

.journey-timeline.centered .left-side .journey-card:hover {
    transform: translateX(-10px);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.journey-timeline.centered .right-side .journey-card:hover {
    transform: translateX(10px);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.journey-date {
    display: inline-block;
    color: var(--primary, #FF6B00);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: rgba(255, 107, 0, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
}

.journey-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary, #1F2937);
    margin-bottom: 10px;
}

.journey-card p {
    font-size: 0.95rem;
    color: var(--text-light, #64748B);
    line-height: 1.6;
    margin: 0;
}

/* Mobile Adjustments: Stack everything back to the left on small screens */
@media (max-width: 768px) {
    .journey-timeline.centered::after {
        left: 20px;
        transform: translateX(0);
    }
    
    .journey-timeline.centered .journey-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 0 !important;
        left: 0 !important;
    }
    
    .journey-timeline.centered .journey-icon {
        left: 0 !important;
        right: auto !important;
    }
    
    .journey-timeline.centered .left-side .journey-card:hover,
    .journey-timeline.centered .right-side .journey-card:hover {
        transform: translateX(10px); /* Both move right on mobile hover */
    }
}

/* =========================================
   PARTNERS PAGE STYLES
   ========================================= */

.partners-page-wrapper {
    min-height: 80vh;
}

.partners-search-header {
    background: transparent; /* Changed to let natural page color show */
    padding: 60px 20px 40px;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Search & Filters */
.search-filter-box {
    max-width: 800px;
    margin: 0 auto;
}

.partner-search-input {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 5px 20px;
    height: 55px;
    margin-bottom: 20px;
    transition: var(--anim);
}

.partner-search-input:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.1);
}

.partner-search-input i {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 15px;
}

.partner-search-input input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 1rem;
    outline: none;
    color: var(--text-dark);
}

.filter-pills-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Partner Grid & Cards */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.partner-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--anim);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.partner-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 25px rgba(255, 94, 0, 0.1);
}

.partner-logo-wrap {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.partner-cb-text {
    font-size: 1rem;
    font-weight: 800;
    color: var(--cashback-green);
}

/* Badges & Icons */
.boost-badge {
    position: absolute;
    top: -12px;
    left: 15px;
    background: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    border: 2px solid var(--white);
    z-index: 2;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.fav-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #F1F5F9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--anim);
}

.fav-btn:hover {
    background: #FEE2E2;
    color: #EF4444;
}

.fav-btn.active {
    background: #FEE2E2;
    color: #EF4444;
}

/* Partner Modal Styles */
.partner-modal-content {
    max-width: 550px !important;
}

.modal-store-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 20px;
}

.modal-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 10px;
}

.modal-cb-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--cashback-green);
    background: #ECFDF5;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #A7F3D0;
}

.speed-badges-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.speed-badge {
    background: #F8FAFC;
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.speed-badge i {
    font-size: 1.5rem;
}

.speed-badge span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
}

.speed-badge strong {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 800;
}

.modal-terms-box {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.modal-terms-box h4 {
    margin: 0 0 10px;
    color: var(--secondary);
    font-size: 1rem;
}

.modal-terms-box ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-disclaimer {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    font-style: italic;
    background: #FFFBEB;
    border-left: 3px solid #F59E0B;
    padding: 10px;
    border-radius: 4px;
}

.modal-disclaimer i {
    color: #F59E0B;
    margin-right: 5px;
}

.modal-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn-main {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.modal-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
    border-radius: 12px;
    color: var(--secondary);
    border: 2px solid var(--border);
    background: transparent;
    font-weight: 800;
    cursor: pointer;
    transition: var(--anim);
}

.modal-btn-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

@media (max-width: 600px) {
    .speed-badges-row {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
COUPONS PAGE SPECIFIC STYLES
========================================================================== */

/* The Grid Layout */
.coupon-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 30px;
}

/* The Core Card */
.coupon-card {
background: var(--white);
border-radius: 16px;
border: 1px solid var(--border);
padding: 25px;
box-shadow: 0 4px 15px rgba(0,0,0,0.02);
display: flex;
flex-direction: column;
position: relative;
transition: var(--anim);
}

.coupon-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 25px rgba(0,0,0,0.06);
border-color: var(--primary);
}

/* Stackable Badge */
.stackable-badge {
position: absolute;
top: -12px; left: 20px;
background: #10B981;
color: white;
padding: 4px 12px;
border-radius: 50px;
font-size: 0.75rem;
font-weight: 800;
box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
display: flex;
align-items: center;
gap: 5px;
}

/* Logo & Trust Indicator Row */
.store-logo-row {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 20px;
margin-top: 10px;
}

.coupon-logo-box {
width: 60px;
height: 60px;
background: #F8FAFC;
border: 1px solid #E2E8F0;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
padding: 5px;
flex-shrink: 0;
}

.coupon-logo-box img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}

.coupon-store-name {
font-size: 1.2rem;
font-weight: 800;
color: #0F172A;
margin: 0 0 4px 0;
}

.coupon-verified {
font-size: 0.8rem;
color: #059669;
font-weight: 700;
background: #ECFDF5;
padding: 2px 8px;
border-radius: 4px;
display: inline-block;
}

/* Deal Details */
.coupon-discount {
font-size: 1.4rem;
font-weight: 900;
color: #0A2540;
margin-bottom: 8px;
line-height: 1.3;
}

.coupon-spend {
font-size: 0.85rem;
color: #F59E0B;
font-weight: 700;
margin-bottom: 10px;
}

.coupon-desc {
font-size: 0.95rem;
color: #64748B;
margin-bottom: 20px;
flex-grow: 1;
line-height: 1.5;
}

/* Footer & Expiry */
.coupon-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
border-top: 1px dashed #E2E8F0;
padding-top: 15px;
}

.coupon-expiry {
font-size: 0.85rem;
color: #EF4444;
font-weight: 700;
}

/* The "Get Code & Earn" Button */
.btn-get-code {
background: #FFF7ED;
color: var(--primary);
border: 2px dashed var(--primary);
padding: 10px 20px;
border-radius: 8px;
font-weight: 800;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.9rem;
}

.btn-get-code:hover {
background: var(--primary);
color: white;
border-style: solid;
box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
}

/* Show/Hide Details Text Swap */
.premium-details summary .text-hide { 
    display: none; 
}
.premium-details[open] summary .text-show { 
    display: none; 
}
.premium-details[open] summary .text-hide { 
    display: inline; 
}

/* Smart Logo Adjustments for Coupon Cards */
.coupon-logo-wrap {
    height: 40px; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 150px;
}
.coupon-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left;
}
.api-logo-fallback {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   COUPONS PAGE SPECIFIC STYLES
   ========================================================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 37, 64, 0.75); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { transform: translateY(20px); transition: all 0.3s ease; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.modal-overlay.active .modal-content { transform: translateY(0); }
.shimmer-title { background: linear-gradient(90deg, #0A2540 0%, #FF5E00 50%, #0A2540 100%); background-size: 200% auto; color: transparent; -webkit-background-clip: text; background-clip: text; animation: shineText 3s linear infinite; }
@keyframes shineText { to { background-position: 200% center; } }
.reveal-btn-container { position: relative; width: 100%; height: 48px; cursor: pointer; margin-top: auto; border-radius: 12px; border: 1px dashed #CBD5E1; background: #F8FAFC; display: flex; align-items: center; justify-content: flex-end; padding-right: 15px; }
.reveal-bg-text { font-family: monospace; font-weight: 800; color: #64748B; letter-spacing: 2px; font-size: 0.95rem; margin-right: 35px; z-index: 1; }
.reveal-front { position: absolute; top: -1px; left: -1px; bottom: -1px; width: 75%; background: #FF5E00; color: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 6px 16px rgba(255, 94, 0, 0.25); z-index: 2; animation: autoSlideReveal 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-btn-container:hover .reveal-front { width: 72% !important; animation-play-state: paused; }
@keyframes autoSlideReveal { 0% { width: 72%; } 50% { width: 78%; } 100% { width: 72%; } }
.orange-pill-dropdown { appearance: none; -webkit-appearance: none; background-color: #FFFDF7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23FF5E00' d='M137.4 41.4c12.5-12.5 32.8-12.5 45.3 0l128 128c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l128-128zm0 429.3l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8h256c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128c-12.5 12.5-32.8 12.5-45.3 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 10px; border: 1px solid #FF5E00; border-radius: 50px; color: #FF5E00; font-size: 0.9rem; font-weight: 800; padding: 10px 40px 10px 20px; cursor: pointer; transition: all 0.2s ease; min-width: 160px; height: 42px; }
.orange-pill-dropdown:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1); }
.btn-filter-fav { background: #FFFFFF; border: 1px solid #CBD5E1; color: #475569; padding: 0 22px; border-radius: 50px; font-size: 0.95rem; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; height: 42px; }
.btn-filter-fav:hover, .btn-filter-fav.active { background: #0A2540; color: #FFFFFF; border-color: #0A2540; box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2); }
.btn-filter-fav i { transition: color 0.3s ease; }
.btn-filter-fav:hover i, .btn-filter-fav.active i { color: #EF4444 !important; }
.premium-card { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; }
.premium-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12) !important; }
.card-actions { display: flex; gap: 8px; }
.icon-btn { background: white; border: 1px solid #E2E8F0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #94A3B8; cursor: pointer; transition: 0.2s; font-size: 0.85rem; }
.icon-btn:hover { border-color: #FF5E00; color: #FF5E00; }
.heart-btn.active { color: #EF4444; border-color: #EF4444; background: #FEF2F2; }
.premium-details { margin-bottom: 20px; }
.premium-details summary { font-size: 0.85rem; font-weight: 800; color: #64748B; padding: 10px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color 0.2s; }
.premium-details summary:hover { color: #0A2540; }
.premium-details summary::-webkit-details-marker { display: none; }
.premium-details .details-content { padding: 10px 0 15px 15px; }
.premium-details ul { margin: 0; padding: 0; font-size: 0.8rem; color: #475569; line-height: 1.6; list-style: disc; padding-left: 15px; }
.premium-details li { margin-bottom: 8px; }
.premium-details li:last-child { margin-bottom: 0; }
.premium-details strong { color: #FF5E00; font-weight: 800; background: #FFF7ED; padding: 2px 6px; border-radius: 4px; border: 1px solid #FFEDD5; }
.premium-details summary i { transition: transform 0.3s ease; }
.premium-details[open] summary i { transform: rotate(180deg); }
.modal-close { transition: all 0.3s ease; }
.modal-close:hover { color: #EF4444 !important; transform: rotate(90deg) scale(1.2); }
@keyframes premiumCodePulse { 0% { border-color: #CBD5E1; box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); } 50% { border-color: #FF5E00; box-shadow: 0 0 25px rgba(255, 94, 0, 0.35), inset 0 0 12px rgba(255, 94, 0, 0.1); } 100% { border-color: #CBD5E1; box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); } }
.premium-code-box { animation: premiumCodePulse 2s infinite ease-in-out; background: linear-gradient(to right, #ffffff, #F8FAFC); }
.btn-modal-copy { background: #0A2540; color: #FFFFFF; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 900; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2); }
.btn-modal-copy:hover { background: #FF5E00; box-shadow: 0 6px 15px rgba(255, 94, 0, 0.3); transform: translateY(-2px); }
.btn-modal-copy.copied { background: #ECFDF5 !important; color: #059669 !important; border-color: #A7F3D0 !important; transform: scale(1.05); }
@keyframes colorCycle { 0% { color: #FF5E00; } 33% { color: #3B82F6; } 66% { color: #059669; } 100% { color: #FF5E00; } }
.store-highlight { animation: colorCycle 3s linear infinite; font-weight: 900; font-size: 1.3rem; display: inline-block; transform: translateY(1px); }
.btn-modal-store { display: block; background: #0A2540; color: #FFFFFF; padding: 15px; border-radius: 12px; font-weight: 900; text-decoration: none; font-size: 1.1rem; text-align: center; box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2); transition: all 0.3s ease; }
.btn-modal-store:hover { background: #FF5E00; color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 94, 0, 0.3); }

/* ==========================================================================
   14. PARTNERS PAGE STYLES
   ========================================================================== */
.partners-search-header {
    background: transparent; 
    padding: 60px 20px 40px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.search-filter-box {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.partner-search-input {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 5px 20px;
    height: 55px;
    margin-bottom: 20px;
    transition: var(--anim);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.partner-search-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.1);
}

.partner-search-input i {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 15px;
}

.partner-search-input input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 1rem;
    outline: none;
    color: var(--text-dark);
    font-family: inherit;
}

/* Unified Filters & Dropdown Row */
.filter-controls-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-pills-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Unified Filter Pills */
.filter-pill {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--anim);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    white-space: nowrap;
}

/* Subtle change on hover */
.filter-pill:hover {
    background: #F8FAFC;
    color: var(--secondary);
    border-color: #CBD5E1;
}

/* Explicit Active/Selected State */
.filter-pill.active {
    background: var(--secondary) !important;
    color: var(--white) !important;
    border-color: var(--secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 37, 64, 0.2) !important;
}

.filter-pill.active i {
    opacity: 1 !important;
}

/* Premium Custom Dropdown */
.custom-category-select {
    padding: 12px 40px 12px 20px;
    border-radius: 50px;
    border: 2px solid var(--primary); 
    background-color: #FFF7ED; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF5E00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 15l5 5 5-5M7 9l5-5 5 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    appearance: none;
    -webkit-appearance: none;
    color: var(--primary); 
    font-weight: 900;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.15); 
}

.custom-category-select:hover, .custom-category-select:focus {
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.25);
    transform: translateY(-1px);
}

/* Dynamic Grid Layout */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* API Card Design */
.partner-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--anim);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 25px rgba(255, 94, 0, 0.15);
}

.boost-badge {
    position: absolute;
    top: -12px;
    left: 15px;
    background: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    border: 2px solid var(--white);
    z-index: 2;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.fav-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #F1F5F9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--anim);
    z-index: 5;
}

.fav-btn:hover, .fav-btn.active { 
    background: #FEE2E2; 
    color: #EF4444; 
}

/* Card Internals - Smart Logo Adjustments */
.api-logo-wrap {
    width: 100%;
    height: 55px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.api-logo-wrap img {
    max-width: 160px; 
    max-height: 100%; 
    width: auto;
    height: auto;
    object-fit: contain; 
}

.api-logo-fallback {
    font-size: 2rem;
    font-weight: 900;
    color: #0F172A;
}

.api-partner-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0F172A;
    margin: 0 0 10px 0;
}

.api-partner-cb {
    font-size: 0.95rem;
    font-weight: 800;
    color: #059669;
    background: #ECFDF5;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid #A7F3D0;
}

/* NEW: The subtle reason for the boost under the cashback */
.api-boost-reason {
    font-size: 0.8rem;
    color: #D97706;
    background: #FEF3C7;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 10px;
    font-weight: 700;
    display: inline-block;
    border: 1px dashed #FCD34D;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    border: 1px dashed var(--border);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =========================================
   CONTINUOUS MARQUEE CAROUSEL FIXES
   ========================================= */
.deals-ribbon.continuous-scroll {
    overflow-x: auto !important; /* Forces native manual swiping to work! */
    scroll-behavior: auto !important; /* Stops CSS from fighting the JS teleport */
    -webkit-overflow-scrolling: touch; /* Smooth momentum swiping on mobile */
    scrollbar-width: none; /* Firefox */
}

.deals-ribbon.continuous-scroll::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.deals-ribbon.continuous-scroll > * {
    flex-shrink: 0;
}

/* ==========================================================================
   ULTIMATE CAROUSEL ARROWS (Unified Size, Color & Perfect Centering)
   ========================================================================== */

.deal-arrow, 
.test-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(1); /* Keeps it perfectly centered */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    
    /* Dark Blue Base with White Icon */
    background: var(--secondary); 
    color: var(--white);
    border: 2px solid var(--secondary);
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 18px;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover State: VerifyDeals Orange */
.deal-arrow:hover, 
.test-arrow:hover {
    background: var(--primary); 
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.15); 
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.3);
}

/* Perfect Side Positioning */
.deal-arrow.prev, .test-arrow.prev { left: -15px; }
.deal-arrow.next, .test-arrow.next { right: -15px; }

/* Hide Logic */
.deal-arrow.hidden, 
.test-arrow.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .deal-arrow, .test-arrow {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .deal-arrow.prev, .test-arrow.prev { left: -10px; }
    .deal-arrow.next, .test-arrow.next { right: -10px; }
}

/* ==========================================================================
   DARK SECTION ARROW OVERRIDES (Trending & Flash Deals)
   ========================================================================== */

/* Make arrows White by default on dark backgrounds */
.premium-trending-section .deal-arrow,
.premium-flash-section .deal-arrow {
    background: var(--white) !important;
    color: var(--secondary) !important; /* Dark blue icon so you can see it on the white button */
    border-color: var(--white) !important;
}

/* Make them Orange on hover */
.premium-trending-section .deal-arrow:hover,
.premium-flash-section .deal-arrow:hover {
    background: var(--primary) !important;
    color: var(--white) !important; /* White icon on the orange button */
    border-color: var(--primary) !important;
}

/* ==========================================================================
   CATEGORY + PRODUCT PAGE V3
   ========================================================================== */

.category-page-v3,
.product-page-v2 {
    background: var(--bg-color);
    color: var(--text-dark);
    font-family: inherit;
}

.catv3-heading {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 34px 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    animation: vdFadeUp 0.4s ease both;
}

.catv3-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.catv3-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.catv3-heading h1 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 900;
    color: var(--secondary);
}

.catv3-heading p {
    margin: 0;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
}

.catv3-top-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.catv3-pill-select {
    min-width: 190px !important;
    height: 48px !important;
}

.catv3-layout {
    display: grid;
    grid-template-columns: 295px 1fr;
    gap: 24px;
    padding: 28px 40px;
}

.catv3-filters {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    height: fit-content;
    position: sticky;
    top: 105px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    animation: vdFadeUp 0.45s ease both;
}

.catv3-filter-title h3 {
    margin: 0 0 16px;
    color: var(--secondary);
    font-size: 20px;
    font-weight: 900;
}

.catv3-filter-group {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: visible;
    background: #FFFFFF;
}

.catv3-filter-toggle {
    width: 100%;
    border: none;
    background: #F8FAFC;
    color: var(--secondary);
    padding: 13px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--anim);
}

.catv3-filter-toggle:hover {
    background: #FFF7ED;
    color: var(--primary);
}

.catv3-filter-toggle i {
    transition: transform 0.25s ease;
}

.catv3-filter-toggle.active i {
    transform: rotate(180deg);
}

.catv3-filter-body {
    padding: 12px;
    display: block;
}

.catv3-filter-group.closed .catv3-filter-body {
    display: none;
}

.catv3-check {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
}

.catv3-check input {
    accent-color: var(--primary);
    width: 15px;
    height: 15px;
}

.catv3-check:hover {
    color: var(--primary);
}

.catv3-select,
.catv3-custom-price input {
    width: 100%;
    border: 1px solid var(--border);
    background: #FFFFFF;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    font-family: inherit;
    transition: var(--anim);
}

.catv3-select:focus,
.catv3-custom-price input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1);
}

.catv3-custom-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.catv3-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.catv3-reset-btn,
.catv3-search-btn {
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--anim);
}

.catv3-reset-btn {
    background: #E2E8F0;
    color: var(--secondary);
    border: 1px solid #CBD5E1;
}

.catv3-search-btn {
    background: var(--secondary);
    color: var(--white);
}

.catv3-reset-btn:hover,
.catv3-search-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.25);
}

.catv3-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.catv3-toolbar h2 {
    margin: 0 0 4px;
    color: var(--secondary);
    font-size: 24px;
    font-weight: 900;
}

.catv3-toolbar p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
}

.catv3-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.catv3-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    transition: var(--anim);
    animation: vdFadeUp 0.45s ease both;
    position: relative;
    overflow: hidden;
}

.catv3-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.85), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
    pointer-events: none;
}

.catv3-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(255, 94, 0, 0.12);
}

.catv3-card:hover::before {
    left: 160%;
}

.catv3-img {
    height: 160px;
    border-radius: 12px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 54px;
    margin-bottom: 14px;
}

.catv3-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.catv3-badge {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    border-radius: 50px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
}

.catv3-card h3 {
    margin: 0 0 10px;
    min-height: 44px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.catv3-store {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.catv3-price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.catv3-price {
    color: var(--text-dark);
    font-size: 21px;
    font-weight: 900;
}

.catv3-old {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 13px;
}

.catv3-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 42px;
    gap: 8px;
    margin-top: 14px;
}

.catv3-actions button {
    border: none;
    border-radius: 8px;
    padding: 11px 8px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--anim);
}

.catv3-copy {
    background: #E2E8F0;
    color: var(--secondary);
    border: 1px solid #CBD5E1;
}

.catv3-grab {
    background: var(--secondary);
    color: var(--white);
}

.catv3-share {
    background: #E2E8F0;
    color: var(--secondary);
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catv3-actions button:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 94, 0, 0.22);
}

.pdv2-breadcrumb {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 24px 40px 0;
    padding: 16px 20px !important;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.pdv2-breadcrumb a {
    color: var(--primary) !important;
    text-decoration: none !important;
    font-weight: 900;
}

.pdv2-breadcrumb span {
    color: var(--text-light);
    font-weight: 800;
}

.pdv2-main {
    display: grid;
    grid-template-columns: 44% 1fr;
    gap: 30px;
    padding: 24px 40px;
}

.pdv2-gallery,
.pdv2-info,
.pdv2-details,
.pdv2-similar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    animation: vdFadeUp 0.45s ease both;
}

.pdv2-main-img {
    height: 360px;
    border-radius: 14px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 88px;
}

.pdv2-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.pdv2-thumb {
    height: 74px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.pdv2-store {
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 8px;
}

.pdv2-info h1 {
    font-size: 30px;
    margin: 0 0 10px;
    color: var(--secondary);
    font-weight: 900;
}

.pdv2-rating {
    color: #F59E0B;
    font-weight: 900;
    margin-bottom: 16px;
}

.pdv2-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pdv2-price {
    font-size: 30px;
    font-weight: 900;
}

.pdv2-old-price {
    color: var(--text-light);
    text-decoration: line-through;
}

.pdv2-discount {
    color: #059669;
    font-weight: 900;
}

.pdv2-cashback {
    background: #ECFDF5;
    color: #047857;
    padding: 12px;
    border-radius: 8px;
    font-weight: 900;
    margin-bottom: 18px;
}

.pdv2-option-box {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.pdv2-option-box label {
    display: block;
    font-weight: 900;
    margin-bottom: 7px;
    color: var(--secondary);
}

.pdv2-option-box select {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--secondary);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: var(--anim);
}

.pdv2-option-box select:hover,
.pdv2-option-box select:focus {
    border-color: var(--primary);
    background: #FFF7ED;
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1);
}

.pdv2-option-box select option {
    background: var(--white);
    color: var(--secondary);
    font-weight: 700;
}

.pdv2-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pdv2-actions button {
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--anim);
}

.pdv2-actions button:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.pdv2-btn-copy {
    background: #E2E8F0;
    color: var(--secondary);
    border: 1px solid #CBD5E1 !important;
}

.pdv2-btn-grab {
    background: var(--secondary);
    color: var(--white);
}

.pdv2-btn-share {
    background: #E2E8F0;
    color: var(--secondary);
    border: 1px solid #CBD5E1 !important;
}

.pdv2-details,
.pdv2-similar {
    margin: 0 40px 24px;
}

.pdv2-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pdv2-spec-grid div {
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

@keyframes vdFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 950px) {
    .catv3-heading,
    .catv3-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .catv3-layout,
    .pdv2-main {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    .catv3-filters {
        position: static;
    }

    .catv3-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pdv2-spec-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .catv3-heading {
        padding: 24px 20px;
    }

    .catv3-grid {
        grid-template-columns: 1fr;
    }

    .catv3-actions,
    .pdv2-actions {
        grid-template-columns: 1fr;
    }

    .pdv2-main-img {
        height: 260px;
    }

    .pdv2-details,
    .pdv2-similar {
        margin-left: 20px;
        margin-right: 20px;
    }
}


/* Clean sticky filter buttons without overlap */
.catv3-filters {
    padding-bottom: 0 !important;
}

.catv3-filter-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 30 !important;
    background: var(--white) !important;
    padding: 14px 0 0 !important;
    margin: 12px 0 0 !important;
    border-top: 1px solid var(--border) !important;
}

.catv3-filter-actions::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: var(--white);
}




/* Force Similar Products into one horizontal row */
.pdv2-similar {
    overflow: hidden !important;
}

.pdv2-similar #pdv2-similar-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 14px !important;
    scroll-behavior: smooth !important;
}

.pdv2-similar #pdv2-similar-grid .catv3-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
}

.pdv2-similar #pdv2-similar-grid::-webkit-scrollbar {
    height: 6px;
}

.pdv2-similar #pdv2-similar-grid::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

/* Category/Product header partition */
.category-page-v3,
.product-page-v2 {
    border-top: 1px solid var(--border);
}

.category-page-v3 .catv3-layout,
.product-page-v2 .pdv2-breadcrumb {
    margin-top: 0;
}

.main-nav {
    border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   STORE DETAILS PAGE
   ========================================================================== */

.store-back-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
}

.store-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    background: #F1F5F9;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid var(--border);
    transition: var(--anim);
}

.store-back-link:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateX(-3px);
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.25);
}

.shimmer-text {
    background: linear-gradient(90deg, #0F172A 0%, #0F172A 40%, #FF5E00 50%, #0F172A 60%, #0F172A 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    display: inline-block;
    margin: 0;
    line-height: 1.1;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.dynamic-store-logo {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dynamic-store-logo img {
    max-height: 100%;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dynamic-store-logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0F172A;
    line-height: 1;
}

.section-header {
    color: #0F172A;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F1F5F9;
    text-align: center;
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-activate-glow {
    background: var(--primary);
    color: white;
    border: none;
    padding: 20px 30px;
    font-size: 1.2rem;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    animation: pulseGlowBtn 2s infinite;
    transition: transform 0.2s;
}

.btn-activate-glow:hover {
    transform: scale(1.02);
    animation: none;
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.4);
}

@keyframes pulseGlowBtn {
    0% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 94, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); }
}

.premium-offer-box {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 2px dashed #F59E0B;
    border-radius: 16px;
    padding: 45px 20px 30px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
    position: relative;
    animation: borderBreathe 4s infinite alternate;
}

@keyframes borderBreathe {
    0% { border-color: #F59E0B; box-shadow: 0 5px 15px rgba(245, 158, 11, 0.1); }
    100% { border-color: #D97706; box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2); }
}

.top-offers-badge {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #0A2540;
    color: #FBBF24;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(10, 37, 64, 0.4);
    animation: badgeGoldBlink 2s infinite;
}

@keyframes badgeGoldBlink {
    0%, 100% { opacity: 1; box-shadow: 0 4px 10px rgba(146, 64, 14, 0.2); }
    50% { opacity: 0.85; box-shadow: 0 0 20px rgba(146, 64, 14, 0.6); }
}

.offer-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 1.1rem;
    color: #92400E;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.offer-list-item i {
    color: #F59E0B;
    margin-top: 4px;
}

.store-slider-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.store-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.store-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: white;
    box-sizing: border-box;
}

.store-slide h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.store-slide p {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.data-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.95rem;
    gap: 15px;
}

.data-list-item:last-child {
    border-bottom: none;
}

.data-list-item strong {
    color: var(--secondary);
}

.dynamic-terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dynamic-terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.dynamic-terms-list li i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.8rem;
}

.disclaimer-box {
    background: white;
    border-left: 3px solid #F59E0B;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    font-size: 0.85rem;
    color: #64748B;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

/* ==========================================================================
   DEALS PAGE
   ========================================================================== */

.deals-page {
    background: var(--bg-color);
    color: var(--text-dark);
    font-family: inherit;
}

.deals-hero {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 34px 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    animation: dealsFadeUp 0.4s ease both;
}

.deals-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.deals-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.deals-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 900;
}

.deals-hero p {
    margin: 0;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
}

.deals-layout {
    display: grid;
    grid-template-columns: 295px minmax(0, 1fr);
    gap: 24px;
    padding: 28px 40px;
    width: 100%;
    box-sizing: border-box;
}

.deals-results {
    width: 100%;
    min-width: 0;
}

.deals-filters {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    height: fit-content;
    position: sticky;
    top: 105px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    animation: dealsFadeUp 0.45s ease both;
}

.deals-filters.catv3-filters {
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overflow-x: hidden;
}

.deals-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    gap: 15px;
    width: 100%;
}

.deals-toolbar h2 {
    margin: 0 0 4px;
    color: var(--secondary);
    font-size: 24px;
    font-weight: 900;
}

.deals-toolbar p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
}

.deals-toolbar .time-filter {
    min-width: 220px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.deals-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    transition: var(--anim);
    animation: dealsFadeUp 0.45s ease both;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.deals-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.85), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
    pointer-events: none;
}

.deals-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(255, 94, 0, 0.12);
}

.deals-card:hover::before {
    left: 160%;
}

.deals-img {
    width: 100%;
    height: 160px;
    min-height: 160px;
    border-radius: 12px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 54px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.deals-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.deals-badge {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    border-radius: 50px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
}

.deals-badge.orange {
    background: #FFF7ED;
    color: var(--primary);
    border-color: #FFEDD5;
}

.deals-card h3 {
    margin: 0 0 10px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    min-height: 44px;
}

.deals-store {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.deals-price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.deals-price {
    color: var(--text-dark);
    font-size: 21px;
    font-weight: 900;
}

.deals-old {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 13px;
}

.deals-cashback {
    font-size: 13px;
    font-weight: 900;
    color: #059669;
    margin-top: 7px;
}

.effective-price,
.modal-highlight {
    background: #FFF7ED;
    color: var(--primary);
    border: 1px solid #FFEDD5;
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
    font-weight: 900;
}

.deals-empty {
    grid-column: 1 / -1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 45px 20px;
    text-align: center;
    font-weight: 900;
    color: var(--secondary);
}


/* Product card buttons */
.product-action-buttons {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 52px !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 14px;
    align-items: center;
}

.product-action-buttons button {
    height: 48px;
    min-height: 48px;
    border-radius: 10px;
    border: 0;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--anim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    line-height: 1;
}

.product-action-buttons .deals-copy-btn,
.product-action-buttons .deals-share-btn {
    background: #E2E8F0;
    color: var(--secondary);
}

.product-action-buttons .deals-grab-btn {
    background: var(--secondary);
    color: var(--white);
}

.product-action-buttons .deals-share-btn {
    width: 52px;
    padding: 0;
}

.product-action-buttons .deals-share-btn span {
    display: none;
}

.product-action-buttons button:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 94, 0, 0.22);
}

/* Favourite button */
.deals-wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--anim);
    z-index: 5;
}

.deals-wishlist-btn:hover,
.deals-wishlist-btn.active {
    background: #FEF2F2;
    color: #EF4444;
    border-color: #FCA5A5;
    transform: scale(1.08);
}

/* Shared premium card styling */
.premium-dynamic-card {
    border-radius: 16px;
    isolation: isolate;
}

.shimmer-box {
    position: relative;
    overflow: hidden;
}

.shimmer-box::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
    animation: shimmerMove 1.8s infinite;
    pointer-events: none;
}

@keyframes shimmerMove {
    100% {
        transform: translateX(120%);
    }
}



/* Card-specific */
.trend-meta,
.store-brand-row,
.verified-line,
.stock-text {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.compare-price-box {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 800;
}

.orange-box {
    background: #FFF7ED;
    color: var(--primary);
    border-color: #FFEDD5;
}

.retailer-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 900;
}

.countdown-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF2F2;
    color: #DC2626;
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}

.stock-progress {
    height: 9px;
    background: #E2E8F0;
    border-radius: 50px;
    overflow: hidden;
    margin-top: 14px;
}

.stock-progress div {
    height: 100%;
    background: var(--primary);
}

.gift-card-top,
.credit-card-visual {
    min-height: 145px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    padding: 18px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-weight: 900;
}

.gift-card-top i {
    font-size: 42px;
}

.credit-card-visual i {
    font-size: 34px;
    align-self: flex-end;
}

.denomination-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.denomination-pills span,
.denomination-pills button {
    border: 1px solid #FFEDD5;
    background: #FFF7ED;
    color: var(--primary);
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.earning-box {
    background: #ECFDF5;
    color: #047857;
    border-radius: 12px;
    padding: 13px;
    font-weight: 900;
    margin: 14px 0;
}

.credit-card-ui {
    padding-top: 58px;
}

.credit-card-ui .deals-wishlist-btn {
    top: 14px;
    left: 14px;
    right: auto;
}

.compare-check {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 6;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.card-fee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
}

.card-fee-grid span {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px;
    font-size: 12px;
    font-weight: 800;
}

.card-fee-grid strong {
    display: block;
    color: var(--secondary);
    margin-top: 4px;
}

.benefit-list {
    display: grid;
    gap: 8px;
    margin: 14px 0;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 800;
}

.benefit-list i {
    color: #059669;
}

.gift-card-buttons {
    grid-template-columns: minmax(130px, 1.25fr) minmax(100px, 1fr) 52px !important;
}

.gift-card-buttons button {
    font-size: 13px;
    padding: 0 10px;
}

/* ==========================================================================
   DEAL DETAILS PAGE
   ========================================================================== */

.deal-details-page {
    background: var(--bg-color);
    color: var(--text-dark);
}

.deal-details-container {
    padding: 28px 40px;
}

.details-main-card,
.details-section-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 22px;
    animation: dealsFadeUp 0.4s ease both;
}

.details-main-card {
    display: grid;
    grid-template-columns: minmax(360px, 42%) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.details-gallery,
.compare-gallery {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.details-main-image,
.compare-product-image {
    height: 450px;
    border-radius: 18px;
    background: #F1F5F9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 86px;
    overflow: hidden;
}

.details-thumbs,
.compare-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.details-thumbs div,
.compare-thumbs div {
    height: 94px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #F8FAFC;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.details-product-visual,
.gift-detail-card,
.credit-detail-card {
    min-height: 360px;
    border-radius: 16px;
    background: #F1F5F9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-details-card .details-product-visual {
    display: none;
}

.gift-detail-card,
.credit-detail-card {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.gift-detail-card i,
.credit-detail-card i {
    font-size: 70px;
}

.credit-detail-card {
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px;
    text-align: left;
}

.details-info h2,
.details-section-card h2 {
    margin: 12px 0 8px;
    color: var(--secondary);
    font-size: 30px;
    font-weight: 900;
}

.details-store-line {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.details-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 14px 0;
}

.large-effective {
    font-size: 18px;
    margin-bottom: 16px;
}

.details-grid,
.compare-detail-grid,
.detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.details-grid div,
.compare-detail-grid p,
.detail-list p {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    margin: 0;
}

.details-grid strong,
.compare-detail-grid strong {
    display: block;
    color: var(--secondary);
    font-size: 16px;
    font-weight: 900;
}

.details-grid span {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 800;
}

.details-action-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 14px !important;
    width: 100%;
    margin-top: 20px;
}

.details-action-buttons button {
    height: 58px;
    min-height: 58px;
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--anim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.details-action-buttons .details-copy-btn,
.details-action-buttons .details-share-btn {
    background: #E2E8F0;
    color: var(--secondary);
}

.details-action-buttons .details-grab-btn {
    background: var(--secondary);
    color: var(--white);
}

.details-action-buttons button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 94, 0, 0.22);
}

/* Compare detail page */
.compare-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
}

.compare-store-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: #FFFFFF;
}

.compare-product-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(360px, 42%) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    position: relative;
}

.compare-store-top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.store-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.compare-store-top h3 {
    margin: 0;
    color: var(--secondary);
}

.compare-store-top span {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 800;
}

.compare-product-title {
    margin: 14px 0 10px;
    color: var(--secondary);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.25;
}

.compare-product-desc {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    margin: 12px 0 16px;
}

.compare-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compare-card-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 18px;
}

.compare-card-buttons button {
    width: 100%;
    height: 56px;
    min-height: 56px;
    font-size: 15px;
}

.best-store-card {
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(255, 94, 0, 0.12);
}

.best-choice-ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 900;
    z-index: 4;
}

/* Price history */
.premium-price-history {
    overflow: hidden;
}

.price-history-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.price-history-header h3 {
    margin: 0 0 6px;
    color: var(--secondary);
    font-size: 24px;
    font-weight: 900;
}

.price-history-header p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
}

.verified-pill {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.savings-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.savings-summary div {
    background: #FFF7ED;
    border: 1px solid #FFEDD5;
    border-radius: 14px;
    padding: 16px;
}

.savings-summary span {
    display: block;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.savings-summary strong {
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
}

.price-history-chart {
    height: 160px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 36px;
}

.price-history-chart div {
    flex: 1;
    min-height: 28px;
    background: linear-gradient(180deg, var(--primary), #FF8A3D);
    border-radius: 10px 10px 4px 4px;
    position: relative;
}

.price-history-chart span {
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 11px;
    font-weight: 800;
}

/* Similar products */
.similar-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.similar-deal-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    cursor: pointer;
    transition: var(--anim);
    overflow: visible;
    min-height: 245px;
}

.similar-deal-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 94, 0, 0.12);
}

.similar-deal-img {
    height: 135px;
    border-radius: 12px;
    background: #F1F5F9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 12px;
}

.similar-deal-card span {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 800;
}

.similar-deal-card h4 {
    margin: 5px 0;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
    white-space: normal;
}

.similar-deal-card p {
    margin: 0;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    white-space: normal;
}

/* Gift card manual amount */
.gift-manual-amount {
    margin: 14px 0;
}

.gift-manual-amount label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
    font-weight: 900;
}

.gift-manual-amount input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px;
    font-weight: 800;
    outline: none;
}

/* Credit card compare modal */
.credit-compare-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.credit-compare-modal.active {
    display: flex;
}

.credit-compare-panel {
    width: min(980px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    position: relative;
}

.credit-compare-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}

.credit-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.credit-compare-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

.credit-compare-card div {
    background: #F8FAFC;
    border-radius: 10px;
    padding: 10px;
    margin-top: 8px;
}

.credit-compare-card strong,
.credit-compare-card span {
    display: block;
}

.credit-compare-card button {
    width: 100%;
    margin-top: 12px;
    border: 0;
    border-radius: 10px;
    padding: 13px;
    background: var(--secondary);
    color: #fff;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 1200px) {
    .deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .similar-deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compare-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 950px) {
    .deals-hero,
    .deals-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .deals-layout {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    .deals-filters {
        position: static;
    }

    .details-main-card,
    .compare-product-card {
        grid-template-columns: 1fr;
    }

    .details-main-image,
    .compare-product-image {
        height: 360px;
    }

    .deal-details-container {
        padding: 22px 20px;
    }
}

@media (max-width: 760px) {
    .credit-compare-grid {
        grid-template-columns: 1fr;
    }

    .details-action-buttons,
    .compare-card-buttons {
        grid-template-columns: 1fr !important;
    }

    .details-action-buttons button,
    .compare-card-buttons button {
        width: 100%;
    }

    .price-history-header {
        flex-direction: column;
    }

    .savings-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .deals-hero {
        padding: 24px 20px;
    }

    .deals-grid,
    .similar-deals-grid {
        grid-template-columns: 1fr;
    }

    .product-action-buttons {
        grid-template-columns: 1fr 1fr 48px !important;
        gap: 8px !important;
    }

    .product-action-buttons button {
        height: 46px;
        min-height: 46px;
        font-size: 13px;
        padding: 0 10px;
    }

    .product-action-buttons .deals-share-btn {
        width: 48px;
    }

    .details-info h2,
    .details-section-card h2 {
        font-size: 24px;
    }

    .details-grid,
    .compare-detail-grid,
    .detail-list {
        grid-template-columns: 1fr;
    }

    .details-main-image,
    .compare-product-image {
        height: 280px;
        font-size: 64px;
    }

    .details-thumbs div,
    .compare-thumbs div {
        height: 72px;
    }
}

/* ==========================================================================
   DEAL DETAILS PAGE — FONT PARITY WITH PRODUCT PAGE V2
   ========================================================================== */
 
.deal-details-page {
    background: var(--bg-color);
    color: var(--text-dark);
    font-family: inherit;
    border-top: 1px solid var(--border);
}
 
.deal-details-page .deals-breadcrumb {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-light);
}
 
.deal-details-page .deals-breadcrumb a {
    color: var(--primary);
    font-weight: 900;
    text-decoration: none;
}
 
.deal-details-page .deals-breadcrumb span {
    color: var(--text-light);
    font-weight: 800;
}
 
.deal-details-page .deals-hero h1 {
    font-size: 34px;
    font-weight: 900;
    color: var(--secondary);
    margin: 0 0 8px;
}
 
.deal-details-page .deals-hero p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}
 
.deal-details-page .deals-hero,
.deal-details-page .details-main-card,
.deal-details-page .details-section-card {
    animation: vdFadeUp 0.45s ease both;
}
 
.details-store-line {
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}
 
.details-info h2 {
    font-size: 30px;
    font-weight: 900;
    color: var(--secondary);
    margin: 0 0 10px;
    line-height: 1.2;
}
 
.details-rating {
    color: #F59E0B;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 16px;
}
 
.details-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
}
 
.details-price-row .details-price,
.details-price-row .deals-price {
    font-size: 30px;
    font-weight: 900;
    color: var(--text-dark);
}
 
.details-price-row .details-old,
.details-price-row .deals-old {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: line-through;
}
 
.details-price-row .details-discount,
.details-price-row .deals-discount {
    font-size: 15px;
    font-weight: 900;
    color: #059669;
}
 
.details-cashback,
.deal-details-page .effective-price,
.deal-details-page .modal-highlight {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 18px;
}
 
.details-grid div,
.compare-detail-grid p,
.detail-list p {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    margin: 0;
}
 
.details-grid strong,
.compare-detail-grid strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 4px;
}
 
.details-grid span {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
}
 
.details-action-buttons button {
    font-size: 16px;
    font-weight: 900;
    border-radius: 10px;
    transition: var(--anim);
}
 
.details-action-buttons .details-copy-btn,
.details-action-buttons .details-share-btn {
    background: #E2E8F0;
    color: var(--secondary);
    border: 1px solid #CBD5E1;
}
 
.details-action-buttons .details-grab-btn {
    background: var(--secondary);
    color: var(--white);
    border: 1px solid transparent;
}
 
.details-action-buttons button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 94, 0, 0.22);
}
 
.details-section-card h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
    margin: 0 0 16px;
}
 
.price-history-header h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
    margin: 0 0 6px;
}
 
.price-history-header p {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}
 
.verified-pill {
    font-size: 12px;
    font-weight: 900;
}
 
.savings-summary span {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
    display: block;
    margin-bottom: 6px;
}
 
.savings-summary strong {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
}
 
.compare-store-top h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--secondary);
    margin: 0 0 2px;
}
 
.compare-store-top span {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
}
 
.compare-product-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1.25;
    margin: 14px 0 10px;
}
 
.compare-product-desc {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.6;
    margin: 12px 0 16px;
}
 
.compare-card-buttons button {
    font-size: 15px;
    font-weight: 900;
}
 
.best-choice-ribbon {
    font-size: 11px;
    font-weight: 900;
}
 
.similar-deal-card span {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
}
 
.similar-deal-card h4 {
    font-size: 14px;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1.35;
    margin: 5px 0;
    white-space: normal;
}
 
.similar-deal-card p {
    font-size: 13px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.4;
    white-space: normal;
    margin: 0;
}
 
.countdown-chip {
    font-size: 13px;
    font-weight: 900;
}
 
.trend-meta,
.store-brand-row,
.verified-line,
.stock-text {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
}
 
.retailer-overlay {
    font-size: 11px;
    font-weight: 900;
}
 
/* ==========================================================================
   DEALS LIST PAGE — FONT PARITY WITH PRODUCT PAGE V3
   ========================================================================== */
 
.deals-page {
    border-top: 1px solid var(--border);
    font-family: inherit;
}
 
.deals-hero {
    animation: vdFadeUp 0.4s ease both;
}
 
.deals-hero h1 {
    color: var(--secondary);
    font-size: 34px;
    font-weight: 900;
    margin: 0 0 8px;
}
 
.deals-hero p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}
 
.deals-breadcrumb {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
}
 
.deals-breadcrumb a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
 
.deals-toolbar h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
    margin: 0 0 4px;
}
 
.deals-toolbar p {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}
 
.deals-card {
    animation: vdFadeUp 0.45s ease both;
}
 
.deals-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
    margin: 0 0 10px;
    min-height: 44px;
}
 
.deals-store {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}
 
.deals-price {
    font-size: 21px;
    font-weight: 900;
    color: var(--text-dark);
}
 
.deals-old {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: line-through;
}
 
.deals-cashback {
    font-size: 13px;
    font-weight: 900;
    color: #059669;
}
 
.deals-badge {
    font-size: 11px;
    font-weight: 900;
}
 
.deals-empty {
    font-size: 16px;
    font-weight: 900;
    color: var(--secondary);
}
 
.product-action-buttons button {
    font-size: 13px;
    font-weight: 900;
}

/* ── 1. SECTION HEADING ─────────────────────────────────────────────────────
   Problem:  "Similar Top Deals" is dark + thin
   Fix:      Make it ORANGE + BOLD like "Similar Products" on product page
   ─────────────────────────────────────────────────────────────────────────── */
 
.details-section-card h2,
.similar-section-title {
    color: var(--primary) !important;       /* orange */
    font-size: 22px !important;
    font-weight: 900 !important;
    margin: 0 0 18px !important;
}
 
 
/* ── 2. CARD — PRODUCT NAME ─────────────────────────────────────────────────
   Problem:  Name is not bold enough
   Fix:      Match product page card title — dark, 900 weight
   ─────────────────────────────────────────────────────────────────────────── */
 
.similar-deal-card h4 {
    color: var(--secondary) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    margin: 8px 0 4px !important;
    white-space: normal !important;
}
 
 
/* ── 3. CARD — STORE + RATING LINE ─────────────────────────────────────────
   Problem:  Store name shown in orange/wrong color
   Fix:      Light gray, small, 800 weight — matches product page meta line
   ─────────────────────────────────────────────────────────────────────────── */
 
.similar-deal-card span {
    color: var(--text-light) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 6px !important;
}
 
 
/* ── 4. CARD — CURRENT PRICE ────────────────────────────────────────────────
   Problem:  Price is ORANGE — wrong. Product page price is DARK/BLACK.
   Fix:      Dark color, large, 900 weight
   ─────────────────────────────────────────────────────────────────────────── */
 
.similar-deal-card p,
.similar-deal-card .similar-price {
    color: var(--text-dark) !important;     /* dark, NOT orange */
    font-size: 15px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
}
 
 
/* ── 5. CARD — OLD / STRIKETHROUGH PRICE ───────────────────────────────────
   Problem:  No old price styling defined
   Fix:      Gray + strikethrough, sits beside current price
   ─────────────────────────────────────────────────────────────────────────── */
 
.similar-deal-card .deals-old,
.similar-deal-card s,
.similar-deal-card del,
.similar-deal-card .old-price {
    color: var(--text-light) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: line-through !important;
    margin-left: 5px !important;
}
 
 
/* ── 6. CARD — PRICE ROW LAYOUT ────────────────────────────────────────────
   Makes current price + old price sit on the same line with baseline align
   ─────────────────────────────────────────────────────────────────────────── */
 
.similar-deal-card .price-row,
.similar-deal-card .similar-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}
 
 
/* ── 7. CARD — HOVER BORDER ─────────────────────────────────────────────────
   Matches the orange border hover from product page similar cards
   ─────────────────────────────────────────────────────────────────────────── */
 
.similar-deal-card {
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    background: var(--white) !important;
    padding: 12px !important;
    cursor: pointer !important;
    transition: var(--anim) !important;
}
 
.similar-deal-card:hover {
    border-color: var(--primary) !important;    /* orange border on hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(255, 94, 0, 0.12) !important;
}
 
 
/* ── 8. CARD — IMAGE BOX ─────────────────────────────────────────────────────
   Matches the gray image placeholder from product page
   ─────────────────────────────────────────────────────────────────────────── */
 
.similar-deal-img {
    height: 135px !important;
    border-radius: 12px !important;
    background: #F1F5F9 !important;
    color: var(--primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    margin-bottom: 12px !important;
}

/* =========================================
   PARTNERS FILTER PILLS (HOVER & ACTIVE STATES)
   ========================================= */
#pillContainer .filter-pill {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    color: #475569;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Hover State - Turns Border Orange */
#pillContainer .filter-pill:hover {
    background: #FFF7ED;
    color: var(--primary);
    border-color: var(--primary);
}

/* Active/Selected State - Turns Solid Dark Navy */
#pillContainer .filter-pill.active {
    background: var(--secondary) !important;
    color: var(--white) !important;
    border-color: var(--secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 37, 64, 0.2) !important;
}

/* =========================================
   NUCLEAR FIX FOR FILTER PILLS (HOVER & ACTIVE)
   ========================================= */
div#pillContainer button.filter-pill {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    color: #475569 !important;
    font-weight: 800 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
}

/* Hover State - Forces an Orange Border & Text */
div#pillContainer button.filter-pill:hover {
    background-color: #FFF7ED !important;
    color: #FF5E00 !important;
    border-color: #FF5E00 !important;
}

/* Active State - Locks in Dark Navy */
div#pillContainer button.filter-pill.active {
    background-color: #0A2540 !important;
    color: #FFFFFF !important;
    border-color: #0A2540 !important;
    box-shadow: 0 6px 15px rgba(10, 37, 64, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* Perfect Modal Close Spin Fix */
.modal-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    transform-origin: center center !important;
}

/* ==========================================================================
   100% PARITY: DEALS PAGE = CATEGORY PAGE
   ========================================================================== */

/* 1. Add the smooth slide-up animation to the Deals header */
.deals-toolbar {
    animation: vdFadeUp 0.4s ease both;
}

/* 2. Fix the Deals Cards so they slide up beautifully like Category cards */
.deals-card {
    animation: vdFadeUp 0.45s ease both !important;
}

/* 3. Match the exact H1 and P font sizes from the Category page */
.deals-toolbar h1 {
    font-size: 34px !important;
    font-weight: 900 !important;
    color: var(--secondary) !important;
    margin: 0 0 8px !important;
}

/* This targets BOTH the description and the count to match the Category page */
.deals-toolbar p {
    margin: 0 !important;
    color: var(--text-light) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.deal-media-img,
.deal-card-image,
.details-product-image,
.details-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.deal-img {
    overflow: hidden;
}

.home-deal-code,
.home-deal-status {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.home-deal-status.live {
    color: #047857;
}

.deals-card h3,
.deal-title,
.details-info h2 {
    overflow-wrap: anywhere;
}

.deals-store,
.store-cb,
.details-store-line,
.stock-text,
.trend-meta span {
    overflow-wrap: anywhere;
}

.deals-price-line,
.details-price-row {
    flex-wrap: wrap;
}

.details-main-image img,
.details-thumbs img {
    border-radius: inherit;
}

.vd-reference-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.vd-card-topband {
    background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 6px 12px;
    text-align: right;
}

.vd-home-hero {
    background: linear-gradient(145deg, #f43f5e 0%, #dc2626 100%);
    min-height: 180px;
    position: relative;
    padding: 14px;
    color: #fff;
}

.vd-home-brand {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 800;
}

.offer-visual-shell {
    width: 100%;
    height: 220px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-visual-shell {
    height: 120px;
    margin-top: 18px;
    background: transparent;
}

.offer-visual-fallback {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    border: 3px solid rgba(255,255,255,0.25);
}

.home-offer-image {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.vd-product-reference {
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 0;
    overflow: hidden;
}

.vd-product-media {
    padding: 16px;
    background: #f8fafc;
}

.vd-product-brand {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.vd-product-meta {
    padding: 0 16px 8px;
}

.vd-meta-row {
    color: #64748b;
    font-size: 13px;
    margin: 12px 0 8px;
}

.vd-product-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0;
}

.vd-product-price-grid span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 4px;
}

.vd-product-price-grid strong {
    display: block;
    color: #111827;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.vd-product-price-grid small {
    display: block;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: 4px;
}

/* Final responsive overrides from live QA */
.pdv2-breadcrumb {
    width: calc(100% - 80px) !important;
    max-width: none !important;
}

.product-page-v2 .pdv2-similar {
    width: calc(100% - 80px) !important;
    margin-left: 40px !important;
    margin-right: 40px !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .pdv2-breadcrumb {
        width: calc(100% - 48px) !important;
        margin-left: 24px !important;
        margin-right: 24px !important;
    }

    .product-page-v2 .pdv2-similar {
        width: calc(100% - 48px) !important;
        margin-left: 24px !important;
        margin-right: 24px !important;
    }
}

@media (max-width: 768px) {
    .pdv2-breadcrumb {
        width: calc(100% - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    .product-page-v2 .pdv2-similar {
        width: calc(100% - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
}

@media (max-width: 560px) {
    .pdv2-breadcrumb {
        width: calc(100% - 24px) !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    .product-page-v2 .pdv2-similar {
        width: calc(100% - 24px) !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
}

/* =========================================
   RESPONSIVE QA FIXES
   ========================================= */

.pdv2-breadcrumb {
    width: calc(100% - 80px);
    max-width: none;
    box-sizing: border-box;
    flex-wrap: wrap;
    row-gap: 6px;
    overflow-wrap: anywhere;
}

.product-page-v2 .pdv2-similar #pdv2-similar-grid,
.deal-details-page .details-grid,
.deal-details-page .details-main-card,
.deal-details-page .details-sidebar {
    min-width: 0;
}

.trending-titles-left {
    min-width: 0;
    width: 100%;
    flex-wrap: wrap !important;
    gap: 24px !important;
}

.trending-titles-left .trending-titles,
.trending-header-row .trending-titles {
    min-width: 0 !important;
    flex: 1 1 260px;
}

.trending-header-row .animated-heading,
.trending-header-row h2 {
    white-space: normal !important;
}

@media (max-width: 991px) {
    .pdv2-breadcrumb {
        width: calc(100% - 48px);
        margin-left: 24px;
        margin-right: 24px;
    }

    .product-page-v2 .pdv2-similar #pdv2-similar-grid .catv3-card {
        flex-basis: min(280px, calc(100vw - 120px)) !important;
        width: min(280px, calc(100vw - 120px)) !important;
        min-width: min(280px, calc(100vw - 120px)) !important;
        max-width: min(280px, calc(100vw - 120px)) !important;
    }

    .trending-header-row[style],
    .trending-titles-left[style] {
        gap: 18px !important;
    }
}

@media (max-width: 768px) {
    .pdv2-breadcrumb {
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;
        padding: 14px 16px !important;
        font-size: 14px;
    }

    .promo-ribbon {
        gap: 14px;
    }

    .trending-header-row,
    .trending-header-row[style] {
        align-items: stretch !important;
    }

    .trending-titles-left,
    .trending-titles-left[style] {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .trending-toggles,
    .trending-toggles-center,
    .trending-view-all {
        width: 100%;
        min-width: 0;
    }

    .trending-toggles select,
    .trending-toggles .time-filter,
    .master-dropdown-fix {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .pdv2-breadcrumb {
        width: calc(100% - 24px);
        margin-left: 12px;
        margin-right: 12px;
    }

    .product-page-v2 .pdv2-similar #pdv2-similar-grid .catv3-card {
        flex-basis: calc(100vw - 56px) !important;
        width: calc(100vw - 56px) !important;
        min-width: calc(100vw - 56px) !important;
        max-width: calc(100vw - 56px) !important;
    }

    .promo-banner {
        min-width: 84% !important;
        flex-basis: 84% !important;
    }
}
/* Header logged-in greeting */
.header-user-greeting {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.12), rgba(10, 37, 64, 0.08));
    border: 1px solid rgba(255, 94, 0, 0.24);
    color: var(--secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    box-shadow: none;
    transition: var(--anim);
}
.header-user-greeting i { color: var(--primary); font-size: 17px; }
.header-user-greeting:hover {
    color: var(--secondary);
    transform: none;
    box-shadow: none;
}

/* Profile current-device logout */
.logout-current-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    margin: 0 0 25px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 12px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF7ED 100%);
    box-shadow: 0 6px 18px rgba(10, 37, 64, 0.05);
}
.logout-current-copy { display: flex; align-items: center; gap: 13px; }
.logout-current-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FEF2F2;
    color: #DC2626;
    flex-shrink: 0;
}
.logout-current-copy h4 { margin: 0 0 4px; color: var(--secondary); font-size: 15px; font-weight: 800; }
.logout-current-copy p { margin: 0; color: var(--text-light); font-size: 13px; line-height: 1.4; }
.btn-logout-device {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background: var(--secondary);
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--anim);
}
.btn-logout-device:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 94, 0, 0.24);
}
.session-removing { opacity: 0; transform: translateX(14px); transition: all 0.25s ease; }

@media (max-width: 640px) {
    .logout-current-card { align-items: stretch; flex-direction: column; }
    .btn-logout-device { width: 100%; }
}

/* =========================================
   GLOBAL RESPONSIVE HARDENING LAYER
   ========================================= */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
}

img,
picture,
video,
canvas,
svg,
iframe {
    display: block;
    max-width: 100%;
}

input,
select,
textarea,
button {
    font: inherit;
}

button,
[role="button"],
.btn-primary,
.btn-join,
.search-btn,
.btn-grab,
.btn-copy,
.btn-cc,
.btn-save,
.btn-action,
.modal-btn-main,
.modal-btn-secondary,
.table-btn {
    min-height: 44px;
}

.main-header,
.main-nav,
.main-footer,
.vd-menu,
.modal-content,
.partner-modal-content,
.report-card,
.details-main-card,
.compare-product-card,
.auth-container,
.contact-form-panel,
.contact-info-panel,
.profile-sidebar,
.profile-content-panel,
.deals-filters,
.catv3-filters {
    max-width: 100%;
}

.header-content,
.hero-wrapper,
.footer-grid,
.footer-bottom,
.deals-layout,
.deal-details-container,
.contact-grid,
.auth-wrapper,
.pdv2-breadcrumb,
.deals-hero,
.partners-search-header,
.search-filter-box,
.category-shell,
.profile-layout,
.report-grid,
.stats-banner,
.about-hero,
.section-heading,
.contact-header,
.missing-container,
.shareearn-container {
    width: 100%;
    max-width: 100%;
}

.search-box input,
.form-control,
.catv3-price-input,
.deals-toolbar select,
.deals-toolbar input,
.search-filter-box input,
.search-filter-box select {
    min-width: 0;
}

.main-nav ul,
.circular-categories,
.promo-track,
.partner-grid,
.coupon-grid,
.catv3-grid,
.deals-grid,
.similar-deals-grid,
.details-grid,
.compare-detail-grid,
.price-history-grid,
.credit-compare-grid,
.report-grid,
.stats-grid,
.footer-grid,
.contact-grid,
.auth-container,
.profile-layout,
.savings-summary,
.bounce-metrics-grid {
    min-width: 0;
}

.modal-overlay,
.credit-compare-modal,
.vd-menu,
.menu-backdrop {
    overscroll-behavior: contain;
}

.modal-content,
.partner-modal-content,
.credit-compare-modal .modal-content {
    width: min(92vw, 980px);
    max-height: min(90vh, 920px);
    overflow: auto;
}

.ml-table-container,
.table-responsive,
.report-table-wrap,
.price-history-wrap,
.compare-table,
.details-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ml-table,
table {
    max-width: 100%;
}

.animated-heading {
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
}

.section-heading h2,
.deals-hero h1,
.about-hero h1,
.contact-header h1,
.auth-left h2,
.panel-header h2,
.report-header h4 {
    line-height: 1.15;
}

@media (max-width: 1200px) {
    .header-content,
    .main-nav ul,
    .hero-wrapper,
    .footer-grid,
    .footer-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }

    .search-container {
        margin: 0 12px;
        min-width: 220px;
    }

    .contact-grid,
    .auth-container,
    .deals-layout,
    .profile-layout,
    .category-layout,
    .report-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .main-header {
        padding: 16px 0;
    }

    .header-content {
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .logo {
        font-size: 22px;
    }

    .search-container {
        order: 3;
        flex: 1 1 100%;
        min-width: 100%;
        margin: 4px 0 0;
    }

    .search-box {
        height: 44px;
    }

    .search-btn {
        padding: 0 18px;
    }

    .auth-group {
        gap: 10px;
    }

    .main-nav {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        padding-bottom: 36px;
    }

    .auth-container,
    .contact-grid,
    .profile-layout,
    .deals-layout,
    .category-shell,
    .product-shell,
    .store-shell {
        grid-template-columns: 1fr !important;
        display: grid;
    }

    .auth-container {
        display: flex;
        flex-direction: column;
    }

    .auth-left {
        padding: 32px 24px;
    }

    .auth-right {
        padding: 28px 22px;
    }

    .profile-sidebar {
        position: static;
        top: auto;
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-form-panel,
    .contact-info-panel,
    .profile-content-panel,
    .deals-filters,
    .catv3-filters {
        width: 100%;
    }

    .deals-toolbar,
    .report-header,
    .search-filter-box,
    .filter-controls-wrapper,
    .trending-header-row,
    .price-history-header {
        flex-direction: column;
        align-items: stretch;
    }

    .partner-grid,
    .coupon-grid,
    .catv3-grid,
    .deals-grid,
    .similar-deals-grid,
    .credit-compare-grid,
    .details-grid,
    .compare-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid,
    .bounce-metrics-grid,
    .savings-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-main-card,
    .compare-product-card,
    .pdv2-main-card,
    .store-overview-card {
        grid-template-columns: 1fr !important;
    }

    .modal-content,
    .partner-modal-content {
        padding: 22px 18px;
    }
}

@media (max-width: 768px) {
    .header-content,
    .hero-wrapper,
    .footer-grid,
    .footer-bottom,
    .deals-layout,
    .deal-details-container,
    .pdv2-breadcrumb,
    .auth-header,
    .auth-wrapper,
    .partners-search-header,
    .search-filter-box,
    .contact-header,
    .contact-grid,
    .about-hero,
    .stats-banner,
    .deals-hero {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .main-header {
        position: sticky;
    }

    .left-header {
        min-width: 0;
        flex: 1 1 auto;
    }

    .hamburger-btn {
        margin-right: 10px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #F8FAFC;
        border: 1px solid var(--border);
        flex-shrink: 0;
    }

    .hamburger-btn i {
        font-size: 20px;
    }

    .auth-group {
        display: none !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .search-btn {
        min-width: 52px;
        justify-content: center;
    }

    .search-box input {
        padding: 0 14px;
        font-size: 0.95rem;
    }

    .promo-banner {
        flex-basis: 88% !important;
        min-width: 88% !important;
    }

    .cat-item {
        width: 110px;
        gap: 10px;
    }

    .cat-icon {
        width: 92px;
        height: 92px;
    }

    .cat-item span {
        font-size: 0.8rem;
        text-align: center;
    }

    .footer-grid,
    .partner-grid,
    .coupon-grid,
    .catv3-grid,
    .deals-grid,
    .similar-deals-grid,
    .stats-grid,
    .bounce-metrics-grid,
    .savings-summary,
    .details-grid,
    .compare-detail-grid,
    .credit-compare-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-col a,
    .social-icon span,
    .panel-header p,
    .deals-hero p,
    .about-hero p,
    .contact-header p {
        font-size: 0.95rem;
    }

    .form-row,
    .details-action-buttons,
    .compare-card-buttons,
    .product-action-buttons,
    .catv3-filter-actions,
    .modal-action-buttons {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 10px !important;
    }

    .form-row {
        display: flex !important;
        flex-direction: column;
    }

    .form-group,
    .form-group.half {
        min-width: 0 !important;
        width: 100%;
    }

    .btn-primary,
    .btn-join,
    .btn-save,
    .btn-action,
    .btn-dark,
    .btn-light,
    .auth-submit,
    .modal-btn-main,
    .modal-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .ml-table,
    .ml-table thead,
    .ml-table tbody,
    .ml-table tr,
    .ml-table th,
    .ml-table td {
        white-space: nowrap;
    }

    .report-card,
    .contact-form-panel,
    .contact-info-panel,
    .profile-sidebar,
    .profile-content-panel,
    .catv3-card,
    .deals-card,
    .coupon-card,
    .partner-card,
    .details-main-card,
    .compare-product-card {
        border-radius: 16px;
    }

    .modal-overlay {
        padding: 14px;
    }

    .modal-content,
    .partner-modal-content {
        width: 100%;
        max-height: 88vh;
        border-radius: 18px;
    }

    .vd-menu {
        width: min(92vw, 380px);
    }
}

@media (max-width: 560px) {
    html {
        font-size: 15px;
    }

    .header-content,
    .hero-wrapper,
    .footer-grid,
    .footer-bottom,
    .deals-layout,
    .deal-details-container,
    .pdv2-breadcrumb,
    .auth-header,
    .auth-wrapper,
    .partners-search-header,
    .search-filter-box,
    .contact-header,
    .contact-grid,
    .about-hero,
    .stats-banner,
    .deals-hero {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .logo {
        font-size: 20px;
    }

    .auth-header {
        gap: 10px;
        flex-wrap: wrap;
    }

    .back-link {
        font-size: 0.9rem;
    }

    .auth-left,
    .auth-right {
        padding: 22px 16px;
    }

    .auth-tabs {
        gap: 8px;
    }

    .promo-banner {
        height: 170px !important;
    }

    .section-heading {
        gap: 10px;
    }

    .animated-heading {
        font-size: clamp(1.25rem, 1rem + 2vw, 1.6rem);
    }

    .main-footer {
        padding-top: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .store-card,
    .deal-card,
    .cc-card,
    .info-card,
    .testimonial-card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .search-box {
        border-radius: 16px;
    }

    .search-btn {
        border-radius: 0 14px 14px 0;
    }

.ml-table-container,
.report-table-wrap,
.price-history-wrap {
    margin-left: -4px;
    margin-right: -4px;
}
}

/* Final responsive overrides from live QA */
.pdv2-breadcrumb {
    width: calc(100% - 80px) !important;
    max-width: none !important;
}

@media (max-width: 991px) {
    .pdv2-breadcrumb {
        width: calc(100% - 48px) !important;
        margin-left: 24px !important;
        margin-right: 24px !important;
    }
}

@media (max-width: 768px) {
    .pdv2-breadcrumb {
        width: calc(100% - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
}

@media (max-width: 560px) {
    .pdv2-breadcrumb {
        width: calc(100% - 24px) !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
}

/* VD Branded Loader */
.vd-loader-wrap {
    width: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px;
    text-align: center;
}

.vd-loader-ring {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 48%, rgba(255, 94, 0, 0.08) 49% 100%);
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.12);
    overflow: hidden;
}

.vd-loader-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 0deg, var(--primary) 0deg, #FFB36B 120deg, var(--secondary) 240deg, var(--primary) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: vd-spin 1s linear infinite;
}

.vd-loader-core {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, #174071 100%);
    color: var(--white);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.vd-loader-text {
    color: var(--text-light);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2px;
}

@keyframes vd-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
#vd-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99997;
  background: linear-gradient(135deg, #0A2540 0%, #174071 100%);
  color: #fff;
  padding: 20px 24px;
  box-shadow: 0 -6px 30px rgba(10, 37, 64, 0.3);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-top: 3px solid #FF5E00;
}
#vd-cookie-banner.vd-cookie-show {
  transform: translateY(0);
}
.vd-cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.vd-cookie-icon {
  font-size: 28px;
  flex-shrink: 0;
  color: #FF5E00;
  animation: vdCookieWiggle 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 94, 0, 0.15);
  border-radius: 50%;
  border: 1px solid rgba(255, 94, 0, 0.3);
}
@keyframes vdCookieWiggle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.vd-cookie-text {
  flex: 1;
  min-width: 200px;
}
.vd-cookie-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #FFD700;
  letter-spacing: 0.01em;
}
.vd-cookie-text p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  margin: 0;
}
.vd-cookie-text a {
  color: #FF5E00;
  font-weight: 700;
  text-decoration: none;
}
.vd-cookie-text a:hover {
  text-decoration: underline;
}
.vd-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}
.vd-cookie-btn-accept {
  background: linear-gradient(135deg, #FF8C00 0%, #FF3D00 100%);
  color: #fff;
  border: none;
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 61, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
}
.vd-cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(255, 61, 0, 0.5);
}
.vd-cookie-learn {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
  padding: 4px 0;
}
.vd-cookie-learn:hover {
  color: #FFD700;
  text-decoration: underline;
}
@media (max-width: 640px) {
  #vd-cookie-banner { padding: 16px 16px 20px; }
  .vd-cookie-inner { gap: 14px; }
  .vd-cookie-icon { font-size: 26px; }
  .vd-cookie-text strong { font-size: 0.95rem; }
  .vd-cookie-text p { font-size: 0.82rem; }
  .vd-cookie-actions { width: 100%; justify-content: center; }
  .vd-cookie-btn-accept { flex: 1; text-align: center; justify-content: center; }
  .vd-cookie-learn { flex: 1; text-align: center; }
}

/* ============================================================
   VD PAGE LOADER
   ============================================================ */
#vd-page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
}
#vd-page-loader.vd-loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.vd-pl-outer {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vd-pl-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid #e4e8ee;
}
.vd-pl-logo {
  position: relative;
  z-index: 3;
  width: 76px;
  height: 76px;
  background: #F8FAFC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(10,37,64,0.06), 0 4px 16px rgba(10,37,64,0.10);
}
.vd-pl-letters {
  font-size: 27px;
  font-weight: 800;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -1px;
  line-height: 1;
  user-select: none;
}
.vd-pl-v { color: #0A2540; }
.vd-pl-d { color: #FF5E00; }
.vd-pl-spinner {
  position: absolute;
  inset: 0;
  width: 120px;
  height: 120px;
  animation: vdPlSpin 1.4s linear infinite;
  transform-origin: 60px 60px;
}
@keyframes vdPlSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
