/* =====================================================
   GLOBAL STYLES — Lux Watches
   Футуристичные улучшения, общие для всех страниц
   ===================================================== */

:root {
    --gold: #D4AF37;
    --gold-bright: #F4CF57;
    --gold-soft: rgba(212, 175, 55, 0.25);
    --dark-1: #000000;
    --dark-2: #0a0a0a;
    --dark-3: #111111;
    --dark-4: #1a1a1a;
    --text-muted: #8a8a8a;
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Custom Scrollbar ---------- */
html {
    scrollbar-color: var(--gold) #0a0a0a;
    scrollbar-width: thin;
}
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: #050505;
}
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), #8a7220);
    border-radius: 10px;
    border: 2px solid #050505;
}
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

/* ---------- Text selection ---------- */
::selection {
    background: var(--gold);
    color: #000;
}

/* ---------- Smooth focus outline ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ---------- Language-switch overlay (mounted on lang tap) ---------- */
#cdl-lang-switch-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease-out, visibility 0.18s;
    pointer-events: none;
}
#cdl-lang-switch-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.cdl-lang-switch-spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(212, 175, 55, 0.18);
    border-top-color: #d4af37;
    animation: cdl-lang-spin 0.7s linear infinite;
}
@keyframes cdl-lang-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Preloader ---------- */
#cdl-preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s var(--transition-smooth), visibility 0.8s;
}
#cdl-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.cdl-loader-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cdl-loader-ring::before,
.cdl-loader-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
}
.cdl-loader-ring::before {
    border-top-color: var(--gold);
    border-right-color: var(--gold);
    animation: cdl-spin 1.2s linear infinite;
}
.cdl-loader-ring::after {
    inset: 12px;
    border-bottom-color: var(--gold-bright);
    border-left-color: var(--gold-bright);
    animation: cdl-spin 1.8s linear infinite reverse;
}
.cdl-loader-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 18px var(--gold), 0 0 30px rgba(212, 175, 55, 0.5);
    animation: cdl-pulse 1.4s ease-in-out infinite;
}
.cdl-loader-text {
    position: absolute;
    bottom: -40px;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.8;
    animation: cdl-fade 2s ease-in-out infinite;
}
@keyframes cdl-spin {
    to { transform: rotate(360deg); }
}
@keyframes cdl-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}
@keyframes cdl-fade {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

/* ---------- Scroll progress bar ---------- */
#cdl-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
    background-size: 200% 100%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
    z-index: 9998;
    transition: width 0.1s linear;
    animation: cdl-progress-shine 3s linear infinite;
}
@keyframes cdl-progress-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ---------- Back-to-top button ---------- */
#cdl-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-smooth);
    z-index: 49;
    text-decoration: none;
    font-size: 1.2rem;
}
#cdl-back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#cdl-back-top:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 25px var(--gold-soft), 0 0 45px rgba(212, 175, 55, 0.3);
    transform: translateY(-4px) scale(1.05);
}

/* ---------- Language dropdown ---------- */
/* Floating trigger pill (desktop, top-right). Click → vertical menu. */
#cdl-lang-switch {
    position: fixed;
    top: 46px;
    right: 14px;
    z-index: 55;
}
body.cdl-has-announce #cdl-lang-switch { top: 44px; }

.cdl-lang-dd { position: relative; }

.cdl-lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 12px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    color: #eee;
    font: 600 0.74rem/1 system-ui, -apple-system, sans-serif;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.cdl-lang-trigger:hover {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.7);
}
.cdl-lang-trigger-flag {
    font-size: 1rem;
    line-height: 1;
    /* Force colour-emoji rendering for flags (some Windows / Linux fallback
       to monochrome glyphs without these stacks). */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
                 "Twemoji Mozilla", system-ui, sans-serif;
}
.cdl-lang-trigger-code { line-height: 1; }
.cdl-lang-chev {
    transition: transform 0.25s;
    opacity: 0.85;
}
.cdl-lang-dd.open .cdl-lang-trigger {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(20, 20, 20, 0.92);
}
.cdl-lang-dd.open .cdl-lang-chev { transform: rotate(180deg); }

.cdl-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 6px;
    background: rgba(12, 12, 12, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212,175,55,0.06) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    z-index: 56;
}
.cdl-lang-dd.open .cdl-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s;
}
.cdl-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #ddd;
    text-decoration: none;
    font: 500 0.88rem/1.2 system-ui, -apple-system, sans-serif;
    letter-spacing: 0.2px;
    transition: background 0.18s, color 0.18s;
}
.cdl-lang-item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
}
.cdl-lang-item.active {
    background: linear-gradient(180deg, rgba(244,207,87,0.18), rgba(212,175,55,0.12));
    color: var(--gold);
}
.cdl-lang-item-flag {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
                 "Twemoji Mozilla", system-ui, sans-serif;
}
.cdl-lang-item-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 3px 6px;
    font-weight: 700;
    font-size: 0.66rem;
    letter-spacing: 1.5px;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 6px;
}
.cdl-lang-item.active .cdl-lang-item-code {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
.cdl-lang-item-name { flex: 1; }
.cdl-lang-item-tick {
    color: var(--gold);
    font-size: 0.95rem;
    line-height: 1;
}
/* Hebrew row: keep the row's flag/code bookends in their normal places by
   leaving display:flex (LTR) — only the name text inside is RTL. */
.cdl-lang-item[dir="rtl"] .cdl-lang-item-name {
    text-align: right;
    direction: rtl;
}

/* Mobile dropdown — pinned in the header next to the WhatsApp button (no
   longer hidden inside the burger). Compact pill: flag + code, no chevron
   text label so it doesn't crowd the header. */
.cdl-lang-dd-mobile { display: none; }

@media (max-width: 768px) {
    /* Hide floating dropdown on mobile; second copy lives next to contact-btn. */
    #cdl-lang-switch { display: none; }

    .cdl-lang-dd-mobile {
        /* margin-left:auto absorbs the flex-stretch slack so the pill sits
           snug against the WhatsApp icon. The contact-btn's own margin-left
           is then neutralised below so they sit edge-to-edge. */
        display: inline-flex;
        align-items: center;
        margin-left: auto;
        margin-right: 8px;
        flex-shrink: 0;
    }
    header .contact-btn { margin-left: 0 !important; }
    .cdl-lang-dd-mobile .cdl-lang-trigger {
        padding: 6px 10px 6px 10px;
        height: 40px;
        font-size: 0.72rem;
        letter-spacing: 1px;
        gap: 5px;
        border-radius: 999px;
    }
    .cdl-lang-dd-mobile .cdl-lang-trigger-flag { font-size: 0.95rem; }
    .cdl-lang-dd-mobile .cdl-lang-chev { width: 9px; height: 9px; }
    .cdl-lang-dd-mobile .cdl-lang-menu {
        right: 0;
        min-width: 220px;
        /* Never overflow viewport on narrow phones — clamp. */
        max-width: calc(100vw - 24px);
        box-sizing: border-box;
    }
}

@media (max-width: 380px) {
    /* Ultra-narrow phones — shrink trigger to icon-ish footprint. */
    .cdl-lang-dd-mobile .cdl-lang-trigger {
        padding: 6px 8px;
        font-size: 0.68rem;
    }
    .cdl-lang-dd-mobile .cdl-lang-trigger-code { display: none; }
    .cdl-lang-dd-mobile .cdl-lang-menu {
        min-width: 0;
        width: calc(100vw - 24px);
    }
    .cdl-lang-item-name { font-size: 0.82rem; }
}

/* ---------- Hebrew (RTL) overrides ---------- */
/* Applied via `<html dir="rtl">` set by templates when current_lang() == 'he'.
   The site is mostly centered or single-column, so RTL costs are minimal: we
   only flip a handful of side-anchored pieces (cart FAB stays bottom-right
   on mobile, but the language pill / WhatsApp icon switch sides). */
html[dir="rtl"] body { text-align: right; }
/* Floating cart FAB & language switcher already use right: positioning —
   on RTL, mirror them to the left so they don't sit "behind" the content. */
html[dir="rtl"] #cdl-lang-switch { right: auto; left: 14px; }
html[dir="rtl"] .cdl-lang-menu { right: auto; left: 0; }
/* Floating WhatsApp button & back-to-top remain at the bottom-right
   (they are decorative globals, not language-bound). */

/* ---------- Floating WhatsApp button ---------- */
#cdl-float-wa {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
    z-index: 49;
    transition: transform 0.3s var(--transition-smooth);
    animation: cdl-wa-pulse 2.5s ease-in-out infinite;
}
#cdl-float-wa:hover {
    transform: scale(1.1) rotate(8deg);
}
@keyframes cdl-wa-pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Futuristic grid background layer ---------- */
.cdl-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- Cursor glow (desktop only) ---------- */
@media (hover: hover) and (pointer: fine) {
    #cdl-cursor-glow {
        position: fixed;
        top: 0;
        left: 0;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
        pointer-events: none;
        z-index: 1;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s;
        mix-blend-mode: screen;
        will-change: transform;
    }
}
@media (hover: none) {
    #cdl-cursor-glow { display: none; }
}

/* ---------- Reveal-on-scroll fallback ---------- */
[data-cdl-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}
[data-cdl-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Gold shimmer heading underline ---------- */
.cdl-shimmer-underline {
    position: relative;
    display: inline-block;
}
.cdl-shimmer-underline::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Counter / stats section ---------- */
.cdl-stats-section {
    padding: 5rem 2rem;
    background:
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08), transparent 60%),
        #050505;
    border-top: 1px solid #151515;
    border-bottom: 1px solid #151515;
    position: relative;
}
.cdl-stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    text-align: center;
}
.cdl-stat {
    position: relative;
    padding: 1.5rem 1rem;
}
.cdl-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    background: linear-gradient(180deg, #F4CF57 0%, #D4AF37 50%, #8a7220 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.cdl-stat-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
}
.cdl-stat::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, #333, transparent);
}
.cdl-stats-grid .cdl-stat:last-child::after { display: none; }
@media (max-width: 768px) {
    .cdl-stat::after { display: none; }
    .cdl-stat-value { font-size: 2.5rem; }
}

/* ---------- Services / value-prop grid ---------- */
.cdl-services-section {
    padding: 6rem 2rem;
    background: #000;
    position: relative;
    overflow: hidden;
}
.cdl-services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
    pointer-events: none;
}
.cdl-services-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.cdl-services-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}
.cdl-services-subtitle {
    color: #bbb;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}
.cdl-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    text-align: left;
}
.cdl-service-card {
    position: relative;
    padding: 2.25rem 1.75rem;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.6));
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.45s var(--transition-smooth);
}
.cdl-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.12), transparent);
    transition: left 0.9s var(--transition-smooth);
}
.cdl-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.3) inset;
}
.cdl-service-card:hover::before {
    left: 150%;
}
.cdl-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.cdl-service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #f2f2f2;
    margin-bottom: 0.75rem;
}
.cdl-service-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #aaa;
}

/* ---------- Newsletter section ---------- */
.cdl-newsletter-section {
    padding: 5rem 2rem;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
        #050505;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #151515;
}
.cdl-newsletter-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.cdl-newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 0.75rem;
}
.cdl-newsletter-title span { color: var(--gold); }
.cdl-newsletter-sub {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}
.cdl-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.9);
    padding: 6px;
    border-radius: 999px;
    border: 1px solid #2a2a2a;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.cdl-newsletter-form:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}
.cdl-newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}
.cdl-newsletter-form input::placeholder { color: #666; }
.cdl-newsletter-form button {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #000;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    white-space: nowrap;
    font-family: inherit;
}
.cdl-newsletter-form button:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
#cdl-newsletter-status {
    margin-top: 1rem;
    min-height: 22px;
    font-size: 0.9rem;
    color: var(--gold);
}
@media (max-width: 560px) {
    .cdl-newsletter-form { flex-direction: column; border-radius: 16px; padding: 10px; }
    .cdl-newsletter-form button { width: 100%; }
}

/* ---------- Header polish ---------- */
header.cdl-scrolled {
    background: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

/* ---------- Header layout override (fixes logo/nav collision) ---------- */
@media (min-width: 769px) {
    header .header-content {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        gap: 1.25rem;
    }
    header .left-section {
        justify-content: flex-start !important;
        flex: 0 1 auto !important;
        min-width: 0;
        overflow: hidden;
        grid-column: 1 / 2 !important;
    }
    header .brand-nav-wrapper {
        min-width: 0;
        overflow: hidden;
    }
    /* The centered logo carries the brand identity on desktop —
       hide the redundant text next to the nav so items don't crowd the logo. */
    header .brand-text {
        display: none !important;
    }
    header .logo {
        position: static !important;
        transform: none !important;
        left: auto !important;
        justify-self: center !important;
        grid-column: 2 / 3 !important;
        padding: 0 1rem;
    }
    header .contact-btn {
        justify-self: end !important;
        margin-left: 0 !important;
        grid-column: 3 / 4 !important;
    }
    header nav {
        gap: 22px !important;
        margin-left: 0 !important;
    }
    header nav a {
        font-size: 0.95rem !important;
        white-space: nowrap;
        letter-spacing: 0.2px;
    }
}
@media (min-width: 769px) and (max-width: 1100px) {
    header nav { gap: 14px !important; }
    header nav a { font-size: 0.85rem !important; }
    header .contact-btn { padding: 0.45rem 1rem !important; font-size: 0.85rem !important; }
}
@media (min-width: 769px) and (max-width: 900px) {
    header nav a { font-size: 0.78rem !important; }
    header nav { gap: 10px !important; }
}

/* Contact-button icon: hidden on desktop (text label is shown), revealed on
   mobile where the label collapses (long PL/UK/RU/BG translations collided
   with the centred logo). Using a real <i class="fab fa-whatsapp"> element
   instead of a CSS pseudo so FontAwesome's own font-family rules apply —
   some Bulgarian system fonts have a conflicting glyph at U+F232 that
   mis-rendered the WhatsApp handset when we used `content: "\f232"`. */
.contact-btn-icon { display: none; }
.contact-btn-label { display: inline; }

@media (max-width: 768px) {
    header .contact-btn {
        padding: 0 !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        flex-shrink: 0;
        font-size: 1rem !important;  /* sets icon glyph size via FA */
    }
    header .contact-btn .contact-btn-icon {
        display: inline-block;
        font-size: 20px;
        color: #000;
        line-height: 1;
    }
    header .contact-btn .contact-btn-label {
        /* Collapse the long localised label entirely on mobile. */
        display: none;
    }
}

/* ---------- Announcement bar (above header) ---------- */
#cdl-announce {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #1a1308, #2a1f0a, #1a1308);
    color: var(--gold-bright);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    height: 34px;
    line-height: 34px;
    z-index: 48;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    white-space: nowrap;
}
#cdl-announce b { color: var(--gold); font-weight: 600; }
.cdl-announce-track {
    display: block;
    text-align: center;
    height: 100%;
}
.cdl-announce-item { padding: 0 1rem; }
/* On mobile, hide the duplicate that's only used for the marquee loop. */
@media (min-width: 601px) {
    .cdl-announce-item:nth-child(2) { display: none; }
}
/* On narrow screens, scroll horizontally — text stays single-line. */
@media (max-width: 600px) {
    #cdl-announce {
        font-size: 0.7rem;
        letter-spacing: 1px;
        height: 30px;
        line-height: 30px;
    }
    .cdl-announce-track {
        display: inline-flex;
        animation: cdl-announce-marquee 22s linear infinite;
        will-change: transform;
    }
    #cdl-announce:hover .cdl-announce-track,
    #cdl-announce:active .cdl-announce-track {
        animation-play-state: paused;
    }
    .cdl-announce-item { padding: 0 2rem; }
    @keyframes cdl-announce-marquee {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
}

body.cdl-has-announce header { top: 34px !important; }
body.cdl-has-announce main,
body.cdl-has-announce .about-hero,
body.cdl-has-announce .product-hero,
body.cdl-has-announce .faq-hero,
body.cdl-has-announce .article-hero,
body.cdl-has-announce .hero {
    padding-top: 34px;
}
@media (max-width: 600px) {
    body.cdl-has-announce header { top: 30px !important; }
    body.cdl-has-announce main,
    body.cdl-has-announce .about-hero,
    body.cdl-has-announce .product-hero,
    body.cdl-has-announce .faq-hero,
    body.cdl-has-announce .article-hero,
    body.cdl-has-announce .hero {
        padding-top: 30px;
    }
}

/* ---------- Image reveal glow ---------- */
.watch-card img,
.discover-item img,
.product-card img {
    transition: transform 0.55s var(--transition-smooth), filter 0.55s var(--transition-smooth);
}
.watch-card:hover img,
.discover-item-link:hover .discover-item img,
.product-card-link:hover .product-card img {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 25px rgba(212, 175, 55, 0.22));
}

/* ---------- Toast / feedback ---------- */
#cdl-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    color: #fff;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9997;
    opacity: 0;
    transition: all 0.4s var(--transition-smooth);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    max-width: 90vw;
    text-align: center;
}
#cdl-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Empty state (DB unavailable, etc.) ---------- */
.cdl-empty-state {
    max-width: 680px;
    margin: 3rem auto 4rem;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(20,20,20,0.8), rgba(5,5,5,0.9));
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.cdl-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.8rem;
}
.cdl-empty-state h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}
.cdl-empty-state p {
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cdl-empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
