/* Titles in Cormorant Garamond; text, menu and buttons stay in DM Sans.
   font-size-adjust matches the serif's small lowercase to the sizes already set for each title. */
:root{--serif:'Cormorant Garamond',Georgia,serif}
h1,h2,h3{font-family:var(--serif);font-weight:600;font-size-adjust:.47;letter-spacing:-.005em}
h1,h2{line-height:1.06}
/* Small uppercase labels stay in the text font, like the eyebrows. */
.contact-block h2{font-family:var(--sans);font-size-adjust:none;letter-spacing:.06em}

/* The real shop fills the width below the navigation; title and action sit on the film. */
.home-hero{padding:0}
.home-hero .hero-layout{width:100%;max-width:none;padding:0;display:grid;grid-template:1fr/1fr;align-items:stretch}
.home-hero .hero-layout>*{grid-area:1/1}
/* The shade keeps white text readable on the bright interiors; clicks outside the links reach the play/pause control. */
.home-hero .hero-copy{position:relative;z-index:1;max-width:none;padding:48px max(32px,calc((100% - 1520px)/2));display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#fff;pointer-events:none;background:linear-gradient(90deg,#121410b3 0%,#12141073 45%,#12141000 80%)}
.home-hero .hero-copy a{pointer-events:auto}
.home-hero .hero-copy h1{max-width:none;color:#fff;font-weight:500;font-size:clamp(56px,6vw,100px);font-size-adjust:none;line-height:.98;letter-spacing:-.01em;text-shadow:0 1px 30px #0004}
.home-hero .hero-copy .actions{margin-top:38px}
/* One quiet outlined action instead of a filled button with an arrow. */
.home-hero .hero-copy .btn{min-height:0;padding:16px 30px;gap:0;background:transparent;border:1px solid #ffffffe6;border-radius:0;color:#fff;font-size:14px;font-weight:500;letter-spacing:.16em;text-transform:uppercase}
.home-hero .hero-copy .btn svg{display:none}
.home-hero .hero-copy .btn:hover{background:#fff;color:var(--green);transform:none}
/* The call sits beside the button as a quiet underlined link, like the other call links. */
.home-hero .hero-copy .actions{gap:14px 30px}
.home-hero .hero-copy .actions .call-link{min-height:0;padding-block:8px;color:#fff;font-size:16px;text-shadow:0 1px 12px #0006}
.hero-film{margin:0;position:relative;min-width:0;height:clamp(480px,calc(100svh - var(--header-height) - 56px),56.25vw);overflow:hidden;background:#d7d6c9}
.hero-film video,.hero-film>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.hero-film video{opacity:0}
.hero-film[data-video-ready=true] video{opacity:1}
.hero-film[data-video-ready=true]>.film-poster{visibility:hidden}
.film-toggle{position:absolute;inset:0;width:100%;height:100%;display:block;appearance:none;-webkit-appearance:none;border:0;border-radius:0;background:transparent;padding:0;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.film-toggle[hidden]{display:none}
.film-toggle:focus-visible{outline:3px solid white;outline-offset:-6px}
.film-paused{display:none;position:absolute;right:14px;bottom:14px;width:32px;height:32px;padding:8px;border-radius:50%;background:#17382b99;color:#fff;pointer-events:none}
.hero-film[data-paused=true] .film-paused{display:block}
/* Desktop: the film fills the first screen (1px = header border) and the promise bar sits over its last 115px,
   frosted and 90% cream so the grey text stays at 4.5:1 or more on every frame. */
@media(min-width:1081px){
  .hero-film{height:clamp(555px,calc(100svh - var(--header-height) - 1px),56.25vw)}
  .home-hero .hero-copy{padding-bottom:163px}
  .film-paused{bottom:129px}
  .promise-bar{position:relative;z-index:2;height:115px;margin-top:-115px;background:#fbf9f4e6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
  .promise-bar .promises{height:100%;align-items:center;padding-block:0}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .promise-bar{background:var(--cream)}
}
/* A lower header: compact wordmark, two plain contacts underlined only on hover. */
:root{--header-height:84px}
html{scroll-padding-top:calc(var(--header-height) + 16px)}
/* Smaller wordmark; FIORERIA and DAL 1981 still span the width of main. (site.css). */
.brand-small{font-size:11px;margin:0 0 4px}
.brand-main{font-size:38px}
.brand-date{font-size:10px;margin-top:5px}
.footer .brand-small{font-size:13px}
.footer .brand-main{font-size:46px}
.footer .brand-date{font-size:11px}
.header-contact{display:flex;align-items:center;flex-shrink:0;margin-left:auto}
.contact-options{display:flex;align-items:center;gap:26px}
.contact-options a{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:16px;font-weight:500;white-space:nowrap}
.contact-options a:hover span{text-decoration:underline;text-underline-offset:5px}
.contact-options svg{width:20px;height:20px}
/* Among the page actions the call, WhatsApp and email links share one underline, size and height. */
.actions .whatsapp-link{gap:12px;border-bottom:1px solid currentColor;font-weight:500;line-height:1.4;text-decoration:none!important}
.actions :is(.call-link,.whatsapp-link,.link){min-height:52px;padding-block:11px;font-size:18px}
.actions .whatsapp-link svg{width:20px;height:20px}
.actions .whatsapp-link:hover{text-decoration:underline!important;text-underline-offset:5px}
/* In the footer it reads like the phone and email links beside it. */
.footer .whatsapp-link{text-decoration:none!important}
.footer .whatsapp-link:hover span{text-decoration:underline;text-underline-offset:4px}
/* User-selected photo 25: keep the plant display centered. */
.occasion-card[href="/servizi/piante-e-composizioni/"] img,
.service-card[href="/servizi/piante-e-composizioni/"] img{object-position:50% 50%}
.bouquet-photo>img{object-position:50% 42%}
.service-detail>.service-photo-piante-e-composizioni>img{object-position:64% 50%}
/* Original wedding photograph; framing only, with no regenerated details. */
.occasion-card .wedding-photo img,
.service-card .wedding-photo img,
.service-detail>.wedding-photo>img{object-position:50% 45%}
.service-detail>.funeral-photo>img{height:auto;max-height:600px;object-fit:contain}
/* Four equally prominent categories, with the funeral service last. */
@media(min-width:1101px){
  .home-services .occasion-grid,.service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
  .home-services .occasion-photo{height:auto;aspect-ratio:4/3}
  .home-services .occasion-copy h3,.service-grid .service-title h3{font-size:22px;line-height:1.25}
  .home-services .occasion-copy h3 svg{width:20px;height:20px;flex-shrink:0}
  .home-services .occasion-copy p,.service-grid .service-card p{font-size:16px;line-height:1.5}
}
@media(min-width:761px) and (max-width:1100px){
  .home-services .occasion-grid,.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1321px){
  /* The current section is underlined, like the other links, instead of shaded. */
  .site-header .nav a[aria-current=page]{background:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:9px}
}
@media(min-width:1481px){
  .site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:26px}
  .site-header .header-contact{justify-self:end;margin-left:0}
}
@media(min-width:761px){
  .site-header .header-inner{width:min(1520px,calc(100% - 64px))}
}
@media(min-width:1321px) and (max-width:1480px){
  .site-header .menu-toggle{display:flex}
  .site-header .nav{display:none;max-height:calc(100dvh - var(--header-height));overflow-y:auto;position:absolute;top:var(--header-height);left:0;right:0;background:var(--cream);padding:12px 32px 24px;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;font-size:22px}
  .site-header .nav[data-open=true]{display:flex}
  .site-header .nav a{min-height:59px;padding-inline:0;border-bottom:1px solid var(--line)}
  .site-header .nav a+a::before{display:none}
}
@media(max-width:760px){
  :root{--header-height:68px}
  .brand-small{font-size:10px;margin-bottom:3px}
  .brand-main{font-size:32px}
  .brand-date{font-size:9px;margin-top:4px}
  .footer .brand-small{font-size:12px}
  .footer .brand-main{font-size:42px}
  .footer .brand-date{font-size:10px}
  .contact-options a>span{display:none}
  .contact-options{gap:0}
  .contact-options a{width:44px;min-height:44px;justify-content:center}
  .contact-options svg{width:22px;height:22px}
  .site-header .header-inner{gap:10px}
  /* On a phone the text sits low, where the shade is darkest. */
  .home-hero .hero-copy{padding:28px 20px 30px;justify-content:flex-end;background:linear-gradient(0deg,#121410cc 0%,#1214108c 50%,#12141000 85%)}
  .home-hero .hero-copy h1{font-size:clamp(48px,13.5vw,64px)}
  .home-hero .hero-copy .actions{margin-top:22px}
  /* An explicit height reserves the space before Safari has loaded the media. */
  .hero-film{height:clamp(440px,calc(100svh - var(--header-height) - 64px),680px)}
  .film-paused{top:14px;bottom:auto}
}

/* The approved photos carry the catalogue; shop interiors have their own mosaic. */
.catalogue-intro{padding-block:42px 24px}
.catalogue-intro h1,.shop-page-intro h1{font-size:clamp(40px,4.3vw,62px);line-height:1.1}
.catalogue-intro>p{max-width:740px;color:var(--muted);font-size:19px;margin:18px 0 26px}
.category-nav{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);padding-bottom:18px}
.category-nav a{display:flex;align-items:center;min-height:48px;padding:10px 18px;border:1px solid var(--line);border-radius:4px;font-size:17px}
.category-nav a:hover{border-color:var(--green)}
.category-nav a[aria-current=true]{background:var(--green);border-color:var(--green);color:var(--white)}
.catalogue-category{padding:12px 0 60px;scroll-margin-top:calc(var(--header-height) + 25px)}
.catalogue-category[hidden]{display:none}
.catalogue-category>h2{font-size:clamp(29px,3vw,40px)}
.category-description{max-width:760px;color:var(--muted);font-size:18px;margin:16px 0 28px}
.catalogue-grid{gap:28px 22px}
.catalogue-grid .photo-button{aspect-ratio:4/3;border-radius:3px}
.catalogue-grid .photo-card figcaption{font-size:18px;margin-top:12px}
.catalogue-grid .photo-button img{object-position:center}
.funeral-collection .photo-button{aspect-ratio:3/4;background:#f2e5cf}
.funeral-collection .photo-button img{object-fit:contain}
.collection-heading,.catalogue-examples{margin-top:44px}
.collection-heading{font-size:28px;margin-bottom:24px}
.category-contact{display:flex;justify-content:space-between;align-items:center;gap:30px;border-top:1px solid var(--line);margin-top:40px;padding-top:28px}
.category-contact h2{font-size:27px;line-height:1.25}
.category-contact p{max-width:650px;color:var(--muted);font-size:18px;margin:12px 0 0}
.category-contact .actions{flex-shrink:0;align-items:flex-start;flex-direction:column;gap:4px}
.catalogue-examples{border-top:1px solid var(--line);padding-top:30px}
.catalogue-examples>h3{font-size:28px}
.catalogue-examples .illustration-note{font-size:17px;color:var(--muted);margin:12px 0}
.catalogue-examples .view-hint{font-size:16px;color:var(--muted);margin-bottom:20px}
.catalogue-examples .shop-products{padding-bottom:0}
.catalogue-examples .product-information h3{font-size:24px;line-height:1.3;margin:8px 0}
.catalogue-examples .image-origin{font-size:14px;font-weight:600;color:var(--muted);margin:0}
.more-photos{margin-top:36px;border-top:1px solid var(--line);padding-top:20px}
.more-photos summary{cursor:pointer;font-size:20px;padding-block:10px}
.more-photos .photo-grid{margin-top:20px}
.funeral-information{margin-top:32px;max-width:840px}
.funeral-information h3{font-size:26px}
.funeral-information p{font-size:18px;color:var(--muted);margin-top:14px}
.wedding-collection{display:grid;grid-template-columns:366px minmax(0,1fr);gap:72px;align-items:center;margin-top:28px}
/* The whole portrait photograph, aligned with the heading and caption instead of centred in a wider box. */
.wedding-collection .photo-button{width:min(100%,366px);aspect-ratio:9/16;border-radius:3px;background:transparent}
.wedding-collection .photo-button img{object-fit:cover}
.wedding-collection figcaption{font-size:17px;margin-top:12px}
.wedding-copy>h3{font-size:32px}
.wedding-copy>p{font-size:20px;color:var(--muted);margin-top:18px}
.wedding-copy .category-contact{display:block}
.wedding-copy .actions{margin-top:18px}
.shop-page-intro{display:grid;grid-template-columns:1fr 1.4fr;gap:40px;align-items:start;padding-block:44px 30px}
.shop-page-intro p{font-size:20px;color:var(--muted);margin:0 0 12px;max-width:740px}
.shop-mosaic{columns:3;column-gap:12px}
.shop-mosaic .photo-card{break-inside:avoid;margin:0 0 12px}
.shop-mosaic .photo-button{aspect-ratio:auto;border-radius:2px;background:transparent}
.shop-mosaic .photo-button img{height:auto;width:100%;object-fit:contain}
.shop-mosaic figcaption{margin:0 0 16px}
.shop-mosaic figcaption .photo-title{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.shop-mosaic .photo-reference{margin-top:7px;font-size:13px}
.shop-visit{padding-bottom:60px}
@media(min-width:1081px){
  .site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:22px}
  .site-header .nav{display:flex;position:static;flex-direction:row;padding:0;max-height:none;border:0;font-size:18px;overflow:visible}
  .site-header .nav a{border:0;min-height:44px}
  .site-header .menu-toggle{display:none}
  .site-header .header-contact{justify-self:end;margin-left:0}
}
@media(max-width:1080px){
  .shop-mosaic{columns:2}
  .category-contact{align-items:flex-start;flex-direction:column;gap:20px}
  .category-contact .actions{flex-direction:row;flex-wrap:wrap;gap:18px}
}
@media(max-width:760px){
  .catalogue-intro{padding-top:30px;padding-bottom:16px}
  .catalogue-intro>p{font-size:17px;margin:14px 0 22px}
  .category-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .category-nav a{font-size:15px;padding:10px 12px;min-height:50px;line-height:1.3}
  .catalogue-category{padding-top:10px;padding-bottom:42px}
  .category-description{font-size:17px;margin-bottom:22px}
  .catalogue-grid{grid-template-columns:1fr 1fr;gap:24px 14px}
  .catalogue-grid .photo-card figcaption{font-size:15px;margin-top:10px}
  .catalogue-grid .photo-button{aspect-ratio:3/4}
  .catalogue-category#mazzi>.catalogue-grid .photo-card:last-child{display:block}
  .category-contact h2{font-size:25px}
  .category-contact p{font-size:17px}
  .category-contact .actions{flex-direction:column;gap:6px}
  .wedding-collection{grid-template-columns:1fr;gap:26px}
  .wedding-copy>h3{font-size:28px}
  .wedding-copy>p{font-size:18px}
  .shop-page-intro{grid-template-columns:1fr;gap:18px;padding-block:30px 24px}
  .shop-page-intro p{font-size:18px}
  .shop-mosaic{column-gap:8px}
  .shop-mosaic .photo-card{margin-bottom:8px}
  .shop-visit{padding-bottom:40px}
}
@media(min-width:1081px){.site-header .nav{gap:22px}.site-header .nav a{padding-inline:0}.site-header .nav a+a::before{display:none}}
@media(min-width:761px){
  .catalogue-intro{display:grid;grid-template-columns:1fr 1.45fr;gap:24px 36px;align-items:center;padding-top:34px;padding-bottom:16px}
  .catalogue-intro>p{margin:0;max-width:650px}
  .category-nav{grid-column:1/-1;margin:0}
}
.funeral-collection{align-items:start}
.funeral-collection .photo-button{aspect-ratio:auto}
.funeral-collection .photo-button img{height:auto;object-fit:contain}
.catalogue-grid .studio-card .photo-button{background:#f2eee6;aspect-ratio:3/4}
.catalogue-grid .studio-card .photo-button img{height:100%;object-fit:contain}

/* 26 ottobre 2026: recensioni, richiesta da WhatsApp nella foto aperta, cerimonie raggruppate, mappa su richiesta, privacy. */
.home-reviews{padding-block:84px;border-top:1px solid var(--line)}
.reviews-layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.62fr);gap:6%;align-items:start}
.reviews-heading h2{font-size:42px;line-height:1.1}
.reviews-score{display:flex;align-items:center;gap:16px;margin:26px 0 6px}
.reviews-score strong{font-size:58px;font-weight:500;line-height:1;color:var(--green);font-variant-numeric:tabular-nums}
.reviews-score span{font-size:16px;line-height:1.35;color:var(--muted)}
.reviews-date{margin:12px 0 0;font-size:14px;color:var(--muted)}
.reviews-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.review{display:flex;flex-direction:column;gap:14px;margin:0;padding:26px 24px;background:var(--white);border:1px solid var(--line);border-radius:8px}
.review-stars{color:#b9852f;font-size:17px;letter-spacing:3px;line-height:1}
.review blockquote{margin:0}
.review blockquote p{margin:0;font-size:20px;line-height:1.4;color:var(--ink)}
.review figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 14px;margin-top:auto;font-size:15px;color:var(--muted)}
.review-author{font-weight:600;color:var(--ink)}
.review figcaption a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.delivery-notes a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.lightbox-order{flex-shrink:0;min-height:48px;padding:10px 16px;gap:10px;font-size:16px}
.lightbox-order svg{width:20px;height:20px}
.lightbox-order[hidden]{display:none}
.collection-note{margin:-12px 0 24px;font-size:17px;color:var(--muted)}
.wedding-events .photo-button{aspect-ratio:4/5;background:var(--sage)}
.wedding-events .photo-button img{object-fit:cover}
.map-placeholder{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px;min-height:240px;aspect-ratio:auto;padding:28px;background:var(--sage)}
.map-placeholder p{max-width:440px;margin:0;font-size:16px;color:var(--muted)}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 24px}
.legal-page{max-width:820px;padding-bottom:90px}
.legal-page section+section{margin-top:40px}
.legal-page h2{margin-bottom:12px;font-size:28px}
.legal-page p,.legal-page li{font-size:18px;line-height:1.6}
.legal-page ul{margin:0;padding-left:22px}
.legal-page li+li{margin-top:10px}
.legal-page section>p+p{margin-top:14px}
.legal-page a{text-decoration:underline;text-underline-offset:3px}
.legal-updated{margin-top:44px;font-size:15px;color:var(--muted)}
@media(max-width:1080px){
  .reviews-layout{grid-template-columns:1fr;gap:30px}
}
@media(max-width:760px){
  .home-reviews{padding-block:56px}
  .reviews-heading h2{font-size:34px}
  .reviews-score strong{font-size:48px}
  .reviews-list{grid-template-columns:1fr;gap:14px}
  .review{padding:20px}
  .review blockquote p{font-size:18px}
  .collection-note{margin-top:-8px;font-size:16px}
  .lightbox-bottom{flex-direction:column;align-items:stretch}
  .lightbox-order{width:100%}
  .legal-page{padding-bottom:60px}
  .legal-page h2{font-size:24px}
  .legal-page p,.legal-page li{font-size:17px}
}

/* A <picture> laid out with display:contents must not turn its <source> into an empty grid cell. */
picture.responsive-photo>source{display:none}

/* Photo viewer: the page stays visible, blurred, behind the photograph. */
.lightbox::backdrop{background:#10211799;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
@media(min-width:761px){
  /* 18 novembre 2026: one fixed size for every photograph, as wide as a 4:3 landscape one, so arrows, code,
     close button and WhatsApp request never move while browsing; a narrower photo sits centred inside.
     Until then the viewer took each photograph's proportions and the arrows jumped from one to the next.
     177px = padding, top bar and caption bar. */
  .lightbox{--viewer-h:min(900px,94dvh);height:var(--viewer-h);width:clamp(480px,calc((var(--viewer-h) - 177px) * 4 / 3 + 44px),calc(100vw - 48px))}
  .photo-edge svg{background:#fbf9f4e6;border-radius:50%;box-shadow:0 1px 6px #0002}
}

/* Home showcase: one large photograph and four small ones from the catalogue. */
.showcase-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}
.showcase-tile{position:relative;display:block;overflow:hidden;border-radius:3px;aspect-ratio:1;background:#efe9df}
.showcase-tile:first-child{grid-row:span 2;aspect-ratio:auto}
.showcase-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.showcase-tile:hover img{transform:scale(1.025)}
.showcase-tile>span{position:absolute;left:0;right:0;bottom:0;padding:40px 16px 14px;color:#fff;font-size:13px;font-weight:600;line-height:1.35;letter-spacing:.12em;text-transform:uppercase;background:linear-gradient(0deg,#000000e0,#000000a6 60%,#0000)}
.showcase-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:24px;font-size:17px}
.showcase-links a{text-decoration:underline;text-underline-offset:5px}
@media(max-width:760px){
  .showcase-grid{grid-template-columns:1fr 1fr;gap:12px}
  .showcase-tile:first-child{grid-column:span 2;grid-row:auto;aspect-ratio:1}
  .showcase-tile>span{padding:32px 12px 10px;font-size:12px;letter-spacing:.08em}
}

/* 27 ottobre 2026: ricerca nel catalogo per fiore, tipo o codice, discreta a destra delle categorie. Durante la ricerca restano solo le foto trovate, con i titoli delle loro sezioni. */
.catalogue-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;border-bottom:1px solid var(--line);padding-bottom:18px}
/* The categories take the free width and wrap inside it; the search stays beside them. */
.catalogue-tools .category-nav{flex:1 1 0;border-bottom:0;padding-bottom:0}
.catalogue-search{position:relative;display:flex;align-items:center;flex:0 0 270px}
.catalogue-search>svg{position:absolute;left:13px;width:18px;height:18px;color:var(--muted);pointer-events:none}
.catalogue-search input{width:100%;min-height:44px;padding:9px 40px 9px 38px;border:1px solid var(--line);border-radius:4px;background:transparent;color:var(--ink);font-size:16px;-webkit-appearance:none;appearance:none}
.catalogue-search input::placeholder{color:var(--muted);opacity:1}
.catalogue-search input:hover{border-color:var(--green)}
.catalogue-search input:focus{outline:2px solid var(--green);outline-offset:1px;border-color:var(--green);background:var(--white)}
.catalogue-search input::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.search-clear{position:absolute;right:2px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--muted);cursor:pointer}
.search-clear:hover{color:var(--ink)}
.search-clear svg{width:18px;height:18px}
.search-clear[hidden]{display:none}
.search-summary{margin:8px 0 0;font-size:18px;color:var(--muted)}
.search-summary[hidden]{display:none}
.search-summary a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
[data-catalogue] [data-search-hidden]{display:none!important}
[data-searching] :is(.category-description,.category-contact,.wedding-copy,.collection-note,.funeral-information,.view-hint,.more-photos>summary){display:none}
[data-searching] .more-photos{margin-top:0;padding-top:0;border:0}
[data-searching] .more-photos .photo-grid{margin-top:0}
[data-searching] .catalogue-category{padding-bottom:28px}
[data-searching] .catalogue-category>h2{margin-top:20px}
@media(min-width:761px){.catalogue-tools{grid-column:1/-1}}
@media(max-width:760px){.catalogue-tools .category-nav,.catalogue-search{flex:1 1 100%}.search-summary{font-size:17px}}

/* 28 ottobre 2026: pagina Consegne riorganizzata. In alto zona e contatti, poi le due zone affiancate, poi come ordinare: ogni informazione una volta sola. */
.topic-intro{display:grid;grid-template-columns:1fr 1.25fr;gap:40px 64px;align-items:end;padding-block:56px 44px}
.topic-intro h1{font-size:clamp(40px,4.3vw,62px);line-height:1.1}
.topic-intro .lead{font-size:20px;color:var(--muted);margin:0 0 14px;max-width:640px}
.topic-intro .lead strong{color:var(--ink);font-weight:600}
:is(.topic-intro,.delivery-order,.topic-band) .actions{justify-content:flex-start;gap:6px 28px}
.delivery-zones{display:grid;grid-template-columns:1.55fr 1fr;gap:24px;padding-bottom:72px}
.delivery-zone{padding:32px 34px 30px;border:1px solid var(--line);border-radius:10px;background:var(--white)}
.delivery-zone h2{font-size:clamp(30px,2.6vw,38px);margin-bottom:14px}
.delivery-zone p{font-size:18px;color:var(--muted);margin:0}
.delivery-zone .zone-tag{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--green);margin-bottom:10px}
.delivery-towns{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 18px;padding:0;list-style:none}
.delivery-towns li{padding:5px 12px;border-radius:5px;background:var(--sage);font-size:16px;line-height:1.4;color:var(--ink)}
.delivery-zone .zone-note{font-size:17px}
.delivery-side{display:flex;flex-direction:column;gap:24px}
.delivery-side>picture{display:block;position:relative;flex:1;min-height:150px}
.delivery-side>picture img{position:absolute;inset:0;height:100%;object-fit:cover;object-position:center 62%;border-radius:10px}
.delivery-order{padding-block:64px 72px;background:var(--sage)}
.delivery-order h2{margin-bottom:26px}
.delivery-order .delivery-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0 40px}
.delivery-order .delivery-step{padding:22px 0}
.delivery-order .delivery-step h3{font-size:25px}
.delivery-order .delivery-step p{font-size:18px;margin-top:6px}
.delivery-order .delivery-step a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.delivery-order .actions{padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:1080px){.topic-intro{grid-template-columns:1fr;gap:20px;align-items:start}.delivery-zone{padding:26px 24px}.delivery-order .delivery-steps{gap:0 28px}}
@media(max-width:900px){.delivery-order .delivery-steps{grid-template-columns:1fr}}
@media(max-width:760px){.topic-intro{padding-block:32px 28px}.topic-intro .lead{font-size:18px}.delivery-zones{grid-template-columns:1fr;gap:16px;padding-bottom:48px}.delivery-side{gap:16px}.delivery-side>picture{flex:none;height:200px;min-height:0}.delivery-zone{padding:24px 20px}.delivery-zone h2{font-size:30px}.delivery-zone p{font-size:17px}.delivery-towns li{font-size:15px;padding:4px 10px}.delivery-order{padding-block:44px}.delivery-order h2{margin-bottom:14px}.delivery-order .delivery-step{padding:16px 0}.delivery-order .delivery-step h3{font-size:23px}.delivery-order .delivery-step p{font-size:17px}}

/* 28 ottobre 2026: pagine dedicate Composizioni funebri e Matrimoni, con la stessa apertura di Consegne (.topic-intro). */
.topic-points{display:grid;grid-template-columns:repeat(3,1fr);gap:0 40px;padding-bottom:56px}
.topic-points>div{padding-top:20px;border-top:1px solid var(--line)}
.topic-points h2{font-size:25px;line-height:1.25;margin-bottom:8px}
.topic-points p{font-size:18px;color:var(--muted);margin:0}
.topic-photos{padding-bottom:72px}
.topic-photos>h2{margin-bottom:22px}
.topic-photos>.collection-note{margin:-10px 0 26px}
.topic-band{padding-block:64px 72px;background:var(--sage)}
.topic-band-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:40px 64px}
.topic-band h2{font-size:clamp(30px,2.6vw,38px);margin-bottom:16px}
.topic-band p{font-size:18px;color:var(--muted);max-width:640px}
.topic-link{margin-top:6px}
@media(max-width:900px){.topic-points{grid-template-columns:1fr}.topic-points>div{padding-block:16px 4px}}
@media(max-width:760px){.topic-points{padding-bottom:36px}.topic-points h2{font-size:23px}.topic-points p,.topic-band p{font-size:17px}.topic-photos{padding-bottom:48px}.topic-band{padding-block:44px}.topic-band-layout{grid-template-columns:1fr;gap:32px}.topic-band h2{font-size:30px}}

/* 18 novembre 2026: pagina di una foto del catalogo (/foto/f017/), aperta dal link nel messaggio WhatsApp. Foto intera a sinistra, codice e richiesta a destra; su telefono una sotto l'altra. */
.photo-sheet{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px 64px;align-items:center;padding-block:44px 72px}
.photo-sheet-image img{width:100%;height:auto;max-height:calc(100vh - var(--header-height) - 72px);object-fit:contain;object-position:center top}
.photo-sheet h1{font-size:clamp(34px,3.6vw,52px);line-height:1.1}
.photo-sheet-code{margin-top:14px;font-size:18px;color:var(--muted)}
.photo-sheet-code strong{color:var(--ink);font-weight:600;letter-spacing:.02em}
.photo-sheet-lead{margin:18px 0 8px;color:var(--muted)}
.photo-sheet .actions{justify-content:flex-start;gap:6px 28px}
.photo-sheet .topic-link{display:inline-flex;margin-top:18px}
@media (max-width:760px){.photo-sheet{grid-template-columns:1fr;gap:20px;padding-block:20px 48px}.photo-sheet-image img{max-height:68vh}}
