﻿@charset "utf-8";
/* =========================
	GLOBALI / TOKENS
========================= */
:root {
    --base-font-family: "DM Sans", sans-serif;
    --header-font-family: "Noto Serif", serif;
    --base-font-size: 1rem;
    --base-font-weight: 400;
    --base-line-height: 1.4;
    --base-font-color: #000;
    --base-background-color: #fff;
    --base-border-radius: 10px;
    --base-width: 1440px;
    --header-bg-color: #000;
    --header-font-color: #fff;
    --header-border-color: #dcdcdc;
    --font-h1: 2rem;
    --font-h2: 1.75rem;
    --font-h3: 1.5rem;
    --font-h4: 1.25rem;
    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
}

@media (min-width: 768px) {
    :root {
        --font-h1: 2.5rem;
        --font-h2: 2.125rem;
        --font-h3: 1.75rem;
        --font-h4: 1.375rem;
    }
}

@media (min-width: 992px) {
    :root {
        --base-line-height: 1.5;
    }
}

/* =========================
	RESET
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    max-width: 100% !important;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--base-font-family);
    font-size: var(--base-font-size);
    font-weight: var(--base-font-weight);
    line-height: var(--base-line-height);
    color: var(--base-font-color);
    background-color: var(--base-background-color);
    max-width: 100% !important;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================
	TYPOGRAPHY
========================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font-family);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

h1 {
    font-size: var(--font-h1);
}

h2 {
    font-size: var(--font-h2);
}

h3 {
    font-size: var(--font-h3);
}

h4 {
    font-size: var(--font-h4);
}

p {
    margin: 0;
    padding: 0;
}

/* =========================
	LINKS / INTERACTIVE
========================= */
a {
    color: #000;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: #C30;
}

button,
input,
select,
textarea {
    font: inherit;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
/* =========================
	UTILITY
========================= */
.d-flex {
    display: flex;
}

.d-inline-flex {
    display: inline-flex;
}

.d-none {
    display: none !important
}

.flex-fill {
    flex: 1 1 auto
}

.flex-column {
    flex-direction: column
}

.flex-column-reverse {
    flex-direction: column-reverse
}

.flex-wrap {
    flex-wrap: wrap
}

.justify-content-start {
    justify-content: flex-start
}

.justify-content-end {
    justify-content: flex-end;
}

.justify-content-center {
    justify-content: center
}

.justify-content-between {
    justify-content: space-between
}

.align-items-center {
    align-items: center;
}

.justify-content-md-end {
    justify-content: flex-end !important
}

.justify-content-md-between {
    justify-content: space-between !important
}
ul {
    margin: 0;
    padding: 0;
    list-style: outside none none;
}

/* =========================
   TOPBAR
========================= */
.topbar {
    background: var(--header-bg-color);
    color: var(--header-font-color);
    font-size: 0.875rem;
}

.topbar a {
    color: var(--header-font-color);
    text-decoration: none;
}

.topbar__inner {
    width: 100%;
    max-width: var(--base-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
}

.topbar__welcome {
    display: none;
}

.topbar__links ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar__links ul li {
    display: none;
}
.topbar__links ul li.topbar__lang {
    display: inline-flex;
    align-items: center;
}

.header-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.lang-flag img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}


/* =========================
   TABLET
========================= */
@media (min-width: 768px) {

    .topbar__inner {
        justify-content: space-between;
        gap: 1rem;
    }

    .topbar__welcome {
        display: block;
    }

    .topbar__links ul {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .topbar__links ul li {
        display: inline-flex;
        align-items: center;
    }

    .topbar__links ul li a {
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 992px) {

    .topbar {
        font-size: 0.9rem;
    }

    .topbar__inner {
        padding: 0.6rem 1.25rem;
    }

    .topbar__links ul {
        gap: 1rem;
    }
}
/* =========================
   MOBILE MENU ICON
========================= */

/* di default visibile (mobile first) */
.mobilemenuicn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

    /* nascondo checkbox */
.mobilemenuicn input {
    display: none;
}

/* linea centrale */
.mobilemenuicn label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #000;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    transition: background 0.3s ease;
    cursor: pointer;
}

/* linee sopra e sotto */
.mobilemenuicn label::before,
.mobilemenuicn label::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobilemenuicn label::before {
    top: -7px;
}

.mobilemenuicn label::after {
    top: 7px;
}

    /* stato attivo (X) */
.mobilemenuicn input:checked + label {
    background: transparent;
}

.mobilemenuicn input:checked + label::before {
    top: 0;
    transform: rotate(45deg);
}

.mobilemenuicn input:checked + label::after {
    top: 0;
    transform: rotate(-45deg);
}

/* =========================
   NASCONDI SU DESKTOP
========================= */
@media (min-width: 992px) {
    .mobilemenuicn {
        display: none !important;
    }
}
/* =========================
   HEADER TOP
========================= */
.header-top {
    padding: 0.75rem 0 1rem;
}

.header-top__inner {
    width: 100%;
    max-width: var(--base-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "logo  logo"
        "search icons";
    align-items: center;
    gap: 1rem;
}
.header-top__inner > * {
    min-width: 0;
}
/* aree */
.header-top__logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: center;
}
.is-sticky .header-top__logo {
    display: none;
}
.header-top__search {
    grid-area: search;
    min-width: 0;
}

.header-top__icons {
    grid-area: icons;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

/* logo */
.header-logo img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 56px;
}

/* search */
.header-top__search form {
    margin: 0;
}

.search-field {
    position: relative;
}

.search-field input {
    width: 100%;
    height: 46px;
    padding: 0.75rem 3.25rem 0.75rem 1rem;
    border: 1px solid #dcdcdc;
    border-radius: 999px;
    background: #fff;
    font: inherit;
}

.search-field button {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    cursor: pointer;
}

.search-field button::before {
    content: "\f002";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 1.15rem;
}

/* icons */
.header-top__icons .homeicn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
}

.header-top__icons .homeicn i {
    font-size: 1.3rem;
}
.header-top__icons .homeicn:hover,
.header-top__icons .homeicn:focus-visible {
    color: #C30;
}

.search-field input:focus {
    border-color: #999;
}
.search-field input::placeholder {
    color: #777;
}
.js-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #C30;
    color: #fff;
    font-size: 0.7rem;
    line-height: 18px;
    text-align: center;
}

.header-top__menu-toggle {
    display: flex;
    align-items: center;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .header-top {
        padding: 1rem 0 1.25rem;
    }

    .header-top__inner {
        padding: 0 1.25rem;
        gap: 1.25rem;
    }
    .header-logo img {
        max-height: 64px;
    }

    .header-top__icons {
        gap: 0.4rem;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 992px) {
    .header-top__inner {
        grid-template-columns: minmax(280px, 1fr) auto minmax(220px, 1fr);
        grid-template-areas: "search logo icons";
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    .is-sticky .header-top__logo {
        display: flex;
    }
    .header-logo img {
        max-height: 72px;
    }

    .search-field input {
        height: 50px;
        padding: 0.85rem 3.75rem 0.85rem 1.25rem;
    }

    .header-top__icons {
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .header-top__menu-toggle {
        display: none;
    }
}
/* =========================
   MAIN MENU
========================= */

.mainmenu {
    
}

.mainmenu__inner {
    width: 100%;
    max-width: var(--base-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--header-border-color);
    border-bottom: 1px solid var(--header-border-color);
}

/* =========================
   FINDER
========================= */

.header-finder {
    width: 100%;
}

/* =========================
   QUICK LINKS (mobile)
========================= */

.mainmenu__quicklinks {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.mainmenu__quicklinks a {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.6rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
}

/* =========================
   MENU DESKTOP NASCOSTO
========================= */

.mainmenu__list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* =========================
   TABLET
========================= */
@media (min-width: 768px) {

    .mainmenu__inner {
        padding: 0 1.25rem;
        gap: 1rem;
    }

    .mainmenu__quicklinks a {
        font-size: 0.95rem;
        padding: 0.65rem;
    }
}
/* =========================
   DESKTOP
========================= */
@media (min-width: 992px) {

    .mainmenu__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        position: relative;
    }

    /* finder a sinistra */
    .header-finder {
        flex: 0 0 auto;
        width: auto;
    }

    /* quicklinks spariscono */
    .mainmenu__quicklinks {
        display: none;
    }

    /* menu visibile */
    .mainmenu__list {
        display: flex;
        align-items: center;
        gap: 1.2rem;
    }

    .mainmenu__item {
        display: inline-flex;
        align-items: center;
        padding: 1.4rem 0;
    }

        .mainmenu__item > a {
            position: relative;
            font-size: 1.1rem;
            letter-spacing: 0.04em;
            color: #000;
            padding-bottom: 0.15rem;
        }

            .mainmenu__item > a::before {
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                width: 0;
                height: 2px;
                background: #000;
                transition: width .25s ease;
            }

            .mainmenu__item > a:hover::before {
                width: 100%;
            }

        /* freccia */
        .mainmenu__item.hasins::after {
            content: "\f078";
            font-family: "Font Awesome 5 Pro";
            font-size: 0.75em;
            margin-left: 0.3rem;
        }

    /* =========================
	   DROPDOWN
	========================= */

    .multimenu,
    .dualmenu,
    .singlemenu {
        position: absolute;
        top: 100%;
        background: #fff;
        box-shadow: 0 1px 7px -2px rgba(0,0,0,.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all .25s ease;
        z-index: 50;
    }

    .multimenu {
        left: 0;
        width: 100%;
    }

    .dualmenu {
        
    }

    .singlemenu {
        right: 0;
    }

    /* apertura */
    .mainmenu__item:hover > .multimenu,
    .mainmenu__item:hover > .dualmenu,
    .mainmenu__item:hover > .singlemenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mainmenu__item:hover > .dualmenu {
        transform: translateY(0);
    }

    /* contenuto */
    .multimenu > ul {
        column-count: 5;
        padding: 30px;
    }

    .dualmenu > ul {
        column-count: 2;
        padding: 30px;
    }

    .singlemenu > ul {
        column-count: 1;
        padding: 30px;
    }

    .multimenu li,
    .dualmenu li,
    .singlemenu li {
        break-inside: avoid;
    }

    .multimenu a,
    .dualmenu a,
    .singlemenu a {
        font-size: 1rem;
        line-height: 2;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* =========================
   MOBILE NAV
========================= */

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity .25s ease;
}

.mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.is-open {
    pointer-events: auto;
}

    .mobile-nav.is-open .mobile-nav__overlay {
        opacity: 1;
    }

    .mobile-nav.is-open .mobile-nav__panel {
        transform: translateX(0);
    }

/* header */
.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #ececec;
}

.mobile-nav__title {
    font-family: var(--header-font-family);
    font-size: 1.25rem;
    line-height: 1.2;
}

.mobile-nav__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
}

/* content */
.mobile-nav__content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
}

/* quick links */
.mobile-nav__quicklinks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

    .mobile-nav__quicklinks a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 42px;
        padding: 0.5rem;
        border: 1px solid #e3e3e3;
        border-radius: 999px;
        font-size: 0.875rem;
        color: #111;
        background: #fff;
    }

/* menu */
.mobile-nav__menu {
    display: flex;
    flex-direction: column;
}

    .mobile-nav__menu > a,
    .mobile-nav__toggle {
        width: 100%;
        min-height: 52px;
        padding: 0.9rem 0;
        border: 0;
        border-bottom: 1px solid #f0f0f0;
        background: transparent;
        text-align: left;
        font: inherit;
        color: #111;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

        .mobile-nav__toggle i {
            font-size: 0.9rem;
            transition: transform .25s ease;
        }

.mobile-nav__group.is-open .mobile-nav__toggle i {
    transform: rotate(180deg);
}

/* submenu */
.mobile-nav__submenu {
    display: none;
    padding: 0.25rem 0 0.75rem 0.75rem;
}

.mobile-nav__group.is-open .mobile-nav__submenu {
    display: block;
}

.mobile-nav__submenu a {
    display: block;
    padding: 0.65rem 0;
    color: #333;
    font-size: 0.95rem;
}

/* lock scroll */
body.mobile-nav-open {
    overflow: hidden;
}

/* desktop */
@media (min-width: 992px) {
    .mobile-nav {
        display: none;
    }
}
/* =========================
   HOME BANNER GRANDI
========================= */
.home-hero {
    position: relative;
    overflow: hidden;
}

.home-hero__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f5f5f5;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

    .home-hero__slide.is-active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

    .home-hero__slide a {
        display: block;
        width: 100%;
        height: 100%;
    }

.home-hero__picture,
.home-hero__img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero__img {
    object-fit: cover;
    object-position: center;
}

/* Overlay eventuale */
.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

/* Contenuto eventuale sopra al banner */
.home-hero__content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
    max-width: 100%;
}

.home-hero__title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    line-height: 1.15;
}

.home-hero__subtitle {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
}

/* Frecce */
.home-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

    .home-hero__nav:hover {
        background: rgba(0, 0, 0, 0.5);
    }

.home-hero__nav--prev {
    left: 12px;
}

.home-hero__nav--next {
    right: 12px;
}

/* Dots */
.home-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
}

.home-hero__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

    .home-hero__dot.is-active {
        background: #fff;
        transform: scale(1.15);
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .home-hero__slider {
        aspect-ratio: 2 / 1;
    }

    .home-hero__content {
        left: 32px;
        right: auto;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        max-width: 420px;
    }

    .home-hero__title {
        margin-bottom: 12px;
        font-size: 2.1rem;
    }

    .home-hero__subtitle {
        margin-bottom: 18px;
        font-size: 1.05rem;
    }

    .home-hero__cta {
        min-height: 46px;
        padding: 0 18px;
        font-size: 1rem;
    }

    .home-hero__nav {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .home-hero__nav--prev {
        left: 16px;
    }

    .home-hero__nav--next {
        right: 16px;
    }

    .home-hero__dots {
        bottom: 16px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {
    .home-hero__slider {
        aspect-ratio: 2 / 1;
        max-height: 720px;
    }

    .home-hero__content {
        left: 64px;
        max-width: 500px;
    }

    .home-hero__title {
        font-size: 2.8rem;
        margin-bottom: 16px;
    }

    .home-hero__subtitle {
        font-size: 1.125rem;
        margin-bottom: 24px;
    }

    .home-hero__cta {
        min-height: 48px;
        padding: 0 22px;
    }

    .home-hero__nav {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .home-hero__nav--prev {
        left: 20px;
    }

    .home-hero__nav--next {
        right: 20px;
    }

    .home-hero__dots {
        bottom: 20px;
    }
}
/* =========================
   HOME SMALL BANNERS
========================= */
.home-small-banners {
    margin-top: 32px;
    padding-left: 16px;
    padding-right: 16px;
}

.home-small-banners__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
}

.home-small-banners__item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-small-banners__picture {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #f6f6f6;
}

.home-small-banners__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.25s ease;
}

.home-small-banners__title {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

.home-small-banners__item.is-hidden {
    display: none;
}

.home-small-banners__actions {
    margin-top: 24px;
    text-align: center;
}

.home-small-banners__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
}

    .home-small-banners__toggle:hover {
        background: #f8f8f8;
        border-color: #cfcfcf;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .home-small-banners {
        margin-top: 40px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-small-banners__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px 16px;
    }

    .home-small-banners__title {
        margin-top: 12px;
        font-size: 15px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {
    .home-small-banners {
        margin-top: 40px;
        padding-left: 0;
        padding-right: 0;
    }
    .home-small-banners__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 20px 16px;
    }

    .home-small-banners__item:hover .home-small-banners__img {
        transform: scale(1.03);
    }
}
/* =========================
   HOME PRODUCTS SECTION
========================= */
.home-products-section {
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid #ddd;
    padding-left: 16px;
    padding-right: 16px;
}

.home-section-head {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
}

.home-section-title {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
}

.home-section-subtitle {
    margin: 8px 0 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
}

.home-products-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.home-products-tab {
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.2;
    transition: all 0.2s ease;
}

    .home-products-tab:hover {
        border-color: #bbb;
    }

    .home-products-tab.is-active {
        background: #111;
        color: #fff;
        border-color: #111;
    }

.home-products-content {
    position: relative;
}

.home-products-panel {
    display: none;
}

    .home-products-panel.is-active {
        display: block;
    }

.home-products-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

.home-products-error {
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fafafa;
    color: #444;
}

.home-products-section .modellist {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .home-products-section {
        margin-top: 48px;
        padding-top: 30px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-section-head {
        margin-bottom: 22px;
    }

    .home-section-title {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    .home-section-subtitle {
        font-size: 0.98rem;
    }

    .home-products-tabs {
        gap: 10px;
        margin-bottom: 24px;
    }

    .home-products-tab {
        padding: 10px 18px;
        font-size: 1rem;
    }


}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {
    .home-products-section {
        margin-top: 26px;
        padding-top: 26px;
        padding-left: 0;
        padding-right: 0;
    }

    .home-section-head {
        align-items: end;
        gap: 20px;
        margin-bottom: 22px;
    }

    .home-section-title {
        font-size: 2.3rem;
        letter-spacing: 6px;
    }
    .home-products-panel > .modellist {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }


}
/* =========================
   HOME SELECTED PRODUCTS
========================= */
.home-selected-products {
    margin-top: 50px;
}

.home-selected-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* card base */
.home-selected-card {
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-selected-card--featured {
    background: #f7f2f5;
}

.home-selected-card--small {
    background: #f2f7f7;
}

.home-selected-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

    .home-selected-card__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        mix-blend-mode: multiply;
        transition: transform 0.45s ease, opacity 0.28s ease;
    }

    .home-selected-card__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,0.06);
        pointer-events: none;
        transition: background 0.28s ease;
    }

.home-selected-card--featured .home-selected-card__media {
    aspect-ratio: 16 / 10;
}

.home-selected-card--small .home-selected-card__media {
    aspect-ratio: 1 / 1;
}

.home-selected-card__content {
    padding-top: 14px;
}

.home-selected-card__brand {
    margin-bottom: 6px;
    font-size: 0.88rem;
    color: #777;
}

.home-selected-card__title a,
.home-selected-card__small-title a {
    color: inherit;
    text-decoration: none;
}

.home-selected-card__small-title {
    text-align: center;
}

    .home-selected-card__small-title a {
        font-size: 1.05rem;
        line-height: 1.35;
    }

.home-selected-card__price {
    margin-top: 10px;
    margin-bottom: 14px;
}

.home-selected-card__small-price {
    margin-top: 6px;
}

.home-selected-card__top-info {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 1;
    transform: none;
    pointer-events: none;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .home-selected-products {
        margin-top: 60px;
    }

    .home-selected-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .home-selected-card--featured {
        grid-column: span 2;
        grid-row: span 1;
    }

        .home-selected-card--featured .home-selected-card__media {
            aspect-ratio: 16 / 10;
        }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1101px) {
    .home-selected-products {
        margin-top: 70px;
    }

    .home-selected-products__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }

    .home-selected-card--featured {
        grid-column: span 2;
        grid-row: span 2;
        display: flex;
        flex-direction: column;
    }

        .home-selected-card--featured .home-selected-card__media {
            aspect-ratio: 1 / 1;
        }

    .home-selected-card__top-info {
        opacity: 0;
        transform: translateY(-8px);
        transition: all 0.25s ease;
        top: 10px;
    }

    .home-selected-card--featured:hover,
    .home-selected-card--small:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 34px rgba(0,0,0,0.08);
    }

        .home-selected-card--featured:hover .home-selected-card__media img,
        .home-selected-card--small:hover .home-selected-card__media img {
            transform: scale(1.04);
        }

        .home-selected-card--featured:hover .home-selected-card__top-info,
        .home-selected-card--small:hover .home-selected-card__top-info {
            opacity: 1;
            transform: translateY(0);
        }
}
/* =========================
   HOME BRANDS
========================= */
.home-brands-section {
    margin-top: 56px;
    padding-left: 16px;
    padding-right: 16px;
}

.home-section-head--center {
    justify-content: center;
    text-align: center;
}

.home-brands-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.home-brand-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #ececec;
    overflow: hidden;
}

.home-brand-card__inner {
    min-height: 92px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.home-brand-card__logo {
    display: block;
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.home-brand-card__name {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    color: #222;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .home-brands-section {
        margin-top: 64px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-brands-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .home-brand-card__inner {
        min-height: 100px;
        padding: 16px;
    }

    .home-brand-card__logo {
        max-height: 44px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {
    .home-brands-section {
        margin-top: 72px;
        padding-left: 0;
        padding-right: 0;
    }

    .home-brands-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .home-brand-card {
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

        .home-brand-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
            border-color: #e2e2e2;
        }

    .home-brand-card__inner {
        min-height: 108px;
        padding: 18px;
    }

    .home-brand-card__logo {
        max-height: 46px;
    }

    .home-brand-card:hover .home-brand-card__logo {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.02);
    }
}
/* =========================
   HOME CATEGORIES
========================= */
.home-categories-section {
    margin-top: 56px;
    padding-left: 16px;
    padding-right: 16px;
}

.home-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
}

.home-category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ececec;
}

.home-category-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f7f7f7;
}

    .home-category-card__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

.home-category-card__content {
    padding: 18px 18px 20px;
}

.home-category-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

.home-category-card__link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.92rem;
    color: #666;
    transition: color 0.2s ease;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .home-categories-section {
        margin-top: 64px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1101px) {
    .home-categories-section {
        margin-top: 72px;
        padding-left: 0;
        padding-right: 0;
    }

    .home-categories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-category-card {
        transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    }

        .home-category-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 34px rgba(0, 0, 0, 0.07);
            border-color: #e4e4e4;
        }

    .home-category-card__media {
        aspect-ratio: 4 / 5;
    }

    .home-category-card:hover .home-category-card__media img {
        transform: scale(1.04);
    }

    .home-category-card:hover .home-category-card__link {
        color: #111;
    }
}
/* =========================
   HOME TRUST
========================= */
.home-trust-section {
    margin-top: 56px;
    padding: 26px 16px;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.home-trust-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.home-trust-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #222;
}

.home-trust-item__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

.home-trust-item__text {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
    color: #666;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .home-trust-section {
        margin-top: 64px;
        padding: 30px 24px;
    }

    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1101px) {
    .home-trust-section {
        margin-top: 72px;
        padding: 34px 0;
    }

    .home-trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* =========================
   HOME SHIPPING STRIP
========================= */
.home-shipping-strip {
    margin-top: 20px;
    padding-left: 16px;
    padding-right: 16px;
}

.home-shipping-strip__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    text-align: center;
    margin-bottom: 16px;
}

.home-shipping-strip__label {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
}

.home-shipping-strip__messages {
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 22px;
}

.home-shipping-strip__message {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #555;
    pointer-events: none;
}

    .home-shipping-strip__message.is-active {
        opacity: 1;
        transform: translateY(0);
        position: relative;
    }

    .home-shipping-strip__message strong {
        font-weight: 600;
        color: #111;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .home-shipping-strip {
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-shipping-strip__inner {
        padding: 16px 20px;
    }

    .home-shipping-strip__messages {
        max-width: 640px;
    }

    .home-shipping-strip__message {
        font-size: 0.96rem;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {
    .home-shipping-strip {
        padding-left: 0;
        padding-right: 0;
    }

    .home-shipping-strip__inner {
        padding: 16px 24px;
    }

    .home-shipping-strip__messages {
        max-width: 720px;
    }

    .home-shipping-strip__message {
        font-size: 1.2rem;
    }
}
/* =========================
   HEADER FINDER
========================= */
.header-finder {
    position: relative;
    margin-right: auto;
}

.finder-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: background 0.25s ease;
}

    .finder-entry:hover {
        background: #111;
    }

.finder-entry__icon {
    margin-right: 10px;
    font-size: 16px;
    opacity: 0.8;
}

.finder-entry__text {
    flex: 1;
    padding-right: 10px;
    font-weight: 500;
}

.finder-entry__arrow {
    font-size: 14px;
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.finder-entry:hover .finder-entry__arrow {
    transform: translateY(2px);
}

.finder-entry.is-open .finder-entry__arrow {
    transform: rotate(180deg);
}

.header-finder__panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(460px, calc(100vw - 20px));
    z-index: 300;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

    .header-finder__panel.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scale(1);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
    }

.header-finder__panel-inner {
    padding: 18px;
}

.finder-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.finder-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}
.finder-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f7f7f7;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .finder-close:hover {
        background: #111;
        color: #fff;
    }

.finder-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.finder-progress__step {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #e8e8e8;
    transition: background 0.2s ease;
}

    .finder-progress__step.is-active {
        background: #111;
    }

.finder-step {
    display: none;
}

    .finder-step.is-active {
        display: block;
    }

.finder-step__title {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
}

.finder-options {
    display: grid;
    gap: 12px;
}

.finder-options--grid {
    grid-template-columns: 1fr;
}

.finder-option {
    min-height: 56px;
    padding: 12px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: #fafafa;
    color: #111;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

    .finder-option:hover {
        background: #fff;
        border-color: #111;
        transform: translateY(-1px);
    }

.finder-option--icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 80px;
    text-align: center;
}

    .finder-option--icon i {
        font-size: 1.4rem;
    }

.finder-back {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: none;
    color: #666;
    font: inherit;
    cursor: pointer;
}

    .finder-back:hover {
        color: #111;
    }

.finder-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #efefef;
}

.finder-reset {
    padding: 0;
    border: 0;
    background: none;
    color: #666;
    font: inherit;
    cursor: pointer;
}

    .finder-reset:hover {
        color: #111;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .header-finder__panel {
        left: 0;
        width: 460px;
        max-width: calc(100vw - 32px);
        transform: translateY(10px) scale(0.98);
    }

        .header-finder__panel.is-open {
            transform: translateY(0) scale(1);
        }

    .header-finder__panel-inner {
        padding: 22px;
    }

    .finder-title {
        font-size: 1.15rem;
    }

    .finder-options--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {
    .header-finder__panel {
        width: 460px;
        max-width: calc(100vw - 40px);
    }
}
/* =========================
   CATALOG HEADER
========================= */
.catalog-header {
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.catalog-header-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    position: relative;
    padding: 18px 16px 20px;
    background: #fafafa;
    overflow: hidden;
    /* centrato mobile */
    text-align: center;
    justify-items: center;
}

.catalog-header-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-title {
    margin: 0 0 10px;
    font-size: 1.9rem;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.catalog-brand-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.94rem;
    line-height: 1.4;
    color: #444;
}

.catalog-brand-rating-star {
    font-size: 1rem;
    line-height: 1;
}

.catalog-brand-rating-value {
    font-weight: 700;
    color: #111;
}

.catalog-brand-rating-text,
.catalog-brand-rating-count,
.catalog-brand-rating-sep {
    color: #666;
}

.catalog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #666;
}

.catalog-count {
    font-weight: 500;
    color: #111;
}

.catalog-meta-sep {
    color: #ccc;
}

.catalog-active-inline {
    color: #666;
}

.catalog-description {
    max-width: 720px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

.catalog-brand-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    min-width: 120px;
    max-width: 180px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 14px;
}

.catalog-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 48px;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .catalog-header-main {
        padding: 20px 24px 24px;
        gap: 22px;
        /* ancora centrato */
        text-align: center;
        justify-items: center;
    }

    .catalog-header-content {
        align-items: center;
    }

    .catalog-title {
        font-size: 2.2rem;
    }

    .catalog-brand-rating {
        font-size: 0.96rem;
    }

    .catalog-meta {
        font-size: 0.92rem;
    }

    .catalog-brand-logo-box {
        min-width: 130px;
        max-width: 190px;
        padding: 15px 18px;
    }

    .catalog-brand-logo {
        max-height: 52px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {
    .catalog-header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 24px;
        padding: 18px 1em 24px;
        /* torna layout classico */
        text-align: left;
        justify-items: stretch;
    }

    .catalog-header-content {
        align-items: flex-start;
    }

    .catalog-title {
        font-size: 2.2rem;
    }

    .catalog-brand-rating {
        justify-content: flex-start;
        font-size: 15px;
    }

    .catalog-brand-rating-star {
        font-size: 16px;
    }

    .catalog-meta {
        justify-content: flex-start;
        font-size: 14px;
    }

    .catalog-description {
        text-align: left;
    }

    .catalog-brand-logo-box {
        margin: 0;
        min-width: 140px;
        max-width: 200px;
        padding: 16px 20px;
    }

    .catalog-brand-logo {
        max-height: 56px;
    }
}
/* =========================
   BREADCRUMBS
========================= */
.breadcrumbs {
    margin-top: 14px;
    padding: 0 16px 14px;
    border-bottom: 1px solid #ececec;
    text-align: center;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #888;
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
}

    .breadcrumbs-item:not(:last-child)::after {
        content: ">";
        margin: 0 6px;
        color: #ccc;
    }

    .breadcrumbs-item a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .breadcrumbs-item a:hover {
            color: #111;
        }

    .breadcrumbs-item span {
        color: #666;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .breadcrumbs {
        padding: 0 24px 16px;
    }

    .breadcrumbs-list {
        font-size: 0.96rem;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) and (max-width: 1439px) {
    .breadcrumbs {
        padding: 0 0 14px 1em;
        text-align: left;
    }
    .breadcrumbs-list {
        justify-content: flex-start;
        font-size: 1rem;
    }
}
@media (min-width: 1440px) {
    .breadcrumbs {
        padding: 0 0 14px;
        text-align: left;
    }
    .breadcrumbs-list {
        justify-content: flex-start;
        font-size: 1rem;
    }
}
/* =========================
   DESCRIPTION BOX
========================= */
.description-box {
    position: relative;
    margin-top: 18px;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 18px;
}

.description-content {
    position: relative;
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #555;
    text-align: justify;
}

    .description-content.is-expanded {
        max-height: none;
    }

    .description-content.is-collapsed::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 70px;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    }

.description-toggle {
    margin-top: 12px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #111;
    transition: all 0.2s ease;
}

    .description-toggle:hover {
        border-color: #bbb;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .description-box {
        padding-left: 24px;
        padding-right: 24px;
    }

    .description-content {
        max-height: 320px;
        font-size: 0.96rem;
        text-align: left;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) and (max-width: 1439px) {
    .description-box {
        padding-left: 1em;
        padding-right: 1em;
    }
    .description-content {
        max-height: 340px;
        font-size: 1rem;
        text-align: left;
    }
}
@media (min-width: 1440px) {
    .description-box {
        padding-left: 0;
        padding-right: 0;
    }

    
}
/* =========================
   CATALOG LAYOUT
========================= */
body.is-searchbar-open {
    overflow: hidden;
}
.catalog-layout {
    display: block;
}

.catalog-main {
    min-width: 0;
}

.catalog-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
    .catalog-sidebar > div:last-child {
        z-index: -1;
    }
    .catalog-sidebar.is-open {
        transform: translateX(0);
    }

.catalog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

    .catalog-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

.catalog-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid #ececec;
}
.catalog-sidebar__title {
    font-family: var(--header-font-family);
    font-size: 1.25rem;
    line-height: 1.2;
}
.catalog-sidebar__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f7f7f7;
    color: #222;
    cursor: pointer;
}

.catalog-sidebar .sticky_menu {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

/* =========================
   CATALOG TOOLBAR
========================= */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.catalog-filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

    .catalog-filters-toggle:hover {
        border-color: #bbb;
        background: #fafafa;
    }

.catalog-order-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    margin-left: auto;
    padding-bottom: 24px;
}

.catalog-order-label {
    display: none;
    font-size: 0.95rem;
    color: #666;
    white-space: nowrap;
}

.catalog-order-dropdown {
    position: relative;
}

.catalog-order-toggle {
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

    .catalog-order-toggle:hover {
        border-color: #bbb;
        background: #fafafa;
    }

    .catalog-order-toggle i {
        font-size: 0.8rem;
        color: #666;
        transition: transform 0.2s ease;
    }

.catalog-order-dropdown.open .catalog-order-toggle i {
    transform: rotate(180deg);
}

.catalog-order-current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
    z-index: 30;
}

.catalog-order-dropdown.open .order-menu {
    display: block;
}

.order-menu li {
    margin: 0;
    padding: 0;
}

    .order-menu li a {
        display: block;
        padding: 10px 14px;
        font-size: 0.95rem;
        color: #222;
        text-decoration: none;
    }

        .order-menu li a:hover {
            background: #f7f7f7;
        }

    .order-menu li.active a {
        font-weight: 600;
    }

/* =========================
   SEARCH FORM
========================= */
.search-form {
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 999px;
    background: #fff;
}
    
    .search-form input {
        flex: 1 1 auto;
        min-width: 0;
        border: none;
        padding: 11px 14px;
        font-size: 0.96rem;
        outline: none;
        background: transparent;
    }
    .search-form:focus-within {
        border-color: #999;
    }
    .search-form button {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border: none;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        padding: 0;
    }

        .search-form button i {
            font-size: 1rem;
            line-height: 1;
        }

        .search-form button:hover {
            color: #111;
        }

/* =========================
   FILTER BLOCKS
========================= */
.filter-block {
    padding-bottom: 18px;
    border-bottom: 1px solid #efefef;
}

    .filter-block:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

.filter-title {
    position: relative;
    margin: 0;
    padding: 0 24px 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    color: #111;
}

    .filter-title::after {
        content: "\f078";
        font-family: "Font Awesome 5 Pro";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.85rem;
        color: #666;
        transition: transform 0.2s ease;
    }

.filter-block.closed .filter-title::after {
    transform: translateY(-50%) rotate(-90deg);
}

.filter-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.filter-block.closed .filter-list,
.filter-block.closed .filter-list-toggle,
.filter-block.closed .filter-box,
.filter-block.closed .price-manual-inputs {
    display: none;
}

/* blocco disponibilità in alto */
#disp-filter {
    margin-top: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid #efefef;
}

/* =========================
   FILTER LISTS WITH COUNTS
========================= */
.catalog-sidebar ul.counter li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .catalog-sidebar ul.counter li + li {
        margin-top: 6px;
    }

.catalog-sidebar ul.counter .count {
    flex: 0 0 auto;
    font-size: 0.88rem;
    line-height: 1.2;
    color: #888;
    white-space: nowrap;
}

.catalog-sidebar ul.counter a {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.7;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .catalog-sidebar ul.counter a:hover {
        color: #111;
    }

.catalog-sidebar ul li.active a {
    font-weight: 600;
    color: #111;
}

.catalog-sidebar .is-hidden {
    display: none;
}

/* =========================
   PRICE FILTER
========================= */
.price-manual-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 14px;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-input-group label {
    font-size: 0.88rem;
    color: #666;
}
.price-input-wrapper {
    position: relative;
}

.price-currency {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: #484848;
    pointer-events: none;
}

/* input */
.price-input-group input {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 28px; /* 👈 spazio per € */
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 0.85rem;
    outline: none;
    background: #fff;
    text-align: right;
}

.price-input-group input:focus {
    border-color: #999;
}

.filter-box {
    margin-top: 0;
}

.filter-content {
    padding: 0;
}

.price-filter {
    padding: 4px 2px 0;
}

/* =========================
   FILTER TOGGLE BUTTON
========================= */
.filter-list-toggle {
    margin-top: 10px;
    margin-bottom: 0;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    color: #222;
    font-size: 0.93rem;
    text-decoration: underline;
}

/* =========================
   COLOR FILTER
========================= */
.colortype {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

    .colortype li {
        display: inline-block;
    }

    .colortype a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .colortype span {
        display: inline-block;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 1px solid #ccc;
        box-sizing: border-box;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .colortype a:hover span {
        transform: scale(1.12);
        box-shadow: 0 0 0 2px rgba(0,0,0,0.12);
    }

    .colortype .active a span,
    .colortype a.active span {
        box-shadow: 0 0 0 2px #000;
    }

    .colortype span[style*="#FFFFFF"],
    .colortype span[style*="#ffffff"] {
        border-color: #999;
    }

/* =========================
   NIB FILTER
========================= */
.nibtype {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

    .nibtype li {
        display: inline-block;
    }

    .nibtype a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.3em 0.6em;
        border: 1px solid #8a8a8a;
        border-radius: 999px;
        background: #f3f4f6;
        color: #222;
        text-decoration: none;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }
        .nibtype a:hover {
            background: #c3c3c3;
        }
        .nibtype .active a,
        .nibtype a.active {
            background: #111;
            color: #fff !important;
            border-color: #111;
        }

/* =========================
   MODEL FILTER
========================= */
.model-filter-list.is-collapsed li:nth-child(n+21):not(.force-visible) {
    display: none;
}

/* =========================
   SKELETON
========================= */
.product-card-skeleton {
    pointer-events: none;
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #ececec;
    border-radius: 8px;
}

    .skeleton::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100% );
        animation: skeleton-shimmer 1.4s infinite;
    }

.product-skeleton-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-badge {
    display: block;
    width: 92px;
    height: 22px;
    border-radius: 999px;
}

.skeleton-badge-small {
    width: 68px;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}

.skeleton-line {
    height: 14px;
    margin-top: 10px;
    border-radius: 999px;
}

.skeleton-line-title {
    width: 88%;
}

    .skeleton-line-title.short {
        width: 62%;
    }

.product-price-skeleton {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.skeleton-line-price-now {
    width: 34%;
    height: 18px;
    margin-top: 14px;
}

.skeleton-line-price-old {
    width: 22%;
    height: 14px;
    margin-top: 14px;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .catalog-toolbar {
        margin-bottom: 22px;
    }

    .catalog-sidebar {
        max-width: 400px;
    }
    .catalog-order-label {
        display: inline;
    }
    
    .catalog-sidebar .sticky_menu {
        padding: 20px;
        gap: 20px;
    }

    .catalog-order-toggle {
        min-width: 220px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) and (max-width: 1439px) {
    .catalog-sidebar .sticky_menu {
        padding: 0 1em 0 0;
        overflow: visible;
        gap: 20px;
    }
}

@media (min-width: 1440px) {
    .catalog-sidebar .sticky_menu {
        padding: 0;
        overflow: visible;
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .catalog-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 12px;
        align-items: start;
    }

    .catalog-sidebar {
        display: block;
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        transform: none;
        z-index: 1;
    }

    .catalog-sidebar__header {
        display: none;
    }

    .catalog-overlay {
        display: none;
    }

    

    .sticky_menu {
        position: relative;
        margin-bottom: 20px;
    }

    .catalog-filters-toggle {
        display: none;
    }

    .catalog-order-label {
        display: inline;
    }

    .catalog-order-wrap {
        padding-right: 0;
        justify-content: flex-end;
    }

    .catalog-order-toggle {
        min-width: 220px;
    }

    .search-form {
        border-radius: 999px;
    }

    .filter-title {
        font-size: 1.1rem;
    }

}
/* =========================
   MODELLIST
========================= */
.modellist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    margin: 0;
    padding: 0 14px;
    list-style: none;
}

    .modellist li {
        box-sizing: border-box;
        min-width: 0;
    }

    .modellist > li a,
    .product-link {
        display: block;
        position: relative;
        text-decoration: none;
        color: inherit;
    }

html.catalog-loading .modellist {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.modellist.is-refreshing {
    opacity: 0.45;
    transition: opacity 0.18s ease;
}

.modellist.is-highlighted {
    animation: productListHighlight 0.45s ease;
}

@keyframes productListHighlight {
    0% {
        opacity: 0.7;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   PRODUCT CARD
========================= */
.product-card {
    position: relative;
}

.product-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f6f6f6;
}

    .product-media > a {
        display: block;
        aspect-ratio: 1 / 1;
    }

.modellist picture,
.modellist img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    aspect-ratio: 1/1;
}

.modellist picture {
    background: #f6f6f6;
    transition: background 0.3s ease;
}

.modellist img {
    height: 100% !important;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.03);
}

/* =========================
   PRODUCT INFO
========================= */
.product-name {
    margin: 12px 0 8px;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.4;
    color: #333;
    text-wrap: balance;
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 10px;
    line-height: 1;
}

.modellist .product-price {
    align-items: flex-start;
    line-height: 1;
}

.modellist .price-now {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
}

.price-old {
    font-size: 0.92rem;
    color: #888;
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.9rem;
    color: #c61932;
    font-weight: 600;
}

/* =========================
   PRODUCT ACTIONS
========================= */
.product-actions {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%) translateY(10px);
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 3;
}

.product-action-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .product-action-btn:hover {
        background: rgba(0, 0, 0, 0.08);
        color: #000;
    }

    .product-action-btn:active {
        transform: scale(0.92);
    }

/* =========================
   PRODUCT BADGES
========================= */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    z-index: 4;
    text-align: left;
}

    .product-badges span {
        display: inline-block;
        margin-bottom: 8px;
        padding: 0.25em 0.55em;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        text-transform: lowercase;
        color: #fff;
        white-space: nowrap;
        border-radius: 999px;
    }

        .product-badges span.hot {
            background-color: #c61932;
        }

        .product-badges span.new {
            background-color: #1347a2;
        }

        .product-badges span.onsale {
            background-color: #2dbb62;
        }

.product-badges-dispo {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 4;
    text-align: right;
}

    .product-badges-dispo span {
        display: inline-block;
        margin-bottom: 8px;
        padding: 0.25em 0.55em;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        text-transform: lowercase;
        color: #fff;
        white-space: nowrap;
        border-radius: 999px;
    }

/* =========================
   SKELETON
========================= */
.product-card-skeleton {
    pointer-events: none;
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #ececec;
    border-radius: 8px;
}

    .skeleton::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100% );
        animation: skeleton-shimmer 1.4s infinite;
    }

.product-skeleton-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-badge {
    display: block;
    width: 92px;
    height: 22px;
    border-radius: 999px;
}

.skeleton-badge-small {
    width: 68px;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}

.skeleton-line {
    height: 14px;
    margin-top: 10px;
    border-radius: 999px;
}

.skeleton-line-title {
    width: 88%;
}

    .skeleton-line-title.short {
        width: 62%;
    }

.product-price-skeleton {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.skeleton-line-price-now {
    width: 34%;
    height: 18px;
    margin-top: 14px;
}

.skeleton-line-price-old {
    width: 22%;
    height: 14px;
    margin-top: 14px;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .modellist {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .product-name {
        font-size: 1.02rem;
    }

    .modellist .price-now {
        font-size: 1.3rem;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {
    .modellist {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px 18px;
        padding: 0;
    }

    .product-actions {
        display: flex;
    }

    .product-media:hover .product-actions {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .product-name {
        font-size: 1.05rem;
    }

    .modellist .price-now {
        font-size: 1.4rem;
    }
}

/* =========================
   PRODUCT MAIN
========================= */
.product-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    overflow: visible;
    padding-left: 1em;
    padding-right: 1em;
}

    .product-main.is-loading {
        opacity: 0.7;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

/* =========================
   COLONNA SINISTRA
========================= */
.product-media-sticky,
.product-media-col {
    min-width: 0;
    align-self: start;
    overflow: visible;
}

.product-main-image-box {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 16px;
}

.product-zoom-area {
    position: relative;
    border-radius: 16px;
    background: #fff;
}

.product-main-picture,
.product-main-picture img {
    display: block;
    width: 100%;
    height: auto;
}

.product-zoom {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.product-zoom-area {
    cursor: default;
}

.product-zoom-lens {
    display: none;
}

.product-gallery {
    margin-top: 14px;
}

.product-gallery-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    .product-gallery-list::-webkit-scrollbar {
        height: 8px;
    }

    .product-gallery-list::-webkit-scrollbar-thumb {
        background: #cfcfcf;
        border-radius: 999px;
    }

.product-gallery-thumb {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

    .product-gallery-thumb.is-active {
        border-color: #111;
    }

    .product-gallery-thumb picture,
    .product-gallery-thumb img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .product-gallery-thumb img {
        object-fit: contain;
    }

/* =========================
   COLONNA DESTRA
========================= */
.product-info-col {
    min-width: 0;
    padding-top: 12px;
}

.product-info-box {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.product-short-info,
.product-social-proof,
.product-price-box,
.product-meta,
.product-variants,
.product-nib,
.product-colors,
.product-extra-options,
.product-actions-detail,
.product-punte {
    padding-bottom: 22px;
    border-bottom: 1px solid #ececec;
}

.product-actions-detail {
    padding-bottom: 0;
    border-bottom: 0;
    padding-top: 12px;
}

.product-subtitle {
    margin: 0 0 12px;
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 600; /* meno pesante di 700 = più elegante */
    letter-spacing: -0.2px;
    text-wrap: balance;
    color: #111;
}

.product-brand-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    line-height: 1.45;
    color: #555;
}

.product-brand-name,
.product-model-name {
    font-weight: 600;
    color: #111;
}

.product-brand-sep {
    opacity: 0.45;
}

.product-code-line {
    color: #666;
}

/* =========================
   SOCIAL PROOF
========================= */
.product-social-proof {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-rating-inline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
    justify-content: center;
}

.product-rating-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 1rem;
    line-height: 1;
}

    .product-rating-stars .star {
        color: #d4d4d4;
    }

        .product-rating-stars .star.full {
            color: #111;
        }

        .product-rating-stars .star.half {
            color: #666;
        }

.product-rating-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.95rem;
}

.product-rating-value {
    font-weight: 700;
}

.product-rating-count {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

    .product-rating-count:hover {
        border-bottom-color: currentColor;
    }

.product-rating-divider {
    display: none;
}

.product-viewers-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #333;
    padding-top: 20px;
}

.product-viewers-icon {
    display: inline-block;
    animation: flamePulse 1.6s infinite ease-in-out;
}

@keyframes flamePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

/* =========================
   PREZZO
========================= */
.product-price-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.price-now {
    font-size: 1.95rem;
    line-height: 1;
    font-weight: 700;
    color: #111;
}

.price-old {
    font-size: 1rem;
    text-decoration: line-through;
    color: #777;
}

.price-discount {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f4f4f4;
    font-size: 0.88rem;
    font-weight: 600;
    color: #111;
}

.product-price-note {
    font-size: 0.92rem;
    color: #666;
}

.product-paypal-box {
    display: block;
    padding: 14px 16px;
    margin: 0;
    background: #fafafa;
    border-radius: 14px;
}

/* =========================
   META / DISPONIBILITÀ
========================= */
.product-meta {
    display: grid;
    gap: 10px;
}

.product-meta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
}

.product-meta-label {
    font-weight: 600;
    color: #111;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1;
    color: var(--stock-color, #2e7d32);
    background-color: var(--stock-bgcolor, #ffffff);
    border: 1px solid currentColor;
}

    .stock-badge i {
        font-size: 0.6rem;
        color: currentColor;
    }

.stock-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 1em;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #000;
    background: linear-gradient( to bottom, #ffffff 0%, #fff9e6 40%, #D7C92D 100% );
}

    .stock-info i {
        font-size: 0.6rem;
        color: currentColor;
    }

/* =========================
   TITOLI BLOCCO
========================= */
.product-block-title {
    margin: 0 0 12px;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
    padding-top: 12px;
}

/* =========================
   VARIANTI / CHIP
========================= */
.product-variant-links,
.product-extra-links,
.product-option-list,
.product-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-variant-link,
.product-extra-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

    .product-variant-link:hover,
    .product-extra-link:hover {
        transform: translateY(-1px);
    }

    .product-variant-link.is-current {
        background: #f5f5f5;
        border-color: #111;
        font-weight: 600;
    }

.variant-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    border-radius: 50%;
}

    .variant-dot.is-unavailable {
        opacity: 0.4;
        border: 1px solid #ccc;
    }

.product-option-chip {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

    .product-option-chip:hover {
        transform: translateY(-1px);
    }

    .product-option-chip.is-selected {
        border-color: #111;
        background: #f5f5f5;
        font-weight: 600;
    }

/* =========================
   OPZIONI IMMAGINE / COLORI
========================= */
.product-image-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-image-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.product-image-option-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-image-option:hover .product-image-option-thumb {
    transform: translateY(-1px);
}

.product-image-option.is-current .product-image-option-thumb {
    border-color: #111;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-image-option-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-option-label {
    font-size: 0.86rem;
    line-height: 1.3;
    text-align: center;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.product-price-current {
    font-size: 0.92rem;
    font-weight: 600;
}

.product-price-old {
    font-size: 0.8rem;
    color: #777;
    text-decoration: line-through;
}

.product-image-option-price {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.product-image-option-stock {
    font-size: 0.85rem;
    line-height: 1.2;
    color: var(--stock-color, #333);
    text-align: center;
}

    .product-image-option-stock.in-stock {
        color: #2e7d32;
    }

    .product-image-option-stock.out-of-stock {
        color: #c62828;
    }

.product-color-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #ddd;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .product-color-swatch:hover {
        transform: translateY(-1px);
    }

    .product-color-swatch.is-current {
        border-color: #111;
    }

.product-color-dot {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* =========================
   AZIONI
========================= */
.product-actions-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.product-qty-box {
    display: flex;
    align-items: center;
    height: 54px;
    border: 1px solid #ddd;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.product-qty-box:focus-within {
    border-color: #999;
}
.qty-btn {
    width: 46px;
    height: 100%;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
}

.qty-input {
    width: 100%;
    height: 100%;
    border: 0;
    font: inherit;
    font-weight: 600;
    text-align: center !important;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .product-btn i {
        font-size: 1.15rem;
    }
    .product-btn.is-loading {
        position: relative;
        pointer-events: none;
        opacity: 0.7;
    }

        .product-btn.is-loading span {
            visibility: hidden;
        }

        .product-btn.is-loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 1.125rem;
            height: 1.125rem;
            margin-top: -0.5625rem;
            margin-left: -0.5625rem;
            border: 2px solid #fff;
            border-top-color: transparent;
            border-radius: 50%;
            animation: btn-spin 0.6s linear infinite;
        }

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}
.product-btn-primary {
    background: #111;
    color: #fff !important;
    border: 1px solid #111;
    min-height: 58px; /* leggermente più alto */
    font-size: 1rem;
    flex-grow: 1;
}
.product-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    background: #000;
}

.product-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}
.product-btn-primary i {
    transition: transform 0.2s ease;
}

.product-btn-primary:hover i {
    transform: translateX(2px);
}

.product-btn-secondary {
    flex: 1;
    border: 1px solid #000;
    background-color: #e4e4e4;
    color: #000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease-out;
}

    .product-btn-secondary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
        background-color: #000;
        color: #fff;
    }
.product-btn-special {
    flex: 1;
    border: 1px solid #000;
    background-color: #2175cf;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease-out;
}

.product-btn-special:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    background-color: #000;
    color: #fff;
}

/* =========================
   PREVIEW MODE
========================= */
[data-mode="preview"] .product-price-row {
    margin-top: 10px;
    justify-content: center;
}

[data-mode="preview"] .product-price-note {
    margin-top: 10px;
    text-align: center;
}

[data-mode="preview"] .product-meta-row {
    margin-top: 10px;
    justify-content: center;
}

[data-mode="preview"] .product-block-title {
    margin-top: 10px;
    text-align: center;
}

[data-mode="preview"] .product-actions-detail {
    margin-top: 20px;
}

[data-mode="preview"] .product-variant-links,
[data-mode="preview"] .product-extra-links,
[data-mode="preview"] .product-option-list,
[data-mode="preview"] .product-color-list {
    margin-top: 10px;
    justify-content: center;
}

/* =========================
   BTN GENERICO
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

    .btn i {
        font-size: 15px;
    }

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn:active {
        transform: translateY(0);
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .product-subtitle {
        font-size: 1.8rem;
    }

    .price-now {
        font-size: 2.1rem;
    }

    .product-rating-inline {
        flex-direction: row;
        align-items: center;
    }

    .product-rating-divider {
        display: inline;
        opacity: 0.4;
    }

    .product-image-options {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-actions-row {
        flex-direction: row;
        gap: 10px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) and (max-width: 1439px) {
    .product-main {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
}

@media (min-width: 1200px) {
    .product-main {
        grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
        gap: 56px;
        padding-left: 0;
        padding-right: 0;
    }

    .product-media-sticky {
        position: relative;
        align-self: start;
        z-index: 5;
    }

    .product-zoom-area {
        cursor: crosshair;
    }

    .product-zoom-lens {
        display: block;
        position: absolute;
        z-index: 5;
        width: 240px;
        height: 240px;
        border: 3px solid rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        background-repeat: no-repeat;
        background-color: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
        pointer-events: none;
        opacity: 0;
        transform: translate(-50%, -50%);
        transition: opacity 0.15s ease;
    }

    .product-zoom-area.is-zoomed .product-zoom-lens {
        opacity: 1;
    }

    .product-gallery {
        margin-top: 16px;
    }

    .product-gallery-thumb {
        flex: 0 0 88px;
        width: 88px;
        height: 88px;
    }

    .product-subtitle {
        font-size: 1.5rem;
    }

    .price-now {
        font-size: 2.2rem;
    }

    .product-meta-row {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    .qty-input {
        width: 64px;
    }
    .product-actions-row {
        align-items: center;
    }
    .product-btn-primary:hover i {
        animation: swing 4.72s ease infinite;
    }

}
/* =========================
   CART PAGE
========================= */
.cart-page {
    margin-top: 28px;
}

.cart-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 1em;
    padding-right: 1em;
}

.cart-title {
    margin: 0 0 20px;
    font-size: 1.8rem;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.cart-main {
    min-width: 0;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cart-clear {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 0.9rem;
    color: #888;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
}

    .cart-clear:hover {
        color: #111;
    }
/* =========================
   CART ITEM
========================= */
.cart-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
}
.cart-item.is-updating {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.cart-item__image-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #f6f6f6;
}

.cart-item__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.cart-item__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cart-item__info {
    min-width: 0;
}

.cart-item__brand {
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #666;
}

.cart-item__name {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
}

    .cart-item__name a {
        color: #111;
        text-decoration: none;
    }

.cart-item__variant,
.cart-item__code {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #666;
}

.cart-item__remove {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f7f7f7;
    color: #444;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

    .cart-item__remove:hover {
        background: #111;
        color: #fff;
    }

.cart-item__bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-item__qty {
    display: inline-flex;
    align-items: center;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 999px;
    overflow: hidden;
    width: fit-content;
    background: #fff;
}

.cart-qty-btn {
    width: 40px;
    height: 100%;
    border: 0;
    background: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.cart-qty-input {
    width: 52px;
    height: 100%;
    border: 0;
    text-align: center;
    font: inherit;
    font-weight: 600;
}
.cart-qty-input.is-max {
    color: #c62828;
    font-weight: 600;
}

.cart-qty-input.is-min {
    color: #666;
}
.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.cart-item__prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item__unit-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: end;
}

.cart-item__subtotal {
    font-size: 0.94rem;
    color: #555;
}

.cart-item .price-now {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
}

.cart-item .price-old {
    font-size: 0.92rem;
    color: #888;
    text-decoration: line-through;
}

/* =========================
   CART SUMMARY
========================= */
.cart-summary {
    order: 2;
}
.cart-summary__box {
    padding: 18px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fafafa;
}

.cart-summary__title {
    margin: 0 0 18px;
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

.cart-summary__coupon {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececec;
}

.cart-summary__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #111;
}

.cart-summary__coupon-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-summary__coupon-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    outline: none;
}

    .cart-summary__coupon-input:focus {
        border-color: #999;
    }

.cart-summary__coupon-btn {
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

    .cart-summary__coupon-btn:hover {
        border-color: #bbb;
        background: #f5f5f5;
    }

.cart-summary__rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-summary__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #555;
}

    .cart-summary__row strong {
        color: #111;
    }

.cart-summary__row--shipping-note span:last-child {
    text-align: right;
    color: #666;
}

.cart-summary__row--total {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
    font-size: 1.05rem;
    color: #111;
}

    .cart-summary__row--total strong {
        font-size: 1.15rem;
    }

.cart-summary__actions {
    margin-top: 20px;
}

.cart-summary__checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    background: #111;
    border: 1px solid #111;
    color: #fff;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .cart-summary__checkout-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.14);
        background: #000;
        color: #fff;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .cart-title {
        font-size: 2rem;
    }

    .cart-item {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 18px;
        padding: 18px;
    }

    .cart-item__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }

    .cart-summary__coupon-row {
        flex-direction: row;
    }

    .cart-summary__coupon-input {
        flex: 1;
    }

    .cart-summary__coupon-btn {
        flex: 0 0 auto;
        padding: 0 18px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) and (max-width: 1439px) {
    .cart-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 32px;
        align-items: start;
        padding-left: 1em;
        padding-right: 1em;
    }
    .cart-summary {
        order: 0;
        position: sticky;
        top: 230px;
    }

    .cart-summary__box {
        position: sticky;
        top: 110px;
        padding: 22px;
    }

    .cart-title {
        margin-bottom: 24px;
        font-size: 2.1rem;
    }
}
@media (min-width: 1440px) {
    .cart-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 32px;
        align-items: start;
        padding-left: 0;
        padding-right: 0;
    }

    .cart-summary {
        order: 0;
        position: sticky;
        top: 230px;
    }

    .cart-summary__box {
        position: sticky;
        top: 110px;
        padding: 22px;
    }

    .cart-title {
        margin-bottom: 24px;
        font-size: 2.1rem;
    }
}
/* =========================
	PREVIEW SIDE BAR
========================= */
.site-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, background 0.3s ease;
    z-index: 9998;
}

    .site-overlay.is-open {
        opacity: 1;
        visibility: visible;
        background: rgba(0,0,0,0.6);
    }

body.is-cart-open .site-overlay {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 32 32'><circle cx='16' cy='16' r='14' fill='black' opacity='0.85'/><path d='M11 11 L21 21 M21 11 L11 21' stroke='white' stroke-width='2.5' stroke-linecap='round'/></svg>") 24 24, pointer;
}
body.has-drawer-open .site-overlay {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 32 32'><circle cx='16' cy='16' r='14' fill='black' opacity='0.85'/><path d='M11 11 L21 21 M21 11 L11 21' stroke='white' stroke-width='2.5' stroke-linecap='round'/></svg>") 24 24, pointer;
}
body.mobile-nav-open .mobile-nav__overlay {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 32 32'><circle cx='16' cy='16' r='14' fill='black' opacity='0.85'/><path d='M11 11 L21 21 M21 11 L11 21' stroke='white' stroke-width='2.5' stroke-linecap='round'/></svg>") 24 24, pointer;
}

body.is-searchbar-open .catalog-overlay {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 32 32'><circle cx='16' cy='16' r='14' fill='black' opacity='0.85'/><path d='M11 11 L21 21 M21 11 L11 21' stroke='white' stroke-width='2.5' stroke-linecap='round'/></svg>") 24 24, pointer;
}
body.has-modal-open .site-modal-overlay {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 32 32'><circle cx='16' cy='16' r='14' fill='black' opacity='0.85'/><path d='M11 11 L21 21 M21 11 L11 21' stroke='white' stroke-width='2.5' stroke-linecap='round'/></svg>") 24 24, pointer;
}
body.has-drawer-open, body.has-modal-open {
    overflow: hidden
}
.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    min-width: min(420px, 100%);
    max-width: min(420px, 100%);
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

    .side-drawer.is-open {
        transform: translateX(0);
    }

.side-drawer__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.side-drawer__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

    .side-drawer__loading img {
        width: 40px;
        height: 40px;
    }

.side-drawer__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}
.side-drawer__header > :last-child {
    width: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.side-drawer__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.side-drawer__close {
    width: 40px;
    height: 40px;
    border: 0;
    background: #f6f6f6;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1rem;
    color: #111;
}
    .side-drawer__close:hover {
        background: #f5f5f5;
    }
.side-drawer-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.side-drawer__footer {
    flex: 0 0 auto;
    border-top: 1px solid #eee;
    padding: 18px 20px calc(1.25rem + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
}

.side-drawer__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 1rem;
}

.side-drawer__subtotal-label {
    color: #555;
}

.side-drawer__subtotal-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
}

.side-drawer__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.side-drawer__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

    .side-drawer__loading img {
        width: 40px;
        height: 40px;
    }

.cart-item {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item__image {
    display: block;
    width: 86px;
    height: 86px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

    .cart-item__image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.cart-item__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.cart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cart-item__title {
    font-size: 0.96rem;
    line-height: 1.4;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.cart-item__remove {
    border: 0;
    background: transparent;
    color: #888;
    cursor: pointer;
    padding: 4px;
    flex: 0 0 auto;
}

.cart-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 0.85rem;
    color: #666;
}

.cart-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-item__price {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .cart-item__price .price-now {
        font-size: 1.1em;
        font-weight: 600;
        color: #111;
    }

    .cart-item__price .price-old {
        text-decoration: line-through;
        color: #888;
        font-size: 0.8em;
    }

.cart-item__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

    .cart-item__qty .qty-btn {
        width: 34px;
        height: 36px;
        border: 0;
        background: #f7f7f7;
        cursor: pointer;
        font-size: 1rem;
    }

    .cart-item__qty .qty-input {
        width: 44px;
        height: 36px;
        border: 0;
        text-align: center;
        font: inherit;
    }

.cart-item__price {
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

.cart-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 260px;
    gap: 10px;
    color: #666;
}

.cart-drawer__empty-icon {
    font-size: 2rem;
    color: #bbb;
}

.cart-drawer__empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
}

.cart-drawer__empty-text {
    font-size: 0.95rem;
    max-width: 240px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .cart-drawer {
        width: 100%;
    }

    .cart-drawer__body {
        padding: 16px;
    }

    .cart-drawer__footer {
        padding: 16px;
    }
}

.locale-panel {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.locale-panel__intro {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #666;
}

.locale-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.locale-block__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #111;
}

.locale-option-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.locale-option {
    width: 100%;
    display: grid;
    grid-template-columns: 22px 1fr auto 18px;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .locale-option:hover {
        border-color: #d0d0d0;
        box-shadow: 0 4px 14px rgba(0,0,0,0.05);
        transform: translateY(-1px);
    }

    .locale-option.is-selected {
        border-color: #111;
        box-shadow: 0 0 0 1px #111 inset;
    }

.locale-option__flag img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.locale-option__icon {
    width: 20px;
    text-align: center;
    color: #111;
    font-size: 0.95rem;
}

.locale-option__label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    min-width: 0;
}

.locale-option__meta {
    font-size: 0.82rem;
    color: #777;
    white-space: nowrap;
}

.locale-option__check {
    color: #111;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.locale-option.is-selected .locale-option__check {
    opacity: 1;
    transform: scale(1);
}

.locale-country-search {
    position: relative;
}

    .locale-country-search i {
        position: absolute;
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        color: #888;
        font-size: 0.9rem;
    }

    .locale-country-search input {
        width: 100%;
        height: 46px;
        padding: 0 14px 0 40px;
        border: 1px solid #e2e2e2;
        border-radius: 14px;
        font: inherit;
        background: #fff;
    }

        .locale-country-search input:focus {
            outline: none;
            border-color: #111;
        }

.locale-note {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #777;
}

.locale-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.locale-confirm-btn {
    width: 100%;
}
/* =========================
   SITE FOOTER
========================= */
.site-footer {
    margin-top: 60px;
    border-top: 1px solid #ececec;
}

.site-footer__top {
    background: #f3f3f3;
    padding: 36px 16px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.site-footer__col {
    min-width: 0;
    padding: 18px 0;
    border-bottom: 1px solid #e5e5e5;
}

.site-footer__col--company {
    padding-top: 0;
}

.site-footer__grid .site-footer__col:last-child {
    border-bottom: none;
}

.site-footer__title {
    width: 100%;
    margin: 0;
    padding: 0 28px 0 0;
    background: none;
    border: none;
    text-align: left;
    position: relative;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    font-family: inherit;
}

    .site-footer__title::after {
        content: "+";
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1;
        color: #111;
        transition: transform 0.2s ease;
    }

    .site-footer__title.is-open::after {
        content: "−";
    }

.site-footer__col--company .site-footer__title {
    padding-right: 0;
    cursor: default;
}

    .site-footer__col--company .site-footer__title::after {
        display: none;
    }

.site-footer__company-text {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #555;
    margin-top: 14px;
}

    .site-footer__company-text a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
    margin-top: 14px;
}

.site-footer__col.is-open .site-footer__links {
    display: block;
}

.site-footer__links li + li {
    margin-top: 10px;
}

.site-footer__links a {
    color: #555;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

    .footer-social a {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid #e5e5e5;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #555;
        font-size: 0.95rem;
        text-decoration: none;
        transition: all 0.25s ease;
    }

.site-footer__bottom {
    background: #111;
    color: #fff;
    padding: 20px 16px 26px;
    text-align: center;
    border-top: 1px solid #e9e9e9;
}

.site-footer__bottom-text {
    font-size: 0.88rem;
    line-height: 1.6;
}
.site-footer__bottom-icons {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* pagamenti */
.footer-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .footer-payments img {
        display: block;
        width: auto;
        height: 36px;
    }

/* seconda riga */
.site-footer__bottom-icons-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

/* elementi riga secondaria */
.kayakend,
.tripadvbanner,
.trustpilotend {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

/* immagini generiche */
.site-footer__bottom-icons-row img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* kayak */
.kayakend img {
    width: auto;
}

/* tripadvisor */
.tripadvbanner {
    text-align: center;
}

    .tripadvbanner ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .tripadvbanner li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .tripadvbanner img {
        height: 24px;
        width: auto;
    }

/* trustpilot */
.trustpilotend {
    width: 100%;
    max-width: 220px;
}

    .trustpilotend .trustpilot-widget {
        width: 100%;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .site-footer {
        margin-top: 70px;
    }

    .site-footer__top {
        padding: 44px 24px;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 28px;
    }

    .site-footer__col {
        padding: 0;
        border-bottom: none;
    }

    .site-footer__title {
        padding-right: 0;
        cursor: default;
    }

        .site-footer__title::after {
            display: none;
        }

    .site-footer__links {
        display: block !important;
        margin-top: 0;
    }

    .site-footer__company-text {
        margin-top: 0;
    }

    .site-footer__bottom {
        padding: 22px 24px 28px;
    }

    .footer-payments {
        gap: 12px;
    }

        .footer-payments img {
            height: 42px;
        }

    .site-footer__bottom-icons-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 18px;
    }



    .tripadvbanner img {
        height: 26px;
    }

    .trustpilotend {
        max-width: 240px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1101px) {
    .site-footer {
        margin-top: 80px;
    }

    .site-footer__top {
        padding: 50px 0;
    }

    .site-footer__grid {
        grid-template-columns: 1.3fr 1fr 1fr 0.7fr;
        gap: 32px;
        max-width: var(--base-width);
    }

    .site-footer__company-text a:hover,
    .site-footer__links a:hover {
        color: #111;
    }

    .footer-social a:hover {
        transform: translateY(-2px);
        background: #111;
        color: #fff;
        border-color: #111;
    }

    .footer-social a[aria-label="Facebook"]:hover {
        background: #1877f2;
        border-color: #1877f2;
    }

    .footer-social a[aria-label="Instagram"]:hover {
        background: #e1306c;
        border-color: #e1306c;
    }

    .footer-social a[aria-label="YouTube"]:hover {
        background: #ff0000;
        border-color: #ff0000;
    }

    .footer-social a[aria-label="Pinterest"]:hover {
        background: #e60023;
        border-color: #e60023;
    }

    .site-footer__bottom {
        padding: 24px 0 30px;
    }

    .site-footer__bottom-icons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 22px;
    }

    .footer-payments {
        flex: 0 0 auto;
        gap: 12px;
    }

        .footer-payments img {
            height: 60px;
        }

    .site-footer__bottom-icons-row {
        width: auto;
        flex: 0 0 auto;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .kayakend,
    .tripadvbanner,
    .trustpilotend {
        flex: 0 0 auto;
    }


        .tripadvbanner img {
            height: 28px;
        }

    .trustpilotend {
        width: auto;
        max-width: 220px;
    }
}
/* =========================
   SITE MODAL OVERLAY
========================= */
.site-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9998;
}

    .site-modal-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .site-modal-overlay {
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1101px) {
    .site-modal-overlay {
    }
}

/* =========================
   SITE MODAL
========================= */
.site-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
}
body.has-modal-open {
    overflow: hidden;
}

.site-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.site-modal__dialog {
    width: 100%;
    height: 100%;
    pointer-events: auto;
    position: relative;
}

.site-modal__content {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.site-modal__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.site-modal__title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.site-modal__close {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 0;
    padding: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.2s ease;
}

    .site-modal__close:hover {
        background: #f5f5f5;
    }

.site-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
}

.site-modal__footer {
    flex: 0 0 auto;
    padding: 16px;
    border-top: 1px solid #eee;
    text-align: right;
}

    .site-modal__footer:empty {
        display: none;
    }

.site-modal__loading {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* =========================
   MODAL LOADING
========================= */

.site-modal-loading {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

    .site-modal-loading.is-active {
        display: flex;
    }

.site-modal-loading__spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #000;
    border-top-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.8s linear infinite;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {
    .site-modal {
        align-items: center;
        justify-content: center;
        padding: 24px;
    }

    .site-modal__dialog {
        width: 100%;
        max-width: 720px;
        height: auto;
        max-height: 100%;
    }

    .site-modal__content {
        height: auto;
        max-height: calc(100vh - 48px);
        border-radius: 18px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    }

    .site-modal__header {
        padding: 18px 20px;
    }

    .site-modal__body {
        padding: 20px;
    }

    .site-modal__footer {
        padding: 16px 20px 20px;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1101px) {
    .site-modal {
        padding: 32px;
    }

    .site-modal__dialog {
        max-width: 720px;
    }
}
/* =========================
   PRODUCT INFO REQUEST FORM
========================= */

.product-info-request-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* 16px */
}

/* =========================
   FORM ROW
========================= */

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.375rem; /* 6px */
}
.form-row-state {
    height: 0px;
    overflow: hidden;
}
.form-row--inline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
/* =========================
   FORM FIELD
========================= */

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem; /* 6px */
}


    /* =========================
   LABEL
========================= */

    .form-field label {
        font-size: 0.8125rem; /* 13px */
        font-weight: 500;
        color: #333;
    }

/* =========================
   INPUT / SELECT / TEXTAREA
========================= */

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.625rem 0.75rem; /* 10px 12px */
    border: 1px solid #ccc;
    border-radius: 999px; /* 6px */
    font-size: 0.875rem; /* 14px */
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-textarea {
    resize: vertical;
    min-height: 7.5rem; /* 120px */
    border-radius: 6px; /* 6px */
}

    /* =========================
   FOCUS STATES
========================= */

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: #000;
        outline: none;
    }

/* =========================
   ERROR STATES
========================= */

.form-error {
    font-size: 0.75rem; /* 12px */
    color: #c00000;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #c00000;
}

/* =========================
   VALID STATE (OPZIONALE)
========================= */

.form-input.valid,
.form-select.valid,
.form-textarea.valid {
    border-color: #2e7d32;
}

/* =========================
   VALIDATION SUMMARY
========================= */

.form-validation-summary {
    padding: 0.625rem 0.75rem;
    border-radius: 0.375rem;
    background: #ffeaea;
    color: #900;
    font-size: 0.8125rem;
}

/* =========================
   SUCCESS MESSAGE
========================= */

.site-modal-message {
    text-align: center;
    padding: 1.25rem;
    font-size: 0.9375rem; /* 15px */
}

/* =========================
   TABLET
========================= */

@media (min-width: 768px) {

    .product-info-request-form {
        gap: 1.125rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 0.9375rem; /* 15px */
        padding: 0.75rem 0.875rem;
    }
    .form-row--inline {
        flex-direction: row;
        gap: 0.75rem;
    }

        .form-row--inline .form-field {
            flex: 1;
        }
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 1101px) {

    .product-info-request-form {
        gap: 1.25rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 0.9375rem;
    }
    .form-row--inline {
        gap: 1rem;
    }
}
/* =========================
   COUNTRY PICKER
========================= */

.country-picker {
    position: relative;
}

.country-picker__trigger {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    cursor: pointer;
}

.country-picker__trigger-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.875rem;
    color: #111;
}

.country-picker__trigger-icon {
    flex: 0 0 auto;
    font-size: 0.875rem;
}

.country-picker__dropdown {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    box-shadow: 0 0.625rem 2rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-height: 250px;
}

.country-picker.is-open .country-picker__dropdown {
    display: block;
}

.country-picker__search {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.country-picker__list {
    max-height: 16rem;
    overflow-y: auto;
    padding: 0.375rem 0;
}

.country-picker__option {
    width: 100%;
    padding: 0.75rem;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 0.875rem;
    cursor: pointer;
}

    .country-picker__option:hover,
    .country-picker__option.is-selected {
        background: #f5f5f5;
    }

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {

    .country-picker__trigger {
        min-height: 3rem;
        padding: 0.75rem 0.875rem;
    }

    .country-picker__trigger-text,
    .country-picker__option {
        font-size: 0.9375rem;
    }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1101px) {

    .country-picker__list {
        max-height: 18rem;
    }
}
