.site-footer { color: rgba(255,255,255,.86); background: var(--trave-green-950); }
.footer-main { position: relative; }
.footer-brand { margin-bottom: .9rem; color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.footer-copy { color: rgba(255,255,255,.67); line-height: 1.65; }
.footer-title { margin: 0 0 1rem; color: #fff; font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.footer-contacts { display: grid; gap: .7rem; }
.footer-contacts a { display: flex; align-items: flex-start; gap: .65rem; color: rgba(255,255,255,.82); text-decoration: none; }
.footer-contacts a:hover { color: #fff; }
.footer-contacts i { color: #9bc69d; margin-top: .15rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.68); text-decoration: none; }
.footer-links a:hover { color: #fff; transform: translateX(2px); }
.footer-socials { display: flex; gap: .55rem; }
.footer-socials a { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 50%; text-decoration: none; }
.footer-socials a:hover { background: var(--trave-green-700); }
.footer-whatsapp { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1rem; color: #fff; background: #277b45; border-radius: 999px; text-decoration: none; font-weight: 800; }
.footer-whatsapp:hover { color: #fff; background: #21693b; }
.footer-bottom { color: rgba(255,255,255,.55); background: #0d1710; font-size: .76rem; }
.footer-bottom a { color: rgba(255,255,255,.8); text-decoration: none; }

/* ==========================================================
   CARRELLO MOBILE FISSO - comportamento derivato da Pirotools
   ========================================================== */
@media (max-width: 991.98px) {
    body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }

    .mobile-cart-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 1035;
        opacity: 0;
        visibility: hidden;
        transform: translateY(18px);
        transition: opacity .20s ease, transform .20s ease, visibility .20s ease;
    }
    .mobile-cart-bar.visible { opacity: 1; visibility: visible; transform: translateY(0); }
    .mobile-cart-bar.cart-bar-hidden { opacity: 0; visibility: hidden; transform: translateY(22px); pointer-events: none; }

    .mobile-cart-bar-button {
        display: grid;
        width: 100%;
        min-height: 66px;
        padding: 8px 10px;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 18px;
        color: #fff;
        background: var(--trave-green-950);
        box-shadow: 0 15px 40px rgba(15, 31, 17, .28);
        text-align: left;
    }
    .mobile-cart-icon-wrap {
        position: relative;
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 14px;
        background: rgba(255,255,255,.08);
        font-size: 1.25rem;
    }
    .mobile-cart-badge {
        position: absolute;
        top: -7px;
        right: -7px;
        display: grid;
        min-width: 21px;
        height: 21px;
        padding: 0 5px;
        place-items: center;
        border: 2px solid var(--trave-green-950);
        border-radius: 999px;
        color: #fff;
        background: var(--trave-red);
        font-size: .65rem;
        font-weight: 900;
    }
    .mobile-cart-copy { min-width: 0; display: flex; flex-direction: column; }
    .mobile-cart-copy small { overflow: hidden; color: rgba(255,255,255,.64); font-size: .67rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-cart-copy strong { margin-top: 1px; color: #fff; font-size: .94rem; font-weight: 900; }
    .mobile-cart-action { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.88); font-size: .72rem; font-weight: 800; }

    .mobile-cart-offcanvas {
        --bs-offcanvas-height: min(82vh, 720px);
        height: min(82vh, 720px) !important;
        max-height: 82dvh;
        border: 0;
        border-radius: 22px 22px 0 0;
        background: #f5f7f5;
        box-shadow: 0 -18px 60px rgba(15, 31, 17, .22);
    }
    .mobile-cart-offcanvas-header {
        min-height: 72px;
        padding: 13px 15px;
        border-bottom: 1px solid #e1e7e1;
        background: #fff;
    }
    .mobile-cart-offcanvas-eyebrow { margin-bottom: 1px; color: var(--trave-green-700); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
    .mobile-cart-offcanvas .offcanvas-title { color: var(--trave-green-950); font-size: 1.05rem; font-weight: 900; }
    .mobile-cart-count { color: var(--trave-muted); font-size: .68rem; font-weight: 800; }
    .mobile-cart-offcanvas .btn-close { flex: 0 0 36px; width: 36px; height: 36px; margin: 0; padding: 0; border-radius: 11px; background-color: #f2f5f2; background-size: 11px; opacity: .75; }
    .mobile-cart-offcanvas-body { padding: 10px 12px 16px; overflow-y: auto; overscroll-behavior: contain; }
    .mobile-cart-items { display: grid; gap: 8px; }
    .mobile-cart-item {
        display: grid;
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 11px;
        padding: 10px;
        border: 1px solid #e2e8e2;
        border-radius: 15px;
        color: var(--trave-text);
        background: #fff;
        box-shadow: 0 5px 18px rgba(20,38,23,.04);
        text-decoration: none;
    }
    .mobile-cart-item-media { display: grid; width: 74px; height: 74px; place-items: center; overflow: hidden; border: 1px solid #edf0ed; border-radius: 12px; background: #fff; }
    .mobile-cart-item-media img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
    .mobile-cart-item-body { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
    .mobile-cart-item-title { display: -webkit-box; overflow: hidden; color: var(--trave-green-950); font-size: .82rem; font-weight: 850; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .mobile-cart-item-code { margin-top: 3px; color: var(--trave-muted); font-size: .64rem; }
    .mobile-cart-item-bottom { display: flex; margin-top: 7px; align-items: center; justify-content: space-between; gap: 8px; color: #737c74; font-size: .69rem; }
    .mobile-cart-item-bottom strong { color: var(--trave-green-800); font-size: .76rem; }
    .mobile-cart-empty { display: flex; min-height: 220px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: var(--trave-muted); text-align: center; }
    .mobile-cart-empty i { margin-bottom: 4px; color: #9da79e; font-size: 2.2rem; }
    .mobile-cart-empty strong { color: var(--trave-green-950); font-size: .92rem; }
    .mobile-cart-empty span { font-size: .75rem; }
    .mobile-cart-offcanvas-footer { padding: 12px 12px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #e1e7e1; background: #fff; box-shadow: 0 -8px 25px rgba(20,38,23,.05); }
    .mobile-cart-offcanvas-total { display: flex; margin-bottom: 10px; align-items: center; justify-content: space-between; gap: 12px; }
    .mobile-cart-offcanvas-total span { color: var(--trave-muted); font-size: .75rem; font-weight: 700; }
    .mobile-cart-offcanvas-total strong { color: var(--trave-green-950); font-size: 1.15rem; font-weight: 900; }
    .mobile-cart-offcanvas-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .mobile-cart-offcanvas-actions .btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-cart-bar { transition: none; }
}
