/*
Theme Name: SmartGiftAI
Author: IntellibizzAI
Author URI: https://intellibizzai.com
Description: SmartGiftAI wordpress theme
Version: 1.2
Text Domain: smartgiftai
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* Hide Google browser-injected overlays */
.goog-rtopics, [class^="goog-"], [id^="goog-"] { display: none !important; }

:root {
    /* Premium Identity Brand Colors */
    --primary-color: #E5A93C; /* Premium Gold */
    --secondary-color: #0A0A0A; /* Deep Charcoal/Black */
    --accent-color: #F8F8F8; /* Crisp White */
    --highlight-color: #CBA153; /* Soft Gold */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E5A93C 0%, #CBA153 100%);
    --gradient-hover: linear-gradient(135deg, #CBA153 0%, #B88E3E 100%);
    --gradient-hero: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    --gradient-text: linear-gradient(to right, #E5A93C, #F8F8F8);
    
    /* Backgrounds */
    --bg-body: #050505;
    --bg-card: rgba(25, 25, 25, 0.4);
    
    /* Neutrals */
    --text-main: #E0E0E0;
    --text-light: #A0A0A0;
    --white: #ffffff;
    
    /* Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px rgba(229, 169, 60, 0.15);
    --glass-blur: blur(16px);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-tech: 'Cormorant Garamond', serif;
    
    /* BOOTSTRAP VARIABLE OVERRIDES */
    --bs-primary:           #E5A93C;
    --bs-primary-rgb:       229, 169, 60;
    --bs-secondary:         #1a1a1a;
    --bs-secondary-rgb:     26, 26, 26;
    --bs-success:           #E5A93C;
    --bs-success-rgb:       229, 169, 60;
    --bs-info:              #CBA153;
    --bs-info-rgb:          203, 161, 83;
    --bs-warning:           #E5A93C;
    --bs-warning-rgb:       229, 169, 60;
    --bs-body-bg:           #050505;
    --bs-body-color:        #E0E0E0;
    --bs-link-color:        #E5A93C;
    --bs-link-hover-color:  #CBA153;
    --bs-border-color:      rgba(255,255,255,0.08);
    --bs-card-bg:           rgba(255,255,255,0.03);
    --bs-light:             rgba(255,255,255,0.05);
    --bs-light-rgb:         255,255,255;
    --bs-dark:              #0a0a0a;
    --bs-dark-rgb:          10,10,10;
}

/* Override Bootstrap bg/text utilities that bleed white/blue */
.bg-white   { background-color: rgba(255,255,255,0.04) !important; }
.bg-light   { background-color: rgba(255,255,255,0.04) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-info    { background-color: rgba(229,169,60,0.15) !important; }
.bg-success { background-color: rgba(229,169,60,0.15) !important; }

.text-primary   { color: var(--primary-color) !important; }
.text-secondary { color: rgba(255,255,255,0.5) !important; }
.text-muted     { color: rgba(255,255,255,0.4) !important; }
.text-white-50  { color: rgba(255,255,255,0.5) !important; }
.text-success   { color: var(--primary-color) !important; }
.text-info      { color: var(--primary-color) !important; }
.text-warning   { color: var(--primary-color) !important; }
.text-dark      { color: #fff !important; }

.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; }

/* Bootstrap card override */
.card { color: var(--text-main); }
.card .card-title { color: #fff; }
.card .card-text  { color: rgba(255,255,255,0.45); }

/* Bootstrap badge */
.badge.bg-light { background-color: rgba(229,169,60,0.12) !important; color: var(--primary-color) !important; }
.badge.bg-primary { background-color: var(--primary-color) !important; color: #0a0a0a !important; }

/* Bootstrap progress bar */
.progress { background-color: rgba(255,255,255,0.08) !important; }
.progress-bar { background-color: var(--primary-color) !important; }

/* Bootstrap border utilities */
.border-light  { border-color: rgba(255,255,255,0.08) !important; }
.border-primary { border-color: var(--primary-color) !important; }

/* Base Reset */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* Utilities */
.z-0 { z-index: 0 !important; }
.z-1 { z-index: 1 !important; }
.z-2 { z-index: 2 !important; }
.z-3 { z-index: 3 !important; }
.z-index-1 { z-index: 1 !important; }

.text-gradient-cyan {
    background: linear-gradient(135deg, #00D2FF 0%, #6C63FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Micro-interactions & Polish */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hover-scale:hover {
    transform: scale(1.02);
}

.hover-glow {
    transition: all 0.3s ease;
}
.hover-glow:hover {
    box-shadow: 0 0 24px rgba(229, 169, 60, 0.2);
    border-color: rgba(229,169,60,0.3);
}

a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   PREMIUM DESIGN SYSTEM — IntelliBizzAI Quality
   ============================================= */

/* Section Labels & Titles */
.section-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    display: block;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}
.section-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.45);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Hero Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.hero-blob-1 {
    width: 500px; height: 500px;
    top: -100px; left: -100px;
    background: rgba(229,169,60,0.08);
}
.hero-blob-2 {
    width: 600px; height: 600px;
    bottom: -150px; right: -100px;
    background: rgba(203,161,83,0.06);
}
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Hero Buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    background: var(--gradient-primary);
    color: #0A0A0A;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(229,169,60,0.3);
    color: #0A0A0A;
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}
.btn-hero-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual-card { position: relative; display: inline-block; }
.hero-float-badge {
    position: absolute;
    bottom: -20px; left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(20,20,20,0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(229,169,60,0.2);
    border-radius: 8px;
    animation: float-badge 4s ease-in-out infinite;
}
@keyframes float-badge {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes pulse-dot {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:0.5; transform:scale(1.4); }
}

/* Process Cards */
.process-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}
.process-card:hover {
    border-color: rgba(229,169,60,0.25);
    background: rgba(229,169,60,0.04);
    transform: translateY(-6px);
}
.process-card--featured {
    border-color: rgba(229,169,60,0.3);
    background: rgba(229,169,60,0.05);
}
.process-number {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 24px;
    opacity: 0.7;
}
.process-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 8px;
    background: rgba(229,169,60,0.1);
    border: 1px solid rgba(229,169,60,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.process-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}
.process-card-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    margin: 0;
}

/* About Section */
.about-stat-card {
    position: absolute;
    bottom: -16px; right: -16px;
    padding: 20px 24px;
    background: rgba(15,15,15,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(229,169,60,0.2);
    border-radius: 8px;
    min-width: 160px;
    animation: float-badge 5s ease-in-out infinite;
}
.about-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.about-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.9;
    max-width: 520px;
}
.about-features { display: flex; flex-direction: column; gap: 28px; }
.about-feature-item { display: flex; align-items: flex-start; gap: 20px; }
.about-feature-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 8px;
    background: rgba(229,169,60,0.1);
    border: 1px solid rgba(229,169,60,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 2px;
}
.about-feature-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}
.about-feature-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    margin: 0;
}

/* Occasion Cards */
.occasion-card {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.occasion-card:hover {
    border-color: rgba(229,169,60,0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.occasion-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.occasion-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.occasion-card:hover .occasion-img { transform: scale(1.06); }
.occasion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.7) 0%, transparent 60%);
}
.occasion-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.occasion-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.occasion-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}
.occasion-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}
.occasion-btn:hover { color: var(--highlight-color); gap: 8px; }

/* Testimonial Cards */
.testimonial-card {
    padding: 36px 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    border-color: rgba(229,169,60,0.2);
    background: rgba(229,169,60,0.03);
    transform: translateY(-4px);
}
.testimonial-quote {
    font-family: var(--font-tech);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(229,169,60,0.15);
    border: 1px solid rgba(229,169,60,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}
.testimonial-name {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
}
.testimonial-role {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}

/* Article Cards */
.article-card {
    display: flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}
.article-card:hover {
    border-color: rgba(229,169,60,0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.article-thumb {
    width: 160px;
    flex-shrink: 0;
    overflow: hidden;
}
.article-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.06); }
.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-meta {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.article-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}
.article-excerpt {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}
.article-link {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.article-link:hover { color: var(--highlight-color); gap: 8px; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: rgba(229,169,60,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.heading {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
    /* Prevent layout thrashing during text animations */
    min-height: 160px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heading .title {
    font-size: 3rem;
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
    /* Enforce strict line height to prevent vertical jitter */
    line-height: 1.2; 
    height: 1.2em; /* Lock height */
    white-space: nowrap; /* Prevent wrapping changes */
}

/* Add a fun underline to headings */
.heading .title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 10px;
    margin: 10px auto 0;
}

.heading .desc {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Navbar */
.header {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header .logo {
    max-height: 50px;
    width: auto;
}

.navbar-light .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link {
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(229, 169, 60, 0.05);
}

/* Hero Section - Premium & Cinematic */
.hero {
    position: relative;
    padding: 100px 0 100px;
    background: var(--bg-body);
    color: var(--white);
    overflow: hidden;
}

/* Cinematic Spotlight Effects */
.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.hero::before {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
}

.hero::after {
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--highlight-color);
}

/* Button Premium Styles */
.btn-primary {
    background: var(--gradient-primary);
    color: #0A0A0A;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229,169,60,0.3);
    color: #0A0A0A;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(229,169,60,0.5);
}
.btn-secondary:hover {
    background: rgba(229,169,60,0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: rgba(229,169,60,0.4) !important;
    color: var(--primary-color) !important;
    background: transparent;
}
.btn-outline-primary:hover {
    background: rgba(229,169,60,0.1) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-success {
    background: var(--gradient-primary);
    color: #0A0A0A;
    border: none;
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229,169,60,0.3);
    color: #0A0A0A;
}

/* Cards */
.card {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(229,169,60,0.25);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.card-text { color: rgba(255,255,255,0.45); font-size: 0.9rem; }

/* Tech card */
.tech-card {
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
    will-change: transform;
}
.tech-card:hover {
    border-color: rgba(229,169,60,0.25);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* Sections */
.about {
    padding: 100px 0;
    position: relative;
}

.ocassion {
    padding: 100px 0;
}

.blog {
    padding: 100px 0;
}

/* Shop Section - Dark Tech */
.shop {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #F4F7FE 0%, #eef2ff 100%);
    border-top: 1px dashed rgba(108, 99, 255, 0.3);
    border-bottom: 1px dashed rgba(108, 99, 255, 0.3);
}

.shop .heading .title {
    background: var(--gradient-text); /* Keep vibrant text */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Customize AffiAI Grid if possible via CSS targeting generic classes or wrapper */
.product-grid-wrapper .affiai-product-card, 
.affiai-product-card { /* Assuming class names, or target generic cards inside */
    background: var(--white) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(108, 99, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    overflow: hidden;
}

.product-grid-wrapper .affiai-product-card:hover,
.affiai-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2) !important;
    border-color: var(--accent-color) !important;
}

/* Shop Section - Dark Tech */
.shop {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #F4F7FE 0%, #eef2ff 100%);
    border-top: 1px dashed rgba(108, 99, 255, 0.3);
    border-bottom: 1px dashed rgba(108, 99, 255, 0.3);
}

.shop .heading .title {
    background: var(--gradient-text); /* Keep vibrant text */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Customize AffiAI Grid if possible via CSS targeting generic classes or wrapper */
.product-grid-wrapper .affiai-product-card, 
.affiai-product-card { /* Assuming class names, or target generic cards inside */
    background: var(--white) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(108, 99, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    overflow: hidden;
}

.product-grid-wrapper .affiai-product-card:hover,
.affiai-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2) !important;
    border-color: var(--accent-color) !important;
}

/* Forms - Friendly Inputs */
.find-gifts-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: var(--radius-sm);
    border: 2px solid #e2e8f0;
    background: #fdfdfd;
    padding: 1rem;
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > textarea.form-control {
    height: auto;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

/* Footer */
.footer {
    background: var(--bg-body);
    padding-top: 0;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bg-grid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.footer-glow { display: none; }

.footer-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    transform: translateX(4px);
}

/* 404 System Failure */
.error-404 {
    background: #0b0d17;
    position: relative;
    overflow: hidden;
}

.glitch-wrapper {
    position: relative;
}

.glitch-text {
    position: relative;
    color: var(--white);
    mix-blend-mode: hard-light;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0d17;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(15px, 9999px, 86px, 0); }
    20% { clip: rect(69px, 9999px, 5px, 0); }
    40% { clip: rect(2px, 9999px, 83px, 0); }
    60% { clip: rect(32px, 9999px, 98px, 0); }
    80% { clip: rect(51px, 9999px, 35px, 0); }
    100% { clip: rect(98px, 9999px, 12px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(57px, 9999px, 98px, 0); }
    20% { clip: rect(21px, 9999px, 3px, 0); }
    40% { clip: rect(91px, 9999px, 16px, 0); }
    60% { clip: rect(4px, 9999px, 66px, 0); }
    80% { clip: rect(83px, 9999px, 39px, 0); }
    100% { clip: rect(27px, 9999px, 11px, 0); }
}

/* Comments - Communication Log */
.comments-area {
    background: transparent;
}

.comment-list {
    position: relative;
}

.comment-list .card {
    border-left: 3px solid var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.comment-list .card:hover {
    border-color: var(--accent-color) !important;
}

.comment-reply-title {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

/* Tech Textarea Override */
.find-gifts-form textarea.form-control {
    background: #fdfdfd;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

.find-gifts-form textarea.form-control:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

/* Tech Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background: #0b0d17;
}

::-webkit-scrollbar-track {
    background: rgba(108, 99, 255, 0.05);
    border-left: 1px solid rgba(108, 99, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
    border: 2px solid #0b0d17;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Measurement Ruler Headings */
.heading {
    position: relative;
}

.heading::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 10px;
    background-image: linear-gradient(90deg, 
        rgba(108, 99, 255, 0.3) 1px, transparent 1px,
        transparent 19px
    );
    background-size: 20px 100%;
    border-bottom: 1px solid rgba(108, 99, 255, 0.3);
}

/* Sidebar Control Panel */
.sidebar-control-panel {
    position: sticky;
    top: 100px;
    z-index: 10;
}

/* Fix sidebar visibility - prevent AdSense from hiding sidebar */
.col-lg-4 .sidebar-control-panel {
    min-height: 200px;
}

/* AdSense container - ensure it doesn't collapse and is centered */
.adsense-ad-container {
    min-height: 100px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    visibility: visible !important;
    width: 100%;
    text-align: center !important;
}

.adsense-ad-container ins.adsbygoogle {
    display: inline-block !important;
    min-height: 90px;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Find Gifts page specific ad centering */
#form .adsense-ad-container {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

#form .adsense-ad-container ins.adsbygoogle,
#form .adsense-ad-container iframe {
    margin: 0 auto !important;
}

/* Ensure sidebar column stays visible */
.col-lg-4 {
    display: block !important;
    visibility: visible !important;
}

/* Sidebar Widgets - Data Lists */
.widget ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.widget ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(108, 99, 255, 0.1);
    padding-bottom: 0.5rem;
}

.widget ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-family: monospace;
    font-weight: bold;
}

.widget ul li a {
    color: var(--text-main);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.widget ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(108, 99, 255, 0.3);
    padding-left: 5px;
}

/* Tech Post Navigation */
.nav-links,
.tech-nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

/* Fix: Target WP wrappers to be the flex items */
.nav-links .nav-previous,
.nav-links .nav-next,
.tech-nav-links .tech-nav-previous,
.tech-nav-links .tech-nav-next {
    flex: 1;
    min-width: 0; /* Important for text-truncate */
}

.nav-links a,
.tech-nav-links a {
    display: block; /* Fill the wrapper */
    height: 100%; /* Equal height */
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 99, 255, 0.1);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 0; /* For text-truncate */
    position: relative;
    overflow: hidden;
}

.nav-links a::before,
.tech-nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.nav-links a[rel="next"]::before,
.tech-nav-links a[rel="next"]::before {
    left: auto;
    right: 0;
    background: var(--primary-color);
}

.nav-links a:hover,
.tech-nav-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.nav-links a:hover::before,
.tech-nav-links a:hover::before {
    opacity: 1;
    width: 6px;
}

/* Post Content Styles (Moved from single.php) */
.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 1.05rem;
}
.post-content h2, .post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 700;
}
.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.post-content li {
    margin-bottom: 0.5rem;
}
.post-content img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
}

/* Footer - Tech Redesign */
.footer {
    background: #1a1c35; /* Dark Tech Blue */
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: 50px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

.footer-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 300px;
    background: radial-gradient(circle at 50% 100%, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer h6 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#footer-desc {
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.footer a {
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    padding-left: 5px;
}

/* Glass Badges & Refined Elements */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

/* Iframe */
.iframe-container {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 4px solid var(--white);
}

/* Utilities */
.object-fit-cover {
    object-fit: cover;
}
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bg-gradient-to-t {
    background: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-white {
    --tw-gradient-from: #ffffff;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}
.to-transparent {
    --tw-gradient-to: transparent;
}

/* Tech Search Form (Command Prompt Style) */
.tech-search-form .tech-input-container {
    background: rgba(11, 13, 23, 0.8);
    border: 1px dashed rgba(108, 99, 255, 0.4);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.tech-search-form .tech-input-container:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.tech-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.tech-prompt-symbol {
    animation: blink-prompt 1.5s infinite;
}

@keyframes blink-prompt {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Tech Chips (Tags/Categories) */
.tech-chip {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 4px; /* More angular tech look */
    color: var(--secondary-color);
    font-family: 'Courier New', monospace; /* or var(--font-tech) if mapped */
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tech-chip:hover {
    background: rgba(108, 99, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
    transform: translateY(-2px);
}

.tech-chip i {
    font-size: 0.7rem;
    margin-right: 0.3rem;
    opacity: 0.7;
}


/* Button Pulse Animation */
.btn-pulse {
    animation: btn-pulse-anim 2s infinite;
}

@keyframes btn-pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(108, 99, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0); }
}

/* Animated Hamburger */
.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 9px; }
.hamburger-icon span:nth-child(3) { top: 18px; }

/* Open state */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* System Alert Blockquote */
blockquote {
    background: rgba(108, 99, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    position: relative;
}

blockquote::before {
    content: '\f10d'; /* FontAwesome quote icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: rgba(108, 99, 255, 0.1);
}

/* Data Grid Table */
table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

th {
    background: rgba(108, 99, 255, 0.1);
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(0, 210, 255, 0.05);
}

/* AffiAI Card Styling Override to match Tech Card */
.affiai-product-card {
    position: relative !important;
    overflow: hidden !important;
    background: var(--white) !important;
    border: 1px solid rgba(108, 99, 255, 0.1) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.3s ease !important;
}

.affiai-product-card::before,
.affiai-product-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 5;
    opacity: 0.5;
}

.affiai-product-card::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    border-top-left-radius: var(--radius-md);
}

.affiai-product-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    border-bottom-right-radius: var(--radius-md);
}

.affiai-product-card:hover::before,
.affiai-product-card:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.affiai-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-hover) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .heading .title { font-size: 2.5rem; }
    .hero .content .title { font-size: 2.8rem; }
    .hero { border-radius: 0; padding: 80px 0 60px; }
    .footer { border-radius: 0; }

    /* Glass Tech Mobile Menu Overlay */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 13, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1050;
        padding: 80px 20px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        overflow-y: auto; /* Handle small screens/landscape */
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* System Menu Header */
    .navbar-collapse::before {
        content: 'SYSTEM_MENU //';
        position: absolute;
        top: 20px;
        left: 20px;
        font-family: monospace;
        color: var(--accent-color);
        font-size: 0.8rem;
        letter-spacing: 2px;
        opacity: 0.7;
    }

    /* Mobile Nav Items Animation */
    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        margin-bottom: 2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .navbar-collapse.show .navbar-nav .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger delays */
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(5) { transition-delay: 0.5s; }
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(6) { transition-delay: 0.6s; }

    .navbar-nav .nav-link {
        font-size: 1.5rem;
        color: var(--white) !important;
        font-weight: 700;
    }

    .navbar-nav .nav-link.active {
        color: var(--accent-color) !important;
        position: relative;
    }

    .navbar-nav .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 6px;
        height: 6px;
        background: var(--accent-color);
        border-radius: 50%;
        box-shadow: 0 0 10px var(--accent-color);
        animation: fade-in-dot 0.3s ease-out;
    }

    @keyframes fade-in-dot {
        from { opacity: 0; transform: translateX(-50%) scale(0); }
        to { opacity: 1; transform: translateX(-50%) scale(1); }
    }

    /* Ensure toggler is above overlay */
    .navbar-toggler {
        z-index: 1100;
        position: relative;
    }
}

/* Search Bar Scanning Effect */
.tech-search-form {
    position: relative;
    overflow: hidden;
}

.tech-search-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.4), transparent);
    z-index: 10;
    pointer-events: none;
    transition: none;
}

.tech-search-form:focus-within::after {
    animation: scan-input 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scan-input {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Holographic Button Effect */
.btn-holographic {
    position: relative;
    overflow: hidden;
    background: var(--bg-card); /* Fallback */
    z-index: 1;
}

.btn-holographic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent 0deg, 
        rgba(0, 210, 255, 0.4) 60deg, 
        transparent 120deg, 
        rgba(108, 99, 255, 0.4) 180deg, 
        transparent 240deg, 
        rgba(255, 101, 132, 0.4) 300deg, 
        transparent 360deg
    );
    animation: holo-spin 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-holographic:hover::before {
    opacity: 1;
}

.btn-holographic::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--secondary-color); /* Inner bg */
    border-radius: inherit;
    z-index: -1;
}

@keyframes holo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sparkles for Holographic Button */
.btn-holographic .sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.btn-holographic:hover .sparkle {
    animation: sparkle-pop 1s infinite;
}

.btn-holographic:hover .sparkle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.btn-holographic:hover .sparkle:nth-child(2) { top: 80%; left: 70%; animation-delay: 0.2s; }
.btn-holographic:hover .sparkle:nth-child(3) { top: 30%; left: 80%; animation-delay: 0.4s; }

@keyframes sparkle-pop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}

/* Cyber Grid Overlay */
.card-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-img-wrapper::before {
    opacity: 0.4;
}

/* Tag Cloud Tech Chips */
.tagcloud a {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 4px;
    color: var(--secondary-color);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem !important;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 0.3rem;
    margin-bottom: 0.5rem;
}

.tagcloud a:hover {
    background: rgba(108, 99, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
    transform: translateY(-2px);
}

/* Terminal Command Blocks */
pre {
    background: #0d0f17;
    color: #00ff00; /* Neon Green text */
    padding: 3rem 1.5rem 1.5rem; /* Top padding for header */
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    font-family: var(--font-tech, monospace);
    border: 1px solid rgba(108, 99, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

pre::after {
    content: ' ';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56; /* Red dot */
    box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f; /* Yellow and Green dots */
}

code {
    font-family: var(--font-tech, monospace);
    color: var(--accent-color);
    background: rgba(108, 99, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

pre code {
    color: inherit; /* Inherit neon green in terminal blocks */
    background: transparent;
    padding: 0;
}

/* Holographic Glitch Hover Effect */
.hero-visual img {
    transition: filter 0.3s ease;
}

.hero-visual:hover img {
    animation: holo-glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5)) brightness(1.2) hue-rotate(10deg);
}

@keyframes holo-glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* AI Inference Overlay (Loading Screen) */
.inference-overlay {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 13, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.inference-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.inference-scanner {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    animation: scan-vertical 2s linear infinite;
}

@keyframes scan-vertical {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* AI Chat Widget */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
    z-index: 9990;
    transition: all 0.3s ease;
}

.ai-chat-widget:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.6);
}

.ai-chat-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* AI Chat Window */
.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    z-index: 9991;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slide-up-fade 0.3s ease;
}

@keyframes slide-up-fade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    background: var(--primary-color);
    padding: 15px;
    color: white;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chat-footer {
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eee;
}

.chat-message {
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.system-message {
    background: rgba(108, 99, 255, 0.1);
    color: var(--secondary-color);
    font-style: italic;
    font-size: 0.8rem;
}

.bot-message {
    background: white;
    border: 1px solid rgba(108, 99, 255, 0.1);
    color: var(--text-main);
    border-top-left-radius: 0;
}

.text-accent { color: var(--accent-color); }

/* Back to Top (Progress Wrap) */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(229,169,60,0.25), 0 4px 20px rgba(0,0,0,0.4);
    z-index: 9989;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    background: rgba(12,12,12,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    content: '\f062';
    font-weight: 900;
    text-align: center;
    line-height: 46px;
    font-size: 15px;
    color: var(--primary-color);
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap:hover {
    box-shadow: inset 0 0 0 2px rgba(229,169,60,0.6), 0 6px 24px rgba(229,169,60,0.2);
}

.progress-wrap::before {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    content: '\f062'; /* Arrow up */
    font-weight: 900;
    text-align: center;
    line-height: 46px;
    font-size: 16px;
    opacity: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--primary-color);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

.progress-wrap svg path {
    stroke: rgba(229,169,60,0.15);
}

/* Firefox Scrollbar Support */
html {
    scrollbar-color: var(--primary-color) #0b0d17;
    scrollbar-width: thin;
    position: relative;
    height: 1px;
    background: rgba(108, 99, 255, 0.2);
    width: 100%;
    margin: 0;
    overflow: visible;
    z-index: 10;
}

.tech-divider::before, .tech-divider::after {
    content: '+';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-family: var(--font-tech, monospace);
    font-size: 1.2rem;
    line-height: 0;
    text-shadow: 0 0 5px var(--accent-color);
}

.tech-divider::before { left: 10%; }
.tech-divider::after { right: 10%; }

.tech-divider .center-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border: 1px solid var(--primary-color);
    background: #0b0d17;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

/* Adjust position if Chat Widget is present */
.ai-chat-widget { bottom: 30px; right: 30px; }
.progress-wrap { bottom: 100px; right: 37px; width: 46px; height: 46px; } /* Stacked above chat */

/* Process Ping Ring Animation */
.process-ping-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: transparent;
    border: 1px solid var(--primary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: ping-hexagon 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes ping-hexagon {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    75%, 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* Tech Grid Background Utility */
.tech-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(108, 99, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* Holographic Toast Notification */
#tech-toast-container {
    z-index: 100000;
    pointer-events: none;
}

.tech-toast {
    background: rgba(11, 13, 23, 0.9);
    border: 1px solid var(--accent-color);
    border-left: 4px solid var(--accent-color);
    color: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px; /* Angular tech look */
    padding: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-tech, monospace);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
    pointer-events: auto;
    min-width: 300px;
}

.tech-toast.show {
    transform: translateX(0);
}

.tech-toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: toast-scan 2s linear infinite;
}

@keyframes toast-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tech-toast .toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.25rem;
}

.tech-toast .toast-title {
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

/* Page Transition Overlay (System Wipe) */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0d17;
    z-index: 99999;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.8, 0, 0.2, 1);
    pointer-events: none;
}

.page-transition-overlay.active {
    transform: scaleY(1);
    transform-origin: bottom;
    pointer-events: auto;
}

.page-transition-overlay.exit {
    transform: scaleY(0);
    transform-origin: top;
}

/* Logo Hover Effect */
.navbar-brand svg {
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.navbar-brand:hover svg {
    filter: drop-shadow(0 0 8px rgba(229,169,60,0.5));
    opacity: 0.9;
}

/* Legacy Iframe HUD Overlay */
.iframe-overlay-hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.iframe-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    opacity: 0.5;
}

.iframe-corner.tl { top: 10px; left: 10px; border-bottom: none; border-right: none; }
.iframe-corner.tr { top: 10px; right: 10px; border-bottom: none; border-left: none; }
.iframe-corner.bl { bottom: 10px; left: 10px; border-top: none; border-right: none; }
.iframe-corner.br { bottom: 10px; right: 10px; border-top: none; border-left: none; }

.iframe-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 210, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    animation: scan-vertical 3s linear infinite;
}

/* Ensure iframe container handles positioning */
.iframe-container {
    position: relative;
    background: #fff;
}

/* Terminal Mode Form (Comments) */
.terminal-mode {
    background: #0d0f17 !important;
    border: 1px solid rgba(108, 99, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.terminal-mode::before {
    content: 'COMM_LOG // WRITE_MODE';
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: var(--font-tech, monospace);
    font-size: 0.7rem;
    color: var(--accent-color);
    opacity: 0.7;
    pointer-events: none;
}

.terminal-mode .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #00ff00 !important;
    font-family: var(--font-tech, monospace) !important;
}

.terminal-mode .form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2) !important;
}

.terminal-mode label {
    color: var(--accent-color) !important;
    font-family: var(--font-tech, monospace) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terminal-mode .btn-primary {
    background: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    font-family: var(--font-tech, monospace) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.terminal-mode .btn-primary:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 15px var(--primary-color) !important;
}

/* Scroll Down Indicator (Mouse Wheel) */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouse-scroll 1.5s infinite;
}

.arrow-span {
    text-align: center;
    margin-top: 10px;
}

.arrow-span span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    margin: -4px auto 0;
    animation: arrow-scroll 1.5s infinite;
}

.arrow-span span:nth-child(2) { animation-delay: 0.2s; }
.arrow-span span:nth-child(3) { animation-delay: 0.4s; }

@keyframes mouse-scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes arrow-scroll {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* Tech Breadcrumbs */
.tech-breadcrumbs {
    font-family: var(--font-tech, monospace);
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.tech-breadcrumbs a:hover {
    color: var(--primary-color);
}

.tech-breadcrumbs .separator {
    color: var(--accent-color);
}

/* System Boot Preloader */
#system-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0d17;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.system-spinner {
    width: 3rem;
    height: 3rem;
}

/* Front Page Utilities */
.hero-title {
    line-height: 1.1;
}

.max-w-600 {
    max-width: 600px;
}

.max-w-550 {
    max-width: 550px;
}

.max-w-700 {
    max-width: 700px;
}

.hero-visual-img {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.interface-decoration {
    transform: translate(20px, -20px);
    min-width: 180px;
    max-width: 200px;
}

/* Pulse Dot Animation */
.pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.fs-10px {
    font-size: 10px;
}

.fs-07rem {
    font-size: 0.7rem;
}

.fs-08rem {
    font-size: 0.8rem;
}

.fs-11rem {
    font-size: 1.1rem;
}

.ls-1px {
    letter-spacing: 1px;
}

.h-8px {
    height: 8px;
}

.w-60 {
    width: 60%;
}

.match-bar {
    height: 4px;
}

.avatar-circle {
    width: 48px;
    height: 48px;
}

.blog-thumb-h {
    min-height: 140px;
}

.font-courier {
    font-family: 'Courier New', monospace;
}

.min-w-200px {
    min-width: 200px;
}

.fs-065rem {
    font-size: 0.65rem;
}

.fs-06rem {
    font-size: 0.6rem;
}

.h-4px {
    height: 4px;
}

.size-48px {
    width: 48px;
    height: 48px;
}

.min-h-140px {
    min-height: 140px;
}

.ad-container-centered {
    text-align: center;
    margin: 20px 0;
}

.text-secondary-color {
    color: var(--secondary-color);
}

.tech-featured-logo {
    width: 180px;
}

.card-img-h-220 {
    height: 220px;
}

.card-img-h-240 {
    height: 240px;
}

.mt-n60 {
    margin-top: -60px;
}

.iframe-h {
    height: 800px;
}

.h-150px {
    height: 150px;
}

.textarea-h {
    min-height: 150px;
}

.border-dashed-tech {
    border-top: 1px dashed rgba(108, 99, 255, 0.3) !important;
}

.w-12px {
    width: 12px;
}

.h-12px {
    height: 12px;
}

.min-h-80px {
    min-height: 80px;
}

.fs-15rem {
    font-size: 1.5rem;
}

.fs-09rem {
    font-size: 0.9rem;
}

.fs-075rem {
    font-size: 0.75rem;
}

.fs-085rem {
    font-size: 0.85rem;
}

.hero-padding {
    padding-top: 140px; 
    padding-bottom: 80px; 
    min-height: auto;
}

.hero-padding-sm {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: auto;
}

.hero-padding-single {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
}

.min-h-80vh {
    min-height: 80vh;
}

.error-glow {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.fs-8rem {
    font-size: 8rem;
}

.ls-n5px {
    letter-spacing: -5px;
}

.fs-1rem {
    font-size: 1rem;
}

.radial-bg-overlay {
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.single-title {
    font-size: 2.8rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.orb-product-1 {
    width: 40vw; 
    height: 40vw; 
    top: -20%; 
    left: -10%; 
    background: var(--accent-color); 
    opacity: 0.3;
}

.orb-product-2 {
    width: 35vw; 
    height: 35vw; 
    bottom: -20%; 
    right: -10%; 
    background: var(--primary-color); 
    opacity: 0.3;
}

.social-btn-size {
    width: 40px; 
    height: 40px;
}

.fs-4rem {
    font-size: 4rem;
}

.min-h-200px {
    min-height: 200px;
}

.logo-h {
    max-height: 45px;
}

.z-index-2 {
    z-index: 2;
}

.mt-0 {
    margin-top: 0;
}

.filter-blur-xl {
    filter: blur(60px);
}

/* Enhanced Gift Finder Form */
.gift-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(108, 99, 255, 0.15);
    position: relative;
}

.gift-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
}

/* Enhanced Select and Input Styling */
.gift-select,
.gift-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background-color: #fff;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gift-select:hover,
.gift-input:hover {
    border-color: var(--primary-color);
    background-color: #fafaff;
}

.gift-select:focus,
.gift-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15);
    outline: none;
    background-color: #fff;
}

/* Custom select arrow */
.gift-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236C63FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

/* Progress bar styling */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

/* Text accent color */
.text-accent {
    color: var(--accent-color) !important;
}

/* Text gradient for headings */
.text-gradient-purple {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Gift Finder Form - Brand Colors */
.gift-finder-card {
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(108, 99, 255, 0.2);
}

.gift-finder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.15);
}

/* Decorative gradient glow behind card */
.gift-card-border-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gift-finder-card:hover .gift-card-border-glow {
    opacity: 1;
}

/* Text gradient for "PERFECT" */
.text-gradient-purple {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Accent color class */
.text-accent {
    color: var(--accent-color) !important;
}

/* Form field wrapper with brand shadow */
.form-field-wrapper-brand {
    position: relative;
}

.form-field-wrapper-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    border-radius: 12px;
    transform: translate(3px, 3px);
    transition: transform 0.3s ease;
    z-index: 0;
    opacity: 0.8;
}

.form-field-wrapper-brand:hover::before {
    transform: translate(4px, 4px);
}

/* Brand styled selects and inputs */
.form-select-brand,
.form-control-brand {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 44px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-field-wrapper-brand:hover .form-select-brand,
.form-field-wrapper-brand:hover .form-control-brand {
    transform: translate(-2px, -2px);
}

.form-select-brand:focus,
.form-control-brand:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2);
    outline: none;
}

/* Progress bar with brand gradient */
.progress-bar-brand {
    background: var(--gradient-primary);
}

/* Submit button with brand gradient */
.btn-gift-submit {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-gift-submit:hover {
    background: var(--gradient-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

/* Global Selection */
::selection {
    background: var(--primary-color);
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Global Input/Select Styling */
input:not([type="submit"]):not([type="button"]):not(.fg-input),
select:not(.fg-select),
textarea:not(.fg-input) {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

input:not([type="submit"]):not([type="button"]):not(.fg-input):focus,
select:not(.fg-select):focus,
textarea:not(.fg-input):focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
    outline: none;
}

/* ========================================
   Tech-Style Gift Finder Form
   ======================================== */

/* Main Card Container */
.tech-form-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1f35 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

/* Glowing border effect */
.tech-form-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 26px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

/* Hover effect removed per user request */

/* Card Header */
.tech-form-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(108, 99, 255, 0.3);
}

.tech-icon-box {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.tech-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    padding: 6px 14px;
    border-radius: 50px;
    color: #22c55e;
}

.status-dot-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Card Body */
.tech-form-body {
    padding: 2rem;
}

@media (min-width: 992px) {
    .tech-form-body {
        padding: 2.5rem;
    }
}

/* Field Groups */
.tech-field-group {
    position: relative;
}

.tech-label {
    display: block;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-label i {
    margin-right: 6px;
}

/* Tech Select & Input */
.tech-select,
.tech-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(108, 99, 255, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300D2FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 45px;
}

.tech-select option {
    background: var(--secondary-color);
    color: #fff;
    padding: 10px;
}

.tech-select:focus,
.tech-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.15), 0 0 20px rgba(0, 210, 255, 0.2);
}

.tech-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Progress Section */
.tech-progress-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
}

.tech-progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.tech-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: width 0.4s ease;
    position: relative;
}

.tech-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================
   RESPONSIVE STYLES - ALL SCREEN SIZES
   ======================================== */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large Screens (992px - 1199px) */
@media (max-width: 1199px) {
    .hero .content .title {
        font-size: 3.2rem;
    }
    .heading .title {
        font-size: 2.8rem;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .hero .content .title {
        font-size: 2.5rem;
    }
    .heading .title {
        font-size: 2.2rem;
        white-space: normal;
        height: auto;
    }
    .heading {
        min-height: auto;
    }
    .ai-prompt-bar {
        max-width: 100%;
    }
    .ai-prompt-text {
        font-size: 0.8rem;
    }
    .floating-card {
        display: none;
    }
}

/* Small Tablets & Large Phones (576px - 767px) */
@media (max-width: 767px) {
    .hero {
        padding: 100px 0 60px;
    }
    .hero .content .title {
        font-size: 2rem;
    }
    .hero .content .desc {
        font-size: 1rem;
    }
    .heading .title {
        font-size: 1.8rem;
    }
    .heading .desc {
        font-size: 1rem;
    }
    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    section {
        padding: 60px 0;
    }
    .card-body {
        padding: 1.2rem;
    }
    .card-title {
        font-size: 1.2rem;
    }
    .footer {
        padding: 60px 0 30px;
    }
    .ai-prompt-bar {
        padding: 12px 16px;
    }
    .ai-prompt-text {
        font-size: 0.75rem;
    }
    /* Tech Form Responsive */
    .tech-form-card {
        margin: 0 -15px;
        border-radius: 20px;
    }
    .tech-form-header,
    .tech-form-body {
        padding: 1.5rem;
    }
}

/* Mobile Phones (max-width: 575px) */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
    .hero {
        padding: 60px 0 40px;
        min-height: auto;
    }
    /* Hero Content - Force Center on Mobile */
    .hero .content {
        text-align: center !important;
    }
    .hero .content .title {
        font-size: 1.75rem;
        line-height: 1.3;
        text-align: center;
    }
    .hero .content .desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    /* AI Prompt Bar Mobile - Fix overflow */
    .hero .ai-prompt-bar {
        padding: 10px 14px;
        border-radius: 12px;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        overflow: hidden;
    }
    .hero .ai-prompt-bar i {
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    .hero .ai-prompt-text {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Hero Buttons - Center and Stack */
    .hero .d-flex.flex-column.flex-sm-row {
        justify-content: center !important;
        align-items: center !important;
    }
    .hero .btn {
        width: 100%;
        max-width: 280px;
    }
    .heading {
        margin-bottom: 2.5rem;
    }
    .heading .title {
        font-size: 1.6rem;
    }
    .heading .desc {
        font-size: 0.9rem;
    }
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    .btn-group-hero {
        flex-direction: column;
        gap: 10px;
    }
    section {
        padding: 50px 0;
    }
    .card {
        border-radius: 16px;
    }
    .card-img-top {
        height: 180px;
    }
    .card-body {
        padding: 1rem;
    }
    .card-title {
        font-size: 1.1rem;
    }
    .card-text {
        font-size: 0.85rem;
    }
    /* Footer Mobile */
    .footer {
        text-align: center;
    }
    .footer .col-md-3,
    .footer .col-md-4,
    .footer .col-lg-3,
    .footer .col-lg-4 {
        text-align: center;
    }
    .footer-links {
        padding-left: 0;
    }
    /* Tech Form Mobile */
    .tech-form-header,
    .tech-form-body {
        padding: 1.25rem;
    }
    .tech-select,
    .tech-input {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    /* Single Post Mobile */
    .single-title {
        font-size: 1.5rem !important;
    }
    /* Testimonials Mobile */
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Extra Small Phones (max-width: 375px) */
@media (max-width: 375px) {
    .hero {
        padding: 70px 0 40px;
    }
    .hero .content .title {
        font-size: 1.4rem;
    }
    .hero .content .desc {
        font-size: 0.85rem;
    }
    .heading .title {
        font-size: 1.4rem;
    }
    .hero .ai-prompt-text {
        font-size: 0.6rem;
    }
    .hero .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        max-width: 250px;
    }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 60px 0 40px;
    }
    .navbar-collapse {
        padding-top: 60px;
    }
}

/* ==========================================
   WISHLIST / FAVORITES STYLES
   ========================================== */

/* Wishlist Heart Button on Product Cards */
.btn-wishlist {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    color: #adb5bd;
    font-size: 1.1rem;
}

.btn-wishlist:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #FF6584;
}

.btn-wishlist.active {
    color: #FF6584;
    background: #fff;
}

.btn-wishlist.active i {
    animation: heartPop 0.3s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Wishlist Navbar Button — unified dark/gold */
.btn-wishlist-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-wishlist-nav i {
    font-size: 1.1rem;
}

.btn-wishlist-nav:hover {
    border-color: rgba(229,169,60,0.4);
    color: var(--primary-color);
    background: rgba(229,169,60,0.06);
}

.btn-wishlist-nav .wishlist-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    background: var(--gradient-primary);
    color: #0a0a0a;
    border-radius: 50px;
}

.modal-backdrop {
    z-index: 1049 !important;
}

#wishlistModal .modal-header {
    background: var(--gradient-primary);
}

#wishlistModal .card {
    transition: all 0.3s ease;
}

#wishlistModal .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   SEARCH HISTORY STYLES
   ========================================== */

.search-history-section {
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.search-history-item {
    transition: all 0.2s ease;
    border-color: rgba(108, 99, 255, 0.2) !important;
    background: #fff;
}

.search-history-item:hover {
    background: var(--gradient-primary);
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.search-history-item:hover .badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.search-history-item:hover i {
    color: #fff !important;
}

/* ==========================================
   SHARE MODAL STYLES
   ========================================== */

.bg-gradient-share {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#shareModal .btn {
    transition: all 0.3s ease;
}

#shareModal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#shareModal .btn-success {
    background: #25D366;
    border-color: #25D366;
}

#shareModal .btn-success:hover {
    background: #128C7E;
    border-color: #128C7E;
}

#shareModal .btn-outline-primary.rounded-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#shareModal .btn-outline-primary.rounded-circle:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

/* ==========================================
   AI GIFT EXPLAINER STYLES
   ========================================== */

/* AI Explainer Button on Product Cards */
.btn-ai-explainer {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    color: #fff;
    font-size: 0.9rem;
}

.btn-ai-explainer:hover {
    background: linear-gradient(135deg, #6C63FF, #00D2FF);
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.5);
    color: #fff;
}

.btn-ai-explainer i {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* AI Explainer Tooltip */
.ai-explainer-tooltip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 90%;
    width: 400px;
}

.ai-explainer-tooltip.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.ai-explainer-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.ai-explainer-header {
    background: linear-gradient(135deg, #6C63FF 0%, #00D2FF 100%);
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.ai-explainer-header .btn-close {
    margin-left: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.ai-explainer-header .btn-close:hover {
    opacity: 1;
}

.ai-explainer-body {
    padding: 16px;
}

.ai-explainer-body p.fw-medium {
    color: var(--text-main);
    font-size: 0.95rem;
}

.ai-explainer-body p.text-muted {
    line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 575px) {
.ai-explainer-tooltip {
width: calc(100% - 30px);
bottom: 15px;
}
    
.btn-ai-explainer {
width: 28px;
height: 28px;
font-size: 0.8rem;
}
}

/* ==========================================
SOCIAL PROOF NOTIFICATIONS
========================================== */

.social-proof-container {
position: fixed;
bottom: 20px;
left: 20px;
z-index: 9998;
pointer-events: none;
}

.social-proof-notification {
display: flex;
align-items: center;
gap: 12px;
background: rgba(18,18,18,0.97);
padding: 14px 18px;
border-radius: 12px;
box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(229,169,60,0.15);
border-left: 3px solid #E5A93C;
max-width: 320px;
transform: translateX(-120%);
opacity: 0;
transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
pointer-events: auto;
backdrop-filter: blur(12px);
}

.social-proof-notification.show {
transform: translateX(0);
opacity: 1;
}

.social-proof-close {
position: absolute;
top: 8px;
right: 8px;
width: 20px;
height: 20px;
padding: 0;
border: none;
background: transparent;
color: rgba(255,255,255,0.3);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
transition: color 0.2s;
}

.social-proof-close:hover {
color: rgba(255,255,255,0.7);
}

.social-proof-icon {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, #F5C842 0%, #C8922A 100%);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.social-proof-icon i {
color: #fff;
font-size: 1.1rem;
}

.social-proof-content {
flex: 1;
min-width: 0;
}

.social-proof-text {
margin: 0;
font-size: 0.85rem;
font-weight: 500;
color: rgba(255,255,255,0.85);
font-family: var(--font-body);
line-height: 1.4;
}

.social-proof-time {
font-size: 0.75rem;
color: var(--primary-color);
font-weight: 600;
font-family: var(--font-body);
}

/* Mobile adjustments */
@media (max-width: 575px) {
.social-proof-container {
left: 10px;
right: 10px;
bottom: 15px;
}
    
.social-proof-notification {
max-width: 100%;
padding: 12px 14px;
}
    
.social-proof-icon {
width: 36px;
height: 36px;
}
    
.social-proof-text {
font-size: 0.8rem;
}
}

/* ==========================================
   GIFT QUIZ INTERATIVO (Tech Style - Matching Form)
   ========================================== */

.gift-quiz-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1f35 100%) !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.gift-quiz-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 26px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
}

.quiz-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Quiz Header */
.quiz-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(108, 99, 255, 0.3);
    margin-bottom: 2rem;
}

.quiz-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
    animation: float 3s ease-in-out infinite;
}

.quiz-main-icon {
    font-size: 2rem;
}

.quiz-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.quiz-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Quiz Progress */
.quiz-progress-bar {
    max-width: 300px;
    margin: 0 auto;
}

.quiz-progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

.quiz-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 10px;
}

.quiz-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quiz-step-dot.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);
}

.quiz-step-dot.completed {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: transparent;
    color: #fff;
}

/* Quiz Questions */
.quiz-questions-container {
    min-height: 320px;
}

.quiz-question {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.quiz-question.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-question-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
}

.quiz-question-subtitle {
    text-align: center;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Quiz Options Grid */
.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quiz-option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quiz-option-card:hover {
    background: rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}

.quiz-option-card.selected {
    background: rgba(108, 99, 255, 0.2);
    border-color: #6C63FF;
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(108, 99, 255, 0.3);
}

.quiz-option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.quiz-option-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.quiz-option-label {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.quiz-option-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Quiz Result */
.quiz-result-content {
    padding: 40px 20px;
}

.quiz-result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.quiz-result-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.quiz-result-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Skip Quiz Link */
.gift-quiz-card .btn-link {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gift-quiz-card .btn-link:hover {
    color: #6C63FF !important;
}

/* Mobile adjustments */
@media (max-width: 575px) {
    .gift-quiz-card {
        margin: 0 -15px;
        border-radius: 20px;
    }
    
    .quiz-options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .quiz-option-card {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 16px;
    }
    
    .quiz-option-icon {
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .quiz-option-card > span:not(.quiz-option-icon) {
        text-align: left;
    }
    
    .quiz-title {
        font-size: 1.4rem;
    }
    
    .quiz-question-title {
        font-size: 1.2rem;
    }
    
    .quiz-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .quiz-main-icon {
        font-size: 1.75rem;
    }
    
    .quiz-header {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* ==========================================
   WISHLIST MODAL - PREMIUM DARK UI
   ========================================== */

.wishlist-modal-content {
    border: 1px solid rgba(229, 169, 60, 0.15);
    border-radius: 20px;
    overflow: hidden;
    background: #0d0d0d;
}

.wishlist-modal-header {
    background: rgba(15, 15, 15, 0.98);
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(229, 169, 60, 0.12);
}

.wishlist-modal-icon {
    width: 44px;
    height: 44px;
    background: rgba(229, 169, 60, 0.1);
    border: 1px solid rgba(229, 169, 60, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.wishlist-modal-header .modal-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wishlist-modal-header small {
    color: rgba(255,255,255,0.35) !important;
    font-family: var(--font-body);
    font-size: 0.75rem;
}

.wishlist-modal-header .btn-close-white {
    filter: invert(1) brightness(0.5);
    transition: filter 0.2s ease;
}

.wishlist-modal-header .btn-close-white:hover {
    filter: invert(1) brightness(1);
}

.wishlist-modal-body {
    padding: 1.75rem;
    background: #0d0d0d;
}

/* Compare bar */
.wishlist-header-actions {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.wishlist-header-actions .text-muted {
    color: rgba(255,255,255,0.35) !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
}

/* Empty State */
.wishlist-empty {
    padding: 3rem 1rem !important;
}

.wishlist-empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    background: rgba(229, 169, 60, 0.06);
    border: 1px solid rgba(229, 169, 60, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-empty-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.wishlist-empty h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.wishlist-empty .text-muted {
    color: rgba(255,255,255,0.4) !important;
    font-size: 0.9rem;
}

.wishlist-features {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 12px !important;
}

.wishlist-features h6 {
    color: rgba(255,255,255,0.6);
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wishlist-features ul li {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.wishlist-features ul li strong {
    color: rgba(255,255,255,0.75);
}

.wishlist-features .bi-check-circle-fill {
    color: var(--primary-color) !important;
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.wishlist-item {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wishlist-item:hover {
    border-color: rgba(229, 169, 60, 0.25);
    background: rgba(229, 169, 60, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.wishlist-item-select {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.wishlist-item-select .form-check-input {
    width: 20px;
    height: 20px;
    background-color: rgba(0,0,0,0.5);
    border: 1.5px solid rgba(229, 169, 60, 0.4);
    cursor: pointer;
    border-radius: 5px;
}

.wishlist-item-select .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.wishlist-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(10,10,10,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255,255,255,0.35);
    font-size: 0.7rem;
    backdrop-filter: blur(4px);
}

.wishlist-item-remove:hover {
    background: rgba(220, 53, 69, 0.8);
    border-color: transparent;
    color: #fff;
}

.wishlist-item-image {
    height: 150px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.wishlist-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: luminosity;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.wishlist-item:hover .wishlist-item-image img {
    mix-blend-mode: normal;
    opacity: 1;
}

.wishlist-item-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

.wishlist-item-title {
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: rgba(255,255,255,0.8);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.wishlist-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.wishlist-item-price {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--primary-color);
}

.wishlist-item-rating {
    font-size: 0.78rem;
    color: rgba(229, 169, 60, 0.7);
    display: flex;
    align-items: center;
    gap: 3px;
}

.wishlist-item-rating i {
    font-size: 0.7rem;
}

.wishlist-item-content .btn {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    padding: 0.45rem 0.75rem;
    border-radius: 8px !important;
}

/* Wishlist Footer */
.wishlist-footer {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.wishlist-footer .btn {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-radius: 8px !important;
    padding: 0.5rem 1.25rem;
}

.wishlist-footer .btn-outline-secondary {
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
}

.wishlist-footer .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.8);
}

.wishlist-footer .btn-outline-danger {
    border-color: rgba(220,53,69,0.3);
    color: rgba(220,53,69,0.6);
}

.wishlist-footer .btn-outline-danger:hover {
    background: rgba(220,53,69,0.1);
    border-color: rgba(220,53,69,0.5);
    color: #dc3545;
}

/* Modal backdrop */
#wishlistModal .modal-dialog {
    --bs-modal-bg: transparent;
}

/* ==========================================
   PRODUCT COMPARATOR
   ========================================== */

.compare-modal-content {
    border: 1px solid rgba(229, 169, 60, 0.15);
    border-radius: 20px;
    overflow: hidden;
    background: #0d0d0d;
}

.compare-modal-header {
    background: rgba(15, 15, 15, 0.98);
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(229, 169, 60, 0.12);
}

.compare-modal-icon {
    width: 44px;
    height: 44px;
    background: rgba(229, 169, 60, 0.1);
    border: 1px solid rgba(229, 169, 60, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.compare-modal-header .modal-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.compare-modal-body {
    padding: 1.75rem;
    background: #0d0d0d;
}

.compare-container {
    overflow-x: auto;
}

.compare-grid {
    display: grid;
    gap: 1rem;
    min-width: fit-content;
}

.compare-grid-2 {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
}

.compare-grid-3 {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.compare-product {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.compare-product:hover {
    border-color: rgba(229, 169, 60, 0.2);
}

.compare-product-image {
    height: 170px;
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.compare-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: luminosity;
    opacity: 0.85;
}

.compare-product-info {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.compare-product-title {
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.45;
    min-height: 48px;
}

.compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compare-row:nth-child(even) {
    background: rgba(255,255,255,0.015);
}

.compare-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compare-value {
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: rgba(255,255,255,0.75);
}

.compare-price {
    color: var(--primary-color);
    font-size: 1rem;
}

.compare-action {
    padding: 1rem;
    margin-top: auto;
}

.compare-action .btn {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-radius: 8px !important;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
    
    .wishlist-item {
        flex-direction: row;
    }
    
    .wishlist-item-image {
        width: 120px;
        height: auto;
        min-height: 120px;
        flex-shrink: 0;
    }
    
    .wishlist-item-select {
        top: 8px;
        left: 8px;
    }
    
    .wishlist-item-remove {
        top: 8px;
        right: auto;
        left: 90px;
    }
    
    .wishlist-footer {
        flex-direction: column;
    }
    
    .compare-grid-2,
    .compare-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .compare-product-image {
        height: 150px;
    }
}

/* ==========================================
   SEASONAL COUNTDOWN TIMER — Premium Redesign
   ========================================== */

.seasonal-countdown {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(229, 169, 60, 0.25);
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(229,169,60,0.15);
}

/* Subtle gold shimmer line at top */
.seasonal-countdown::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(229,169,60,0.6) 30%, #E5A93C 50%, rgba(229,169,60,0.6) 70%, transparent 100%);
}

.seasonal-countdown.show {
    transform: translateY(0);
}

.countdown-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.9rem 3.5rem 0.9rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    position: relative;
}

/* Left: event identity */
.countdown-event {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.countdown-emoji {
    font-size: 1.5rem;
    line-height: 1;
    animation: countdown-float 3s ease-in-out infinite;
}

@keyframes countdown-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.08); }
}

.countdown-event-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.countdown-event-tag {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 0.8;
}

.countdown-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

/* Divider */
.countdown-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* Timer units */
.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(229,169,60,0.08);
    border: 1px solid rgba(229,169,60,0.15);
    border-radius: 6px;
    padding: 0.4rem 0.7rem;
    min-width: 52px;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: 1px;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 3px;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(229,169,60,0.4);
    animation: blink 1.2s ease-in-out infinite;
    margin-bottom: 12px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* Message pill */
.countdown-message {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.3px;
    white-space: normal;
    max-width: 260px;
}

/* CTA button */
.countdown-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 4px;
    background: var(--gradient-primary);
    color: #0a0a0a;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.countdown-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229,169,60,0.3);
    color: #0a0a0a;
}

/* Close button */
.countdown-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.35);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    padding: 0;
}

.countdown-close:hover {
    border-color: rgba(229,169,60,0.4);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Urgency states — all stay on-brand dark/gold */
.seasonal-countdown.urgent-medium .countdown-unit {
    background: rgba(229,169,60,0.12);
    border-color: rgba(229,169,60,0.25);
}

.seasonal-countdown.urgent-high .countdown-unit {
    background: rgba(229,169,60,0.18);
    border-color: rgba(229,169,60,0.4);
}

.seasonal-countdown.urgent-high .countdown-value {
    color: #F0C060;
}

.seasonal-countdown.urgent-high .countdown-message {
    color: rgba(255,255,255,0.8);
}

.seasonal-countdown.urgent-critical::before {
    background: linear-gradient(90deg, transparent 0%, rgba(229,169,60,0.9) 30%, #E5A93C 50%, rgba(229,169,60,0.9) 70%, transparent 100%);
    animation: shimmer-line 2s linear infinite;
}

@keyframes shimmer-line {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.seasonal-countdown.urgent-critical .countdown-unit {
    background: rgba(229,169,60,0.2);
    border-color: rgba(229,169,60,0.5);
    animation: unit-pulse 1.2s ease-in-out infinite;
}

@keyframes unit-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,169,60,0); }
    50% { box-shadow: 0 0 12px 2px rgba(229,169,60,0.2); }
}

.seasonal-countdown.urgent-critical .countdown-value {
    color: #F5C842;
}

.seasonal-countdown.urgent-critical .countdown-emoji {
    animation: shake 0.6s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

/* Mobile */
@media (max-width: 767px) {
    .countdown-content {
        gap: 0.75rem;
        padding: 0.75rem 3rem 0.75rem 1rem;
        justify-content: flex-start;
    }

    .countdown-divider { display: none; }

    .countdown-message { display: none; }

    .countdown-name { font-size: 0.85rem; }

    .countdown-unit {
        min-width: 44px;
        padding: 0.3rem 0.5rem;
    }

    .countdown-value { font-size: 1rem; }

    .countdown-label { font-size: 0.5rem; }

    .countdown-separator { font-size: 0.85rem; }

    .countdown-cta {
        font-size: 0.65rem;
        padding: 7px 14px;
    }
}

/* Body offset */
body.has-countdown { padding-bottom: 60px; }

@media (max-width: 767px) {
    body.has-countdown { padding-bottom: 80px; }
}

/* ==========================================
   CONFETTI CELEBRATION ANIMATION
   ========================================== */

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confetti-container.active {
    opacity: 1;
}

.confetti-piece {
    position: absolute;
    top: -20px;
    opacity: 0;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        top: -20px;
        transform: translateX(0) rotateZ(0deg);
    }
    25% {
        transform: translateX(50px) rotateZ(90deg);
    }
    50% {
        transform: translateX(-30px) rotateZ(180deg);
    }
    75% {
        transform: translateX(40px) rotateZ(270deg);
    }
    100% {
        opacity: 0;
        top: 100vh;
        transform: translateX(-20px) rotateZ(360deg);
    }
}

.confetti-emoji {
    position: absolute;
    top: -50px;
    font-size: 2rem;
    opacity: 0;
    animation: emojiFloat linear forwards;
}

@keyframes emojiFloat {
    0% {
        opacity: 1;
        top: -50px;
        transform: scale(0.5) rotate(0deg);
    }
    20% {
        transform: scale(1.2) rotate(20deg);
    }
    40% {
        transform: scale(1) rotate(-15deg);
    }
    60% {
        transform: scale(1.1) rotate(10deg);
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 100vh;
        transform: scale(0.8) rotate(-20deg);
    }
}

/* Celebration burst effect */
.celebration-burst {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.3) 0%, transparent 70%);
    animation: burstExpand 1s ease-out forwards;
    pointer-events: none;
    z-index: 9999;
}

@keyframes burstExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200vmax;
        height: 200vmax;
        opacity: 0;
    }
}

/* ==========================================
   WISHLIST ONBOARDING TOOLTIP
   ========================================== */

.wishlist-onboarding {
    position: absolute;
    z-index: 1050;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.wishlist-onboarding.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wishlist-onboarding-content {
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 1.25rem;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid rgba(229, 169, 60, 0.2);
}

.wishlist-onboarding-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wishlist-onboarding-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.wishlist-onboarding-icon {
    width: 50px;
    height: 50px;
    background: rgba(229, 169, 60, 0.1);
    border: 1px solid rgba(229, 169, 60, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: heartPulse 1.5s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.wishlist-onboarding-content h6 {
    color: #fff;
    font-family: var(--font-heading);
    text-align: center;
    letter-spacing: 0.5px;
}

.wishlist-onboarding-content p {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.wishlist-onboarding-content ul {
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 0.82rem;
}

.wishlist-onboarding-content ul li {
    margin-bottom: 4px;
}

.wishlist-onboarding-arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(229, 169, 60, 0.2);
}

/* Wishlist features in empty state */
.wishlist-features {
    max-width: 400px;
    margin: 0 auto;
}

.wishlist-features ul li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Mobile adjustments */
@media (max-width: 575px) {
    .wishlist-onboarding {
        width: calc(100% - 20px);
        left: 10px !important;
        right: 10px;
    }
    
    .wishlist-features {
        padding: 1rem !important;
    }
    
    .wishlist-features ul li {
        font-size: 0.85rem;
    }
}

/* ── Occasion Cards (SVG-based) ── */
.occasion-card {
    background: rgba(20,20,20,0.6);
    border: 1px solid rgba(229,169,60,0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.occasion-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229,169,60,0.4);
    box-shadow: 0 20px 48px rgba(229,169,60,0.12);
}

.occasion-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0d0d0d;
}

.occasion-img-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.occasion-card:hover .occasion-img-wrap svg {
    transform: scale(1.04);
}

.occasion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(10,10,10,0.7) 100%);
    pointer-events: none;
}

.occasion-body {
    padding: 1.4rem 1.5rem 1.6rem;
}

.occasion-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.occasion-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

.occasion-btn {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.occasion-btn:hover {
    opacity: 0.8;
    gap: 10px;
    color: var(--primary-color);
}

/* ==========================================
   FIND GIFTS PAGE — fg-* COMPONENTS
   ========================================== */
.fg-card {
    background: rgba(18,18,18,0.85);
    border: 1px solid rgba(229,169,60,0.2);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(229,169,60,0.08);
    position: relative;
}
.fg-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229,169,60,0.5), transparent);
}
.fg-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 2rem;
    border-bottom: 1px solid rgba(229,169,60,0.12);
    background: rgba(0,0,0,0.25);
}
.fg-header-icon {
    width: 44px; height: 44px;
    background: rgba(229,169,60,0.12);
    border: 1px solid rgba(229,169,60,0.3);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.fg-header-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}
.fg-header-sub {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}
.fg-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    padding: 5px 14px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #22c55e;
}
.fg-status-dot {
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 1.8s infinite;
}
.fg-card-body {
    padding: 2.5rem 2rem;
}
@media (min-width: 768px) {
    .fg-card-body { padding: 2.5rem 2.5rem; }
}

/* ── Gift Finder Wizard ─────────────────────────────────────────────────── */

/* Progress dots */
.sgai-wiz-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.sgai-wiz-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    transition: all 0.25s ease;
    display: inline-block;
}
.sgai-wiz-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(229,169,60,0.5);
}
.sgai-wiz-dot.done {
    background: rgba(229,169,60,0.4);
}

/* Summary pills */
.sgai-wiz-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 0;
    margin-bottom: 1.2rem;
}
.sgai-wiz-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229,169,60,0.1);
    border: 1px solid rgba(229,169,60,0.25);
    border-radius: 20px;
    padding: 4px 12px 4px 14px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--primary-color);
    font-weight: 600;
}
.sgai-pill-x {
    background: none;
    border: none;
    color: rgba(229,169,60,0.5);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    transition: color 0.15s;
}
.sgai-pill-x:hover { color: var(--primary-color); }

/* Viewport — clips non-active steps */
.sgai-wiz-viewport {
    position: relative;
    overflow: hidden;
}

/* Steps — hidden by default, shown when .active */
.sgai-wiz-step {
    display: none;
    animation: wiz-slide-in 0.35s ease forwards;
}
.sgai-wiz-step.active {
    display: block;
}

/* Question heading */
.sgai-wiz-q {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.4rem;
    line-height: 1.3;
}

/* Back button */
.sgai-wiz-back-wrap {
    display: flex;
    align-items: center;
    margin-top: 1.2rem;
}
.sgai-wiz-back {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 7px 16px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.sgai-wiz-back:hover {
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}

/* Legacy step classes — kept for compat but hidden */
.sgai-wizard-step { display: none; }
.sgai-step-num { display: none; }
.sgai-step-title { display: none; }
.sgai-step-optional {
    font-weight: 400;
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
}

/* Picker row */
.sgai-picker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Pick card — base */
.sgai-pick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    min-width: 80px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
    overflow: hidden;
}
.sgai-pick-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.18s;
    border-radius: inherit;
}
.sgai-pick-card:hover {
    border-color: rgba(229,169,60,0.35);
    background: rgba(229,169,60,0.06);
    transform: translateY(-2px);
}
.sgai-pick-card.selected {
    border-color: var(--primary-color);
    background: rgba(229,169,60,0.12);
    box-shadow: 0 0 0 1px rgba(229,169,60,0.3), 0 4px 20px rgba(229,169,60,0.15);
    transform: translateY(-2px);
}
.sgai-pick-card.selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 7px;
    font-size: 0.6rem;
    color: var(--primary-color);
    font-weight: 700;
}
.sgai-pick-emoji {
    font-size: 1.6rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}
.sgai-pick-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}
.sgai-pick-card.selected .sgai-pick-label { color: #fff; }

/* Age row — compact */
.sgai-picker-row--age .sgai-pick-card {
    min-width: 68px;
    padding: 12px 10px;
}
.sgai-picker-row--age .sgai-pick-emoji { font-size: 1.3rem; }

/* Occasions row — wrap nicely */
.sgai-picker-row--occasions .sgai-pick-card {
    min-width: 90px;
    padding: 12px 14px;
}

/* Budget cards — wider with subtitle */
.sgai-picker-row--budget {
    gap: 10px;
}
.sgai-pick-card--budget {
    flex: 1;
    min-width: 120px;
    padding: 16px 14px;
    gap: 4px;
}
.sgai-pick-sub {
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
    position: relative;
    z-index: 1;
}
.sgai-pick-card--budget.selected .sgai-pick-sub { color: rgba(255,255,255,0.6); }

/* Interests */
.sgai-interests-wrap { display: flex; flex-direction: column; gap: 12px; }
.sgai-interests-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.sgai-interests-input:focus { border-color: rgba(229,169,60,0.4); }
.sgai-interests-input::placeholder { color: rgba(255,255,255,0.25); }
.sgai-interests-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sgai-chip {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 6px 14px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: all 0.15s;
}
.sgai-chip:hover {
    border-color: rgba(229,169,60,0.35);
    color: #fff;
    background: rgba(229,169,60,0.08);
}
.sgai-chip.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(229,169,60,0.1);
}

/* Mobile */
@media (max-width: 576px) {
    .sgai-pick-card--budget { min-width: calc(50% - 5px); }
    .sgai-picker-row--occasions .sgai-pick-card { min-width: 80px; }
}

.fg-field { position: relative; }
.fg-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.fg-label i { margin-right: 5px; opacity: 0.8; }
.fg-select,
.fg-input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(229,169,60,0.2) !important;
    border-radius: 10px;
    color: #fff !important;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    appearance: none;
    caret-color: #fff;
    -webkit-text-fill-color: #fff !important;
}
.fg-card input,
.fg-card select,
.fg-card textarea {
    background-color: rgba(255,255,255,0.04) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    border-color: rgba(229,169,60,0.2) !important;
}
.fg-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23E5A93C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 13px;
    padding-right: 40px;
    cursor: pointer;
}
.fg-select option { background: #111; color: #fff; }
.fg-select:focus,
.fg-input:focus {
    border-color: rgba(229,169,60,0.6);
    background: rgba(229,169,60,0.06);
    box-shadow: 0 0 0 3px rgba(229,169,60,0.1);
}
.fg-input::placeholder { color: rgba(255,255,255,0.4); }
.fg-input:-webkit-autofill,
.fg-input:-webkit-autofill:hover,
.fg-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(18,18,18,0.95) inset !important;
    box-shadow: 0 0 0 1000px rgba(18,18,18,0.95) inset !important;
    border-color: rgba(229,169,60,0.3) !important;
    caret-color: #fff;
}
.fg-progress-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(229,169,60,0.1);
    border-radius: 10px;
    padding: 1.1rem 1.4rem;
}
.fg-progress-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.fg-progress-pct {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}
.fg-progress-track {
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 50px;
    overflow: hidden;
}
.fg-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: width 0.4s ease;
}
.fg-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 32px rgba(229,169,60,0.3);
}
.fg-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(229,169,60,0.45);
}
.fg-submit-btn:active { transform: translateY(0); }
.fg-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(229,169,60,0.1);
    border-radius: 10px;
}
.fg-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.fg-trust-item i { color: var(--primary-color); font-size: 0.85rem; }
.fg-trust-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.08);
}
@media (max-width: 575px) {
    .fg-trust-divider { display: none; }
    .fg-trust-strip { gap: 4px; }
    .fg-card-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fg-submit-btn { width: 100%; padding: 15px 24px; }
}

/* ── fg-product-card (results grid) ── */
.fg-product-card {
    background: rgba(18,18,18,0.9);
    border: 1px solid rgba(229,169,60,0.15);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.fg-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229,169,60,0.4);
    box-shadow: 0 20px 48px rgba(229,169,60,0.1);
}
.fg-product-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #111;
    overflow: hidden;
}
.fg-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.4s ease;
}
.fg-product-card:hover .fg-product-img-wrap img {
    transform: scale(1.05);
}
.fg-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(229,169,60,0.2);
}
.fg-product-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.fg-product-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fg-product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}
.fg-rating {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--primary-color);
}
.fg-rating i { font-size: 0.65rem; }
.fg-reviews {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
}
.fg-product-price {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}
.fg-product-btn {
    display: block;
    text-align: center;
    padding: 9px 16px;
    background: rgba(229,169,60,0.1);
    border: 1px solid rgba(229,169,60,0.3);
    border-radius: 8px;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.fg-product-btn:hover {
    background: rgba(229,169,60,0.2);
    border-color: rgba(229,169,60,0.6);
    color: var(--primary-color);
}
/* ── Blog Pagination ── */
.sgai-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 48px 0 16px;
}
.sgai-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.3px;
}
.sgai-pagination .page-numbers:hover {
    color: var(--primary-color);
    background: rgba(229,169,60,0.1);
    border-color: rgba(229,169,60,0.35);
    transform: translateY(-2px);
}
.sgai-pagination .page-numbers.current {
    color: #000;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(229,169,60,0.35);
    transform: none;
    cursor: default;
}
.sgai-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: rgba(255,255,255,0.2);
    cursor: default;
    min-width: 24px;
    padding: 0;
}
.sgai-pagination .page-numbers.dots:hover {
    transform: none;
    background: transparent;
    border-color: transparent;
    color: rgba(255,255,255,0.2);
}
.sgai-pagination .page-numbers.prev,
.sgai-pagination .page-numbers.next {
    padding: 0 18px;
    gap: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* ==========================================
   SEASONAL COUNTDOWN BANNER
   ========================================== */
.seasonal-countdown {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 9990;
    background: rgba(12,12,12,0.97);
    border-top: 1px solid rgba(229,169,60,0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: bottom 0.5s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.4);
}
.seasonal-countdown.show {
    bottom: 0;
}
.seasonal-countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E5A93C, #F5C842, #E5A93C, transparent);
}
.countdown-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.countdown-event {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.countdown-emoji {
    font-size: 1.6rem;
    line-height: 1;
}
.countdown-event-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.countdown-event-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
}
.countdown-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.countdown-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.countdown-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 40px;
    background: rgba(229,169,60,0.07);
    border: 1px solid rgba(229,169,60,0.15);
    border-radius: 6px;
    padding: 6px 8px;
}
.countdown-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}
.countdown-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.countdown-separator {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(229,169,60,0.4);
    margin-bottom: 12px;
}
.countdown-message {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    max-width: 220px;
    line-height: 1.5;
    flex-shrink: 0;
}
.countdown-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    background: linear-gradient(135deg, #F5C842, #C8922A);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(229,169,60,0.3);
    transition: opacity .2s, transform .2s;
    flex-shrink: 0;
    white-space: nowrap;
}
.countdown-cta:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #000;
}
.countdown-close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all .2s;
    flex-shrink: 0;
}
.countdown-close:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
/* Urgency states */
.seasonal-countdown.urgent-high::before {
    background: linear-gradient(90deg, transparent, #F5A623, #F5C842, #F5A623, transparent);
}
.seasonal-countdown.urgent-critical::before {
    background: linear-gradient(90deg, transparent, #ff4d4d, #ff6b6b, #ff4d4d, transparent);
    animation: urgency-pulse 1s ease-in-out infinite;
}
@keyframes urgency-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
/* Body offset when banner is shown */
body.has-countdown {
    padding-bottom: 80px;
}
body.has-countdown .progress-wrap {
    bottom: 100px;
}
@media (max-width: 767px) {
    .countdown-content {
        padding: 12px 16px;
        gap: 12px;
    }
    .countdown-divider { display: none; }
    .countdown-message { display: none; }
    .countdown-close { right: 8px; }
    .countdown-value { font-size: 1rem; }
    .countdown-name { font-size: 0.9rem; }
    body.has-countdown { padding-bottom: 100px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GIFT GUIDE CURATOR — Front-end page styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Product grid ──────────────────────────────────────────────────────────── */
.sgai-guide-products { margin: 48px 0; }

.sgai-guide-products-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(245,200,66,0.25);
}

.sgai-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

@media (max-width: 600px) {
    .sgai-guide-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.sgai-product-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sgai-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
    border-color: rgba(245,200,66,0.4);
}

.sgai-product-img-wrap {
    display: block;
    height: 200px;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
}
.sgai-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .3s ease;
}
.sgai-product-card:hover .sgai-product-img-wrap img {
    transform: scale(1.05);
}

.sgai-product-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sgai-product-brand {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
}

.sgai-product-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sgai-product-name a { color: #fff; text-decoration: none; }
.sgai-product-name a:hover { color: #F5C842; }

.sgai-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.sgai-stars { color: #F5C842; font-size: 13px; letter-spacing: 1px; }
.sgai-rating-num { font-weight: 700; color: #fff; font-size: 12px; }
.sgai-reviews { color: rgba(255,255,255,0.35); font-size: 11px; }

.sgai-product-price {
    font-size: 20px;
    font-weight: 800;
    color: #F5C842;
}

.sgai-amazon-btn {
    display: block;
    background: linear-gradient(135deg, #F5C842, #E5A93C);
    color: #000 !important;
    text-align: center;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    padding: 11px 16px;
    border-radius: 8px;
    margin-top: auto;
    padding-top: 11px;
    transition: filter .2s, transform .15s;
    letter-spacing: 0.3px;
}
.sgai-amazon-btn:hover { filter: brightness(1.1); transform: translateY(-1px); color: #000 !important; }

.sgai-affiliate-notice {
    font-size: 11px;
    color: rgba(255,255,255,0.22);
    margin-top: 24px;
    text-align: center;
    font-style: italic;
}

/* ── Gift Guide Page Template ──────────────────────────────────────────────── */
.sgai-gift-guide-page { min-height: 100vh; }

.sgai-gg-hero {
    padding: 110px 0 60px;
    text-align: center;
}
.sgai-gg-badge {
    display: inline-block;
    background: rgba(245,200,66,0.1);
    border: 1px solid rgba(245,200,66,0.3);
    color: #F5C842;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.sgai-gg-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 auto 16px;
    max-width: 820px;
}
.sgai-gg-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    margin: 0 auto 24px;
    max-width: 600px;
}
.sgai-gg-subtitle strong { color: #F5C842; font-weight: 600; }
.sgai-gg-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
}

/* Container + Layout */
.sgai-gg-container { padding-top: 32px; padding-bottom: 80px; }

.sgai-gg-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 36px;
    align-items: start;
}
@media (max-width: 960px) {
    .sgai-gg-layout { grid-template-columns: 1fr; }
    .sgai-gg-sidebar { display: none; }
}

/* Breadcrumb */
.sgai-gg-breadcrumb {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.sgai-gg-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; }
.sgai-gg-breadcrumb a:hover { color: #F5C842; }
.sgai-gg-breadcrumb span:last-child { color: rgba(255,255,255,0.65); }

/* Prose */
.sgai-gg-prose {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 36px 40px;
    margin-bottom: 36px;
    line-height: 1.85;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}
@media (max-width: 600px) { .sgai-gg-prose { padding: 20px 18px; } }

.sgai-gg-prose h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 28px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(245,200,66,0.15);
}
.sgai-gg-prose h2:first-child { margin-top: 0; }
.sgai-gg-prose p { margin: 0 0 14px; }
.sgai-gg-prose p:last-child { margin-bottom: 0; }

/* CTA box */
.sgai-gg-cta-box {
    background: linear-gradient(135deg, rgba(245,200,66,0.07), rgba(229,169,60,0.03));
    border: 1px solid rgba(245,200,66,0.2);
    border-radius: 14px;
    padding: 26px 30px;
    margin: 36px 0 20px;
}
.sgai-gg-cta-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.sgai-gg-cta-icon { font-size: 34px; flex-shrink: 0; }
.sgai-gg-cta-inner > div { flex: 1; min-width: 180px; }
.sgai-gg-cta-inner strong { color: #fff; font-size: 1rem; display: block; margin-bottom: 4px; }
.sgai-gg-cta-inner p { color: rgba(255,255,255,0.45); font-size: 13px; margin: 0; }
.sgai-gg-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #F5C842, #E5A93C);
    color: #000 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: filter .2s, transform .15s;
    flex-shrink: 0;
}
.sgai-gg-cta-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.sgai-gg-disclosure {
    font-size: 11px;
    color: rgba(255,255,255,0.18);
    line-height: 1.6;
    margin: 16px 0 0;
}

/* ── FAQ Section ── */
.sgai-gg-faq {
    margin: 40px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 32px;
}
.sgai-gg-faq-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}
.sgai-gg-faq-item {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    transition: border-color 0.2s;
}
.sgai-gg-faq-item[open] {
    border-color: rgba(229,169,60,0.3);
}
.sgai-gg-faq-q {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.sgai-gg-faq-q::-webkit-details-marker { display: none; }
.sgai-gg-faq-q::after {
    content: '+';
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
}
.sgai-gg-faq-item[open] .sgai-gg-faq-q::after { content: '−'; }
.sgai-gg-faq-a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    padding: 0 18px 16px;
    margin: 0;
}

/* ── Related Guides ── */
.sgai-gg-related {
    margin: 32px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.sgai-gg-related-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.sgai-gg-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.sgai-gg-related-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(229,169,60,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    transition: all 0.2s;
}
.sgai-gg-related-card:hover {
    border-color: rgba(229,169,60,0.4);
    background: rgba(229,169,60,0.05);
    transform: translateY(-2px);
}
.sgai-gg-related-icon { font-size: 1rem; flex-shrink: 0; }
.sgai-gg-related-label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    flex: 1;
    line-height: 1.3;
}
.sgai-gg-related-card:hover .sgai-gg-related-label { color: #fff; }
.sgai-gg-related-arrow {
    font-size: 0.85rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Sidebar */
.sgai-gg-sidebar { position: sticky; top: 100px; }
.sgai-gg-sidebar-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 22px 20px;
    margin-bottom: 18px;
}
.sgai-gg-sidebar-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.sgai-gg-sidebar-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0 0 14px;
    line-height: 1.6;
}
.sgai-gg-sidebar-btn {
    display: block;
    background: linear-gradient(135deg, #F5C842, #E5A93C);
    color: #000 !important;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 7px;
    text-decoration: none !important;
    text-align: center;
    transition: filter .2s;
}
.sgai-gg-sidebar-btn:hover { filter: brightness(1.1); }
.sgai-gg-sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sgai-gg-sidebar-links li a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    display: block;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color .15s;
    line-height: 1.4;
}
.sgai-gg-sidebar-links li:last-child a { border-bottom: none; }
.sgai-gg-sidebar-links li a:hover { color: #F5C842; }

/* ── Inline product card (interwoven in article prose) ───────────────────── */
.sgai-inline-card {
    margin: 16px 0 24px;
    border: 1px solid rgba(245,200,66,0.2);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    transition: border-color .2s, box-shadow .2s;
}
.sgai-inline-card:hover {
    border-color: rgba(245,200,66,0.45);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.sgai-inline-card-inner {
    display: flex;
    align-items: center;
    gap: 0;
}
.sgai-inline-img {
    display: block;
    width: 160px;
    min-width: 160px;
    height: 160px;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
}
.sgai-inline-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform .3s ease;
}
.sgai-inline-card:hover .sgai-inline-img img { transform: scale(1.05); }
.sgai-inline-info {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.sgai-inline-brand {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
}
.sgai-inline-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sgai-inline-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 12px;
}
.sgai-inline-price {
    font-size: 22px;
    font-weight: 800;
    color: #F5C842;
    line-height: 1;
}
@media (max-width: 540px) {
    .sgai-inline-card-inner { flex-direction: column; }
    .sgai-inline-img { width: 100%; min-width: 0; height: 180px; }
    .sgai-inline-info { padding: 14px 16px; }
}

/* ── Fix h2 size inside gift guide prose ─────────────────────────────────── */
.sgai-gg-prose h2 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 28px 0 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(245,200,66,0.15) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.sgai-gg-prose h2:first-child { margin-top: 0 !important; }

/* ── Gift Guide — sidebar gift SVG icon ─────────────────────────────────── */
.sgai-gg-sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(245,200,66,0.08);
    border: 1px solid rgba(245,200,66,0.2);
    border-radius: 10px;
    margin-bottom: 12px;
}
.sgai-gift-svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* ── Gift Guide — SVG stars in CTA ──────────────────────────────────────── */
.sgai-gg-cta-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}
.sgai-svg-star {
    width: 20px;
    height: 20px;
    display: block;
    filter: drop-shadow(0 0 4px rgba(245,200,66,0.5));
}

/* ── Remove old emoji badge from hero ───────────────────────────────────── */
.sgai-gg-badge { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   GIFT IDEAS HUB PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.sgai-gi-page { min-height: 100vh; }

/* ── Hero ── */
.sgai-gi-hero {
    padding: 110px 0 70px;
    text-align: center;
}
.sgai-gi-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245,200,66,0.08);
    border: 1px solid rgba(245,200,66,0.25);
    color: #F5C842;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.sgai-gi-badge-icon { width: 20px; height: 20px; display: block; flex-shrink: 0; }
.sgai-gi-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 auto 18px;
    max-width: 700px;
    font-family: var(--font-heading, 'Cinzel', serif);
}
.sgai-gi-title-gold {
    background: linear-gradient(135deg, #F5C842, #E5A93C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sgai-gi-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    margin: 0 auto 32px;
    max-width: 560px;
    line-height: 1.7;
}
.sgai-gi-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.sgai-gi-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F5C842, #E5A93C);
    color: #000 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: filter .2s, transform .15s;
    letter-spacing: 0.3px;
}
.sgai-gi-btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.sgai-gi-btn-primary.sgai-gi-btn-large { font-size: 16px; padding: 16px 36px; }
.sgai-gi-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background .2s, border-color .2s, color .2s;
}
.sgai-gi-btn-secondary:hover {
    background: rgba(245,200,66,0.08);
    border-color: rgba(245,200,66,0.3);
    color: #F5C842 !important;
}

/* ── Container ── */
.sgai-gi-container { padding-top: 20px; padding-bottom: 80px; }

/* ── Section ── */
.sgai-gi-section { margin-bottom: 64px; }
.sgai-gi-section-header { margin-bottom: 28px; }
.sgai-gi-section-title {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    font-family: var(--font-heading, 'Cinzel', serif);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.sgai-gi-section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: linear-gradient(90deg, #F5C842, #E5A93C);
    border-radius: 2px;
}
.sgai-gi-section-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.38);
    margin: 0;
}

/* ── Cards grid ── */
.sgai-gi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.sgai-gi-grid--budget {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (max-width: 600px) {
    .sgai-gi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sgai-gi-grid--budget { grid-template-columns: 1fr 1fr; }
}

/* ── Individual card ── */
.sgai-gi-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    text-decoration: none !important;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.sgai-gi-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,200,66,0.04), transparent);
    opacity: 0;
    transition: opacity .2s;
}
.sgai-gi-card:hover {
    background: rgba(245,200,66,0.05);
    border-color: rgba(245,200,66,0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.sgai-gi-card:hover::before { opacity: 1; }
.sgai-gi-card--budget { min-height: 80px; }

.sgai-gi-card-icon {
    width: 42px;
    height: 42px;
    background: rgba(245,200,66,0.08);
    border: 1px solid rgba(245,200,66,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
}
.sgai-gi-card:hover .sgai-gi-card-icon {
    background: rgba(245,200,66,0.14);
    border-color: rgba(245,200,66,0.35);
}
.sgai-gi-card-icon .bi {
    font-size: 1.1rem;
    color: #F5C842;
}
.sgai-gi-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.sgai-gi-card-label {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}
.sgai-gi-card-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    line-height: 1.4;
}
.sgai-gi-card-arrow {
    font-size: 14px;
    color: rgba(245,200,66,0);
    transition: color .2s, transform .2s;
    flex-shrink: 0;
}
.sgai-gi-card:hover .sgai-gi-card-arrow {
    color: #F5C842;
    transform: translateX(3px);
}

/* ── Published guides grid ── */
.sgai-gi-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
@media (max-width: 600px) { .sgai-gi-guides-grid { grid-template-columns: 1fr; } }

.sgai-gi-guide-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(245,200,66,0.04);
    border: 1px solid rgba(245,200,66,0.15);
    border-radius: 12px;
    text-decoration: none !important;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.sgai-gi-guide-card:hover {
    background: rgba(245,200,66,0.08);
    border-color: rgba(245,200,66,0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}
.sgai-gi-guide-icon {
    width: 48px;
    height: 48px;
    background: rgba(245,200,66,0.06);
    border: 1px solid rgba(245,200,66,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sgai-gi-guide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.sgai-gi-guide-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sgai-gi-guide-kw {
    font-size: 11px;
    color: #F5C842;
    font-weight: 500;
}
.sgai-gi-guide-date {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
}
.sgai-gi-guide-cta {
    font-size: 12px;
    font-weight: 700;
    color: #F5C842;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity .2s;
}
.sgai-gi-guide-card:hover .sgai-gi-guide-cta { opacity: 1; }

/* ── Bottom CTA ── */
.sgai-gi-cta-section {
    background: linear-gradient(135deg, rgba(245,200,66,0.07), rgba(229,169,60,0.03));
    border: 1px solid rgba(245,200,66,0.2);
    border-radius: 18px;
    padding: 48px 40px;
    margin-bottom: 0;
}
.sgai-gi-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.sgai-gi-cta-text { flex: 1; min-width: 260px; }
.sgai-gi-cta-text h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    font-family: var(--font-heading, 'Cinzel', serif);
}
.sgai-gi-cta-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
    line-height: 1.7;
    max-width: 500px;
}
@media (max-width: 700px) {
    .sgai-gi-cta-inner { flex-direction: column; text-align: center; }
    .sgai-gi-cta-text p { max-width: 100%; }
    .sgai-gi-cta-section { padding: 32px 20px; }
}
