/* ============================================================
   AMAZINGCOMPARE – Synthwave 80s Edition
   ============================================================ */

/* --- BETA BANNER ------------------------------------------- */
.beta-banner {
    background: linear-gradient(90deg, var(--pink-dim), rgba(255, 165, 0, 0.15));
    border-bottom: 1px solid var(--border-pink);
    color: var(--text);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
}
.beta-tag {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.4rem;
    letter-spacing: 0.05em;
}

/* --- FONTS ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* --- VARIABLES -------------------------------------------- */
:root {
    --pink:          #ff2d78;
    --pink-glow:     rgba(255, 45, 120, 0.6);
    --pink-dim:      rgba(255, 45, 120, 0.15);
    --blue:          #00d4ff;
    --blue-glow:     rgba(0, 212, 255, 0.6);
    --blue-dim:      rgba(0, 212, 255, 0.12);
    --purple:        #b44fff;
    --purple-dim:    rgba(180, 79, 255, 0.15);

    --bg:            #07011a;
    --bg-card:       #0d0430;
    --bg-card-hover: #120640;
    --bg-section:    #050015;

    --text:          #e8d5ff;
    --text-muted:    #7a6090;
    --text-bright:   #ffffff;
    --border:        rgba(0, 212, 255, 0.2);
    --border-pink:   rgba(255, 45, 120, 0.3);

    --success:       #00ff9d;
    --success-dim:   rgba(0, 255, 157, 0.1);

    --radius-sm:     6px;
    --radius:        12px;
    --radius-lg:     18px;

    --font-display:  'Orbitron', monospace;
    --font:          'Inter', system-ui, sans-serif;

    --glow-pink:     0 0 8px var(--pink-glow), 0 0 20px var(--pink-glow), 0 0 40px rgba(255,45,120,0.3);
    --glow-blue:     0 0 8px var(--blue-glow), 0 0 20px var(--blue-glow), 0 0 40px rgba(0,212,255,0.3);
    --glow-text-pink: 0 0 6px var(--pink), 0 0 15px var(--pink-glow);
    --glow-text-blue: 0 0 6px var(--blue), 0 0 15px var(--blue-glow);
}

/* --- RESET ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input { font-family: var(--font); }

/* --- SCANLINE OVERLAY ------------------------------------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    pointer-events: none;
    z-index: -1;
}

/* --- CONTAINER -------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER ----------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 1, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 30px rgba(0, 212, 255, 0.08);
}

/* --- ASIN WATCHLIST PREVIEW ------------------------------- */
.asin-page {
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 212, 255, 0.12), transparent 34rem),
        radial-gradient(circle at 82% 8%, rgba(255, 45, 120, 0.12), transparent 32rem),
        var(--bg);
}

.asin-hero {
    position: relative;
    overflow: hidden;
    padding: 3.7rem 0 2.6rem;
    border-bottom: 1px solid var(--border);
}

.asin-hero-inner {
    position: relative;
    z-index: 1;
}

.asin-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.7rem;
    color: var(--pink);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(255, 45, 120, 0.18);
}

.asin-title {
    max-width: 900px;
    margin-top: 1rem;
    color: var(--text-bright);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    text-shadow: var(--glow-text-blue);
}

.asin-subtitle {
    max-width: 760px;
    margin-top: 1rem;
    color: var(--text);
    font-size: 1.05rem;
}

.asin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 760px;
    margin-top: 2rem;
}

.asin-stat {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(13, 4, 48, 0.72);
    padding: 1rem;
    box-shadow: inset 0 0 18px rgba(0, 212, 255, 0.04);
}

.asin-stat span {
    display: block;
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: var(--glow-text-blue);
}

.asin-stat small {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.asin-toolbar-section {
    position: sticky;
    top: 64px;
    z-index: 20;
    background: rgba(7, 1, 26, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.asin-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1rem;
    padding: 1rem 0;
}

.asin-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(13, 4, 48, 0.85);
    padding: 0 1rem;
}

.asin-search svg {
    width: 20px;
    height: 20px;
    color: var(--blue);
    flex-shrink: 0;
}

.asin-search input,
.asin-toolbar select {
    width: 100%;
    min-width: 0;
    color: var(--text-bright);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 0.95rem;
}

.asin-toolbar select {
    min-height: 48px;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-sm);
    background: rgba(13, 4, 48, 0.95);
    padding: 0 0.85rem;
}

.asin-results-section {
    padding: 2rem 0 4rem;
}

.asin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.asin-product-card .card-image-wrap {
    height: 156px;
    padding: 16px;
}

.asin-product-card .card-image-wrap img {
    max-height: 118px;
}

.asin-card-media-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.asin-product-card .card-title a:hover {
    color: var(--blue);
    text-shadow: var(--glow-text-blue);
}

.asin-product-card .card-info {
    min-height: 91px;
}

.asin-product-card .card-title {
    min-height: 2.52em;
}

.asin-product-card .price-header {
    padding-inline: 12px;
}

.asin-product-card .price-row {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    padding: 8px 12px;
}

.asin-product-card .best-tag {
    display: none;
}

.asin-product-card .pr-price,
.asin-product-card .pr-ship,
.asin-product-card .pr-total {
    font-size: 0.76rem;
}

.asin-product-card .pr-country {
    font-size: 0.78rem;
}

.asin-product-card .card-cta {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.asin-product-card .best-offer-btn {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.72rem;
}

.details-offer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.details-offer-btn:hover {
    background: var(--blue-dim);
    border-color: var(--blue);
    color: var(--text-bright);
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.18);
}

.asin-error {
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: var(--text-bright);
    background: var(--pink-dim);
}

/* --- PRODUCT DETAIL SEO PAGES ------------------------------ */
.product-detail-loading {
    min-height: 60vh;
    display: grid;
    place-items: center;
}

.product-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.product-detail-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: center;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.95rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-sm);
    color: var(--pink);
    background: rgba(255, 45, 120, 0.06);
    box-shadow: 0 0 12px rgba(255, 45, 120, 0.12);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
}

.product-detail-back:hover {
    color: var(--text-bright);
    background: rgba(255, 45, 120, 0.14);
    box-shadow: 0 0 18px rgba(255, 45, 120, 0.24);
}

.product-detail-page .asin-title {
    max-width: 760px;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.product-detail-verified {
    margin-top: 0.45rem;
    color: var(--blue);
    font-size: 0.82rem;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.32);
}

.product-detail-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(13, 4, 48, 0.72);
    box-shadow: inset 0 0 28px rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
}

.product-detail-image img {
    max-height: 220px;
    object-fit: contain;
    background: white;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.2));
}

.product-detail-savings-badge {
    top: 12px;
    right: 12px;
}

.product-detail-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 700px;
    margin-top: 1.5rem;
}

.product-detail-primary-stat {
    cursor: pointer;
}

.product-detail-primary-stat:hover {
    border-color: var(--pink);
    background: rgba(255, 45, 120, 0.09);
    box-shadow: 0 0 18px rgba(255, 45, 120, 0.2), inset 0 0 20px rgba(255, 45, 120, 0.05);
}

.product-detail-section {
    padding: 2rem 0 4rem;
}

.product-detail-card {
    max-width: 360px;
    margin: 0 auto;
}

.product-detail-card .card-title {
    -webkit-line-clamp: initial;
}

@media (max-width: 900px) {
    .asin-toolbar {
        grid-template-columns: 1fr;
    }

    .asin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asin-stats {
        grid-template-columns: 1fr;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        min-height: 220px;
    }
}

@media (max-width: 560px) {
    .asin-hero {
        padding: 1.8rem 0 1.4rem;
    }

    .asin-kicker {
        min-height: 24px;
        padding: 0.18rem 0.55rem;
        font-size: 0.62rem;
    }

    .asin-title,
    .product-detail-page .asin-title {
        margin-top: 0.75rem;
        font-size: 1.55rem;
        line-height: 1.12;
        text-shadow: 0 0 5px var(--blue), 0 0 12px var(--blue-glow);
    }

    .asin-subtitle {
        margin-top: 0.6rem;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .asin-stats {
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .asin-stat {
        padding: 0.65rem 0.75rem;
    }

    .asin-stat span {
        font-size: 1.35rem;
    }

    .asin-stat small {
        margin-top: 0.25rem;
        font-size: 0.64rem;
    }

    .product-detail-hero {
        padding: 1.4rem 0 1.5rem;
    }

    .product-detail-layout {
        gap: 1rem;
    }

    .product-detail-back {
        margin-bottom: 0.6rem;
        min-height: 34px;
        padding: 0.45rem 0.7rem;
        font-size: 0.68rem;
    }

    .product-detail-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .product-detail-image {
        min-height: 170px;
        padding: 1rem;
    }

    .product-detail-image img {
        max-height: 132px;
    }

    .product-detail-section {
        padding: 1.4rem 0 2.6rem;
    }

    .asin-grid {
        grid-template-columns: 1fr;
    }

    .asin-product-card .price-header .ph-price,
    .asin-product-card .price-header .ph-ship,
    .asin-product-card .pr-price,
    .asin-product-card .pr-ship {
        display: none;
    }

    .asin-product-card .price-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .product-detail-savings-badge {
        top: 8px;
        right: 8px;
        font-size: 0.58rem;
        padding: 3px 6px;
    }
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    gap: 24px;
    position: relative;
}

/* --- LOGO ------------------------------------------------- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: absolute;
    left: 20px;
}
.logo-icon { width: 81px; height: 81px; flex-shrink: 0; object-fit: contain; }

.logo-amazing {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue);
    text-shadow: var(--glow-text-blue);
    letter-spacing: 1px;
}
.logo-compare {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--pink);
    text-shadow: var(--glow-text-pink);
    letter-spacing: 1px;
}

/* --- NAV -------------------------------------------------- */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.2s, text-shadow 0.2s;
}
.nav a:hover { color: var(--blue); text-shadow: var(--glow-text-blue); }
.nav-extension-cta {
    color: var(--blue) !important;
    border: 1px solid rgba(0, 212, 255, 0.42);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.04);
}
.nav-extension-cta:hover {
    background: var(--blue-dim);
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.28);
    color: var(--text-bright) !important;
    text-shadow: none !important;
}
.nav-cta {
    background: transparent !important;
    border: 1px solid var(--pink) !important;
    color: var(--pink) !important;
    font-weight: 600 !important;
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 10px var(--pink-glow), inset 0 0 10px rgba(255,45,120,0.05);
    transition: all 0.2s !important;
}
.nav-cta:hover {
    background: var(--pink-dim) !important;
    box-shadow: var(--glow-pink) !important;
    color: var(--text-bright) !important;
    text-shadow: none !important;
}

/* --- LANGUAGE SELECTOR ------------------------------------- */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-selector--desktop {
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}
/* --- LANG DROPDOWN (mobile only) --------------------------- */
.lang-dropdown {
    display: none;
    position: relative;
}
.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 8px;
    cursor: pointer;
    color: var(--text);
}
.lang-dropdown-toggle:active {
    background: rgba(0, 212, 255, 0.15);
}
.lang-dropdown-flag { display: block; }
.lang-dropdown-arrow { transition: transform 0.2s; }
.lang-dropdown.open .lang-dropdown-arrow { transform: rotate(180deg); }
.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: rgba(13, 4, 48, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    min-width: 80px;
}
.lang-dropdown.open .lang-dropdown-menu { display: flex; flex-direction: column; gap: 2px; }
.lang-dropdown-menu .lang-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 2px solid transparent;
    width: 100%;
    box-sizing: border-box;
}
.lang-dropdown-menu .lang-option span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text);
}
.lang-dropdown-menu .lang-option.active {
    background: rgba(0, 212, 255, 0.12);
    border-color: var(--blue);
}
.lang-dropdown-menu .lang-option:hover {
    background: rgba(0, 212, 255, 0.08);
}
.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 3px 6px;
    cursor: pointer;
    opacity: 0.5;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text);
    transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lang-option:hover {
    opacity: 0.85;
}
.lang-option.active {
    opacity: 1;
    border-color: var(--blue);
    box-shadow: 0 0 6px var(--blue-glow);
}
.lang-option img {
    display: block;
}


.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    box-shadow: 0 0 4px var(--blue-glow);
    transition: 0.2s;
}

/* --- HERO ------------------------------------------------- */
.hero {
    position: relative;
    background: var(--bg-section);
    padding: 72px 0 80px;
    overflow: hidden;
}

/* Retro grid floor */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        /* Top gradient */
        linear-gradient(180deg, rgba(7,1,26,0.6) 0%, transparent 40%, rgba(7,1,26,0.8) 100%),
        /* Neon glow orbs */
        radial-gradient(ellipse 60% 40% at 20% 60%, rgba(255,45,120,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 40%, rgba(0,212,255,0.10) 0%, transparent 70%),
        /* Perspective grid */
        linear-gradient(rgba(0,212,255,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.12) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    background-position: 0 0, 0 0, 0 0, center center, center center;
    pointer-events: none;
}

/* Horizon glow line */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--blue), transparent);
    box-shadow: 0 0 20px var(--pink-glow), 0 0 40px var(--blue-glow);
}

.hero-text {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: var(--blue-dim);
    border: 1px solid rgba(0,212,255,0.4);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: var(--glow-text-blue);
    box-shadow: 0 0 12px rgba(0,212,255,0.2);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--text-bright);
}
.highlight {
    color: var(--pink);
    text-shadow: var(--glow-text-pink);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- STEPS ------------------------------------------------ */
.steps {
    scroll-margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 230px;
    padding: 28px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.step:hover {
    transform: translateY(-4px);
    border-color: var(--pink);
    box-shadow: 0 0 20px var(--pink-glow), 0 4px 30px rgba(255,45,120,0.2);
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--pink-dim);
    border: 1px solid var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px var(--pink-glow), inset 0 0 12px rgba(255,45,120,0.1);
}

.step-label .step-num {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--blue);
    text-shadow: var(--glow-text-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 4px;
}
.step-label h3 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.step-label p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-arrow {
    flex: 0;
    padding: 0 6px;
    opacity: 0.5;
}
.step-arrow svg { width: 36px; height: 18px; }
.step-arrow svg path { stroke: var(--pink); filter: drop-shadow(0 0 3px var(--pink)); }

/* --- SEARCH SECTION --------------------------------------- */
.search-section {
    background: var(--bg);
    padding: 60px 0;
    position: relative;
}

.search-box {
    scroll-margin-top: 80px;
    max-width: 680px;
    margin: 0 auto 52px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.search-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-bright);
    letter-spacing: 1px;
    text-shadow: var(--glow-text-blue);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--blue);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,212,255,0.15), inset 0 0 15px rgba(0,212,255,0.03);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-wrapper:focus-within {
    border-color: var(--pink);
    box-shadow: var(--glow-pink), inset 0 0 20px rgba(255,45,120,0.05);
}

.search-icon {
    position: absolute;
    left: 18px;
    width: 18px;
    height: 18px;
    color: var(--blue);
    filter: drop-shadow(0 0 4px var(--blue));
    pointer-events: none;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    padding: 16px 16px 16px 48px;
    font-size: 1rem;
    color: var(--text-bright);
    background: transparent;
    border: none;
    outline: none;
    min-width: 0;
    caret-color: var(--pink);
}
.search-input::placeholder { color: var(--text-muted); }

.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
    padding: 0 22px;
    height: 100%;
    min-height: 54px;
    border-radius: 0;
    transition: opacity 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.search-btn:hover {
    opacity: 0.9;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
}

.search-suggestions {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.suggestions-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.suggestion-chip {
    background: transparent;
    border: 1px solid rgba(0,212,255,0.3);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 999px;
    transition: all 0.2s;
    text-shadow: 0 0 6px rgba(0,212,255,0.4);
}
.suggestion-chip:hover {
    background: var(--blue-dim);
    border-color: var(--blue);
    box-shadow: 0 0 10px rgba(0,212,255,0.3);
    color: var(--text-bright);
}

/* --- GUARANTEES ------------------------------------------- */
.guarantees-section {
    background: var(--bg-section);
    padding: 52px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.guarantees-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    text-shadow: var(--glow-text-blue);
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) {
    .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}

.guarantee-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.guarantee-card:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
}

.guarantee-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.guarantee-card h3 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.guarantee-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .guarantees-grid { grid-template-columns: 1fr; gap: 12px; }
    .guarantee-card { text-align: left; display: flex; gap: 16px; align-items: flex-start; padding: 16px; }
    .guarantee-icon { font-size: 1.5rem; flex-shrink: 0; margin-bottom: 0; min-width: 2rem; text-align: center; }
    .guarantee-content { flex: 1; min-width: 0; }
    .guarantee-card h3 { margin-bottom: 4px; }
}

/* --- EXTENSION -------------------------------------------- */
.extension-section {
    padding: 64px 0;
    background: linear-gradient(135deg, rgba(255,45,120,0.04) 0%, rgba(0,212,255,0.06) 100%);
    border-top: 1px solid rgba(0,212,255,0.1);
    border-bottom: 1px solid rgba(0,212,255,0.1);
}

.extension-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.extension-tag {
    display: inline-block;
    background: rgba(0,212,255,0.12);
    color: var(--blue);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-family: var(--font-display);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.extension-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 900;
    color: var(--text-bright);
    margin-bottom: 14px;
    line-height: 1.2;
}

.extension-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 28px;
}

.extension-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ext-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 10px 18px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    position: relative;
    cursor: default;
}
.ext-btn:hover {
    border-color: rgba(0,212,255,0.4);
    background: rgba(0,212,255,0.06);
    transform: translateY(-2px);
}
.ext-btn-icon { display: flex; align-items: center; flex-shrink: 0; }
.ext-btn-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-bright);
}
.ext-btn-soon {
    font-size: 0.62rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255,45,120,0.15);
    color: var(--pink);
    border: 1px solid rgba(255,45,120,0.3);
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 4px;
}

/* Preview panneau extension */
.extension-preview {
    flex-shrink: 0;
}
.ext-preview-panel {
    background: var(--bg-card);
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 12px;
    padding: 14px;
    width: 220px;
    box-shadow: 0 0 24px rgba(0,212,255,0.08), 0 0 60px rgba(255,45,120,0.04);
}
.ext-preview-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ext-preview-logo {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.ext-preview-amazing { color: var(--pink); }
.ext-preview-compare { color: var(--blue); }

.ext-preview-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.ext-preview-row--best {
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.15);
}
.ext-preview-price { margin-left: auto; font-weight: 600; color: var(--text); }
.ext-preview-price--best { color: var(--blue); font-weight: 700; }

@media (max-width: 768px) {
    .extension-section { display: none; }
}

/* --- LOADING ---------------------------------------------- */
.loading-section {
    padding: 60px 0;
    background: var(--bg);
}
.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.spinner {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(0,212,255,0.2);
    border-top-color: var(--blue);
    border-right-color: var(--pink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    filter: drop-shadow(0 0 6px var(--blue));
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    text-shadow: var(--glow-text-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.loading-flags {
    display: flex;
    gap: 12px;
    align-items: center;
}
.loading-flags .flag-item {
    width: 36px;
    height: 26px;
    object-fit: cover;
    border-radius: 3px;
    animation: pulse-flag 1.5s ease-in-out infinite;
    display: inline-block;
}
.loading-flags .flag-item:nth-child(1) { animation-delay: 0s; }
.loading-flags .flag-item:nth-child(2) { animation-delay: 0.2s; }
.loading-flags .flag-item:nth-child(3) { animation-delay: 0.4s; }
.loading-flags .flag-item:nth-child(4) { animation-delay: 0.6s; }
.loading-flags .flag-item:nth-child(5) { animation-delay: 0.8s; }
@keyframes pulse-flag {
    0%, 100% { opacity: 0.2; transform: scale(0.85); }
    50%       { opacity: 1;   transform: scale(1.1); filter: drop-shadow(0 0 6px var(--pink)); }
}

/* --- RESULTS SECTION -------------------------------------- */
.results-section {
    background: var(--bg);
    padding: 32px 0 72px;
}

.results-search-bar {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.results-header h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 1px;
    text-shadow: var(--glow-text-pink);
}
.results-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.results-sort select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-family: var(--font);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    outline: none;
}

/* --- RESULTS GRID ----------------------------------------- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* --- PRODUCT CARD ----------------------------------------- */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 0 20px rgba(0,212,255,0.2), 0 8px 40px rgba(0,0,0,0.5);
}

/* Card image */
.card-image-wrap {
    position: relative;
    background: #0a0228 repeating-linear-gradient(
        0deg, transparent, transparent 3px,
        rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 4px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.card-image-wrap img {
    max-height: 160px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 12px rgba(0,212,255,0.2));
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 4px;
}
.product-card:hover .card-image-wrap img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 16px rgba(255,45,120,0.3));
}

.card-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    opacity: 0.4;
    position: relative;
    z-index: 1;
}
.card-image-placeholder svg { width: 44px; height: 44px; }
.card-image-placeholder span { font-size: 0.72rem; }

.savings-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success);
    color: #000;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--font-display);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0,255,157,0.5);
    z-index: 2;
    letter-spacing: 0.3px;
}

/* Card info */
.card-info {
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--border);
}
.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}
.card-asin {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* Price table */
.card-prices { flex: 1; }

.price-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 4px;
    padding: 7px 18px;
    background: rgba(0,212,255,0.04);
    border-bottom: 1px solid var(--border);
}
.price-header span {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue);
    text-shadow: 0 0 6px rgba(0,212,255,0.5);
}
.price-header .ph-price,
.price-header .ph-ship,
.price-header .ph-total { text-align: right; }

.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 4px;
    align-items: center;
    padding: 9px 18px;
    border-bottom: 1px solid rgba(0,212,255,0.06);
    transition: background 0.15s;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: rgba(0,212,255,0.04); }

.price-row.best-price {
    background: rgba(255, 45, 120, 0.06);
    border-left: 2px solid var(--pink);
    box-shadow: inset 0 0 20px rgba(255,45,120,0.04);
}
.price-row.best-price .pr-total {
    color: var(--pink);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255,45,120,0.5);
}

.pr-country {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    min-width: 0;
    color: var(--text);
}
.flag-img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; flex-shrink: 0; display: inline-block; }
.pr-country .country-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-country-link { display: flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.pr-country-link:hover .country-name { color: var(--blue); text-decoration: underline; }
.best-tag {
    font-size: 0.6rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--pink);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--pink-glow);
    letter-spacing: 0.5px;
}

.pr-price, .pr-ship, .pr-total {
    font-size: 0.82rem;
    text-align: right;
    white-space: nowrap;
}
.pr-price { color: var(--text-muted); }
.pr-ship  { color: var(--text-muted); font-size: 0.75rem; }
.pr-total { font-weight: 600; color: var(--text); }
.pr-ship.free { color: var(--success); font-size: 0.72rem; text-shadow: 0 0 6px rgba(0,255,157,0.4); }

/* Card CTA */
.card-cta {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    background: rgba(7,1,26,0.5);
}
.best-offer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: 1px solid var(--pink);
    color: var(--pink);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-display);
    padding: 11px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px var(--pink-glow);
    box-shadow: 0 0 12px rgba(255,45,120,0.15), inset 0 0 12px rgba(255,45,120,0.03);
    transition: all 0.2s;
}
.best-offer-btn:hover {
    background: var(--pink-dim);
    box-shadow: var(--glow-pink);
    color: white;
    text-shadow: none;
    transform: translateY(-1px);
}
.best-offer-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* --- NO RESULTS ------------------------------------------- */
.no-results { padding: 60px 0; background: var(--bg); }
.no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.no-results-icon { font-size: 3rem; filter: drop-shadow(0 0 10px var(--pink)); }
.no-results-content h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-bright);
    text-shadow: var(--glow-text-pink);
}
.no-results-content p { color: var(--text-muted); font-size: 0.9rem; }

/* --- AFFILIATE NOTICE ------------------------------------- */
.affiliate-notice {
    margin-top: 40px;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

/* --- FOOTER ----------------------------------------------- */
.footer {
    background: var(--bg-section);
    color: var(--text-muted);
    padding: 40px 0 24px;
    border-top: 1px solid var(--border);
    box-shadow: 0 -1px 30px rgba(0,212,255,0.06);
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,45,120,0.15);
    margin-bottom: 24px;
}
.footer-stores {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.store-badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    white-space: nowrap;
    color: var(--text-muted);
    transition: border-color 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.store-badge:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.footer-disclaimer { font-size: 0.75rem; line-height: 1.7; margin-bottom: 10px; }
.footer-copy {
    font-size: 0.72rem;
    color: rgba(255,45,120,0.4);
    font-family: var(--font-display);
    letter-spacing: 0.5px;
    text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Langue : dropdown pill dès tablette, boutons inline seulement >1200px */
@media (max-width: 1200px) {
    .lang-selector--desktop { display: none; }
    .lang-dropdown { display: block; }
}

@media (min-width: 769px) and (max-width: 1320px) {
    .header .container { justify-content: space-between; }
    .logo { position: static; }
    .nav { margin-left: auto; }
}

@media (min-width: 769px) and (max-width: 1080px) {
    .logo-name { display: none; }
}

/* 769-1200px : pill APRÈS les liens nav (order CSS) */
@media (min-width: 769px) and (max-width: 1200px) {
    .lang-dropdown { order: 10; margin-left: 8px; }
    .nav {
        gap: clamp(10px, 1.8vw, 20px);
    }
    .nav a {
        font-size: clamp(0.78rem, 1.25vw, 0.85rem);
        letter-spacing: 0.2px;
    }
    .nav-extension-cta,
    .nav-cta {
        padding-left: clamp(10px, 1.6vw, 16px);
        padding-right: clamp(10px, 1.6vw, 16px);
    }
}

@media (max-width: 768px) {
    .header .container { justify-content: space-between; }
    .logo { position: static; }
    .mobile-menu-btn { display: flex; }
    .lang-dropdown { margin-left: auto; margin-right: 0; }
    .nav {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(7,1,26,0.97);
        flex-direction: column;
        padding: 16px 20px;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }
    .nav.open { display: flex; }
    .nav a { font-size: 0.95rem; padding: 8px 0; }
    .nav .nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        min-height: 44px;
        max-width: calc(100vw - 56px);
        padding: 10px 22px;
        white-space: nowrap;
    }
    .nav-extension-cta { display: none; }

    .hero { padding: 44px 0 52px; }
    .hero-text { margin-bottom: 36px; }
    .search-box { margin-bottom: 16px; }
    .deals-ticker { margin: 16px 0; }

    .steps { flex-direction: column; align-items: stretch; gap: 10px; }
    .step { flex-direction: row; text-align: left; max-width: 100%; min-width: unset; padding: 14px 16px; }
    .step-circle { width: 48px; height: 48px; font-size: 1.3rem; flex-shrink: 0; }
    .step-label { flex: 1; }
    .step-arrow { display: none; }

    .search-section { padding: 40px 0; }
    .search-btn span { display: none; }
    .search-btn { padding: 0 16px; min-height: 52px; }

    .results-grid { grid-template-columns: 1fr; }

    .price-header .ph-price,
    .price-header .ph-ship { display: none; }
    .price-row { grid-template-columns: minmax(0, 1fr) auto auto; }
    .pr-price, .pr-ship { display: none; }

    .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.4rem; }
    .search-input { font-size: 0.9rem; }
    .card-image-wrap { height: 160px; }
    .suggestion-chip { font-size: 0.72rem; padding: 4px 10px; }
}

/* --- LIVE DEALS PANEL -------------------------------------- */
.live-deals-panel {
    display: none; /* caché par défaut, affiché sur grand écran */
    position: fixed;
    top: 80px;
    right: 16px;
    width: 220px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: rgba(13, 4, 48, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    z-index: 100;
    scrollbar-width: none;
}
.live-deals-panel::-webkit-scrollbar { display: none; }

@media (min-width: 1380px) {
    .live-deals-panel { display: flex; flex-direction: column; }
}

.live-deals-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 8px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    position: sticky;
    top: 0;
    background: rgba(13, 4, 48, 0.98);
    border-radius: 14px 14px 0 0;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2d78;
    box-shadow: 0 0 8px #ff2d78;
    animation: livePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}
.live-deals-title {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.5px;
}

.live-deals-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 8px 10px;
}

.deal-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
    text-decoration: none;
    color: inherit;
}
.deal-card:hover {
    background: rgba(0, 212, 255, 0.07);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateX(-2px);
}

.deal-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.deal-thumb {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.deal-thumb-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.deal-name {
    font-size: 0.68rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.deal-savings {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 900;
    color: #4ade80;
}
.deal-route {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
}
.deal-route img { border-radius: 2px; }
.deal-route-arrow { color: var(--blue); font-size: 0.6rem; }
.deal-time {
    font-size: 0.6rem;
    color: rgba(148, 163, 184, 0.6);
}

/* --- TICKER MOBILE ----------------------------------------- */
.deals-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 12px 0;
    overflow: hidden;
}
@media (min-width: 1380px) { .deals-ticker { display: none; } }

.ticker-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ticker-inner {
    display: flex;
    gap: 0;
    white-space: nowrap;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}
.ticker-inner.ticker-ready {
    animation: tickerScroll var(--ticker-duration, 18s) linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * var(--ticker-distance, 50%))); }
}
.ticker-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 20px 0 0;
    font-size: 0.72rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: color 0.15s;
}
.ticker-item:hover { color: var(--blue); }
.ticker-item img { border-radius: 2px; }
.ticker-savings { color: #4ade80; font-weight: 700; }
.ticker-sep { color: rgba(255,255,255,0.2); margin: 0 6px; }

/* --- TOP DEALS SECTION ------------------------------------- */
.top-deals-section { display: none; }

.top-deals-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.top-deals-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
}
.top-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.top-deal-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(13, 4, 48, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
    text-decoration: none;
    color: inherit;
}
.top-deal-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}
.top-deal-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.top-deal-info { flex: 1; min-width: 0; }
.top-deal-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-deal-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.top-deal-savings {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 900;
    color: #4ade80;
}
.top-deal-route {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
}
.top-deal-share {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 6px 8px;
    color: rgba(148,163,184,0.7);
    cursor: pointer;
    font-size: 0.7rem;
    transition: color 0.15s, border-color 0.15s;
    flex-shrink: 0;
}
.top-deal-share:hover { color: var(--blue); border-color: var(--blue); }

/* --- FAB + BOTTOM SHEET ------------------------------------ */
.fab-deals {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), #c0185a);
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 45, 120, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}
.fab-deals:hover { transform: scale(1.08); }
@media (max-width: 1379px) { .fab-deals { display: flex; } }

.fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--blue);
    color: #07011a;
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #07011a;
}

.bottom-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 300;
    backdrop-filter: blur(2px);
}
.bottom-sheet-overlay.open { display: block; }

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d0520;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px 20px 0 0;
    z-index: 400;
    max-height: 75vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    scrollbar-width: none;
}
.bottom-sheet::-webkit-scrollbar { display: none; }
.bottom-sheet.open { transform: translateY(0); }

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin: 12px auto 0;
}
.bottom-sheet-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    background: #0d0520;
}
.bottom-sheet-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    flex: 1;
}
.bottom-sheet-close {
    background: none;
    border: none;
    color: rgba(148,163,184,0.6);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
}
.bottom-sheet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 28px;
}
/* Masque le FAB quand le bottom sheet est ouvert */
.fab-deals.sheet-open { opacity: 0; pointer-events: none; }

.bs-deal-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s;
    color: inherit;
    text-decoration: none;
}
.bs-deal-card:hover { border-color: rgba(0,212,255,0.3); }
.bs-deal-thumb {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.bs-deal-info { flex: 1; min-width: 0; }
.bs-deal-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bs-deal-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.bs-deal-savings {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 900;
    color: #4ade80;
}
.bs-deal-route {
    display: flex;
    align-items: center;
    gap: 3px;
}
.bs-deal-time { font-size: 0.65rem; color: rgba(148,163,184,0.5); }
.bs-deal-share {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px;
    color: rgba(148,163,184,0.6);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    flex-shrink: 0;
    font-size: 0.75rem;
}
.bs-deal-share:hover { color: var(--blue); border-color: var(--blue); }
