/* VIVILIV .416.5.18 — stable gold CTA: upper no arrow, lower native arrow.
   Each style is scoped to the private-preview body class; no customer-site changes.
   Do not animate CTA entry: server HTML reserves its final space on first paint. */
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .wp-block-uagb-buttons-child.vvcat-home-cta-preview-hero,
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .wp-block-uagb-buttons-child.vvcat-home-cta-call {
  opacity:1!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
}

/* The phone remains a normal dark-green button, despite old nth-child(3)
   rules painting the THIRD button gold. The third is now Catering. */
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .wp-block-uagb-buttons-child.vvcat-home-cta-call a.uagb-buttons-repeater.wp-block-button__link {
  color:#f7f4ea!important;
  background:linear-gradient(180deg,#17412a,#0a2117)!important;
  border-color:#d8b24a!important;
  box-shadow:0 9px 22px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.09)!important;
}
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .wp-block-uagb-buttons-child.vvcat-home-cta-call a.uagb-buttons-repeater.wp-block-button__link::before {
  content:''!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b24a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.8v3a2 2 0 0 1-2.2 2 19 19 0 0 1-8.2-2.9 18.6 18.6 0 0 1-5.7-5.7A19 19 0 0 1 3 5 2 2 0 0 1 5 2.8h3a2 2 0 0 1 2 1.7l.5 2.8a2 2 0 0 1-.6 1.7L8.4 10.5a15 15 0 0 0 5.1 5.1l1.5-1.5a2 2 0 0 1 1.7-.6l2.8.5a2 2 0 0 1 1.5 1.9z'/%3E%3C/svg%3E")!important;
  background-position:center center!important;
  background-size:23px 23px!important;
  filter:none!important;
  opacity:1!important;
}

@keyframes vvcatGoldSheen {
  0%,9% {transform:translateX(-260%) skewX(-19deg);opacity:0;}
  15% {opacity:.8;}
  57% {transform:translateX(490%) skewX(-19deg);opacity:.65;}
  63%,100% {transform:translateX(490%) skewX(-19deg);opacity:0;}
}

/* The link grid reserves the same label alignment as neighboring buttons.
   The upper CTA has no arrow; the lower has a dedicated arrow span. */
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .wp-block-uagb-buttons-child.vvcat-home-cta-preview-hero a.uagb-buttons-repeater.wp-block-button__link,
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .wp-block-uagb-buttons-child.vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link {
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:27px minmax(0,1fr) 24px!important;
  align-items:center!important;
  justify-items:center!important;
  column-gap:10px!important;
  padding:12px 15px!important;
  color:#251703!important;
  background-image:linear-gradient(107deg,#bc851c 0%,#fbe8ad 16%,#d9aa40 28%,#fff0bf 39%,#c18c21 56%,#f4d077 71%,#fff3c8 83%,#b98220 100%)!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  border:2px solid #f8df9d!important;
  box-shadow:0 8px 22px rgba(0,0,0,.36),0 0 15px rgba(219,175,70,.27),inset 0 1px 0 rgba(255,248,222,.65)!important;
  animation:none!important;
  transition:box-shadow .2s ease,border-color .2s ease!important;
}
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .wp-block-uagb-buttons-child.vvcat-home-cta-preview-hero a.uagb-buttons-repeater.wp-block-button__link::before,
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .wp-block-uagb-buttons-child.vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link::before {
  content:''!important;
  display:block!important;
  position:relative!important;
  z-index:2!important;
  grid-column:1!important;
  justify-self:center!important;
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  margin:0!important;
  padding:0!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23251703' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18M8 14h3M8 17h3'/%3E%3C/svg%3E")!important;
  background-position:center center!important;
  background-size:contain!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
}
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .vvcat-home-cta-preview-hero .uagb-button__link,
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .vvcat-home-cta-preview-lower .uagb-button__link {
  position:relative!important;
  z-index:2!important;
  display:block!important;
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#251703!important;
  text-align:center!important;
  white-space:nowrap!important;
  line-height:1.15!important;
  background:transparent!important;
}
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .vvcat-home-cta-preview-lower .uagb-button__link::before,
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .vvcat-home-cta-preview-lower .uagb-button__link::after {
  content:none!important;
  display:none!important;
}
/* Travelling gold highlight; ::after is exclusively the sheen. */
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .vvcat-home-cta-preview-hero a.uagb-buttons-repeater.wp-block-button__link::after,
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link::after {
  content:''!important;
  position:absolute!important;
  z-index:1!important;
  display:block!important;
  top:-60%!important;
  bottom:auto!important;
  left:-30%!important;
  right:auto!important;
  width:34%!important;
  height:220%!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(90deg,rgba(255,246,211,0),rgba(255,255,239,.76),rgba(255,246,211,0))!important;
  box-shadow:none!important;
  pointer-events:none!important;
  opacity:0;
  animation:vvcatGoldSheen 5.6s ease-in-out infinite!important;
}
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .vvcat-home-cta-preview-hero a.uagb-buttons-repeater.wp-block-button__link:hover,
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link:hover {
  border-color:#fff0c1!important;
  box-shadow:0 12px 26px rgba(0,0,0,.42),0 0 25px rgba(239,204,118,.47)!important;
  transform:none!important;
}
body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
 .vvcat-home-cta-preview-hero a:focus-visible,
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .skomp-right
 .vvcat-home-cta-preview-lower a:focus-visible {
  outline:3px solid #fff7d4!important;
  outline-offset:3px!important;
}
/* Preserve main CTA row on desktop. Do not globally resize unrelated buttons. */
@media(min-width:1025px) {
  body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
   .uagb-buttons__wrap {flex-wrap:nowrap!important;gap:12px!important;}
  body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
   .wp-block-uagb-buttons-child {min-width:0!important;}
}
@media(min-width:768px) and (max-width:1024px) {
  body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
   .uagb-buttons__wrap {flex-wrap:wrap!important;gap:10px!important;}
}
@media(max-width:767px) {
  body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
   .vvcat-home-cta-preview-hero a.uagb-buttons-repeater.wp-block-button__link,
  body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .skomp-right
   .vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link {
    grid-template-columns:24px minmax(0,1fr) 22px!important;
    column-gap:8px!important;
    padding:12px 14px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
   .vvcat-home-cta-preview-hero a.uagb-buttons-repeater.wp-block-button__link,
  body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .skomp-right
   .vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link,
  body.home.vvcat-home-cta-private-preview .viviliv-hero-v3 .hero-content
   .vvcat-home-cta-preview-hero a.uagb-buttons-repeater.wp-block-button__link::after,
  body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .skomp-right
   .vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link::after {
    animation:none!important;
  }
}
.vvcat-cta-private-notice {
  position:fixed!important;left:12px!important;bottom:12px!important;z-index:99999!important;
  max-width:calc(100vw - 24px)!important;padding:8px 12px!important;
  font:700 12px/1.3 Arial,sans-serif!important;color:#06150d!important;
  background:#f3d77a!important;border:1px solid #b99738!important;
  border-radius:8px!important;box-shadow:0 2px 14px rgba(0,0,0,.25)!important;
  pointer-events:none!important;
}


/* .416.5.17 — MATCH native lower CTA's text/icon tracks and label placement.
   LIVE Spectra lower buttons use 42px/text/24px desktop tracks, 14px gap,
   18px 26px padding and start-aligned text. Keep the gold paint and sheen;
   only geometry/typography is synchronized with Menu dnia / Pełne menu. */
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .vvcat-home-cta-preview-lower .uagb-button__link {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:left!important;
  line-height:1.05!important;
}
@media(min-width:1025px) {
 body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
  .wp-block-uagb-buttons-child.vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link {
   grid-template-columns:42px minmax(0,1fr) 24px!important;
   column-gap:14px!important;
   padding:18px 26px!important;
   justify-items:normal!important;
 }
 body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
  .wp-block-uagb-buttons-child.vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link::before {
   width:28px!important;
   min-width:28px!important;
   height:28px!important;
   justify-self:start!important;
 }
}

/* Native lower buttons center their labels on mobile/tablet. Mirror that layout. */
@media(max-width:1024px) {
 body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
  .vvcat-home-cta-preview-lower .uagb-button__link {
   text-align:center!important;
   justify-content:center!important;
 }
}

/* .416.5.18 — ONLY the lower Catering CTA has a right arrow.
   Native buttons above have their arrow on the third track.
   Our CSS sheen already occupies ::after, so use a real non-interactive span. */
body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
 .vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link > .vvcat-lower-arrow {
  position:relative!important;
  display:flex!important;
  grid-column:3!important;
  grid-row:1!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:center!important;
  z-index:3!important;
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  margin:0!important;
  padding:0!important;
  color:#251703!important;
  background:transparent!important;
  font:400 20px/1 Arial,sans-serif!important;
  opacity:1!important;
  transform:none!important;
  animation:none!important;
  pointer-events:none!important;
}
@media(max-width:767px){
 body.home.vvcat-home-cta-private-preview .viviliv-menu-builder .menu-builder-card .skomp-right
  .vvcat-home-cta-preview-lower a.uagb-buttons-repeater.wp-block-button__link > .vvcat-lower-arrow {
   width:22px!important; min-width:22px!important; height:22px!important;
 }
}
