/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
#hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content (content is 10) */
    pointer-events: none;
    /* Let clicks pass through to background/buttons */
    overflow: hidden;
}

/* --- MINIMAL HOVER LIFT (no 3D) --- */
.teaser-card,
.logic-box,
.product-card,
.info-card,
.form-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

:root {
    /* Backgrounds — Navy Industrial */
    --bg-dark: #0A1628;
    --bg-black: #060E1A;
    --bg-footer: rgba(6, 14, 26, 0.9);
    --bg-section-2: #0F1B30;
    --bg-section-3: #060E1A;
    --bg-card: #1B2A4A;
    --bg-card-alt: #374151;
    --panel-bg: #0F1B30;
    --input-bg: #1B2A4A;

    /* Text */
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;

    /* Accent — Safety Orange */
    --accent-gold: #FF6B00;
    --accent-gold-light: #FFB366;
    --accent-gold-hover: #E65100;
    --accent-amber: #F59E0B;

    /* Status */
    --color-error: #ef4444;
    --color-error-subtle: rgba(239, 68, 68, 0.1);
    --color-success: #10b981;

    /* Borders & Misc */
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius-box: 16px;
    --radius-btn: 12px;

    /* Typography */
    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1;
    margin: 0;
}

/* Astra dark override — OBLIGATORIU pentru dark themes */
.site-content,
#primary,
.ast-container,
.ast-woocommerce-container,
.content-area,
.site-main {
    background-color: var(--bg-dark) !important;
}

/* Astra WooCommerce float resets */
.woocommerce .col2-set,
.woocommerce-page .col2-set,
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* =========================================
   FORM INPUTS — Dark BG Override (Regula 15)
   ========================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="date"],
select,
textarea,
.input-text,
.woocommerce input[type="text"],
.woocommerce select,
.woocommerce textarea,
.select2-container--default .select2-selection--single {
    background: rgba(10, 22, 40, 0.85) !important;
    background-color: rgba(10, 22, 40, 0.85) !important;
    color: var(--text-primary, #F0F2F5) !important;
    border: 1px solid rgba(255, 107, 0, 0.15) !important;
    border-radius: 12px !important;
    -webkit-appearance: none !important;
    color-scheme: dark !important;
}

input:focus,
select:focus,
textarea:focus,
.input-text:focus {
    background: rgba(10, 22, 40, 0.95) !important;
    border-color: var(--accent-gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.25) !important;
}

select option,
.woocommerce select option {
    background: #0F1B30 !important;
    color: #F3F4F6 !important;
}

/* Select2 (WooCommerce checkout) */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    line-height: 48px !important;
}
.select2-dropdown {
    background: #0F1923 !important;
    border-color: rgba(255, 107, 0, 0.15) !important;
}
.select2-results__option {
    background: #0F1B30 !important;
    color: #F3F4F6 !important;
}
.select2-results__option--highlighted {
    background: rgba(255, 107, 0, 0.2) !important;
}

/* Select height fix (Regula 15b) */
select {
    height: 48px !important;
    min-height: 48px !important;
    line-height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* =========================================
   STACKED SECTIONS REVEAL (Iventions Style)
   ========================================= */

/* Base Logic for Stacking */
#hero,
.home-section {
    position: sticky;
    top: 0;
    /* Sticky to top */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;

    /* GPU & Smoothness */
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: background 0.5s ease;
}

/* Mobile Adjustment (Header Clearance) */
@media (min-width: 992px) {

    #hero,
    .home-section {
        top: 0;
    }
}

/* --- SECTION 1: HERO (Base) --- */
#hero {
    z-index: 1;
    background: transparent;
    /* Allows global bg to show */
    box-shadow: none;
}

/* --- SECTION 2: CINE SUNTEM --- */
.section-cine-suntem {
    z-index: 5;
    background-color: var(--bg-dark);
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- SECTION 3: CIFRE CHEIE --- */
.section-stats {
    z-index: 8;
    background-color: var(--bg-section-2);
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- SECTION 4: CUM FUNCTIONEAZA --- */
.section-process {
    z-index: 10;
    background-color: var(--bg-dark);
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- SECTION 5: SERVICII --- */
.section-servicii {
    z-index: 12;
    background-color: var(--bg-section-2);
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- SECTION 6: DE CE NOI --- */
.section-why {
    z-index: 14;
    background-color: var(--bg-dark);
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- SECTION 7: TESTIMONIALE --- */
.section-testimoniale {
    z-index: 16;
    background-color: var(--bg-section-2);
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- SECTION 8: NOUTATI --- */
.section-noutati {
    z-index: 18;
    background-color: var(--bg-dark);
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- SECTION 9: CONTACT CTA --- */
.section-contact {
    z-index: 20;
    background-color: var(--bg-section-3);
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   2. PRELOADER
   ========================================= */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    animation: pulseLogo 1.5s infinite;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transform: translateX(-100%);
    animation: loadBar 2s infinite ease-in-out;
}

body.loaded #loader {
    transform: translateY(-100%);
}

@keyframes pulseLogo {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes loadBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* =========================================
   3. BACKGROUND SYSTEM
   ========================================= */
#global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: var(--bg-dark);
    overflow: hidden;
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(1000px) rotateX(60deg) translateY(0) translateZ(-200px);
    opacity: 0.4;
    animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(80px) translateZ(-200px);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0)), radial-gradient(2px 2px at 90px 40px, rgba(255, 107, 0, 0.6), rgba(0, 0, 0, 0));
    background-size: 200px 200px;
    animation: particlesMove 60s linear infinite;
    opacity: 0.5;
}

@keyframes particlesMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.3), transparent 70%);
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* =========================================
   4. HEADER & NAV
   ========================================= */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
}

#main-header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo i {
    color: var(--accent-gold);
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.6));
}

.logo span {
    background: linear-gradient(110deg, #ffffff 20%, #FF6B00 40%, #E65100 50%, #FF6B00 60%, #ffffff 80%);
    background-size: 300% 100%;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: orangeShimmer 5s ease-in-out infinite;
}

@keyframes orangeShimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* Desktop Menu (High Impact Hover) — stilul complet e în secțiunea PNRR/NAV de mai jos */

.desktop-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.desktop-nav a:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 107, 0, 0.7);
    transform: translateY(-2px);
}

.desktop-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    z-index: 1002;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
}

.mobile-menu.active {
    transform: translateX(0);
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    gap: 2rem;
    padding: 0;
}

.mobile-menu a {
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    transition: 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* =========================================
   5. GENERAL UI (Buttons, Cards, Sections)
   ========================================= */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 5;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =========================================
   PAGE HERO — Left-aligned with accent bar
   ========================================= */
.page-hero {
    text-align: left;
}

.page-hero .section-tag,
.page-hero .hero-top-tag {
    text-align: left;
}

.page-hero .section-desc,
.page-hero > p {
    margin-left: 0;
    margin-right: auto;
}

.page-hero .hero-title,
.page-hero h1 {
    text-align: left;
    border-left: 4px solid var(--accent-gold);
    padding-left: 1rem;
}

/* fadeInLeft entrance for hero titles */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.page-hero .hero-title,
.page-hero h1 {
    animation: fadeInLeft 0.8s ease-out;
}

.page-hero .section-tag,
.page-hero .hero-top-tag {
    animation: fadeInLeft 0.8s ease-out 0.1s backwards;
}

.page-hero .section-desc,
.page-hero > p {
    animation: fadeInLeft 0.8s ease-out 0.2s backwards;
}

.page-hero .btn-group {
    animation: fadeInLeft 0.8s ease-out 0.3s backwards;
}

/* =========================================
   FROSTED GLASS — Subtle backdrop blur
   ========================================= */
.teaser-card,
.info-card,
.stat-card,
.testi-card,
.noutati-card,
.value-card,
.about-block,
.team-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Enhanced card hover shadows */
.teaser-card:hover,
.info-card:hover,
.testi-card:hover,
.noutati-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 107, 0, 0.05);
}

/* =========================================
   SECTION DIVIDERS — Gradient line
   ========================================= */
.home-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.15), transparent);
    pointer-events: none;
    z-index: 1;
}

/* =========================================
   FOOTER BADGE HOVER (replaces inline JS)
   ========================================= */
.legal-badges-container a,
.legal-badges-container > div {
    transition: transform 0.3s ease;
}

.legal-badges-container a:hover,
.legal-badges-container > div:hover {
    transform: scale(1.05);
}

.pnrr-section a {
    transition: color 0.3s ease;
}

.pnrr-section a:hover {
    color: var(--accent-gold);
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    background-color: #fff;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(255, 107, 0, 0.05);
}

/* --- Teaser Cards (Home) --- */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.teaser-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: 0.3s;
    text-align: left;
}

.teaser-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.04);
}

.teaser-icon {
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.teaser-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.teaser-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Footer (merged: stacking z-index + layout) --- */
footer {
    position: relative;
    z-index: 100 !important;
    background: var(--bg-footer);
    box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.8);
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--accent-gold);
    padding-left: 15px;
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* --- Cursor --- */
#cursor-dot,
#cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

#cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
}

#cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.2s;
}

@media (hover: none) {

    #cursor-dot,
    #cursor-ring {
        display: none;
    }
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .shop-container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4 {
        border-left: none;
        border-bottom: 2px solid var(--accent-gold);
        padding-left: 0;
        padding-bottom: 5px;
        display: inline-block;
    }
}

/* =========================================
   6. HEADER — PNRR BAR & NAV BUTTONS
   ========================================= */

/* --- STILURI SUBTILE BANNER PNRR --- */
.pnrr-top-bar {
    background: #ffffff;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    height: 60px;
    display: flex;
    align-items: center;
    transition: transform 0.4s var(--ease-out);
}

.pnrr-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.pnrr-banner-link img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Ajustare Header existent pentru a face loc bannerului */
#main-header {
    top: 60px;
    display: flex;
    align-items: center;
}

/* Efect de ascundere la scroll */
body.scrolled .pnrr-top-bar {
    transform: translateY(-100%);
}
body.scrolled #main-header {
    top: 0;
}

/* --- NAVIGARE & ALINIERE --- */
.container.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Stil Link-uri Meniu */
.desktop-nav a:not(.nav-auth-btn):not(.cart-nav-link) {
    position: relative;
    top: 1px;
}

/* Buton Cos (Cerc Centrat) */
.cart-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    color: rgba(255,255,255,0.8);
}

.cart-nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--accent-gold);
}

/* --- STILIZARE BUTOANE AUTH --- */
.nav-auth-btn {
    padding: 12px 32px;
    min-width: 140px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    line-height: 1;
}

/* Buton Login (Auriu Solid) */
.login-btn {
    background: var(--accent-gold);
    color: var(--bg-dark) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
}

/* Buton Cont (Transparent/Glass) */
.account-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    backdrop-filter: blur(5px);
    padding: 12px 25px;
}

/* Efect de strălucire la hover */
.nav-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.6s;
}

.nav-auth-btn:hover::before {
    left: 150%;
}

/* Comportament Hover */
.nav-auth-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.login-btn:hover {
    background: #fff;
    color: #000 !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.account-btn:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-gold) !important;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.15);
}

/* Aliniere Iconita */
.nav-auth-btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    position: relative;
    top: -1px;
}

.nav-auth-btn:hover i {
    transform: rotate(10deg);
}

/* --- STIL PENTRU CONTORUL DE COS (BADGE) --- */
.cart-count-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 2px solid var(--bg-dark);
}

@media (max-width: 768px) {
    .pnrr-top-bar { height: 50px; }
    .pnrr-banner-link img { height: 30px; }
    #main-header { top: 50px; }
    .nav-auth-btn { padding: 0.6rem 1.4rem; font-size: 0.8rem; }
}

/* =========================================
   7. WOOCOMMERCE NOTICES — Dark Theme (R22)
   ========================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--glass-border) !important;
    border-left: 4px solid var(--accent-gold) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    font-family: var(--font-body) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 1rem !important;
}

.woocommerce-error {
    border-left-color: var(--color-error) !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    order: 3 !important;
    margin-left: auto !important;
    background: rgba(255, 107, 0, 0.1) !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
    color: var(--accent-gold) !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    background: rgba(255, 107, 0, 0.2) !important;
    color: #fff !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    position: static !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    color: var(--accent-gold) !important;
}

.woocommerce-error::before {
    color: var(--color-error) !important;
}

/* Error list items */
.woocommerce-error li {
    color: var(--text-primary) !important;
    list-style: none !important;
}
