/**
 * DATA eSIM — Base CSS (design system)
 * --------------------------------------------------------------------
 * Componentele și design tokens-urile partajate între homepage,
 * pagina de produs și paginile interne (destinații, FAQ, dispozitive etc.).
 *
 * Încărcat global pe toate paginile site-ului prin inc/enqueue.php.
 * --------------------------------------------------------------------
 */


/* ====================================================================
 * ============= BLOCKSY OVERRIDES — SECȚIUNE CONSOLIDATĂ =============
 * --------------------------------------------------------------------
 * Blocksy injectează:
 *  1. font-family propriu pe body, headings (h1-h6)
 *  2. font-weight 900 (Black) pe h1 — designul nostru cere 800 (ExtraBold)
 *  3. color: var(--theme-text-color) pe headings cu specificitate mare
 *  4. color: white pe link-uri/spans în secțiuni cu părinte dark
 *
 * Toate fix-urile cu !important. Astea sunt singurele !important
 * din design system — toate celelalte reguli pot fi suprascrise normal.
 *
 * Atunci când apare un element nou cu culoare/font greșit, adaugă-l
 * AICI, nu în CSS-ul specific paginii.
 * ==================================================================== */


/* --- 1. FONT-FAMILY: Inter peste tot --- */
body,
body h1, body h2, body h3, body h4, body h5, body h6,
button, input, textarea, select,
.section-title, .hero-title, .page-hero h1,
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4,
.cta-band h1, .cta-band h2, .cta-band h3,
.eyebrow, .feature-text h3, .pillar h4, .step h4,
.region-title, .sim-card-name, .selector-head .title,
.faq-q, footer h5, .nav .logo, .btn,
.os-title, .device-brand h4, .imei-check h3,
.contact-info h3, .contact-form h3,
.product-info h1, .country-locked .name,
.spec-cell .val, .spec-cell .lbl,
.stat-num, .stat-label,
.how-feature h4, .step.step-light h4,
.faq-tab {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}


/* --- 2. FONT-WEIGHT: 800 ExtraBold pe headings principale --- */
.hero h1, .hero-title, h1.hero-title,
.product-info h1,
.page-hero h1,
h2.section-title,
.section.dark h2.section-title,
.cta-band h2,
.feature-text h3,
.pillar h4,
.step h4, .step.step-light h4,
.region-title,
.how-feature h4,
.os-title,
.imei-check h3,
.contact-info h3, .contact-form h3,
.device-brand h4 {
    font-weight: 800 !important;
}


/* --- 3. CULORI PE SECȚIUNI DARK (.hero, .section.dark, .cta-band, .page-hero, footer) --- */

/* Hero (homepage) */
.hero,
.hero h1, .hero h1.hero-title, .hero .hero-title,
.hero p, .hero .hero-sub,
.hero span, .hero .hero-trust {
    color: white !important;
}
.hero .hero-sub { color: rgba(255,255,255,0.8) !important; }
.hero .hero-trust, .hero .hero-trust span { color: rgba(255,255,255,0.75) !important; }
.hero h1 .accent, .hero .accent { color: var(--accent-2) !important; }

/* Product hero (single-product) */
.product-hero,
.product-hero h1, .product-hero .product-info h1,
.product-hero p, .product-hero .product-lede,
.product-hero span,
.product-hero .country-meta,
.product-hero .country-meta .name,
.product-hero .country-meta .iso {
    color: white !important;
}
.product-hero .product-lede { color: rgba(255,255,255,0.8) !important; }
.product-hero h1 .accent { color: var(--accent-2) !important; }

/* Spec strip (în product-hero) — text alb, accent pentru numere */
.spec-cell .lbl { color: rgba(255,255,255,0.55) !important; }
.spec-cell .val { color: white !important; }
.spec-cell .val .accent { color: var(--accent-2) !important; }

/* Section dark (homepage stats, features) */
.section.dark,
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4,
.section.dark p, .section.dark span {
    color: white !important;
}
.section.dark .feature-text p,
.section.dark .section-head .lede {
    color: rgba(255,255,255,0.75) !important;
}
.section.dark .step p { color: rgba(255,255,255,0.7) !important; }
.section.dark .accent { color: var(--accent-2) !important; }

/* Stats (numere mari în section.dark) */
.stat-num,
.section.dark .stat-num,
.section.dark .stat .stat-num {
    color: var(--accent-2) !important;
}
.stat-num small,
.section.dark .stat-num small {
    color: rgba(255,255,255,0.5) !important;
}
.stat-label,
.section.dark .stat-label,
.section.dark .stat .stat-label {
    color: rgba(255,255,255,0.6) !important;
}

/* Page hero (destinatii, faq, devices, contact, how-it-works) */
.page-hero,
.page-hero h1,
.page-hero p,
.page-hero span {
    color: white !important;
}
.page-hero h1 { color: white !important; }
.page-hero p { color: rgba(255,255,255,0.8) !important; }
.page-hero .accent { color: var(--accent-2) !important; }

/* CTA band (final pagini) */
.cta-band,
.cta-band h1, .cta-band h2, .cta-band h3,
.cta-band p, .cta-band span {
    color: white !important;
}
.cta-band p { color: rgba(255,255,255,0.8) !important; }
.cta-band .accent { color: var(--accent-2) !important; }

/* Nav */
.nav { color: white !important; }
.nav-links a { color: rgba(255,255,255,0.85) !important; }
.nav-links a:hover, .nav-links a.active { color: white !important; }

/* Footer */
footer { color: white !important; }
footer h5 { color: var(--accent-2) !important; }
footer .footer-brand p,
footer .footer-col a {
    color: rgba(255,255,255,0.65) !important;
}
footer .footer-brand p strong { color: white !important; }

/* Eyebrows on-dark */
.eyebrow.on-dark { color: var(--accent-2) !important; }

/* IMEI check box (devices page, navy) */
.imei-check,
.imei-check h3 { color: white !important; }
.imei-check > p { color: rgba(255,255,255,0.75) !important; }
.imei-step p { color: rgba(255,255,255,0.75) !important; }
.imei-step strong { color: var(--accent-2) !important; }

/* Contact info card (navy) */
.contact-info,
.contact-info h3 { color: white !important; }
.contact-info .lbl { color: rgba(255,255,255,0.6) !important; }
.contact-info .val { color: white !important; }
.contact-info .sub { color: rgba(255,255,255,0.55) !important; }


/* --- 4. CULORI PE ELEMENTE LIGHT MUTATE ÎN INTERIOR DARK ---
 * Selectorul de pe homepage (white card) e tehnic copilul lui .hero (navy).
 * Picker-ul de țări la fel. Trebuie forțat NAVY pe text-ul lor.
 */

/* Selector homepage (full content) */
.hero .selector,
.hero .selector *,
.selector h1, .selector h2, .selector h3, .selector h4,
.selector p, .selector span, .selector div,
.selector input, .selector label, .selector a {
    color: var(--primary);
}
.hero .selector a { text-decoration: none !important; }
.selector .selector-head .title { color: var(--primary) !important; }
.selector .selector-head .status { color: var(--accent) !important; background: transparent; }
.selector .selector-label,
.selector .selector-label span:not(.num) { color: var(--text-on-light-muted) !important; }
.selector .selector-label .num { color: white !important; }
.selector .selector-foot { color: var(--text-on-light-muted) !important; }
.selector .package-pill .days { color: var(--text-on-light-muted) !important; }
.selector .package-pill .data { color: var(--primary) !important; }
.selector .package-pill .price { color: var(--accent) !important; }
.selector .selector-cta,
.selector .selector-cta span { color: white !important; }

/* Country picker dropdown (homepage) */
.hero .picker-item,
.picker-item,
.picker-dropdown .picker-item,
.picker-dropdown .picker-item span {
    color: var(--primary) !important;
    text-decoration: none !important;
}
.hero .picker-item.selected,
.picker-item.selected,
.hero .picker-item.selected span,
.picker-item.selected span {
    color: var(--accent) !important;
}
.picker-item .price-inline { color: var(--text-on-light-muted) !important; }
.picker-item.selected .price-inline { color: var(--accent) !important; }
.picker-search { color: var(--primary) !important; }
.picker-search::placeholder { color: var(--text-on-light-muted) !important; opacity: 1 !important; }

/* Selector single-product (în .product-hero navy) */
.product-hero .selector,
.product-hero .selector *,
.product-hero .selector h1, .product-hero .selector h2,
.product-hero .selector h3, .product-hero .selector h4,
.product-hero .selector p, .product-hero .selector span,
.product-hero .selector div, .product-hero .selector input,
.product-hero .selector label, .product-hero .selector a {
    color: var(--primary);
}
.product-hero .selector .selector-head .title { color: var(--primary) !important; }
.product-hero .selector .selector-head .status { color: var(--accent) !important; background: transparent; }
.product-hero .selector .selector-label,
.product-hero .selector .selector-label span:not(.num) { color: var(--text-on-light-muted) !important; }
.product-hero .selector .selector-label .num { color: white !important; }
.product-hero .selector .selector-foot { color: var(--text-on-light-muted) !important; }
.product-hero .selector .package-pill .days { color: var(--text-on-light-muted) !important; }
.product-hero .selector .package-pill .data { color: var(--primary) !important; }
.product-hero .selector .package-pill .price { color: var(--accent) !important; }
.product-hero .selector .selector-cta,
.product-hero .selector .selector-cta span { color: white !important; }
.product-hero .selector .total-line { color: var(--text-on-light-muted) !important; }
.product-hero .selector .total-val,
.product-hero .selector .total-val span,
.product-hero .selector .total-val #totalPrice,
.product-hero .selector div.total-val { color: var(--primary) !important; }
.product-hero .selector .qty button,
.product-hero .selector .qty input { color: var(--primary) !important; }
.product-hero .selector .pay-icons span { color: var(--text-on-light-muted) !important; }

/* Country locked-in (single-product) */
.product-hero .country-locked .name,
.country-locked .name { color: var(--primary) !important; }
.product-hero .country-locked .check,
.country-locked .check { color: var(--accent) !important; }


/* --- 5. ACCENT GLOBAL --- */
.accent { color: var(--accent-2) !important; }


/* ====================================================================
 * ============= SFÂRȘIT BLOCKSY OVERRIDES =============
 * ==================================================================== */


/* ====================================================================
 * SELECTION — culoare de selecție subtilă (în loc de albastru tare default)
 * ==================================================================== */
::selection {
    background: rgba(26, 140, 255, 0.25);
    color: inherit;
}
::-moz-selection {
    background: rgba(26, 140, 255, 0.25);
    color: inherit;
}


/* Scroll smooth + offset pentru ancore (compensează nav-ul sticky) */
html { scroll-behavior: smooth; }
section[id], [id^="section-"] {
    scroll-margin-top: 80px;
}


:root {
    --primary: #0e2a4a;
    --primary-deep: #081a33;
    --accent: #1a8cff;
    --accent-2: #3aa3ff;
    --accent-deep: #0d6fd9;
    --accent-glow: rgba(26, 140, 255, 0.35);
    --text-on-light: #0e2a4a;
    --text-on-light-muted: #5a6b85;
    --bg-light: #ffffff;
    --bg-soft: #f3f6fb;
    --border-light: rgba(14,42,74,0.1);
    --body: 'Inter', system-ui, -apple-system, sans-serif;
    --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body);
    background: var(--bg-light);
    color: var(--text-on-light);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }


/* ============ NAV ============ */
.nav {
    position: sticky;
    position: -webkit-sticky;  /* fallback Safari iOS */
    top: 0;
    z-index: 9999;
    background: var(--primary);
    color: white;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* IMPORTANT: nu folosim overflow-x: hidden pe html/body pentru că strică
 * sticky pe iOS. Dacă e nevoie să previn overflow lateral, e setat punctual
 * pe wrapper-ul de conținut.
 */
body {
    max-width: 100vw;
    overflow-x: clip;  /* `clip` nu strică sticky cum face `hidden` */
}

/* WP Admin bar — mută nav sub el când e logat */
.admin-bar .nav {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar .nav {
        top: 46px;
    }
}
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 19px;
    color: white;
}
.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    font-size: 17px;
    box-shadow: 0 0 0 2px rgba(26,140,255,0.2);
}

/* Custom logo image (când e setat din Appearance → Customize → Site Identity) */
.logo-img {
    height: 40px;
    width: auto;
    max-height: 40px;
    object-fit: contain;
    display: block;
}
.nav .logo-img {
    height: 38px;
    max-height: 38px;
}
footer .logo-img {
    height: 36px;
    max-height: 36px;
}
.nav-links {
    display: flex;
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}
.nav-links a {
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-links .current-menu-item a,
.nav-links a.active {
    color: var(--accent-2);
    border-bottom-color: var(--accent-2);
}
.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.lang-switch {
    display: flex;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 3px;
    list-style: none;
    margin: 0;
}
.lang-switch a, .lang-switch li {
    padding: 6px 12px;
    border-radius: 999px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    transition: background 0.2s, color 0.2s;
    list-style: none;
    display: inline-flex;
    align-items: center;
}
.lang-switch a.active,
.lang-switch li.current-lang {
    background: white;
    color: var(--primary);
}


/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
}
.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px -4px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px var(--accent-glow);
}
.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.4);
}
.btn-light {
    background: white;
    color: var(--primary);
}
.btn-light:hover { background: var(--bg-soft); }
.btn-arrow::after {
    content: "→";
    font-size: 16px;
    transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}


/* ============ EYEBROW (small label above titles) ============ */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--accent-2); }


/* ============ STRIP (operators band) ============ */
.strip {
    padding: 32px 24px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border-light);
}
.strip-inner {
    max-width: var(--max);
    margin: 0 auto;
    text-align: center;
}
.strip-label {
    font-size: 11px;
    color: var(--text-on-light-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin-bottom: 16px;
}
.strip-logos {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.strip-logos span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 15px;
    color: var(--text-on-light-muted);
    opacity: 0.6;
}


/* ============ SECTIONS ============ */
.section {
    padding: 110px 24px;
    position: relative;
}
.section.dark {
    background: var(--primary);
    color: white;
}
.section.soft { background: var(--bg-soft); }
.section-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.section-head {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: end;
    margin-bottom: 60px;
}
.section-head .lede {
    font-size: 17px;
    color: var(--text-on-light-muted);
    max-width: 480px;
    line-height: 1.6;
}
.section.dark .section-head .lede { color: rgba(255,255,255,0.75); }
h2.section-title {
    font-weight: 800;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--primary);
}
.section.dark h2.section-title { color: white; }
h2.section-title .accent { color: var(--accent); }


/* ============ PAGE HERO (interior pages) ============ */
.page-hero {
    padding: 60px 24px 60px;
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 300px at 70% 50%, rgba(26,140,255,0.15), transparent 60%);
    pointer-events: none;
}
.page-hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
}
.page-hero h1 {
    font-weight: 800;
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 14px 0 16px;
}
.page-hero h1 .accent { color: var(--accent-2); }
.page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.55;
}


/* ============ SIM CARDS (country tiles) ============ */
.sim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.sim-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}
.sim-card:hover {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 8px 20px -10px rgba(26,140,255,0.2);
    transform: translateY(-1px);
}
.sim-card-flag {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px var(--border-light);
    position: relative;
}
.sim-card-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sim-card-from {
    font-size: 11px;
    color: var(--text-on-light-muted);
    margin-top: 2px;
    font-weight: 500;
}
.sim-card-from strong {
    color: var(--accent);
    font-weight: 700;
}


/* ============ FLAG CLASSES (CSS-pure, fără imagini) ============ */
.flag-tr { background: #c0392b; }
.flag-tr::after { content: "☾"; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 13px; }
.flag-eu { background: #003399; }
.flag-eu::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: #ffcc00; font-size: 11px; }
.flag-eg { background: linear-gradient(180deg, #c0392b 33%, #ffffff 33%, #ffffff 66%, #1a1a1a 66%); }
.flag-ae { background: linear-gradient(180deg, #c8102e 50%, #ffffff 50%, #ffffff 75%, #1a1a1a 75%); }
.flag-th { background: linear-gradient(180deg, #c0392b 16%, #ffffff 16%, #ffffff 33%, #1e3a8a 33%, #1e3a8a 66%, #ffffff 66%, #ffffff 83%, #c0392b 83%); }
.flag-us { background: linear-gradient(180deg, #b22234 0%, #b22234 20%, #ffffff 20%, #ffffff 40%, #b22234 40%, #b22234 60%, #ffffff 60%, #ffffff 80%, #b22234 80%); }
.flag-id { background: linear-gradient(180deg, #c0392b 50%, #ffffff 50%); }
.flag-jp { background: white; }
.flag-jp::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; background: #c0392b; border-radius: 50%; transform: translate(-50%, -50%); }
.flag-gr { background: linear-gradient(180deg, #1e3a8a 0%, #1e3a8a 20%, #ffffff 20%, #ffffff 40%, #1e3a8a 40%, #1e3a8a 60%, #ffffff 60%, #ffffff 80%, #1e3a8a 80%); }
.flag-es { background: linear-gradient(180deg, #c0392b 25%, #ffcc00 25%, #ffcc00 75%, #c0392b 75%); }
.flag-it { background: linear-gradient(90deg, #008c45 33%, #ffffff 33%, #ffffff 66%, #c0392b 66%); }
.flag-fr { background: linear-gradient(90deg, #002868 33%, #ffffff 33%, #ffffff 66%, #c0392b 66%); }
.flag-pt { background: linear-gradient(90deg, #006a35 40%, #c0392b 40%); }
.flag-gb { background: #002868; }
.flag-gb::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 14px; font-weight: 700; }
.flag-cy { background: white; }
.flag-cy::after { content: ""; position: absolute; top: 35%; left: 50%; width: 12px; height: 6px; background: #d4a943; transform: translateX(-50%); border-radius: 1px; }
.flag-mt { background: linear-gradient(90deg, white 50%, #c0392b 50%); }
.flag-al { background: #c0392b; }
.flag-al::after { content: "♦"; position: absolute; inset: 0; display: grid; place-items: center; color: black; font-size: 11px; }
.flag-qa { background: linear-gradient(90deg, white 25%, #722f37 25%); }
.flag-ma { background: #c0392b; }
.flag-ma::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: #006a35; font-size: 12px; }
.flag-tn { background: #c0392b; }
.flag-tn::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; background: white; border-radius: 50%; transform: translate(-50%,-50%); }
.flag-vn { background: #c0392b; }
.flag-vn::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: #ffcc00; font-size: 12px; }
.flag-in { background: linear-gradient(180deg, #ff9933 33%, #ffffff 33%, #ffffff 66%, #138808 66%); }
.flag-mx { background: linear-gradient(90deg, #006a35 33%, #ffffff 33%, #ffffff 66%, #c0392b 66%); }
.flag-br { background: #006a35; }
.flag-br::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 9px; background: #ffcc00; transform: translate(-50%,-50%) rotate(45deg); }
.flag-do { background: linear-gradient(90deg, #002868 50%, #c0392b 50%); }
.flag-do::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 3px; background: white; transform: translateY(-50%); }

/* Elveția — fundal roșu cu cruce albă */
.flag-ch { background: #d52b1e; }
.flag-ch::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 18px; font-weight: 900; line-height: 1; }

/* Germania — 3 dungi orizontale negru/roșu/galben */
.flag-de { background: linear-gradient(180deg, #000000 33%, #dd0000 33%, #dd0000 66%, #ffce00 66%); }

/* Austria — alb cu dungi roșii */
.flag-at { background: linear-gradient(180deg, #ed2939 33%, #ffffff 33%, #ffffff 66%, #ed2939 66%); }

/* Olanda — dungi orizontale roșu/alb/albastru */
.flag-nl { background: linear-gradient(180deg, #ae1c28 33%, #ffffff 33%, #ffffff 66%, #21468b 66%); }

/* Belgia — 3 dungi verticale negru/galben/roșu */
.flag-be { background: linear-gradient(90deg, #000000 33%, #fdda24 33%, #fdda24 66%, #ef3340 66%); }

/* Polonia — alb sus, roșu jos */
.flag-pl { background: linear-gradient(180deg, #ffffff 50%, #dc143c 50%); }

/* Cehia — alb cu triunghi albastru și roșu jos */
.flag-cz { background: linear-gradient(180deg, #ffffff 50%, #d7141a 50%); }
.flag-cz::after { content: ""; position: absolute; top: 0; left: 0; border-style: solid; border-width: 20px 20px 20px 0; border-color: transparent #11457e transparent transparent; }

/* Ungaria — 3 dungi orizontale roșu/alb/verde */
.flag-hu { background: linear-gradient(180deg, #ce2939 33%, #ffffff 33%, #ffffff 66%, #477050 66%); }

/* Irlanda — 3 dungi verticale verde/alb/portocaliu */
.flag-ie { background: linear-gradient(90deg, #169b62 33%, #ffffff 33%, #ffffff 66%, #ff883e 66%); }

/* Canada — roșu cu frunză */
.flag-ca { background: #d52b1e; }
.flag-ca::after { content: "🍁"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; }

/* Australia — albastru cu cruce */
.flag-au { background: #00247d; }
.flag-au::after { content: "✦"; position: absolute; top: 50%; right: 4px; color: white; font-size: 10px; transform: translateY(-50%); }

/* Suedia — albastru cu cruce galbenă */
.flag-se { background: #006aa7; }
.flag-se::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #fecc00; font-size: 18px; font-weight: 900; line-height: 1; }

/* Norvegia — roșu cu cruce */
.flag-no { background: #ba0c2f; }
.flag-no::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 18px; font-weight: 900; line-height: 1; }

/* Danemarca — roșu cu cruce albă */
.flag-dk { background: #c8102e; }
.flag-dk::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 18px; font-weight: 900; line-height: 1; }

/* Finlanda — alb cu cruce albastră */
.flag-fi { background: white; }
.flag-fi::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #003580; font-size: 18px; font-weight: 900; line-height: 1; }

/* Coreea de Sud — alb cu yin-yang */
.flag-kr { background: white; }
.flag-kr::after { content: "☯"; position: absolute; inset: 0; display: grid; place-items: center; color: #c60c30; font-size: 14px; }

/* China — roșu cu stele */
.flag-cn { background: #de2910; }
.flag-cn::after { content: "★"; position: absolute; top: 8px; left: 8px; color: #ffde00; font-size: 13px; }

/* Singapore — roșu sus, alb jos */
.flag-sg { background: linear-gradient(180deg, #ed2939 50%, #ffffff 50%); }

/* Hong Kong — roșu */
.flag-hk { background: #de2910; }
.flag-hk::after { content: "❀"; position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 13px; }

/* Malaezia — dungi orizontale + colț albastru */
.flag-my { background: linear-gradient(180deg, #cc0000 0%, #cc0000 7%, #ffffff 7%, #ffffff 14%, #cc0000 14%, #cc0000 21%, #ffffff 21%, #ffffff 28%, #cc0000 28%, #cc0000 35%, #ffffff 35%, #ffffff 42%, #cc0000 42%, #cc0000 50%, #ffffff 50%, #ffffff 57%, #cc0000 57%, #cc0000 64%, #ffffff 64%, #ffffff 71%, #cc0000 71%); }

/* Filipine — albastru sus, roșu jos */
.flag-ph { background: linear-gradient(180deg, #0038a8 50%, #ce1126 50%); }


/* ============ REGION SECTIONS (destinations page) ============ */
.region-section { margin-bottom: 64px; }
.region-title {
    font-weight: 800;
    font-size: 28px;
    color: var(--primary);
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 16px;
}
.region-title::before {
    content: "";
    width: 32px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}


/* ============ SELECTOR (purchase form) ============ */
.selector {
    background: white;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
    color: var(--text-on-light);
    position: relative;
}
.selector::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 14px 14px 0 0;
}
.selector-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}
.selector-head .title {
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
}
.selector-head .status {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.selector-head .status::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.selector-step { margin-bottom: 18px; }
.selector-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-on-light-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.selector-label .num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 800;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.package-pill {
    padding: 14px 8px;
    text-align: center;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.package-pill:hover { border-color: var(--accent); }
.package-pill.active {
    border-color: var(--accent);
    background: rgba(26,140,255,0.06);
    box-shadow: 0 0 0 1px var(--accent);
}
.package-pill .days {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-on-light-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.package-pill .data {
    font-weight: 800;
    font-size: 20px;
    margin: 4px 0;
    line-height: 1;
    color: var(--primary);
}
.package-pill .price {
    font-weight: 700;
    font-size: 13px;
    color: var(--accent);
}

.selector-cta {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-family: var(--body);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 18px;
    box-shadow: 0 8px 20px -6px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.selector-cta:hover {
    background: var(--accent-deep);
    transform: translateY(-1px);
}
.selector-foot {
    margin-top: 12px;
    text-align: center;
    font-size: 11px;
    color: var(--text-on-light-muted);
    font-weight: 500;
}


/* ============ PILLARS (4 reasons grid) ============ */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pillar {
    background: white;
    border-radius: 12px;
    padding: 36px 28px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -25px rgba(14,42,74,0.15);
    border-color: var(--accent);
}
.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
    color: white;
    margin-bottom: 22px;
    box-shadow: 0 10px 24px -10px var(--accent-glow);
}
.pillar h4 {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.015em;
    margin: 0 0 10px;
    color: var(--primary);
}
.pillar p {
    color: var(--text-on-light-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}


/* ============ FEATURE (split text+visual) ============ */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 100px;
}
.feature:last-child { margin-bottom: 0; }
.feature.reverse > .feature-text { order: 2; }
.feature-text h3 {
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 14px 0 16px;
    color: var(--primary);
}
.section.dark .feature-text h3 { color: white; }
.feature-text p {
    color: var(--text-on-light-muted);
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 460px;
    line-height: 1.65;
}
.section.dark .feature-text p { color: rgba(255,255,255,0.75); }
.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}
.feature-link::after {
    content: "→";
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    display: grid;
    place-items: center;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}
.feature-link:hover::after {
    background: var(--accent);
    color: white;
}
.feature-visual {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #e9eef7 100%);
    box-shadow: 0 30px 60px -25px rgba(14,42,74,0.2);
}
.feature-visual.dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}

.visual-stack {
    position: absolute;
    inset: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}
.visual-row {
    background: white;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 4px 14px -8px rgba(14,42,74,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}
.visual-row .pill {
    background: var(--accent);
    color: white;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.visual-row .price {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
}
.visual-row.highlight {
    border: 2px solid var(--accent);
    transform: scale(1.04);
    box-shadow: 0 14px 30px -10px var(--accent-glow);
}

.visual-globe {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}
.visual-globe svg {
    width: 75%;
    height: 75%;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}
.visual-globe .pulse {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent-2);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-2);
}
.visual-globe .pulse::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-2);
    border-radius: 50%;
    animation: ping 2s infinite;
}
@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}


/* ============ STEPS (3-step grid, dark sections) ============ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}
.step {
    padding: 36px 30px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: background 0.3s, border-color 0.3s;
}
.step:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--accent);
}
.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 22px;
}
.step h4 {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    color: white;
}
.step p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}


/* ============ FAQ ============ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 920px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
    border-color: var(--accent);
    box-shadow: 0 14px 30px -16px rgba(26,140,255,0.2);
}
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    gap: 16px;
}
.faq-q .toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s, background 0.3s, color 0.3s;
    flex-shrink: 0;
}
.faq-item.open .toggle {
    background: var(--accent);
    color: white;
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner {
    padding: 0 26px 24px;
    color: var(--text-on-light-muted);
    font-size: 14px;
    line-height: 1.65;
}
.faq-a-inner p { margin: 0 0 10px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner ol { padding-left: 18px; }
.faq-a-inner strong { color: var(--primary); }
.faq-a-inner a { color: var(--accent); font-weight: 600; cursor: pointer; }


/* ============ CTA BAND ============ */
.cta-band {
    background: var(--primary);
    padding: 90px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 80% 50%, rgba(26,140,255,0.18), transparent 60%),
        radial-gradient(600px 300px at 20% 50%, rgba(26,140,255,0.1), transparent 60%);
    pointer-events: none;
}
.cta-band-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.cta-band h2 {
    font-weight: 800;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.05;
    margin: 14px 0 18px;
    letter-spacing: -0.025em;
}
.cta-band h2 .accent { color: var(--accent-2); }
.cta-band p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    margin-bottom: 32px;
    line-height: 1.55;
}
.cta-band-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* ============ FOOTER ============ */
footer {
    background: var(--primary-deep);
    padding: 70px 24px 32px;
    color: white;
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
    color: rgba(255,255,255,0.65);
    margin-top: 16px;
    font-size: 14px;
    max-width: 320px;
    line-height: 1.6;
}
.footer-brand a {
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.footer-brand a:hover { color: white; }
.footer-col h5 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.15em;
    margin: 0 0 18px;
    color: var(--accent-2);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: color 0.2s;
    cursor: pointer;
}
.footer-col a:hover { color: white; }
.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}


/* ============ ICONA COȘ ============ */
.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.nav-cart:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}
.nav-cart svg {
    display: block;
}
.nav-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--primary);
    box-sizing: content-box;
    font-family: 'Inter', system-ui, sans-serif;
}
.nav-cart-count[hidden] {
    display: none !important;
}


/* ============ MOBILE PANEL (deschis la hamburger click) ============ */
.nav-mobile-panel {
    display: none;
    background: var(--primary-deep);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px 20px;
}
.nav.menu-open .nav-mobile-panel {
    display: block;
}
.nav-mobile-links {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
}
.nav-mobile-links li {
    list-style: none;
}
.nav-mobile-links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 0;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.15s;
}
.nav-mobile-links a:hover {
    color: var(--accent-2);
}
.nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}
.nav-mobile-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14px;
}


/* ============ RESPONSIVE BREAKPOINTS ============ */
@media (max-width: 980px) {
    /* Desktop nav links se ascund — mutate în mobile panel */
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; }

    /* Elemente vizibile DOAR pe desktop — ascunse pe mobile */
    .nav-desktop-only {
        display: none !important;
    }

    /* Coșul rămâne vizibil pe mobile (în nav-cta) */
    .nav-cta {
        gap: 8px;
    }

    .feature, .feature.reverse, .footer-grid, .section-head {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .feature.reverse > .feature-text { order: 0; }
    .sim-grid { grid-template-columns: repeat(3, 1fr); }
    .pillars-grid, .steps { grid-template-columns: 1fr 1fr; }

    .section, .cta-band, .page-hero { padding: 70px 20px; }
    .strip { padding: 28px 20px; }
    footer { padding: 50px 20px 24px; }
    .selector { padding: 26px; }
}

@media (max-width: 640px) {
    .sim-grid { grid-template-columns: 1fr 1fr; }
    .pillars-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
    .feature-visual { aspect-ratio: 1.2 / 1; }
    .selector-head .title { font-size: 16px; }
    .package-pill .data { font-size: 17px; }
    .package-pill { padding: 11px 6px; }

    /* Pe mobile foarte mic, comprimă logo-ul */
    .logo-img { max-height: 28px; }
    .nav-inner { padding: 10px 16px; }
}


/* ====================================================================
 * Ascunde categoriile produsului pe pagina /shop/ și arhive WC
 * Blocksy folosește .entry-meta cu .meta-categories pe card
 * ==================================================================== */
.products .product .entry-meta,
.products .product .meta-categories,
ul.products li.product ul.entry-meta,
ul.products li.product .meta-categories,
.products .product .ct-product-categories,
.products .product .product-categories,
.products .product .woocommerce-loop-product__categories,
.products .product .posted_in,
.product-loop-categories,
.woocommerce ul.products li.product .product-categories,
ul.products li.product .ct-product-categories,
.product .ct-woo-card-block-categories {
    display: none !important;
}


/* ====================================================================
 * WP ADMIN BAR pe mobile — ascunde username-ul (display-name)
 * care iese în lateral și strică viewport-ul.
 * Admin bar rămâne funcțional, doar text-ul username e ascuns.
 * ==================================================================== */
@media (max-width: 782px) {
    #wpadminbar .display-name,
    #wp-admin-bar-my-account .display-name {
        display: none !important;
    }

    /* Optional: previne overflow lateral pe admin bar */
    #wpadminbar {
        overflow: hidden !important;
        max-width: 100vw !important;
    }
}
