/* Title: Arketicom — master unico pagina prodotto Nami. Description: unica autorità per foto principale, galleria e consigliati. Keywords: Arketicom,Nami,master,r152. */
html body[data-product-master] #contenuto .pdp-hero{position:relative;width:100%;height:100svh;min-height:0;max-height:none;margin:0;padding:0;overflow:hidden;background:#fff}
html body[data-product-master] #contenuto .pdp-hero>picture{display:block;position:absolute;inset:0;width:100%;height:100%}
html body[data-product-master] #contenuto .pdp-hero>img,html body[data-product-master] #contenuto .pdp-hero>picture>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:var(--hero-focal-desktop,50% 50%);margin:0;transform:none}
html body[data-product-master] #contenuto .pdp-hero[data-master-framing="whole-product"]>img,html body[data-product-master] #contenuto .pdp-hero[data-master-framing="whole-product"]>picture{inset:88px 0 12px;height:calc(100% - 100px);object-fit:contain;object-position:center}
html body[data-product-master] #contenuto .pdp-hero[data-master-framing="whole-product"]>picture>img{object-fit:contain;object-position:center}
html body[data-product-master] #contenuto .pdp-hero h1{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;margin:0!important;padding:24px!important;transform:none!important;box-sizing:border-box;font:400 var(--ak-hero-title-size)/1.1 ArketicomSerif,Georgia,serif;color:#fff;letter-spacing:0;text-align:center!important;text-transform:none;text-shadow:0 2px 16px #0004;z-index:1}
html body[data-product-master] #contenuto .nami-overview{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(64px,7vw,125px);align-items:start;width:min(1540px,92%);margin:0 auto;padding:110px 0 145px;background:#fff}
@media(max-width:760px){html body[data-product-master] #contenuto .nami-overview{grid-template-columns:1fr;width:calc(100% - 40px);gap:45px;padding:45px 0 75px}html body[data-product-master] #contenuto .pdp-hero>img,html body[data-product-master] #contenuto .pdp-hero>picture>img{object-position:var(--hero-focal-mobile,50% 50%)}}
html body[data-product-master] #contenuto .nami-product-photo{position:relative;display:grid;place-items:center;min-width:0;background:transparent;border:0;box-shadow:none}
html body[data-product-master] #contenuto .nami-product-photo>img{position:relative;z-index:1;display:block;width:100%;height:auto;max-width:100%;max-height:750px;object-fit:contain;object-position:center;margin:0;background:transparent}
html body[data-product-master] #contenuto .nami-product-photo::before,html body[data-product-master] #contenuto .nami-product-photo::after{content:none}
html body[data-product-master] #contenuto .nami-product-photo[data-overview-ground-r150]{aspect-ratio:var(--ground-ratio);grid-template-columns:minmax(0,1fr)}
html body[data-product-master] #contenuto .nami-product-photo[data-overview-ground-r150]>img,html body[data-product-master] #contenuto .nami-product-photo>.overview-ground-shadow-r150{grid-area:1/1;width:100%;height:100%;max-height:none;object-fit:contain}
html body[data-product-master] #contenuto .nami-product-photo>.overview-ground-shadow-r150{display:block;z-index:0;overflow:visible;pointer-events:none}
html body[data-product-master] #contenuto .pdp-gallery{position:relative;width:100%;max-width:none;margin:0;padding:100px 0;background:#fff}
html body[data-product-master] #contenuto .pdp-gallery-track{display:flex;flex-wrap:nowrap;align-items:stretch;gap:0;width:100%;height:100svh;margin:0;padding:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
html body[data-product-master] #contenuto .pdp-gallery-track>figure{position:relative;display:block;flex:0 0 50%;width:50%;min-width:0;height:100svh;min-height:0;max-height:none;aspect-ratio:auto;margin:0;padding:0;overflow:hidden;scroll-snap-align:start;background:#fff}
html body[data-product-master] #contenuto .pdp-gallery-track>figure>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:var(--gallery-focus-r135,var(--focal-desktop,50% 50%));margin:0;padding:0;transform:none}
html body[data-product-master] #contenuto .pdp-gallery-track>figure::after{content:"";position:absolute;inset:0 0 0 auto;width:2px;background:#fff;pointer-events:none}
html body[data-product-master] #contenuto .pdp-gallery-controls{position:absolute;inset:100px 0;display:flex;align-items:center;justify-content:space-between;margin:0;padding:0 22px;pointer-events:none}
html body[data-product-master] #contenuto .pdp-gallery-controls button{display:grid;place-items:center;width:46px;height:46px;min-height:46px;padding:0;border:0;border-radius:50%;background:#ffffffe0;color:#514b43;pointer-events:auto}
html body[data-product-master] #contenuto .pdp-gallery-controls button:disabled{visibility:hidden}
html body[data-product-master] #contenuto .nami-gallery-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body[data-product-master] #contenuto .pdp-related{padding-block:80px;background:#fff}
html body[data-product-master] #contenuto .pdp-related h2{text-align:center;font-family:ArketicomSerif,Georgia,serif;font-weight:400;font-size:30px;margin:0 0 48px}
html body[data-product-master] #contenuto .pdp-related-grid{display:flex;flex-wrap:nowrap;align-items:stretch;gap:64px;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 16px;margin:0}
html body[data-product-master] #contenuto .pdp-related-grid>article{display:block;flex:0 0 calc((100% - 128px)/3);min-width:0;max-width:none;float:none;clear:none;scroll-snap-align:start;background:#fff}
html body[data-product-master] #contenuto .pdp-related-grid:has(>article:last-child:nth-child(-n+2)){justify-content:center}
html body[data-product-master] #contenuto .pdp-related-grid>article>a{display:block;width:100%;text-align:center}
html body[data-product-master] #contenuto .pdp-related-picture{position:relative;display:grid;place-items:center;width:100%;height:260px;min-height:0;aspect-ratio:auto;margin:0;padding:0;background:#fff;overflow:visible}
html body[data-product-master] #contenuto .pdp-related-picture>img{position:static;display:block;width:86%;height:86%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;margin:0;padding:0;transform:none;background:transparent}
html body[data-product-master] #contenuto .pdp-related-picture::before,html body[data-product-master] #contenuto .pdp-related-picture::after{content:none}
html body[data-product-master] #contenuto .pdp-related h3{font-family:ArketicomSerif,Georgia,serif;font-weight:400;font-size:20px;text-align:center;margin:20px 0 0;min-height:44px}
html body[data-product-master] #contenuto .pdp-related h3 span{color:#aaa39a}
html body[data-product-master] #contenuto .pdp-related-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin:30px 0 0}
html body[data-product-master] #contenuto .pdp-related-controls button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;background:transparent;border:1px solid #cec8bf;border-radius:50%;color:#514b43}
html body[data-product-master] #contenuto .pdp-related-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body[data-product-master] #contenuto [data-master-no-model] .pdp-config-grid{grid-template-columns:minmax(0,1fr);max-width:1120px;margin-inline:auto}
@media(max-width:1000px) and (min-width:761px){html body[data-product-master] #contenuto .pdp-related-grid{gap:40px}html body[data-product-master] #contenuto .pdp-related-grid>article{flex-basis:calc((100% - 40px)/2)}}
@media(max-width:760px){html body[data-product-master] #contenuto .nami-product-photo>img{max-height:480px}html body[data-product-master] #contenuto .pdp-gallery{padding:64px 0}html body[data-product-master] #contenuto .pdp-gallery-track>figure{flex-basis:100%;width:100%}html body[data-product-master] #contenuto .pdp-gallery-track>figure>img{object-position:var(--focal-mobile,50% 50%)}html body[data-product-master] #contenuto .pdp-gallery-track>figure::after{content:none}html body[data-product-master] #contenuto .pdp-gallery-controls{inset:64px 0;padding-inline:12px}html body[data-product-master] #contenuto .pdp-related{padding-block:56px}html body[data-product-master] #contenuto .pdp-related-grid{gap:24px;justify-content:flex-start}html body[data-product-master] #contenuto .pdp-related-grid>article{flex-basis:100%}html body[data-product-master] #contenuto .pdp-related-grid:has(>article:last-child:nth-child(-n+2)){justify-content:flex-start}html body[data-product-master] #contenuto .pdp-related-picture{height:240px}}
@media(max-width:760px){html body[data-product-master] #contenuto .pdp-hero[data-hero-crop="full-width-mobile"]{height:auto;aspect-ratio:var(--hero-mobile-ratio,4/3)}html body[data-product-master] #contenuto .pdp-hero[data-hero-crop="full-width-mobile"]>picture>img{object-fit:contain}}
html body[data-product-master] #contenuto .pdp-hero[data-hero-crop="full-width"]{height:auto;aspect-ratio:var(--hero-natural-ratio,3/2)}
html body[data-product-master] #contenuto .pdp-hero[data-hero-crop="full-width"]>picture>img{object-fit:contain}
@media(max-width:760px){html body[data-product-master] #contenuto .pdp-hero[data-hero-crop="full-width"]{aspect-ratio:var(--hero-mobile-ratio,2/3)}}
@media(prefers-reduced-motion:reduce){html body[data-product-master] #contenuto .pdp-related-grid,html body[data-product-master] #contenuto .pdp-gallery-track{scroll-behavior:auto}}

html body[data-product-master] #contenuto .pdp-gallery-track>figure>img[data-gallery-media="cutout"]{object-fit:contain}

html body[data-product-master] #contenuto .pdp-gallery-track>figure>img[data-gallery-media="studio"]{object-fit:contain}
html body[data-product-master] #contenuto .pdp-gallery-track>figure[data-gallery-framing="whole-scene"]>img{object-fit:contain}
html body[data-product-master] #contenuto .pdp-hero[data-hero-media="studio"]>img{object-fit:contain}
html body[data-product-master] #contenuto .pdp-hero[data-hero-media="studio"] h1{color:#514b43!important;text-shadow:0 1px 12px #fff}

html body[data-product-master] #contenuto .pdp-gallery[hidden]{display:none!important}

/* Editorial grid with full-frame photographs. */
html body #contenuto section.pdp-gallery[id][data-gallery-layout="full-frame-grid"] .pdp-gallery-track {height:auto!important;min-height:0!important;gap:0!important;align-items:stretch!important}
html body #contenuto section.pdp-gallery[id][data-gallery-layout="full-frame-grid"] .pdp-gallery-track>figure {height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:3/2!important;flex:0 0 50%!important;width:50%!important;align-self:stretch!important}
html body #contenuto section.pdp-gallery[id][data-gallery-layout="full-frame-grid"] .pdp-gallery-track>figure>img {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}
html body #contenuto section.pdp-gallery[id][data-gallery-layout="full-frame-grid"] .pdp-gallery-track>figure[data-gallery-framing="detail"]>img {object-fit:cover!important;object-position:var(--focal-desktop,50% 50%)!important}
@media(max-width:760px){
  html body #contenuto section.pdp-gallery[id][data-gallery-layout="full-frame-grid"] .pdp-gallery-track>figure {flex-basis:100%!important;width:100%!important}
  html body #contenuto section.pdp-gallery[id][data-gallery-layout="full-frame-grid"] .pdp-gallery-track>figure[data-gallery-framing="detail"]>img {object-position:var(--focal-mobile,50% 50%)!important}
}
/* Editorial portrait hero and native photographs. */
html body[data-product-master] #contenuto .pdp-hero[data-hero-framing="portrait"] {background:#eee9de}
html body[data-product-master] #contenuto .pdp-hero[data-hero-framing="portrait"]>img {object-fit:contain;object-position:center}
@media (max-width:760px) {
  html body[data-product-master] #contenuto .pdp-hero[data-hero-framing="portrait"] {height:auto;min-height:0;aspect-ratio:var(--hero-mobile-ratio,3/4)}
}

/* Mobile hero frame r177. */
@media (max-width:760px) {
  html body[data-mobile-hero-page] { padding-top:0 !important }
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class] {
    position:relative !important;
    box-sizing:border-box;
    display:block;
    width:100% !important;
    max-width:none !important;
    height:100svh !important;
    min-height:100svh !important;
    max-height:100svh !important;
    margin:0 !important;
    padding:0 !important;
    aspect-ratio:auto !important;
    overflow:hidden;
  }
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class] > picture,
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class] > img,
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class] > video,
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class] > picture > img {
    position:absolute !important;
    inset:0 !important;
    display:block;
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
  }
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class] > :is(img,video),
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class] > picture > img {
    object-fit:cover !important;
  }
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class] > .ambientazione-ai-credit {
    bottom:calc(84px + env(safe-area-inset-bottom, 0px));
  }
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class][data-mobile-hero="studio"] > img,
  :is(html body[data-mobile-hero-page] #contenuto, html body[data-mobile-hero-page]) [data-mobile-hero][class][data-mobile-hero="studio"] > picture > img {
    object-fit:contain !important;
    object-position:center !important;
  }
}
/* Gallery captions v03. */
/* Shared Nami gallery captions: photographs and frame dimensions are unchanged. */
html body[data-product-master] #contenuto .pdp-gallery-track>figure[data-ark-hook-scene]>figcaption {
  position:absolute;
  z-index:2;
  inset:24px auto auto 24px;
  box-sizing:border-box;
  max-width:min(42ch,calc(100% - 48px));
  margin:0;
  padding:10px 14px;
  background:#fffffff0;
  color:#514b43;
  font:400 14px/1.5 ArketicomBody,ArketicomSans,Arial,sans-serif;
  letter-spacing:normal;
  pointer-events:none;
}
@media(max-width:760px){
  html body[data-product-master] #contenuto .pdp-gallery-track>figure[data-ark-hook-scene]>figcaption {
    inset:18px auto auto 18px;
    max-width:calc(100% - 36px);
    padding:9px 12px;
  }
}

/* Full original photograph in the shared hero frame. */
html body[data-product-master] #contenuto .pdp-hero[data-hero-fit="full"] {
  background:#eee9de;
}
html body[data-product-master] #contenuto .pdp-hero[data-hero-fit="full"] > img,
html body[data-product-master] #contenuto .pdp-hero[data-hero-fit="full"] > picture > img {
  object-fit:contain!important;
  object-position:center;
}

/* Documentary motion in the shared product overview frame. */
html body[data-product-master] #contenuto .nami-product-photo > video[data-overview-motion] {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}

/* Whole-scene content framing, reusable master option: preserve the entire photograph. */
html body[data-product-master] #contenuto .pdp-hero[data-master-framing="whole-scene"]>img,
html body[data-product-master] #contenuto .pdp-hero[data-master-framing="whole-scene"]>picture>img{object-fit:contain!important;object-position:center!important}
