﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CHEVIO BEST DEAL SRL â€” Global Styles
   Variabile :root, reset Astra, header, footer
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€â”€ ROOT VARIABLES â”€â”€â”€ */
:root {
    /* Orange Palette (shifted from violet for Service Tractoare brand) */
    --chv-v50:  #fff5ef;
    --chv-v100: #ffe6d5;
    --chv-v200: #ffcfaa;
    --chv-v300: #ffae7a;
    --chv-v400: #ff8b5e;
    --chv-v500: #ff7a4d;
    --chv-v600: #ff6b35;
    --chv-v700: #e55a2a;

    /* Backgrounds (Light) */
    --chv-bg-main: #faf9f7;
    --chv-bg-white: #ffffff;
    --chv-bg-cream: #faf9f7;

    /* Text */
    --chv-ink: #1a1a1a;
    --chv-ink2: #2d2d2d;
    --chv-muted: #857d72;

    /* Accent / Primary */
    --chv-accent: #ff6b35;
    --chv-accent-light: #ffae7a;
    --chv-accent-glow: rgba(255, 107, 53, 0.35);

    /* Status */
    --chv-success: #16a34a;
    --chv-error: #dc2626;
    --chv-warning: #d97706;

    /* Fonts */
    --chv-font-main: 'Outfit', sans-serif;
    --chv-font-serif: 'Libre Baskerville', serif;

    /* Transitions */
    --chv-transition: 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}


/* â”€â”€â”€ GLOBAL RESET â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--chv-font-main);
    color: var(--chv-ink);
    background: var(--chv-bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


/* â”€â”€â”€ ASTRA RESET (Global) â”€â”€â”€ */
.site-header,
#masthead,
.ast-main-header-wrap { display: none !important; }

.site-footer,
#colophon,
.ast-builder-footer-wrap { display: none !important; }

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post { padding: 0; }

.site-content { padding-top: 0 !important; }

/* Reset bullets for themed pages */
body[class*="chevio-dark-"] ul:not(.feat-ul):not(.legal-document ul):not(.chv-prod-desc-content ul):not(.chv-article-content ul),
body.chevio-product-dark ul:not(.feat-ul):not(.chv-prod-desc-content ul) {
    list-style: none;
    padding-left: 0;
    margin: 0;
}


/* â”€â”€â”€ GRAIN OVERLAY â”€â”€â”€ */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PNRR BANNER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.chv-pnrr-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.chv-pnrr-banner-link {
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    height: 100%;
}

.chv-pnrr-banner-link img {
    height: 36px;
    width: auto;
    object-fit: contain;
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HEADER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.chv-custom-header {
    position: fixed;
    top: 52px;
    left: 0;
    width: 100%;
    z-index: 10001;
    padding: 20px 0;
    background: rgba(26, 26, 26, .72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: top var(--chv-transition),
                padding var(--chv-transition),
                background var(--chv-transition),
                backdrop-filter var(--chv-transition);
}

/* Pages with dark hero â€” header transparent until scroll */
body.chevio-dark-home .chv-custom-header:not(.is-scrolled),
body.chevio-dark-about .chv-custom-header:not(.is-scrolled),
body.chevio-dark-blog .chv-custom-header:not(.is-scrolled),
body.chevio-dark-article .chv-custom-header:not(.is-scrolled),
body.chevio-dark-terms .chv-custom-header:not(.is-scrolled),
body.chevio-dark-gdpr .chv-custom-header:not(.is-scrolled) {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.chv-custom-header.is-scrolled {
    top: 0;
    padding: 12px 0;
    background: rgba(26, 26, 26, .72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.chv-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.chv-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.chv-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--chv-v600);
    color: #fff;
    font-family: var(--chv-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chv-logo-text {
    font-family: var(--chv-font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}

/* Nav Desktop */
.chv-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
}

.chv-nav-link {
    font-size: .82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    letter-spacing: .02em;
    transition: color var(--chv-transition);
}

.chv-nav-link:hover {
    color: #fff;
}

/* Cart Icon Header */
.chv-header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color var(--chv-transition), background var(--chv-transition);
    flex-shrink: 0;
}

.chv-header-cart:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.chv-header-cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    border-radius: 50px;
    background: var(--chv-v600);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* CTA Button Header */
.chv-btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 60px;
    background: var(--chv-v600);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--chv-transition);
    flex-shrink: 0;
}

.chv-btn-cta:hover {
    background: var(--chv-v500);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--chv-accent-glow);
}

/* Burger Mobile */
.chv-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 10003;
}

.chv-burger-line {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--chv-transition);
}

.chv-burger.is-active .chv-burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.chv-burger.is-active .chv-burger-line:nth-child(2) {
    opacity: 0;
}

.chv-burger.is-active .chv-burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE MENU OVERLAY
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.chv-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, .95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

.chv-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.chv-mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.chv-mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: color .3s;
}

.chv-mobile-link:hover {
    color: #fff;
}

.chv-mobile-cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    border-radius: 60px;
    background: var(--chv-v600);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 12px;
    transition: all .3s;
}

.chv-mobile-cta:hover {
    background: var(--chv-v500);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.chv-custom-footer {
    background: var(--chv-ink);
    color: rgba(255, 255, 255, .55);
    padding: clamp(50px, 8vw, 90px) clamp(24px, 5vw, 80px) 30px;
}

.chv-footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Footer Top */
.chv-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.chv-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chv-footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--chv-v600);
    color: #fff;
    font-family: var(--chv-font-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.chv-footer-logo-text {
    font-family: var(--chv-font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.chv-footer-tagline {
    font-size: .76rem;
    color: rgba(255, 255, 255, .3);
    margin-top: 2px;
}

/* Footer Nav */
.chv-footer-nav {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    flex-wrap: wrap;
}

.chv-footer-nav a {
    font-size: .82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .45);
    text-decoration: none;
    transition: color .3s;
}

.chv-footer-nav a:hover {
    color: #fff;
}

/* Social Media Links */
.chv-footer-social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.chv-footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .45);
    text-decoration: none;
    transition: color .3s;
}

.chv-footer-social-link svg {
    opacity: .6;
    transition: opacity .3s;
}

.chv-footer-social-link:hover {
    color: #fff;
}

.chv-footer-social-link:hover svg {
    opacity: 1;
}

/* PNRR Info */
.chv-footer-pnrr {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.chv-footer-pnrr-title {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 8px;
}

.chv-footer-pnrr-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.chv-footer-pnrr-links a {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    letter-spacing: .03em;
    transition: color .3s;
}

.chv-footer-pnrr-links a:hover {
    color: var(--chv-v300);
}

.chv-footer-pnrr-sep {
    opacity: .3;
    color: rgba(255, 255, 255, .4);
}

.chv-footer-pnrr-disclaimer {
    font-size: .72rem;
    color: rgba(255, 255, 255, .25);
    line-height: 1.7;
    max-width: 800px;
}

/* Legal Badges */
.chv-footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.chv-footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.chv-footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
    min-width: 168px;
    min-height: 62px;
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.chv-footer-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .06);
}

.chv-footer-badge-stripe {
    min-width: 214px;
}

.chv-footer-badge-img {
    display: block;
    width: auto;
    height: 44px;
    object-fit: contain;
}

.chv-footer-badge-stripe .chv-footer-badge-img {
    height: 32px;
}

.chv-footer-badge-fallback {
    display: none;
    color: rgba(255, 255, 255, .4);
    font-size: .76rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
    padding: 0 6px;
}

.chv-footer-badge-img.is-broken {
    display: none;
}

.chv-footer-badge-img.is-broken + .chv-footer-badge-fallback {
    display: inline-block;
}

.chv-footer-legal-links {
    display: flex;
    gap: 20px;
}

.chv-footer-legal-links a {
    font-size: .76rem;
    color: rgba(255, 255, 255, .35);
    text-decoration: none;
    transition: color .3s;
}

.chv-footer-legal-links a:hover {
    color: var(--chv-v300);
}

/* Footer Bottom / Copyright */
.chv-footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.chv-footer-bottom p {
    font-size: .72rem;
    color: rgba(255, 255, 255, .2);
}

.chv-footer-company-info {
    margin-top: 4px;
    font-size: .68rem;
    color: rgba(255, 255, 255, .15);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   REVEAL ANIMATION (global)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.rv {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.rv.vis {
    opacity: 1;
    transform: translateY(0);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SHARED SECTION COMPONENTS
   (sec-tag, sec-h, sec-p â€” folosite pe toate paginile)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.sec-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--chv-v600);
    border: 1.5px solid var(--chv-v200);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.sec-h {
    font-family: var(--chv-font-serif);
    font-size: clamp(1.9rem, 4.2vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.sec-p {
    font-size: clamp(.92rem, 1.2vw, 1.05rem);
    color: var(--chv-muted);
    line-height: 1.7;
    font-weight: 300;
    max-width: 480px;
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SHARED BUTTON COMPONENTS
   (btn-p, btn-g â€” folosite pe homepage + despre noi)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.btn-p {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 60px;
    background: #fff;
    color: var(--chv-ink);
    font-size: .92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .35s cubic-bezier(.76, 0, .24, 1);
    text-decoration: none;
    font-family: inherit;
}

.btn-p:hover {
    background: var(--chv-v700);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 107, 53, .35);
}

.btn-g {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 60px;
    background: transparent;
    color: rgba(255, 255, 255, .55);
    font-size: .92rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, .1);
    cursor: pointer;
    transition: all .35s;
    text-decoration: none;
    font-family: inherit;
}

.btn-g:hover {
    border-color: var(--chv-v400);
    color: #fff;
}


/* â•â•â• MOBILE â•â•â• */
@media (max-width: 921px) {
    .chv-nav,
    .chv-btn-cta { display: none; }

    .chv-burger { display: flex; }
}

@media (max-width: 768px) {
    .chv-pnrr-banner { height: 44px; }
    .chv-pnrr-banner-link img { height: 28px; }
    .chv-custom-header { top: 44px; }

    .chv-footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .chv-footer-social-links {
        flex-direction: column;
        gap: 14px;
    }

    .chv-footer-pnrr-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .chv-footer-pnrr-sep { display: none; }

    .chv-footer-legal {
        flex-direction: column;
        align-items: center;
    }

    .chv-footer-badges {
        flex-wrap: wrap;
        gap: 10px;
    }

    .chv-footer-badge {
        width: 100%;
        max-width: 280px;
        min-height: 56px;
    }

    .chv-footer-badge-img {
        height: 40px;
    }
}

/* â•â•â• DESKTOP MARE â•â•â• */
@media (min-width: 1400px) {
    .chv-header-container {
        max-width: 1400px;
    }

    .chv-footer-container {
        max-width: 1400px;
    }
}
