/* ===========================
   Film & Grain v3 — Animated
   =========================== */

:root {
    --color-bg: #FAF6F1;
    --color-bg-alt: #F0E8DD;
    --color-text: #2C2420;
    --color-text-muted: #6B5E54;
    --color-gold: #C8A96E;
    --color-gold-dark: #B8963E;
    --color-gold-light: #E8D5A8;
    --color-brown: #3D2E1E;
    --color-brown-deep: #2A1E10;
    --color-white: #FFFFFF;
    --color-border: #E0D5C7;
    --color-red: #D94F3D;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-price: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 3px rgba(44,36,32,0.06);
    --shadow-md: 0 4px 16px rgba(44,36,32,0.10);
    --shadow-lg: 0 8px 32px rgba(44,36,32,0.14);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --nav-h: 52px;

    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}


/* === Reset === */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* ===========================
   NAV
   =========================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    padding: 0 1rem;
    background: rgba(250,246,241,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s;
}

.nav.is-scrolled {
    box-shadow: 0 2px 20px rgba(44,36,32,0.08);
}

.nav__brand {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.nav__brand em { font-style: italic; color: var(--color-gold); }

.nav__right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav__badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    display: none;
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: var(--color-gold);
    color: var(--color-brown);
    border-radius: var(--radius-full);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(200,169,110,0.3);
}
.nav__cta:hover {
    background: var(--color-gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200,169,110,0.45);
}
.nav__cta:active { transform: translateY(0); }


/* ===========================
   HERO
   =========================== */

.hero {
    position: relative;
    min-height: calc(100dvh - var(--nav-h));
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero__bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(80px, 40vw, 280px);
    font-weight: 700;
    color: var(--color-bg-alt);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
    opacity: 0.6;
    letter-spacing: -0.03em;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* ===========================
   GALLERY (mobile)
   =========================== */

.gallery {
    background: var(--color-white);
    flex-shrink: 0;
}

.gallery__carousel {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* will-change removed for perf */
}
.gallery__carousel::-webkit-scrollbar { display: none; }

.gallery__slide {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
}
.gallery__slide img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    display: block;
}

.gallery__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0.75rem 0;
    background: var(--color-white);
}

.gallery__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--color-border);
    transition: all 0.3s var(--ease-bounce);
    padding: 0;
}
.gallery__dot--active {
    background: var(--color-gold);
    width: 22px;
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

/* Barra di progresso autoplay sul dot attivo */
.gallery__dot--active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: rgba(255,255,255,0.5);
    border-radius: var(--radius-full);
    animation: dotProgress 3s linear forwards;
}

@keyframes dotProgress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* Desktop: hidden on mobile */
.gallery__main { display: none; }
.gallery__thumbs { display: none; }


/* ===========================
   INFO PANEL
   =========================== */

.info {
    padding: 1.25rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

/* Trust bar */
.info__trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
    animation: slideDown 0.5s var(--ease-out) 0.1s both;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-full);
}

.info__label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.35rem;
    animation: slideDown 0.5s var(--ease-out) 0.15s both;
}

.info__title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.15rem;
    animation: slideDown 0.55s var(--ease-out) 0.2s both;
}
.info__title-accent { color: var(--color-gold); }

.info__subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    animation: slideDown 0.55s var(--ease-out) 0.25s both;
}

.info__desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0.9rem;
    animation: slideDown 0.55s var(--ease-out) 0.28s both;
}
.info__desc strong { color: var(--color-text); }

.info__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
    animation: slideDown 0.55s var(--ease-out) 0.3s both;
}

.info__spec {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    padding: 0.28rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}

/* Film notice */
.info__film-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    background: #FFF8EE;
    border: 1px solid rgba(200,169,110,0.4);
    border-left: 3px solid var(--color-gold);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    animation: slideDown 0.55s var(--ease-out) 0.31s both;
}
.info__film-notice svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--color-gold-dark);
}
.info__film-notice strong {
    color: var(--color-text);
}

.info__divider {
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold) 0%, transparent 70%);
    margin-bottom: 0.9rem;
    opacity: 0.5;
    animation: slideDown 0.5s var(--ease-out) 0.32s both;
}


/* PRICE */

.info__price-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    animation: slideDown 0.55s var(--ease-out) 0.34s both;
}

.info__price-left { display: flex; flex-direction: column; gap: 0.1rem; }

.info__price-original {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strikethrough {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.discount-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--color-red);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-full);
}

.info__price {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    letter-spacing: -0.02em;
}
.info__cents {
    font-size: 1rem;
    vertical-align: super;
}

.info__no-hidden {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    opacity: 0.6;
}

.info__secure-note {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    color: var(--color-text-muted);
    opacity: 0.55;
    margin-top: -0.4rem;
    margin-bottom: 0.6rem;
}
.info__secure-note svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.info__shipping {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.info__shipping svg {
    display: none;
}


/* STOCK URGENCY */

.stock-urgency {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E6 100%);
    border: 1.5px solid rgba(200,169,110,0.35);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.9rem;
    animation: slideDown 0.55s var(--ease-out) 0.36s both;
}

.stock-urgency__top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.stock-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-red);
    flex-shrink: 0;
    position: relative;
}
.stock-dot-live::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(217,79,61,0.3);
    animation: sonar 1.8s ease-out infinite;
}

.stock-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
}
.stock-text strong {
    color: var(--color-red);
    font-size: 0.95rem;
}

.stock-bar {
    height: 5px;
    background: rgba(200,169,110,0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.stock-bar__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-red), #E87A5A);
    border-radius: var(--radius-full);
    transition: width 1.2s var(--ease-out);
}

.stock-warning {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.stock-warning svg {
    color: var(--color-gold-dark);
    flex-shrink: 0;
}


/* BUY BUTTON */

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-brown-deep);
    background: var(--color-gold);
    border-radius: var(--radius-md);
    transition: background 0.18s, transform 0.15s;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 0.75rem;
    animation: slideDown 0.55s var(--ease-out) 0.38s both;
}

.btn-buy:active {
    transform: scale(0.98);
    background: var(--color-gold-dark);
}

.btn-buy__text { }
.btn-buy__arrow {
    font-size: 1rem;
}

/* White variant (final CTA section) */
.btn-buy--white {
    background: var(--color-white);
    color: var(--color-brown-deep);
}
.btn-buy--white:active {
    background: var(--color-bg);
}


/* PAYMENT METHODS */

.pay-methods {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
    animation: slideDown 0.5s var(--ease-out) 0.4s both;
}

.pay-icon {
    height: 26px;
    width: auto;
    opacity: 0.55;
    transition: opacity 0.2s;
    object-fit: contain;
    flex-shrink: 0;
}
.pay-icon:hover { opacity: 0.85; }
.pay-icon--gpay { height: 22px; }


/* TRUST SECURE */

.info__trust-secure {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.67rem;
    color: var(--color-text-muted);
    opacity: 0.55;
    animation: slideDown 0.5s var(--ease-out) 0.42s both;
}
.info__trust-secure svg { flex-shrink: 0; }


/* ===========================
   SCROLL INDICATOR
   =========================== */

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.25rem 0;
    background: var(--color-bg);
    animation: fadeIn 0.6s ease 1.2s both;
}

.scroll-indicator span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: rotate(45deg);
    opacity: 0.5;
    animation: bobArrow 1.4s ease-in-out infinite;
}


/* ===========================
   SECTIONS (scroll content)
   =========================== */

.section {
    padding: 3.5rem 1rem;
}

.section--dark {
    background: var(--color-brown);
    color: var(--color-bg);
}

.section--cream {
    background: var(--color-bg);
}

.section--cta {
    background: linear-gradient(145deg, var(--color-brown-deep) 0%, var(--color-brown) 60%, #5C3D1E 100%);
    color: var(--color-bg);
    text-align: center;
}

.section__container {
    max-width: 900px;
    margin: 0 auto;
}

.section__container--narrow {
    max-width: 560px;
    text-align: center;
}

.section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section__eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.5rem;
}
.section__eyebrow--light {
    color: var(--color-gold);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}
.section__title em { color: var(--color-gold); font-style: italic; }
.section__title--white { color: var(--color-white); }
.section__title--white em { color: var(--color-gold); }

.section__body {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}
.section__body--light {
    color: rgba(250,246,241,0.65);
}


/* Scroll-animate */

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-child] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
[data-animate-child].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===========================
   LEGACY GRID
   =========================== */

.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.legacy-card {
    background: rgba(250,246,241,0.07);
    border: 1px solid rgba(250,246,241,0.1);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
    transition: background 0.2s, transform 0.2s;
}
.legacy-card:hover {
    background: rgba(250,246,241,0.1);
    transform: translateY(-2px);
}

.legacy-card__icon {
    margin-bottom: 0.65rem;
    color: var(--color-gold);
    display: flex;
}

.legacy-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--color-bg);
}

.legacy-card p {
    font-size: 0.78rem;
    color: rgba(250,246,241,0.6);
    line-height: 1.55;
}


/* ===========================
   STEPS (how to use)
   =========================== */

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--color-border);
}
.step:last-child { border-bottom: none; }

.step__num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.4;
    line-height: 1;
    flex-shrink: 0;
    width: 2.5rem;
    text-align: right;
}

.step__content h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--color-text);
}

.step__content p {
    font-size: 0.83rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}


/* ===========================
   SPECS TABLE
   =========================== */

.specs-table {
    display: flex;
    flex-direction: column;
}

.specs-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(250,246,241,0.08);
}
.specs-row:last-child { border-bottom: none; }

.specs-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(250,246,241,0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}

.specs-value {
    font-size: 0.88rem;
    color: rgba(250,246,241,0.9);
    text-align: right;
}


/* ===========================
   PHOTOS GRID
   =========================== */

.photos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.photo-card {
    position: relative;
}

.photo-card__frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.photo-card__frame:hover {
    transform: scale(1.015);
    box-shadow: 0 16px 48px rgba(44,36,32,0.2);
}

.photo-card__frame img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    filter: sepia(8%) saturate(90%) contrast(102%);
    transition: filter 0.3s;
}
.photo-card__frame:hover img {
    filter: sepia(5%) saturate(95%) contrast(103%);
}

/* Film border effect */
.photo-card__frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid rgba(0,0,0,0.12);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
}

.photo-card__caption {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* ===========================
   CTA SECTION
   =========================== */

.cta-price-block {
    margin: 1.25rem 0;
}

.cta-price-original {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.strikethrough-white {
    font-size: 1rem;
    color: rgba(250,246,241,0.45);
    text-decoration: line-through;
}

.discount-badge--white {
    background: rgba(250,246,241,0.15);
    border: 1px solid rgba(250,246,241,0.25);
    color: var(--color-gold);
}

.cta-price {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    letter-spacing: -0.02em;
}
.cta-cents {
    font-size: 1.25rem;
    vertical-align: super;
}

.cta-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: rgba(250,246,241,0.55);
}
.cta-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.cta-trust svg {
    opacity: 0.7;
}


/* ===========================
   RECENSIONI
   =========================== */

.reviews-aggregate {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.5rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.reviews-aggregate__score {
    font-family: var(--font-price);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.reviews-aggregate__right {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.reviews-stars {
    display: flex;
    gap: 2px;
}

.reviews-stars svg {
    width: 14px;
    height: 14px;
    color: var(--color-gold);
}

.reviews-stars--lg svg {
    width: 18px;
    height: 18px;
}

.reviews-aggregate__label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.review-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.review-card__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-card__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-brown);
    color: rgba(250,246,241,0.9);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    flex: 1;
}

.review-card__meta strong {
    font-size: 0.88rem;
    color: var(--color-text);
}

.review-card__meta span {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.review-card__stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.review-card__stars svg {
    width: 13px;
    height: 13px;
    color: var(--color-gold);
}

.review-card__text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.review-card__photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.review-card__photo img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
    filter: sepia(8%) saturate(90%) contrast(102%);
}

.review-card__photo span {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
    letter-spacing: 0.03em;
}

.review-card__date {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    opacity: 0.5;
    letter-spacing: 0.02em;
}

@media (min-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ===========================
   FAQ
   =========================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-gold-dark);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--color-gold);
    transition: transform 0.3s var(--ease-bounce);
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease-out);
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer__inner {
    overflow: hidden;
}

.faq-answer p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    padding-bottom: 1.1rem;
}


/* ===========================
   INSTAGRAM BANNER
   =========================== */

.ig-banner {
    background: linear-gradient(135deg, #833AB4 0%, #C13584 45%, #E1306C 75%, #F77737 100%);
    padding: 2rem 1rem;
}

.ig-banner__inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.ig-banner__icon {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.ig-banner__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ig-banner__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.ig-banner__handle {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.ig-banner__sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.ig-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.4rem;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255,255,255,0.4);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.ig-banner__btn:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-1px);
}

.ig-banner__btn:active {
    transform: translateY(0);
}

@media (min-width: 600px) {
    .ig-banner__inner {
        flex-direction: row;
        text-align: left;
        gap: 1.25rem;
    }

    .ig-banner__text {
        flex: 1;
    }

    .ig-banner__btn {
        flex-shrink: 0;
    }
}


/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--color-brown-deep);
    padding: 1.5rem 1rem;
    text-align: center;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(250,246,241,0.5);
    font-weight: 600;
}
.footer__brand em { color: var(--color-gold); font-style: italic; }

.footer__copy {
    font-size: 0.68rem;
    color: rgba(250,246,241,0.25);
}


/* ===========================
   KEYFRAMES
   =========================== */

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes sonar {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

@keyframes shimmer {
    0%   { left: -80%; }
    55%  { left: 130%; }
    100% { left: 130%; }
}

@keyframes bobArrow {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(4px); }
}


/* ===========================
   ACCESSIBILITY
   =========================== */

:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}


/* ===========================
   TABLET 600px+
   =========================== */

@media (min-width: 600px) {

    .nav__badge { display: inline-flex; }

    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .legacy-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ===========================
   TABLET 768px+ — 2 COLUMN
   =========================== */

@media (min-width: 768px) {

    .hero {
        flex-direction: row;
    }

    .hero__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: calc(100dvh - var(--nav-h));
        width: 100%;
    }

    /* Gallery left, sticky */
    .gallery {
        position: sticky;
        top: var(--nav-h);
        height: calc(100dvh - var(--nav-h));
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        gap: 0.75rem;
    }

    .gallery__carousel { display: none; }
    .gallery__dots { display: none; }

    .gallery__main {
        display: block;
        flex: 1;
        min-height: 0;
    }
    .gallery__main-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius-xl);
        transition: opacity 0.22s ease;
    }

    .gallery__thumbs {
        display: flex;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    .gallery__thumb {
        flex: 1;
        border-radius: var(--radius-md);
        overflow: hidden;
        border: 2px solid transparent;
        opacity: 0.5;
        transition: all 0.2s;
        padding: 0;
    }
    .gallery__thumb:hover { opacity: 0.75; }
    .gallery__thumb--active { border-color: var(--color-gold); opacity: 1; }
    .gallery__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }

    /* Info right */
    .info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2.5rem 2rem 2.5rem 1.75rem;
        overflow-y: auto;
        max-height: calc(100dvh - var(--nav-h));
    }

    .info__title { font-size: 2.6rem; }
    .info__price { font-size: 2.2rem; }
    .info__shipping { display: flex; flex-direction: column; gap: 0.15rem; align-items: flex-start; }
    .info__shipping svg { display: block; }

    .pay-methods { justify-content: flex-start; }
    .info__trust-secure { justify-content: flex-start; }

    .scroll-indicator { display: none; }
}


/* ===========================
   DESKTOP 1024px+
   =========================== */

@media (min-width: 1024px) {

    .nav { padding: 0 2rem; }

    .gallery { padding: 2.5rem; }

    .info {
        padding: 3rem 3rem 3rem 2.5rem;
    }

    .info__title { font-size: 3.2rem; }
    .info__price { font-size: 2.4rem; }
    .info__desc { font-size: 0.9rem; }

    .btn-buy { max-width: 380px; }

    .section { padding: 5rem 2rem; }
}


/* ===========================
   LARGE DESKTOP 1280px+
   =========================== */

@media (min-width: 1280px) {

    .info { padding: 3.5rem 4rem 3.5rem 3rem; }
    .info__title { font-size: 3.5rem; }
}


/* ===========================
   TOP URGENCY BAR
   =========================== */

.top-bar {
    background: var(--color-brown);
    color: rgba(250,246,241,0.75);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    font-size: 0.72rem;
    text-align: center;
    flex-wrap: wrap;
    line-height: 1.4;
}

.top-bar__text strong {
    color: var(--color-gold);
}

.top-bar__cta {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-gold);
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 2px;
    flex-shrink: 0;
}


/* ===========================
   MINI STAR RATING (hero)
   =========================== */

.info__mini-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    animation: slideDown 0.55s var(--ease-out) 0.27s both;
}

.mini-stars {
    color: var(--color-gold);
    font-size: 0.88rem;
    letter-spacing: 1px;
    line-height: 1;
}

.mini-rating-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.mini-sep {
    opacity: 0.5;
}


/* ===========================
   RECENT ORDERS FOMO
   =========================== */

.recent-orders {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: -0.25rem;
    margin-bottom: 0.75rem;
    animation: slideDown 0.5s var(--ease-out) 0.39s both;
}

.recent-orders__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-red);
    flex-shrink: 0;
    position: relative;
}

.recent-orders__dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: rgba(217, 79, 61, 0.3);
    animation: sonar 1.8s ease-out infinite;
}


/* ===========================
   PHOTOS GRID 4 (2x2 mobile)
   =========================== */

.photos-grid--4 {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.photos-grid--4 .photo-card__frame img {
    aspect-ratio: 1 / 1;
}

@media (min-width: 600px) {
    .photos-grid.photos-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.photos-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.55;
}


/* ===========================
   WAREHOUSE IMAGE (legacy section)
   =========================== */

.warehouse-img-wrap {
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.warehouse-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    filter: sepia(25%) saturate(75%) brightness(0.85);
}

.warehouse-caption {
    text-align: center;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 246, 241, 0.35);
    margin-top: 0.75rem;
}

@media (min-width: 600px) {
    .warehouse-img {
        height: 220px;
    }
}


/* ===========================
   STEPS COMPACT (2x2 grid)
   =========================== */

.steps-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.step-compact {
    background: rgba(250, 246, 241, 0.07);
    border: 1px solid rgba(250, 246, 241, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1rem;
}

.step-compact__num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.45;
    margin-bottom: 0.45rem;
    line-height: 1;
}

.step-compact h3 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-bg);
    margin-bottom: 0.3rem;
    line-height: 1.25;
}

.step-compact p {
    font-size: 0.76rem;
    color: rgba(250, 246, 241, 0.5);
    line-height: 1.5;
}

@media (min-width: 600px) {
    .steps-compact {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ===========================
   STICKY BUY BAR (mobile)
   =========================== */

.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: var(--color-brown-deep);
    border-top: 1px solid rgba(200, 169, 110, 0.3);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transform: translateY(100%);
    transition: transform 0.35s var(--ease-out);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.sticky-bar.is-visible {
    transform: translateY(0);
}

.sticky-bar__left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.sticky-bar__name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-bg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-bar__sub {
    font-size: 0.63rem;
    color: var(--color-gold);
    font-weight: 500;
    white-space: nowrap;
}

.sticky-bar__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1.15rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-brown-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 10px rgba(200, 169, 110, 0.4);
    white-space: nowrap;
}

.sticky-bar__btn:active {
    transform: scale(0.97);
}

/* Padding body su mobile per sticky bar */
@media (max-width: 767px) {
    body {
        padding-bottom: 74px;
    }
}

/* Su desktop nascondi la sticky bar (il layout 2-col mantiene CTA visibile) */
@media (min-width: 768px) {
    .sticky-bar {
        display: none;
    }
}


/* ===========================
   MOBILE PERF: reduce animations
   =========================== */

@media (max-width: 767px) {
    .info__trust-bar,
    .info__label,
    .info__title,
    .info__subtitle,
    .info__desc,
    .info__specs,
    .info__film-notice,
    .info__divider,
    .info__price-block,
    .stock-urgency,
    .btn-buy,
    .pay-methods,
    .info__trust-secure,
    .recent-orders,
    .info__mini-rating {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .discount-badge,
    .discount-badge--white {
        animation: none;
    }

    .stock-dot-live::after,
    .recent-orders__dot::after {
        animation: sonar 2.5s ease-out infinite;
    }

    .gallery__dot--active::after {
        animation: dotProgress 3s linear forwards;
    }

    .photo-card__frame {
        box-shadow: var(--shadow-md);
    }
    .photo-card__frame:hover {
        transform: none;
    }

    .nav {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}


/* ===========================
   PHOTO BADGE (Nuova · Scatola Originale)
   =========================== */

.gallery__slide--badge {
    position: relative;
}

.photo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(61, 46, 30, 0.88);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
}

.photo-badge--desktop {
    display: none;
}

@media (min-width: 768px) {
    .photo-badge--desktop {
        display: inline-flex;
        top: 16px;
        left: 16px;
    }

    .gallery__main {
        position: relative;
    }
}


/* ===========================
   STOCK NOTE (simple, honest)
   =========================== */

.stock-note {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.9rem;
    text-align: center;
}


/* ===========================
   PRICE REASON
   =========================== */

.price-reason {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.75rem;
    background: #FFF8EE;
    border-left: 3px solid var(--color-gold);
    border-radius: var(--radius-sm);
}


/* ===========================
   PHOTOS GRID BIG (full-width mobile)
   =========================== */

.photos-grid--big {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.photos-grid--big .photo-card__frame img {
    aspect-ratio: 3 / 2;
}

.photos-grid--big .photo-card__caption {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

@media (min-width: 600px) {
    .photos-grid.photos-grid--big {
        grid-template-columns: 1fr 1fr;
    }
}


/* ===========================
   GUARANTEE BOX
   =========================== */

.guarantee-box {
    text-align: center;
    background: var(--color-bg-alt);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
}

.guarantee-box__icon {
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.guarantee-box__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.guarantee-box__text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

