/*
 * Additions for the .net storefront that the compiled live stylesheet (site.css)
 * cannot provide. Live class names and tokens are reused; nothing here restyles
 * live components. Keep this file small.
 */

/* Add-to-cart notices (the live site positions them with a toast library). */
.vf-toast-region {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  width: min(420px, calc(100vw - 32px));
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.vf-toast-region .product-cart-notice {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(32 18 32 / 20%);
  pointer-events: auto;
}
.vf-toast-region .product-cart-notice__content {
  display: flex;
}
.vf-toast-region .product-cart-notice__close {
  background: transparent;
  border: 0;
}
@media (max-width: 767px) {
  .vf-toast-region {
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/* Footer social links (owner listing profiles). */
.footer-grid .footer-social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  color: rgb(255 255 255 / 78%);
}
.footer-social a:hover {
  color: var(--champagne);
  border-color: var(--champagne);
}

/* Local newsletter consent form (replaces the live Omnisend iframe). */
.vf-newsletter__form {
  max-width: 640px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
  font-family: var(--font-utility);
}
.vf-newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: #fff;
}
.vf-newsletter__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.vf-newsletter__row input {
  min-height: 46px;
  padding: 10px 14px;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.vf-newsletter__row input:focus-visible {
  border-color: var(--champagne);
}
.vf-newsletter__row .button--primary {
  border-color: var(--champagne);
  background: var(--champagne);
  color: var(--plum-deep);
}
.vf-newsletter__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: rgb(255 255 255 / 85%);
}
.vf-newsletter__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--champagne);
}
.vf-newsletter__note,
.vf-newsletter__status {
  font-size: 12px;
  line-height: 1.5;
  color: rgb(255 255 255 / 70%);
}
.vf-newsletter__status:empty {
  display: none;
}
@media (max-width: 620px) {
  .vf-newsletter__row {
    grid-template-columns: 1fr;
  }
}

/* The same form on light surfaces (landing page, /newsletter/). */
.vf-landing {
  max-width: 780px;
  padding-block: clamp(28px, 5vw, 64px);
}
.vf-landing__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 24px;
}
.vf-landing__links {
  text-align: center;
  font-size: 1rem;
  margin-top: 24px;
}
.vf-landing .footer-signup,
.info-section .vf-newsletter__form {
  border-bottom: 0;
}
.vf-landing .vf-newsletter__title,
.vf-landing .vf-newsletter__consent,
.vf-landing .vf-newsletter__note,
.vf-landing .vf-newsletter__status,
.info-section .vf-newsletter__consent,
.info-section .vf-newsletter__note {
  color: var(--ink);
}
.vf-landing .footer-signup__link {
  color: var(--plum);
}
.vf-newsletter__form--page input[type="email"] {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--input);
  border-radius: 7px;
  font-size: 16px;
}

/* Cookie notice: this build sets essential cookies only, so the footer button opens an explanation. */
.vf-cookie-notice .marketing-cookie-choice__actions button {
  display: inline-flex;
}

/* Site menu fallback for browsers without the Popover API. */
.site-menu-sheet.vf-menu-fallback:not([hidden]) {
  z-index: 1000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  box-shadow: 0 0 0 100vmax rgb(24 13 22 / 48%);
}

/* Free tea sample hero: the live next/image "fill" places the photo absolutely inside its frame. */
.sample-offer__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* P31 browse-only/synthetic checkout notice, in normal flow below the header. */
.site-notice { margin: 0; padding: 12px 16px; background: #edf2f1; color: #381c33; font-size: 13px; text-align: center; }
