/* =========================================================================
   Tema green — garden / outdoor
   Caricato dopo theme.css (brand.php > custom_css). Colori: variabili --brand-* da brand.php.
   Header e footer verde bosco, contenuto in un pannello bianco arrotondato che si sovrappone
   all'header, call to action verde lime, titoli Montserrat maiuscoli, card pulite con bordo sottile.
   ========================================================================= */

:root {
  --green-dark: var(--brand-secondary);
  --green-cta: var(--brand-accent);
  --green-cta-hover: color-mix(in srgb, var(--brand-accent) 82%, #000);
  --green-lime: color-mix(in srgb, var(--brand-accent) 65%, #fff);   /* lime chiaro su fondi scuri */
  --green-soft: #f1f4f1;                                               /* fondi tenui (cerchi, fasce) */
  --green-line: var(--brand-border);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { letter-spacing: -.01em; }

/* ---------------------------------------------------------------- Pulsanti */
.btn { font-weight: 700; }
.btn-primary { box-shadow: none; }
.btn-cta {
  --bs-btn-color: #fff; --bs-btn-bg: var(--green-cta); --bs-btn-border-color: var(--green-cta);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--green-cta-hover); --bs-btn-hover-border-color: var(--green-cta-hover);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--green-cta-hover); --bs-btn-active-border-color: var(--green-cta-hover);
  --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: var(--green-cta); --bs-btn-disabled-border-color: var(--green-cta);
  text-transform: uppercase; letter-spacing: .03em;
}

/* ------------------------------------------------------------------ Header */
.site-header { border-bottom: 0; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.topbar { font-size: .78rem; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--green-lime); }
.topbar__usp li a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__usp .icon, .topbar__help .icon { color: var(--green-lime); }

@media (min-width: 992px) {
  .mainbar__inner {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "burger logo search actions";
    gap: 1.5rem; min-height: 96px;
  }
  .mainbar__search { max-width: 560px; }
  .is-focus .mainbar__inner { grid-template-columns: auto 1fr auto; grid-template-areas: "logo . actions"; }
}
.mainbar__burger { color: var(--brand-header-text); }
#search_box #search { background: #fff; border: 0; height: 46px; color: var(--brand-text); }
#search_box #search:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-cta) 55%, transparent); }
#search_box .input-group-btn .btn { background: transparent; color: var(--brand-text); box-shadow: none; }
#search_box .input-group-btn .btn:hover { color: var(--brand-primary); }

/* Azioni: icona sopra, etichetta sotto */
.header-action__link, #cartitem, #login_box #p_login_form a.accedi { color: #fff; }
.header-action__link:hover, #cartitem:hover, #login_box a.accedi:hover { background: rgba(255, 255, 255, .1); color: #fff; }
#cartitem.cart_full { color: #fff; }
@media (min-width: 992px) {
  .header-action__link, #cartitem, #login_box #p_login_form a.accedi { flex-direction: column; gap: .15rem; padding: .35rem .7rem; font-size: .75rem; font-weight: 500; }
  .header-action__label { display: inline; margin: 0; max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-action .badge, #num_item { left: auto; right: .55rem; top: .1rem; }
}
.header-action .badge, #num_item { background: var(--brand-danger); color: #fff; border-color: var(--brand-header-bg); }

/* Menu categorie: voci maiuscole distribuite su tutta la larghezza */
.catnav { border-top: 1px solid rgba(255, 255, 255, .08); }
.catnav__list { justify-content: space-between; }
.catnav__link { text-transform: uppercase; font-family: var(--brand-font-heading); font-weight: 700; font-size: .82rem; letter-spacing: .02em; padding: 1rem .75rem; }
.catnav__link::after { background: var(--green-lime); height: 3px; bottom: 0; }
.catnav__item:hover > .catnav__link, .catnav__item.sel > .catnav__link { color: var(--green-lime); }
.catnav__toggle { color: rgba(255, 255, 255, .7); }
.catnav__toggle:hover { color: var(--green-lime); background: rgba(255, 255, 255, .08); }
.catnav__panel-title { font-family: var(--brand-font-heading); text-transform: uppercase; }

/* ----------------------------------------------- Pannello bianco sovrapposto */
.page-stage { display: none; }
@media (min-width: 992px) {
  .page-stage { display: block; height: 2.75rem; background: var(--brand-header-bg); }
  .page-panel {
    position: relative; margin: -2.75rem auto 0; width: calc(100% - 2.5rem); max-width: calc(var(--brand-container) + 1.5rem);
    background: var(--brand-surface); border-radius: 1.5rem 1.5rem 0 0; padding-top: .5rem; min-height: 40vh;
  }
}
@media (max-width: 991.98px) { .page-panel { background: var(--brand-surface); } }
main, #account-container { padding-top: 1.25rem; }
.breadcrumb-wrap { padding-top: 1rem; }
.breadcrumb { font-size: .8rem; }

/* --------------------------------------------------------- Titoli sezione */
.section-head { align-items: flex-end; margin-bottom: 1.25rem; }
.section-title {
  display: inline-flex; align-items: center; gap: .5rem; position: relative; margin: 0; padding-bottom: .55rem;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); text-transform: uppercase; font-weight: 700;
}
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.75rem; height: 3px; border-radius: 3px; background: var(--green-cta); }
.section-title .icon { color: var(--green-cta); }
.section-link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .85rem; color: var(--brand-primary); white-space: nowrap; }
.section-link:hover { color: var(--green-cta-hover); }
.home-section, .related { margin-top: 2.5rem; }

/* ------------------------------------------------------------------- Home */
.home-hero { margin-top: .5rem; }
.hero-carousel { position: relative; border-radius: 1.25rem; box-shadow: none; }
.hero-carousel.has-copy::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 28, 22, .94) 0%, rgba(8, 28, 22, .72) 38%, rgba(8, 28, 22, 0) 70%);
}
.hero-carousel .carousel-indicators { z-index: 3; justify-content: flex-start; margin: 0 0 1.25rem clamp(1.5rem, 1rem + 2.5vw, 3.25rem); }
.hero-carousel .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; opacity: .5; }
.hero-carousel .carousel-indicators .active { background: var(--green-lime); opacity: 1; }
.hero-copy {
  position: absolute; z-index: 2; inset: 0 auto 0 0; width: min(560px, 62%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .9rem;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.25rem); color: #fff; pointer-events: none;
}
.hero-copy a { pointer-events: auto; }
.hero-copy__title {
  margin: 0; color: #fff; text-transform: uppercase; font-weight: 800; line-height: .98; letter-spacing: -.02em;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.9rem);
}
.hero-copy__title span { display: block; color: var(--green-lime); }
.hero-copy__text { margin: 0; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); max-width: 30ch; }
.hero-copy__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.hero-copy__points li { display: flex; align-items: center; gap: .55rem; }
.hero-copy__points .icon { color: var(--green-lime); font-size: 1.15rem; }
.hero-plain { position: relative; border-radius: 1.25rem; min-height: 360px; background: radial-gradient(70% 120% at 100% 0, color-mix(in srgb, var(--green-cta) 45%, transparent), transparent 60%), var(--green-dark); }
@media (max-width: 767.98px) {
  .hero-carousel.has-copy .carousel-item img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 70% center; }
  .hero-carousel.has-copy::before { background: linear-gradient(180deg, rgba(8, 28, 22, .9) 0%, rgba(8, 28, 22, .65) 55%, rgba(8, 28, 22, .15) 100%); }
  .hero-copy { width: 100%; justify-content: flex-start; }
  .hero-copy__points { font-size: .85rem; }
}

/* Riquadri banner con titolo */
.promo-tile { position: relative; display: block; border-radius: 1rem; overflow: hidden; color: #fff; }
.promo-tile img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .5s ease; }
.promo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 22, .85), rgba(8, 28, 22, .1) 75%); }
.promo-tile:hover img { transform: scale(1.05); }
.promo-tile__text { position: absolute; z-index: 1; left: 1rem; right: 1rem; top: 50%; transform: translateY(-50%); display: grid; gap: .15rem; }
.promo-tile__title { font-family: var(--brand-font-heading); font-weight: 800; text-transform: uppercase; font-size: clamp(.95rem, .8rem + .6vw, 1.3rem); line-height: 1.1; }
.promo-tile__sub { font-size: .8rem; font-weight: 600; opacity: .9; }

/* Categorie a cerchi */
.cat-circles { list-style: none; margin: 0; padding: .25rem 0 .5rem; display: flex; gap: 1rem; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
.cat-circles::-webkit-scrollbar { display: none; }
.cat-circles li { flex: 0 0 auto; }
.cat-circle { display: flex; flex-direction: column; align-items: center; gap: .6rem; width: 112px; text-align: center; color: var(--brand-text); background: none; border: 0; padding: 0; }
.cat-circle__media {
  width: 104px; height: 104px; border-radius: 50%; background: var(--green-soft); display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: box-shadow var(--beta-transition), transform var(--beta-transition);
}
.cat-circle__media img { width: 78%; height: 78%; object-fit: contain; }
.cat-circle__media .icon { font-size: 2.2rem; color: var(--brand-primary); }
.cat-circle__name { font-size: .82rem; font-weight: 600; line-height: 1.25; }
.cat-circle:hover { color: var(--brand-primary); }
.cat-circle:hover .cat-circle__media { box-shadow: 0 0 0 3px var(--green-cta); transform: translateY(-2px); }

/* Punti di forza */
.usp-strip { list-style: none; margin: 0; padding: 1.25rem 1.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; background: var(--green-soft); border-radius: 1rem; }
.usp-strip__item { display: flex; align-items: center; gap: .85rem; justify-content: center; }
.usp-strip__item .icon { font-size: 2rem; color: var(--brand-text); flex: 0 0 auto; }
.usp-strip__item span { display: grid; font-size: .82rem; color: var(--brand-muted); }
.usp-strip__item strong { font-family: var(--brand-font-heading); text-transform: uppercase; font-size: .8rem; color: var(--brand-text); }
@media (max-width: 991.98px) { .usp-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1rem; } .usp-strip__item { justify-content: flex-start; } }

/* Marchi */
.brand-strip { list-style: none; margin: 0; padding: 0 0 .25rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: .75rem; overflow-x: auto; scrollbar-width: none; }
.brand-strip__item { display: flex; align-items: center; justify-content: center; height: 74px; padding: .75rem 1rem; background: #fff; border: 1px solid var(--green-line); border-radius: .75rem; transition: border-color var(--beta-transition), box-shadow var(--beta-transition); }
.brand-strip__item img { max-height: 44px; width: auto; object-fit: contain; }
a.brand-strip__item:hover { border-color: var(--green-cta); box-shadow: var(--brand-shadow-sm); }

/* ------------------------------------------------------------ Card prodotto */
.product-card { border: 1px solid var(--green-line); border-radius: .9rem; box-shadow: none; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(14, 42, 34, .45); border-color: color-mix(in srgb, var(--green-cta) 45%, var(--green-line)); }
.product-card__media { background: #fff; }
.product-card__body { padding: .85rem 1rem 1rem; }
.product-card__brand { color: var(--brand-muted); font-size: .66rem; }
.product-card__title { font-size: .9rem; font-weight: 600; }
.product-card .price__now { font-size: 1.2rem; font-weight: 800; color: var(--brand-price); }
.product-card .price__off { display: none; }
.product-card__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-card__cart {
  flex: 0 0 auto; width: 2.6rem; height: 2.4rem; border-radius: .5rem; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-primary); color: #fff; transition: background-color var(--beta-transition);
}
.product-card__cart:hover { background: var(--green-cta); color: #fff; }
.product-card__cart .icon { font-size: 1.25rem; }
.disponibile.cart_avail { color: var(--brand-success-text, var(--brand-success)); }

.badge-flag { border-radius: .35rem; font-size: .66rem; padding: .25rem .5rem; }
.badge-flag--off { background: var(--brand-danger); color: #fff; }
.badge-flag--promo { background: var(--brand-warning); color: #2b1d00; }
.badge-flag--new { background: var(--brand-primary); color: #fff; }

/* ------------------------------------------------------- Newsletter e footer */
.newsletter-band { position: relative; overflow: hidden; margin-top: 3rem; background: var(--green-dark); color: #fff; }
.newsletter-band::after {
  content: ""; position: absolute; right: -80px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--green-cta) 45%, transparent), transparent 70%); pointer-events: none;
}
.newsletter-band__inner { position: relative; z-index: 1; padding-block: 2.5rem; gap: 2rem 3rem; }
.newsletter-band__text { flex: 1 1 360px; }
.newsletter-band__text h2 { color: #fff; font-weight: 700; }
.newsletter-band__text p { opacity: .85; }
.newsletter-band__points { list-style: none; margin: 0; padding: 0 0 0 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; flex: 2 1 480px; border-left: 1px solid rgba(255, 255, 255, .15); }
.newsletter-band__points li { display: flex; align-items: center; gap: .75rem; font-size: .88rem; font-weight: 600; }
.newsletter-band__points .icon { flex: 0 0 auto; font-size: 1.4rem; width: 2.75rem; height: 2.75rem; padding: .65rem; box-sizing: border-box; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--green-lime); }
@media (max-width: 991.98px) { .newsletter-band__points { padding-left: 0; border-left: 0; grid-template-columns: 1fr; } }

.site-footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer a:hover, .site-footer__links .sel a { color: var(--green-lime); }
.site-footer__title { color: #fff; }
.site-footer__social a { background: rgba(255, 255, 255, .1); }
.site-footer__social a:hover { background: var(--green-cta); color: #fff; }
.site-footer__bottom { border-top-color: rgba(255, 255, 255, .1); }

/* Barra di navigazione in basso (mobile) */
.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; justify-content: space-around;
  background: #fff; border-top: 1px solid var(--green-line); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .35);
  padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom));
}
.mobile-nav__item {
  position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .25rem 0; border: 0; background: none; color: var(--brand-muted); font-size: .68rem; font-weight: 600;
}
.mobile-nav__item .icon { font-size: 1.45rem; }
.mobile-nav__item.is-active, .mobile-nav__item:hover { color: var(--green-cta-hover); }
.mobile-nav__badge { position: absolute; top: 0; left: calc(50% + .35rem); min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; border-radius: 999px; background: var(--brand-danger); color: #fff; font-size: .62rem; line-height: 1.1rem; text-align: center; }
@media (max-width: 991.98px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------- Elenco prodotti */
.listing-hero {
  position: relative; overflow: hidden; display: grid; align-items: center; min-height: 220px; margin: .25rem 0 1.5rem;
  border-radius: 1.25rem; background: var(--green-dark); color: #fff;
}
.listing-hero__image { position: absolute; inset: 0 0 0 auto; width: 62%; }
.listing-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.listing-hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--green-dark) 38%, color-mix(in srgb, var(--green-dark) 70%, transparent) 55%, transparent 80%);
}
.listing-hero__text { position: relative; z-index: 2; max-width: 620px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.listing-hero h1 { color: #fff; text-transform: uppercase; font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); margin-bottom: .6rem; }
.listing-hero .categoria_descrizione { color: rgba(255, 255, 255, .88); font-size: 1.02rem; }
.listing-hero__points { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.listing-hero__points li { display: flex; align-items: center; gap: .55rem; font-size: .78rem; }
.listing-hero__points span { display: grid; color: rgba(255, 255, 255, .8); }
.listing-hero__points strong { color: #fff; }
.listing-hero__points .icon { font-size: 1.6rem; color: var(--green-lime); }
.listing-hero__special { position: relative; z-index: 2; max-height: 200px; width: auto; justify-self: end; margin: 1rem; border-radius: .75rem; }
@media (max-width: 767.98px) {
  .listing-hero { min-height: 0; background: transparent; color: var(--brand-text); border-radius: 0; margin-bottom: 1rem; }
  .listing-hero__image, .listing-hero.has-image::before, .listing-hero__points { display: none; }
  .listing-hero__text { padding: 0; }
  .listing-hero h1 { color: var(--brand-text); margin-bottom: .25rem; }
  .listing-hero .categoria_descrizione { color: var(--brand-muted); font-size: .92rem; }
}

.listing-toolbar { background: transparent; box-shadow: none; padding: 0 0 1rem; border-bottom: 1px solid var(--green-line); border-radius: 0; }
.listing-toolbar__back, .listing-toolbar__filters {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border: 1px solid var(--green-line); border-radius: .6rem;
  background: #fff; color: var(--brand-text); font-size: .85rem; font-weight: 600;
}
.listing-toolbar__back:hover, .listing-toolbar__filters:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.listing-toolbar__count { font-weight: 400; font-size: .9rem; color: var(--brand-muted); }
.listing-toolbar__count strong { color: var(--brand-text); font-size: 1.05rem; }
.listing-toolbar__sort .form-select { border-radius: .6rem; }

/* Sidebar filtri: card con intestazione "Filtri / Cancella tutto" anche su desktop */
@media (min-width: 992px) {
  .shop-sidebar .offcanvas-body { flex-direction: column; gap: 1rem; }
  .shop-sidebar .offcanvas-header { display: flex; padding: 1.1rem 1.25rem .5rem; background: #fff; border: 1px solid var(--green-line); border-bottom: 0; border-radius: 1rem 1rem 0 0; }
  .shop-sidebar .offcanvas-header .btn-close { display: none; }
  .shop-sidebar__inner { background: #fff; border: 1px solid var(--green-line); border-top: 0; border-radius: 0 0 1rem 1rem; padding: 0 1.25rem 1rem; }
  .shop-sidebar .offcanvas-body { position: static; }
}
.shop-sidebar .offcanvas-title { font-family: var(--brand-font-heading); text-transform: uppercase; font-size: 1rem; font-weight: 800; margin: 0; }
.shop-sidebar__clear { margin-left: auto; margin-right: .75rem; font-size: .8rem; font-weight: 600; color: var(--brand-primary); }
.shop-sidebar .filter-group { box-shadow: none; border-radius: 0; padding: .35rem 0; border-top: 1px solid var(--green-line); background: transparent; }
.shop-sidebar .filter-group > summary { text-transform: uppercase; font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
.filter-list .form-check { font-size: .85rem; }
.filter-list .form-check-input:checked { background-color: var(--brand-primary); border-color: var(--brand-primary); }

.help-box {
  display: grid; grid-template-columns: auto 1fr; gap: .5rem .85rem; align-items: start; margin-top: 1rem;
  padding: 1.25rem; border-radius: 1rem; background: var(--green-dark); color: #fff;
}
.help-box > .icon { font-size: 1.9rem; color: var(--green-lime); }
.help-box__title { font-family: var(--brand-font-heading); font-weight: 700; }
.help-box p { margin: .15rem 0 0; font-size: .85rem; opacity: .85; }
.help-box .btn { grid-column: 1 / -1; margin-top: .5rem; }

/* Marchi a pillole sopra la griglia */
.brand-chips { display: flex; gap: .6rem; margin: 0 0 1.25rem; padding: .25rem .1rem .5rem; overflow-x: auto; scrollbar-width: thin; }
.brand-chip {
  position: relative; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-width: 104px; height: 64px; padding: .35rem .9rem; margin: 0; cursor: pointer;
  background: #fff; border: 1px solid var(--green-line); border-radius: .85rem; color: var(--brand-text); font-weight: 700; font-size: .82rem;
  transition: border-color var(--beta-transition), box-shadow var(--beta-transition);
}
.brand-chip input { position: absolute; opacity: 0; pointer-events: none; }
.brand-chip img { max-height: 24px; max-width: 96px; width: auto; object-fit: contain; }
.brand-chip small { font-size: .7rem; color: var(--brand-muted); font-weight: 500; }
.brand-chip:hover { border-color: var(--brand-primary); color: var(--brand-text); }
.brand-chip.is-active { border: 2px solid var(--brand-primary); background: color-mix(in srgb, var(--brand-primary) 7%, #fff); }
.brand-chip--all.is-active { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.brand-chip--all.is-active small { color: rgba(255, 255, 255, .75); }
.brand-chip.is-disabled { opacity: .4; cursor: default; }
.brand-chip:has(input:focus-visible) { outline: 2px solid var(--brand-primary); outline-offset: 2px; }

/* ---------------------------------------------------------- Scheda prodotto */
.panel-card { background: #fff; border: 1px solid var(--green-line); border-radius: 1rem; padding: clamp(1.1rem, .9rem + 1vw, 1.75rem); }
.panel-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.product-gallery { gap: 1rem; }
.product-gallery__main { position: relative; background: #fff; border-radius: .75rem; box-shadow: none; }
.product-gallery__top { position: absolute; z-index: 2; top: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.product-gallery__top .badge-flags { position: static; }
.product-gallery__top .badge-flag--off { display: none; }
.product-gallery__brand { max-height: 38px; width: auto; }
.product-gallery__wish { position: absolute; z-index: 2; top: 0; right: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; border: 1px solid var(--green-line); display: inline-flex; align-items: center; justify-content: center; color: var(--brand-text); }
.product-gallery__thumbs a { border: 1px solid var(--green-line); box-shadow: none; border-radius: .6rem; flex-basis: 92px; height: 80px; }
.product-gallery__thumbs a:hover { border: 2px solid var(--green-cta); }

.product-buybox { border: 1px solid var(--green-line); box-shadow: none; gap: 1rem; }
.product-buybox__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; }
.product-buybox__price { border: 0; padding: 0; }
.product-buybox__discount { display: inline-block; margin-bottom: .35rem; padding: .15rem .55rem; border-radius: .35rem; background: var(--brand-danger); color: #fff; font-weight: 800; font-size: .85rem; }
.product-buybox .price__now { color: var(--brand-price); font-weight: 800; font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); }
.product-buybox .price__save { color: var(--brand-muted); font-weight: 500; }
.product-buybox__actions { flex-wrap: nowrap; }
.product-buybox__actions .cart_add { border-radius: 999px; min-width: 0; font-size: 1rem; }
.qty-stepper { border-radius: 999px; }
.product-benefits { list-style: none; margin: 0; padding: .9rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; border-block: 1px solid var(--green-line); }
.product-benefits li { display: flex; align-items: center; gap: .5rem; font-size: .75rem; line-height: 1.25; }
.product-benefits .icon { font-size: 1.6rem; flex: 0 0 auto; color: var(--brand-text); }
.product-benefits span { display: grid; }
.product-benefits small { color: var(--brand-muted); font-size: .7rem; }
.product-payments__title { font-size: .82rem; font-weight: 600; margin-bottom: .5rem; }
.product-payments img { max-height: 40px; width: auto; }

.product-help .product-help__link { color: var(--brand-primary); font-weight: 600; }
/* Dettagli tecnici: coppie etichetta/valore, due per riga su desktop */
.product-specs dl { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; margin: 0; }
@media (min-width: 992px) { .product-specs dl { grid-template-columns: minmax(10rem, max-content) 1fr minmax(10rem, max-content) 1fr; } }
.product-specs dt, .product-specs dd { margin: 0; padding: .7rem 1rem; border-bottom: 1px solid var(--green-line); }
.product-specs dt { font-size: .8rem; font-weight: 600; color: var(--brand-muted); }
.product-specs dd { font-weight: 700; }
@media (max-width: 575.98px) {
  .product-benefits { grid-template-columns: 1fr; }
  .product-buybox__actions { flex-wrap: wrap; }
}
