/* ══════════════════════════════════════════════════════════════════
   TUBINO — Components
   Componenti UI riutilizzabili standardizzati.
   Naming: BEM-light (.component, .component__element, .component--modifier)
   ══════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   Sistema unificato di bottoni. Sostituisce:
   .btn, .hp-hero-btn, .hp-grid-btn, .pp-btn, .brand-btn-outline,
   .brand-product-card__link, .brand-community__cta, .overlay-btn
   ══════════════════════════════════════════════════════════════════ */

/* ── Base ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    font-family: var(--font-main);
    letter-spacing: var(--tracking-normal);
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--transition-smooth);
    white-space: nowrap;
    line-height: 1;
}

/* ── Varianti colore ── */

/* Primario — sfondo accent, testo bianco */
.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
    border-color: var(--color-accent-hover);
    transform: scale(1.02);
}

/* Scuro — sfondo nero, testo bianco */
.btn--dark {
    background: var(--color-bg-dark);
    color: var(--color-white);
    border-color: var(--color-bg-dark);
}
.btn--dark:hover {
    background: #3a3a3c;
    border-color: #3a3a3c;
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* Chiaro — sfondo bianco, testo nero */
.btn--light {
    background: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-white);
}
.btn--light:hover {
    background: var(--color-bg-gray);
    border-color: var(--color-bg-gray);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

/* Ghost — trasparente con bordo accent */
.btn--ghost {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.btn--ghost:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Outline scuro — trasparente con bordo nero */
.btn--outline-dark {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(29, 29, 31, 0.8);
}
.btn--outline-dark:hover {
    background: var(--color-bg-dark);
    border-color: var(--color-bg-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* Outline chiaro — trasparente con bordo bianco */
.btn--outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.8);
}
.btn--outline-light:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

/* ── Dimensioni ── */
.btn--sm {
    padding: 8px 20px;
    font-size: var(--text-sm);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn--xl {
    padding: 18px 42px;
    font-size: 1.1rem;
}

/* Block — full width */
.btn--block {
    display: flex;
    width: 100%;
}

/* ── Icona freccia animata (arrow reveal) ── */
.btn__icon {
    width: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: width var(--duration-normal) var(--ease-spring),
                opacity var(--duration-normal) var(--ease-spring),
                transform var(--duration-normal) var(--ease-spring);
    flex-shrink: 0;
    overflow: hidden;
}

.btn:hover .btn__icon {
    width: 18px;
    opacity: 1;
    transform: translateX(0);
}

.btn:hover {
    gap: 8px;
}

/* ── Variante rounded (12px, usata negli overlay) ── */
.btn--rounded {
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════════
   LINK STILE APPLE (testo + freccia →)
   ══════════════════════════════════════════════════════════════════ */
.link-arrow {
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    text-decoration: none;
    transition: opacity var(--duration-fast) var(--ease-out);
}

.link-arrow:hover {
    opacity: 0.75;
}

.link-arrow--blue {
    color: #2997ff;
}

.link-arrow--white {
    color: var(--color-white);
}

/* ══════════════════════════════════════════════════════════════════
   CARDS
   Sistema unificato. Sostituisce:
   .product-card, .brand-card, .trade-why-card, .trade-metric-card,
   .trade-range-card, .trade-step, .accessory-related-card
   ══════════════════════════════════════════════════════════════════ */
.card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

/* Varianti */
.card--bordered {
    border: 1px solid var(--color-border-light);
}

.card--gray {
    background: var(--color-bg-gray);
}

.card--dark {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-inverse);
}

.card--glass {
    background: var(--color-glass-light);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-glass);
}

.card--interactive:hover {
    border-color: var(--color-text);
}

.card--interactive.card--dark:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
}

/* Card elements */
.card__visual {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-smooth);
}

.card--interactive:hover .card__visual img {
    transform: scale(1.05);
}

.card__body {
    padding: var(--space-6);
}

.card__title {
    font-size: var(--text-lg);
    font-weight: var(--fw-semi);
    margin-bottom: var(--space-2);
    letter-spacing: var(--tracking-normal);
}

.card__desc {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-3);
}

.card__price {
    font-size: 1rem;
    font-weight: var(--fw-semi);
    margin-bottom: var(--space-4);
}

.card__actions {
    display: flex;
    gap: var(--space-3);
}

/* ══════════════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    height: var(--header-height);
    background: rgba(255, 255, 255, 1);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background var(--duration-normal) var(--ease-out),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    position: relative;
    z-index: var(--z-header-nav);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: var(--z-header-nav);
}

.nav-logo-img {
    height: 32px;
    width: auto;
    transition: opacity 0.25s var(--ease-out);
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.8;
}

/* Hamburger */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: var(--z-header-nav);
}

.hamburger-line {
    width: 20px;
    height: 1.5px;
    background: var(--color-text);
    transition: var(--transition-base);
    border-radius: 1px;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav links — mobile first */
.nav-links {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    padding-left: var(--gutter);
    background: rgba(255, 255, 255, 1);
    z-index: 999;
    transition: height var(--duration-slower) var(--ease-spring),
                padding-top var(--duration-slower) var(--ease-spring);
}

.nav-links.open {
    height: 100vh;
    height: 100dvh;
    padding-top: calc(var(--header-height) + 32px);
}

.nav-links li {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity var(--duration-slow) ease,
                transform var(--duration-slow) ease;
}

.nav-links.open li {
    opacity: 1;
    transform: translateY(0);
}

.nav-links.open li:nth-child(1) { transition-delay: 0.12s; }
.nav-links.open li:nth-child(2) { transition-delay: 0.18s; }
.nav-links.open li:nth-child(3) { transition-delay: 0.24s; }
.nav-links.open li:nth-child(4) { transition-delay: 0.30s; }
.nav-links.open li:nth-child(5) { transition-delay: 0.36s; }
.nav-links.open li:nth-child(6) { transition-delay: 0.42s; }

.nav-links a {
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: var(--fw-semi);
    letter-spacing: var(--tracking-normal);
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text);
    opacity: 0.6;
}

/* Chevron icon */
.nav-dropdown__chevron {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    transition: transform 0.25s ease;
}
.nav-dropdown--open .nav-dropdown__chevron {
    transform: rotate(180deg);
}

/* Dropdown divider */
.nav-dropdown__divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 6px 0;
}

/* Dropdown — mobile: inline list */
.nav-dropdown__menu {
    list-style: none;
    display: none;
    padding: 12px 0 0 16px;
}
.nav-dropdown--open .nav-dropdown__menu {
    display: block;
}
.nav-dropdown__menu li {
    opacity: 1;
    transform: none;
}
.nav-dropdown__menu a {
    font-size: 1.1rem;
    font-weight: var(--fw-regular);
    color: var(--color-text-light);
    padding: 6px 0;
    display: block;
}

/* Language switch */
.lang-btn {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: var(--fw-medium);
    color: rgba(0, 0, 0, 0.7) !important;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.4);
    color: var(--color-text) !important;
}

/* Nav CTA button (Trade / Diventa rivenditore) */
.nav-links a.nav-cta {
    display: inline-block;
    padding: 8px 18px;
    background: var(--color-black, #000);
    color: var(--color-white, #fff) !important;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-medium);
    line-height: 1.2;
    transition: var(--transition-fast);
    opacity: 1;
}
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
    background: #1f1f1f;
    color: var(--color-white, #fff) !important;
    opacity: 1;
}

/* Desktop nav */
@media (min-width: 768px) {
    .nav-toggle { display: none; }

    .nav-links {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        background: transparent;
        height: auto;
        overflow: visible;
        z-index: auto;
        padding-top: 0;
        padding-left: 0;
    }

    .nav-links li {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .nav-links a {
        font-size: 0.85rem;
        font-weight: var(--fw-regular);
        letter-spacing: 0.01em;
    }

    .nav-links a:hover,
    .nav-links a.active {
        opacity: 1;
        color: var(--color-text);
    }

    /* Dropdown submenu — positioned under Prodotti */
    .nav-dropdown {
        position: relative;
    }
    .nav-dropdown__chevron {
        transition: transform 0.25s ease;
    }
    .nav-dropdown--open .nav-dropdown__chevron {
        transform: rotate(180deg);
    }
    .nav-dropdown__menu {
        display: block;
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        list-style: none;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(24px);
        -webkit-backdrop-filter: saturate(180%) blur(24px);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: var(--radius-md);
        padding: 8px 0;
        min-width: 180px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s;
    }
    .nav-dropdown--open .nav-dropdown__menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-dropdown__divider {
        height: 1px;
        background: rgba(0, 0, 0, 0.08);
        margin: 4px 16px;
    }
    .nav-dropdown__menu li {
        padding: 0;
    }
    .nav-dropdown__menu a {
        display: block;
        padding: 7px 20px;
        font-size: 0.82rem;
        font-weight: var(--fw-regular);
        color: var(--color-text);
        white-space: nowrap;
        border-radius: 0;
        transition: background 0.15s ease;
    }
    .nav-dropdown__menu a:hover {
        background: rgba(0, 0, 0, 0.04);
        opacity: 1;
    }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    padding: var(--space-12) var(--gutter) var(--space-8);
    padding-bottom: calc(var(--nicotine-bar-h, 80px) + 24px);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    display: inline-block;
    margin-bottom: var(--space-2);
    text-decoration: none;
}

.footer-logo-img {
    height: 28px;
    width: auto;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-8);
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-3) 0 var(--space-4);
}

.footer-contact {
    font-size: var(--text-base);
    color: var(--color-text-light);
    margin-bottom: var(--space-1);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social-link {
    color: var(--color-text-light);
    transition: color var(--duration-fast);
    display: flex;
    align-items: center;
}

.footer-social-link:hover {
    color: var(--color-text);
}

.footer-col h5 {
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-4);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: var(--text-base);
    color: var(--color-text-light);
}

.footer-col ul a:hover {
    color: var(--color-text);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-5);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.footer-cookie-link {
    color: var(--color-text-light);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.footer-cookie-link:hover,
.footer-cookie-link:focus-visible {
    color: var(--color-text);
}

/* ══════════════════════════════════════════════════════════════════
   OVERLAYS — Age Gate + Cookie Consent + Barra Nicotina
   ══════════════════════════════════════════════════════════════════ */

/* Backdrop */
.overlay-backdrop {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: var(--color-overlay-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
    opacity: 1;
    visibility: visible;
    transition: opacity var(--duration-normal) var(--ease-smooth),
                visibility var(--duration-normal) var(--ease-smooth);
}

.overlay-backdrop--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html[data-overlay-state="age"] #ageGateBackdrop,
html[data-overlay-state="consent"] #consentBackdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

html[data-overlay-state="age"] body,
html[data-overlay-state="consent"] body {
    overflow: hidden;
}

/* Modal */
.overlay-modal {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px 32px 36px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: scale(1);
    transition: transform var(--duration-normal) var(--ease-smooth);
}

.overlay-backdrop--hidden .overlay-modal {
    transform: scale(0.92);
}

.overlay-modal__title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.overlay-modal__text {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.overlay-link {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: var(--fw-medium);
}

.overlay-modal__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.overlay-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: var(--transition-fast);
}

.overlay-btn--confirm {
    background: var(--color-text);
    color: var(--color-white);
}
.overlay-btn--confirm:hover {
    background: var(--color-black);
    transform: scale(1.02);
}

.overlay-btn--deny {
    background: var(--color-error);
    color: var(--color-white);
}
.overlay-btn--deny:hover {
    background: var(--color-error-dark);
    transform: scale(1.02);
}

.overlay-modal--consent .overlay-btn--deny {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}
.overlay-modal--consent .overlay-btn--deny:hover {
    border-color: var(--color-text);
    background: var(--color-bg-gray);
}

.overlay-modal__denied {
    margin-top: var(--space-4);
    color: var(--color-error);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
}

/* Barra nicotina */
.nicotine-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-overlay);
    background: var(--color-black);
    padding: 10px var(--gutter);
    text-align: center;
}

@media (max-width: 767px) {
    .nicotine-bar {
        /* Copre anche la safe area iOS e resta ancorata al bordo visivo inferiore */
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }
}

.nicotine-bar__text {
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    max-width: var(--container-max);
    margin: 0 auto;
    letter-spacing: 0.01em;
}
@media (max-width: 767px) {
    .nicotine-bar__text {
        font-size: 0.65rem;
        line-height: 1.3;
    }
}

body.overlay-locked {
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════
   ACCORDION
   ══════════════════════════════════════════════════════════════════ */
.accordion {
    border-radius: var(--radius-md);
    background: var(--color-bg-light);
    padding: var(--space-4);
    box-shadow: var(--shadow-xs);
}

.accordion__item {
    border-bottom: 1px solid var(--color-border-light);
}

.accordion__item:last-child {
    border-bottom: none;
}

.accordion__header {
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    background: none;
    border: none;
    padding: var(--space-3) 0;
    cursor: pointer;
    color: var(--color-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

.accordion__header::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-text);
    border-bottom: 2px solid var(--color-text);
    transform: rotate(45deg);
    transition: transform var(--duration-normal);
    flex-shrink: 0;
    margin-left: var(--space-3);
}

.accordion__item.open .accordion__header::after {
    transform: rotate(-135deg);
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-spring);
}

.accordion__item.open .accordion__content {
    padding: 0;
}

/* ══════════════════════════════════════════════════════════════════
   CAROUSEL / SLIDER NAV
   ══════════════════════════════════════════════════════════════════ */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding: 0 var(--gutter);
}

.carousel-nav__btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--color-text);
}

.carousel-nav__btn:hover {
    background: var(--color-text);
    color: var(--color-white);
}

.carousel-nav__dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.carousel-nav__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-round);
    background: var(--color-border);
    transition: var(--transition-base);
    cursor: pointer;
}

.carousel-nav__dot--active {
    background: var(--color-text);
    width: 24px;
    border-radius: var(--radius-xs);
    height: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   FILTER BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--color-text);
}

.filter-btn.active {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

/* Sub-filtro */
.filter-bar--sub {
    margin-top: 14px;
}

.filter-btn--sub {
    padding: 6px 16px;
    font-size: 0.78rem;
}

/* ══════════════════════════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════════════════════════ */
.badge {
    background: var(--color-bg-gray);
    color: var(--color-text);
    border-radius: var(--radius-lg);
    padding: 4px 12px;
    font-size: 0.92rem;
    font-weight: var(--fw-medium);
    display: inline-block;
}

/* ══════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════ */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.98rem;
    font-weight: var(--fw-medium);
    margin-bottom: 6px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 1rem;
    font-family: var(--font-main);
    margin-top: var(--space-1);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    outline: none;
}

/* ══════════════════════════════════════════════════════════════════
   DIVIDER
   ══════════════════════════════════════════════════════════════════ */
.divider {
    height: 3px;
    border-radius: 2px;
    border: none;
    margin-bottom: var(--space-5);
}

.divider--accent {
    background: linear-gradient(90deg, #2997ff, #0071e3 60%, transparent 100%);
}

.divider--light {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent 70%);
}

.divider--thin {
    height: 1px;
    background: var(--color-border-light);
}
