/* CAPARI V6 — official PDF-derived brand assets in onboarding, header and footer.
   Intentional upper-left diagonal lockup overlapping header and hero.
   No catalogue, ordering or scroll choreography changes. */

body.capari-logo-system .shell-header {
  position:relative!important;
  overflow:visible!important;
  z-index:85!important;
}
body.capari-logo-system .shell-header .capari-logo-anchor {
  position:absolute!important;
  left:clamp(16px,2.5vw,46px)!important;
  top:6px!important;
  z-index:105!important;
  width:clamp(320px,27vw,430px)!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  transform:translate3d(0,16px,0) rotate(-7deg)!important;
  transform-origin:15% 25%;
  filter:drop-shadow(2px 5px 2px rgba(37,23,15,.09));
  transition:transform .25s ease;
}
body.capari-logo-system .shell-header .capari-logo-anchor:hover {
  transform:translate3d(0,13px,0) rotate(-5deg)!important;
}
body.capari-logo-system .shell-header .capari-header-official-logo {
  display:block;width:100%;height:auto;object-fit:contain;
}
@media (min-width:921px){
  body.capari-logo-system .shell-header {
    grid-template-columns:minmax(340px,1fr) auto minmax(245px,1fr)!important;
    column-gap:clamp(12px,1.9vw,32px)!important;
  }
  body.capari-logo-system .shell-header:before {
    content:"";grid-column:1;grid-row:1;
    display:block;pointer-events:none;
  }
  body.capari-logo-system .shell-header .shell-header-center {
    grid-column:2;grid-row:1;
  }
  body.capari-logo-system .shell-header .shell-header-actions {
    grid-column:3;grid-row:1;
  }
  body.capari-logo-system .tavola-hero .hero-editorial-opening {
    padding-top:30px!important;
  }
  body.capari-logo-system .hero-editorial-opening__left {
    visibility:hidden; /* replaced by the large official lockup */
  }
}
@media (min-width:921px) and (max-width:1190px){
  body.capari-logo-system .shell-header {
    grid-template-columns:minmax(260px,1fr) auto minmax(200px,1fr)!important;
    gap:9px!important;
  }
  body.capari-logo-system .shell-header .capari-logo-anchor {
    width:clamp(265px,29vw,350px)!important;
    left:16px!important;
  }
  body.capari-logo-system .shell-header .shell-nav {gap:12px!important}
  body.capari-logo-system .shell-header .shell-nav-overline {display:none!important}
  body.capari-logo-system .shell-header .shell-nav a {font-size:10px!important}
  body.capari-logo-system .shell-header .shell-header-message {display:none!important}
}
@media (max-width:920px){
  body.capari-logo-system .shell-header {
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    padding-left:12px!important;padding-right:18px!important;
    min-height:83px!important;height:83px!important;
  }
  body.capari-logo-system .shell-header .shell-header-center {display:none!important}
  body.capari-logo-system .shell-header .capari-logo-anchor {
    width:clamp(230px,36vw,320px)!important;
    left:12px!important;top:6px!important;
    transform:translate3d(0,11px,0) rotate(-7deg)!important;
  }
  body.capari-logo-system .shell-header .shell-header-actions {margin-left:auto!important}
  body.capari-logo-system .shell-header .shell-mobile-menu {margin-left:12px!important}
}
@media (max-width:620px){
  body.capari-logo-system .shell-header {
    height:77px!important;min-height:77px!important;
    padding:0 12px!important;
  }
  body.capari-logo-system .shell-header .capari-logo-anchor {
    left:7px!important;top:6px!important;
    width:clamp(194px,59vw,258px)!important;
    transform:translate3d(0,8px,0) rotate(-7deg)!important;
  }
  body.capari-logo-system .shell-header .shell-header-actions {gap:4px!important}
  body.capari-logo-system .shell-header .shell-cart {
    padding:5px 3px!important;gap:5px!important;
  }
  body.capari-logo-system .shell-header .shell-mobile-menu {
    margin-left:6px!important;font-size:9px!important;
  }
  body.capari-logo-system .tavola-hero .hero-editorial-opening {
    padding-top:20px!important;
  }
  body.capari-logo-system .hero-editorial-opening__left {visibility:hidden}
}
@media (max-width:360px){
  body.capari-logo-system .shell-header .capari-logo-anchor {
    width:174px!important;left:5px!important;top:13px!important;transform:translate3d(0,16px,0) rotate(-7deg)!important;
  }
  body.capari-logo-system .shell-header .shell-cart {
    font-size:8px!important;
  }
}
body.capari-logo-system .tavola-onboarding-center {
  width:min(100%,1100px);
  padding:clamp(18px,4vw,50px);
  gap:18px;
}
body.capari-logo-system .capari-onboarding-official-logo {
  width:min(84vw,930px);
  height:auto;
  max-height:42vh;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 12px 17px rgba(40,20,17,.23));
  transform:rotate(-3deg);
}
body.capari-logo-system .tavola-onboarding-center .intro-prelabel {
  font-size:11px;letter-spacing:.31em;opacity:.93;
}
body.capari-logo-system .tavola-onboarding-center .intro-tagline {
  margin-top:13px;
}
body.capari-logo-system .tavola-onboarding-grid {opacity:.055!important}
@media (max-width:620px){
  body.capari-logo-system .capari-onboarding-official-logo {
    width:92vw;max-height:28svh;transform:rotate(-3deg);
  }
  body.capari-logo-system .tavola-onboarding-center .intro-prelabel {font-size:9px}
  body.capari-logo-system .tavola-onboarding-center .intro-tagline {font-size:17px}
}
body.capari-logo-system .capari-footer-official-logo {
  display:block;
  width:min(94%,360px);
  height:auto;
  margin:24px 0 18px;
  object-fit:contain;
  filter:drop-shadow(0 4px 4px #05030226);
}
body.capari-logo-system .shell-footer-identity .shell-footer-stamp {display:none!important}
body.capari-logo-system .shell-footer-identity h2 {margin-top:16px!important}
body.capari-logo-system .shell-footer-giant.capari-footer-watermark {
  display:flex!important;
  align-items:center;justify-content:center;
  width:100%;height:auto!important;
  margin:-12px auto -9px!important;
  padding:0 clamp(20px,3vw,90px)!important;
  line-height:normal!important;
  overflow:hidden;
  pointer-events:none;
}
body.capari-logo-system .shell-footer-giant.capari-footer-watermark img{
  display:block;
  width:min(100%,1100px);
  height:auto;
  max-width:none;
  opacity:.11;
  transform:rotate(-4deg);
}
@media (max-width:620px){
  body.capari-logo-system .capari-footer-official-logo {
    width:min(90%,320px);margin:20px 0 15px;
  }
  body.capari-logo-system .shell-footer-giant.capari-footer-watermark {
    margin:5px auto 12px!important;
    padding:0 14px!important;
  }
  body.capari-logo-system .shell-footer-giant.capari-footer-watermark img {width:100%;opacity:.10}
}
@media(prefers-reduced-motion:reduce){
  body.capari-logo-system .capari-logo-anchor {transition:none!important}
}
