/* AMA APPROVED VISUALS — 11 October 2026
 * Reconstructed from the user's APPROVED mockup. Every title, anchor, WP link,
 * form, Omnibox, weather widget, seasonal scheduler and menu remains operative.
 * Locally hosted decor-only WebP; never inject e-commerce controls or store photography.
 */
:root{--ama-editorial-gutter:clamp(12px,1.15vw,22px)}
/* 14/10/2026 — indice Brand mobile: non tagliare il wordmark Boiron sulla card stretta. */
@media(max-width:760px){
 body.ama-site .ama-brand-logo-card img[src*="brand-boiron-logo-official.png"]{
  --ama-logo-scale:1.06!important;
 }
}
/* 14/10/2026 — 320–360 px: reclaim text width in the three daily editorial cards.
   Preserve icons, backgrounds, CTA buttons and the approved two-area composition. */
@media(max-width:360px){
 body.ama-site .ama-daily-home-grid .ama-health-pill-home__card{
  grid-template-columns:56px minmax(0,1fr)!important;
 }
 body.ama-site .ama-daily-home-grid .ama-health-pill-home__mark{
  padding:12px 5px!important;
 }
 body.ama-site .ama-daily-home-grid .ama-health-pill-home__mark span{
  width:40px!important;height:40px!important;font-size:21px!important;
 }
 body.ama-site .ama-daily-home-grid .ama-health-pill-home__mark svg{
  width:28px!important;height:28px!important;
 }
 body.ama-site .ama-daily-home-grid .ama-health-pill-home__copy{
  min-width:0!important;padding:18px 12px 22px!important;
 }
 body.ama-site .ama-daily-home-grid .ama-health-pill-home__copy h2{
  font-size:21px!important;line-height:1.13!important;
 }
 body.ama-site .ama-daily-home-grid .ama-health-pill-home__meta{
  font-size:11px!important;letter-spacing:0!important;
 }
}
/* 13/10/2026 — solo Irilenti: media ufficiale produttore 73930, intero e non sfocato; gli altri 39 Brand restano invariati. */
body.ama-site .ama-brand-detail-logo img[src*="brand-irilenti-ufficiale-iridina-20261013.jpg"]{
 width:min(920px,96%)!important;
 max-height:430px!important;
 height:auto!important;
 object-fit:contain!important;
 mix-blend-mode:normal!important;
}
body.ama-site .ama-brand-strip--clean:not(.is-seasonal-branded){
 background:linear-gradient(90deg,rgba(20,55,32,.57),rgba(23,66,43,.42)),url('/wp-content/uploads/2026/10/ama-approved-logo_foliage_approved.webp') center/cover no-repeat!important;
}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded{
 background-image:linear-gradient(110deg,color-mix(in srgb,var(--ama-strip-deep,#42574b) 77%,transparent),color-mix(in srgb,var(--ama-strip-deep,#42574b) 56%,transparent)),url('/wp-content/uploads/2026/10/ama-approved-logo_foliage_approved.webp')!important;
 background-size:cover!important;background-position:center!important;
}
/* The original Amafarmacia logotype is the only foreground logo. */
body.ama-site .ama-brand-strip--clean img{filter:drop-shadow(0 7px 19px rgba(0,0,0,.18))!important;max-height:205px;object-fit:contain}
body.ama-site .ama-home-hero{background:#f4f8f3!important;padding-top:13px!important;padding-bottom:18px!important}
body.ama-site .ama-home-hero__viewport{border:0!important;border-radius:20px!important;box-shadow:0 8px 26px rgba(31,56,42,.10)!important}
body.ama-site .ama-home-hero__slide>a{min-height:clamp(330px,29vw,490px);padding:42px clamp(40px,5.2vw,100px) 66px!important;grid-template-columns:minmax(0,1fr)!important;align-items:center!important}
body.ama-site .ama-home-hero__slide.is-primary>a{
 background:linear-gradient(90deg,rgba(237,249,230,.97) 0%,rgba(232,246,231,.91) 32%,rgba(231,247,233,.25) 66%,rgba(231,247,233,.03) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp') right center/cover no-repeat!important;
}
body.ama-site .ama-home-hero__editorial-art{display:none!important}
body.ama-site .ama-home-hero__slide.is-services>a{
 background:linear-gradient(90deg,rgba(225,244,253,.99) 0%,rgba(226,242,254,.89) 36%,rgba(226,242,254,.12) 75%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp') center/cover no-repeat!important;
}
body.ama-site .ama-home-hero__slide.is-brands>a{
 background:linear-gradient(90deg,rgba(244,234,226,.99),rgba(241,235,222,.91) 38%,rgba(241,235,222,.12) 80%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-brand_woman.webp') center/cover no-repeat!important;
}
body.ama-site .ama-home-hero__slide.is-pharmacist>a{
 background:linear-gradient(90deg,rgba(255,247,225,.99),rgba(255,247,225,.90) 36%,rgba(255,247,225,.05) 76%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp') right center/cover no-repeat!important;
}
/* Remove earlier pseudo-element photos of pharmacy interiors and staff. */
body.ama-site .ama-home-hero__slide:is(.is-services,.is-brands,.is-pharmacist)>a::before{background-image:none!important;content:none!important}
body.ama-site .ama-home-hero__slide.is-brands .ama-home-hero__brandmark{background:rgba(36,73,51,.90)!important;box-shadow:0 12px 31px rgba(24,56,33,.2)!important}
body.ama-site .ama-home-hero__slide>a .ama-home-hero__copy{width:min(58%,760px);max-width:760px!important}
body.ama-site .ama-home-hero__slide>a .ama-home-hero__copy h1,
body.ama-site .ama-home-hero__slide>a .ama-home-hero__copy h2{font-family:Georgia,'Times New Roman',serif!important;color:#193e30!important;font-weight:720!important;letter-spacing:-.055em!important;line-height:1.01!important}
body.ama-site .ama-home-hero__slide>a .ama-home-hero__copy p:not(.ama-kicker){color:#254937!important;font-weight:540!important}
body.ama-site .ama-home-hero__slide>a .ama-home-hero__cta{border-color:#28583d!important;background:#28583d!important;min-height:44px!important}
/* Vaccination campaign hero: 15 October – 15 January. Holiday slides and quick card unchanged. */
body.ama-site .ama-home-hero__slide.is-vax-campaign>a{background:linear-gradient(90deg,rgba(236,247,241,.99) 0%,rgba(234,245,241,.97) 38%,rgba(220,239,233,.53) 67%,rgba(220,239,233,.08) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp') right center/cover no-repeat!important}
body.ama-site .ama-home-hero__slide.is-vax-campaign .ama-kicker{color:#257454!important;font-weight:800!important}
body.ama-site .ama-home-hero__slide.is-vax-campaign .ama-home-hero__copy{position:relative;z-index:2}
body.ama-site .ama-home-hero__vax-art{position:absolute;right:5%;bottom:13%;width:min(23vw,270px);max-height:240px;overflow:hidden;border:6px solid rgba(255,255,255,.84);border-radius:26px;box-shadow:0 12px 42px rgba(29,75,55,.17);pointer-events:none}
body.ama-site .ama-home-hero__vax-art img{display:block;width:100%;height:auto;object-fit:cover}
@media(max-width:760px){body.ama-site .ama-home-hero__slide.is-vax-campaign>a{background-image:linear-gradient(180deg,rgba(236,247,241,.99) 0%,rgba(236,247,241,.97) 47%,rgba(236,247,241,.47) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp')!important;background-position:center bottom!important;background-size:cover!important}body.ama-site .ama-home-hero__slide.is-vax-campaign .ama-home-hero__copy{max-width:100%!important}body.ama-site .ama-home-hero__slide.is-vax-campaign .ama-home-hero__copy h2{font-size:clamp(1.8rem,7vw,2.6rem)!important}body.ama-site .ama-home-hero__vax-art{display:none}}
/* Festival photographs and dates remain dynamic; approved Primavera/Estate art only where relevant. */
body.ama-site .ama-home-hero__slide.is-seasonal[data-season='spring']>.ama-seasonal-greeting-layout{
 background-image:linear-gradient(90deg,rgba(238,249,230,.98),rgba(238,249,230,.91) 34%,rgba(238,249,230,.06) 81%),url('/wp-content/uploads/2026/10/ama-editoriale-primavera-unsplash-jeffrey-hamilton.jpg')!important;background-position:right center!important;
}
body.ama-site .ama-home-hero__slide.is-seasonal[data-season='summer']>.ama-seasonal-greeting-layout{
 background-image:linear-gradient(90deg,rgba(1,74,112,.99),rgba(1,83,123,.91) 38%,rgba(1,83,123,.07) 80%),url('/wp-content/uploads/2026/10/ama-editoriale-estate-unsplash-taras-terletskyy.jpg')!important;background-position:right center!important;
}
body.ama-site .ama-home-hero__slide.is-seasonal :is(.ama-home-hero__copy h2,.ama-home-hero__copy p,.ama-kicker){font-family:Georgia,serif;}
body.ama-site .ama-home-hero__slide.is-seasonal[data-season='spring'] :is(.ama-home-hero__copy h2,.ama-home-hero__copy p,.ama-kicker){color:#193a27!important;}
body.ama-site .ama-home-hero__slide.is-seasonal[data-season='summer'] :is(.ama-home-hero__copy h2,.ama-home-hero__copy p,.ama-kicker){color:white!important;}
/* Quick access: five editorial tiles per large monitor, real WP links and copy. */
body.ama-site .ama-home-card-strip{background:#f4f8f3!important;padding:13px 0 24px!important}
body.ama-site .ama-home-card-strip__rail{grid-auto-columns:calc((100% - 48px)/5)!important;gap:12px!important;padding-block:6px 18px!important}
body.ama-site .ama-home-card{aspect-ratio:1.28!important;min-height:250px!important;padding:15px!important;border-radius:16px!important;box-shadow:0 5px 19px rgba(45,65,53,.095)!important}
body.ama-site .ama-home-card__photo,
body.ama-site .ama-home-card.is-coupon .ama-home-card__photo,
body.ama-site .ama-home-card.is-recipe .ama-home-card__photo,
body.ama-site .ama-home-card.is-lab .ama-home-card__photo,
body.ama-site .ama-home-card.is-services .ama-home-card__photo,
body.ama-site .ama-home-card.is-quiz .ama-home-card__photo{
 position:absolute!important;left:auto!important;right:0!important;top:0!important;width:79%!important;height:100%!important;
 object-fit:cover!important;object-position:right center!important;
 filter:none!important;transform:none!important;opacity:1!important;z-index:-2!important;
 clip-path:inset(0 0 0 24%)!important;
}
body.ama-site .ama-home-card::before,
body.ama-site .ama-home-card.is-coupon::before,
body.ama-site .ama-home-card.is-recipe::before,
body.ama-site .ama-home-card.is-lab::before,
body.ama-site .ama-home-card.is-services::before,
body.ama-site .ama-home-card.is-quiz::before,
body.ama-site .ama-home-card.is-vax::before,
body.ama-site .ama-home-card.is-pill::before,
body.ama-site .ama-home-card.is-brands::before,
body.ama-site .ama-home-card.is-calendar::before{
 background:linear-gradient(120deg,var(--ama-tile-bg,#e8f3e3) 0%,var(--ama-tile-bg,#e8f3e3) 35%,color-mix(in srgb,var(--ama-tile-bg,#e8f3e3) 89%,transparent) 50%,transparent 95%)!important;
}
body.ama-site .ama-home-card.is-coupon{--ama-tile-bg:#fbd6e1!important;background:#fbd6e1!important}
body.ama-site .ama-home-card.is-recipe{--ama-tile-bg:#e7f6df!important;background:#e7f6df!important}
body.ama-site .ama-home-card.is-lab{--ama-tile-bg:#f5e6d5!important;background:#f5e6d5!important}
body.ama-site .ama-home-card.is-services{--ama-tile-bg:#d6effd!important;background:#d6effd!important}
body.ama-site .ama-home-card.is-quiz{--ama-tile-bg:#ebe0fc!important;background:#ebe0fc!important}
body.ama-site .ama-home-card.is-vax{--ama-tile-bg:#e8f3dd!important;background:#e8f3dd!important}
body.ama-site .ama-home-card.is-brands{--ama-tile-bg:#e9f2e4!important;background:#e9f2e4!important}
body.ama-site .ama-home-card.is-pill{--ama-tile-bg:#edf8e9!important;background:#edf8e9!important}
body.ama-site .ama-home-card.is-calendar{--ama-tile-bg:#f5e8d5!important;background:#f5e8d5!important}
body.ama-site .ama-home-card .ama-home-card__eyebrow{font-size:.65rem!important;line-height:1.2!important;margin-bottom:8px!important;color:#2d4a38!important}
body.ama-site .ama-home-card strong{font-family:Georgia,'Times New Roman',serif!important;line-height:1.04!important;font-size:clamp(1.03rem,1.2vw,1.42rem)!important;max-width:89%!important;color:#233c2d!important}
body.ama-site .ama-home-card>span:not(.ama-home-card__eyebrow){font-size:.72rem!important;max-width:72%!important;line-height:1.31!important;color:#304638!important}
body.ama-site .ama-home-card b{margin-top:auto!important;border-radius:999px!important;box-shadow:0 3px 9px rgba(24,54,36,.1)!important}
/* Banner, brand category imagery, actual carried brands, and actual service links. */
body.ama-site .ama-brand-editorial-banner{background:linear-gradient(110deg,#e4f4d7,#eff6e9)!important;min-height:250px!important}
body.ama-site .ama-brand-editorial-banner__photo{object-fit:cover!important;object-position:center!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 31%)!important;mask-image:linear-gradient(90deg,transparent,#000 31%)!important}
body.ama-site .ama-brand-editorial-banner__copy h2{font-family:Georgia,'Times New Roman',serif!important}
body.ama-site .ama-brand-editorial-category img{object-fit:cover!important;object-position:center!important}
body.ama-site .ama-brand-editorial-tile{min-height:228px!important;border-radius:17px!important}
body.ama-site .ama-brand-editorial-tile>img{left:auto!important;right:0!important;width:78%!important;object-position:right!important;clip-path:inset(0 0 0 28%)!important;filter:none!important}
body.ama-site .ama-brand-editorial-tile::before{background:linear-gradient(95deg,var(--ama-brand-spotlight-color) 0%,var(--ama-brand-spotlight-color) 32%,color-mix(in srgb,var(--ama-brand-spotlight-color) 85%,transparent) 50%,transparent 100%)!important}
body.ama-site .ama-brand-editorial-tile__content{min-height:228px!important;width:100%!important;padding:16px!important}
body.ama-site .ama-brand-editorial-tile__content strong{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(1.3rem,1.8vw,2.1rem)!important;max-width:78%!important}
body.ama-site .ama-editorial-services{gap:12px!important}
body.ama-site .ama-editorial-service-tile{min-height:198px!important;border-radius:16px!important}
body.ama-site .ama-editorial-service-tile>img{left:auto!important;right:0!important;width:76%!important;clip-path:inset(0 0 0 26%)!important;object-position:right center!important}
body.ama-site .ama-editorial-service-tile::before{background:linear-gradient(90deg,rgba(248,251,247,.98) 0%,rgba(248,251,247,.91) 40%,rgba(248,251,247,.38) 71%,transparent 100%)!important}
body.ama-site .ama-editorial-service-tile__copy>strong{font-family:Georgia,'Times New Roman',serif!important}
body.ama-site .ama-services-page .ama-catalog-hero{
 background-image:linear-gradient(90deg,#e0f1fa 0%,rgba(224,241,250,.92) 38%,rgba(224,241,250,.05) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp')!important;
 background-size:cover!important;background-position:right center!important;
}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brands-hero{
 background-image:linear-gradient(90deg,#eef5e9 0%,rgba(238,245,233,.94) 42%,rgba(238,245,233,.05) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-brand_woman.webp')!important;
 background-size:cover!important;background-position:right center!important;
}
body.ama-site .ama-laboratorio .ama-lab-hero{
 background-image:linear-gradient(90deg,#f9ecdb 0%,rgba(249,236,219,.94) 44%,rgba(249,236,219,.08) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-galenic.webp')!important;
 background-size:cover!important;background-position:right center!important;
}
/* Restrict content images in informational panels to approved editorial assets only. */
/* The laboratory documentary photo and its factual caption refer to the real
   Amafarmacia laboratory. Never replace or hide it with generic editorial art. */
body.ama-site .ama-laboratorio .ama-lab-hero-photo img{opacity:1!important;object-fit:contain!important}
body.ama-site .ama-laboratorio .ama-lab-hero-photo{background:transparent!important}
/* Desktop composition of the approved redesign: photo slider first, original
   photographic logo strip immediately below. Mobile keeps its logo-first
   reading order. No HTML, carousel state, anchors or controls are changed. */
@media(min-width:1181px){
 body.ama-site main#top.ama-main:has(> .ama-brand-strip--clean){
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  min-width:0!important;
 }
 body.ama-site main#top.ama-main:has(> .ama-brand-strip--clean)>.ama-home-hero{
  order:0!important;min-width:0!important;
 }
 body.ama-site main#top.ama-main:has(> .ama-brand-strip--clean)>.ama-brand-strip--clean{
  order:0!important;width:min(1840px,calc(100vw - 32px))!important;
  max-width:1840px!important;box-sizing:border-box!important;
  margin-inline:auto!important;border-radius:18px!important;
 }
 body.ama-site main#top.ama-main:has(> .ama-brand-strip--clean)>:not(.ama-home-hero):not(.ama-brand-strip--clean){
  min-width:0!important;
 }
}
/* Full width of the real site, without making long legal texts hard to read. */
@media(min-width:1181px){
 body.ama-site .ama-market-header .ama-topbar-inner,
 body.ama-site .ama-market-header .ama-header-secondary,
 body.ama-site .ama-main>section.ama-section>.ama-shell,
 body.ama-site .ama-main>section.ama-home-hero>.ama-shell,
 body.ama-site .ama-main>section.ama-home-card-strip>.ama-shell,
 body.ama-site .ama-brands-page .ama-shell,
 body.ama-site .ama-services-page>.ama-shell{
  width:min(1840px,calc(100vw - 32px))!important;max-width:1840px!important;margin-inline:auto!important;
 }
}
@media(min-width:761px) and (max-width:1180px){body.ama-site .ama-home-card-strip__rail{grid-auto-columns:calc((100% - 42px)/4)!important}}
@media(max-width:760px){
 body.ama-site .ama-home-hero__slide>a{padding:28px 23px 72px!important;min-height:425px!important}
 body.ama-site .ama-home-hero__slide>a .ama-home-hero__copy{width:100%!important;max-width:96%!important;align-self:flex-start!important}
 body.ama-site .ama-home-hero__slide.is-primary>a{
  background-image:linear-gradient(180deg,rgba(236,249,232,.98) 0%,rgba(236,249,232,.96) 36%,rgba(236,249,232,.12) 86%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 }
 body.ama-site .ama-home-hero__slide.is-services>a,
 body.ama-site .ama-home-hero__slide.is-brands>a,
 body.ama-site .ama-home-hero__slide.is-pharmacist>a{background-size:cover!important;background-position:right bottom!important}
 body.ama-site .ama-home-hero__slide.is-pharmacist>a{background-image:linear-gradient(180deg,rgba(255,247,225,.99) 0%,rgba(255,247,225,.92) 38%,rgba(255,247,225,.15) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp')!important}
 body.ama-site .ama-home-hero__slide.is-seasonal[data-season='spring']>.ama-seasonal-greeting-layout{background-image:linear-gradient(180deg,rgba(238,249,230,.97),rgba(238,249,230,.88) 46%,rgba(238,249,230,.09) 100%),url('/wp-content/uploads/2026/10/ama-editoriale-primavera-unsplash-jeffrey-hamilton.jpg')!important}
 body.ama-site .ama-home-hero__slide.is-seasonal[data-season='summer']>.ama-seasonal-greeting-layout{background-image:linear-gradient(180deg,rgba(0,67,96,.97),rgba(0,67,96,.84) 49%,transparent 100%),url('/wp-content/uploads/2026/10/ama-editoriale-estate-unsplash-taras-terletskyy.jpg')!important}
 body.ama-site .ama-home-card-strip__rail{grid-auto-columns:min(78vw,320px)!important;gap:10px!important}
 body.ama-site .ama-home-card{aspect-ratio:1.15!important;min-height:250px!important}
 body.ama-site .ama-home-card strong{font-size:1.27rem!important}
 body.ama-site .ama-home-card-nav,body.ama-site .ama-home-hero__controls>button{display:none!important}
 body.ama-site .ama-home-card__photo{filter:none!important}
 body.ama-site .ama-brand-editorial-featured,body.ama-site .ama-editorial-services{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ama-site .ama-brand-editorial-banner__photo{min-height:170px!important}
}
/* 16/10 Opera QA 320px: editorial service tiles were forced to two columns
   by the 760px override above, splitting 'Prenotazione' and 'Laboratorio'
   inside words. Preserve desktop/tablet grid; stack only on narrow phones. */
@media(max-width:390px){
 body.ama-site .ama-editorial-services{
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.ama-site .ama-editorial-service-tile__copy>strong{
  word-break:normal!important;overflow-wrap:normal!important;
 }
}

@media(prefers-reduced-motion:reduce){body.ama-site .ama-home-hero__track{scroll-behavior:auto!important}}

/* Supporting editorial panels: approved promotions, healthy recipe and quiz art.
   These are backgrounds behind real content, never fake product/rating information. */
body.ama-site .ama-promo-section .ama-promo-card{position:relative;isolation:isolate;overflow:hidden!important;background:#fbe1e5!important}
body.ama-site .ama-promo-section .ama-promo-card:nth-child(2){background:#fce4d7!important}
body.ama-site .ama-promo-section .ama-promo-card::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(250,228,235,.99) 0%,rgba(250,228,235,.92) 48%,rgba(250,228,235,.13) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-brand_woman.webp') right center/auto 100% no-repeat}
body.ama-site .ama-promo-section .ama-promo-card:nth-child(2)::before{background-image:linear-gradient(90deg,rgba(253,233,215,.99),rgba(253,233,215,.85) 52%,rgba(253,233,215,.1)),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-brand_woman.webp')}
/* The approved crop still has stray mockup lettering in its top margin.
   Crop that margin outside the promo card, keep the genuine CTA in HTML. */
body.ama-site .ama-promo-section .ama-promo-card::before{background-size:cover,auto 128%!important;background-position:center,right bottom!important;}
body.ama-site .ama-promo-section .ama-promo-brand{object-fit:contain!important;max-width:100%!important;filter:drop-shadow(0 3px 8px rgba(26,58,36,.12))}
body.ama-site .ama-daily-recipe-home__card{background:linear-gradient(90deg,rgba(245,250,232,.99) 0%,rgba(245,250,232,.88) 58%,rgba(245,250,232,.12) 100%),url('/wp-content/uploads/2026/10/amafarmacia-ricetta-editoriale-ingredienti-20261012.webp') right center/auto 100% no-repeat!important}
body.ama-site .ama-daily-quiz-home__card{background:linear-gradient(90deg,rgba(241,228,252,.99) 0%,rgba(241,228,252,.89) 57%,rgba(241,228,252,.12) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-quiz.webp') right center/auto 100% no-repeat!important}
body.ama-site .ama-reviews-box{border-radius:20px!important;background-image:linear-gradient(100deg,rgba(240,249,235,.99),rgba(240,249,235,.94) 65%,rgba(240,249,235,.67)),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;background-position:right center!important;background-size:auto 100%!important;background-repeat:no-repeat!important}
/* Maintain visual rhythm for existing information tiles, bookings and contact cards. */
/* Full-resolution quiet botanical/medical photography behind legible booking copy. */
body.ama-site .ama-booking-card:nth-child(odd){
 background:linear-gradient(110deg,rgba(232,245,230,.97),rgba(247,252,244,.91) 52%,rgba(247,252,244,.58)),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp') center/cover no-repeat!important;
 border-color:#ccdfd0!important
}
body.ama-site .ama-booking-card:nth-child(even){
 background:linear-gradient(110deg,rgba(228,241,252,.97),rgba(248,252,255,.91) 54%,rgba(248,252,255,.57)),url('/wp-content/uploads/2026/10/ama-editoriale-primavera-unsplash-jeffrey-hamilton.jpg') center 43%/cover no-repeat!important;
 border-color:#cbdeec!important
}
body.ama-site .ama-contact-strip>a:nth-child(4n+1){background:#e6f2e6!important}
body.ama-site .ama-contact-strip>a:nth-child(4n+2){background:#e3f1fa!important}
body.ama-site .ama-contact-strip>a:nth-child(4n+3){background:#f5e7f0!important}
body.ama-site .ama-contact-strip>a:nth-child(4n){background:#f8ecd9!important}
/* F07 / 17-10-2026: WCAG 2.2 AA contrast-only adjustments confirmed by axe-core.
   Maintain the approved pastel cards, photographs, menu structure and spacing. */
body.ama-site .ama-contact-strip>a>span{color:#536159!important}
body.ama-site .ama-lab-prep-title small{color:#526058!important}
/* F07 / L.169: verified 17px-high inline text targets in the site footer.
   Expand only their hit area (WCAG 2.2 2.5.8), preserving all links and layout. */
body.ama-site .ama-footer .ama-footer-grid > div > a,
body.ama-site .ama-footer .ama-footer-grid p a,
body.ama-site .ama-footer .ama-footer-legal p a{
 display:inline-flex!important;align-items:center!important;min-height:36px!important;
 max-width:100%!important;box-sizing:border-box!important;
 padding:7px 2px!important;overflow-wrap:anywhere!important;
}
/* F07 WCAG 2.2 SC 2.5.8: raise the clickable text links in Home service and review cards to a reliable minimum hit height. */
body.ama-site .ama-services-grid .ama-service-text h3 a,
body.ama-site .ama-services-grid .ama-service-text p>a,
body.ama-site #recensioni a.ama-google-link{
 display:inline-flex!important;align-items:center!important;min-height:36px!important;
 padding:7px 8px!important;box-sizing:border-box!important;
}
/* F07: small actionable phone, booking and privacy links outside service/review cards. */
body.ama-site .ama-location-body a.ama-inline-link,
body.ama-site #prenota p.ama-external-note a,
body.ama-site .ama-reviews-box a.ama-google-link,
body.ama-site .ama-pharmacist-mount a[href*="vqui.it"],
body.ama-site .ama-pharmacist-mount a[href^="tel:"],
body.ama-site .ama-pharmacist-mount a[href*="wa.me/"]{
 display:inline-flex!important;align-items:center!important;min-height:36px!important;
 padding:6px 8px!important;box-sizing:border-box!important;
}
@media(min-width:1181px){body.ama-site .ama-market-header .ama-menu-install--desktop-language>span{opacity:1!important;color:#fff!important}}
@media(max-width:760px){
 body.ama-site .ama-promo-section .ama-promo-card::before{background-size:cover,auto 117%!important;background-position:center,right bottom!important}
 body.ama-site .ama-daily-recipe-home__card,body.ama-site .ama-daily-quiz-home__card{background-size:auto 70%!important;background-position:right bottom!important}
 body.ama-site .ama-reviews-box{background-image:none!important}
}

/* AMA visual repair 2026-10-11 evening — hi-res assets, floating logo, history equalization.
   This last layer is purely cosmetic: menu, weather, Omnibox, bookings and seasonal schedule unchanged. */

/* 1. The genuine Amafarmacia white logo is flattened onto dark green in the source art.
   Screen-blending a monochrome threshold makes the dark pixels visually transparent;
   do not fabricate a new wordmark or insert the demonstration logo. */
body.ama-site .ama-brand-strip--clean{
 isolation:isolate!important;
 background-image:linear-gradient(90deg,rgba(19,52,32,.22),rgba(20,54,35,.24)),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-size:cover!important;background-position:center 52%!important;
}
body.ama-site .ama-brand-strip--clean>img{
 /* The brand is now served with an actual alpha channel (SVG/PNG).
    Do not screen-blend or crop the authentic lettering and full payoff. */
 mix-blend-mode:normal!important;
 filter:drop-shadow(0 7px 18px rgba(0,0,0,.22))!important;
 clip-path:none!important;
 transform:none!important;
 opacity:1!important;
 width:min(690px,78vw)!important;
 height:auto!important;
 max-height:205px!important;
 object-fit:contain!important;
 background:transparent!important;
 box-shadow:none!important;
}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded{
 background-image:linear-gradient(112deg,
  color-mix(in srgb,var(--ama-strip-deep,#405a46) 53%,transparent),
  color-mix(in srgb,var(--ama-strip-accent,#bbac7e) 28%,transparent)
 ),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-position:center 52%!important;
}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded::before,
body.ama-site .ama-brand-strip--clean.is-seasonal-branded::after{opacity:.1!important}

/* The original raster logo and payoff stay identical. During festivities
   both are gently colour-tinted with the event palette: sepia acts only
   after the existing dark-background threshold, preserving screen blending.
   The everyday white logo is unchanged. */
body.ama-site .ama-brand-strip--clean.is-seasonal-branded>img{
 filter:grayscale(1) contrast(3.6) brightness(1.13) sepia(1) saturate(1.65) hue-rotate(var(--ama-brand-logo-hue,0deg))!important;
 mix-blend-mode:screen!important;
}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="christmas"]{--ama-brand-logo-hue:-30deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="new_year"]{--ama-brand-logo-hue:3deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="epiphany"]{--ama-brand-logo-hue:140deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="halloween"]{--ama-brand-logo-hue:-13deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="easter"]{--ama-brand-logo-hue:235deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="carnival"]{--ama-brand-logo-hue:272deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="valentine"]{--ama-brand-logo-hue:298deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="womens_day"]{--ama-brand-logo-hue:247deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="fathers_day"]{--ama-brand-logo-hue:153deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="mothers_day"]{--ama-brand-logo-hue:282deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="ferragosto"]{--ama-brand-logo-hue:8deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="grandparents_day"]{--ama-brand-logo-hue:22deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="spring"]{--ama-brand-logo-hue:88deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="summer"]{--ama-brand-logo-hue:164deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="autumn"]{--ama-brand-logo-hue:18deg}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="winter"]{--ama-brand-logo-hue:169deg}

/* Original Amafarmacia raster wordmark extracted on transparent PNG at native 900x310.
   Remove old blend/screen workaround that retained a visible green rectangle. */
body.ama-site .ama-brand-strip--clean>img{
 mix-blend-mode:normal!important;
 filter:drop-shadow(0 2px 5px rgba(0,0,0,.24))!important;
 clip-path:none!important;background:transparent!important;
 width:min(690px,78vw)!important;
}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded>img{
 mix-blend-mode:normal!important;
 filter:brightness(0) saturate(100%) invert(86%) sepia(46%) saturate(660%) hue-rotate(var(--ama-brand-logo-hue,0deg)) drop-shadow(0 2px 5px rgba(0,0,0,.24))!important;
}

/* Festival-specific main logo strip art: 16 distinct photographic seasons/holidays.
   Uses the exact existing scheduler's data-season; menu/weather/omnibox remain unchanged. */
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="christmas"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/amafarmacia-natale-slitta-editoriale-20261012.webp');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="new_year"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-new_year-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="epiphany"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-epiphany-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="halloween"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-halloween-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="easter"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-easter-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="carnival"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-carnival-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="valentine"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-valentine-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="womens_day"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-womens_day-editoriale-scaled.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="fathers_day"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-fathers_day-editoriale-scaled.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="mothers_day"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-mothers_day-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="ferragosto"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-ferragosto-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="grandparents_day"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-grandparents_day-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="spring"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-editoriale-primavera-unsplash-jeffrey-hamilton.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="summer"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-editoriale-estate-unsplash-taras-terletskyy.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="autumn"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-autumn-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season="winter"]{--ama-brand-holiday-image:url('/wp-content/uploads/2026/10/ama-stagionale-winter-editoriale.jpg');}
body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season]{
 background-image:linear-gradient(112deg,
  color-mix(in srgb,var(--ama-strip-deep,#405a46) 75%,transparent) 0%,
  color-mix(in srgb,var(--ama-strip-deep,#405a46) 63%,transparent) 43%,
  color-mix(in srgb,var(--ama-strip-accent,#bda778) 37%,transparent) 100%),
 var(--ama-brand-holiday-image,url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp'))!important;
 background-size:cover!important;background-position:center center!important;
}
@media(max-width:760px){
 body.ama-site .ama-brand-strip--clean.is-seasonal-branded[data-season]{
  background-position:center 55%!important;
 }
}

/* 2. Replace tiny mockup crops blown up to banner size with suitable hi-res matching imagery. */
body.ama-site .ama-home-hero__slide.is-services>a{
 background-image:linear-gradient(90deg,rgba(229,244,253,.99) 0%,rgba(227,243,254,.95) 37%,rgba(227,243,254,.17) 77%),
 url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp')!important;
 background-size:cover!important;background-position:right center!important;
}
body.ama-site .ama-home-hero__slide.is-brands>a{
 background-image:linear-gradient(90deg,rgba(245,240,229,.99) 0%,rgba(245,238,225,.93) 37%,rgba(245,238,225,.10) 80%),
 url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-brand_woman.webp')!important;
 background-size:cover!important;background-position:right center!important;
}
body.ama-site .ama-services-page .ama-catalog-hero{
 background-image:linear-gradient(90deg,#e5f4fc 0%,rgba(229,244,252,.94) 42%,rgba(229,244,252,.1) 87%),
 url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp')!important;
}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brands-hero{
 background-image:linear-gradient(90deg,#f0f6e9 0%,rgba(240,246,233,.94) 42%,rgba(240,246,233,.08) 85%),
 url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-brand_woman-f02-q75-20261018.webp')!important;
}
body.ama-site .ama-laboratorio .ama-lab-hero{
 background-image:linear-gradient(90deg,#f9efdf 0%,rgba(249,239,223,.94) 42%,rgba(249,239,223,.13) 90%),
 url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-galenic.webp')!important;
}
body.ama-site .ama-daily-recipe-home__card{
 background-image:linear-gradient(90deg,rgba(245,250,232,.99),rgba(245,250,232,.93) 52%,rgba(245,250,232,.1) 100%),
 url('/wp-content/uploads/2026/10/amafarmacia-ricetta-editoriale-ingredienti-20261012.webp')!important;
 background-position:right center!important;background-size:cover!important;
}
body.ama-site .ama-daily-quiz-home__card{
 background-image:linear-gradient(90deg,rgba(243,231,253,.99),rgba(243,231,253,.93) 52%,rgba(243,231,253,.13) 100%),
 url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-quiz.webp')!important;
 background-position:right center!important;background-size:cover!important;
}
body.ama-site .ama-laboratorio .ama-lab-hero-photo{
 background-image:url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-galenic.webp')!important;
 background-size:cover!important;background-position:right center!important;
}

/* 3. The Story page uses actual storefront photographs (gallery/history exception).
   Keep equal cards, fill the image area with no gray/white bands. */
body.ama-site .ama-history .ama-history-cards{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:clamp(14px,2vw,28px)!important;align-items:stretch!important;
}
body.ama-site .ama-history .ama-history-cards>article{
 min-width:0!important;display:flex!important;flex-direction:column!important;
 border-radius:20px!important;overflow:hidden!important;
 background:#fff!important;
}
body.ama-site .ama-history .ama-history-cards>article>img{
 width:100%!important;height:auto!important;aspect-ratio:16/10!important;
 display:block!important;object-fit:cover!important;object-position:center 50%!important;
 background:none!important;min-height:0!important;
}
body.ama-site .ama-history .ama-history-cards>article>div{flex:1!important}
body.ama-site .ama-history .ama-history-cards>article:nth-child(2)>img{object-position:center 48%!important}
/* Editorial treatment for real Brand detail pages. Keep official logo/video
   and the reason/use sections untouched; no catalogue or products invented. */
body.ama-site .ama-brand-detail-page .ama-brand-detail-hero{
 background-color:#f5f8ed!important;
 background-image:linear-gradient(90deg,rgba(245,249,237,.99) 0%,rgba(245,249,237,.97) 51%,rgba(245,249,237,.78) 76%,rgba(245,249,237,.40) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-size:cover!important;background-position:right center!important;
}
@media(max-width:760px){body.ama-site .ama-brand-detail-page .ama-brand-detail-hero{
 background-image:linear-gradient(180deg,rgba(245,249,237,.99) 0%,rgba(245,249,237,.97) 62%,rgba(245,249,237,.67) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-position:right bottom!important;
}}
/* History and gallery photographs are intentionally governed only by their
   original gallery styles. Do not impose new crops, aspect-ratios or filters. */

/* Approved editorial identity for non-gallery History page headers only.
   No changes to any genuine gallery, archive photo, captions or content. */
body.ama-site .ama-history .ama-history-heading{
 background-color:#edf5e9!important;
 background-image:linear-gradient(90deg,rgba(239,248,235,.99) 0%,rgba(239,248,235,.97) 49%,rgba(239,248,235,.65) 73%,rgba(239,248,235,.12) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-position:center,right center!important;background-size:cover!important;
}
@media(max-width:760px){body.ama-site .ama-history .ama-history-heading{
 background-image:linear-gradient(180deg,rgba(239,248,235,.99) 0%,rgba(239,248,235,.98) 55%,rgba(239,248,235,.60) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-position:center,right bottom!important;
}}

/* 5. Daily medical encyclopedia, recipe and quiz share the approved editorial visual language.
   Each article's verified facts, source, date, WhatsApp link and quiz controls remain untouched. */
body.ama-site .ama-health-pill-page .ama-health-pill-hero{
 background-color:#e8f3e4!important;
 background-image:linear-gradient(90deg,rgba(233,245,231,.99) 0%,rgba(233,245,231,.95) 44%,rgba(233,245,231,.13) 95%),
 url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-size:cover!important;background-position:right center!important;
}
body.ama-site .ama-daily-recipe-page .ama-daily-recipe-hero{
 background-color:#f1f8df!important;
 background-image:linear-gradient(90deg,rgba(244,250,231,.99) 0%,rgba(244,250,231,.95) 46%,rgba(244,250,231,.11) 95%),
 url('/wp-content/uploads/2026/10/amafarmacia-ricetta-editoriale-ingredienti-20261012.webp')!important;
}
body.ama-site .ama-daily-quiz-page .ama-daily-quiz-hero{
 background-color:#efe3fc!important;
 background-image:linear-gradient(90deg,rgba(245,232,255,.99) 0%,rgba(245,232,255,.94) 46%,rgba(245,232,255,.13) 95%),
 url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-quiz.webp')!important;
}
body.ama-site .ama-health-pill-page .ama-health-pill-hero__grid{
 grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important;
}
body.ama-site .ama-health-pill-page .ama-health-pill-hero__copy{position:relative;z-index:1}
body.ama-site .ama-health-pill-page .ama-health-pill-hero__copy :is(h1,.ama-lead,.ama-health-pill-date,.ama-kicker){
 color:#203c2e!important;text-shadow:0 1px 4px rgba(255,255,255,.18);
}
body.ama-site .ama-health-pill-page .ama-health-pill-hero__visual{
 visibility:hidden!important;pointer-events:none!important;
}
/* Keep interactive quiz on readable alternating surfaces; no controls hidden. */
body.ama-site .ama-daily-quiz-page .ama-daily-quiz__question:nth-child(4n+1){
 background:linear-gradient(140deg,#eaf5e9,#fff 72%)!important;
}
body.ama-site .ama-daily-quiz-page .ama-daily-quiz__question:nth-child(4n+2){
 background:linear-gradient(140deg,#eaf2fa,#fff 72%)!important;
}
body.ama-site .ama-daily-quiz-page .ama-daily-quiz__question:nth-child(4n+3){
 background:linear-gradient(140deg,#f4eafb,#fff 72%)!important;
}
body.ama-site .ama-daily-quiz-page .ama-daily-quiz__question:nth-child(4n){
 background:linear-gradient(140deg,#faf0de,#fff 72%)!important;
}
@media(max-width:760px){
 body.ama-site .ama-health-pill-page .ama-health-pill-hero__grid{grid-template-columns:1fr!important}
 body.ama-site .ama-health-pill-page .ama-health-pill-hero{
  background-image:linear-gradient(180deg,rgba(239,247,237,.99) 0%,rgba(239,247,237,.98) 53%,rgba(239,247,237,.30) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 }
 body.ama-site .ama-daily-recipe-page .ama-daily-recipe-hero{
  background-image:linear-gradient(180deg,rgba(247,251,234,.99) 0%,rgba(247,251,234,.96) 53%,rgba(247,251,234,.25) 100%),url('/wp-content/uploads/2026/10/amafarmacia-ricetta-editoriale-ingredienti-20261012.webp')!important;
 }
 body.ama-site .ama-daily-quiz-page .ama-daily-quiz-hero{
  background-image:linear-gradient(180deg,rgba(247,237,255,.99) 0%,rgba(247,237,255,.96) 53%,rgba(247,237,255,.25) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-quiz.webp')!important;
 }
 body.ama-site .ama-health-pill-page .ama-health-pill-hero__visual{display:none!important}
}

/* 4. Mobile: no additional heavy backdrop filters, no redundant carousel arrows. */
@media(max-width:760px){
 body.ama-site .ama-brand-strip--clean>img{width:min(92vw,620px)!important;max-height:132px!important}
 body.ama-site .ama-history .ama-history-cards{grid-template-columns:1fr!important}
 body.ama-site .ama-home-hero__slide.is-services>a{
  background-image:linear-gradient(180deg,rgba(229,244,253,.99) 0%,rgba(229,244,253,.96) 43%,rgba(229,244,253,.14) 100%),
  url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp')!important;
 }
 body.ama-site .ama-home-hero__slide.is-brands>a{
  background-image:linear-gradient(180deg,rgba(245,240,229,.99) 0%,rgba(245,240,229,.97) 44%,rgba(245,240,229,.13) 100%),
  url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-brand_woman.webp')!important;
 }
 body.ama-site .ama-home-card-nav,body.ama-site .ama-home-hero__controls>button{display:none!important}
}

/* 2026-10-11: photographed redesign — mobile header and booking contrast repair.
   Keep existing navigation, weather, language switching and Omnibox behaviour. */
@media(max-width:760px){
 body.ama-site .ama-market-header .ama-topbar-inner{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding-left:max(8px,env(safe-area-inset-left,0px))!important;
  padding-right:max(8px,env(safe-area-inset-right,0px))!important;
  gap:3px!important;margin:0!important;
 }
 body.ama-site .ama-market-header .ama-header-primary{
  box-sizing:border-box!important;grid-column:1/-1!important;
  display:grid!important;grid-template-columns:80px minmax(0,1fr) 76px!important;
  grid-template-areas:"logo weather language" "search search search"!important;
  width:100%!important;min-width:0!important;
  column-gap:7px!important;row-gap:9px!important;
  padding:8px 0 7px!important;align-items:center!important;
 }
 body.ama-site .ama-market-header .ama-header-logo{
  grid-area:logo!important;box-sizing:border-box!important;
  width:80px!important;min-width:0!important;padding:0!important;margin:0!important;
 }
 body.ama-site .ama-market-header .ama-header-logo img{
  display:block!important;width:78px!important;max-width:100%!important;height:auto!important;
  max-height:45px!important;object-fit:contain!important;
 }
 body.ama-site .ama-market-header .ama-weather-widget--header{
  grid-area:weather!important;width:100%!important;min-width:0!important;
  height:46px!important;min-height:46px!important;margin:0!important;
 }
 body.ama-site .ama-market-header .ama-weather-widget--header .ama-weather-pill{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) 22px auto!important;
  grid-template-areas:"city icon temp"!important;
  width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;
  gap:5px!important;padding:5px 9px!important;border-radius:14px!important;
 }
 body.ama-site .ama-market-header .ama-weather-pill__city{
  grid-area:city!important;display:block!important;min-width:0!important;
  font-size:11px!important;line-height:1.2!important;letter-spacing:0!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 }
 body.ama-site .ama-market-header .ama-weather-pill__time{display:none!important}
 body.ama-site .ama-market-header .ama-weather-pill__icon,
 body.ama-site .ama-market-header .ama-weather-pill__icon svg{width:21px!important;height:21px!important}
 body.ama-site .ama-market-header .ama-weather-pill__temp{
  grid-area:temp!important;white-space:nowrap!important;font-size:14px!important;line-height:1!important;
 }
 body.ama-site .ama-market-header .ama-header-language{
  grid-area:language!important;display:inline-flex!important;
  box-sizing:border-box!important;width:76px!important;min-width:76px!important;
  height:46px!important;min-height:46px!important;gap:2px!important;
  align-items:center!important;justify-content:space-between!important;
  position:static!important;margin:0!important;transform:none!important;white-space:nowrap!important;
 }
 body.ama-site .ama-market-header .ama-header-language a{
  display:inline-flex!important;min-width:32px!important;min-height:44px!important;
  font-size:12px!important;align-items:center!important;justify-content:center!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header{
  grid-area:search!important;grid-column:1/-1!important;display:block!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  max-width:none!important;height:auto!important;margin:0!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__inner,
 body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__form{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__field{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) auto 44px!important;
  width:100%!important;min-width:0!important;height:52px!important;min-height:52px!important;
  padding:3px 4px 3px 8px!important;gap:2px!important;border-radius:18px!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header input[data-ama-omnibox-input]{
  box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;
  height:44px!important;min-height:44px!important;
  padding:0 9px 0 11px!important;font-size:16px!important;line-height:1.2!important;
  text-overflow:ellipsis!important;letter-spacing:-.2px!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__clear{
  position:relative!important;inset:auto!important;grid-column:2!important;
  box-sizing:border-box!important;width:44px!important;min-width:44px!important;
  height:44px!important;min-height:44px!important;justify-self:center!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__clear[hidden]{display:none!important}
 body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__submit{
  position:relative!important;inset:auto!important;grid-column:3!important;
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  padding:0!important;border-radius:14px!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary{
  box-sizing:border-box!important;grid-column:1/-1!important;grid-row:2!important;
  display:flex!important;align-items:center!important;width:100%!important;
  min-width:0!important;height:auto!important;min-height:44px!important;
  margin:0!important;padding:3px 0 5px!important;gap:5px!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary .ama-menu-toggle{
  flex:0 0 65px!important;min-width:65px!important;width:65px!important;
  min-height:44px!important;height:44px!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav-shell{
  display:block!important;flex:1 1 0!important;width:auto!important;min-width:0!important;
  overflow:hidden!important;margin:0!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav{
  display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
  touch-action:pan-x!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav a{
  flex:0 0 auto!important;min-height:44px!important;line-height:1.2!important;
 }
}
@media(max-width:360px){
 body.ama-site .ama-market-header .ama-header-primary{
  grid-template-columns:68px minmax(0,1fr) 72px!important;column-gap:5px!important;
 }
 body.ama-site .ama-market-header .ama-header-logo{width:68px!important}
 body.ama-site .ama-market-header .ama-header-logo img{width:66px!important}
 body.ama-site .ama-market-header .ama-header-language{width:72px!important;min-width:72px!important}
 body.ama-site .ama-market-header .ama-weather-widget--header .ama-weather-pill{gap:3px!important;padding-inline:6px!important}
}
/* 12/10/2026 — mobile navigation restored: hamburger and rail share ONE row.
   Real DOM: primary, secondary, nav-shell are siblings. Never position menu
   beneath Home or hide the hamburger. Keeps full working dropdown intact. */
@media(max-width:760px){
 body.ama-site .ama-market-header .ama-topbar-inner{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  grid-template-rows:auto 54px!important;
  align-items:start!important;column-gap:5px!important;row-gap:0!important;
  box-sizing:border-box!important;min-height:0!important;
  padding-bottom:0!important;
 }
 body.ama-site .ama-market-header .ama-header-primary{
  grid-column:1/-1!important;grid-row:1!important;
  min-width:0!important;min-height:0!important;
  margin:0!important;padding-bottom:6px!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary{
  display:flex!important;visibility:visible!important;
  grid-column:1!important;grid-row:2!important;
  box-sizing:border-box!important;align-items:center!important;justify-content:flex-start!important;
  width:72px!important;min-width:72px!important;max-width:72px!important;
  height:54px!important;min-height:54px!important;max-height:54px!important;
  margin:0!important;padding:4px 0 6px!important;border:0!important;
  overflow:visible!important;gap:0!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary .ama-menu-toggle{
  display:inline-flex!important;visibility:visible!important;
  align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;position:relative!important;
  flex:0 0 72px!important;width:72px!important;min-width:72px!important;max-width:72px!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  margin:0!important;padding:0 5px!important;transform:none!important;
  border-radius:12px!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary .ama-menu-toggle__label{
  font-size:11px!important;line-height:1.15!important;
  max-width:35px!important;overflow:hidden!important;
  text-overflow:clip!important;white-space:nowrap!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary :is(.ama-nav-main,.ama-menu-utilities){
  display:none!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav-shell{
  display:block!important;visibility:visible!important;
  grid-column:2!important;grid-row:2!important;
  position:relative!important;inset:auto!important;transform:none!important;
  box-sizing:border-box!important;align-self:start!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:54px!important;min-height:54px!important;max-height:54px!important;
  margin:0!important;padding:0!important;border:0!important;
  overflow:hidden!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav{
  box-sizing:border-box!important;display:flex!important;flex-wrap:nowrap!important;
  align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important;
  height:54px!important;min-height:54px!important;max-height:54px!important;
  margin:0!important;padding:4px 3px 6px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-padding-inline:3px!important;overscroll-behavior-x:contain!important;
  touch-action:pan-x!important;-webkit-overflow-scrolling:touch!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav>a,
 body.ama-site .ama-market-header .ama-mobile-nav>button{
  box-sizing:border-box!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;align-self:center!important;
  min-height:44px!important;height:44px!important;max-height:44px!important;
  margin:0!important;padding:8px 11px!important;
  font-size:13px!important;line-height:1.15!important;
  white-space:nowrap!important;word-break:normal!important;
  border-radius:12px!important;transform:none!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav a:is(:hover,:focus-visible){
  transform:none!important;
 }
}
@media(max-width:360px){
 body.ama-site .ama-market-header .ama-topbar-inner{
  grid-template-columns:66px minmax(0,1fr)!important;column-gap:4px!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary{
  width:66px!important;min-width:66px!important;max-width:66px!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary .ama-menu-toggle{
  width:66px!important;min-width:66px!important;max-width:66px!important;flex-basis:66px!important;
 }
}

/* Brand directory: reuse the already-approved category illustrations on all 18
   real category headers, without changing genuine manufacturer logos. */
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-group-head{
 position:relative!important;isolation:isolate!important;overflow:hidden!important;
 min-height:112px!important;box-sizing:border-box!important;
 padding:21px clamp(18px,3vw,34px)!important;margin-bottom:15px!important;
 border:1px solid #d7e6db!important;border-radius:20px!important;
 background:linear-gradient(105deg,#f3f8ef,#eaf3eb 75%,#e2f0e6)!important;
}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-group-head>*{
 position:relative!important;z-index:1!important;max-width:calc(100% - 115px)!important;
 color:#213e30!important;text-shadow:none!important;
}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-group-head::after{
 content:""!important;position:absolute!important;right:8px!important;top:0!important;
 z-index:0!important;width:clamp(102px,18vw,170px)!important;height:100%!important;
 opacity:.54!important;pointer-events:none!important;
 background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important;
}
body.ama-site .ama-brands-page #brand-cat-cosmeceutica>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_cream_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-area-gastrointestinale>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_supplements_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-aromaterapia-benessere>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_leaf_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-benessere-dispositivi>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_wellness_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-benessere-fragranze>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_flower_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-benessere-intimo>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_wellness_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-capelli-cuoio-capelluto>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_hair_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-capelli-unghie>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_hair_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-foratura-lobi-orecchini>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_makeup_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-fragranze>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_flower_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-igiene-intima>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_leaf_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-igiene-orale>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_cream_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-mamma-bambino>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_baby_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-medicazione-dispositivi>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_supplements_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-microbiota-integrazione>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_supplements_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-occhi-lenti-a-contatto>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_sun_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-omeopatia>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_leaf_approved.webp')!important}
body.ama-site .ama-brands-page #brand-cat-omeopatia-integratori>.ama-brand-group-head::after{background-image:url('/wp-content/uploads/2026/10/ama-approved-brand_category_wellness_approved.webp')!important}
@media(max-width:760px){
 body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-group-head{
  min-height:102px!important;padding:17px 16px!important;border-radius:17px!important;
 }
 body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-group-head>*{
  max-width:calc(100% - 80px)!important;overflow-wrap:break-word!important;
 }
 body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-group-head h2{
  font-size:clamp(1.4rem,6vw,2rem)!important;line-height:1.12!important;
 }
 body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-group-head::after{
  width:95px!important;right:0!important;opacity:.43!important;
 }
}

/* Booking cards must not inherit white typography from their former dark surfaces. */
body.ama-site .ama-booking-card h3,
body.ama-site .ama-booking-card>p,
body.ama-site .ama-booking-card>p strong{
 color:#1c3b2e!important;opacity:1!important;text-shadow:none!important;
}
body.ama-site .ama-booking-card>p{color:#355447!important}
body.ama-site .ama-booking-card>p a:not(.ama-button){color:#154b3d!important;text-decoration:underline!important}

/* The approved pharmacist editorial is a small original component image, not a
   real staff/interior photograph. Keep it near native size to avoid blur. */
body.ama-site .ama-home-hero__slide.is-pharmacist>a{
 background-color:#fff2d9!important;
 background-image:linear-gradient(90deg,rgba(255,247,225,.99) 0%,rgba(255,247,225,.97) 47%,rgba(255,247,225,.35) 84%,rgba(255,247,225,.12) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp')!important;
 background-size:cover,min(23vw,276px) auto!important;
 background-position:center,right 6% bottom 4%!important;background-repeat:no-repeat!important;
}
@media(max-width:760px){
 body.ama-site .ama-home-hero__slide.is-pharmacist>a{
  background-image:linear-gradient(180deg,rgba(255,247,225,.99) 0%,rgba(255,247,225,.97) 41%,rgba(255,247,225,.81) 66%,rgba(255,247,225,.25) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-services.webp')!important;
  background-size:cover,min(58vw,220px) auto!important;
  background-position:center,right 4% bottom 0!important;
 }
}

/* Load the large team photograph only when its carousel slide becomes active.
   Avoid fetching a secondary hero as an above-the-fold resource on slow mobile. */
body.ama-site .ama-home-hero__slide.is-pharmacist:not([aria-current="true"])>a{
 background-image:linear-gradient(125deg,#fff7e4,#f6e9cc)!important;
}
/* The official transparent Amafarmacia artwork has no side bands and keeps
   the entire real signature; no clipping of typography is necessary. */
body.ama-site .ama-brand-strip--clean>img{
 clip-path:none!important;
 max-height:270px!important;
 width:min(690px,82vw)!important;
 object-fit:contain!important;
}
/* 12 Oct 2026 — A-Z brand wall approved by the owner. Brand search, detail
   links, real favourites and the original brand data remain unchanged. */
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-groups{display:block!important}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-group{display:block!important;margin:0!important;padding:0!important}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-logo-grid{
 display:grid!important;grid-template-columns:repeat(auto-fill,minmax(175px,1fr))!important;
 gap:clamp(9px,1.1vw,18px)!important;align-items:stretch!important
}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-logo-card-shell{
 min-width:0!important;min-height:0!important
}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-logo-card{height:100%!important;min-height:180px!important}
body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-alphabetical-section{padding-top:22px!important}
@media(max-width:760px){
 body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-logo-card{min-height:156px!important}
}
@media(min-width:1181px){
 body.ama-site .ama-market-header .ama-header-primary{
  grid-template-columns:176px 184px minmax(420px,1fr) 152px!important
 }
 body.ama-site .ama-market-header .ama-header-language{
  grid-column:4!important;justify-self:center!important;align-self:start!important;
  position:static!important;transform:none!important;margin:0!important
 }
 body.ama-site .ama-market-header .ama-menu-install--desktop-language{
  width:152px!important;max-width:152px!important;right:0!important;top:66px!important;
  font-size:11px!important;height:30px!important
 }
}

/* Restore a truly sharp wide-logo photographic surface. The preceding
  low-detail foliage was technically 1672px but visibly soft at desktop width.
  Photo: Eugene Golovesov (Unsplash), original in Media Library #73920. */
body.ama-site .ama-brand-strip--clean:not(.is-seasonal-branded){
 background-image:linear-gradient(90deg,rgba(14,47,33,.40),rgba(19,53,33,.31)),url('/wp-content/uploads/2026/10/ama-foliage-sharp-panorama-20261012-scaled.jpg')!important;
 background-size:cover!important;background-position:center 46%!important;
}
/* 12 October mobile LCP: identical original photograph from WordPress' own
   verified 768px derivative (160,954 B rather than 734 KB). Source and
   crop/palette unchanged; no artificial picture processing or removed UI. */
@media(max-width:760px){
 body.ama-site .ama-brand-strip--clean:not(.is-seasonal-branded){
  background-image:linear-gradient(90deg,rgba(14,47,33,.40),rgba(19,53,33,.31)),url('/wp-content/uploads/2026/10/ama-foliage-sharp-panorama-20261012-768x1024.jpg')!important;
 }
}

/* Legacy Home feature-panel fail-safe: these four static 01–04 boxes
   were removed from front-page.php. If an intermediate cache still serves
   old HTML alongside current CSS, hide only that retired section; other
   feature grids, services and real navigation remain completely intact. */
body.ama-site .ama-intro-section{display:none!important}

/* Gallery photography conservation pass — 2026-10-12.
   Preserve all original attachment URLs and full-image lightbox. CSS display
   adjustments are reversible and never alter pixels, people or environments. */
body.ama-site .ama-gallery-open img,
body.ama-site .ama-gallery-dialog figure img{
 filter:brightness(1.035) contrast(1.035) saturate(1.035);
 image-rendering:auto!important;
}
body.ama-site :is(.ama-gallery-open,.ama-gallery-dialog figure) img[src*="mortari-interno-panoramica"]{
 filter:brightness(1.075) contrast(1.04) saturate(1.025);
}
body.ama-site :is(.ama-gallery-open,.ama-gallery-dialog figure) img[src*="mortari-corridoio"]{
 filter:brightness(1.055) contrast(1.03) saturate(1.025);
}
body.ama-site :is(.ama-gallery-open,.ama-gallery-dialog figure) img[src*="mortari-dermocosmesi"]{
 filter:brightness(1.065) contrast(1.05) saturate(1.045);
}
body.ama-site :is(.ama-gallery-open,.ama-gallery-dialog figure) img[src*="peirano-facciata-attuale"]{
 filter:brightness(1.045) contrast(1.035) saturate(.98);
}
body.ama-site :is(.ama-gallery-open,.ama-gallery-dialog figure) img[src*="amafarmacia-peirano-interno"]{
 filter:brightness(1.065) contrast(1.05) saturate(1.045);
}
body.ama-site :is(.ama-gallery-open,.ama-gallery-dialog figure) img[src*="peirano-palio-grugliasco"]{
 filter:brightness(1.045) contrast(1.045) saturate(1.04);
}
body.ama-site .ama-gallery-open img[src*="peirano-palio-grugliasco"]{
 object-position:center 34%!important;
}
body.ama-site .ama-gallery-open img[src*="galleria-team-farmacia"]{
 object-position:center 33%!important;
}
body.ama-site .ama-gallery-open img[src*="galleria-giovanni-mortari"]{
 object-position:center 24%!important;
}
/* 12 Oct 2026 — owner-approved uniform photographic gallery.
   Every clickable thumbnail has the identical 4:3 crop, including portrait
   and panorama source images. The dialog displays the *uncropped original*.
   Cropping is only a CSS viewport treatment; original media is untouched. */
body.ama-site .ama-galleries .ama-gallery-grid{
 align-items:stretch!important;
}
body.ama-site .ama-galleries .ama-gallery-item{
 display:flex!important;flex-direction:column!important;min-width:0!important;
}
body.ama-site .ama-galleries .ama-gallery-open{
 position:relative!important;display:block!important;
 aspect-ratio:4/3!important;width:100%!important;height:auto!important;
 flex:0 0 auto!important;overflow:hidden!important;background:#e8eee7!important;
}
body.ama-site .ama-galleries .ama-gallery-open>img{
 position:absolute!important;inset:0!important;
 display:block!important;width:100%!important;height:100%!important;
 max-width:none!important;max-height:none!important;
 aspect-ratio:auto!important;object-fit:cover!important;
 border:0!important;margin:0!important;transform:none!important;
}
body.ama-site .ama-galleries .ama-gallery-item>figcaption{
 flex:1 0 auto!important;min-height:3.9em!important;
}
/* Natural focal points; the popup itself always restores the full frame. */
body.ama-site .ama-galleries .ama-gallery-open img[src*="mortari-laboratorio"],
body.ama-site .ama-galleries .ama-gallery-open img[src*="mortari-corridoio"]{
 object-position:50% 42%!important;
}
body.ama-site .ama-galleries .ama-gallery-open img[src*="galleria-giovanni-mortari"]{
 /* Keep the real face completely in frame while the 4:3 thumbnail zooms. */
 object-position:50% 0%!important;
}
body.ama-site .ama-galleries .ama-gallery-open img[src*="galleria-team-farmacia"]{
 /* More headroom for all four genuine faces in the uniform crop. */
 object-position:50% 16%!important;
}
body.ama-site .ama-galleries .ama-gallery-open img[src*="peirano-facciata-attuale"]{
 object-position:50% 52%!important;
}
body.ama-site .ama-galleries .ama-gallery-open img[src*="amafarmacia-peirano-panoramica"]{
 object-position:50% 50%!important;
}
body.ama-site .ama-gallery-dialog figure img{
 position:static!important;width:auto!important;height:auto!important;
 max-width:100%!important;max-height:66dvh!important;
 aspect-ratio:auto!important;object-fit:contain!important;
 object-position:center!important;transform:none!important;
}
@media(max-width:620px){
 body.ama-site .ama-gallery-dialog figure img{max-height:60dvh!important}
}
@media(prefers-reduced-transparency:reduce){
 body.ama-site .ama-gallery-open img,body.ama-site .ama-gallery-dialog figure img{
  filter:none!important;
 }
}

/* Authentic transparent logo in the global footer, with all original letters
   and payoff, no old green panel, clipping or blend trick. */
body.ama-site .ama-footer-brandbox{background:transparent!important;aspect-ratio:auto!important;overflow:visible!important;max-width:390px!important}
body.ama-site .ama-footer-brandbox .ama-footer-brandmark{
 width:min(100%,390px)!important;height:auto!important;max-height:205px!important;
 object-fit:contain!important;object-position:center left!important;
 clip-path:none!important;transform:none!important;mix-blend-mode:normal!important;
 filter:drop-shadow(0 2px 4px rgba(0,0,0,.12))!important;
}
/* The authentic transparent logo does not need a decorative dark-green
   surrounding tile. Keep the existing clickable footprint and keyboard focus. */
body.ama-site .ama-market-header .ama-header-logo{
 background:transparent!important;
 border-color:transparent!important;
 box-shadow:none!important;
}
body.ama-site .ama-market-header .ama-header-logo:focus-visible{
 outline:2px solid rgba(255,255,255,.95)!important;
 outline-offset:3px!important;
}
/* The navigation header displays the same authentic transparent logo as
   Home, footer and festivities. No legacy logo side-band clipping. */
body.ama-site .ama-market-header .ama-header-logo{overflow:visible!important}
body.ama-site .ama-market-header .ama-header-logo>img{
 clip-path:none!important;transform:none!important;transform-origin:center!important;
 object-fit:contain!important;mix-blend-mode:normal!important;
 filter:drop-shadow(0 1px 2px rgba(0,0,0,.12))!important;
}
/* The Home Brand slide now shares the authentic transparent original.
   Remove the legacy 17% crop and 128% scale that made payoff/bands return. */
body.ama-site .ama-home-hero__slide.is-brands .ama-home-hero__brandmark{
 display:grid!important;place-items:center!important;
 overflow:hidden!important;padding:14px 20px!important;
 min-height:0!important;align-self:center!important;
}
body.ama-site .ama-home-hero__slide.is-brands .ama-home-hero__brandmark>img{
 display:block!important;clip-path:none!important;transform:none!important;
 mix-blend-mode:normal!important;object-fit:contain!important;
 width:100%!important;height:auto!important;max-height:215px!important;
 filter:drop-shadow(0 2px 4px rgba(0,0,0,.14))!important;
}
@media(max-width:760px){
 body.ama-site .ama-home-hero__slide.is-brands .ama-home-hero__brandmark{
  padding:10px!important;min-height:0!important
 }
 body.ama-site .ama-home-hero__slide.is-brands .ama-home-hero__brandmark>img{
  max-height:155px!important
 }
}

/* 15/10/2026 — Brand detail consistency: keep the authentic brand logo
   visible even when the page also includes an official video. Video, links,
   the two information cards, and no-video presentation are preserved. */
body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 justify-content:flex-start!important;aspect-ratio:auto!important;
}
body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo{
 box-sizing:border-box!important;width:100%!important;height:auto!important;
 min-height:172px!important;padding:25px 22px!important;flex:0 0 auto!important;
}
body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img{
 width:min(76%,420px)!important;max-width:100%!important;height:auto!important;
 max-height:140px!important;object-fit:contain!important;
}
/* 15/10/2026 desktop visual QA: the genuine Caudalie PNG has a portrait canvas,
   so its visible wordmark appeared undersized at the standard logo scale.
   Enlarge only the Caudalie logo, without altering the source image or other brands. */
@media(min-width:961px){
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="brand-caudalie-logo-wordmark-2021"]{
  transform:scale(1.5)!important;
 }
 /* Larger approved brand wordmarks on desktop only; no mobile changes. */
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="brand-aboca-logo.jpg"],
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="brand-bioscalin-logo-clean.png"],
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="brand-avene-logo.png"]{
  transform:scale(2.18)!important;
 }
 /* Curaprox/Diego/Filorga logo files have larger blank canvas margins. */
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="ama-brand-curaprox-logo-authentic-20261012.png"]{
  transform:scale(2.25)!important;
 }
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="brand-filorga-logo.png"]{
  transform:scale(2.05)!important;
 }
 /* Original Diego dalla Palma file has pronounced canvas margins; stronger desktop logo zoom. */
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="brand-diego-dalla-palma-logo.png"]{
  transform:scale(3.4)!important;
 }
}


/* 16/10/2026 Opera 390px visual QA: three authentic wordmarks have
   unusually wide transparent/blank image margins. Enlarge the visible
   lettering only on mobile, without changing dimensions or video/copy. */
@media(max-width:760px){
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="ama-brand-curaprox-logo-authentic-20261012.png"]{transform:scale(1.9)!important}
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="brand-filorga-logo.png"]{transform:scale(1.75)!important}
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img[src*="brand-diego-dalla-palma-logo.png"]{transform:scale(1.85)!important}
}

/* Mobile 320px: keep two long one-word Brand names intact and readable;
   other 38 headings retain the approved typography and wrapping. */
@media(max-width:360px){
 body.ama-site .ama-brand-detail-page[data-ama-brand="enterogermina"] h1,
 body.ama-site .ama-brand-detail-page[data-ama-brand="vitamindermina"] h1{
  font-size:2.2rem!important;line-height:1.12!important;
  word-break:normal!important;overflow-wrap:normal!important;
 }
}

/* 16/10: Roger & Gallet official catalog JPG has a white rectangular
   background and generous margins. Blend only this logo into the approved
   brand palette and enlarge the wordmark without changing source/other brands. */
body.ama-site .ama-brand-detail-page .ama-brand-detail-logo img[src*="brand-roger-et-gallet-logo-official-catalog.jpg"]{
 mix-blend-mode:multiply!important;transform:scale(1.72)!important;
}
body.ama-site .ama-brands-page .ama-brand-logo-visual img[src*="brand-roger-et-gallet-logo-official-catalog.jpg"]{
 mix-blend-mode:multiply!important;transform:scale(1.35)!important;
}

/* 15/10/2026 Opera desktop QA: brand detail pages with no embeddable video
   used a 16:9 logo-only panel, pushing the authentic wordmark below the fold.
   Limit that logo-only panel's height on desktop. Leave video, mobile and copy intact. */
@media(min-width:961px){
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media:not(.ama-brand-detail-media--with-video){
  aspect-ratio:auto!important;height:340px!important;min-height:0!important;
 }
}
body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video iframe.ama-brand-video-frame{
 display:block!important;width:100%!important;height:auto!important;
 min-height:0!important;aspect-ratio:16/9!important;flex:0 0 auto!important;
 border:0!important;
}
/* S04 18/10: first-party branded poster, external video player starts ONLY after user clicks. */
body.ama-site .ama-brand-detail-page .ama-brand-video-gate{
 position:relative;width:100%;aspect-ratio:16/9;min-height:180px;overflow:hidden;
 border-radius:0 0 18px 18px;background:#e9f2eb;
}
body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
 box-sizing:border-box;width:100%;height:100%;min-height:180px;padding:20px;
 border:0;border-radius:0;cursor:pointer;text-align:center;
 color:#194734;background:linear-gradient(130deg,#e5f0e7,#f8faf4);
}
body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start img{
 max-width:min(48%,260px);max-height:86px;width:auto;height:auto;object-fit:contain;
}
body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start-icon{
 display:grid;place-items:center;width:54px;height:54px;border-radius:50%;
 background:#194734;color:white;font-size:22px;line-height:1;padding-left:3px;
}
body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start-text{
 font-weight:700;font-size:clamp(1rem,2vw,1.25rem);line-height:1.2;
}
body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start small{
 max-width:42ch;font-weight:400;font-size:.85rem;line-height:1.35;
}
body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start:focus-visible{
 outline:3px solid #125943;outline-offset:-5px;
}
body.ama-site .ama-brand-detail-page .ama-brand-video-gate [hidden]{display:none!important;}
/* F07: iframe rule above has higher specificity than generic [hidden]; never leave unstarted video iframe tabbable behind the poster. */
body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video iframe.ama-brand-video-frame[hidden]{display:none!important;}
body.ama-site .ama-brand-detail-page .ama-brand-video-gate.is-video-loaded iframe.ama-brand-video-frame{
 width:100%!important;height:100%!important;aspect-ratio:16/9!important;
}
@media(max-width:460px){
 body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start{gap:6px;padding:10px;}
 body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start img{max-height:46px;max-width:44%;}
 body.ama-site .ama-brand-detail-page .ama-brand-video-gate .ama-brand-video-start-icon{width:40px;height:40px;font-size:17px;}
}
body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-external-video{
 width:100%;box-sizing:border-box;max-width:100%;padding:2px 18px 16px;margin:0;
}
@media(max-width:460px){
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo{
  min-height:144px!important;padding:18px 20px!important;
 }
 body.ama-site .ama-brand-detail-page .ama-brand-detail-media--with-video .ama-brand-detail-logo img{
  max-height:112px!important;width:min(74%,300px)!important;
 }
}

/* Consistent accessible visual identity for Brand cards when the remote
   logo endpoint returns an empty/broken image. No imaginary brand logo. */
body.ama-site .ama-brands-page .ama-brand-logo-visual.has-typographic-fallback,
body.ama-site .ama-brand-detail-logo.has-typographic-fallback{
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:12px!important;min-height:125px!important;text-align:center!important;
}
body.ama-site .ama-brands-page .has-typographic-fallback>img[hidden]{display:none!important}
body.ama-site .ama-brands-page .ama-brand-typographic-fallback{
 display:block!important;max-width:100%!important;line-height:1.12!important;
 font-size:clamp(1.18rem,1.55vw,1.88rem)!important;font-weight:800!important;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
 color:#293e36!important;letter-spacing:-.035em!important;overflow-wrap:break-word!important;word-break:normal!important
}
body.ama-site .ama-brand-detail-page .ama-brand-detail-logo .ama-brand-typographic-fallback{
 font-size:clamp(2.3rem,5vw,4rem)!important
}


/* 12/10/2026 — Desktop navigation fits through "Farmacie di turno".
   WebApp is an independent functional control under IT/EN; mobile unchanged. */
body.ama-site .ama-market-header .ama-menu-install--desktop-language{display:none!important}
@media(min-width:1181px){
 body.ama-site .ama-market-header .ama-header-primary{position:relative!important}
 body.ama-site .ama-market-header .ama-menu-install--desktop-language{
  position:absolute!important;right:0!important;top:65px!important;z-index:8!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  width:118px!important;max-width:118px!important;min-height:28px!important;height:29px!important;
  box-sizing:border-box!important;margin:0!important;padding:3px 5px!important;
  border:1px solid rgba(255,255,255,.45)!important;border-radius:12px!important;
  color:#fff!important;background:#183b2c!important; /* F07: WCAG AA higher contrast for WebApp control */
  font-size:10.5px!important;font-weight:700!important;white-space:nowrap!important;cursor:pointer!important;
 }
 body.ama-site .ama-market-header .ama-menu-install--desktop-language:is(:hover,:focus-visible){
  background:#23543c!important;outline-offset:2px!important
 }
 body.ama-site .ama-market-header .ama-nav-main .ama-menu-install--rail{display:none!important}
 body.ama-site .ama-market-header .ama-header-secondary .ama-nav-main>a{
  flex:0 1 auto!important;padding:5px clamp(2px,.27vw,5px)!important;
  font-size:clamp(10.5px,.69vw,12px)!important;letter-spacing:-.012em!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary .ama-menu-socials{gap:2px!important}
}

/* 13/10/2026 — robust mobile "Tutte" drawer.
   Keep the horizontal rail; guarantee that the full menu opens above page overlays,
   within the visible screen and with a touch-scrollable panel on iOS/Android. */
@media(max-width:760px){
 body.ama-site .ama-market-header .ama-header-secondary{
  position:relative!important;z-index:1601!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary .ama-menu-toggle{
  position:relative!important;z-index:1602!important;
  pointer-events:auto!important;touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
 }
 body.ama-site .ama-market-header #ama-menu-drawer[hidden]{display:none!important}
 body.ama-site .ama-market-header #ama-menu-drawer:not([hidden]){
  display:block!important;position:absolute!important;
  top:100%!important;
  left:max(8px,env(safe-area-inset-left,0px))!important;right:auto!important;
  width:min(360px,calc(100vw - 16px))!important;
  max-width:calc(100vw - 16px)!important;
  z-index:1900!important;
  visibility:visible!important;opacity:1!important;
  pointer-events:auto!important;transform:none!important;
 }
 body.ama-site .ama-market-header #ama-menu-drawer .ama-menu-drawer__panel{
  height:min(55dvh,var(--ama-drawer-max-height,calc(100dvh - var(--ama-mobile-drawer-top,160px) - 12px)))!important;
  max-height:min(55dvh,var(--ama-drawer-max-height,calc(100dvh - var(--ama-mobile-drawer-top,160px) - 12px)))!important;
  display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
  overflow:hidden!important;
  overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
 }
 body.ama-site .ama-market-header #ama-menu-drawer .ama-menu-drawer__nav{
  grid-template-columns:minmax(0,1fr)!important;
  flex:1 1 auto!important;min-height:0!important;align-content:start!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;touch-action:pan-y!important;
  clip-path:inset(7px 0 0 0)!important;
 }
}




/* N21 26/10: On a rotated touch phone keep the EXISTING Omnibar visible
   during document scroll; do not pin the 199px header, which would obstruct
   reading in landscape. At scrollY=0 the approved layout is unchanged. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site.ama-n21-scrolled .ama-market-header .ama-omnibox--header{
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  margin:0!important;max-width:100vw!important;width:100vw!important;z-index:2300!important;
 }
 body.ama-site.ama-n21-scrolled .ama-market-header .ama-omnibox--header :is(.ama-omnibox__intro,.ama-omnibox__modes,.ama-omnibox__hint){
  display:none!important;
 }
 body.ama-site.ama-n21-scrolled .ama-market-header .ama-omnibox--header .ama-omnibox__inner{
  padding:0!important;
 }
}

/* 19/10/2026 - owner-approved Z01 replacement: giant identity banner full browser width;
   desktop-only typographic clarity. Keep official transparent logo, navigation and functionality. */
@media (min-width:1181px) {
 body.ama-site main#top.ama-main:has(> .ama-brand-strip--clean) > .ama-brand-strip--clean {
  width:100%!important;max-width:none!important;min-width:0!important;
  margin-inline:0!important;border-radius:0!important;
 }
 body.ama-site .ama-market-header .ama-header-primary {
  grid-template-columns:184px 190px minmax(0,1fr) 152px!important;
  column-gap:12px!important;
 }
 body.ama-site .ama-market-header .ama-header-logo img {
  display:block!important;width:168px!important;max-width:168px!important;
  height:auto!important;max-height:89px!important;object-fit:contain!important;
  filter:none!important;transform:none!important;image-rendering:auto!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary .ama-nav-main>a {
  font-size:clamp(12px,.76vw,15px)!important;
  font-weight:750!important;letter-spacing:0!important;
  line-height:1.2!important;padding-inline:clamp(3px,.27vw,7px)!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary .ama-menu-toggle {
  font-size:clamp(12px,.73vw,14px)!important;font-weight:760!important;
 }
 body.ama-site .ama-market-header .ama-omnibox__modes>button {
  font-size:clamp(11.5px,.67vw,14px)!important;font-weight:730!important;
  letter-spacing:0!important;
 }
 body.ama-site .ama-market-header .ama-omnibox__field input {
  font-size:clamp(17px,.95vw,20px)!important;font-weight:620!important;
 }
 /* 19/10: desktop search text appeared ~2px below the optical midpoint of
    its white field. Move only the actual search input (placeholder AND typed
    text), not the enclosing box, search button or suggestion overlay. */
 body.ama-site .ama-market-header .ama-omnibox--header input[data-ama-omnibox-input] {
  position:relative!important;top:-2px!important;
 }
 body.ama-site .ama-market-header .ama-weather-pill__city,
 body.ama-site .ama-market-header .ama-weather-pill__time,
 body.ama-site .ama-market-header .ama-weather-pill__label {
  font-size:clamp(11.5px,.69vw,13.5px)!important;font-weight:720!important;
 }
 body.ama-site .ama-market-header .ama-header-language,
 body.ama-site .ama-market-header .ama-header-language a {
  font-size:clamp(12px,.72vw,14px)!important;font-weight:750!important;
 }
 /* Fix 19/10/2026: Z01 larger text overflowed the older 118px install pill.
    Keep the label + download icon completely inside their button at all desktop widths. */
 body.ama-site .ama-market-header .ama-menu-install--desktop-language {
  width:160px!important;max-width:160px!important;min-width:160px!important;
  box-sizing:border-box!important;gap:5px!important;padding:4px 8px!important;
  font-size:clamp(11.5px,.62vw,12.5px)!important;font-weight:750!important;
  height:36px!important;min-height:36px!important;line-height:1.15!important;
  white-space:nowrap!important;overflow:hidden!important;
 }
 body.ama-site .ama-market-header .ama-menu-install--desktop-language > span {
  display:block!important;flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;
 }
 body.ama-site .ama-market-header .ama-menu-install--desktop-language > svg {
  display:block!important;width:15px!important;height:15px!important;
  flex:0 0 15px!important;
 }
 body.ama-site .ama-market-header :is(.ama-nav-main a,.ama-menu-toggle,.ama-omnibox__modes button,.ama-omnibox__field input,.ama-weather-pill,.ama-header-language,.ama-menu-install--desktop-language) {
  text-shadow:none!important;
  text-rendering:optimizeLegibility;
 }
}

/* N02 20/10 — Mobile drawer: readable compact panel, visible site beside it,
   explicit touch/keyboard close; existing document pointerdown closes outside. */
@media(max-width:760px){
 body.ama-site .ama-market-header #ama-menu-drawer:not([hidden]){
  width:min(310px,calc(100vw - 64px))!important;
  max-width:calc(100vw - 64px)!important;
  left:max(8px,env(safe-area-inset-left,0px))!important;right:auto!important;
 }
 body.ama-site .ama-market-header #ama-menu-drawer .ama-menu-drawer__panel{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  box-shadow:0 18px 40px rgba(0,0,0,.25)!important;
 }
 body.ama-site .ama-market-header #ama-menu-drawer .ama-menu-drawer__head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;position:relative!important;top:auto!important;z-index:10!important;
  flex:0 0 auto!important;
 }
 body.ama-site .ama-market-header #ama-menu-drawer .ama-menu-drawer__close{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 44px!important;width:44px!important;height:44px!important;
  border-radius:12px!important;border:1px solid rgba(255,255,255,.4)!important;
  background:#365244!important;color:#fff!important;cursor:pointer!important;
  font:700 27px/1 sans-serif!important;
 }
 body.ama-site .ama-market-header #ama-menu-drawer .ama-menu-drawer__close:focus-visible{
  outline:3px solid #fff!important;outline-offset:2px!important;
 }
}

/* N03: the scrollable navigation ends with breathing room after WebApp;
   padding alone is not counted by all mobile overflow engines. */
@media(max-width:760px){
 body.ama-site .ama-market-header .ama-mobile-nav{
  scroll-padding-inline:12px 28px!important;box-sizing:border-box!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav::after{
  content:""!important;display:block!important;flex:0 0 28px!important;
  height:1px!important;pointer-events:none!important;
 }
}

/* N05: centre the entire magnifying glass in its hit area.
   The SVG's own drawing is also optically offset by a small fraction. */
body.ama-site .ama-market-header .ama-omnibox__submit{
 display:grid!important;place-items:center!important;
 align-items:center!important;justify-items:center!important;
 box-sizing:border-box!important;padding:0!important;
}
body.ama-site .ama-market-header .ama-omnibox__submit svg{
 display:block!important;position:static!important;
 width:22px!important;height:22px!important;
 margin:0!important;inset:auto!important;
 transform:translate(-.4px,-.4px)!important;
 flex:none!important;
}

/* L.582: WhatsApp QR stays inside the pharmacist box on desktop. */
body.ama-site .ama-pharmacist-branch dialog.ama-pharmacist-qr-dialog[open]{
 display:block!important;position:static!important;inset:auto!important;left:auto!important;top:auto!important;
 transform:none!important;width:min(100%,370px)!important;max-width:100%!important;
 margin:14px auto 0!important;padding:0!important;z-index:auto!important;overflow:visible!important;
}
body.ama-site .ama-pharmacist-branch .ama-pharmacist-qr-panel{padding:18px!important;box-shadow:0 8px 28px rgba(25,32,27,.09)!important}
body.ama-site .ama-pharmacist-branch .ama-pharmacist-qr-code{width:min(248px,100%)!important}
body.ama-site .ama-pharmacist-phone,body.ama-site .ama-pharmacist-desktop-help{display:none!important}
/* All existing WhatsApp anchors: locally generated QR on desktop, no external QR provider. */
body.ama-site dialog.ama-wa-qr-global{width:min(390px,calc(100vw - 28px));max-width:100%;border:0;border-radius:22px;padding:0;background:transparent;color:#344039}
body.ama-site dialog.ama-wa-qr-global::backdrop{background:rgba(27,34,29,.52);backdrop-filter:blur(4px)}
body.ama-site .ama-wa-qr-global section{position:relative;background:#f8fbf8;border:1px solid #dbe4dc;border-radius:22px;padding:24px;text-align:center;box-shadow:0 24px 65px rgba(20,38,22,.2)}
body.ama-site .ama-wa-qr-global h2{font-size:1.2rem;margin:8px 32px;color:#39483c}
body.ama-site .ama-wa-qr-global p{font-size:.9rem;line-height:1.5;margin:10px 0}
body.ama-site .ama-wa-qr-image{margin:16px auto;min-height:220px;display:grid;place-items:center;padding:12px;background:white;border-radius:14px;max-width:280px}
body.ama-site .ama-wa-qr-image svg{display:block;max-width:100%;height:auto}
body.ama-site .ama-wa-qr-global button{cursor:pointer;border:1px solid #a8b8aa;background:white;color:#34523c;border-radius:30px;padding:9px 15px}
body.ama-site .ama-wa-qr-global .ama-wa-qr-close{position:absolute;top:12px;right:12px;font-size:20px;padding:4px 12px}
@media(max-width:760px){
 body.ama-site .ama-market-header .ama-header-primary .ama-weather-widget--header{justify-self:center!important;justify-content:center!important;display:flex!important;align-items:center!important;}
 body.ama-site .ama-market-header .ama-header-primary .ama-weather-widget--header .ama-weather-pill{
  width:max-content!important;max-width:100%!important;min-width:0!important;justify-self:center!important;
  margin-inline:auto!important;grid-template-columns:minmax(0,auto) 20px auto!important;
 }
}
/* N19: emphasize the correct pharmacy after a service WhatsApp handoff. */
body.ama-site .ama-pharmacist-branch.is-preferred{outline:2px solid #6a9776;outline-offset:2px;background:rgba(112,159,119,.07)}
/* N06: tighter mobile weather, sharper, larger original logo / IT-EN.
   Keep all three components within the existing 48px top row. */
@media(max-width:760px){
 body.ama-site .ama-market-header .ama-header-primary{
  grid-template-columns:clamp(88px,27vw,110px) minmax(0,clamp(124px,41vw,178px)) clamp(50px,14vw,60px)!important;
  column-gap:6px!important;justify-content:center!important;
 }
 body.ama-site .ama-market-header .ama-header-logo{
  width:100%!important;max-width:100%!important;
  height:48px!important;min-height:48px!important;
 }
 body.ama-site .ama-market-header .ama-header-logo img{
  display:block!important;width:100%!important;max-width:110px!important;
  height:auto!important;max-height:48px!important;
  object-fit:contain!important;image-rendering:auto!important;
  filter:none!important;transform:none!important;
 }
 body.ama-site .ama-market-header .ama-weather-widget--header,
 body.ama-site .ama-market-header .ama-weather-widget--header .ama-weather-pill{
  width:100%!important;min-width:0!important;max-width:100%!important;
 }
 body.ama-site .ama-market-header .ama-weather-widget--header .ama-weather-pill{
  padding-inline:5px!important;column-gap:3px!important;
  grid-template-columns:minmax(0,1fr) 20px auto!important;
 }
 body.ama-site .ama-market-header .ama-header-language{
  width:100%!important;min-width:0!important;
  justify-self:center!important;justify-content:center!important;
  gap:4px!important;
 }
 body.ama-site .ama-market-header .ama-header-language a{
  font-size:clamp(12.5px,3.6vw,15px)!important;font-weight:750!important;
  line-height:1.15!important;
 }
}
@media(max-width:360px){
 body.ama-site .ama-market-header .ama-header-primary{
  grid-template-columns:88px minmax(0,130px) 50px!important;
  column-gap:5px!important;
 }
}

/* N04: WebApp is the fifth Omnibox action beside Preordina.
   The existing rail/drawer install controls remain for tablet/mobile. */
body.ama-site .ama-market-header .ama-menu-install--mode{display:none!important}
@media(min-width:1181px){
 body.ama-site .ama-market-header .ama-header-primary{
  grid-template-columns:184px 190px minmax(0,1fr) 80px!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__modes{
  grid-template-columns:repeat(3,minmax(0,1fr)) minmax(140px,1.15fr) minmax(130px,.97fr)!important;
  gap:6px!important;
 }
 body.ama-site .ama-market-header .ama-omnibox__modes>.ama-menu-install--mode{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;height:27px!important;min-height:27px!important;
  gap:6px!important;padding:3px 7px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(255,255,255,.28)!important;border-radius:12px!important;
  background:#355947!important;color:#fff!important;
  font:730 clamp(11.5px,.67vw,14px)/1.15 var(--font-sans,system-ui)!important;
  white-space:nowrap!important;overflow:hidden!important;
  text-overflow:ellipsis!important;
 }
 body.ama-site .ama-market-header .ama-omnibox__modes>.ama-menu-install--mode:is(:hover,:focus-visible){
  background:rgba(255,255,255,.17)!important;border-color:rgba(255,255,255,.6)!important;
 }
 body.ama-site .ama-market-header .ama-omnibox__modes>.ama-menu-install--mode svg{
  display:block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;
 }
 /* F07 / Federfarma 276: axe 20261020 measured text contrast 4.48:1,
    below WCAG 1.4.3 AA 4.5:1 on all desktop templates.
    Keep approved green background; avoid inherited lowered text opacity. */
 body.ama-site .ama-market-header .ama-omnibox__modes>.ama-menu-install--mode>span{
  color:#fff!important;opacity:1!important;
 }
 body.ama-site .ama-market-header .ama-header-language{
  justify-self:center!important;
 }
}

/* N04 post-QA 20/10 — English Download WebApp at 1181px: restore full glyphs
   without moving other Omnibar modes. Browser-only A/B IT/EN x4 widths: 8/8.
   Restrict adjustment to 1181–1240px; no change below desktop breakpoint. */
@media (min-width:1181px) and (max-width:1240px) {
 body.ama-site .ama-market-header .ama-omnibox__modes>.ama-menu-install--mode{
  gap:3px!important;padding-inline:3px!important;font-size:11.5px!important;
 }
 body.ama-site .ama-market-header .ama-omnibox__modes>.ama-menu-install--mode svg{
  flex:0 0 14px!important;width:14px!important;height:14px!important;
 }
}

/* N10: original voucher moved to the larger hero carousel. Link points to
   existing printable coupon. No duplicate voucher in small cards. */
body.ama-site .ama-home-hero__slide.is-coupon-promo>a{
 position:relative!important;isolation:isolate!important;
 background:linear-gradient(102deg,rgba(255,247,249,.99) 0%,rgba(255,245,247,.96) 45%,rgba(248,223,232,.52) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-brand_woman.webp') center/cover!important;
 color:#263e32!important;overflow:hidden!important;
}
body.ama-site .ama-home-hero__slide.is-coupon-promo .ama-home-hero__copy{
 z-index:2!important;position:relative!important;max-width:680px!important;
}
body.ama-site .ama-home-hero__slide.is-coupon-promo :is(h2,p,.ama-kicker){
 color:#263e32!important;
}
body.ama-site .ama-home-hero__slide.is-coupon-promo h2{
 font-weight:800!important;max-width:18ch!important;
}
body.ama-site .ama-home-hero__slide.is-coupon-promo .ama-home-hero__cta{
 background:#395746!important;color:white!important;border-radius:14px!important;
}
body.ama-site .ama-home-hero__slide.is-coupon-promo .ama-home-hero__coupon-art{
 position:absolute!important;z-index:1!important;right:6%!important;top:50%!important;
 width:190px!important;height:190px!important;border-radius:50%!important;
 display:grid!important;place-items:center!important;
 background:rgba(255,255,255,.92)!important;color:#395746!important;
 border:7px solid rgba(57,87,70,.85)!important;
 box-shadow:0 15px 40px rgba(40,62,47,.15)!important;
 transform:translateY(-50%) rotate(6deg)!important;
 font:800 65px/1 system-ui,sans-serif!important;
}
@media(max-width:760px){
 body.ama-site .ama-home-hero__slide.is-coupon-promo .ama-home-hero__coupon-art{
  display:none!important;
 }
 body.ama-site .ama-home-hero__slide.is-coupon-promo>a{
  background-position:center center!important;
 }
}

/* N08: one location/booking/story surface and a separately titled opening
   hours section. Preserve real locations, VQui, WhatsApp and gallery links. */
body.ama-site .ama-branches-unified{
 background:#edf3ec!important;
}
body.ama-site .ama-branches-unified__intro{
 max-width:1100px!important;
}
body.ama-site .ama-branches-unified__intro>p:not(.ama-kicker){
 max-width:78ch!important;
}
body.ama-site .ama-branches-unified__choose{
 margin:22px 0 16px!important;
 font-size:clamp(1.28rem,2.2vw,2rem)!important;
 line-height:1.2!important;color:#293e34!important;
}
body.ama-site .ama-branches-unified__grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:clamp(14px,2vw,26px)!important;align-items:stretch!important;
}
body.ama-site .ama-branches-unified__card{
 overflow:hidden!important;border-radius:22px!important;
 background:#f7f8f4!important;border:1px solid #d8e2d9!important;
 box-shadow:0 10px 30px rgba(35,62,48,.08)!important;
}
body.ama-site .ama-branches-unified__card:nth-child(2){background:#eaf2f6!important}
body.ama-site .ama-branches-unified__card>.attachment-medium_large,
body.ama-site .ama-branches-unified__card>img:first-child{
 object-fit:cover!important;object-position:center!important;
}
body.ama-site .ama-branches-unified__card .ama-quick-body{
 box-sizing:border-box!important;min-width:0!important;
}
body.ama-site .ama-branches-unified__brand{
 display:block!important;width:min(210px,65%)!important;max-width:210px!important;
 height:auto!important;max-height:65px!important;object-fit:contain!important;
 object-position:left center!important;margin:0 0 14px!important;
}
body.ama-site .ama-branches-unified__actions{
 display:flex!important;flex-wrap:wrap!important;gap:10px!important;
 justify-content:flex-start!important;align-items:stretch!important;
}
body.ama-site .ama-branches-unified__actions>.ama-button{
 min-height:44px!important;max-width:100%!important;
 white-space:normal!important;box-sizing:border-box!important;
 text-align:center!important;
}
body.ama-site .ama-branches-unified__actions>.ama-text-link{
 display:inline-flex!important;align-items:center!important;min-height:44px!important;
 margin-right:8px!important;
}
body.ama-site .ama-section-deep-anchor{
 display:block!important;position:relative!important;
 scroll-margin-top:var(--ama-header-offset,170px)!important;
 height:0!important;width:0!important;
}
body.ama-site .ama-opening-section__grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:stretch!important;gap:clamp(14px,2vw,28px)!important;
}
body.ama-site .ama-opening-section__card{
 min-width:0!important;padding:clamp(16px,2vw,28px)!important;
 border-radius:22px!important;border:1px solid #d3ded4!important;
 background:#f9faf6!important;box-shadow:0 8px 26px rgba(30,50,37,.07)!important;
}
body.ama-site .ama-opening-section__card:nth-child(2){
 background:#f0f6fb!important;
}
body.ama-site .ama-opening-section__card h3{
 font-size:clamp(1.28rem,1.8vw,1.75rem)!important;color:#293e34!important;
}
body.ama-site .ama-opening-section__card .ama-opening-hours{
 max-width:100%!important;min-width:0!important;overflow-x:auto!important;
}
body.ama-site .ama-opening-section__card table{
 width:100%!important;min-width:0!important;
}
@media(max-width:760px){
 body.ama-site .ama-branches-unified__grid,
 body.ama-site .ama-opening-section__grid{
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.ama-site .ama-branches-unified__actions{
  flex-direction:column!important;align-items:stretch!important;
 }
 body.ama-site .ama-branches-unified__actions>.ama-button{
  width:100%!important;
 }
 body.ama-site .ama-opening-section__card{padding:14px!important;}
 body.ama-site .ama-opening-section__card table{
  font-size:clamp(.72rem,3vw,.88rem)!important;
 }
}



/* AMA 20/10/2026 — Farmacie: reproduce the explicitly approved two-card
 * composition with equal photos and a four-action aligned footer.
 * Uses the original WordPress storefront photographs, original branch logos
 * and all existing booking/WhatsApp/Maps/gallery destinations. */
body.ama-site .ama-branches-unified .ama-shell{
 width:calc(100vw - 64px)!important;max-width:1800px!important;margin-inline:auto!important;
}
@media(max-width:760px){
 body.ama-site .ama-branches-unified .ama-shell{width:calc(100vw - 24px)!important;}
}
body.ama-site .ama-branches-unified__grid{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:clamp(14px,1.3vw,26px)!important;
 align-items:stretch!important;
}
body.ama-site .ama-branch-approved{
 --ama-branch-row:clamp(50px,3.05vw,60px);
 /* Fixed desktop card height avoids a tall image spanning the implicit 1fr row. */
 height:clamp(530px,34vw,640px)!important;box-sizing:border-box!important;
 display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 grid-template-areas:
  "photo logo"
  "photo location"
  "photo title"
  "photo address"
  "photo booking"
  "directions phone"
  "gallery whatsapp"!important;
 grid-template-rows:clamp(110px,7.7vw,144px) 48px auto minmax(78px,1fr) var(--ama-branch-row) var(--ama-branch-row) var(--ama-branch-row)!important;
 gap:clamp(8px,.62vw,13px) clamp(12px,1vw,20px)!important;
 padding:clamp(12px,1vw,18px)!important;
 min-width:0!important;min-height:0!important;
 border-radius:24px!important;
 align-content:stretch!important;align-items:stretch!important;
 background:#f0f7f3!important;
 box-shadow:0 9px 28px rgba(21,53,37,.07)!important;
}
body.ama-site .ama-branch-approved:nth-child(2){background:#eef5f8!important}
body.ama-site .ama-branch-approved__photo{
 grid-area:photo;min-width:0!important;min-height:0!important;
 padding:0!important;margin:0!important;overflow:hidden!important;
 border-radius:16px!important;align-self:stretch!important;
 display:grid!important;place-items:center!important;
 background:#e8eee8!important; /* full approved storefront photo, never clipped */
}
body.ama-site .ama-branch-approved__photo img{
 display:block!important;width:100%!important;height:100%!important;
 min-width:0!important;min-height:0!important;max-height:100%!important;
 aspect-ratio:auto!important;object-fit:contain!important;
 object-position:center center!important;border-radius:16px!important;
 filter:none!important;transform:none!important;
}
body.ama-site .ama-branch-approved__logo{
 grid-area:logo;min-width:0!important;min-height:0!important;
 display:grid!important;place-items:center!important;overflow:hidden!important;
 padding:clamp(12px,1.1vw,24px)!important;border-radius:10px!important;
 background:#355947!important;
}
body.ama-site .ama-branch-approved__logo .ama-branches-unified__brand{
 display:block!important;width:100%!important;height:100%!important;
 max-width:none!important;max-height:none!important;object-fit:contain!important;
 object-position:center center!important;margin:0!important;
}
body.ama-site .ama-branch-approved__location{
 grid-area:location;display:flex!important;align-items:center!important;
 gap:12px!important;min-width:0!important;padding:6px 14px!important;
 border-radius:30px!important;background:rgba(45,88,65,.065)!important;
 font-size:clamp(1rem,1.05vw,1.27rem)!important;font-weight:780!important;
 color:#182d23!important;
}
body.ama-site .ama-branch-approved__location svg{flex:none!important}
body.ama-site .ama-branch-approved__title{
 grid-area:title;align-self:center!important;
 color:#172920!important;font-weight:800!important;letter-spacing:-.025em!important;
 font-size:clamp(1.32rem,1.45vw,1.93rem)!important;line-height:1.14!important;
 padding:0!important;margin:0!important;
}
body.ama-site .ama-branch-approved__address{
 grid-area:address;align-self:start!important;
 color:#485d53!important;
 font-size:clamp(1.02rem,1.08vw,1.4rem)!important;
 line-height:1.48!important;margin:0!important;
}
body.ama-site .ama-branch-approved .ama-button{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 min-height:var(--ama-branch-row)!important;height:100%!important;
 margin:0!important;padding:7px 10px!important;gap:10px!important;
 box-sizing:border-box!important;text-align:center!important;
 border-radius:14px!important;border:1.5px solid #345a49!important;
 font-size:clamp(.86rem,.92vw,1.08rem)!important;
 line-height:1.2!important;font-weight:750!important;
 text-decoration:none!important;
}
body.ama-site .ama-branch-approved .ama-button svg{flex:none!important;width:21px!important;height:21px!important}
body.ama-site .ama-branch-approved .ama-button-solid{
 background:#355947!important;color:#fff!important;border-color:#355947!important;
}
body.ama-site .ama-branch-approved .ama-button-outline{
 background:#fff!important;color:#1c2e24!important;
}
body.ama-site .ama-branch-approved .ama-button:is(:hover,:focus-visible){
 box-shadow:0 0 0 3px rgba(56,113,77,.15)!important;
}
body.ama-site .ama-branch-approved__booking{grid-area:booking}
body.ama-site .ama-branch-approved__directions{grid-area:directions}
body.ama-site .ama-branch-approved__gallery{grid-area:gallery}
body.ama-site .ama-branch-approved__whatsapp{grid-area:whatsapp}
body.ama-site .ama-branch-approved__phone{
 grid-area:phone;display:flex!important;align-items:center!important;
 justify-content:space-between!important;gap:4px!important;
 padding:0 7px 0 10px!important;
}
body.ama-site .ama-branch-approved__phone>a{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 min-width:0!important;flex:1!important;gap:9px!important;
 color:inherit!important;text-decoration:none!important;height:100%!important;
}
body.ama-site .ama-branch-approved__phone>a>svg{flex:none!important}
body.ama-site .ama-branch-approved__phone>a>span{overflow-wrap:anywhere!important}
body.ama-site .ama-branch-approved__phone>button{
 appearance:none!important;border:0!important;background:transparent!important;
 color:inherit!important;display:grid!important;place-items:center!important;
 cursor:pointer!important;width:42px!important;min-width:42px!important;height:44px!important;
 border-radius:9px!important;
}
body.ama-site .ama-branch-approved__phone>button:focus-visible{
 outline:3px solid #1e7754!important;outline-offset:2px!important;
}
body.ama-site .ama-branch-approved__copy-status{
 position:absolute!important;width:1px!important;height:1px!important;
 padding:0!important;margin:-1px!important;overflow:hidden!important;
 clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
/* Laboratory: clear novelty label, preserve established accordion and photos. */
body.ama-site .ama-lab-novita-badge{
 display:inline-flex!important;align-items:center!important;border-radius:999px!important;
 background:#2c7956!important;color:white!important;
 padding:4px 10px!important;font-size:.85rem!important;font-weight:800!important;
}
body.ama-site .ama-lab-novita-badge u{text-decoration:underline!important;text-underline-offset:2px!important}
/* Amamelide: authentic botanical reference (CC0), explicitly not a photo of the formulation. */
body.ama-site .ama-lab-amamelide-photo{margin:0 0 14px!important;width:100%!important}
body.ama-site .ama-lab-amamelide-photo img{
 display:block!important;width:100%!important;height:auto!important;
 aspect-ratio:4/3!important;object-fit:cover!important;object-position:center!important;
 border-radius:12px!important;
}
body.ama-site .ama-lab-amamelide-photo figcaption{
 font-size:.76rem!important;line-height:1.4!important;color:#4e6657!important;
 margin-top:6px!important;
}
body.ama-site .ama-lab-prep-tea.is-season-featured{
 border:2px solid #c39250!important;
 background:#fff9ee!important;
 box-shadow:0 6px 22px rgba(132,83,32,.10)!important;
}
body.ama-site .ama-lab-tea-season-tag{
 display:inline-flex!important;background:#f0e0bd!important;color:#65421b!important;
 margin-left:10px!important;padding:4px 10px!important;
 border-radius:999px!important;font-size:.8rem!important;font-weight:760!important;
}
@media(max-width:1450px){
 body.ama-site .ama-branches-unified__grid{
  grid-template-columns:minmax(0,1fr)!important;
  max-width:920px!important;margin-inline:auto!important;
 }
 body.ama-site .ama-branch-approved{
  grid-template-rows:140px 49px auto minmax(85px,1fr) 60px 60px 60px!important;
 }
}
@media(max-width:760px){
 body.ama-site .ama-branches-unified__grid{max-width:100%!important}
 body.ama-site .ama-branch-approved{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  height:auto!important;
  grid-template-areas:
  "photo" "logo" "location" "title" "address" "booking"
  "phone" "whatsapp" "directions" "gallery"!important;
  grid-template-rows:auto 110px auto auto auto repeat(5,minmax(52px,auto))!important;
  gap:12px!important;padding:14px!important;
 }
 /* Mobile: use the photo's real 404:449 portrait ratio so the whole sign and entrance fit. */
 body.ama-site .ama-branch-approved__photo{
  width:100%!important;height:auto!important;min-height:0!important;
  aspect-ratio:404/449!important;
 }
 body.ama-site .ama-branch-approved__photo img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  object-position:50% 50%!important;
 }
 body.ama-site .ama-branch-approved__title{font-size:clamp(1.35rem,5vw,1.8rem)!important}
 body.ama-site .ama-branch-approved__address{font-size:1.06rem!important}
 body.ama-site .ama-branch-approved .ama-button{font-size:.97rem!important;min-height:52px!important}
 body.ama-site .ama-branch-approved__location{font-size:1.04rem!important}
 body.ama-site .ama-lab-tea-season-tag{margin:6px 0 0!important}
}


/* Seasonal laboratory announcement: same Europe/Rome 20 Nov–20 Jan window
 * as page-laboratorio.php, PHP includes the slide only within that window. */
body.ama-site .ama-home-hero__slide.is-christmas-tea>a{
 position:relative!important;display:flex!important;align-items:center!important;
 background:linear-gradient(90deg,#fcf4e6 0%,#f7efdd 48%,#efede1 100%)!important;
 min-height:100%!important;overflow:hidden!important;
}
body.ama-site .ama-home-hero__slide.is-christmas-tea .ama-home-hero__copy{
 position:relative!important;z-index:3!important;
 max-width:57%!important;padding-block:24px!important;
}
body.ama-site .ama-home-hero__slide.is-christmas-tea :is(h2,p,.ama-kicker){
 color:#264431!important;
}
body.ama-site .ama-home-hero__slide.is-christmas-tea h2{
 font-family:Georgia,serif!important;font-weight:750!important;
 letter-spacing:-.035em!important;
}
body.ama-site .ama-home-hero__slide.is-christmas-tea .ama-kicker{
 display:inline-flex!important;align-items:center!important;
 padding:6px 14px!important;border-radius:999px!important;
 background:#f1e2c6!important;color:#68401d!important;
 font-size:clamp(.85rem,1vw,1rem)!important;
}
body.ama-site .ama-home-hero__tea-art{
 position:absolute!important;inset:0 0 0 auto!important;width:49%!important;
 height:100%!important;overflow:hidden!important;pointer-events:none!important;
 border-radius:0 22px 22px 0!important;
}
body.ama-site .ama-home-hero__tea-art:before{
 content:""!important;z-index:1!important;position:absolute!important;inset:0!important;
 background:linear-gradient(90deg,#f7efdd 0%,rgba(247,239,221,.12) 44%,transparent 85%)!important;
}
body.ama-site .ama-home-hero__tea-art img{
 display:block!important;width:100%!important;height:100%!important;
 object-fit:cover!important;object-position:center!important;
}
@media(max-width:760px){
 body.ama-site .ama-home-hero__slide.is-christmas-tea>a{
  background:#fcf3e4!important;
 }
 body.ama-site .ama-home-hero__slide.is-christmas-tea .ama-home-hero__copy{
  max-width:100%!important;padding:18px 14px 40px!important;
 }
 body.ama-site .ama-home-hero__slide.is-christmas-tea h2{
  font-size:clamp(1.75rem,7vw,2.5rem)!important;
 }
 body.ama-site .ama-home-hero__tea-art{opacity:.22!important;width:100%!important;border-radius:18px!important}
 body.ama-site .ama-home-hero__tea-art:before{
  background:linear-gradient(90deg,rgba(252,243,228,.94),rgba(252,243,228,.65))!important;
 }
}


/* N18 MAKE UP 24/11/2026: sized against the very same fixed-height
 * home carousel as the OSSEO slide. Both invisible click targets follow the
 * printed PRENOTA button on their respective desktop/mobile WebP posters.
 * These selectors are isolated: no change to other slides or event expiry.
 */
body.ama-site .ama-home-hero__slide.is-makeup-event{
 display:flex!important;align-items:center!important;justify-content:center!important;
 background:#faf8f3!important;isolation:isolate!important;
}
body.ama-site .is-makeup-event .ama-makeup-event__frame{
 position:relative!important;flex:0 1 auto!important;
 width:min(100%,calc(var(--ama-hero-uniform-height) * 1.776833))!important;
 height:auto!important;aspect-ratio:1672 / 941!important;
 margin:0 auto!important;padding:0!important;
}
body.ama-site .is-makeup-event .ama-makeup-event__picture{
 position:relative!important;display:block!important;
 width:100%!important;height:100%!important;margin:0!important;padding:0!important;
}
body.ama-site .is-makeup-event .ama-makeup-event__image{
 display:block!important;width:100%!important;height:100%!important;
 max-width:none!important;object-fit:fill!important;
 border:0!important;margin:0!important;padding:0!important;border-radius:0!important;
}
body.ama-site .is-makeup-event .ama-makeup-event__book{
 position:absolute!important;z-index:5!important;
 left:3.6%!important;top:84.1%!important;
 width:20.5%!important;height:9.1%!important;
 min-height:0!important;box-sizing:border-box!important;
 display:block!important;transform:none!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:999px!important;
 color:transparent!important;background:transparent!important;
 text-decoration:none!important;cursor:pointer!important;
}
body.ama-site .is-makeup-event .ama-makeup-event__book>span{
 position:absolute!important;width:1px!important;height:1px!important;
 margin:-1px!important;padding:0!important;overflow:hidden!important;
 clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
body.ama-site .is-makeup-event .ama-makeup-event__book:is(:hover,:focus-visible){
 outline:3px solid #f8e0d4!important;outline-offset:-3px!important;
 background:rgba(255,255,255,.10)!important;
 box-shadow:0 0 0 2px rgba(255,255,255,.25) inset!important;
}
@media(max-width:520px){
 body.ama-site .is-makeup-event .ama-makeup-event__frame{
  width:100%!important;height:auto!important;
  aspect-ratio:1024 / 1536!important;margin:0!important;align-self:flex-start!important;
 }
 body.ama-site .is-makeup-event .ama-makeup-event__picture,
 body.ama-site .is-makeup-event .ama-makeup-event__image{
  display:block!important;width:100%!important;height:auto!important;
  aspect-ratio:1024 / 1536!important;object-fit:contain!important;
 }
 body.ama-site .is-makeup-event .ama-makeup-event__book{
  position:absolute!important;left:5.6%!important;top:86.2%!important;
  width:45.4%!important;height:6.7%!important;
  display:block!important;transform:none!important;margin:0!important;padding:0!important;
  min-height:0!important;border-radius:999px!important;
  background:transparent!important;border:0!important;
  color:transparent!important;box-shadow:none!important;
 }
}

/* 23/10/2026 — N17 post-publication alignment correction, expressly requested.
 * One fixed-size carousel viewport across ALL slides (not content-driven).
 * The OSSEO hit area is positioned INSIDE the poster's proportional frame,
 * not relative to a slide whose height changes; no new content/assets.
 */
body.ama-site .ama-home-hero__viewport{
 --ama-hero-uniform-height:clamp(440px,50vw,665px);
 height:var(--ama-hero-uniform-height)!important;
 box-sizing:border-box!important;
}
/* T29-01 / desktop only: same wide measure as the approved header Omnibar.
   The 1672:941 event posters occupy the complete width at their ORIGINAL
   aspect ratio. All nine slides share one proportional height; no poster
   content/click coordinates are cropped, distorted or scaled by object-fit:fill.
   <=1180px and every mobile orientation retain the existing composition. */
@media (min-width:1181px){
 body.ama-site main#top.ama-main>section.ama-home-hero>.ama-shell{
  width:min(1840px,calc(100vw - 32px))!important;
  max-width:1840px!important;margin-inline:auto!important;
 }
 body.ama-site main#top.ama-main>section.ama-home-hero .ama-home-hero__viewport{
  --ama-hero-uniform-height:calc(min(1840px,calc(100vw - 32px)) * 0.562799)!important;
 }
 body.ama-site main#top.ama-main .is-osseo-event .ama-osseo-event__frame,
 body.ama-site main#top.ama-main .is-makeup-event .ama-makeup-event__frame{
  width:100%!important;max-width:100%!important;
  aspect-ratio:1672 / 941!important;
 }
 body.ama-site main#top.ama-main .is-osseo-event .ama-osseo-event__image,
 body.ama-site main#top.ama-main .is-makeup-event .ama-makeup-event__image{
  object-fit:contain!important;
 }
}
body.ama-site .ama-home-hero__track{
 position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;
 display:flex!important;align-items:stretch!important;
}
body.ama-site .ama-home-hero__slide{
 flex:0 0 100%!important;min-width:100%!important;
 height:100%!important;min-height:0!important;
 box-sizing:border-box!important;overflow:hidden!important;
}
body.ama-site .ama-home-hero__slide>a,
body.ama-site .ama-home-hero__slide.is-seasonal>.ama-seasonal-greeting-layout{
 box-sizing:border-box!important;
 height:100%!important;min-height:0!important;
}
body.ama-site .ama-home-hero__slide.is-osseo-event{
 display:flex!important;align-items:center!important;justify-content:center!important;
 background:#eef5e9!important;isolation:isolate;
}
body.ama-site .is-osseo-event .ama-osseo-event__frame{
 position:relative!important;flex:0 1 auto;
 width:min(100%,calc(var(--ama-hero-uniform-height) * 1.776833));
 height:auto!important;aspect-ratio:1672 / 941;
 margin:0 auto;padding:0;
}
body.ama-site .is-osseo-event .ama-osseo-event__picture{
 position:relative!important;display:block!important;
 width:100%!important;height:100%!important;margin:0!important;padding:0!important;
}
body.ama-site .is-osseo-event .ama-osseo-event__image{
 display:block!important;width:100%!important;height:100%!important;
 max-width:none!important;object-fit:fill!important;
 border:0!important;margin:0!important;padding:0!important;border-radius:0!important;
}
/* Coordinates measured against the 1672×941 WEBP, rather than the slide. */
body.ama-site .is-osseo-event .ama-osseo-event__book{
 position:absolute!important;z-index:5!important;
 left:72.0%!important;top:77.15%!important;
 width:22.5%!important;height:9.40%!important;
 min-height:0!important;box-sizing:border-box!important;
 display:block!important;transform:none!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:999px!important;
 color:transparent!important;background:transparent!important;
 text-decoration:none!important;cursor:pointer!important;
}
body.ama-site .is-osseo-event .ama-osseo-event__book>span{
 position:absolute;width:1px;height:1px;margin:-1px;padding:0;
 overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
body.ama-site .is-osseo-event .ama-osseo-event__book:is(:hover,:focus-visible){
 outline:3px solid #f2c95f!important;outline-offset:-3px!important;
 background:rgba(255,255,255,.07)!important;
 box-shadow:0 0 0 2px rgba(255,255,255,.32) inset!important;
}
@media(max-width:520px){
 /* Exact poster aspect 1024/1536 plus a fixed CTA+carousel-control footer.
    The same computed height applies to every other slide too. */
 body.ama-site .ama-home-hero__viewport{
  --ama-hero-uniform-height:calc(141vw + 130px);
 }
 body.ama-site .is-osseo-event .ama-osseo-event__frame{
  position:relative!important;width:100%!important;height:auto!important;
  aspect-ratio:1024 / 1536!important;margin:0!important;align-self:flex-start!important;
 }
 body.ama-site .is-osseo-event .ama-osseo-event__picture,
 body.ama-site .is-osseo-event .ama-osseo-event__image{
  display:block!important;width:100%!important;height:auto!important;aspect-ratio:1024 / 1536!important;
  object-fit:contain!important;
 }
 /* Mobile poster has no printed Prenota oval: the existing real CTA stays
    directly below the picture, fully visible above the carousel controls. */
 body.ama-site .is-osseo-event .ama-osseo-event__book{
  position:absolute!important;left:50%!important;top:calc(100% + 8px)!important;
  transform:translateX(-50%)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:min(84%,340px)!important;height:50px!important;min-height:50px!important;
  margin:0!important;padding:10px 25px!important;
  background:#21583e!important;border:2px solid #fff!important;
  color:#fff!important;box-shadow:0 7px 18px rgba(30,67,48,.24)!important;
  font:800 1rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important;
 }
 body.ama-site .is-osseo-event .ama-osseo-event__book>span{
  position:static!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;overflow:visible!important;
  clip:auto!important;white-space:normal!important;
  color:inherit!important;text-transform:uppercase;letter-spacing:.04em;
 }
}

/* N21 - approved mobile-only enhancement: original drawer colour and
   the existing hamburger before the original Omnibar on rotated phones.
   Large header remains non-sticky for zoom accessibility. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header{
  position:fixed!important;top:0!important;
  left:var(--ama-n21-same-left,60px)!important;right:auto!important;
  width:var(--ama-n21-same-width,calc(100vw - 60px))!important;
  max-width:var(--ama-n21-same-width,calc(100vw - 60px))!important;
  margin:0!important;z-index:2300!important;
 }
 body.ama-site.ama-n21-active.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:fixed!important;top:5px!important;
  left:12px!important;
  width:50px!important;min-width:50px!important;max-width:50px!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  z-index:2320!important;margin:0!important;box-sizing:border-box!important;
  background:#43564c!important;border:1px solid rgba(255,255,255,.32)!important;color:#fff!important;
 }
 body.ama-site.ama-n21-active.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle .ama-menu-toggle__label{display:none!important;}
 body.ama-site.ama-n21-active .ama-market-header #ama-menu-drawer:not([hidden]){
  display:block!important;position:fixed!important;top:54px!important;
  left:max(5px,calc(var(--ama-n21-same-left,60px) - 55px))!important;
  width:min(310px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
  z-index:2325!important;
 }
 body.ama-site.ama-n21-active .ama-market-header #ama-menu-drawer .ama-menu-drawer__panel{
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  height:min(60dvh,calc(100dvh - 58px))!important;max-height:min(60dvh,calc(100dvh - 58px))!important;
 }
 body.ama-site.ama-n21-active .ama-market-header #ama-menu-drawer .ama-menu-drawer__head{
  position:relative!important;flex:0 0 auto!important;top:auto!important;
 }
 body.ama-site.ama-n21-active .ama-market-header #ama-menu-drawer .ama-menu-drawer__nav{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
 }
 body.ama-site.ama-n21-active .ama-market-header :is(.ama-omnibox--header,.ama-header-secondary>.ama-menu-toggle){
  opacity:.96!important;transform:translateY(-2px)!important;
  transition:opacity 230ms ease,transform 230ms cubic-bezier(.2,.7,.2,1)!important;
  pointer-events:none!important;
 }
 body.ama-site.ama-n21-active.ama-n21-visible .ama-market-header :is(.ama-omnibox--header,.ama-header-secondary>.ama-menu-toggle){
  opacity:1!important;transform:translateY(0)!important;pointer-events:auto!important;
 }
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header :is(.ama-omnibox__intro,.ama-omnibox__modes,.ama-omnibox__hint){display:none!important;}
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header .ama-omnibox__inner{padding:0!important;}
}
@media (prefers-reduced-motion:reduce){
 body.ama-site.ama-n21-active .ama-market-header :is(.ama-omnibox--header,.ama-header-secondary>.ama-menu-toggle){transition:none!important;animation:none!important;}
}

/* N21 26/10 — owner-approved rotated-phone cascade: first the original
   hamburger becomes available, then the original search joins it. The
   combined control group has equal outside gutters and retains the exact
   natural search width and height. Portrait/tablet/desktop are untouched. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site.ama-n21-leading{
  --ama-n21-leading-left:12px;
 }
 body.ama-site.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:fixed!important;top:5px!important;
  left:var(--ama-n21-leading-left)!important;
  width:50px!important;min-width:50px!important;max-width:50px!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  z-index:2320!important;margin:0!important;box-sizing:border-box!important;
  background:#43564c!important;border:1px solid rgba(255,255,255,.32)!important;color:#fff!important;
  opacity:1!important;transform:translateY(0)!important;
  pointer-events:auto!important;touch-action:manipulation!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle .ama-menu-toggle__label{
  display:none!important;
 }
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header{
  left:var(--ama-n21-wide-left,67px)!important;
  right:12px!important;
  width:var(--ama-n21-wide-width,calc(100vw - 79px))!important;
  max-width:var(--ama-n21-wide-width,calc(100vw - 79px))!important;
  min-width:0!important;
 }
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header :is(.ama-omnibox__inner,.ama-omnibox__form,.ama-omnibox__field){
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header #ama-menu-drawer:not([hidden]){
  display:block!important;position:fixed!important;
  top:54px!important;left:var(--ama-n21-leading-left)!important;
  width:min(310px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;z-index:2325!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header #ama-menu-drawer .ama-menu-drawer__panel{
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  height:min(60dvh,calc(100dvh - 58px))!important;
  max-height:min(60dvh,calc(100dvh - 58px))!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header #ama-menu-drawer .ama-menu-drawer__head{
  position:relative!important;flex:0 0 auto!important;top:auto!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header #ama-menu-drawer .ama-menu-drawer__nav{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
 }
}
@media (prefers-reduced-motion:reduce){
 body.ama-site.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  transition:none!important;animation:none!important;
 }
}

/* N21 Safari/WebKit fast-flick fallback. The ONLY search stays present at
   its initial viewport coordinates while the browser delivers scroll events;
   this avoids an invisible interval even during asynchronous compositor
   scrolling. The header still reserves the original grid footprint. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site.ama-n21-prepared .ama-market-header .ama-header-primary{
  min-height:var(--ama-n21-primary-height,94px)!important;
 }
 body.ama-site.ama-n21-prepared .ama-market-header .ama-header-primary::after{
  content:"";display:block;grid-area:search!important;
  width:var(--ama-n21-same-width,414px)!important;
  height:var(--ama-n21-natural-height,54px)!important;
  min-width:0!important;visibility:hidden!important;pointer-events:none!important;
 }
 body.ama-site.ama-n21-prepared .ama-market-header .ama-omnibox--header{
  position:fixed!important;
  top:var(--ama-n21-natural-top,7px)!important;
  left:var(--ama-n21-same-left,200px)!important;right:auto!important;
  width:var(--ama-n21-same-width,414px)!important;
  max-width:var(--ama-n21-same-width,414px)!important;
  margin:0!important;z-index:2300!important;
 }
 body.ama-site.ama-n21-prepared.ama-n21-active .ama-market-header .ama-omnibox--header{
  top:0!important;
  left:var(--ama-n21-wide-left,67px)!important;
  right:12px!important;
  width:var(--ama-n21-wide-width,calc(100vw - 79px))!important;
  max-width:var(--ama-n21-wide-width,calc(100vw - 79px))!important;
 }
}
/* Rotated-phone layout: the weather stays on the first row;
   the search has a dedicated second row above the hamburger. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-header-primary{
  grid-template-columns:126px 150px minmax(0,1fr) 54px!important;
  grid-template-areas:"logo weather . language" "search search search search"!important;
  grid-template-rows:80px 80px!important;row-gap:7px!important;
 }
 body.ama-site .ama-market-header .ama-header-primary::after{
  content:"";display:block;grid-area:search!important;
  width:100%!important;height:80px!important;visibility:hidden!important;pointer-events:none!important;
 }
}
/* Search width is identical in document flow and at its sticky edge. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-omnibox--header,
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header{
  position:relative!important;grid-area:search!important;top:auto!important;left:calc(67px - var(--ama-n21-same-left,67px))!important;right:auto!important;
  box-sizing:border-box!important;justify-self:start!important;align-self:start!important;
  width:calc(100vw - 79px)!important;max-width:calc(100vw - 79px)!important;
  height:80px!important;min-height:80px!important;margin:0 0 0 55px!important;
  opacity:1!important;transform:none!important;transition:none!important;pointer-events:auto!important;
 }
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header{
  position:fixed!important;top:0!important;left:67px!important;right:12px!important;
  width:calc(100vw - 79px)!important;max-width:calc(100vw - 79px)!important;margin:0!important;
  background:#546058!important;
 }
}
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header .ama-omnibox__modes{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
/* N21 L.791 — Restore original header controls and pin without restyling.
   Landscape touch only: same-sized search, symmetric external gutters based
   on the actual first rail button, unchanged original hamburger including text. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-topbar-inner{
  display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;
  grid-template-rows:auto 54px!important;column-gap:8px!important;row-gap:0!important;
  width:100%!important;max-width:100%!important;padding-inline:12px!important;
  box-sizing:border-box!important;align-items:start!important;
 }
 body.ama-site .ama-market-header .ama-header-primary{
  grid-column:1/-1!important;grid-row:1!important;min-width:0!important;
  grid-template-areas:"logo weather . language" "search search search search"!important;
  grid-template-rows:80px 80px!important;row-gap:7px!important;
 }
 body.ama-site .ama-market-header .ama-header-primary::after{display:none!important;content:none!important;}
 body.ama-site .ama-market-header .ama-header-secondary{
  grid-column:1!important;grid-row:2!important;display:flex!important;
  width:72px!important;min-width:72px!important;max-width:72px!important;
  height:54px!important;min-height:54px!important;max-height:54px!important;
  align-items:center!important;justify-content:flex-start!important;
  padding:0!important;margin:0!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav-shell{
  grid-column:2!important;grid-row:2!important;display:block!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  overflow:hidden!important;margin:0!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header{
  position:relative!important;grid-area:search!important;top:auto!important;
  left:var(--ama-n21-correction,0px)!important;right:auto!important;justify-self:start!important;
  width:calc(100vw - 2 * var(--ama-n21-nav-first,100px))!important;
  max-width:calc(100vw - 2 * var(--ama-n21-nav-first,100px))!important;
  margin-left:calc(var(--ama-n21-nav-first,100px) - 12px)!important;
  margin-right:0!important;height:80px!important;min-height:80px!important;
  box-sizing:border-box!important;opacity:1!important;transform:none!important;
  background:transparent!important;transition:none!important;pointer-events:auto!important;
 }
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header{
  position:fixed!important;top:0!important;
  left:var(--ama-n21-nav-first,100px)!important;right:auto!important;
  width:calc(100vw - 2 * var(--ama-n21-nav-first,100px))!important;
  max-width:calc(100vw - 2 * var(--ama-n21-nav-first,100px))!important;
  margin:0!important;min-height:80px!important;height:80px!important;
  background:transparent!important;opacity:1!important;transform:none!important;
  transition:none!important;pointer-events:auto!important;
 }
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  position:fixed!important;top:0!important;
  left:var(--ama-n21-menu-left,12px)!important;
  width:var(--ama-n21-menu-width,74px)!important;
  min-width:var(--ama-n21-menu-width,74px)!important;
  max-width:var(--ama-n21-menu-width,74px)!important;
  height:var(--ama-n21-menu-height,44px)!important;
  min-height:var(--ama-n21-menu-height,44px)!important;
  max-height:var(--ama-n21-menu-height,44px)!important;
  padding:var(--ama-n21-menu-padding,0 5px)!important;
  border:var(--ama-n21-menu-border,0)!important;
  background:var(--ama-n21-menu-background,transparent)!important;
  color:var(--ama-n21-menu-color,inherit)!important;
  border-radius:var(--ama-n21-menu-radius,12px)!important;
  align-items:center!important;justify-content:center!important;
  opacity:1!important;transform:none!important;transition:none!important;
  box-sizing:border-box!important;pointer-events:auto!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle .ama-menu-toggle__label,
 body.ama-site.ama-n21-active.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle .ama-menu-toggle__label{
  display:inline!important;visibility:visible!important;position:static!important;
  width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;
  white-space:nowrap!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header #ama-menu-drawer:not([hidden]){
  top:calc(var(--ama-n21-menu-height,44px) + 5px)!important;
  left:var(--ama-n21-menu-left,12px)!important;
 }
 /* Once both controls are pinned, the horizontal navigation has physically
    reached the upper edge: prevent its remaining last pixels from peeking
    behind the separate floating controls. The original menu is accessible. */
 body.ama-site.ama-n21-leading .ama-market-header .ama-mobile-nav-shell{
  visibility:hidden!important;pointer-events:none!important;
 }
}
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:760px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-header-primary{
  grid-template-columns:clamp(88px,27vw,110px) minmax(0,clamp(124px,41vw,178px)) clamp(50px,14vw,60px)!important;
  grid-template-areas:"logo weather language" "search search search"!important;
  /* Keep the original search row reserved after Omnibar pins. Otherwise
     its removal from CSS grid makes the hamburger jump upward by ~52px. */
  grid-template-rows:48px var(--ama-n21-natural-height,52px)!important;justify-content:center!important;
 }
 body.ama-site .ama-market-header .ama-omnibox--header,
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header{
  height:auto!important;min-height:0!important;
 }
}
@media (orientation:landscape) and (max-height:600px) and (min-width:761px) and (max-width:1023px) and (pointer:coarse){
 /* Restore the original 24px first-row origin for logo/weather while leaving
    the approved right-side language controls at their existing positions. */
 body.ama-site .ama-market-header .ama-topbar-inner{
  padding-left:24px!important;padding-right:12px!important;
 }
}
/* N21 L.792 — The ACTUAL Tutte button pins at its own upper edge, without
   changing paint, dimensions, text, radius or layout. The surface #546058
   is the existing header background: when fixed over page content it must
   remain visually identical to when it was over the header. */
@media(max-width:760px){
 body.ama-site .ama-market-header .ama-topbar-inner{
  column-gap:6px!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav{
  padding-left:0!important;
 }
}
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  background:#546058!important;
  transition:none!important;
 }
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  position:fixed!important;
  top:0!important;
  left:var(--ama-n21-menu-left,12px)!important;
  width:var(--ama-n21-menu-width,74px)!important;
  min-width:var(--ama-n21-menu-width,74px)!important;
  max-width:var(--ama-n21-menu-width,74px)!important;
  height:var(--ama-n21-menu-height,44px)!important;
  min-height:var(--ama-n21-menu-height,44px)!important;
  max-height:var(--ama-n21-menu-height,44px)!important;
  margin:0!important;
  background:#546058!important;
  border:var(--ama-n21-menu-border,0)!important;
  padding:var(--ama-n21-menu-padding,0 5px)!important;
  color:var(--ama-n21-menu-color,#fff)!important;
  border-radius:var(--ama-n21-menu-radius,12px)!important;
  box-shadow:none!important;
  opacity:1!important;visibility:visible!important;transform:none!important;
  transition:none!important;animation:none!important;
  pointer-events:auto!important;z-index:2320!important;
 }
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle .ama-menu-toggle__label{
  display:inline!important;visibility:visible!important;position:static!important;
  width:auto!important;height:auto!important;clip:auto!important;
  overflow:visible!important;white-space:nowrap!important;
 }
}
@media (orientation:landscape) and (max-height:600px) and (min-width:761px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-topbar-inner{
  column-gap:9px!important;
 }
}

/* N21 L.793 — Owner-requested equal-height anchored controls and exact
   hamburger-to-rail vertical alignment. Only touch-phone landscape.
   Natural row: Tutte matches Home's top/height. Anchored row: the SAME
   Tutte button expands downwards to the ACTUAL Omnibar height, preserving
   its top edge, width, colors, text and all horizontal gutters. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  position:relative!important;
  transition:none!important;
 }
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  position:fixed!important;top:0!important;
  height:var(--ama-n21-natural-height,80px)!important;
  min-height:var(--ama-n21-natural-height,80px)!important;
  max-height:var(--ama-n21-natural-height,80px)!important;
  background:#546058!important;opacity:1!important;transform:none!important;
  transition:none!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header #ama-menu-drawer:not([hidden]){
  top:calc(var(--ama-n21-natural-height,80px) + 5px)!important;
 }
}
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:760px) and (pointer:coarse){
 /* 760px rail links begin 1px above the old centred Tutte button. */
 body.ama-site .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  top:-1px!important;
 }
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  top:0!important;
 }
}
/* N22 — native favourite heart on an already approved service/brand/event
 * hero slide. Its independent button does not intercept the slide CTA.
 * Like Brand/Services, visitor totals remain hidden; the admin can read them. */
body.ama-site .ama-home-hero__slide[data-ama-favorite-type]{
 position:relative!important;
}
body.ama-site .ama-home-hero__slide>.ama-home-slide-favorite{
 position:absolute!important;z-index:60!important;
 top:clamp(9px,1.2vw,16px)!important;
 right:clamp(9px,1.2vw,16px)!important;
 left:auto!important;bottom:auto!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 padding:0!important;gap:0!important;
 border:1.5px solid rgba(39,64,51,.45)!important;border-radius:50%!important;
 background:rgba(255,253,247,.94)!important;color:#546058!important;
 box-shadow:0 3px 12px rgba(20,35,26,.16)!important;
 cursor:pointer!important;opacity:1!important;
 pointer-events:auto!important;transform:none!important;
}
body.ama-site .ama-home-hero__slide>.ama-home-slide-favorite .ama-service-reaction__heart{
 display:inline-block!important;color:inherit!important;
 font-size:1.45rem!important;line-height:1!important;
}
body.ama-site .ama-home-hero__slide>.ama-home-slide-favorite.is-active{
 background:#ffebf0!important;color:#a63257!important;
}
body.ama-site .ama-home-hero__slide>.ama-home-slide-favorite:is(:hover,:focus-visible){
 outline:2px solid #546058!important;outline-offset:2px!important;
}
body.ama-site .ama-home-hero__slide>.ama-home-slide-favorite:disabled{cursor:wait!important;opacity:.75!important;}
@media(max-width:520px){
 body.ama-site .ama-home-hero__slide>.ama-home-slide-favorite{top:9px!important;right:9px!important;}
}

/* L875: explicitly requested near-flush top/bottom header trim after L871.
 * Preserve 80px desktop controls, mobile field, button dimensions, all columns,
 * internal row spacing, navigation and original N21 fixed behaviour.
 * Outer primary-only top=3px and bottom=2px across desktop/tablet/mobile,
 * including rotated touch; N21 calculates its edge offsets from DOM boxes.
 * Never compress input/button tap targets or the internal search/mode gap. */
@media (min-width:1040px){
 body.ama-site .ama-market-header .ama-header-primary{
  min-height:85px!important;
  padding-top:3px!important;
  padding-bottom:2px!important;
 }
}
@media (min-width:761px) and (max-width:1039px){
 body.ama-site .ama-market-header .ama-header-primary{
  min-height:85px!important;
  padding-top:3px!important;
  padding-bottom:2px!important;
 }
}
@media (max-width:760px){
 body.ama-site .ama-market-header .ama-header-primary{
  padding-top:3px!important;
  padding-bottom:2px!important;
 }
}

/* Existing N21 responsive header follows; scope stays unchanged. */
@media (orientation:landscape) and (max-height:600px) and (min-width:761px) and (max-width:1023px) and (pointer:coarse){
 /* 844/932px: former Tutte 34px vs nav links 38px and top -0.5px.
    Raising natural height to 38px and offsetting centre by +2.5px
    yields the SAME top and height as the first navigation button. */
 body.ama-site .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  height:38px!important;min-height:38px!important;max-height:38px!important;
  top:2.5px!important;
 }
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  top:0!important;
  height:var(--ama-n21-natural-height,80px)!important;
  min-height:var(--ama-n21-natural-height,80px)!important;
  max-height:var(--ama-n21-natural-height,80px)!important;
 }
}

/* L878: owner-approved mobile-only lower green rail compression.
 * The real Home/Tutte hit targets stay 44px in narrow phones; remove
 * the excess 54px row, not the accessible buttons, text or search area.
 * 761..1023 touch landscape keeps its existing 38px nav controls. */
@media (max-width:760px){
 body.ama-site .ama-market-header .ama-topbar-inner{
  grid-template-rows:auto 46px!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary{
  height:46px!important;min-height:46px!important;max-height:46px!important;
  padding:1px 0!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav-shell,
 body.ama-site .ama-market-header .ama-mobile-nav{
  height:46px!important;min-height:46px!important;max-height:46px!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav{padding:1px 3px!important;}
}
@media (orientation:landscape) and (max-height:600px) and (min-width:761px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-topbar-inner{
  grid-template-rows:auto 44px!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary{
  height:44px!important;min-height:44px!important;max-height:44px!important;
  padding:0!important;
 }
 body.ama-site .ama-market-header .ama-mobile-nav-shell,
 body.ama-site .ama-market-header .ama-mobile-nav{
  height:44px!important;min-height:44px!important;max-height:44px!important;
 }
}
/* L878 anchored mobile landscape: size the actual two pinned surfaces
 * equally, using real field/mode geometry measured in header.php rather
 * than an 80px placeholder which can include non-visible green space. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header,
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  height:var(--ama-n21-visible-height,80px)!important;
  min-height:var(--ama-n21-visible-height,80px)!important;
  max-height:var(--ama-n21-visible-height,80px)!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header #ama-menu-drawer:not([hidden]){
  top:calc(var(--ama-n21-visible-height,80px) + 5px)!important;
 }
}
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:760px) and (pointer:coarse){
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header .ama-omnibox__field{
  height:44px!important;min-height:44px!important;
 }
}

/* L.883 — Owner correction 28/10. Portrait: the green footer below
   the 44px mobile rail is 2px, with no extra padding from its wrappers. */
@media (orientation:portrait) and (max-width:760px){
 body.ama-site .ama-market-header .ama-topbar-inner{
  grid-template-rows:auto 46px!important;
  padding-bottom:0!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary,
 body.ama-site .ama-market-header .ama-mobile-nav-shell,
 body.ama-site .ama-market-header .ama-mobile-nav{
  box-sizing:border-box!important;
  height:46px!important;min-height:46px!important;max-height:46px!important;
  padding-top:0!important;padding-bottom:2px!important;
  margin-bottom:0!important;
  border-bottom:0!important;
  align-items:center!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary>.ama-menu-toggle,
 body.ama-site .ama-market-header .ama-mobile-nav>a{
  height:44px!important;min-height:44px!important;max-height:44px!important;
  margin-block:0!important;align-self:start!important;
 }
}
/* L887 — MOBILE LANDSCAPE: continuity without changing the already
 * approved natural Omnibar. Pin only at its true scroll edge; preserve its
 * measured OUTER height and the field/mode geometry visible before pin.
 * Hamburger + nearby rail buttons share the actual FIELD thickness from
 * the first paint, and do NOT grow when the original hamburger pins.
 * No aspect of portrait, desktop, search routing, text or button order changes. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-topbar-inner{
  grid-template-rows:auto calc(var(--ama-n21-field-height,48px) + 2px)!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary,
 body.ama-site .ama-market-header .ama-mobile-nav-shell,
 body.ama-site .ama-market-header .ama-mobile-nav{
  box-sizing:border-box!important;
  height:calc(var(--ama-n21-field-height,48px) + 2px)!important;
  min-height:calc(var(--ama-n21-field-height,48px) + 2px)!important;
  max-height:calc(var(--ama-n21-field-height,48px) + 2px)!important;
  padding-top:0!important;padding-bottom:0!important;
  margin-block:0!important;align-items:center!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary>.ama-menu-toggle,
 body.ama-site.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle,
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle,
 body.ama-site .ama-market-header .ama-mobile-nav>a,
 body.ama-site .ama-market-header .ama-mobile-nav>button{
  box-sizing:border-box!important;
  height:var(--ama-n21-field-height,48px)!important;
  min-height:var(--ama-n21-field-height,48px)!important;
  max-height:var(--ama-n21-field-height,48px)!important;
  margin-block:0!important;align-self:center!important;
  transform:none!important;transition:none!important;
 }
 body.ama-site .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  top:0!important;
 }
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  position:fixed!important;top:0!important;
 }
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header{
  box-sizing:border-box!important;
  height:var(--ama-n21-natural-height,80px)!important;
  min-height:var(--ama-n21-natural-height,80px)!important;
  max-height:var(--ama-n21-natural-height,80px)!important;
  transform:none!important;transition:none!important;
 }
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header .ama-omnibox__field{
  box-sizing:border-box!important;
  height:var(--ama-n21-field-height,48px)!important;
  min-height:var(--ama-n21-field-height,48px)!important;
  max-height:var(--ama-n21-field-height,48px)!important;
 }
 body.ama-site.ama-n21-active .ama-market-header .ama-omnibox--header .ama-omnibox__modes{
  display:var(--ama-n21-modes-display,none)!important;
  grid-template-columns:var(--ama-n21-modes-columns,none)!important;
 }
 body.ama-site.ama-n21-leading .ama-market-header #ama-menu-drawer:not([hidden]){
  top:calc(var(--ama-n21-field-height,48px) + 5px)!important;
 }
}
/* L889 — optical parity on landscape-touch pin: preserve the full 52/54px
 * interactive rectangle and original x/top, but keep the coloured paint
 * 1px inset on each horizontal edge, matching the visually thinner WHITE
 * Omnibar field inside its two-pixel outline. 18px corner matches field.
 * Applies before AND after pin; no new scroll transition or geometry change. */
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){
 body.ama-site .ama-market-header .ama-header-secondary>.ama-menu-toggle,
 body.ama-site.ama-n21-leading .ama-market-header .ama-header-secondary>.ama-menu-toggle,
 body.ama-site.ama-n21-leading.ama-n21-active .ama-market-header .ama-header-secondary>.ama-menu-toggle{
  border-top:1px solid rgba(255,255,255,.32)!important;
  border-bottom:1px solid rgba(255,255,255,.32)!important;
  background-clip:padding-box!important;
  border-radius:18px!important;
 }
}
/* L892 — owner-requested restore of pre-L889 desktop navigation: no resting white ovals. The original hover/focus/selected rules remain in theme.css. Mobile L889 optical trim unchanged. */

/* L897: Seven licensed culinary backdrops — one shuffled scene per Rome day. */
body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scene="0"]{--ama-a-tavola-backdrop:url('/wp-content/uploads/2026/10/amafarmacia-ricetta-editoriale-ingredienti-20261012.webp');}
body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scene="1"]{--ama-a-tavola-backdrop:url('/wp-content/uploads/2026/10/amafarmacia-a-tavola-frutta-semi-20261028.jpg');}
body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scene="2"]{--ama-a-tavola-backdrop:url('/wp-content/uploads/2026/10/amafarmacia-a-tavola-verdure-fresche-20261028.jpg');}
body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scene="3"]{--ama-a-tavola-backdrop:url('/wp-content/uploads/2026/10/amafarmacia-a-tavola-cereali-pentola-20261028.jpg');}
body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scene="4"]{--ama-a-tavola-backdrop:url('/wp-content/uploads/2026/10/amafarmacia-a-tavola-ortaggi-viola-20261028.jpg');}
body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scene="5"]{--ama-a-tavola-backdrop:url('/wp-content/uploads/2026/10/amafarmacia-a-tavola-pasta-mediterranea-20261028.jpg');}
body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scene="6"]{--ama-a-tavola-backdrop:url('/wp-content/uploads/2026/10/amafarmacia-a-tavola-pane-artigianale-20261028.jpg');}
body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scenes="7"] .ama-daily-recipe-hero{
 background-image:linear-gradient(90deg,rgba(246,249,236,.99) 0%,rgba(246,249,236,.97) 43%,rgba(246,249,236,.69) 66%,rgba(246,249,236,.10) 100%),var(--ama-a-tavola-backdrop)!important;
 background-size:cover!important;background-position:center,right center!important;
}
@media(max-width:760px){body.ama-site .ama-daily-recipe-page[data-ama-a-tavola-scenes="7"] .ama-daily-recipe-hero{
 background-image:linear-gradient(180deg,rgba(247,251,238,.99) 0%,rgba(247,251,238,.98) 54%,rgba(247,251,238,.69) 76%,rgba(247,251,238,.29) 100%),var(--ama-a-tavola-backdrop)!important;
 background-position:center,right bottom!important;
}}

/* L898 — Home pharmacist: full-bleed botanical backdrop under translucent card. */
body.ama-site .ama-pharmacist-mount[data-variant="full"],
body.ama-site .ama-pharmacist-mount[data-variant="full"]>.ama-pharmacist-section{
 width:100%!important;max-width:none!important;margin-inline:0!important;
}
body.ama-site .ama-pharmacist-mount[data-variant="full"]>.ama-pharmacist-section{
 background-color:#c5d9c8!important;
 background-image:linear-gradient(100deg,rgba(217,235,221,.86) 0%,rgba(215,232,224,.70) 52%,rgba(224,231,202,.73) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-size:cover!important;background-position:center,right center!important;
}
body.ama-site .ama-pharmacist-mount[data-variant="full"] .ama-pharmacist-box{
 background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(239,248,241,.81))!important;
 -webkit-backdrop-filter:blur(14px) saturate(1.04)!important;
 backdrop-filter:blur(14px) saturate(1.04)!important;
 border-color:rgba(255,255,255,.86)!important;
}
@media(max-width:760px){
 body.ama-site .ama-pharmacist-mount[data-variant="full"]>.ama-pharmacist-section{
  background-image:linear-gradient(180deg,rgba(224,239,228,.76),rgba(210,230,218,.84)),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
  background-position:center,right center!important;
 }
 body.ama-site .ama-pharmacist-mount[data-variant="full"] .ama-pharmacist-box{background:rgba(253,255,253,.87)!important;}
}
/* T29-04 — eight existing Brand cards on an ample desktop, at the
   same approx. 190px card width, without squeezing or cropping logos.
   Below 1700px retain the already-approved adaptive number of columns. */
@media(min-width:1700px){
 body.ama-site .ama-brands-page:not(.ama-brand-detail-page) #ama-brands-grid{
  width:min(1840px,calc(100vw - 32px))!important;
  max-width:1840px!important;margin-inline:auto!important;
 }
 body.ama-site .ama-brands-page:not(.ama-brand-detail-page) .ama-brand-logo-grid{
  grid-template-columns:repeat(8,190px)!important;
  gap:18px!important;justify-content:center!important;
 }
}
/* T29-05 — opening hours at header width on desktop. Preserve the
   original time data and all links, and retain the responsive mobile table. */
@media(min-width:1181px){
 body.ama-site main#top.ama-main>section#orari.ama-opening-section>.ama-shell{
  width:min(1840px,calc(100vw - 32px))!important;
  max-width:1840px!important;margin-inline:auto!important;
 }
 body.ama-site #orari .ama-opening-section__card h3{
  font-size:clamp(1.65rem,1.8vw,2.25rem)!important;line-height:1.16!important;
  white-space:nowrap!important;
 }
 body.ama-site #orari .ama-opening-section__card>p:first-of-type{
  font-size:clamp(1rem,1.07vw,1.2rem)!important;white-space:nowrap!important;
 }
 body.ama-site #orari .ama-opening-hours caption{
  font-size:clamp(1.3rem,1.4vw,1.62rem)!important;white-space:nowrap!important;
 }
 body.ama-site #orari .ama-opening-hours table{
  font-size:clamp(.99rem,1.07vw,1.16rem)!important;
 }
 body.ama-site #orari .ama-opening-hours thead th{font-size:clamp(.9rem,.98vw,1.08rem)!important}
 body.ama-site #orari .ama-opening-hours :is(th,td){
  white-space:nowrap!important;overflow-wrap:normal!important;
 }
}
/* T29-06 — the approved Home botanical backdrop on the compact
   pharmacist form in Servizi; identical asset, tint, translucency and
   mobile treatment. Functional WhatsApp form and spacing are untouched. */
body.ama-site .ama-services-page .ama-pharmacist-mount[data-variant="compact"]>.ama-pharmacist-section{
 background-color:#c5d9c8!important;
 background-image:linear-gradient(100deg,rgba(217,235,221,.86) 0%,rgba(215,232,224,.70) 52%,rgba(224,231,202,.73) 100%),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
 background-size:cover!important;background-position:center,right center!important;
}
body.ama-site .ama-services-page .ama-pharmacist-mount[data-variant="compact"] .ama-pharmacist-box{
 background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(239,248,241,.81))!important;
 -webkit-backdrop-filter:blur(14px) saturate(1.04)!important;
 backdrop-filter:blur(14px) saturate(1.04)!important;
 border-color:rgba(255,255,255,.86)!important;
}
@media(max-width:760px){
 body.ama-site .ama-services-page .ama-pharmacist-mount[data-variant="compact"]>.ama-pharmacist-section{
  background-image:linear-gradient(180deg,rgba(224,239,228,.76),rgba(210,230,218,.84)),url('/wp-content/uploads/2026/10/amafarmacia-editorial-hires-foliage.webp')!important;
  background-position:center,right center!important;
 }
 body.ama-site .ama-services-page .ama-pharmacist-mount[data-variant="compact"] .ama-pharmacist-box{
  background:rgba(253,255,253,.87)!important;
 }
}
/* T29-03 | Requested desktop-wide two-pharmacy cards, same photo ratios.
   Only the existing introduction is removed; phone, maps, WhatsApp,
   booking calendars and images are kept. */
body.ama-site .ama-branches-unified .ama-branches-unified__intro{
 max-width:100%!important;width:100%!important;
}
body.ama-site .ama-branches-unified .ama-branches-unified__choose{
 font-size:clamp(1.95rem,3vw,3.35rem)!important;
 line-height:1.12!important;letter-spacing:-.025em!important;
 margin:0 0 clamp(18px,2vw,28px)!important;
 text-align:center!important;
}
@media(min-width:1181px){
 body.ama-site .ama-main>section.ama-branches-unified>.ama-shell{
  width:min(1840px,calc(100vw - 32px))!important;
  max-width:1840px!important;margin-inline:auto!important;
 }
}
@media(max-width:760px){
 body.ama-site .ama-branches-unified .ama-branches-unified__choose{
  font-size:clamp(1.55rem,6vw,2.2rem)!important;
  text-align:center!important;
 }
}
/* T29-02 — widen only the visible rail, not each individual quick card.
   Keep the pre-existing 278.4px tile size from the 1440px/5-card layout
   on wide screens; show additional original cards at the right edge. */
@media(min-width:1181px){
 body.ama-site main#top.ama-main>section.ama-home-card-strip>.ama-shell{
  width:min(1840px,calc(100vw - 32px))!important;
  max-width:1840px!important;margin-inline:auto!important;
 }
 body.ama-site main#top.ama-main .ama-home-card-strip__rail{
  grid-auto-columns:min(278.4px,calc((100vw - 80px)/5))!important;
 }
}
/* L899 — sixth Omnibar slot with active booking action matching the neighbouring buttons. */
@media(min-width:1181px){body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__modes{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}}
@media(min-width:1040px) and (max-width:1180px){body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__modes{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}}
body.ama-site .ama-market-header .ama-omnibox__modes>.ama-omnibox__booking{opacity:1!important;cursor:pointer!important}
@media(min-width:1040px){body.ama-site .ama-market-header .ama-omnibox__modes>button{font-size:clamp(10px,.74vw,12px)!important;padding-inline:3px!important}}
@media(max-width:760px){body.ama-site .ama-market-header .ama-omnibox__modes{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}body.ama-site .ama-market-header .ama-omnibox__modes>button[data-ama-omnibox-mode=product]{grid-column:auto!important}}
@media (orientation:landscape) and (max-height:600px) and (min-width:600px) and (max-width:1023px) and (pointer:coarse){body.ama-site .ama-market-header .ama-omnibox--header .ama-omnibox__modes{grid-template-columns:repeat(4,minmax(0,1fr))!important}body.ama-site .ama-market-header .ama-omnibox__modes>button[data-ama-omnibox-mode=product]{grid-column:auto!important}}





