﻿/* ===== Shop: Headings & layout ===== */
section .col-12 > .d-flex h4 {
    letter-spacing: .2px;
}

/* ===== Card media (riuso zoom da videos.css; qui solo perfezionamenti) ===== */
.video-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

    .video-thumb img {
        display: block;
        width: 100%;
        height: 180px;
        object-fit: cover;
        will-change: transform;
    }

/* ===== Titolo (Title Case già gestito da Razor; qui estetica) ===== */
.video-card h6 {
    line-height: 1.25;
    margin: 0;
}

    .video-card h6 a {
        color: #fff;
        text-decoration: none;
        text-transform: capitalize; /* fallback ulteriore lato CSS */
    }

        .video-card h6 a:hover {
            text-decoration: underline;
        }

/* ===== Prezzi ===== */
.price-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.price-old {
    color: rgba(255,255,255,.48);
    font-size: .9rem;
    text-decoration: line-through;
}

.price-now {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ===== Scroll container (riuso pattern videos) ===== */
.videos-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: .25rem;
}

    .videos-scroll::-webkit-scrollbar {
        display: none;
    }

.video-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 320px;
}

/* ===== Frecce header ===== */
.btn.rounded-circle {
    width: 32px;
    height: 32px;
    padding: 0;
    line-height: 30px;
}

    .btn.rounded-circle:disabled {
        opacity: .4;
        cursor: not-allowed;
    }

/* ===== Overlay carrello (lasciato dove già presente nell’HTML) ===== */
.meta-explore-icon a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .6rem;
    border-radius: 6px;
    font-size: .85rem;
    color: #fff;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(2px);
    text-decoration: none;
}

    .meta-explore-icon a i {
        line-height: 1;
    }

/* ===== Pulsante "Show more" ===== */
.btn.btn-outline-light.rounded-pill {
    border-radius: 999px;
    padding: .25rem .9rem;
    border-width: 1px;
}

/* ===== Focus & a11y ===== */
[data-role="carousel"]:focus {
    outline: 2px dashed rgba(255,255,255,.35);
    outline-offset: 4px;
}

/* ===== Add to Cart button ===== */
.meta-explore-icon .addToCart {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    line-height: 1;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .08s ease;
}

    .meta-explore-icon .addToCart i {
        font-size: .9rem;
    }

    /* Hover: evidenziazione bianca minimale */
    .meta-explore-icon .addToCart:hover {
        background: rgba(255,255,255,.14);
        border-color: rgba(255,255,255,.7);
        box-shadow: 0 0 0 3px rgba(255,255,255,.18), 0 10px 26px rgba(255,255,255,.12);
    }

    /* Focus (tastiera): anello bianco */
    .meta-explore-icon .addToCart:focus {
        outline: 0;
        box-shadow: 0 0 0 3px rgba(255,255,255,.28), 0 10px 26px rgba(255,255,255,.12);
    }

    /* Press: leggero “tap” */
    .meta-explore-icon .addToCart:active {
        transform: translateY(1px) scale(.99);
    }


/* ===== Motion reduce ===== */
@media (prefers-reduced-motion: reduce) {
    .videos-scroll, .video-thumb img {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
    .video-card {
        width: 300px;
    }
}

@media (max-width: 991.98px) {
    .video-card {
        width: 280px;
    }
}

@media (max-width: 767.98px) {
    .video-card {
        width: 240px;
    }
}

@media (max-width: 575.98px) {
    .video-card {
        width: 200px;
    }
}
