/* Velatmos — slim commerce announcement under fixed site nav */
.vl-commerce-bar {
  --vl-bar-ink: #1f2e26;
  --vl-bar-muted: #31433a;
  --vl-bar-accent: #143528;
  --vl-bar-line: rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 8rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(20, 40, 30, 0.18);
  background: linear-gradient(105deg, #2a4638 0%, #23402f 48%, #3a5244 100%);
  color: #f4f7f4;
  box-shadow: 0 6px 18px rgba(20, 32, 24, 0.12);
  opacity: 1;
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    border-width 0.35s ease,
    box-shadow 0.35s ease;
}

.vl-commerce-bar.is-collapsed {
  max-height: 0;
  opacity: 0;
  border-top-width: 0;
  border-bottom-width: 0;
  box-shadow: none;
  pointer-events: none;
}

.vl-commerce-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 0.52rem 2.4rem 0.56rem clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.vl-commerce-bar__dismiss {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(244, 247, 244, 0.92);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, color 0.18s ease;
}

.vl-commerce-bar__dismiss:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.vl-commerce-bar__dismiss:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.vl-commerce-bar__mark {
  flex: 0 0 auto;
  font-size: 0.55rem;
  color: #c5d6c8;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(-0.5px);
}

.vl-commerce-bar__text {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.7rem, 0.2vw + 0.66rem, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.45;
  color: rgba(244, 247, 244, 0.92);
}

.vl-commerce-bar__text strong {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.vl-commerce-bar__price {
  display: inline-block;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  transform-origin: center;
}

.vl-commerce-bar__sep {
  display: inline-block;
  margin: 0 0.35em;
  color: rgba(244, 247, 244, 0.45);
  font-weight: 400;
}

.vl-commerce-bar__link {
  flex: 0 0 auto;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.vl-commerce-bar__link:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* Keep bar with fixed nav stack */
.site-nav-premium .vl-commerce-bar {
  margin: 0;
}

@media (max-width: 768px) {
  .vl-commerce-bar__inner {
    padding-right: 2.1rem;
  }

  /* First-paint attention: slide in + soft brighten, then settle before auto-hide */
  @keyframes vl-bar-notice {
    0% {
      transform: translateY(-10px);
      opacity: 0.35;
      box-shadow: 0 0 0 transparent;
    }
    22% {
      transform: translateY(0);
      opacity: 1;
      box-shadow:
        0 10px 26px rgba(20, 32, 24, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.38);
      background: linear-gradient(105deg, #355844 0%, #2d4d3a 48%, #4a6554 100%);
    }
    48% {
      box-shadow: 0 6px 18px rgba(20, 32, 24, 0.14);
      background: linear-gradient(105deg, #2a4638 0%, #23402f 48%, #3a5244 100%);
    }
    72% {
      box-shadow:
        0 8px 22px rgba(20, 32, 24, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.28);
      background: linear-gradient(105deg, #325440 0%, #2a4936 48%, #445f4e 100%);
    }
    100% {
      transform: translateY(0);
      opacity: 1;
      box-shadow: 0 6px 18px rgba(20, 32, 24, 0.12);
      background: linear-gradient(105deg, #2a4638 0%, #23402f 48%, #3a5244 100%);
    }
  }

  @keyframes vl-price-notice {
    0%,
    100% {
      transform: scale(1);
      color: #ffffff;
      text-shadow: none;
    }
    28% {
      transform: scale(1.14);
      color: #f4ead0;
      text-shadow: 0 0 12px rgba(244, 234, 208, 0.45);
    }
    52% {
      transform: scale(1);
      color: #ffffff;
      text-shadow: none;
    }
    78% {
      transform: scale(1.1);
      color: #f4ead0;
      text-shadow: 0 0 10px rgba(244, 234, 208, 0.35);
    }
  }

  .vl-commerce-bar.is-noticing:not(.is-collapsed) {
    animation: vl-bar-notice 1.4s ease-out both;
  }

  .vl-commerce-bar.is-noticing:not(.is-collapsed) .vl-commerce-bar__price {
    animation: vl-price-notice 1.4s ease-out both;
  }
}

@media (max-width: 640px) {
  .vl-commerce-bar__inner {
    gap: 0.3rem 0.7rem;
    padding-top: 0.46rem;
    padding-bottom: 0.5rem;
    padding-right: 2.1rem;
  }

  .vl-commerce-bar__mark {
    display: none;
  }

  .vl-commerce-bar__text {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
  }

  .vl-commerce-bar__sep {
    margin: 0 0.25em;
  }

  .vl-commerce-bar__link {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    padding: 0.24rem 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vl-commerce-bar {
    transition: none;
  }

  .vl-commerce-bar.is-noticing:not(.is-collapsed),
  .vl-commerce-bar.is-noticing:not(.is-collapsed) .vl-commerce-bar__price {
    animation: none;
  }

  .header-mobile-nav-pill--guide.is-receiving,
  .vl-commerce-fly {
    animation: none !important;
    transition: none !important;
  }
}

/* —— Order Guide bottom sheet —— */
.vl-order-guide-sheet {
  position: fixed;
  inset: 0;
  z-index: 5200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.vl-order-guide-sheet:not([hidden]) {
  pointer-events: auto;
}

.vl-order-guide-sheet[hidden] {
  display: none !important;
}

.vl-order-guide-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 30, 26, 0.42);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.vl-order-guide-sheet.is-open .vl-order-guide-sheet__backdrop {
  opacity: 1;
}

.vl-order-guide-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: min(78vh, 36rem);
  margin: 0;
  padding: 0.55rem 1.1rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
  border-radius: 1.15rem 1.15rem 0 0;
  background: linear-gradient(180deg, #fbfaf7 0%, #f4f1ea 100%);
  color: #2a2520;
  box-shadow: 0 -12px 40px rgba(24, 28, 22, 0.22);
  transform: translateY(108%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.vl-order-guide-sheet.is-open .vl-order-guide-sheet__panel {
  transform: translateY(0);
}

.vl-order-guide-sheet__grab {
  width: 2.4rem;
  height: 0.28rem;
  margin: 0.15rem auto 0.75rem;
  border-radius: 999px;
  background: rgba(42, 37, 32, 0.18);
}

.vl-order-guide-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.vl-order-guide-sheet__title {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #24372d;
}

.vl-order-guide-sheet__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 55, 45, 0.08);
  color: #24372d;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.vl-order-guide-sheet__section {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 55, 45, 0.08);
}

.vl-order-guide-sheet__section h3 {
  margin: 0 0 0.45rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2a5a3d;
}

.vl-order-guide-sheet__section ul {
  margin: 0;
  padding-left: 1.05rem;
}

.vl-order-guide-sheet__section li {
  margin: 0.28rem 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(42, 37, 32, 0.88);
}

.vl-order-guide-sheet__section strong {
  color: #1e4630;
  font-weight: 700;
}

.vl-order-guide-sheet__foot {
  margin: 0.35rem 0 0.2rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(42, 37, 32, 0.68);
}

.vl-order-guide-sheet__foot a {
  color: #2a5a3d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Flying chip from announce bar → Order Guide pill */
.vl-commerce-fly {
  position: fixed;
  z-index: 5600;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(105deg, #2a4638 0%, #355844 100%);
  color: #f4ead0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(20, 32, 24, 0.28);
  will-change: left, top, width, height, opacity, border-radius;
  transition:
    left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    border-radius 0.55s ease,
    font-size 0.55s ease;
}
