/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black:      #0A0A0A;
    --white:      #FFFFFF;
    --off-white:  #F5F3F0;
    --grey-light: #EBEBEB;
    --grey:       #888480;
    --grey-dark:  #444444;
    --sand:       #B8A898;
    --border:     #E0DDD9;
    --muted:      #777370;
    --header-h:   78px;
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* ── Announcement / Top bar ── */
.mw-announce {
    background: #2A2622;
    color: rgba(255,255,255,0.72);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 3vw, 52px);
    height: 30px;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.mw-announce__text { display: block; }
.mw-announce__right {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}
.mw-announce__icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}
.mw-announce__icon {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: rgba(255,255,255,0.80);
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    text-decoration: none;
}
.mw-announce__icon:hover { color: #fff; }
.mw-announce__icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.mw-announce .mw-cart-count {
    position: absolute;
    top: -6px; right: -7px;
    font-size: 9px;
    background: #fff;
    color: var(--black);
    border-radius: 50%;
    width: 14px; height: 14px;
    display: flex; align-items: center; justify-content: center;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* ── Header ── */
.mw-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.mw-header.is-hidden { transform: translateY(-100%); }
.mw-header.is-scrolled { box-shadow: 0 1px 16px rgba(0,0,0,0.06); }

/* 3 colonne: sinistra 1fr · logo-placca auto · destra 1fr */
.mw-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    height: 78px;
}

/* Sinistra: hamburger mobile + nav desktop */
.mw-header__left {
    display: flex;
    align-items: center;
    gap: 0;
    justify-self: start;
    padding: 0 clamp(20px, 3vw, 52px);
}

/* Hamburger: solo mobile */
.mw-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    flex-shrink: 0;
}
.mw-hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--black);
    transition: transform 0.3s, opacity 0.3s;
}

/* Logo centrato: placca-quadrato più alta che sporge sotto la barra */
.mw-header__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    justify-self: center;
    height: 100%;
    padding: 0 clamp(24px, 3vw, 48px);
}
.mw-header__logo-top {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 25px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
    font-weight: 500;
    padding-left: 0.14em;
}
.mw-header__logo-sub {
    font-family: 'Jost', system-ui, sans-serif;
    font-size: 8px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--grey-dark);
    font-weight: 400;
    align-self: stretch;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 7px;
    padding-top: 6px;
    padding-left: 0.42em;
}

/* Destra: link supplementari + icone */
.mw-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    justify-self: end;
    padding: 0 clamp(20px, 3vw, 52px);
}
.mw-header__link {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.2s;
}
.mw-header__link:hover { color: var(--black); }

.mw-header__icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mw-header__icon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    background: none;
    border: none;
    position: relative;
    transition: color 0.2s;
}
.mw-header__icon:hover { color: var(--muted); }
.mw-header__icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

.mw-cart-count {
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

/* Nav desktop (nella zona sinistra) */
.mw-header__nav { display: flex; align-items: center; }
.mw-nav-list {
    display: flex;
    gap: 26px;
    list-style: none;
    align-items: center;
}
.mw-nav-list a {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    padding-bottom: 2px;
    transition: color 0.2s;
    white-space: nowrap;
}
.mw-nav-list a:hover { color: var(--muted); }
.mw-nav-list .current-menu-item > a,
.mw-nav-list .current-menu-ancestor > a { border-bottom: 1px solid var(--black); }

/* ── Mobile: hamburger, logo centrato, icone destra ── */
@media (max-width: 980px) {
    .mw-header__bar { height: 64px; }
    .mw-header__left { padding: 0 16px; }
    .mw-header__right { padding: 0 16px; }
    .mw-header__nav { display: none; }
    .mw-header__link { display: none; }
    .mw-hamburger { display: flex; }
    .mw-header__logo { padding: 0 24px; }
    .mw-header__logo-top { font-size: 15px; letter-spacing: 0.24em; }
    .mw-header__logo-sub { font-size: 8px; letter-spacing: 0.4em; }
    .mw-header__icons { gap: 16px; }
}
@media (max-width: 420px) {
    .mw-header__logo-top { font-size: 13px; }
    .mw-header__icons { gap: 13px; }
}

/* ── Mobile menu ── */
.mw-mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(360px, 85vw);
    background: var(--white);
    z-index: 500;
    padding: 48px 40px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mw-mobile-menu.is-open {
    transform: translateX(0);
}
.mw-mobile-menu__close {
    background: none;
    border: none;
    align-self: flex-end;
    margin-bottom: 32px;
}
.mw-mobile-menu__close svg { width: 20px; height: 20px; stroke: var(--black); fill: none; }

.mw-mobile-nav { list-style: none; }
.mw-mobile-nav li + li { border-top: 1px solid var(--border); }
.mw-mobile-nav a {
    display: block;
    padding: 18px 0;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: normal;
    color: var(--black);
    letter-spacing: 0.03em;
}

.mw-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.mw-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

/* ── Marquee ── */
.mw-marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 11px 0;
}
.mw-marquee__track {
    display: flex;
    white-space: nowrap;
    animation: mw-marquee 32s linear infinite;
}
.mw-marquee__track span {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 32px;
    flex-shrink: 0;
}
.mw-marquee__dot { color: var(--sand) !important; padding: 0 4px !important; }

@keyframes mw-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── HERO ── */
.mw-hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: #E8E3DC;
    display: flex;
    align-items: center;
    padding-bottom: 80px;
}
/* Foto: pannello destro, cover — NO animation CSS (gestita da JS parallax) */
.mw-hero__img {
    position: absolute;
    right: 0; top: -5%; bottom: -5%;
    width: 52%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    will-change: transform;
    opacity: 0;
}
/* Velo: fonde la foto nello sfondo a sinistra */
.mw-hero__veil {
    position: absolute;
    inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to right, #E8E3DC 38%, rgba(232,227,220,0.7) 52%, rgba(232,227,220,0.15) 66%, transparent 78%);
}
.mw-hero__content {
    position: relative; z-index: 2;
    padding: 0 clamp(32px, 7vw, 112px);
    width: 50%;
    max-width: 720px;
    will-change: transform;
}
.mw-hero__eyebrow {
    display: block;
    font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 30px;
}
.mw-hero__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(38px, 4.6vw, 68px);
    font-weight: normal;
    line-height: 1.08;
    color: var(--black);
    letter-spacing: -0.015em;
    margin-bottom: 24px;
}
.mw-hero__title em {
    font-style: italic;
    color: #8a7f6f;
    display: block;
}
.mw-hero__sub {
    font-size: 14px;
    letter-spacing: 0.01em;
    color: var(--grey-dark);
    margin-bottom: 44px;
    line-height: 1.75;
    max-width: 320px;
}
.mw-hero__cta {
    display: inline-block;
    font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--black);
    border: 1px solid var(--black);
    padding: 16px 34px;
    transition: background 0.22s, color 0.22s;
}
.mw-hero__cta:hover { background: var(--black); color: #fff; }
.mw-hero__scroll {
    position: absolute;
    bottom: 40px; left: clamp(32px, 7vw, 112px); z-index: 2;
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
}
.mw-hero__scroll-text {
    font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--muted);
}
.mw-hero__scroll-arrow {
    font-size: 13px; color: var(--muted);
    animation: mw-scroll-bob 2s ease infinite;
}
@keyframes mw-scroll-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ── SHOP BY CATEGORY ── */
.mw-cats {
    padding: 48px clamp(20px, 3vw, 56px) 32px;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.mw-cats__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.mw-cats__header {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 0;
    font-weight: 500;
}
.mw-cats__all-link {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-cats__all-link:hover { color: var(--black); border-color: var(--black); }
.mw-cats__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.mw-cats__card {
    text-decoration: none;
    display: block;
    overflow: hidden;
    position: relative;
}
.mw-cats__card:hover .mw-cats__photo { transform: scale(1.04); }
.mw-cats__photo {
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: top center;
    background-color: #EEEAE4;
    position: relative;
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.mw-cats__name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 54px 16px 16px;
    /* velo pieno sotto: il testo bianco deve reggere su qualsiasi foto */
    background: linear-gradient(to top,
        rgba(10,10,10,0.88) 0%,
        rgba(10,10,10,0.70) 34%,
        rgba(10,10,10,0.28) 66%,
        rgba(10,10,10,0) 100%);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 21px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    text-align: left;
    font-weight: 500;
    line-height: 1.1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}


/* still-life: il capo va contenuto, non tagliato */
.mw-cats__photo--still {
    background-size: contain;
    background-position: center 44%;
    background-repeat: no-repeat;
    background-color: #fff;
}

.mw-insta__item--still {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #fff;
}

/* ── SECTION HEAD ── */
.mw-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.mw-section-head--center { justify-content: center; text-align: center; }
.mw-section-eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--black);
    font-weight: 500;
}
.mw-section-more {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-section-more:hover { color: var(--black); border-color: var(--black); }

/* ── NEW COLLECTION ── */
.mw-collection {
    padding: 24px clamp(20px, 3vw, 56px) 48px;
    background: var(--white);
    border-top: none;
}
.mw-collection__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.mw-prod {
    display: block;
    text-decoration: none;
    color: var(--black);
    background: var(--white);
}
.mw-prod__img {
    aspect-ratio: 3/4;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}
.mw-prod__img-inner {
    position: absolute; inset: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #fff;
    transition: transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.mw-prod:hover .mw-prod__img-inner { transform: scale(1.04); }
.mw-prod__cta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 12px;
    font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--black);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.mw-prod:hover .mw-prod__cta { transform: translateY(0); }
.mw-prod__info { padding: 10px 0 0; }
.mw-prod__name {
    font-size: 11px;
    color: var(--black);
    margin-bottom: 3px;
    line-height: 1.35;
    letter-spacing: 0.01em;
}
.mw-prod__price { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.mw-prod__price .woocommerce-Price-amount { color: var(--muted); }

/* ── THE MASSARELLI LOOK (box nero contenuto) ── */
.mw-looks {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 2.2fr;
    gap: clamp(28px, 4vw, 56px);
    background: var(--black);
    align-items: center;
    padding: 32px clamp(20px, 3vw, 56px);
    margin: 0 clamp(20px, 3vw, 56px) 48px;
}
.mw-looks__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.mw-looks__eyebrow {
    font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(255,255,255,0.5); margin-bottom: 14px; display: block;
}
.mw-looks__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 400; line-height: 1.2;
    color: #fff; margin-bottom: 14px;
}
.mw-looks__body {
    font-size: 12px; line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 22px;
}
.mw-looks__cta {
    display: inline-block;
    font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--black); background: #fff;
    padding: 12px 24px;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}
.mw-looks__cta:hover { background: var(--off-white); }
.mw-looks__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.mw-looks__item {
    display: block; text-decoration: none;
    aspect-ratio: 3/4;
    background-size: contain;          /* la figura non viene mai tagliata */
    background-position: center bottom;
    background-color: #fff;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.mw-looks__item:hover { transform: scale(1.03); }

/* ── TRUST BADGES ── */
.mw-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.mw-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
    border-right: 1px solid var(--border);
    gap: 12px;
}
.mw-trust__item:last-child { border-right: none; }
.mw-trust__icon {
    width: 36px; height: 36px;
    stroke: var(--black);
    flex-shrink: 0;
}
.mw-trust__title {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--black); font-weight: normal;
}
.mw-trust__desc {
    font-size: 12px; line-height: 1.6;
    color: var(--muted);
}

/* ── IL MONDO MASSARELLI + REVIEWS (affiancati) ── */
.mw-mondo-reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
    background: var(--white);
}

/* Sinistra: brand story */
.mw-story {
    display: grid;
    grid-template-columns: 1fr 190px;
    grid-template-rows: auto 1fr auto;
    column-gap: 28px;
    align-content: start;
    padding: 40px clamp(24px, 3vw, 48px);
    background: var(--white);
    border-right: 1px solid var(--border);
}
.mw-story__eyebrow {
    grid-column: 1 / -1;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--black); font-weight: 500;
    margin-bottom: 24px; display: block; line-height: 1.15;
}
.mw-story__body {
    grid-column: 1;
    font-size: 13px; line-height: 1.8;
    color: var(--grey-dark);
    margin-bottom: 20px;
}
.mw-story__photo {
    grid-column: 2;
    grid-row: 2 / 4;
    width: 100%; aspect-ratio: 3/4;
    background-size: cover; background-position: top center;
    background-color: var(--off-white);
    align-self: start;
}
.mw-story__link {
    grid-column: 1;
    display: inline-block;
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--white); background: var(--black);
    padding: 13px 26px;
    transition: opacity 0.2s; justify-self: start; align-self: start;
}
.mw-story__link:hover { opacity: 0.8; }

/* Destra: recensioni */
.mw-reviews {
    display: flex;
    flex-direction: column;
    padding: 40px clamp(24px, 3vw, 48px);
    background: var(--off-white);
    gap: 0;
}
.mw-reviews__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}
.mw-reviews__label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--black); font-weight: 500;
}
.mw-reviews__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.mw-reviews__list .mw-review {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.mw-reviews__list .mw-review:first-child { padding-top: 4px; }
.mw-reviews__list .mw-review:last-child { border-bottom: none; padding-bottom: 0; }
.mw-reviews__more {
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-reviews__more:hover { color: var(--black); border-color: var(--black); }
.mw-review {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    border-bottom: none;
}
.mw-review__stars {
    font-size: 12px;
    color: #c9a96e;
    letter-spacing: 2px;
}
.mw-review__text {
    font-size: 12px; line-height: 1.7;
    color: var(--grey-dark);
}
.mw-review__author {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted);
}

/* ── INSTAGRAM ── */
.mw-insta {
    padding: 40px clamp(20px, 3vw, 56px) 48px;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.mw-insta__head { margin-bottom: 16px; }
.mw-insta__label {
    font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--black); font-weight: 500;
}
.mw-insta__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}
.mw-insta__item {
    display: block;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center top;
    background-color: var(--off-white);
    transition: opacity 0.3s;
}
.mw-insta__item:hover { opacity: 0.78; }

/* ── Section header ── */
.mw-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 56px 40px 28px;
}
.mw-section-title {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--black);
}
.mw-section-link {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-section-link:hover { color: var(--black); border-color: var(--black); }

/* ── Product card (homepage strip + archive grid) ── */
.mw-product-card {
    position: relative;
    background: #F7F6F4;
}

/* homepage strip */
.mw-product-strip {
    display: flex;
    gap: 2px;
    padding: 0 40px 48px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mw-product-strip::-webkit-scrollbar { display: none; }
.mw-product-strip .mw-product-card { flex: 0 0 calc(25% - 2px); min-width: 220px; }

.mw-product-card__link { display: block; text-decoration: none; color: var(--black); }

.mw-product-card__image {
    position: relative;
    padding-top: 133.33%; /* 3:4 ratio */
    overflow: hidden;
    background-color: #EDEDEB;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.mw-product-card__img,
.mw-product-card__img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.mw-product-card__img {
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.5s ease;
}
.mw-product-card__img--hover {
    opacity: 0;
}
.mw-product-card:hover .mw-product-card__img--hover { opacity: 1; }
.mw-product-card:hover .mw-product-card__img:not(.mw-product-card__img--hover) { opacity: 0; }
.mw-product-card__img-placeholder { background: #EDEDEB; }

.mw-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}
.mw-product-card:hover .mw-wishlist-btn { opacity: 1; }
.mw-wishlist-btn svg { width: 15px; height: 15px; stroke: var(--black); fill: none; }
.mw-wishlist-btn.is-active svg { fill: var(--black); }

.mw-product-card__info { padding: 14px 4px 20px; }
.mw-product-card__cat {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 5px;
}
.mw-product-card__name {
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 6px;
}
.mw-product-card__price {
    font-size: 13px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.mw-product-card__price .woocommerce-Price-amount { color: var(--muted); }

/* ── Archive / Shop page ── */
.mw-archive {
    padding: 0 40px 80px;
}

.mw-archive__header {
    padding: 64px 0 48px;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}
.mw-archive__header::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--black);
    margin: 28px auto 0;
}

.mw-archive__title {
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--black);
    line-height: 1;
}

.mw-archive__desc {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 14px;
}

.mw-archive__toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.mw-archive__count {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Grid prodotti archivio */
ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.products li.product {
    background: var(--bg);
}

ul.products li.product a {
    display: block;
    text-decoration: none;
    color: var(--black);
}

/* Nascondi elementi WooCommerce indesiderati */
ul.products li.product .button,
ul.products li.product .add_to_cart_button,
.woocommerce-result-count,
.woocommerce-ordering { display: none !important; }

/* Paginazione */
.woocommerce-pagination {
    margin-top: 64px;
    text-align: center;
}
.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 4px;
    list-style: none;
    padding: 0;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--muted);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ── Editorial ── */
.mw-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin: 2px 0;
}

.mw-editorial__panel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    cursor: pointer;
}

.mw-editorial__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, #1A1714 0%, #0C0A08 100%);
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}
.mw-editorial__panel:hover .mw-editorial__bg { transform: scale(1.04); }

.mw-editorial__content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, transparent 100%);
}

.mw-editorial__eyebrow {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

.mw-editorial__title {
    font-family: Georgia, serif;
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: normal;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.mw-editorial__cta {
    display: inline-block;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 3px;
    transition: border-color 0.2s, color 0.2s;
}
.mw-editorial__cta:hover { color: #fff; border-color: #fff; }

/* ── Newsletter ── */
.mw-newsletter {
    background: var(--off-white);
    padding: 64px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 40px 0 0;
}
.mw-newsletter__left h3 {
    font-family: Georgia, serif;
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: normal;
    margin-bottom: 10px;
}
.mw-newsletter__left p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 360px;
}
.mw-newsletter__form-wrap { flex-shrink: 0; }
.mw-newsletter__form {
    display: flex;
    border-bottom: 1px solid var(--black);
    min-width: 320px;
    margin-bottom: 8px;
}
.mw-newsletter__input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 12px;
    color: var(--black);
    padding: 10px 0;
    outline: none;
    letter-spacing: 0.04em;
}
.mw-newsletter__input::placeholder { color: var(--muted); }
.mw-newsletter__submit {
    border: none;
    background: none;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    padding: 10px 0 10px 16px;
    transition: color 0.2s;
}
.mw-newsletter__submit:hover { color: var(--muted); }
.mw-newsletter__note {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.03em;
}
.mw-newsletter__note a { text-decoration: underline; }

/* ── Footer ── */
.mw-footer {
    background: var(--black);
    color: #F0EEEB;
    padding: 48px clamp(20px, 3vw, 56px) 28px;
}

.mw-footer__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: #F0EEEB;
}
.mw-footer__logo-top {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
}
.mw-footer__logo-sub {
    font-family: 'Jost', system-ui, sans-serif;
    font-size: 8px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.mw-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr) 1.6fr;
    gap: 32px;
    margin-bottom: 36px;
    align-items: start;
}
.mw-footer__news-text {
    font-size: 12px; line-height: 1.6;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
}
.mw-footer__news-form {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.28);
    margin-bottom: 18px;
}
.mw-footer__news-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: #F0EEEB;
    font-size: 12px;
    font-family: inherit;
    padding: 8px 0;
    outline: none;
}
.mw-footer__news-form input::placeholder { color: rgba(255,255,255,0.4); }
.mw-footer__news-form button {
    background: transparent;
    border: none;
    color: #F0EEEB;
    font-size: 15px;
    cursor: pointer;
    padding: 0 4px;
    transition: opacity 0.2s;
}
.mw-footer__news-form button:hover { opacity: 0.65; }
.mw-footer__pay {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mw-footer__pay span {
    font-size: 8px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 3px;
    padding: 4px 7px;
}
.mw-footer__col h4 {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}
.mw-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.mw-footer__col ul li a {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.mw-footer__col ul li a:hover { color: #fff; }

.mw-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.mw-footer__copy {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em;
}
.mw-footer__links {
    display: flex;
    gap: 20px;
}
.mw-footer__links a {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}
.mw-footer__links a:hover { color: #fff; }

/* ── Single product ── */
.mw-single {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(32px, 4vw, 72px);
    align-items: start;
    padding: 44px clamp(20px, 3vw, 56px) 0;
    background: var(--white);
}

/* Gallery laterale */
.mw-single__gallery {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    display: flex;
    flex-direction: row;
    gap: 14px;
}
.mw-single__thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 72px;
    flex-shrink: 0;
    order: -1;
    padding: 0;
}
.mw-single__thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    padding: 6px;
    transition: border-color 0.25s, opacity 0.25s;
    opacity: 0.7;
}
.mw-single__thumb:hover { opacity: 1; }
.mw-single__thumb.is-active { border-color: var(--black); opacity: 1; }
.mw-single__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.mw-single__thumb { aspect-ratio: 3 / 4; }
.mw-single__main-img {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    /* le proporzioni arrivano dalla foto reale (inline nel template):
       niente ritaglio e niente bande vuote */
    aspect-ratio: 3 / 4;
    cursor: zoom-in;
}
.mw-single__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 0;
    box-sizing: border-box;
    transform-origin: center center;
    transition: opacity 0.4s ease, transform 0.28s cubic-bezier(0.22,1,0.36,1);
    will-change: transform;
}
/* ingrandimento in tempo reale, segue il cursore */
.mw-single__img.is-zoom {
    transform: scale(2.6);
    padding: 0;
    transition: opacity 0.4s ease, transform 0.12s ease-out;
}
.mw-single__zoom-hint {
    position: absolute;
    bottom: 18px; right: 18px;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.85);
    color: #0a0a0a;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.mw-single__main-img:hover .mw-single__zoom-hint { opacity: 1; }
.mw-single__zoom-hint svg { width: 17px; height: 17px; }

/* ── Lightbox ── */
.mw-lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(12, 11, 10, 0.94);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}
.mw-lightbox.is-open { opacity: 1; visibility: visible; }
.mw-lightbox__img {
    max-width: 82vw; max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
    background: #fff;
}
.mw-lightbox__close {
    position: absolute; top: 26px; right: 30px;
    width: 44px; height: 44px;
    background: none; border: none; color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s;
}
.mw-lightbox__close:hover { color: #fff; }
.mw-lightbox__close svg { width: 26px; height: 26px; }
.mw-lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 54px; height: 54px;
    background: none; border: none; color: rgba(255,255,255,0.6);
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s;
}
.mw-lightbox__nav:hover { color: #fff; }
.mw-lightbox__nav svg { width: 30px; height: 30px; }
.mw-lightbox__prev { left: 24px; }
.mw-lightbox__next { right: 24px; }
.mw-single__img-placeholder {
    width: 100%;
    background: var(--grey-light);
    aspect-ratio: 3 / 4;
}

/* Info laterale */
.mw-single__info {
    padding: 0 0 72px;
    max-width: 520px;
}
.mw-single__cat {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.mw-single__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(30px, 2.8vw, 42px);
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.3;
}
.mw-single__price {
    font-size: 18px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    margin-bottom: 32px;
    display: block;
}
.mw-single__price .woocommerce-Price-amount { color: var(--muted); }
.mw-single__desc {
    font-size: 13px;
    line-height: 1.9;
    color: var(--grey-dark);
    margin-bottom: 36px;
    border-top: 1px solid var(--border);
    padding-top: 28px;
}

/* Form ATC */
.mw-single__form { margin-bottom: 28px; }
.mw-single__form .quantity { display: none; }
.mw-single__form .single_add_to_cart_button,
.mw-single__form button[name="add-to-cart"],
.mw-single__info .single_add_to_cart_button,
.mw-single__info button[type="submit"],
.variations_form .single_add_to_cart_button {
    width: 100%;
    padding: 18px 24px;
    background: var(--black) !important;
    color: var(--white) !important;
    border: none !important;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.mw-single__form .single_add_to_cart_button:hover,
.mw-single__info .single_add_to_cart_button:hover,
.mw-single__info button[type="submit"]:hover,
.variations_form .single_add_to_cart_button:hover { background: #2a2a2a !important; }
.mw-single__info .single_add_to_cart_button.disabled,
.mw-single__info .single_add_to_cart_button:disabled,
.variations_form .single_add_to_cart_button.disabled { opacity: 0.45; cursor: not-allowed; }

/* Meta (categoria, disponibilità) */
.mw-single__meta {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-bottom: 20px;
}
.mw-single__meta-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 12px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    color: var(--grey-dark);
}
.mw-single__meta-row span:first-child { color: var(--muted); }

/* Shipping bar */
.mw-single__shipping {
    padding: 16px 0;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--muted);
    line-height: 1.6;
}

/* Prodotti correlati */
.mw-related {
    border-top: 1px solid var(--border);
    padding: 64px 40px;
}
.mw-related .mw-section-header { padding: 0 0 40px; }
.mw-related .mw-product-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 0;
}
.mw-related .mw-product-card { background: var(--grey-light); }

/* ══════════════════════════════════════════════
   ANIMAZIONI SCROLL
   ══════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="left"].is-visible { transform: none; }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="right"].is-visible { transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-delay="5"] { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════
   VARIAZIONI PRODOTTO — SWATCHES
   ══════════════════════════════════════════════ */
.mw-variations { margin-bottom: 32px; }
.mw-var-row { margin-bottom: 20px; }
.mw-var-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.mw-var-label em {
    font-style: normal;
    color: var(--black);
    letter-spacing: 0;
    font-size: 12px;
}

/* Swatches taglia */
.mw-size-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mw-swatch-size {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--grey-dark);
    cursor: pointer;
    background: var(--white);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    position: relative;
}
.mw-swatch-size:hover { border-color: var(--black); }
.mw-swatch-size.is-selected {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}
.mw-swatch-size.is-unavailable {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}
.mw-swatch-size.is-unavailable::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 4px,
        rgba(0,0,0,0.08) 4px,
        rgba(0,0,0,0.08) 5px
    );
}

/* Swatches colore */
.mw-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mw-swatch-color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
    outline: none;
}
.mw-swatch-color::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}
.mw-swatch-color:hover { transform: scale(1.15); }
.mw-swatch-color.is-selected::after { border-color: var(--black); }
/* Il colore viene iniettato inline via style="" dal template (term meta mw_color_hex).
   Fallback per colori senza meta: cerchio grigio neutro. */
.mw-swatch-color:not([style]) { background: #C8C5C0; }

/* Errore validazione */
.mw-var-row--error .mw-var-label { color: #B94A3A; }
.mw-var-row--error .mw-size-swatches,
.mw-var-row--error .mw-color-swatches {
    outline: 1px solid #B94A3A;
    outline-offset: 6px;
    animation: mw-shake 0.35s ease;
}
@keyframes mw-shake {
    0%,100% { transform: none; }
    20%      { transform: translateX(-6px); }
    60%      { transform: translateX(6px); }
}

/* Guida taglia */
.mw-size-guide-link {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 10px;
    display: inline-block;
    cursor: pointer;
}

/* Stock message */
.mw-var-stock {
    font-size: 11px;
    color: var(--muted);
    margin-top: 8px;
    min-height: 16px;
    transition: opacity 0.2s;
}
.mw-var-stock.low { color: #B87C3A; }

/* ══════════════════════════════════════════════
   WOOCOMMERCE PAGES — CART / CHECKOUT / ACCOUNT
   ══════════════════════════════════════════════ */

/* ── CARRELLO ── */

/* Tabella carrello */
table.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: none;
}
table.shop_table thead th {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 0 16px;
    border-bottom: 1px solid var(--border);
    font-weight: normal;
    text-align: left;
}
table.shop_table thead th.product-subtotal,
table.shop_table thead th.product-price { text-align: right; }
table.shop_table tbody tr { border-bottom: 1px solid var(--border); }
table.shop_table tbody td { padding: 24px 0; vertical-align: middle; }
table.shop_table .product-remove a {
    color: var(--muted) !important;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s;
}
table.shop_table .product-remove a:hover { color: var(--black) !important; }
table.shop_table .product-thumbnail { width: 80px; padding-right: 20px; }
table.shop_table .product-thumbnail img { width: 72px; height: 96px; object-fit: cover; }
table.shop_table .product-name { padding-right: 20px; }
table.shop_table .product-name a {
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--black);
    text-decoration: none;
}
table.shop_table .product-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
table.shop_table dl.variation { margin-top: 6px; }
table.shop_table dl.variation dt,
table.shop_table dl.variation dd {
    font-size: 11px;
    color: var(--muted);
    display: inline;
    margin: 0;
}
table.shop_table dl.variation dt::after { content: ': '; }
table.shop_table dl.variation dd::after { content: ' — '; }
table.shop_table .product-price,
table.shop_table .product-subtotal { text-align: right; font-size: 14px; color: var(--grey-dark); }
table.shop_table .product-quantity input.qty {
    width: 52px;
    height: 40px;
    border: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    background: none;
    color: var(--black);
    padding: 0;
}
table.shop_table tfoot td { padding: 20px 0 0; font-size: 13px; color: var(--grey-dark); }
table.shop_table tfoot .cart-subtotal td,
table.shop_table tfoot .order-total td { font-size: 14px; }

/* Coupon */
.coupon { display: flex; gap: 8px; margin-bottom: 20px; }
.coupon input#coupon_code {
    flex: 1;
    height: 48px;
    border: 1px solid var(--border);
    padding: 0 16px;
    font-size: 13px;
    background: none;
    color: var(--black);
    letter-spacing: 0.05em;
}
.coupon input#coupon_code::placeholder { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; }
.coupon .button,
.cart .button {
    height: 48px;
    padding: 0 28px;
    background: none;
    border: 1px solid var(--border);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.coupon .button:hover,
.cart .button:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* Totale carrello */
.cart-collaterals { grid-column: 2; }
.cart_totals h2 {
    font-size: 11px !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    font-weight: normal !important;
    color: var(--muted) !important;
    margin-bottom: 24px !important;
    border: none !important;
    padding: 0 !important;
}
.cart_totals table.shop_table { border-top: 1px solid var(--border); }
.cart_totals table.shop_table th,
.cart_totals table.shop_table td { padding: 16px 0; font-size: 13px; }
.cart_totals table.shop_table th { color: var(--muted); font-weight: normal; font-size: 11px; letter-spacing: 0.08em; }
.cart_totals .order-total th,
.cart_totals .order-total td { font-size: 16px; color: var(--black); border-top: 1px solid var(--border); padding-top: 20px; }
.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: var(--white) !important;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
    text-decoration: none !important;
}
.wc-proceed-to-checkout .checkout-button:hover { background: #2a2a2a; }

/* ── CHECKOUT ── */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields { margin-bottom: 40px; }

.woocommerce-checkout h3 {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: normal;
    color: var(--muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
    position: relative;
}
.woocommerce-checkout .form-row label {
    display: block;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    padding: 0 16px;
    font-size: 13px;
    background: none;
    color: var(--black);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.woocommerce-checkout .form-row textarea { height: 100px; padding: 14px 16px; resize: none; }
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus { border-color: var(--black); outline: none; }
.woocommerce-checkout .form-row.woocommerce-invalid input { border-color: #C0392B; }
.woocommerce-checkout .form-row.woocommerce-validated input { border-color: #27AE60; }

/* Select arrow */
.woocommerce-checkout .form-row select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Order review */
#order_review { background: var(--off-white); padding: 40px 36px; }
#order_review h3 { margin-bottom: 20px; }
#order_review table.shop_table { width: 100%; }
#order_review table.shop_table thead th { padding-bottom: 12px; font-size: 9px; }
#order_review table.shop_table tbody td { padding: 12px 0; font-size: 13px; }
#order_review table.shop_table tfoot tr:last-child th,
#order_review table.shop_table tfoot tr:last-child td { font-size: 16px; color: var(--black); }

/* Payment */
#payment { margin-top: 28px; }
#payment .wc_payment_methods { list-style: none; padding: 0; }
#payment .wc_payment_methods li { padding: 16px 0; border-bottom: 1px solid var(--border); }
#payment .wc_payment_methods label { font-size: 13px; color: var(--black); cursor: pointer; display: flex; align-items: center; gap: 10px; }
#payment .payment_box { padding: 16px 0; font-size: 12px; color: var(--muted); }
#payment #place_order {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 28px;
    transition: background 0.2s;
}
#payment #place_order:hover { background: #2a2a2a; }

/* ── MY ACCOUNT ── */
body.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 56px 100px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 64px;
}
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after { display: none; }

.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border-top: 1px solid var(--border); }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--border); }
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 0;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
}
.woocommerce-MyAccount-navigation ul li a:hover { color: var(--black); }
.woocommerce-MyAccount-navigation ul li.is-active a { color: var(--black); }

.woocommerce-MyAccount-content { padding-top: 0; }
.woocommerce-MyAccount-content p { font-size: 13px; line-height: 1.8; color: var(--grey-dark); margin-bottom: 16px; }
.woocommerce-MyAccount-content strong { color: var(--black); font-weight: 500; }
.woocommerce-MyAccount-content table.shop_table { border-top: 1px solid var(--border); }
.woocommerce-MyAccount-content table.shop_table td,
.woocommerce-MyAccount-content table.shop_table th { padding: 14px 0; font-size: 12px; border-bottom: 1px solid var(--border); }
.woocommerce-MyAccount-content table.shop_table th { color: var(--muted); font-weight: normal; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; }
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content a.button {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--black);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    background: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content a.button:hover { background: var(--black); color: var(--white); }

/* Login / Register */
.woocommerce-form-login,
.woocommerce-form-register {
    max-width: 480px;
    padding: 48px;
    background: var(--off-white);
}
.woocommerce-form-login h2,
.woocommerce-form-register h2 {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: normal;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row { margin-bottom: 16px; }
.woocommerce-form-login label,
.woocommerce-form-register label {
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 8px;
}
.woocommerce-form-login input,
.woocommerce-form-register input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    padding: 0 16px;
    font-size: 13px;
    background: none;
    border-radius: 0;
    font-family: inherit;
}
.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus { outline: none; border-color: var(--black); }
.woocommerce-form-login .woocommerce-form__input-checkbox,
.woocommerce-form-register .woocommerce-form__input-checkbox { width: auto; height: auto; }
.woocommerce-form-login .woocommerce-button,
.woocommerce-form-register .woocommerce-button {
    height: 48px;
    padding: 0 36px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.woocommerce-form-login .woocommerce-button:hover,
.woocommerce-form-register .woocommerce-button:hover { background: #2a2a2a; }
.woocommerce-form-login .lost_password { font-size: 11px; color: var(--muted); margin-top: 12px; }
.woocommerce-form-login .lost_password a { text-decoration: underline; text-underline-offset: 3px; }

/* Messaggi flash WC */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 12px;
    letter-spacing: 0.04em;
    border: none;
    border-left: 2px solid;
    list-style: none;
}
.woocommerce-message { background: #F0F5EE; border-color: #5C8A5C; color: #2E4E2E; }
.woocommerce-error   { background: #F9EDEC; border-color: #C0392B; color: #7B1F1F; }
.woocommerce-info    { background: #EEF3F9; border-color: #2980B9; color: #1A4A6E; }
.woocommerce-message li,
.woocommerce-error li,
.woocommerce-info li { margin: 0; padding: 0; }
.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    body.woocommerce-cart .woocommerce { grid-template-columns: 1fr; }
    body.woocommerce-checkout .woocommerce { grid-template-columns: 1fr; }
    body.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
    .mw-manifesto__inner { grid-template-columns: 1fr; }
    .mw-manifesto__image { min-height: 320px; }
}

@media (max-width: 900px) {
    .mw-header__inner { padding: 0 20px; }
    .mw-header__nav { display: none; }
    .mw-hero__content { padding: 0 28px 56px; }
    .mw-product-strip { padding: 0 20px 40px; }
    ul.products { grid-template-columns: repeat(2, 1fr); }
    .mw-editorial { grid-template-columns: 1fr; }
    .mw-newsletter { flex-direction: column; }
    .mw-newsletter__form { min-width: 0; width: 100%; }
    .mw-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .mw-single { grid-template-columns: 1fr; }
    .mw-single__gallery { position: relative; top: 0; flex-direction: column; }
    .mw-single__thumbs { flex-direction: row; width: 100%; padding: 10px 20px; order: 1; overflow-x: auto; scrollbar-width: none; }
    .mw-single__thumbs::-webkit-scrollbar { display: none; }
    .mw-single__thumb { width: 60px; flex-shrink: 0; }
    .mw-single__main-img { cursor: default; }
    .mw-single__zoom-hint { display: none; }
    .mw-single__info { padding: 32px 24px 60px; max-width: 100%; }
    .mw-lightbox__img { max-width: 92vw; max-height: 82vh; }
    .mw-lightbox__nav { width: 40px; height: 40px; }
    .mw-lightbox__prev { left: 6px; }
    .mw-lightbox__next { right: 6px; }
    .mw-lightbox__close { top: 16px; right: 16px; }
    .mw-section-header { padding: 40px 20px 24px; }
    .mw-archive { padding: 0 20px 48px; }
    .mw-related { padding: 40px 20px; }
    .mw-related .mw-product-strip { grid-template-columns: repeat(2, 1fr); }
    body.woocommerce-cart .woocommerce,
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-account .woocommerce { padding: 48px 20px 80px; }
    .mw-manifesto__text { padding: 48px 28px; }
}

@media (max-width: 600px) {
    .mw-header__inner { grid-template-columns: auto 1fr auto; }
    .mw-footer__grid { grid-template-columns: 1fr 1fr; }
    ul.products { grid-template-columns: repeat(2, 1fr); gap: 1px; }
}

/* ══════════════════════════════════════════════
   PAGINA STANDARD — mw-page / mw-prose
   ══════════════════════════════════════════════ */
.mw-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px clamp(20px, 3vw, 56px) 120px;
    box-sizing: border-box;
}
.mw-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
/* Area di lettura delimitata da un filo leggero */
.mw-page__body {
    border: 1px solid var(--border);
    background: var(--white);
    padding: clamp(28px, 3.2vw, 52px);
    max-width: none;
}
/* la misura di lettura resta stretta anche dentro il riquadro */
.mw-page__body > * { max-width: 66ch; }
.mw-page__body > figure.wp-block-table,
.mw-page__body > .mw-table-wrap { max-width: none; }

/* Rail: indice + contatto */
.mw-page__rail-inner {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    display: flex;
    flex-direction: column;
    gap: 30px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 24px 22px 26px;
}
.mw-toc__label,
.mw-page__help-label {
    display: block;
    font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.mw-toc__list { list-style: none; padding: 0; margin: 0; }
.mw-toc__list li { margin: 0; }
.mw-toc__list a {
    display: block;
    padding: 6px 0 6px 14px;
    position: relative;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.25s;
}
.mw-toc__list a::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 6px; height: 1px; background: var(--black);
    transform: translateY(-50%) scaleX(0); transform-origin: left;
    transition: transform 0.25s ease;
}
.mw-toc__list a:hover { color: var(--black); padding-left: 18px; }
.mw-toc__list a:hover::before,
.mw-toc__list a.is-current::before { transform: translateY(-50%) scaleX(1); }
.mw-toc__list a.is-current { color: var(--black); }

.mw-page__help-text { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0 0 10px; }
.mw-page__help-link {
    font-size: 12px; color: var(--black);
    border-bottom: 1px solid var(--border); padding-bottom: 2px;
    transition: border-color 0.2s;
    word-break: break-word;
}
.mw-page__help-link:hover { border-color: var(--black); }
.mw-page__hero {
    text-align: left;
    padding-bottom: 30px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.mw-page__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}
.mw-page__eyebrow a { color: var(--muted); transition: color 0.2s; }
.mw-page__eyebrow a:hover { color: var(--black); }
.mw-page__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.02em;
    color: var(--black);
    margin: 0;
    text-wrap: balance;
}
.mw-prose {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--grey-dark);
    letter-spacing: 0.005em;
}
.mw-prose > *:first-child { margin-top: 0; }
.mw-prose p { margin: 0 0 18px; text-wrap: pretty; }
/* apertura: leggermente più grande, chiusa da un filo */
.mw-prose > p:first-of-type {
    font-size: 16.5px;
    line-height: 1.72;
    color: var(--black);
    letter-spacing: 0.002em;
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
}
/* numeri e cifre allineati ovunque nel testo */
.mw-prose { font-variant-numeric: tabular-nums lining-nums; }
.mw-prose strong { color: var(--black); font-weight: 500; }
.mw-prose ul { list-style: none; padding-left: 0; }
.mw-prose ul li { position: relative; padding-left: 20px; }
.mw-prose ul li::before {
    content: ''; position: absolute; left: 2px; top: 11px;
    width: 5px; height: 1px; background: var(--muted);
}
.mw-prose h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(21px, 2.1vw, 26px);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--black);
    margin: 46px 0 14px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    scroll-margin-top: calc(var(--header-h) + 32px);
}
.mw-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.mw-prose h3 {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--black);
    margin: 28px 0 10px;
    font-weight: 500;
}
.mw-prose a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.mw-prose a:hover { color: var(--muted); }
.mw-prose ul, .mw-prose ol { margin: 0 0 18px; padding-left: 20px; }
.mw-prose li { margin-bottom: 7px; }
.mw-prose blockquote {
    margin: 40px 0;
    padding: 4px 0 4px 32px;
    border-left: 2px solid var(--black);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    line-height: 1.5;
    font-style: italic;
    color: var(--black);
}
.mw-prose img { max-width: 100%; height: auto; margin: 32px 0; }
.mw-prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* Tabelle scritte dall'editor (es. guida alle taglie) */
.mw-prose .mw-table-wrap,
.mw-prose figure.wp-block-table { overflow-x: auto; margin: 32px 0; }
.mw-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.mw-prose table th,
.mw-prose table td {
    padding: 10px 14px 10px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.mw-prose table thead th {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
    border-bottom: 1px solid var(--black);
    white-space: nowrap;
    padding-bottom: 9px;
}
.mw-prose table tbody td:first-child { font-weight: 500; }
.mw-prose table tbody tr:last-child td { border-bottom: none; }
.mw-prose table td:first-child { color: var(--black); }

@media (max-width: 980px) {
    .mw-page__layout { grid-template-columns: 1fr; }
    .mw-page__rail-inner { position: static; flex-direction: row; flex-wrap: wrap; gap: 32px; }
    .mw-toc { display: none; }
    .mw-page__body { max-width: none; }
}
@media (max-width: 700px) {
    .mw-page { padding: 48px 24px 80px; }
    .mw-page__hero { padding-bottom: 32px; margin-bottom: 40px; }
    .mw-prose { font-size: 14.5px; }
    .mw-prose p:first-of-type { font-size: 16px; }
}

/* ══════════════════════════════════════════════════════════
   HOME — VERSIONE MOBILE DEDICATA  (≤ 680px)
   Non altera desktop/tablet: tutto dentro la media query.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 680px) {

    /* ── HEADER : 2 righe eleganti (logo sopra, controlli sotto) ── */
    .mw-header__top {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        row-gap: 14px;
        height: auto;
        padding: 16px 24px 15px;
        align-items: center;
    }
    .mw-header__logo {
        grid-column: 1 / 3;
        grid-row: 1;
        justify-self: center;
        font-size: 18px;
        letter-spacing: 0.28em;
    }
    .mw-hamburger { grid-row: 2; grid-column: 1; justify-self: start; }
    .mw-header__icons { grid-row: 2; grid-column: 2; justify-self: end; gap: 20px; }
    .mw-header__icon svg { width: 18px; height: 18px; }

    /* ── MARQUEE ── */
    .mw-marquee { padding: 11px 0; }
    .mw-marquee__track span { font-size: 10px; letter-spacing: 0.16em; }

    /* ── Fascia intro categorie (separa hero e griglia) ── */
    .mw-cats__intro { padding: 56px 26px 44px; }
    .mw-cats__eyebrow { font-size: 10px; letter-spacing: 0.26em; margin-bottom: 14px; }
    .mw-cats__heading { font-size: clamp(24px, 7vw, 30px); }

    /* ── HERO ── */
    .mw-hero { height: 90vh; min-height: 540px; }
    .mw-hero__content { padding: 0 26px 52px; width: 100%; box-sizing: border-box; }
    .mw-hero__eyebrow { font-size: 10px; letter-spacing: 0.22em; margin-bottom: 18px; }
    .mw-hero__title { font-size: clamp(46px, 16vw, 68px); line-height: 1.02; margin-bottom: 20px; }
    .mw-hero__body { font-size: 14px; line-height: 1.7; margin-bottom: 30px; }
    .mw-hero__cta {
        display: block; width: 100%; text-align: center;
        padding: 17px 24px; box-sizing: border-box;
    }
    .mw-hero__scroll { display: none; }

    /* ── SECTION HEADER ── */
    .mw-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 52px 26px 22px;
    }
    .mw-section-title { font-size: 11px; }
    .mw-section-link { font-size: 10px; }

    /* ── PRODOTTI IN EVIDENZA : carousel a scorrimento con peek ── */
    .mw-product-strip {
        padding: 0 26px 44px;
        gap: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .mw-product-strip .mw-product-card {
        flex: 0 0 74%;
        min-width: 0;
        scroll-snap-align: start;
    }
    .mw-product-card__info { padding: 16px 2px 4px; }
    .mw-product-card__name { font-size: 13px; }
    .mw-product-card__price { font-size: 13px; }

    /* ── MANIFESTO : immagine sopra, testo sotto ── */
    .mw-manifesto__inner { grid-template-columns: 1fr; }
    .mw-manifesto__image { min-height: 0; height: 78vw; max-height: 360px; }
    .mw-manifesto__text { padding: 52px 28px 56px; }
    .mw-manifesto__label { margin-bottom: 22px; }
    .mw-manifesto__title { font-size: clamp(28px, 8vw, 38px); margin-bottom: 22px; }
    .mw-manifesto__body { font-size: 15px; max-width: none; margin-bottom: 30px; }

    /* ── NEWSLETTER : stack ── */
    .mw-newsletter {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding: 56px 26px;
        margin-top: 2px;
    }
    .mw-newsletter__left h3 { font-size: 26px; }
    .mw-newsletter__left p { font-size: 13px; max-width: none; }
    .mw-newsletter__form-wrap { width: 100%; }
    .mw-newsletter__form { min-width: 0; width: 100%; }
    .mw-newsletter__input { font-size: 14px; }

    /* ── FOOTER : caratteri nettamente più grandi e leggibili ── */
    .mw-footer { padding: 56px 26px 32px; }
    .mw-footer__logo-wrap { padding-bottom: 40px; margin-bottom: 40px; }
    .mw-footer__logo { font-size: 19px; letter-spacing: 0.3em; }
    .mw-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; margin-bottom: 48px; }
    .mw-footer__col h4 { font-size: 12px; letter-spacing: 0.22em; margin-bottom: 20px; color: rgba(255,255,255,0.55); }
    .mw-footer__col ul { gap: 15px; }
    .mw-footer__col ul li a { font-size: 15px; color: rgba(255,255,255,0.78); }
    .mw-footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-top: 32px; }
    .mw-footer__copy { font-size: 12px; letter-spacing: 0.06em; }
    .mw-footer__links { justify-content: center; flex-wrap: wrap; gap: 20px; }
    .mw-footer__links a { font-size: 12px; }
}

/* Molto stretti (≤ 380px) — rifiniture */
@media (max-width: 380px) {
    .mw-hero__title { font-size: 44px; }
    .mw-cats__label,
    .mw-cats__item--1 .mw-cats__label { font-size: 27px; }
    .mw-product-strip .mw-product-card { flex-basis: 80%; }
    .mw-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ══════════════════════════════════════════════════════════
   RAFFINATEZZE — micro-interazioni luxury (desktop + mobile)
   ══════════════════════════════════════════════════════════ */

/* Hero — reveal cinematografico del titolo (righe da maschera) */
.mw-hero__title--reveal .mw-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}
.mw-hero__title--reveal .mw-line > span {
    display: block;
    transform: translateY(116%);
    animation: mwLineUp 1.15s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.mw-hero__title--reveal .mw-line:nth-child(1) > span { animation-delay: 0.20s; }
.mw-hero__title--reveal .mw-line:nth-child(2) > span { animation-delay: 0.33s; }
.mw-hero__title--reveal .mw-line:nth-child(3) > span { animation-delay: 0.46s; }
@keyframes mwLineUp { to { transform: translateY(0); } }

/* Hero — fade-rise di eyebrow, testo e CTA */
.mw-hero__eyebrow,
.mw-hero__body,
.mw-hero__cta {
    opacity: 0;
    transform: translateY(18px);
    animation: mwFadeUp 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.mw-hero__eyebrow { animation-delay: 0.10s; }
.mw-hero__body   { animation-delay: 0.62s; }
.mw-hero__cta    { animation-delay: 0.78s; }
@keyframes mwFadeUp { to { opacity: 1; transform: none; } }

/* Zoom morbido immagini prodotto — home strip */
.mw-product-card__image { overflow: hidden; }
.mw-product-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.95s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}
.mw-product-card__link:hover .mw-product-card__image::after { transform: scale(1.06); }
.mw-wishlist-btn { z-index: 2; }

/* Zoom morbido immagini prodotto — archivio / negozio */
#mw-cat-page .prod-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}
#mw-cat-page .prod-link:hover .prod-img-wrap::after { transform: scale(1.05); }
#mw-cat-page .prod-wish { z-index: 2; }

/* Numeri Chi Siamo */
#mw-about .about-number__value { font-variant-numeric: tabular-nums; }

/* Accessibilità — riduci il movimento se richiesto */
@media (prefers-reduced-motion: reduce) {
    .mw-hero__title--reveal .mw-line > span,
    .mw-hero__eyebrow, .mw-hero__body, .mw-hero__cta {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .mw-product-card__image::after,
    #mw-cat-page .prod-img-wrap::after { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════
   TRANSIZIONI DI PAGINA — dissolvenza elegante
   ══════════════════════════════════════════════════════════ */
/* Transizioni di pagina: gestite dalla "tenda" (.mw-curtain) con CSS critico inline in header.php */

/* ══════════════════════════════════════════════════════════
   SCHEDA PRODOTTO — barra ATC fissa (mobile) + rifiniture
   ══════════════════════════════════════════════════════════ */
.mw-sticky-atc { display: none; }

@media (max-width: 900px) {
    .mw-sticky-atc {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 300;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        background: rgba(255,255,255,0.97);
        backdrop-filter: saturate(180%) blur(10px);
        -webkit-backdrop-filter: saturate(180%) blur(10px);
        border-top: 1px solid var(--border);
        padding: 13px 20px calc(13px + env(safe-area-inset-bottom, 0px));
        transform: translateY(115%);
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .mw-sticky-atc.is-visible { transform: translateY(0); }
    .mw-sticky-atc__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
    .mw-sticky-atc__name {
        font-size: 12px; color: var(--black); letter-spacing: 0.01em;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .mw-sticky-atc__price { font-size: 13px; color: var(--muted); }
    .mw-sticky-atc__price .amount { color: var(--muted); }
    .mw-sticky-atc__btn {
        flex-shrink: 0;
        background: var(--black);
        color: #fff;
        border: none;
        padding: 15px 34px;
        font-size: 11px;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        font-family: inherit;
        transition: background 0.2s;
    }
    .mw-sticky-atc__btn:active { background: #2c2c2c; }

    /* Rifiniture scheda su mobile */
    .mw-single__info { padding: 36px 24px 72px; }
    .mw-single__title { font-size: clamp(26px, 7vw, 34px); }
    .mw-swatch-color { width: 38px; height: 38px; }
    .mw-swatch-size { min-width: 56px; height: 52px; font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════
   HERO SPLIT (pannello testo + immagine modello da libreria)
   ══════════════════════════════════════════════════════════ */
.mw-hero--split {
    height: auto;
    min-height: 0;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.mw-hero--split .mw-hero__panel {
    background: #12100e;
    display: flex;
    align-items: center;
    padding: 80px clamp(32px, 5vw, 80px);
    min-height: 90vh;
}
.mw-hero--split .mw-hero__panel-inner { max-width: 520px; width: 100%; }
.mw-hero--split .mw-hero__media {
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #e7e2da;
    min-height: 90vh;
}
/* Alone morbido dietro la figura (profondità) */
.mw-hero--split .mw-hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 62% 58% at 50% 42%, rgba(255,255,255,0.55), rgba(255,255,255,0) 70%);
    z-index: 0;
}
.mw-hero--split .mw-hero__figure {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    transform-origin: center bottom;
    animation: mwFigIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both,
               mwFigFloat 7.5s ease-in-out 1.8s infinite alternate;
}
@keyframes mwFigIn {
    from { opacity: 0; transform: translateY(26px) scale(1.015); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mwFigFloat {
    from { transform: translateY(0) scale(1); }
    to   { transform: translateY(-10px) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
    .mw-hero--split .mw-hero__figure { animation: none; opacity: 1; }
}
.mw-hero--split .mw-hero__title {
    color: #fff;
    font-size: clamp(34px, 4vw, 62px);
    margin-bottom: 26px;
}
.mw-hero--split .mw-hero__title .mw-line:nth-child(2) span {
    font-style: italic;
    color: rgba(255,255,255,0.78);
}
.mw-hero--split .mw-hero__eyebrow { color: rgba(255,255,255,0.5); }
.mw-hero--split .mw-hero__body { color: rgba(255,255,255,0.62); max-width: 420px; }

/* Slogan categoria (facoltativo) */
.mw-cats__slogan {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    margin-top: 3px;
}
/* Le foto prodotto/modello su bianco: mostra la parte alta (volto) */
.mw-cats__item { background-position: center top; }

@media (max-width: 900px) {
    .mw-hero--split { grid-template-columns: 1fr; }
    .mw-hero--split .mw-hero__media { order: -1; min-height: 64vh; }
    .mw-hero--split .mw-hero__panel { min-height: 0; padding: 48px 26px 60px; }
    .mw-hero--split .mw-hero__body { max-width: none; }
}


/* ══════════════════════════════════════════════════════════
   CATEGORIE — testo editoriale a sinistra + griglia 2×2 a destra
   ══════════════════════════════════════════════════════════ */
.mw-cats__layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: stretch;
}
.mw-cats__aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 56px;
}
.mw-cats__aside .mw-cats__eyebrow {
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 22px;
}
.mw-cats__aside .mw-cats__heading {
    font-family: Georgia, serif; font-size: clamp(30px, 3vw, 46px);
    font-weight: normal; line-height: 1.08; color: var(--black); margin: 0 0 24px;
}
.mw-cats__desc {
    font-size: 15px; line-height: 1.85; color: var(--grey-dark);
    max-width: 330px; margin: 0 0 34px;
}
.mw-cats__cta {
    align-self: flex-start; font-size: 11px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--black);
    border-bottom: 1px solid var(--black); padding-bottom: 5px;
}
.mw-cats__cta span { display: inline-block; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
.mw-cats__cta:hover span { transform: translateX(6px); }

/* Griglia 2×2 */
.mw-cats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2px;
    height: auto;
    min-height: 0;
}
.mw-cats__media {
    position: absolute;
    inset: 0;
    /* immagini pre-normalizzate (scala uniforme) → cover riempie, allineato in alto per tenere la testa */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}
/* velo lieve solo in fondo, per la leggibilità del testo */
.mw-cats__card .mw-cats__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top,
        rgba(232,227,219,0.94) 0%,
        rgba(232,227,219,0.6) 11%,
        transparent 26%);
}
.mw-cats__card .mw-cats__text {
    position: absolute; left: 0; bottom: 0; z-index: 2;
    display: flex; flex-direction: column; gap: 1px;
    padding: 0 28px 26px;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
/* movimento leggero: solo il testo si solleva all'hover */
.mw-cats__card:hover .mw-cats__text { transform: translateY(-6px); }
.mw-cats__card .mw-cats__sub {
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.mw-cats__card .mw-cats__label {
    font-family: Georgia, serif; font-size: clamp(20px, 1.7vw, 26px);
    letter-spacing: 0.05em; text-transform: uppercase; color: var(--black); line-height: 1.05;
}
.mw-cats__card .mw-cats__slogan {
    font-family: Georgia, serif; font-style: italic; font-size: 12px;
    color: var(--grey-dark); margin-top: 3px;
}

@media (max-width: 900px) {
    .mw-cats__layout { grid-template-columns: 1fr; }
    .mw-cats__aside { padding: 48px 26px 32px; text-align: left; }
    .mw-cats__desc { max-width: none; }
    .mw-cats__grid { min-height: 0; grid-template-rows: auto; }
}
@media (max-width: 520px) {
    .mw-cats__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   HERO full-bleed, testo in sovrapposizione (colonna unica)
   ══════════════════════════════════════════════════════════ */
.mw-hero--overlay {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    /* fondo bianco pieno e uniforme: identico al bianco della foto → nessuno stacco */
    background: #ffffff;
    display: flex;
    align-items: center;
}
.mw-hero__glow { display: none; }

/* Aura calda animata dietro al testo: dà vita allo sfondo restando tono su tono */
.mw-hero__aura {
    position: absolute; z-index: 0; pointer-events: none;
    left: -12%; top: 50%; width: 72%; height: 92%;
    transform: translateY(-50%);
    background: radial-gradient(50% 50% at 42% 46%, rgba(202,178,142,0.18), rgba(202,178,142,0) 70%);
    animation: mwAura 11s ease-in-out infinite alternate;
}
@keyframes mwAura {
    from { opacity: .5; transform: translateY(-50%) scale(1); }
    to   { opacity: 1;  transform: translateY(-53%) scale(1.16); }
}
/* Watermark tipografico gigante, appena percettibile: riempie il vuoto con eleganza */
.mw-hero__watermark {
    position: absolute; z-index: 0; pointer-events: none; user-select: none;
    left: -1.5%; bottom: -3%;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(150px, 22vw, 320px);
    line-height: .8; letter-spacing: -0.01em;
    color: #f5f2ec;
    white-space: nowrap;
    animation: mwWmIn 2s ease .25s both, mwDrift 18s ease-in-out infinite alternate;
}
@keyframes mwDrift { from { transform: translateX(0); } to { transform: translateX(26px); } }
@keyframes mwWmIn { from { opacity: 0; } to { opacity: 1; } }

/* Foto originale a COVER: riempie il pannello destro, impattante */
.mw-hero--overlay .mw-hero__figure {
    position: absolute; top: 0; bottom: 0; right: 0;
    width: 56%; z-index: 1;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    animation: mwFigIn 1.4s cubic-bezier(0.22,1,0.36,1) 0.35s both;
}
.mw-hero--overlay .mw-hero__figure::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 24%);
}
.mw-hero--overlay .mw-hero__content {
    position: relative; z-index: 3;
    padding: 0 clamp(30px, 6vw, 108px);
    max-width: 660px;
}
.mw-hero--overlay .mw-hero__eyebrow { color: var(--muted); letter-spacing: 0.42em; margin-bottom: 26px; }
.mw-hero--overlay .mw-hero__title {
    color: var(--black);
    font-size: clamp(46px, 6.6vw, 98px);
    line-height: 1.0;
    letter-spacing: -0.006em;
    margin-bottom: 30px;
}
.mw-hero--overlay .mw-hero__title .mw-line:nth-child(2) span { font-style: italic; color: #8a7f6f; }
.mw-hero--overlay .mw-hero__body {
    color: var(--grey-dark);
    font-size: 15px; line-height: 1.85;
    max-width: 450px; margin-bottom: 40px;
}
.mw-hero--overlay .mw-hero__cta { color: var(--black); border: 1px solid var(--black); }
.mw-hero--overlay .mw-hero__cta:hover { background: var(--black); color: #fff; }

/* Meta strip: riempie il basso, aggiunge informazione utile */
.mw-hero__meta {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-top: 42px;
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.mw-hero__meta-dot { color: #c9beac; }

/* Scroll cue animato in basso a sinistra */
.mw-hero__scrollcue {
    position: absolute; z-index: 3;
    left: clamp(30px, 6vw, 108px); bottom: 38px;
    display: block; width: 1px; height: 58px;
}
.mw-hero__scrollcue-line {
    display: block; position: relative;
    width: 1px; height: 58px; overflow: hidden;
    background: rgba(0,0,0,0.12);
}
.mw-hero__scrollcue-line::after {
    content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 42%;
    background: var(--black);
    animation: mwScroll 2.4s cubic-bezier(.7,0,.3,1) infinite;
}
@keyframes mwScroll {
    0%       { transform: translateY(-110%); }
    60%,100% { transform: translateY(250%); }
}

/* Ingresso scaglionato dei contenuti */
.mw-fade { opacity: 0; animation: mwFadeUp .9s cubic-bezier(.22,1,.36,1) var(--d, 0s) both; }
@keyframes mwFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .mw-hero--overlay .mw-hero__figure,
    .mw-hero__aura, .mw-hero__watermark,
    .mw-hero__scrollcue-line::after, .mw-fade { animation: none !important; }
    .mw-fade { opacity: 1; }
}
@media (max-width: 820px) {
    .mw-hero--overlay { flex-direction: column; justify-content: flex-end; align-items: stretch; height: auto; min-height: 92vh; }
    .mw-hero--overlay .mw-hero__figure { position: relative; inset: auto; width: 100%; height: 56vh; order: -1; background-position: center top; }
    .mw-hero--overlay .mw-hero__figure::before { display: none; }
    .mw-hero--overlay .mw-hero__content { max-width: none; padding: 26px 26px 42px; }
    .mw-hero--overlay .mw-hero__body { max-width: none; }
    .mw-hero__aura, .mw-hero__watermark, .mw-hero__scrollcue { display: none; }
    .mw-hero__meta { margin-top: 30px; }
}

/* ══════════════════════════════════════════════════════════
   BANNER MANIFESTO (rottura tra hero e categorie)
   ══════════════════════════════════════════════════════════ */
.mw-band {
    background: #12100e;
    color: #efe9e0;
    padding: clamp(64px, 9vw, 118px) 40px;
    text-align: center;
}
.mw-band__inner { max-width: 780px; margin: 0 auto; }
.mw-band__eyebrow {
    display: block; font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase;
    color: rgba(255,255,255,0.42); margin-bottom: 30px;
}
.mw-band__quote {
    font-family: Georgia, serif; font-size: clamp(28px, 4vw, 52px);
    line-height: 1.18; color: #fff; margin: 0 0 30px;
}
.mw-band__quote em { font-style: italic; color: rgba(255,255,255,0.68); }
.mw-band__text {
    font-size: 15px; line-height: 1.9; color: rgba(255,255,255,0.6);
    max-width: 560px; margin: 0 auto 36px;
}
.mw-band__meta {
    display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.mw-band__dot { color: var(--sand); }

/* ══════════════════════════════════════════════════════════
   PRODOTTI IN EVIDENZA — griglia 8, card arricchite
   ══════════════════════════════════════════════════════════ */
.mw-product-eyebrow {
    display: block; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 8px;
}
.mw-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 0 40px 72px;
}
.mw-product-grid .mw-product-card__image { position: relative; }
.mw-product-card__cta {
    position: absolute; left: 50%; bottom: 18px;
    transform: translate(-50%, 12px);
    background: #fff; color: #0a0a0a;
    padding: 11px 26px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    opacity: 0; transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
    z-index: 3; white-space: nowrap; pointer-events: none;
}
.mw-product-card__link:hover .mw-product-card__cta { opacity: 1; transform: translate(-50%, 0); }
.mw-product-card__cat {
    display: block; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 7px;
}
@media (max-width: 900px) {
    .mw-product-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px 48px; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — nuove sezioni homepage
   ════════════════════════════════════════════ */

/* Hero mobile */
@media (max-width: 900px) {
    .mw-hero { height: auto; min-height: 100svh; flex-direction: column; justify-content: flex-end; align-items: stretch; }
    .mw-hero__img { position: relative; inset: auto; width: 100%; height: 52vh; min-height: 320px; background-position: center top; }
    .mw-hero__veil { background: linear-gradient(to bottom, transparent 60%, #fff 92%); }
    .mw-hero__content { max-width: none; padding: 24px 28px 52px; }
    .mw-hero__title { font-size: clamp(52px, 14vw, 80px); }
    .mw-hero__scroll { display: none; }
}

/* Categories strip mobile */
@media (max-width: 1100px) {
    .mw-cats { padding: 48px 20px; }
    .mw-cats__inner { grid-template-columns: repeat(5, 1fr); gap: 8px; }
}
@media (max-width: 900px) {
    .mw-cats__inner { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 520px) {
    .mw-cats__inner { grid-template-columns: repeat(2, 1fr); }
    .mw-cats__inner .mw-cats__card:last-child { display: none; }
}

/* Collection grid mobile */
@media (max-width: 900px) {
    .mw-collection { padding: 52px 20px 60px; }
    .mw-collection__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Looks mobile */
@media (max-width: 900px) {
    .mw-looks { padding: 52px 20px; }
    .mw-looks__head { grid-template-columns: 1fr; }
    .mw-looks__cta { grid-column: 1; grid-row: 3; margin-left: 0; margin-top: 12px; }
    .mw-looks__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Brand story mobile */
@media (max-width: 900px) {
    .mw-story { grid-template-columns: 1fr; }
    .mw-story__photo { min-height: 56vw; max-height: 420px; }
    .mw-story__text { padding: 52px 28px 60px; }
    .mw-story__body { max-width: none; }
}

/* Reviews mobile */
@media (max-width: 900px) {
    .mw-reviews { padding: 56px 20px; }
    .mw-reviews__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ══════════════════════════════════════════════════════════
   AMBIENT — velature lentissime, quasi impercettibili.
   Solo CSS, nessuno scroll, nessun parallax.
   ══════════════════════════════════════════════════════════ */
@keyframes mw-drift-a {
    0%   { transform: translate3d(-6%, -4%, 0) scale(1.05); }
    50%  { transform: translate3d( 5%,  3%, 0) scale(1.18); }
    100% { transform: translate3d(-6%, -4%, 0) scale(1.05); }
}
@keyframes mw-drift-b {
    0%   { transform: translate3d( 6%,  3%, 0) scale(1.15); }
    50%  { transform: translate3d(-5%, -3%, 0) scale(1.02); }
    100% { transform: translate3d( 6%,  3%, 0) scale(1.15); }
}

.mw-hero::before,
.mw-hero::after,
.mw-story::before,
.mw-reviews::before,
.mw-looks::before {
    content: '';
    position: absolute;
    inset: -25%;
    pointer-events: none;
    will-change: transform;
}

/* Hero — sopra il velo, sotto il testo */
.mw-hero::before {
    z-index: 2;
    background: radial-gradient(38% 46% at 26% 34%, rgba(193,178,165,0.34) 0%, rgba(193,178,165,0) 68%);
    animation: mw-drift-a 68s ease-in-out infinite;
}
.mw-hero::after {
    z-index: 2;
    background: radial-gradient(34% 40% at 62% 72%, rgba(255,255,255,0.40) 0%, rgba(255,255,255,0) 66%);
    animation: mw-drift-b 86s ease-in-out infinite;
}
.mw-hero__content { z-index: 3; }
.mw-hero__scroll   { z-index: 3; }

/* Banda Mondo Massarelli */
.mw-story  { position: relative; overflow: hidden; }
.mw-reviews { position: relative; overflow: hidden; }
.mw-story::before {
    z-index: 0;
    background: radial-gradient(42% 48% at 30% 30%, rgba(193,178,165,0.20) 0%, rgba(193,178,165,0) 70%);
    animation: mw-drift-b 74s ease-in-out infinite;
}
.mw-reviews::before {
    z-index: 0;
    background: radial-gradient(44% 50% at 70% 62%, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0) 70%);
    animation: mw-drift-a 92s ease-in-out infinite;
}
.mw-story  > * { position: relative; z-index: 1; }
.mw-reviews > * { position: relative; z-index: 1; }

/* Banda nera — un respiro di luce appena accennato */
.mw-looks { position: relative; overflow: hidden; }
.mw-looks::before {
    z-index: 0;
    background: radial-gradient(40% 48% at 22% 40%, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0) 68%);
    animation: mw-drift-a 80s ease-in-out infinite;
}
.mw-looks > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
    .mw-hero::before, .mw-hero::after,
    .mw-story::before, .mw-reviews::before,
    .mw-looks::before { animation: none; }
}

/* ══════════════════════════════════════════════════════════
   ARCHIVIO PRODOTTI / CATEGORIE
   Stessi token, stesso ritmo e stesse card della home.
   ══════════════════════════════════════════════════════════ */
.mw-arch {
    padding: 56px clamp(20px, 3vw, 56px) 88px;
    background: var(--white);
}

/* Testata */
.mw-arch__head {
    max-width: 720px;
    margin-bottom: 36px;
}
.mw-arch__crumbs {
    display: flex; align-items: center; gap: 10px;
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}
.mw-arch__crumbs a { color: var(--muted); transition: color 0.2s; }
.mw-arch__crumbs a:hover { color: var(--black); }
.mw-arch__crumbs-cur { color: var(--black); }
.mw-arch__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--black);
    margin: 0;
    text-wrap: balance;
}
.mw-arch__desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--grey-dark);
    margin: 14px 0 0;
    max-width: 56ch;
}

/* Navigazione categorie */
.mw-arch__nav {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(18px, 2.4vw, 34px);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.mw-arch__nav-link {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.mw-arch__nav-link:hover { color: var(--black); }
.mw-arch__nav-link.is-current {
    color: var(--black);
    border-bottom-color: var(--black);
}

/* Conteggio */
.mw-arch__meta {
    display: flex; justify-content: flex-end;
    padding: 14px 0 22px;
}
.mw-arch__count {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* Griglia — stesse card della home */
.mw-arch__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
/* senza tabs (pagine categoria) la testata chiude da sola */
.mw-arch__head--solo {
    max-width: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}
.mw-arch__head--solo .mw-arch__desc { max-width: 56ch; }

/* Paginazione */
.mw-arch__pager ul {
    display: flex; justify-content: center; gap: 6px;
    list-style: none; padding: 0; margin: 72px 0 0;
}
.mw-arch__pager ul li a,
.mw-arch__pager ul li span {
    display: flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    font-size: 11px; letter-spacing: 0.12em;
    color: var(--muted);
    border: 1px solid var(--border);
    font-variant-numeric: tabular-nums;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mw-arch__pager ul li span.current,
.mw-arch__pager ul li a:hover {
    background: var(--black); color: var(--white); border-color: var(--black);
}

/* Vuoto */
.mw-arch__empty { padding: 72px 0 96px; }
.mw-arch__empty-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px; color: var(--black); margin-bottom: 18px;
}
.mw-arch__empty-link {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border); padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-arch__empty-link:hover { color: var(--black); border-color: var(--black); }

@media (max-width: 1280px) {
    .mw-arch__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1000px) {
    .mw-arch__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .mw-arch { padding: 40px 20px 64px; }
    .mw-arch__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mw-arch__meta { padding: 12px 0 18px; }
}

/* ══════════════════════════════════════════════════════════
   SCHEDA DEL CAPO — descrizione estesa sotto la galleria
   ══════════════════════════════════════════════════════════ */
.mw-detail {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    padding: 72px clamp(20px, 3vw, 56px) 80px;
    margin-top: 72px;
}
.mw-detail__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(18px, 2vw, 28px);
    align-items: stretch;
}
/* Colonne come schede, con bordo */
.mw-detail__col {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 30px clamp(22px, 2vw, 34px) 34px;
    position: relative;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.mw-detail__col.is-visible { opacity: 1; transform: translateY(0); }
.mw-detail__col:nth-child(2) { transition-delay: 0.10s; }
.mw-detail__col:nth-child(3) { transition-delay: 0.20s; }

/* Filo nero in cima che si apre entrando in campo */
.mw-detail__col::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    height: 2px;
    width: 0;
    background: var(--black);
    transition: width 1s cubic-bezier(0.22,1,0.36,1) 0.25s;
}
.mw-detail__col.is-visible::before { width: calc(100% + 2px); }

.mw-detail__label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(24px, 2.1vw, 30px);
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--black);
    font-weight: 600;
    margin: 0 0 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    line-height: 1.1;
}
@media (prefers-reduced-motion: reduce) {
    .mw-detail__col { opacity: 1; transform: none; transition: none; }
    .mw-detail__col::before { width: calc(100% + 2px); transition: none; }
}
.mw-detail__text p {
    font-size: 13px;
    line-height: 1.95;
    color: var(--grey-dark);
    margin: 0 0 14px;
    max-width: 58ch;
}
.mw-detail__text p:last-child { margin-bottom: 0; }

.mw-detail__specs { margin: 0; }
.mw-detail__spec {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}
.mw-detail__spec:last-child { border-bottom: none; }
.mw-detail__spec dt {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
}
.mw-detail__spec dd {
    font-size: 12px;
    color: var(--black);
    margin: 0;
    text-align: right;
}

@media (max-width: 1000px) {
    .mw-detail__inner { grid-template-columns: 1fr 1fr; }
    .mw-detail__col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    .mw-detail { padding: 48px 20px 56px; margin-top: 48px; }
    .mw-detail__inner { grid-template-columns: 1fr; gap: 40px; }
    .mw-detail__col:first-child { grid-column: auto; }
}

/* Correlati — stesse card del resto del sito */
.mw-related {
    padding: 64px clamp(20px, 3vw, 56px) 88px;
    background: var(--white);
}
.mw-related .mw-section-header { padding: 0 0 20px; }
.mw-related__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.mw-single__jump {
    display: inline-block;
    margin-top: 14px;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-single__jump:hover { color: var(--black); border-color: var(--black); }
@media (max-width: 1000px) { .mw-related__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .mw-related__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ══════════════════════════════════════════════════════════
   CARRELLO · CHECKOUT · ACCOUNT — rifinitura coerente
   ══════════════════════════════════════════════════════════ */

/* ── Riquadri riepilogo: stessa identità della scheda prodotto ── */
#mw-cart .mw-cart-summary,
#mw-checkout #order_review,
#order_review {
    background: var(--off-white) !important;
    border: 1px solid var(--border);
    position: relative;
}
#mw-cart .mw-cart-summary::before,
#order_review::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: var(--black);
}

/* ── Bottoni: uno pieno, gli altri di contorno ── */
#mw-cart button[name="update_cart"],
#mw-cart .mw-coupon button,
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content a.button {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--black);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 14px 26px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
#mw-cart button[name="update_cart"]:hover,
#mw-cart .mw-coupon button:hover,
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content a.button:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

/* ── Checkout: via il riquadro lilla di WooCommerce ── */
/* L'input radio è fratello della label: il li fa da riga flex. */
#payment .wc_payment_methods li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
#payment .wc_payment_methods li > label {
    display: flex; align-items: center; gap: 10px;
    flex: 1; margin: 0; padding: 0;
    font-size: 12px;
    letter-spacing: 0.02em;
}
#payment .wc_payment_methods li > label img { max-height: 22px; width: auto; }
#payment .wc_payment_methods li > .payment_box { flex-basis: 100%; }
#payment div.payment_box {
    background: var(--white) !important;
    border: 1px solid var(--border);
    color: var(--grey-dark) !important;
    font-size: 12px;
    line-height: 1.75;
    padding: 16px 18px !important;
    margin: 0 0 18px !important;
    border-radius: 0 !important;
}
/* la punta triangolare del box nativo */
#payment div.payment_box::before {
    border-bottom-color: var(--border) !important;
}
#payment .wc_payment_methods input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border: 1.5px solid #b8b2a8;
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color .15s, border-width .15s;
    margin: 0;
}
#payment .wc_payment_methods input[type="radio"]:checked {
    border-color: var(--black);
    border-width: 5px;
}

/* ── Account ── */
body.woocommerce-account .woocommerce {
    grid-template-columns: 240px 1fr;
    gap: 72px;
    padding: 56px clamp(20px, 3vw, 56px) 96px;
    max-width: 1240px;
}
.mw-account-head {
    grid-column: 1 / -1;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.mw-account-head__eyebrow {
    display: block;
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}
.mw-account-head__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--black);
    margin: 0 0 10px;
}
.mw-account-head__sub {
    font-size: 13px;
    color: var(--grey-dark);
    margin: 0;
}

/* Navigazione account: la voce attiva si vede */
.woocommerce-MyAccount-navigation ul {
    border-top: none;
}
.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--border);
}
.woocommerce-MyAccount-navigation ul li a {
    position: relative;
    padding: 15px 0 15px 16px;
    font-size: 11px;
    letter-spacing: 0.18em;
    transition: color 0.2s, padding 0.25s;
}
.woocommerce-MyAccount-navigation ul li a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 6px; height: 1px;
    background: var(--black);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.woocommerce-MyAccount-navigation ul li a:hover::before { transform: translateY(-50%) scaleX(1); }
.woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--black);
    font-weight: 500;
}
.woocommerce-MyAccount-navigation ul li.is-active a::before {
    transform: translateY(-50%) scaleX(1);
    width: 10px;
    height: 2px;
}

/* Contenuto account */
.woocommerce-MyAccount-content p { font-size: 13px; line-height: 1.9; }

@media (max-width: 900px) {
    body.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 32px; }
    .mw-account-head { margin-bottom: 0; }
}

/* ── Avvisi WooCommerce: via l'azzurro di default ── */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    background: var(--off-white) !important;
    border: 1px solid var(--border) !important;
    border-top: 2px solid var(--black) !important;
    color: var(--grey-dark) !important;
    font-size: 12px;
    line-height: 1.7;
    padding: 16px 20px !important;
    margin: 0 0 28px !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    list-style: none;
}
.woocommerce-error { border-top-color: #B94A3A !important; }
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before { display: none !important; }
.woocommerce-info a,
.woocommerce-message a {
    color: var(--black) !important;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
}
.woocommerce-message .button,
.woocommerce-info .button {
    background: var(--black) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 12px 22px !important;
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase;
    border-bottom: none !important;
}

/* ── Checkout: blocco pagamento senza fondi grigi ── */
#payment,
#payment ul.wc_payment_methods,
#payment .wc_payment_methods li,
.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
}
#payment div.payment_box::before,
#payment div.payment_box::after { display: none !important; }
#payment .woocommerce-privacy-policy-text {
    background: transparent !important;
    padding: 18px 0 0 !important;
}
#payment .woocommerce-privacy-policy-text p {
    font-size: 11px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}
#payment .place-order { padding: 0 !important; margin-top: 10px; }

/* ══════════════════════════════════════════════════════════
   CARRELLO — riscritto
   ══════════════════════════════════════════════════════════ */
.mw-cart {
    padding: 56px clamp(20px, 3vw, 56px) 96px;
    background: var(--white);
    max-width: 1320px;
    margin: 0 auto;
}
.mw-cart__crumbs {
    display: flex; align-items: center; gap: 10px;
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 18px;
}
.mw-cart__crumbs a { color: var(--muted); transition: color 0.2s; }
.mw-cart__crumbs a:hover { color: var(--black); }
.mw-cart__crumbs-cur { color: var(--black); }
.mw-cart__head-row {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.mw-cart__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400; line-height: 1.05; letter-spacing: 0.02em;
    color: var(--black); margin: 0;
}
.mw-cart__count {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); font-variant-numeric: tabular-nums;
}

.mw-cart__layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: clamp(32px, 4vw, 72px);
    align-items: start;
    margin-top: 40px;
}

/* ── Riga capo ── */
.mw-cart__item {
    display: grid;
    grid-template-columns: 104px 1fr auto;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.mw-cart__item:first-child { padding-top: 0; }
.mw-cart__item-img {
    display: block;
    width: 104px;
    aspect-ratio: 3/4;
    background: #fff center/contain no-repeat;
    border: 1px solid var(--border);
}
.mw-cart__item-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px; font-weight: 500; line-height: 1.2;
    margin: 0 0 6px; color: var(--black);
}
.mw-cart__item-name a { color: inherit; }
.mw-cart__item-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mw-cart__item-meta,
.mw-cart__item-meta p {
    font-size: 11px; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 4px;
}
.mw-cart__item-meta dl,
.mw-cart__item-meta dt,
.mw-cart__item-meta dd { display: inline; margin: 0; font-size: 11px; color: var(--muted); }
.mw-cart__item-meta dd::after { content: '  '; }
.mw-cart__item-unit { font-size: 11px; color: var(--muted); margin: 0 0 16px; }
.mw-cart__item-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mw-cart__item-total {
    font-size: 14px; color: var(--black);
    font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap;
}
.mw-cart__item-remove {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-cart__item-remove:hover { color: var(--black); border-bottom-color: var(--black); }

/* Selettore quantità */
.mw-qty {
    display: inline-flex; align-items: center;
    border: 1px solid var(--border);
}
.mw-qty__btn {
    width: 34px; height: 36px;
    background: none; border: none; cursor: pointer;
    font-size: 15px; color: var(--muted); line-height: 1;
    transition: color 0.2s, background 0.2s;
}
.mw-qty__btn:hover { color: var(--black); background: var(--off-white); }
.mw-qty .quantity { margin: 0; }
.mw-qty input.qty,
.mw-qty .mw-qty__input {
    width: 40px; height: 36px;
    border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
    text-align: center; font-size: 12px; font-family: inherit;
    color: var(--black); background: none;
    -moz-appearance: textfield; font-variant-numeric: tabular-nums;
}
.mw-qty input.qty::-webkit-outer-spin-button,
.mw-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mw-qty input.qty:focus { outline: none; }

.mw-cart__continue {
    display: inline-block; margin-top: 28px;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border); padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-cart__continue:hover { color: var(--black); border-color: var(--black); }

/* ── Riepilogo ── */
.mw-cart__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.mw-cart__summary {
    background: var(--off-white);
    border: 1px solid var(--border);
    padding: 30px 28px 32px;
    position: relative;
}
.mw-cart__summary::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px;
    height: 2px; background: var(--black);
}
.mw-cart__summary-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px; font-weight: 600; color: var(--black);
    margin: 0 0 22px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.mw-cart__lines { margin: 0 0 18px; }
.mw-cart__line {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 9px 0;
}
.mw-cart__line dt { font-size: 12px; color: var(--muted); }
.mw-cart__line dd {
    font-size: 12px; color: var(--black); margin: 0;
    font-variant-numeric: tabular-nums; text-align: right;
}
.mw-cart__line--sconto dd { color: #6E7F5B; }
.mw-cart__free { color: #6E7F5B; }
.mw-cart__total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 18px 0 20px; margin-bottom: 4px;
    border-top: 1px solid var(--black);
}
.mw-cart__total span {
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--black);
}
.mw-cart__total strong {
    font-size: 22px; font-weight: 500; color: var(--black);
    font-variant-numeric: tabular-nums;
}
.mw-cart__total .woocommerce-Price-amount { color: var(--black); }

/* Soglia spedizione */
.mw-cart__ship { margin-bottom: 22px; }
.mw-cart__ship-text { font-size: 11px; color: var(--grey-dark); margin: 0 0 9px; line-height: 1.6; }
.mw-cart__ship-text strong { color: var(--black); font-weight: 500; }
.mw-cart__bar { height: 2px; background: var(--border); overflow: hidden; }
.mw-cart__bar span {
    display: block; height: 100%; background: var(--black);
    transition: width 0.6s cubic-bezier(0.22,1,0.36,1);
}
.mw-cart__ship-ok {
    font-size: 11px; color: #6E7F5B; margin: 0 0 22px;
    letter-spacing: 0.04em;
}

.mw-cart__checkout {
    display: block; width: 100%; box-sizing: border-box;
    padding: 17px; text-align: center;
    background: var(--black); color: var(--white);
    font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
    transition: background 0.2s;
}
.mw-cart__checkout:hover { background: #2a2a2a; }

.mw-cart__reassure {
    list-style: none; padding: 22px 0 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.mw-cart__reassure li {
    font-size: 11px; color: var(--muted); padding-left: 15px; position: relative;
}
.mw-cart__reassure li::before {
    content: ''; position: absolute; left: 0; top: 7px;
    width: 5px; height: 5px; border: 1px solid var(--muted); border-radius: 50%;
}
.mw-cart__update {
    display: block; width: 100%; margin-top: 20px;
    background: none; border: 1px solid var(--border);
    padding: 12px; font-family: inherit; cursor: pointer;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); transition: border-color 0.2s, color 0.2s;
}
.mw-cart__update:hover { border-color: var(--black); color: var(--black); }

/* Coupon */
.mw-coupon { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.mw-coupon__toggle {
    background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
    font-size: 11px; letter-spacing: 0.06em; color: var(--muted);
    text-decoration: underline; text-underline-offset: 3px;
}
.mw-coupon__toggle:hover { color: var(--black); }
.mw-coupon__panel { display: flex; gap: 8px; margin-top: 14px; }
.mw-coupon__input {
    flex: 1; min-width: 0; padding: 11px 12px;
    border: 1px solid var(--border); background: var(--white);
    font-size: 12px; font-family: inherit; color: var(--black);
}
.mw-coupon__input:focus { outline: none; border-color: var(--black); }
.mw-coupon__apply {
    background: none; border: 1px solid var(--border); cursor: pointer; font-family: inherit;
    padding: 11px 16px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--black); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mw-coupon__apply:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.mw-coupon__active {
    display: flex; justify-content: space-between; gap: 12px; margin-top: 12px;
    font-size: 11px; color: var(--grey-dark);
}
.mw-coupon__active a { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mw-coupon__active a:hover { color: var(--black); }

/* Carrello vuoto */
.mw-empty { padding: 72px 0 96px; max-width: 520px; }
.mw-empty__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(26px, 3vw, 36px); color: var(--black); margin: 0 0 12px;
}
.mw-empty__text { font-size: 13px; line-height: 1.8; color: var(--grey-dark); margin: 0 0 28px; }
.mw-empty__cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.mw-empty__cat {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--black); border: 1px solid var(--border); padding: 11px 18px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mw-empty__cat:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.mw-empty__cta {
    display: inline-block; background: var(--black); color: var(--white);
    padding: 16px 32px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
    transition: background 0.2s;
}
.mw-empty__cta:hover { background: #2a2a2a; }

@media (max-width: 980px) {
    .mw-cart__layout { grid-template-columns: 1fr; }
    .mw-cart__aside { position: static; }
}
@media (max-width: 620px) {
    .mw-cart { padding: 36px 20px 72px; }
    .mw-cart__item { grid-template-columns: 84px 1fr; gap: 16px; }
    .mw-cart__item-img { width: 84px; }
    .mw-cart__item-total { grid-column: 2; text-align: left; margin-top: 12px; }
}

/* ══════════════════════════════════════════════════════════
   AREA UTENTE — riscritta
   ══════════════════════════════════════════════════════════ */
body.woocommerce-account .woocommerce {
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px clamp(20px, 3vw, 56px) 96px;
    box-sizing: border-box;
    display: flow-root;   /* contiene i float di WooCommerce */
}
/* WooCommerce flotta nav e contenuto: con le tabs orizzontali non servono,
   e il float faceva collassare il contenitore sopra il footer */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    clear: both;
}
body.woocommerce-account .woocommerce-MyAccount-navigation { margin: 0 0 44px; }
body.woocommerce-account .woocommerce-MyAccount-content { margin: 0; }
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after { display: none; }

/* Intestazione */
.mw-acc__head {
    padding-bottom: 24px;
    margin-bottom: 0;
}
.mw-acc__eyebrow {
    display: block; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 14px;
}
.mw-acc__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(34px, 4vw, 52px); font-weight: 400;
    line-height: 1.05; color: var(--black); margin: 0 0 10px;
}
.mw-acc__sub { font-size: 13px; color: var(--grey-dark); margin: 0; }

/* Navigazione */
.mw-acc__nav {
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}
.mw-acc__nav::-webkit-scrollbar { display: none; }
.mw-acc__nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex;
    gap: clamp(20px, 3vw, 44px);
    white-space: nowrap;
}
.mw-acc__nav li a {
    display: block; position: relative;
    padding: 0 0 16px;
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
}
.mw-acc__nav li a::after {
    content: ''; position: absolute;
    left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--black);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.mw-acc__nav li a:hover { color: var(--black); }
.mw-acc__nav li a:hover::after { transform: scaleX(1); }
.mw-acc__nav li.is-active a { color: var(--black); font-weight: 500; }
.mw-acc__nav li.is-active a::after { transform: scaleX(1); }
.mw-acc__nav li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-left: auto;
    padding-left: 28px;
}
.mw-acc__nav li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    .mw-acc__nav li a, .mw-acc__nav li a::after { transition: none; }
}

/* Bacheca a schede */
.mw-acc__dash {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.mw-acc__card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 26px 26px 28px;
    position: relative;
}
.mw-acc__card::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px;
    height: 2px; background: var(--black);
}
.mw-acc__card--wide { grid-column: 1 / -1; }
.mw-acc__card-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.mw-acc__card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px; font-weight: 600; color: var(--black); margin: 0; line-height: 1.1;
}
.mw-acc__card-link {
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); white-space: nowrap; transition: color 0.2s;
}
.mw-acc__card-link:hover { color: var(--black); }

/* Ordini */
.mw-acc__orders { list-style: none; padding: 0; margin: 0; }
.mw-acc__order {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 14px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.mw-acc__order:last-child { border-bottom: none; padding-bottom: 0; }
.mw-acc__order-main { display: flex; flex-direction: column; gap: 4px; }
.mw-acc__order-num { font-size: 13px; color: var(--black); }
.mw-acc__order-num:hover { text-decoration: underline; text-underline-offset: 3px; }
.mw-acc__order-date { font-size: 11px; color: var(--muted); }
.mw-acc__order-side { display: flex; align-items: center; gap: 18px; }
.mw-acc__order-tot { font-size: 13px; color: var(--black); font-variant-numeric: tabular-nums; }
.mw-acc__status {
    font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 5px 10px; border: 1px solid var(--border); color: var(--muted);
}
.mw-acc__status--completed { border-color: #6E7F5B; color: #6E7F5B; }
.mw-acc__status--processing,
.mw-acc__status--on-hold { border-color: #B87C3A; color: #B87C3A; }
.mw-acc__status--cancelled,
.mw-acc__status--failed { border-color: #B94A3A; color: #B94A3A; }

.mw-acc__empty { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0 0 16px; }
.mw-acc__addr {
    font-style: normal; font-size: 12px; line-height: 1.9; color: var(--grey-dark);
}
.mw-acc__data { margin: 0; }
.mw-acc__data > div {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 10px 0; border-bottom: 1px solid var(--border);
}
.mw-acc__data > div:last-child { border-bottom: none; }
.mw-acc__data dt { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.mw-acc__data dd { font-size: 12px; color: var(--black); margin: 0; text-align: right; word-break: break-word; }
.mw-acc__btn {
    display: inline-block; background: var(--black); color: var(--white);
    padding: 13px 26px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    transition: background 0.2s;
}
.mw-acc__btn:hover { background: #2a2a2a; }

@media (max-width: 820px) {
    .mw-acc__dash { grid-template-columns: 1fr; }
    .mw-acc__nav { margin-bottom: 28px; }
}

/* Avviso: WooCommerce gli sposta il focus, l'anello azzurro del browser non serve
   (è un messaggio di stato, non un controllo interattivo) */
.woocommerce-notices-wrapper > *:focus { outline: none; }
.woocommerce-notices-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px clamp(20px, 3vw, 56px) 0;
    box-sizing: border-box;
}
.woocommerce-notices-wrapper:empty { padding: 0; }

/* L'attributo hidden deve battere il display:flex */
.mw-coupon__panel[hidden] { display: none; }
.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:focus { outline: none; }

/* ══════════════════════════════════════════════════════════
   AREA UTENTE — contenuto delle singole schede
   ══════════════════════════════════════════════════════════ */
.woocommerce-MyAccount-content > p {
    font-size: 13px;
    line-height: 1.85;
    color: var(--grey-dark);
    margin: 0 0 22px;
    max-width: 68ch;
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content legend {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--border);
    line-height: 1.15;
}

/* Indirizzi affiancati */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
}
.woocommerce-Address {
    border: 1px solid var(--border);
    padding: 26px 26px 28px;
    position: relative;
}
.woocommerce-Address::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px;
    height: 2px; background: var(--black);
}
.woocommerce-Address-title { position: relative; }
.woocommerce-Address-title h2,
.woocommerce-Address-title h3 { margin-bottom: 14px; }
.woocommerce-Address-title .edit {
    position: absolute; top: 6px; right: 0;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); transition: color 0.2s;
}
.woocommerce-Address-title .edit:hover { color: var(--black); }
.woocommerce-Address address {
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.9;
    color: var(--grey-dark);
    margin: 0;
}
.woocommerce-Address p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* Moduli */
.woocommerce-MyAccount-content form { max-width: 760px; }
.woocommerce-MyAccount-content .woocommerce-form-row,
.woocommerce-MyAccount-content .form-row { margin-bottom: 18px; }
.woocommerce-MyAccount-content label {
    display: block;
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.woocommerce-MyAccount-content label .required {
    color: var(--muted);
    text-decoration: none;
    border: none;
}
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: inherit;
    font-size: 13px;
    color: var(--black);
    border-radius: 0;
    transition: border-color 0.2s;
}
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus { outline: none; border-color: var(--black); }
.woocommerce-MyAccount-content fieldset {
    border: 1px solid var(--border);
    padding: 26px;
    margin: 32px 0 26px;
}
.woocommerce-MyAccount-content fieldset legend {
    padding: 0 12px;
    margin: 0;
    border-bottom: none;
    font-size: 20px;
}
.woocommerce-MyAccount-content em,
.woocommerce-MyAccount-content .description,
.woocommerce-MyAccount-content span.description {
    display: block;
    font-style: normal;
    font-size: 11px;
    line-height: 1.65;
    color: var(--muted);
    margin-top: 7px;
}
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content input[type="submit"] {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 16px 34px;
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s;
}
.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover { background: #2a2a2a; }

/* Tabella ordini */
.woocommerce-MyAccount-content table.shop_table {
    border: 1px solid var(--border);
    border-collapse: collapse;
    width: 100%;
}
.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
}
.woocommerce-MyAccount-content table.shop_table thead th {
    font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); font-weight: 400;
    border-bottom: 1px solid var(--black);
}

@media (max-width: 760px) {
    .woocommerce-Addresses { grid-template-columns: 1fr; }
}
/* niente doppio filo: l'H2 subito dopo l'apertura non ripete la riga */
.mw-prose > p:first-of-type + h2 {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* ── HERO: video nel pannello destro, stessa area della foto ── */
.mw-hero__video {
    position: absolute;
    right: 0; top: -5%; bottom: -5%;
    width: 52%;
    height: 110%;
    object-fit: cover;
    object-position: center 20%;
    background: #F1EFEC;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
    z-index: 0;
}
.mw-hero__video.is-live { opacity: 1; }
.mw-hero__video { transition: opacity 0.7s ease; }
/* quando il video è visibile la foto sotto non serve più */
.mw-hero__video.is-live + .mw-hero__veil ~ .mw-hero__img,
.mw-hero.has-video .mw-hero__img { transition: opacity 0.9s ease; }
.mw-hero.has-video .mw-hero__img { opacity: 0; }

@media (max-width: 900px) {
    .mw-hero__video { display: none; }
    .mw-hero.has-video .mw-hero__img { opacity: 1 !important; }
}
@media (prefers-reduced-motion: reduce) {
    .mw-hero__video { display: none; }
    .mw-hero.has-video .mw-hero__img { opacity: 1 !important; }
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE — revisione generale
   Tutto racchiuso in media query: il desktop non viene toccato.
   Questo blocco sta in fondo apposta, per vincere sulle regole sopra.
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

    /* ── Barra annunci: un solo messaggio, icone sempre a destra ── */
    .mw-announce {
        height: 34px;
        padding: 0 14px;
        font-size: 9px;
        letter-spacing: 0.12em;
    }
    .mw-announce__text--resi { display: none; }
    .mw-announce__text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mw-announce__right { gap: 0; flex-shrink: 0; }
    .mw-announce__icons { gap: 16px; }

    /* ── Header: hamburger a sinistra, logo al centro ── */
    .mw-header__bar {
        height: 60px;
        grid-template-columns: 1fr auto 1fr;
    }
    .mw-header__left { padding: 0 14px; justify-self: start; }
    .mw-hamburger { display: flex; }
    .mw-header__nav { display: none; }
    .mw-header__right { display: none; }
    .mw-header__logo { padding: 0; }
    .mw-header__logo-top { font-size: 17px; letter-spacing: 0.16em; }
    .mw-header__logo-sub { font-size: 7px; letter-spacing: 0.34em; margin-top: 5px; padding-top: 4px; }

    /* ── Hero ── */
    .mw-hero {
        height: auto;
        min-height: 0;
        display: block;
        padding-bottom: 0;
    }
    .mw-hero__img {
        position: relative;
        right: auto; top: auto; bottom: auto;
        width: 100%;
        height: 62vh;
        opacity: 1 !important;
        transform: none !important;
    }
    .mw-hero__veil { display: none; }
    .mw-hero::before, .mw-hero::after { display: none; }
    .mw-hero__content { padding: 32px 22px 40px; }
    .mw-hero__scroll { display: none; }

    /* ── Griglie a due colonne ── */
    .mw-cats { padding: 36px 16px 24px; }
    .mw-cats__inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mw-collection { padding: 20px 16px 40px; }
    .mw-collection__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mw-arch { padding: 32px 16px 56px; }
    .mw-arch__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mw-related { padding: 40px 16px 56px; }
    .mw-related__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mw-insta { padding: 32px 16px 40px; }
    .mw-insta__grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }

    /* ── Trust: era a 4 colonne fisse, usciva dallo schermo ── */

    /* ── Look ── */
    .mw-looks {
        grid-template-columns: 1fr;
        margin: 0 16px 32px;
        padding: 28px 20px;
        gap: 24px;
    }
    .mw-looks__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* ── Story + recensioni ── */
    .mw-mondo-reviews { grid-template-columns: 1fr; }
    .mw-story {
        grid-template-columns: 1fr;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 32px 20px;
    }
    .mw-story__photo { grid-column: 1; grid-row: auto; max-width: 200px; margin-bottom: 22px; }
    .mw-reviews { padding: 32px 20px; }
    .mw-reviews__list { grid-template-columns: 1fr; gap: 22px; }
    .mw-reviews__head { flex-direction: column; align-items: flex-start; gap: 10px; }

    /* ── Scheda prodotto: una colonna ── */
    .mw-single {
        grid-template-columns: 1fr;
        padding: 20px 16px 0;
        gap: 24px;
    }
    .mw-single__gallery {
        position: static;
        flex-direction: column;
        gap: 10px;
    }
    .mw-single__main-img { max-height: none; order: -1; }
    .mw-single__thumbs {
        flex-direction: row;
        width: 100%;
        order: 1;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 8px;
    }
    .mw-single__thumbs::-webkit-scrollbar { display: none; }
    .mw-single__thumb { width: 62px; flex: 0 0 62px; }
    .mw-single__info { max-width: none; padding: 0 0 40px; }
    .mw-single__title { font-size: 26px; }
    .mw-detail { padding: 36px 16px 44px; margin-top: 32px; }
    .mw-detail__inner { grid-template-columns: 1fr; gap: 16px; }
    .mw-detail__col:first-child { grid-column: auto; }

    /* ── Pagine di testo ── */
    .mw-page { padding: 28px 16px 56px; }
    .mw-page__layout { grid-template-columns: 1fr; gap: 28px; }
    .mw-page__body { padding: 22px 18px; }
    .mw-page__body > * { max-width: none; }
    .mw-page__rail-inner { position: static; }
    .mw-toc { display: none; }
    /* tabelle: scorrono da sole invece di allargare la pagina */
    .mw-prose table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* ── Carrello ── */
    .mw-cart { padding: 28px 16px 56px; }
    .mw-cart__layout { grid-template-columns: 1fr; gap: 28px; }
    .mw-cart__aside { position: static; }

    /* ── Account ── */
    body.woocommerce-account .woocommerce { padding: 28px 16px 56px; }
    .mw-acc__nav ul { gap: 22px; }
    .mw-acc__dash { grid-template-columns: 1fr; }
    .woocommerce-Addresses { grid-template-columns: 1fr; }

    /* ── Checkout ── */
    #mw-checkout { padding: 28px 16px 56px !important; }
    #mw-checkout .mw-checkout-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

    /* ── Footer: due colonne ── */
    .mw-footer { padding: 36px 16px 24px; }
    .mw-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
        margin-bottom: 28px;
    }
    .mw-footer__brand { grid-column: 1 / -1; }
    .mw-footer__news { grid-column: 1 / -1; }
    .mw-footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
    .mw-footer__links { flex-wrap: wrap; gap: 14px; }
}

/* ══════════════════════════════════════════════
   TELEFONO — una sola colonna per le card
   ══════════════════════════════════════════════ */
@media (max-width: 620px) {

    /* Card prodotto e categoria a piena larghezza */
    .mw-cats__inner,
    .mw-collection__grid,
    .mw-arch__grid,
    .mw-related__grid { grid-template-columns: 1fr; gap: 18px; }

    .mw-cats__inner .mw-cats__card:last-child { display: block; }
    .mw-cats__photo { aspect-ratio: 1 / 1; }
    .mw-cats__photo--still { background-size: contain; background-position: center 42%; }
    .mw-cats__name { font-size: 11px; padding: 30px 16px 14px; }

    .mw-prod__img { aspect-ratio: 4 / 5; }
    .mw-prod__name { font-size: 14px; }
    .mw-prod__price { font-size: 13px; }
    .mw-prod__cta { display: none; }

    .mw-insta__grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }


    .mw-looks__grid { grid-template-columns: repeat(2, 1fr); }
    .mw-looks__title { font-size: 26px; }

    /* Titoli di sezione */
    .mw-cats__header,
    .mw-section-eyebrow,
    .mw-insta__label { font-size: 11px; letter-spacing: 0.18em; }
    .mw-cats__all-link,
    .mw-section-more { font-size: 9px; }

    /* Riga capo nel carrello */
    .mw-cart__item { grid-template-columns: 76px 1fr; gap: 14px; }
    .mw-cart__item-img { width: 76px; }
    .mw-cart__item-total { grid-column: 2; text-align: left; margin-top: 10px; }
    .mw-cart__item-name { font-size: 18px; }

    /* Footer in colonna */
    .mw-footer__grid { grid-template-columns: 1fr; gap: 26px; }
    .mw-footer__col ul { gap: 12px; }
    .mw-footer__col ul li a { font-size: 14px; }

    /* Pagine */
    .mw-page__title { font-size: 30px; }
    .mw-prose { font-size: 15px; }
    .mw-detail__label { font-size: 21px; }
}

/* I figli di griglie e flex non scendono sotto il proprio contenuto
   se non glielo si dice: senza questo la pagina si allarga. */
@media (max-width: 900px) {
    .mw-single > *,
    .mw-single__gallery,
    .mw-single__gallery > *,
    .mw-single__info,
    .mw-single__info *,
    .mw-page__layout > *,
    .mw-page__rail-inner,
    .mw-cart__layout > *,
    .mw-detail__inner > *,
    .mw-acc__dash > *,
    .mw-footer__grid > * { min-width: 0; }

    .mw-single__thumbs { max-width: 100%; }
    .mw-page__help-link,
    .mw-acc__data dd,
    .mw-footer__col ul li a { overflow-wrap: anywhere; }

    /* i moduli non devono mai spingere oltre il bordo */
    .mw-single__info input,
    .mw-single__info select,
    .woocommerce-MyAccount-content input,
    .woocommerce-MyAccount-content select,
    #mw-checkout input,
    #mw-checkout select,
    #mw-checkout textarea { max-width: 100%; }
}

/* Annulla il posizionamento di un header precedente (regole legacy ancora in giro):
   spingeva il logo in prima colonna e l'hamburger a destra di esso. */
@media (max-width: 900px) {
    .mw-header__logo {
        grid-column: 2;
        grid-row: auto;
        justify-self: center;
        font-size: inherit;
        letter-spacing: normal;
    }
    .mw-header__left  { grid-column: 1; justify-self: start; }
    .mw-header__right { grid-column: 3; }
}

/* Aree toccabili: nessun controllo sotto i 44px */
@media (max-width: 900px) {
    .mw-swatch-size { min-width: 46px; min-height: 46px; }
    .mw-announce__icon { padding: 6px; }
    .mw-qty__btn { width: 42px; height: 42px; }
    .mw-qty input.qty { height: 42px; }
    .mw-acc__nav li a { padding-top: 14px; padding-bottom: 14px; }
    .mw-footer__col ul li a { display: inline-block; padding: 3px 0; }
}

/* ══════════════════════════════════════════════════════════
   CARRELLO A SCOMPARSA — desktop e mobile
   ══════════════════════════════════════════════════════════ */
.mw-drawer-overlay {
    position: fixed; inset: 0; z-index: 900;
    background: rgba(10,10,10,0.42);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.mw-drawer-overlay.is-on { opacity: 1; }

.mw-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 100%);
    z-index: 950;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.46s cubic-bezier(0.22,1,0.36,1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.10);
    visibility: hidden;
}
.mw-drawer.is-open { transform: translateX(0); visibility: visible; }

/* Testata */
.mw-drawer__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 26px 24px 18px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    position: relative;
}
.mw-drawer__head::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--black);
}
.mw-drawer__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px; font-weight: 600; color: var(--black); margin: 0; line-height: 1;
}
.mw-drawer__count {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); font-variant-numeric: tabular-nums;
}
.mw-drawer__close {
    margin-left: auto;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    color: var(--grey-dark);
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s;
    align-self: center;
}
.mw-drawer__close:hover { color: var(--black); }
.mw-drawer__close svg { width: 20px; height: 20px; }

/* Elenco */
.mw-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 4px 24px;
    -webkit-overflow-scrolling: touch;
}
.mw-drawer__item {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.mw-drawer__item:last-child { border-bottom: none; }
.mw-drawer__img {
    display: block; width: 76px; aspect-ratio: 3/4;
    background: #fff center/contain no-repeat;
    border: 1px solid var(--border);
}
.mw-drawer__info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mw-drawer__name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px; line-height: 1.2; color: var(--black); font-weight: 500;
}
.mw-drawer__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.mw-drawer__meta,
.mw-drawer__meta dl, .mw-drawer__meta dt, .mw-drawer__meta dd {
    font-size: 11px; color: var(--grey-dark); margin: 0; display: inline;
}
.mw-drawer__qty { font-size: 12px; color: var(--grey-dark); font-variant-numeric: tabular-nums; }
.mw-drawer__remove {
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); align-self: flex-start; margin-top: 2px;
    border-bottom: 1px solid transparent; padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}
.mw-drawer__remove:hover { color: var(--black); border-bottom-color: var(--black); }
.mw-drawer__sub {
    font-size: 13px; color: var(--black);
    font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* Piede */
.mw-drawer__foot {
    flex-shrink: 0;
    padding: 20px 24px 24px;
    border-top: 1px solid var(--border);
    background: var(--off-white);
}
.mw-drawer__tot {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 6px;
}
.mw-drawer__tot span {
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--black);
}
.mw-drawer__tot strong {
    font-size: 22px; font-weight: 500; color: var(--black);
    font-variant-numeric: tabular-nums;
}
.mw-drawer__tot .woocommerce-Price-amount { color: var(--black); }
.mw-drawer__nota { font-size: 11px; color: var(--muted); margin: 0 0 16px; }
.mw-drawer__cta {
    display: block; width: 100%; box-sizing: border-box;
    padding: 17px; text-align: center;
    background: var(--black); color: var(--white);
    font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
    transition: background 0.2s;
}
.mw-drawer__cta:hover { background: #2a2a2a; }
.mw-drawer__link {
    display: block; text-align: center; margin-top: 14px;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--grey-dark);
    transition: color 0.2s;
}
.mw-drawer__link:hover { color: var(--black); }

/* Vuoto */
.mw-drawer__vuoto { padding: 48px 24px; }
.mw-drawer__vuoto-tit {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px; color: var(--black); margin: 0 0 8px;
}
.mw-drawer__vuoto-txt { font-size: 13px; color: var(--grey-dark); margin: 0 0 26px; }

/* Pulsante flottante: il carrello resta sempre a portata */
.mw-cart-fab {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 880;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.24);
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.mw-cart-fab:hover { transform: scale(1.06); }
.mw-cart-fab svg { width: 21px; height: 21px; }
.mw-cart-fab__n {
    position: absolute; top: -2px; right: -2px;
    min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 11px;
    background: var(--white); color: var(--black);
    font-size: 11px; font-weight: 500;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
    .mw-cart-fab { display: flex; }
    .mw-drawer { width: 100%; }
    .mw-drawer__head { padding: 20px 18px 16px; }
    .mw-drawer__body { padding: 4px 18px; }
    .mw-drawer__foot { padding: 18px 18px 22px; }
    /* il pulsante non deve coprire il piede del drawer */
    .mw-drawer.is-open ~ .mw-cart-fab { display: none; }
}
body.mw-drawer-aperto { overflow: hidden; }

/* Il contatore sparisce quando il carrello è vuoto */
.mw-cart-count[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    .mw-drawer, .mw-drawer-overlay, .mw-cart-fab { transition: none; }
}

/* ══════════════════════════════════════════════
   MOBILE — correzioni richieste
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {

    /* Barra in cima: più alta e leggibile */
    .mw-announce {
        height: 44px;
        font-size: 10.5px;
        letter-spacing: 0.14em;
        padding: 0 14px;
    }
    .mw-announce__icons { gap: 20px; }
    .mw-announce__icon svg { width: 21px; height: 21px; }
    .mw-cart-count {
        min-width: 17px; height: 17px;
        font-size: 10px;
    }

    /* Logo: si deve vedere */
    .mw-header__bar { height: 72px; }
    .mw-header__logo-top { font-size: 23px; letter-spacing: 0.15em; }
    .mw-header__logo-sub { font-size: 8px; letter-spacing: 0.4em; margin-top: 6px; padding-top: 5px; }
    .mw-hamburger span { width: 26px; }

    /* Nome categoria proporzionato alla card */
    .mw-cats__name { font-size: 19px; padding: 46px 14px 14px; }

    /* Sezione Look: una card per riga, tutto in verticale */
    .mw-looks__grid { grid-template-columns: 1fr; gap: 12px; }
    .mw-looks__item { aspect-ratio: 4 / 5; }

    /* Menu a scomparsa: voci secondarie e accesso utente */
    .mw-mobile-nav--sec {
        margin-top: 28px;
        padding-top: 22px;
        border-top: 1px solid rgba(255,255,255,0.16);
    }
    .mw-mobile-nav--sec li a { font-size: 15px !important; letter-spacing: 0.1em; opacity: 0.75; }
    .mw-mobile-account {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 30px;
        padding: 15px 18px;
        border: 1px solid rgba(255,255,255,0.28);
        font-size: 11px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #fff;
        transition: background 0.2s, color 0.2s;
    }
    .mw-mobile-account svg { width: 18px; height: 18px; flex-shrink: 0; }
    .mw-mobile-account:hover,
    .mw-mobile-account:active { background: #fff; color: var(--black); }
}

@media (max-width: 620px) {
    /* Nome e prezzo prodotto centrati: la griglia a una colonna li vuole in asse */
    .mw-prod__info { text-align: center; padding: 14px 8px 4px; }
    .mw-prod__name { font-size: 15px; margin-bottom: 5px; }
    .mw-prod__price { font-size: 14px; }
    .mw-cats__name { font-size: 20px; }
}

/* ══════════════════════════════════════════════════════════
   RASSICURAZIONI SU TELEFONO — al loro posto, ma strutturate
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .mw-trust {
        grid-template-columns: 1fr;
        background: var(--off-white);
        border-top: none;
        border-bottom: none;
        /* stacco netto dalla banda nera che la precede */
        margin: 40px 16px;
        padding: 8px 20px 12px;
        border: 1px solid var(--border);
        position: relative;
    }
    .mw-trust::before {
        content: '';
        position: absolute; top: -1px; left: -1px; right: -1px;
        height: 2px; background: var(--black);
    }
    .mw-trust__item {
        display: grid;
        grid-template-columns: 22px 1fr;
        column-gap: 14px;
        align-items: start;
        text-align: left;
        padding: 18px 0;
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }
    .mw-trust__item:last-child { border-bottom: none; }

    /* l'icona resta, ma piccola e allineata al titolo */
    .mw-trust__icon {
        display: block;
        width: 20px; height: 20px;
        stroke: var(--black);
        grid-row: 1 / 3;
        margin-top: 1px;
    }
    .mw-trust__title {
        grid-column: 2;
        font-size: 11px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--black);
        font-weight: 500;
        margin-bottom: 5px;
    }
    .mw-trust__desc {
        grid-column: 2;
        font-size: 13px;
        line-height: 1.6;
        color: var(--grey-dark);
    }
}

/* Il testo della storia ora arriva come paragrafi dal Personalizza */
.mw-story__body p { margin: 0 0 16px; }
.mw-story__body p:last-child { margin-bottom: 0; }

/* ── Menu WordPress dentro header e footer ── */
.mw-header__links { list-style: none; display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); margin: 0; padding: 0; }
.mw-header__links li a {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); white-space: nowrap; transition: color 0.2s;
}
.mw-header__links li a:hover { color: var(--black); }

.mw-footer__col ul { list-style: none; padding: 0; }
.mw-footer__plain { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.mw-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; }
.mw-footer__legal li a {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.55); transition: color 0.2s;
}
.mw-footer__legal li a:hover { color: #fff; }

@media (max-width: 900px) {
    .mw-header__links { display: none; }
}

/* ══════════════════════════════════════════════════════════
   ORDINE RICEVUTO — form login (utente registrato)
   ══════════════════════════════════════════════════════════ */
/* Solo quando WooCommerce mostra il form di login al posto dell'ordine:
   senza :has() questo strozzerebbe anche il layout .mw-order a 560px. */
.woocommerce-order-received .woocommerce:has(.woocommerce-form-login) {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 72px 56px 100px;
    box-sizing: border-box;
}

.woocommerce-order-received .woocommerce-notice--success {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--black);
    line-height: 1.1;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.woocommerce-order-received .woocommerce-info[role="status"] {
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--grey-dark);
    background: var(--off-white);
    border: 1px solid var(--border);
    border-left: 2px solid var(--black);
    padding: 16px 20px;
    margin-bottom: 32px;
    line-height: 1.6;
}
.woocommerce-order-received .woocommerce-info[role="status"]::before { display: none; }

/* Form login nella pagina ordine */
.woocommerce-order-received .woocommerce-form-login .form-row { margin-bottom: 22px; }
.woocommerce-order-received .woocommerce-form-login label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-dark);
    margin-bottom: 10px;
}
.woocommerce-order-received .woocommerce-form-login label .required { display: none; }
.woocommerce-order-received .woocommerce-form-login .input-text {
    width: 100%;
    height: 52px;
    border: 1px solid #b8b2a8;
    padding: 0 18px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--black);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s;
    box-sizing: border-box;
}
.woocommerce-order-received .woocommerce-form-login .input-text:focus { border-color: var(--black); outline: none; }
.woocommerce-order-received .woocommerce-form-login .password-input { display: block; position: relative; }
.woocommerce-order-received .woocommerce-form-login .password-input .input-text { padding-right: 48px; }
.woocommerce-order-received .woocommerce-form-login .show-password-input {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; padding: 4px; color: var(--grey);
}
.woocommerce-order-received .woocommerce-form-login .woocommerce-form__label-for-checkbox {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--grey-dark); cursor: pointer;
}
.woocommerce-order-received .woocommerce-form-login .woocommerce-form__input-checkbox {
    width: 16px !important; height: 16px !important;
}
.woocommerce-order-received .woocommerce-form-login .woocommerce-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: #fff;
    border: none;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    margin-top: 8px;
}
.woocommerce-order-received .woocommerce-form-login .woocommerce-button:hover { background: #333; }
.woocommerce-order-received .woocommerce-form-login .lost_password {
    margin-top: 18px; text-align: center;
}
.woocommerce-order-received .woocommerce-form-login .lost_password a {
    font-size: 12px; letter-spacing: 0.06em; color: var(--grey-dark);
    text-decoration: underline; text-underline-offset: 3px;
}
.woocommerce-order-received .woocommerce-form-login .clear { clear: both; }
/* float per form-row-first / form-row-last */
.woocommerce-order-received .form-row-first { float: left; width: calc(50% - 8px); }
.woocommerce-order-received .form-row-last  { float: right; width: calc(50% - 8px); }

@media (max-width: 768px) {
    .woocommerce-order-received .woocommerce { padding: 40px 20px 80px; }
    .woocommerce-order-received .form-row-first,
    .woocommerce-order-received .form-row-last { float: none; width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   ORDINE RICEVUTO — template mw-order (ordine visibile)
   ══════════════════════════════════════════════════════════ */
.mw-order {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 56px 100px;
    box-sizing: border-box;
}

/* Breadcrumb */
.mw-order__crumbs {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--grey); margin-bottom: 28px;
}
.mw-order__crumbs a { color: var(--grey); text-decoration: none; }
.mw-order__crumbs a:hover { color: var(--black); }
.mw-order__crumbs-cur { color: var(--black); }

/* Intestazione — ora nella colonna sinistra del grid */
.mw-order__head {
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}
/* Versione full-width per ordine fallito (fuori dal grid) */
.mw-order__head--failed {
    max-width: 680px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 52px;
}
.mw-order__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 14px;
}
.mw-order__sub {
    font-size: 15px;
    color: var(--grey-dark);
    line-height: 1.65;
}

/* Pulsanti area failed */
.mw-order__actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }

/* Layout 2 colonne */
.mw-order__layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 72px;
    align-items: start;
    margin-bottom: 56px;
}

/* Titoli sezione */
.mw-order__section-title {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    font-weight: normal; color: var(--black);
    padding-bottom: 18px; border-bottom: 2px solid var(--black);
    margin-bottom: 0;
}

/* Lista articoli */
.mw-order__item {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.mw-order__img {
    display: block;
    width: 88px; height: 110px;
    background: var(--off-white) center/contain no-repeat;
    flex-shrink: 0;
}
.mw-order__info { display: flex; flex-direction: column; gap: 6px; }
.mw-order__name {
    font-size: 15px; color: var(--black); font-weight: 500;
    text-decoration: none; line-height: 1.4;
}
.mw-order__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.mw-order__meta { font-size: 13px; color: var(--grey-dark); }
.mw-order__qty { font-size: 12px; letter-spacing: 0.06em; color: var(--grey); }

/* Aside riepilogo */
.mw-order__summary {
    background: var(--off-white);
    padding: 36px 32px 38px;
}
.mw-order__summary-title {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    font-weight: normal; color: var(--black);
    padding-bottom: 18px; border-bottom: 2px solid var(--black);
    margin-bottom: 0;
}
.mw-order__lines { margin: 0; padding: 0; }
.mw-order__line {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 20px;
    padding: 14px 0; border-bottom: 1px solid #ddd8cf;
    font-size: 14px;
}
.mw-order__line dt { color: var(--grey-dark); font-weight: normal; flex-shrink: 0; }
.mw-order__line dd {
    color: var(--black); margin: 0;
    text-align: right;
    overflow-wrap: anywhere;
}
.mw-order__free { color: var(--grey-dark); }
.mw-order__total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 20px 0 0;
    font-size: 15px; color: var(--black);
}
.mw-order__total strong { font-size: 20px; }

/* CTA */
.mw-order__cta {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: #fff;
    border: none;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    margin-top: 28px;
    box-sizing: border-box;
}
.mw-order__cta:hover { background: #333; color: #fff; }
.mw-order__link {
    font-size: 13px; color: var(--grey-dark);
    text-decoration: underline; text-underline-offset: 3px;
}

/* Indirizzi */
.mw-order__addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    border-top: 1px solid var(--border);
    padding-top: 48px;
}
.mw-order__addr-card {
    position: relative;
    padding: 28px 28px 28px;
    border: 1px solid var(--border);
}
.mw-order__addr-card::before {
    content: '';
    position: absolute; top: -1px; left: -1px; right: -1px;
    height: 2px; background: var(--black);
}
.mw-order__addr-title {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    font-weight: normal; color: var(--black);
    margin-bottom: 16px;
}
.mw-order__addr-card address {
    font-style: normal; font-size: 14px; color: var(--grey-dark); line-height: 1.8;
}
.mw-order__addr-extra { font-size: 14px; color: var(--grey-dark); margin-top: 8px; }

/* Messaggio generico fallback */
.mw-order__generic {
    font-size: 18px; color: var(--grey-dark);
    padding: 80px 0; text-align: center;
}

@media (max-width: 1024px) {
    .mw-order { padding: 40px 20px 80px; }
    .mw-order__layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
    .mw-order { padding: 32px 18px 90px; }
    .mw-order__item { grid-template-columns: 72px 1fr; }
    .mw-order__item > .mw-order__sub { grid-column: 2; }
    .mw-order__addresses { grid-template-columns: 1fr; }
    .mw-order__actions { flex-direction: column; align-items: flex-start; }
}
