/* Tipografia ospitata in bottega, anche nelle pagine in inglese. */
@font-face{font-family:Corallo Display;src:url("/assets/fonts/cormorant-garamond-normal.woff2?v=mwt71b1z") format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:Corallo Display;src:url("/assets/fonts/cormorant-garamond-italic.woff2?v=mwt71b1z") format("woff2");font-style:italic;font-weight:400 700;font-display:swap}
@font-face{font-family:Corallo Sans;src:url("/assets/fonts/manrope-normal.woff2?v=mwt71b1z") format("woff2");font-weight:400 800;font-display:swap}

:root {
  --pino:#193f34;
  --carta:#eee2ce;
  --avorio:#f8efdf;
  --grafite:#26382f;
  --ottone:#af8d57;
  --bordo:#cbbda6;
  --granata:#792f39;
  --titoli:"Corallo Display", Georgia, serif;
  --testi:"Corallo Sans", system-ui, sans-serif;
}

/* Le pagine clienti hanno più fogli storici con regole importanti.
   Questo livello riunisce soltanto le proprietà che il restyling sostituisce. */
@layer bottega {
  :root {
    --bg:var(--carta)!important; --ink:var(--grafite)!important; --accent:var(--pino)!important;
    --accent-dark:var(--pino)!important; --paper:var(--avorio)!important; --paper-strong:var(--avorio)!important;
    --muted:#59645b!important; --gold:var(--ottone)!important; --terra:var(--granata)!important;
    --line:var(--bordo)!important; --shadow:none!important;
    --app-header-offset-top:0px!important; --app-header-reserved-space:78px!important;
  }
  body { background:var(--carta)!important; color:var(--grafite)!important; font-family:var(--testi)!important; }
  /* Il vecchio tema mobile dipingeva la foto della pigna su un livello fisso
     separato dal fondo del body, visibile tra le schede durante lo scroll. */
  body::before { content:none!important; }
  .ambient, .topbar::before, .topbar::after, .app-header-note, .app-header-brand__hint,
  .app-header-shortcut, .section-heading h2::after, .eyebrow::before { display:none!important; }
  .site-shell { width:min(1440px,100%)!important; padding-top:var(--app-header-reserved-space)!important; margin:0 auto!important; gap:0!important; }
  .site-shell main { width:100%!important; min-width:0!important; display:block!important; }
  .topbar.app-header {
    width:100%!important; max-width:none!important; top:0!important; min-height:0!important;
    padding:env(safe-area-inset-top) max(4vw,calc((100vw - 1312px)/2)) 0!important;
    border:0!important; border-bottom:1px solid var(--bordo)!important; border-radius:0!important;
    background:var(--avorio)!important; backdrop-filter:none!important; box-shadow:none!important;
  }
  .app-header-row { display:flex!important; align-items:center!important; justify-content:space-between!important; gap:20px!important; height:77px!important; padding:0!important; }
  .app-header-start, .app-header-actions { display:flex!important; align-items:center!important; gap:16px!important; flex:none!important; }
  .app-header-brand { display:inline-flex!important; gap:9px!important; padding:0!important; border:0!important; background:none!important; box-shadow:none!important; }
  .app-header-logo { display:block!important; width:42px!important; height:42px!important; padding:0!important; object-fit:contain!important; background:none!important; border:0!important; border-radius:50%!important; }
  .bottega-marchio { display:grid; gap:1px; justify-items:start; color:var(--pino); }
  .bottega-marchio small { font:700 9px/1 var(--testi); text-transform:uppercase; letter-spacing:.26em; padding-left:2px; }
  .bottega-marchio strong { font:600 31px/.84 var(--titoli); letter-spacing:-.045em; }
  .bottega-nav { display:flex; align-items:center; gap:clamp(16px,2.6vw,45px); }
  .bottega-nav a, .bottega-lingua { position:relative; display:inline-flex; align-items:center; min-height:44px; color:var(--pino); text-decoration:none; font:650 13px/1.25 var(--testi); }
  .bottega-nav a::after { content:""; position:absolute; left:0; right:0; bottom:6px; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .2s; }
  .bottega-nav a:is(:hover,[aria-current])::after { transform:scaleX(1); }
  .bottega-nav a[href$="/natale.html"] { color:var(--granata); }
  .bottega-lingua { justify-content:center; min-width:44px; letter-spacing:.13em; font-size:11px; }
  .app-header .ghost-button { background:none!important; color:var(--pino)!important; box-shadow:none!important; border:0!important; min-width:44px!important; min-height:44px!important; padding:0!important; }
  .app-nav-trigger__icon { color:var(--pino)!important; }
  .app-header-cart__icon { color:var(--pino)!important; background:transparent!important; }
  .app-drawer__panel, .cart-drawer { background:var(--avorio)!important; color:var(--grafite)!important; }
  .app-drawer__nav a { color:var(--pino)!important; }
  .promo-spedizione { border:0!important; border-radius:0!important; margin:0!important; width:auto!important; max-width:none!important; padding:7px 15px!important; background:#ecdfc8!important; color:#483624!important; box-shadow:none!important; font:550 12px/1.45 var(--testi)!important; }
  .promo-spedizione::before { display:none!important; }
  .promo-spedizione strong { color:inherit!important; }
  .site-shell main > :is(section,footer,.home-social-proof,.natale-sezioni) {
    margin:0!important; border-radius:0!important; border:0!important; box-shadow:none!important;
    padding:clamp(36px,5vw,80px) clamp(22px,5.5vw,88px)!important;
  }
  main > :is(.bottega-regali,.collection-section,.promo-block,.promo-home,.about-section,.atelier-section,.checkout-page,.product-detail-page,.section,.seo-cluster-section,.trust-band,.reassure-band,.guide-section,.bv-catalogo,.bv-faq,.pg-sezione),
  .natale-sezione { background:var(--carta)!important; }
  main > :is(.collection-section,.promo-home,.about-section,.atelier-section,.checkout-page,.product-detail-page,.promo-block,.section,.seo-cluster-hero,.seo-cluster-section,.trust-band,.promo-page-hero)::before { display:none!important; }
  :is(h1,h2,h3,.product-title-link,.product-price,.promo-card__title,.site-footer strong) { font-family:var(--titoli)!important; }
  main :is(h1,h2), .cart-header h2 { font-weight:550!important; line-height:1.01!important; letter-spacing:-.038em!important; text-wrap:balance; }
  :is(.section-heading h2,.about-section h2,.atelier-copy h2,.promo-page-hero h1,.seo-cluster-copy h1,.bv-intro h1,.pg-hero h1,.product-detail-copy h1,#collection-page-title) {
    color:var(--pino)!important; background:none!important; padding-bottom:0!important;
    font-size:clamp(40px,4.5vw,74px)!important;
  }
  main h3 { font-weight:600!important; letter-spacing:-.02em!important; line-height:1.12!important; }
  .section-heading { gap:clamp(16px,4vw,68px)!important; align-items:end!important; }
  .eyebrow, .natale-regali__eyebrow { font:750 11px/1.45 var(--testi)!important; color:var(--granata)!important; letter-spacing:.17em!important; text-transform:uppercase!important; }
  :is(.primary-button,.secondary-button,.ghost-button,.promo-chip) { font-family:var(--testi)!important; }
  :is(.primary-button,.secondary-button), .promo-strip .ghost-button {
    border-radius:3px!important; font-weight:700!important; box-shadow:none!important; text-shadow:none!important;
  }
  .primary-button { background:var(--pino)!important; color:#fffaf0!important; border:1px solid var(--pino)!important; }
  .secondary-button, .promo-strip .ghost-button { background:transparent!important; color:var(--pino)!important; border:1px solid #8b9787!important; }
  :is(.primary-button,.secondary-button):hover { filter:brightness(.94); }
  :where(a,button,select,input,textarea,summary):focus-visible { outline:3px solid #b67535!important; outline-offset:3px!important; }
  main input:not([type=checkbox]):not([type=radio]), main select, main textarea { border-radius:3px!important; border-color:#bdb6a9!important; background-color:#fffdf8!important; color:var(--grafite)!important; font-family:var(--testi)!important; }
  .site-footer { background:var(--pino)!important; color:#faf4e7!important; }
  .site-footer :is(h1,h2,h3,p,a,strong,span,.eyebrow) { color:inherit!important; }
  .site-footer .primary-button { background:#f5e3c0!important; border-color:#f5e3c0!important; color:var(--pino)!important; }
  .site-footer :is(.secondary-button,.ghost-button) { background:transparent!important; color:#fff7e8!important; border-color:#afbbab!important; }
  .site-footer-grid > *, .site-footer-legal { background:none!important; box-shadow:none!important; border-color:#748478!important; }
  .site-footer::before { display:none!important; }

  /* Due colonne e una sola fotografia intera. Tocco, mouse e tastiera hanno gli stessi comandi. */
  .site-shell main > .bottega-natale {
    display:grid!important; grid-template-columns:minmax(0,1.05fr) minmax(0,.85fr)!important;
    align-items:center!important; gap:clamp(32px,6vw,112px)!important; padding:clamp(28px,3.7vw,58px) clamp(38px,8vw,128px)!important;
    color:#fff6e5!important; background:radial-gradient(ellipse at 93% 78%,#335044 0,transparent 50%),#193e34!important;
  }
  .bottega-occhiello { display:flex; align-items:center; gap:10px; color:#f1d4a5; margin:0 0 18px; font:700 11px/1.5 var(--testi); letter-spacing:.2em; text-transform:uppercase; }
  .bottega-occhiello::before { content:""; width:36px; height:1px; background:#bf9b61; }
  #bottega-titolo { display:block!important; color:#fff6e4!important; font:500 clamp(75px,8.5vw,135px)/.82 var(--titoli)!important; letter-spacing:-.057em!important; margin:0!important; }
  #bottega-titolo em { display:block; color:#edc891; font-weight:400; }
  .bottega-intro { max-width:37ch; margin:24px 0 21px; color:#ebe7d9; font:450 clamp(15px,1.25vw,19px)/1.58 var(--testi); }
  .bottega-scelte { display:flex; align-items:end; gap:16px; max-width:440px; }
  .bottega-scelte label { display:grid; gap:5px; min-width:0; flex:1.65; color:#ead9b8; text-transform:uppercase; font:700 10px/1.35 var(--testi); letter-spacing:.14em; }
  .bottega-scelte label + label { flex:1; }
  .bottega-scelte select { width:100%; min-width:0; min-height:44px; padding:6px 6px 6px 0!important; color:#fff9e9!important; background:var(--pino)!important; border:0!important; border-bottom:1px solid #96a191!important; border-radius:0!important; font:600 14px var(--testi)!important; }
  .bottega-scelte option { color:#fff9e9; background:var(--pino); }
  .bottega-azioni { display:flex; flex-wrap:wrap; align-items:center; gap:10px 24px; margin-top:24px; }
  .bottega-azioni a { display:inline-flex; align-items:center; min-height:46px; color:#fff4da; font:650 14px var(--testi); text-underline-offset:5px; }
  .bottega-azioni .bottega-acquisto { padding:0 22px; color:#263a2d; background:#f3dbb1; text-decoration:none; border-radius:2px; }
  .bottega-tavola { margin:0!important; padding:0!important; border:0!important; min-width:0; width:min(100%,430px); justify-self:center; background:transparent!important; box-shadow:none!important; }
  .bottega-foto { position:relative; display:grid; place-items:center; width:100%; height:clamp(320px,34vw,490px); padding:10px; box-sizing:border-box; border:1px solid #91a18a; background:#e8ddc9; }
  .bottega-foto img { width:100%; height:100%; max-height:100%; min-height:0; object-fit:contain!important; }
  .bottega-tavola figcaption { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:0!important; padding:13px 0 0!important; color:#faf3df; background:none!important; }
  .bottega-foto-nome { display:block; font:600 24px/1 var(--titoli); }
  [data-albero-etichetta] { display:block; margin-top:3px; color:#ddd6c4; font:500 12px/1.3 var(--testi); }
  [data-albero-luce], .bottega-zoom { display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; color:#fff5db; cursor:pointer; border:1px solid #899986; background:#203f35; }
  [data-albero-luce] { gap:8px; padding:5px 11px; border-radius:30px; font:650 12px var(--testi); }
  [data-albero-luce] i { width:9px; height:9px; border-radius:50%; background:#efcd83; box-shadow:0 0 7px #efcd8380; }
  [data-albero-luce][aria-checked=false] i { background:transparent; border:1px solid #e7d5a9; box-shadow:none; }
  .bottega-zoom { position:absolute; bottom:14px; right:14px; border:0; border-radius:50%; font:24px/1 var(--testi); }
  .bottega-dialog { max-width:94vw; max-height:92dvh; padding:10px; background:var(--avorio); border:0; }
  .bottega-dialog::backdrop { background:#0b211ce8; }
  .bottega-dialog img { display:block; width:auto; height:auto; object-fit:contain; max-width:84vw; max-height:78dvh; }
  .bottega-dialog button { display:block; margin:4px auto 0; padding:8px 18px; min-height:44px; background:none; border:0; color:var(--pino); font:700 14px var(--testi); }
  .bottega-natale [hidden] { display:none!important; }
  .bottega-swipe { touch-action:pan-y pinch-zoom; }

  /* Scaffali, filtri e scheda di acquisto. */
  .product-card, .promo-card, .product-similar-card, .promo-detail, .natale-regali, .natale-sezione, .bottega-tessera {
    border:0!important; border-radius:0!important; box-shadow:none!important; background:none!important;
  }
  .promo-card, .bottega-tessera, .product-card { min-width:0!important; }
  .product-card::before, .promo-card::before { display:none!important; }
  .product-visual-shell, .product-visual, .promo-card__media, .product-similar-visual, .product-detail-visual-shell, .product-detail-visual {
    border-radius:2px!important; border:0!important; background-color:#eee8dc!important; box-shadow:none!important;
  }
  .product-visual-media, .promo-card__photo { object-fit:contain!important; transform:none!important; object-position:center!important; }
  .product-visual, .product-similar-visual, .product-detail-visual { background-size:contain!important; background-repeat:no-repeat!important; background-position:center!important; }
  .product-visual::after, .product-detail-visual::after { pointer-events:none!important; }
  .product-body, .promo-card__body { padding:13px 2px 16px!important; background:transparent!important; }
  .product-body h3, .promo-card__title, .product-similar-copy h3 { font-size:clamp(23px,2vw,33px)!important; color:var(--pino)!important; }
  .product-visual-shell:has(.bottega-decor) { display:flex!important; flex-direction:column; height:auto!important; overflow:visible!important; }
  .product-visual-shell:has(.bottega-decor) > .product-visual { position:relative!important; flex:auto; width:100%!important; }
  .bottega-tessera { display:flex; flex-direction:column; border-bottom:1px solid var(--bordo)!important; }
  .bottega-tessera > .natale-card { flex:auto; margin:0!important; }
  .bottega-decor { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; min-height:44px; width:100%; background:var(--carta); color:var(--pino); border-block:1px solid var(--bordo); }
  .bottega-decor span { font:600 12px/1.35 var(--testi); text-align:center; }
  .bottega-decor button { height:44px; width:44px; border:0; background:transparent; color:var(--pino); font:26px/1 var(--titoli); cursor:pointer; }
  .bottega-decor button:hover { background:#ebe4d4; }
  .promo-strip, .natale-rapidi, .collection-search-bar, .collection-filter-panel, .collection-view-switch, .product-detail-copy, .product-detail-main, .product-detail-details {
    box-shadow:none!important; border-radius:2px!important;
  }
  .promo-strip, .natale-rapidi { background:#eee7da!important; color:var(--pino)!important; border:0!important; }
  .promo-strip__text :is(strong,span) { color:var(--pino)!important; }
  .collection-search-bar, .collection-filter-panel, .collection-search-field, .collection-filter-field { background:transparent!important; border:0!important; }
  .collection-page #catalogo { padding-top:clamp(28px,3.5vw,54px)!important; }
  .collection-page #catalogo .section-heading { border-bottom:1px solid var(--bordo); padding-bottom:18px; }
  .collection-page #collection-page-title { font-size:clamp(32px,3.1vw,50px)!important; max-width:28ch; }
  .collection-page #catalogo :is(.natale-rapidi,.promo-strip,.collection-search-bar,.collection-filter-panel) { margin-block:8px!important; padding-block:7px!important; }
  .product-detail-page { padding-top:clamp(24px,3vw,50px)!important; }
  .product-detail-shell { gap:clamp(20px,4vw,70px)!important; }
  .product-detail-copy h1 { font-size:clamp(40px,4vw,67px)!important; }
  :is(.product-detail-price,.product-price-current,.promo-card__price) { color:var(--pino)!important; }
  :is(.product-detail-reassure,.product-detail-note,.product-detail-variants-shell,.product-detail-decors-shell,.cart-item,.checkout-summary-card,.booking-card,.checkout-mobile-summary) { background:var(--avorio)!important; border:1px solid var(--bordo)!important; box-shadow:none!important; border-radius:3px!important; }
  .cart-header, .cart-footer { background:var(--avorio)!important; border-color:var(--bordo)!important; }
  .cart-header h2, .checkout-page h2 { color:var(--pino)!important; }
  .checkout-summary-card { border-top:3px solid var(--ottone)!important; }
  .checkout-page :is(h1,.section-heading h2) { font-size:clamp(40px,4vw,64px)!important; }
  .natale-sezioni { padding-block:0!important; }
  .natale-sezione { padding:32px 0!important; border-top:1px solid var(--bordo)!important; }
  .natale-regali, .promo-block { border-top:1px solid var(--bordo)!important; }
  .offers-page .promo-page-hero { background:#ede6d7!important; }
  .promo-page-hero h1 { max-width:19ch; margin-inline:auto!important; }

  /* Il racconto della famiglia, il laboratorio e le pagine di lettura. */
  .atelier-section, .bv-intro, .seo-cluster-hero { background:#f2ecdf!important; }
  .bv-intro { --bv-titolo:var(--titoli)!important; }
  .bv-intro h1::after { display:none!important; }
  :is(.bv-card,.guide-summary-card,.guide-story-card,.about-story-card,.seo-cluster-card,.returns-panel,.bv-form,.bv-fatti li) {
    background:var(--avorio)!important; color:var(--grafite)!important; border:1px solid var(--bordo)!important; border-radius:3px!important; box-shadow:none!important;
  }
  .about-photo-card, .guide-story-media, .seo-cluster-media { margin-inline:0!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
  .about-photo-card img { filter:none!important; }
  .site-shell .page-main-content { max-width:920px!important; margin-inline:auto!important; }
  .page-main-content :is(p,li) { line-height:1.75!important; }
  .page-main-content h1 { font-size:clamp(42px,5vw,72px)!important; color:var(--pino)!important; }

  @media (min-width:900px) {
    #storia:has(.about-photo-card) { display:grid!important; grid-template-columns:minmax(0,.9fr) minmax(0,1.12fr); gap:28px 6%; align-items:center; }
    #storia > .section-heading { display:grid!important; grid-template-columns:1fr!important; gap:20px!important; margin:0!important; }
    #storia .about-shell { grid-column:1/-1; }
    #storia .about-photo-card img { height:auto!important; max-height:none!important; width:100%!important; }
    .atelier-copy::before { content:""; display:block; aspect-ratio:2.55; margin:0 0 25px; background:#ddd3bc url("/assets/images/home-atelier.webp?v=mqf9v3ko") center 48%/cover; }
  }
  @media (max-width:880px) {
    .bottega-nav { display:none; }
    .app-header-start { gap:10px!important; }
    .site-shell main > .bottega-natale { padding-inline:clamp(22px,4vw,54px)!important; gap:25px!important; }
  }
  @media (max-width:720px) {
    :root { --app-header-reserved-space:calc(60px + env(safe-area-inset-top))!important; }
    .topbar.app-header { padding-inline:12px!important; }
    .app-header-row { height:59px!important; gap:4px!important; }
    .app-header-start, .app-header-actions { gap:3px!important; }
    .app-header-logo { width:32px!important; height:32px!important; }
    .bottega-marchio small { font-size:7px; }
    .bottega-marchio strong { font-size:24px; }
    .promo-spedizione { font-size:10.5px!important; padding:5px 14px!important; }
    .site-shell main > :is(section,footer,.home-social-proof,.natale-sezioni) { padding:32px 18px!important; }
    .site-shell main > .bottega-natale { grid-template-columns:1fr!important; gap:20px!important; padding:27px 20px 23px!important; }
    .bottega-natale__copy { display:contents; }
    .bottega-occhiello { grid-row:1; margin:0; }
    #bottega-titolo { grid-row:2; font-size:clamp(59px,12.4vw,81px)!important; }
    #bottega-titolo em { display:inline; margin-left:.12em; }
    .bottega-intro { grid-row:3; margin:0; max-width:43ch; }
    .bottega-tavola { grid-row:4; width:min(100%,410px); }
    .bottega-foto { height:clamp(265px,78vw,370px); padding:6px; }
    .bottega-scelte { grid-row:5; width:100%; max-width:none; }
    .bottega-azioni { grid-row:6; margin:0; }
    .bottega-azioni a { font-size:13px; }
    .bottega-tavola figcaption { padding-top:7px!important; }
    .section-heading { gap:12px!important; }
    :is(.section-heading h2,.about-section h2,.atelier-copy h2,.promo-page-hero h1,.seo-cluster-copy h1,.bv-intro h1,.pg-hero h1) { font-size:clamp(35px,8.5vw,46px)!important; }
    .product-body h3,.promo-card__title { font-size:23px!important; }
    .product-detail-page { padding-inline:14px!important; }
    .bottega-decor { grid-template-columns:40px minmax(0,1fr) 40px; }
    .bottega-decor button { width:40px; }
    .bottega-decor span { font-size:11px; }
  }
  @media (prefers-reduced-motion:reduce) { .bottega-nav a::after { transition:none; } }
}

@layer bottega {
  .app-header-start, .app-header-actions { width:auto!important; max-width:none!important; min-width:0!important; }
  .app-header-actions { justify-content:flex-end!important; }
  .app-header-brand::before, .app-header-brand::after { display:none!important; }
  .app-header .bottega-marchio { display:grid!important; white-space:nowrap!important; }
  .bottega-nav a { white-space:nowrap!important; }
  .bottega-azioni .bottega-acquisto { color:var(--pino)!important; }
  .bottega-regali > header { display:flex; justify-content:space-between; align-items:end; gap:14px; margin-bottom:24px; }
  .bottega-regali h2 { color:var(--pino)!important; font-size:clamp(44px,5vw,76px)!important; margin:5px 0 0!important; }
  .bottega-regali > header a { color:var(--granata)!important; font:650 14px/1.5 var(--testi); text-underline-offset:5px; }
  .bottega-regali__griglia { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2.6vw,42px); }
  .bottega-regali .promo-card__media { aspect-ratio:1.3!important; height:auto!important; }
  .bottega-regali .promo-card__media img { height:100%!important; width:100%!important; }
  .bottega-regali .promo-card__body { text-align:left!important; }
  .bottega-regali .promo-card__title { margin-block:4px!important; }
  .site-shell [hidden]:is(.bottega-regali,.bottega-tradizione,.bottega-scelte) { display:none!important; }
  .bottega-natale :is(.bottega-scelte label,.bottega-occhiello) { color:#efd7b0!important; }
  .bottega-natale .bottega-intro { color:#ede7d9!important; }
  .bottega-natale .bottega-scelte select { color:#fff6e3!important; background-color:var(--pino)!important; }
  @media (max-width:720px) {
    #bottega-titolo em { display:block; margin:0; }
    .bottega-regali > header { align-items:start; flex-direction:column; gap:8px; }
    .bottega-regali__griglia { grid-template-columns:repeat(3,minmax(min(72vw,290px),1fr)); overflow-x:auto; scroll-snap-type:x proximity; padding-bottom:8px; }
    .bottega-regali__griglia > * { scroll-snap-align:start; }
  }
}

@layer bottega {
  .bottega-catalogo { display:flex; flex-direction:column; gap:6px; align-items:flex-start; padding-bottom:12px; }
  .bottega-catalogo :is(h1,p) { margin:0!important; }
  .bottega-catalogo h1 { color:var(--pino)!important; font-size:clamp(50px,5.8vw,86px)!important; }
  .bottega-catalogo-storia { margin:24px 0 0!important; padding:16px 0!important; border-block:1px solid var(--bordo); background:transparent!important; }
  .bottega-catalogo-storia summary { color:var(--pino); cursor:pointer; font:650 16px/1.5 var(--testi); }
  .bottega-catalogo-storia .section-heading { margin-top:20px!important; }
  .bottega-offerta { width:min(100%,410px); min-width:0; margin:auto; }
  .bottega-offerta .promo-card { display:grid!important; grid-template-columns:1fr!important; }
  .bottega-offerta .promo-card__media { height:clamp(200px,20vw,280px)!important; aspect-ratio:auto!important; background:#e2d7c5!important; }
  .bottega-offerta .promo-card__photo { height:100%!important; }
  .bottega-offerta .promo-card__body { display:flex!important; align-items:baseline!important; justify-content:space-between!important; flex-wrap:wrap; gap:6px 14px; }
  .bottega-offerta .promo-card__title { font-size:27px!important; }
  .promo-page-hero:has(.bottega-offerta:not([hidden])) { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(280px,.75fr); gap:5vw; align-items:center; text-align:left!important; }
  .promo-page-hero:has(.bottega-offerta:not([hidden])) :is(h1,.promo-page-hero__text) { margin-left:0!important; }
  .cc-fab__wa { background:var(--pino)!important; }
  body:has(.app-drawer__instagram) .cc-fab__ig { display:none!important; }

  /* La home fuori stagione resta quella di sempre: pigna sulla terrazza col mare a tutto schermo
     (richiesta del 21 novembre). Il restyling cambia solo la testata e i caratteri. */
  @media (min-width:721px) { .home-page #hero #hero-eyebrow { color:#f1d4a5!important; text-shadow:0 1px 8px rgba(0,0,0,.45); } .home-page #hero .secondary-button { color:#f8efde!important; border-color:rgba(248,239,222,.7)!important; background:rgba(20,40,34,.35)!important; } }
  @media (max-width:720px) {
    .promo-page-hero:has(.bottega-offerta:not([hidden])) { grid-template-columns:1fr; gap:22px; }
    .bottega-offerta .promo-card__media { height:230px!important; }
    .bottega-catalogo { padding-bottom:5px; }
    .collection-page #catalogo .natale-rapidi { display:flex!important; flex-wrap:wrap!important; gap:4px 10px!important; padding:6px 9px!important; }
    .collection-page #catalogo .natale-rapidi a { width:auto!important; }
    .collection-page #catalogo .natale-rapidi__titolo { display:none!important; }
  }
}

@layer bottega {
  .bottega-carrello { display:inline-flex; align-items:center; min-height:44px; color:var(--pino)!important; font:650 13px var(--testi); text-underline-offset:5px; }
  .bottega-nav { flex:0 1 auto; }
  .bottega-regali [data-pezzo] .promo-card__chips { margin:6px 0 0; }
  .bottega-regali__griglia .promo-card__photo, .promo-page-hero .promo-card__photo { opacity:1!important; }
  .bottega-natale .bottega-tavola [data-albero-etichetta] { max-width:38ch; }
  @media (max-width:380px) {
    .app-header-row { gap:0!important; }
    .checkout-page-body .app-header-actions .app-header-action { font-size:12px!important; }
    .bottega-marchio strong { font-size:22px; }
  }
}

@layer bottega {
  .app-header .app-header-logo { width:44px!important; min-width:44px!important; max-width:44px!important; height:44px!important; min-height:44px!important; max-height:44px!important; }
  .bottega-contatti { display:flex; flex-wrap:wrap; gap:8px; padding:5px 0; }
  .bottega-contatto { display:inline-flex; align-items:center; min-height:44px; padding:0 12px; color:var(--pino)!important; border:1px solid var(--bordo); background:var(--avorio); border-radius:3px; font:650 13px var(--testi); text-decoration:none; cursor:pointer; }
  .bottega-contatti button { display:none; }
  body:has(.cc-assistant-launcher) .bottega-contatti button { display:inline-flex; }
  @media (max-width:720px) {
    /* Il cliente trova i contatti nel menu e a fondo pagina. I controlli
       della galleria e i campi del checkout rimangono raggiungibili. */
    body:has(.bottega-contatti) .cc-fab { position:static!important; width:auto!important; display:flex!important; flex-direction:row!important; justify-content:center!important; padding:10px 18px!important; background:var(--carta)!important; }
    body:has(.bottega-contatti) .cc-shopping-assistant:not(.is-open) .cc-assistant-launcher { visibility:hidden!important; pointer-events:none!important; }
    body:has(.bottega-contatti) .cc-fab__wa .cc-fab__txt { display:inline!important; }
    body:has(.bottega-contatti) .cc-fab__wa { width:auto!important; padding-inline:15px!important; }
    body:has(.bottega-contatti) .cc-shopping-assistant:not(.is-open) { pointer-events:none!important; }
    body:has(.bottega-contatti) .cc-assistant-teaser { pointer-events:auto!important; }
    .app-header-row--indietro .bottega-marchio { display:none!important; }
  }
}

@layer bottega {
  .bottega-tavola [data-albero-luce] { flex:none!important; white-space:nowrap!important; font:650 12px var(--testi)!important; padding:5px 13px!important; }
  .bottega-tavola [data-albero-luce] span { font:inherit!important; }
  .bottega-natale select { text-overflow:ellipsis; }
}

/* La navigazione riapre pagine con immagini e stati diversi: il browser le
   disegna direttamente, anche quando si cambia lingua durante una transizione. */
@view-transition { navigation:none; }
@media (max-width:720px) {
  .home-page:has(.bottega-natale) .cc-shopping-assistant:not(.is-open) .cc-assistant-teaser { display:none; }
}

@layer bottega {
  .product-detail-visual::before, .product-detail-visual::after { display:none!important; }
  .bottega-didascalia { margin:0!important; padding:7px 0!important; border-bottom:1px solid var(--bordo); color:#525d52!important; font:650 11px/1.4 var(--testi)!important; letter-spacing:.07em; }
}

@layer bottega {
  .product-card.product-card-overview, .product-card:not(.product-card-preview-gallery), .bottega-tessera {
    border:1px solid var(--bordo)!important; border-radius:6px!important; background:var(--avorio)!important; overflow:hidden!important;
  }
  .product-card.product-card-overview {
    display:flex!important; flex-direction:column!important; align-self:stretch!important; gap:0!important; padding:0!important; transform:none!important;
  }
  .product-card-overview .product-visual-shell { flex:none; }
  .product-card-overview .product-visual::after { display:none!important; }
  .product-card .product-body { padding:clamp(12px,1.3vw,21px)!important; }
  .product-card-overview .product-body-overview { display:flex!important; flex:1; flex-direction:column!important; gap:12px!important; }
  .product-card-overview .product-overview-topline { display:grid!important; gap:6px!important; }
  .product-card-overview .product-overview-topline h3 { margin:0!important; }
  .product-card-overview .product-title-link { font:600 clamp(22px,1.85vw,30px)/1.05 var(--titoli)!important; overflow-wrap:anywhere; }
  .product-card-overview .product-meta-overview { margin-top:auto!important; border-top:1px solid var(--bordo)!important; padding-top:8px!important; }
  .product-card-overview .product-preview-link { display:inline-flex!important; align-items:center; min-height:38px; }
  .product-card-overview .product-price-inline { font-family:var(--testi)!important; }
  .product-card-overview .product-price-current { font:700 16px/1.3 var(--testi)!important; }
  .product-card-overview .product-visual-shell:has(.bottega-decor) { aspect-ratio:auto!important; }
  .product-card-overview .product-visual-shell > .product-visual { flex:none!important; aspect-ratio:1!important; min-height:0!important; }
  .bottega-decor { background:#eee2cc; }
  .bottega-decor--unico { grid-template-columns:1fr; padding-inline:8px; }
  .product-card-overview .bottega-decor { height:50px; }
  .bottega-tessera .natale-card__body { padding-inline:12px!important; }
  .product-detail-decors-shell:empty { display:none!important; }
  .product-detail-size-badge { white-space:normal!important; max-width:90%; }
  .product-detail-visual-shell .bottega-didascalia { font:500 14px/1.5 var(--testi)!important; letter-spacing:normal; color:var(--pino)!important; padding:9px 12px!important; }
  .bottega-richiesta { margin:0; padding:12px 16px; color:var(--pino); }
  .product-decors + .bottega-richiesta { border-top:1px solid var(--bordo); }
  .bottega-richiesta summary { cursor:pointer; font:700 16px/1.4 var(--testi); padding-block:8px; }
  .bottega-richiesta__scelta { display:flex; align-items:center; gap:12px; margin-top:10px; }
  .bottega-richiesta__scelta img { object-fit:contain; border:1px solid var(--bordo); background:var(--avorio); border-radius:4px; }
  .bottega-richiesta label { flex:1; min-width:0; font:650 13px/1.5 var(--testi); }
  .bottega-richiesta select { display:block; width:100%; min-height:44px; margin-top:4px; border:1px solid var(--bordo); background:#fbf3e4; color:var(--pino); font:600 15px var(--testi); }
  .bottega-richiesta p { font:500 14px/1.5 var(--testi); margin:12px 0; }
  @media (max-width:720px) {
    .product-card-overview .product-title-link { font-size:clamp(18px,5vw,24px)!important; }
    .product-card-overview .bottega-decor { grid-template-columns:32px minmax(0,1fr) 32px; height:56px; }
    .product-card-overview .bottega-decor--unico { grid-template-columns:1fr; }
    .product-card-overview .bottega-decor button { width:32px; }
    .product-card-overview .bottega-decor span { line-height:1.2; overflow-wrap:anywhere; }
  }
  .product-card-overview .product-meta-overview { display:flex!important; align-items:center!important; justify-content:space-between!important; gap:4px!important; flex-wrap:wrap; }
  .product-card-overview .product-meta-overview .product-preview-link { font-size:14px!important; }
  @media (max-width:720px) {
    .product-card-overview .product-meta-overview { align-items:flex-start!important; flex-direction:column; gap:0!important; }
  }
  .bottega-decor--unico a { display:grid; place-items:center; min-height:44px; color:var(--pino); font:650 12px/1.3 var(--testi); text-decoration:underline; text-underline-offset:3px; }
  .bottega-opzioni { margin:0!important; color:#4c5e50; font:600 13px/1.45 var(--testi); }
  .product-body-overview > .product-price-badge { align-self:flex-start; }
  .product-card-overview .product-price-inline { min-height:26px; align-items:baseline; }
  #decori, #decori-su-richiesta { scroll-margin-top:100px; }
  body:has(#decori-su-richiesta[open]) #product-sticky-bar.pattern-panel-visible { display:none!important; }
  .bottega-prezzo-richiesta { color:var(--pino); font:650 14px/1.4 var(--testi); }
  @media (max-width:720px) {
    #product-grid > .product-card-overview:only-child {
      grid-column:1/-1; display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr));
    }
    #product-grid > .product-card-overview:only-child .product-visual-shell { align-self:start; }
  }
}

@layer bottega {
  /* La vetrina di Natale: uno scatto intero e un solo acquisto per volta. */
  .site-shell main > #natale.natale-mostra {
    padding:clamp(25px,3.2vw,52px) clamp(20px,6vw,90px) 0!important;
    background:linear-gradient(110deg,#51242d,#6e303a 66%,#642b35)!important;
    color:#fff1de;
  }
  .natale-mostra__scena {
    max-width:1090px; margin:auto; display:grid; align-content:center; align-items:center;
    grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); grid-template-rows:auto auto;
    grid-template-areas:"foto testo" "foto scelte"; gap:20px clamp(32px,6vw,94px);
  }
  .natale-mostra [hidden], .natale-mostra__misura:empty, .natale-mostra__testo p:empty { display:none!important; }
  .natale-mostra__foto {
    grid-area:foto; position:relative; display:block; justify-self:end; align-self:center;
    width:fit-content; max-width:100%; background:transparent; line-height:0;
  }
  .natale-mostra__foto > img { display:block; width:auto; height:auto; max-width:100%; max-height:clamp(340px,36vw,490px); }
  .natale-mostra__misura { position:absolute; bottom:10px; left:10px; background:var(--avorio); color:var(--pino); border-radius:2px; padding:5px 9px; font:650 13px/1.4 var(--testi); }
  .natale-mostra__testo { grid-area:testo; align-self:end; min-width:0; padding-top:8px; }
  #natale #natale-mostra-titolo { margin:0 0 19px; display:flex; align-items:center; gap:12px; color:#f1d4a5!important; font:750 12px/1.4 var(--testi)!important; letter-spacing:.16em!important; text-transform:uppercase; }
  #natale-mostra-titolo::before { content:""; width:31px; height:1px; background:currentColor; }
  #natale .natale-mostra__testo h2 { margin:0; max-width:15ch; color:#fff3df!important; font:550 clamp(40px,4.8vw,74px)/.98 var(--titoli)!important; letter-spacing:-.045em!important; }
  .natale-mostra__testo p { margin:14px 0 0; max-width:40ch; color:#f1dfd2; font:500 clamp(15px,1.22vw,18px)/1.55 var(--testi); }
  .natale-mostra__acquisto { display:flex; flex-wrap:wrap; gap:9px 24px; align-items:center; margin:21px 0 0; }
  .natale-mostra__acquisto strong { font:600 clamp(24px,2.1vw,34px)/1.1 var(--titoli); color:#fff3df; }
  .natale-mostra__acquisto a { min-height:46px; padding:11px 22px; color:#40222a!important; display:inline-flex; align-items:center; background:#f6e2bd!important; border-radius:2px; text-decoration:none; font:750 15px/1.4 var(--testi); }
  .natale-mostra__acquisto a:hover { background:#fff2d9!important; }
  .natale-mostra__scelte { grid-area:scelte; align-self:start; }
  .natale-mostra__miniature, .natale-mostra__comandi { display:flex; align-items:center; gap:7px; }
  .natale-mostra__miniature button {
    display:grid; place-items:center; background:transparent; border:0; border-bottom:2px solid transparent;
    padding:3px 1px 5px; min-width:44px; cursor:pointer;
  }
  .natale-mostra__miniature button[aria-pressed=true] { border-color:#f6d79f; }
  .natale-mostra__miniature img { display:block; width:auto; height:auto; max-height:54px; max-width:54px; }
  .natale-mostra__comandi { gap:3px; margin-top:4px; }
  .natale-mostra__comandi button { border:0; color:#fff2dc; background:transparent; cursor:pointer; font:500 26px/1 var(--titoli); width:44px; min-height:44px; }
  .natale-mostra__comandi button:hover { background:#ffffff12; }
  .natale-mostra__comandi [data-mostra-play] { font:650 17px/1 var(--testi); }
  .natale-mostra__comandi span { color:#efdbbf; text-align:center; font:650 13px/1 var(--testi); font-variant-numeric:tabular-nums; }
  .natale-mostra .natale-mostra__categorie { display:flex; justify-content:center; align-items:center; gap:6px 22px; flex-wrap:wrap; margin:25px auto 0; border-top:1px solid #b38a72; }
  .natale-mostra .natale-mostra__categorie a { display:inline-flex; align-items:center; text-decoration:none; padding:3px 0; font:650 13px/1.4 var(--testi); border:0; border-radius:0; color:#fff1dc; min-height:44px; }
  .natale-mostra .natale-mostra__categorie a:hover { text-decoration:underline; background:transparent; }
  .natale-mostra .natale-mostra__categorie a span { display:none; }
  @media (max-width:620px) {
    .site-shell main > #natale.natale-mostra { padding:22px 20px 0!important; }
    .natale-mostra__scena { max-width:420px; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto;
      grid-template-areas:"foto scelte" "testo testo"; gap:16px 12px; }
    .natale-mostra__foto { justify-self:center; }
    .natale-mostra__foto > img { max-height:clamp(246px,38svh,350px); }
    .natale-mostra__scelte { align-self:center; display:grid; justify-items:center; }
    .natale-mostra__miniature { flex-direction:column; gap:1px; }
    .natale-mostra__miniature img { max-height:38px; max-width:42px; }
    .natale-mostra__miniature button { min-height:44px; padding:2px; }
    .natale-mostra__comandi { margin:0; }
    .natale-mostra__comandi :is([data-mostra-prev],[data-mostra-next],[data-mostra-posizione]) { display:none; }
    .natale-mostra__testo { padding:0; }
    #natale #natale-mostra-titolo { margin-bottom:8px; }
    #natale .natale-mostra__testo h2 { font-size:clamp(35px,8.3vw,47px)!important; max-width:none; }
    .natale-mostra__testo p { margin-top:8px; }
    .natale-mostra__acquisto { margin-top:14px; }
    .natale-mostra .natale-mostra__categorie { justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; gap:19px; margin-top:18px; }
    .natale-mostra .natale-mostra__categorie a { flex:none; }
  }

  /* La foto determina entrambe le dimensioni. I controlli restano ancorati
     al perimetro dello scatto; la griglia allinea separatamente i testi. */
  .bottega-foto, .product-detail-visual-shell, .product-visual-shell { background:transparent!important; }
  .bottega-foto, .product-detail-visual:has(.product-visual-media),
  .product-similar-visual:has(.product-visual-media), .product-card .product-visual:has(.product-visual-media),
  .promo-card__media:has(>img), .bottega-regali .promo-card__media:has(>img), .bottega-offerta .promo-card__media:has(>img) {
    position:relative!important; display:block!important; width:fit-content!important; max-width:100%!important;
    height:auto!important; min-height:0!important; aspect-ratio:auto!important; padding:0!important; border:0!important;
    margin-inline:auto!important; background:transparent!important; line-height:0;
  }
  .bottega-foto img, .product-visual-media, .promo-card__media > img,
  .bottega-regali .promo-card__media img, .bottega-offerta .promo-card__photo {
    display:block!important; position:static!important; width:auto!important; height:auto!important;
    max-width:100%!important; max-height:var(--foto-altezza,560px)!important; aspect-ratio:auto!important;
    object-fit:contain!important; transform:none!important; border:0!important;
  }
  /* Con larghezza e altezza automatiche una foto pigra non ancora scaricata
     misura 0 × 0 e la cornice si stringe a zero: Chrome non la scarica mai.
     Restavano vuoti Presepe e Natività su Natale, le tessere seguenti di
     «Sotto l'albero», l'anteprima della Collezione e i prodotti simili. */
  img[loading="lazy"] { min-width:1px!important; min-height:1px!important; }
  .bottega-tavola { --foto-altezza:clamp(315px,35vw,490px); }
  .product-detail-visual-shell { --foto-altezza:min(72svh,740px); }
  .product-card, .promo-card { --foto-altezza:420px; }
  .product-similar-card { --foto-altezza:280px; }
  .promo-detail__main:has(> img) { width:fit-content; max-width:100%; margin-inline:auto; aspect-ratio:auto; background:transparent; }
  .promo-detail__main > img { display:block; position:static; width:auto; height:auto!important; max-width:100%; max-height:min(72svh, 680px); }
  .promo-detail__thumbs { align-items:center; }
  .promo-detail__thumbs img, .promo-detail__piece img, .cart-upsell-item img {
    display:block; width:auto; height:auto; max-width:64px; max-height:64px; justify-self:center; object-fit:contain; background:transparent;
  }
  .cart-upsell-item img { max-width:40px; max-height:40px; }
  .cart-item-photo { display:block!important; width:auto!important; height:auto!important; max-width:72px!important; max-height:76px!important; justify-self:center; background:transparent!important; }
  .collection-preview-marquee-visual:has(img) { display:block!important; justify-self:center; width:fit-content!important; max-width:100%; height:auto!important; min-height:0!important; aspect-ratio:auto!important; background:none!important; }
  .collection-preview-marquee-visual img { display:block; width:auto; height:auto; max-width:100%; max-height:340px; }
  .product-gallery-button:has(img) { flex:0 0 auto; align-self:center; aspect-ratio:auto; width:fit-content; min-width:0; background:transparent; }
  .product-gallery-button img { display:block; width:auto; height:auto; max-width:115px; max-height:104px; }
  #product-grid .product-card .product-visual-shell { padding:0!important; height:auto!important; min-height:0!important; aspect-ratio:auto!important; }
  #product-grid .product-card .product-visual-shell > .product-visual:has(img),
  .product-visual-shell:has(.bottega-decor) > .product-visual:has(img) { flex:none!important; width:fit-content!important; aspect-ratio:auto!important; }
  .product-card .product-visual:has(img) > span { position:absolute; left:8px; bottom:8px; }
  .product-detail-visual:has(img)::after, .product-card .product-visual:has(img)::after { content:none!important; }
  #product-grid.product-grid-overview > .product-card-overview:not(:only-child) { display:grid!important; grid-row:span 5; grid-template-rows:subgrid; row-gap:0!important; }
  #product-grid.product-grid-overview > .product-card-overview:not(:only-child) .product-body-overview {
    display:grid!important; grid-row:span 4; grid-template-rows:subgrid; gap:7px!important; min-width:0;
  }
  .product-card-overview .catalog-card-facts { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
  .product-card-overview .catalog-card-facts .product-price-badge { margin:0; }
  .product-card-overview .product-visual-shell:has(.bottega-decor) { justify-content:flex-end; }
  .product-card-overview .product-visual-shell > .product-visual { margin-block:auto!important; }
  @media (max-width:720px) {
    .bottega-tavola { --foto-altezza:min(50svh,400px); }
    .product-card, .promo-card { --foto-altezza:340px; }
  }
  @media (max-width:380px) {
    .product-card-overview .product-price-inline {
      display:grid!important; grid-template-rows:auto 17px; align-items:start!important; gap:1px!important;
    }
    .product-card-overview .product-price-current { grid-row:1; white-space:nowrap; }
    .product-card-overview .product-price-original { grid-row:2; font-size:12px; }
  }
}

@layer bottega {
  .collection-page #catalogo { padding-top:clamp(18px,2.2vw,34px)!important; }
  #catalogo .bottega-catalogo { gap:3px; padding:0 0 10px; }
  #catalogo .bottega-catalogo h1 { font-size:clamp(40px,4.2vw,66px)!important; }
  .collection-page #catalogo .collection-search-bar {
    display:flex!important; flex-direction:row!important; align-items:center!important; gap:8px!important; margin:0!important; padding:0!important;
  }
  #catalogo .collection-search-field { flex:1; min-width:0; margin:0; padding:0; }
  #catalogo .collection-search-field .collection-search-label {
    position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);
  }
  #catalogo .collection-search-field input, #catalogo #catalog-mobile-filter-toggle {
    min-height:44px!important; height:44px!important; border:1px solid var(--bordo)!important; border-radius:3px!important;
    font:600 14px/1.3 var(--testi)!important; color:var(--pino)!important; margin:0!important;
  }
  #catalogo .collection-search-field input { width:100%; background:var(--avorio)!important; padding:0 13px!important; }
  #catalogo #catalog-mobile-filter-toggle { display:inline-flex!important; align-items:center; justify-content:center; flex:none; width:auto!important; padding:0 17px!important; gap:8px; background:var(--avorio)!important; }
  #catalogo #catalog-mobile-filter-toggle::after { content:""; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); }
  #catalogo #catalog-mobile-filter-toggle[aria-expanded="true"]::after { transform:translateY(2px) rotate(225deg); }
  #catalogo #clear-catalog-search:disabled, #catalogo #catalog-filter-panel[hidden] { display:none!important; }
  #catalogo #catalog-filter-panel:not([hidden]) { display:grid!important; align-items:end; margin:8px 0!important; padding:12px!important; border:1px solid var(--bordo)!important; background:var(--avorio)!important; border-radius:4px; }
  #catalog-filter-panel .collection-view-switch, #catalog-filter-panel .natale-rapidi { grid-column:1/-1; margin:0!important; }
  .catalog-pattern-tools { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; position:relative; border-bottom:1px solid var(--bordo); margin:3px 0 14px; }
  #catalogo .collection-search-feedback { font:550 12px/1.4 var(--testi); margin:0!important; padding:12px 0; text-align:right; }
  .catalog-pattern-tools:has(details[open], .has-filters) { grid-template-columns:1fr; }
  .catalog-pattern-tools:has(details[open], .has-filters) .collection-search-feedback { text-align:left!important; }
  .catalog-patterns { min-width:0; padding:0!important; border:0!important; background:transparent!important; }
  .catalog-patterns summary { display:flex; gap:8px; align-items:center; min-height:44px; cursor:pointer; width:fit-content; color:var(--pino); font:700 14px/1.35 var(--testi); }
  .catalog-patterns summary::-webkit-details-marker { display:none; }
  .catalog-patterns summary::after { content:"+"; font-weight:500; }
  .catalog-patterns[open] summary::after { content:"−"; }
  .catalog-pattern-samples { display:inline-flex; padding-left:3px; }
  .catalog-pattern-samples img { width:24px; height:24px; border-radius:50%; margin-left:-3px; border:1px solid var(--carta); object-fit:cover; }
  .catalog-pattern-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:4px 0; }
  .catalog-pattern-list a { display:flex; align-items:center; gap:12px; padding:8px; background:var(--avorio); border:1px solid var(--bordo); color:var(--pino)!important; text-decoration:none; font:650 14px/1.35 var(--testi); border-radius:3px; }
  .catalog-pattern-list a:is(:hover,[aria-current]) { border-color:var(--pino); text-decoration:underline; }
  .catalog-pattern-list img { width:clamp(48px,6vw,78px); aspect-ratio:1; object-fit:cover; border-radius:50%; }
  .product-detail-head .product-variants { margin:8px 0 0!important; }
  .product-detail-head .product-section-head-text { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; }
  .sticky-size-choice { position:relative; display:inline-flex; align-items:center; min-height:44px; padding:0 5px; color:var(--pino); text-decoration:underline; text-underline-offset:3px; white-space:nowrap; font:700 13px/1.2 var(--testi); }
  .sticky-size-choice select { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
  .sticky-size-choice:focus-within { outline:2px solid var(--pino); outline-offset:1px; }
  @media (min-width:900px) {
    .catalog-heading-tools { display:flex; align-items:end; justify-content:space-between; gap:24px; }
    .catalog-heading-tools .collection-search-bar { flex:0 1 460px; }
    #catalogo .catalog-heading-tools .bottega-catalogo { padding:0; }
    .catalog-pattern-tools { margin-top:9px; }
  }
  @media (max-width:760px) {
    .product-detail-visual-shell > h1 { margin:0 0 11px!important; color:var(--pino)!important; font:550 clamp(35px,8vw,46px)/1.04 var(--titoli)!important; letter-spacing:-.04em; }
    #catalog-filter-panel:not([hidden]) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .catalog-pattern-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
    .catalog-pattern-list a { gap:7px; padding:5px; font-size:12px; }
    .product-detail-visual-shell:has(> h1) { --foto-altezza:clamp(220px, calc(100svh - 385px), 560px); }
    .product-sticky-price-line:has(.sticky-size-choice) { flex-wrap:wrap; align-items:center!important; gap:0 8px!important; }
    .product-sticky-price-line:has(.sticky-size-choice) .product-sticky-summary { flex-basis:auto; }
    /* Il nome del decoro sotto la miniatura era a 9,6 px: è l'informazione
       che decide l'acquisto, quindi resta leggibile anche su quattro colonne. */
    .product-decor-button .product-color-name { font-size:12px!important; line-height:1.2!important; -webkit-line-clamp:3!important; overflow-wrap:break-word; }
    .product-gallery-size-badge { font-size:11px!important; }
    /* Cassa: redesign-a3 stringe il marchio a 48 px per lasciare posto a
       «Continua lo shop», ma la scritta Ceramiche Corallo usciva a sinistra
       e il medaglione finiva sopra il menu. Da 380 px c'è posto per tutto. */
    body.checkout-page-body .app-header-brand { width:auto!important; min-width:0!important; gap:9px!important; }
  }
  /* Desktop: senza barra fissa, «Aggiungi al carrello» cadeva sotto il bordo
     dello schermo per le pigne e l'albero (1051 px su 900). Il disegno
     «Quanto è grande davvero?» passa dopo pulsanti e rassicurazioni. */
  @media (min-width:960px) {
    .product-detail-variants-shell:has(> .product-scale) { display:flex!important; flex-direction:column!important; }
    .product-detail-variants-shell > .product-scale { order:1; }
  }
  @media (max-width:379px) {
    body.checkout-page-body .app-header .bottega-marchio { display:none!important; }
    body.checkout-page-body .app-header-brand { width:48px!important; min-width:48px!important; }
  }
}
