/* Approved G campaign. Loaded only for a live sale; existing theme rules stay intact. */
.vow-sale {
  --sale-bg: #3B4529;
  --sale-fg: #FAF8F4;
  --sale-tag-ink: #FAF8F4;
  --sale-stamp-ink: #FAF8F4;
  --sale-hang-ink: #FAF8F4;
  --sale-sub: #DADDCB;
  --sale-claims: #C3CAAB;
  --sale-rule: #6E7A55;
  --sale-edge: #3B4529;
  --sale-hole: transparent;
  --sale-eyelet: #6E7A55;
  --sale-ribbon-height: 58px;
  --sale-ribbon-font: 26px;
  --sale-tag-font: 10.5px;
  --sale-tag-pad: 6px 11px 6px 21px;
  --sale-price-font: 18px;
  --sale-h1: 76px;
  --sale-numeral: 232px;
  --sale-numeral-style: normal;
  --sale-numeral-color: #3B4529;
  --sale-hang-width: 136px;
  --sale-tilt: -2deg;
  --sale-hang-number: 50px;
  --sale-hang-off: 24px;
  --sale-hang-rule: rgb(250 248 244 / .32);
  --sale-stamp-size: 72px;
  --sale-stamp-number: 22px;
  --sale-stamp-edge: #3B4529;
  --sale-admin-top: 0px;
  /* The one ribbon-height property every offset uses; 0 when no ribbon is shown. */
  --sale-ribbon-offset: 0px;
}
.vow-sale:has(.vow-sale-ribbon) { --sale-ribbon-offset: var(--sale-ribbon-measured, var(--sale-ribbon-height)); }
.vow-sale--quiet {
  --sale-bg: #E4E7DA;
  --sale-fg: #131313;
  --sale-tag-ink: #3B4529;
  --sale-stamp-ink: #3B4529;
  --sale-hang-ink: #3B4529;
  --sale-sub: #3A3A38;
  --sale-claims: #4F5A3A;
  --sale-rule: #B9BFA6;
  --sale-edge: #D6DACB;
  --sale-hole: #9AA383;
  --sale-eyelet: #9AA383;
  --sale-ribbon-height: 52px;
  --sale-ribbon-font: 22px;
  --sale-price-font: 17px;
  --sale-h1: 64px;
  --sale-numeral: 176px;
  --sale-numeral-color: #6E7A55;
  --sale-hang-width: 128px;
  --sale-tilt: -1deg;
  --sale-hang-number: 44px;
  --sale-hang-off: 22px;
  --sale-hang-rule: #B9BFA6;
  --sale-stamp-size: 60px;
  --sale-stamp-number: 19px;
  --sale-stamp-edge: #9AA383;
}
.vow-sale--loud {
  --sale-sub: #E4E7DA;
  --sale-rule: #7D8963;
  --sale-edge: #2F3721;
  --sale-eyelet: #7D8963;
  --sale-ribbon-height: 66px;
  --sale-ribbon-font: 31px;
  --sale-tag-font: 12px;
  --sale-tag-pad: 7px 13px 7px 22px;
  --sale-price-font: 20px;
  --sale-h1: 84px;
  --sale-numeral: 292px;
  --sale-numeral-style: italic;
  --sale-hang-width: 140px;
  --sale-tilt: -3deg;
  --sale-hang-number: 56px;
  --sale-hang-off: 26px;
  --sale-hang-rule: rgb(250 248 244 / .32);
  --sale-stamp-size: 84px;
  --sale-stamp-number: 26px;
  --sale-stamp-edge: #FAF8F4;
}
.vow-sale.admin-bar { --sale-admin-top: 32px; }
.vow-sale-ribbon {
  position: sticky;
  z-index: 101;
  top: var(--sale-admin-top);
  min-height: var(--sale-ribbon-height);
  border-bottom: 1px solid var(--sale-edge);
  background: var(--sale-bg);
  color: var(--sale-fg);
}
.vow-sale:has(.vow-sale-ribbon) .site-header {
  top: calc(var(--sale-admin-top) + var(--sale-ribbon-offset));
}
/* Under the mobile nav overlay the ribbon drops beneath the header's scrim and drawer
   (the script also makes it inert), instead of sitting above them and staying clickable. */
.vow-sale.nav-open .vow-sale-ribbon { z-index: 99; }
/* Sticky and anchor offsets that clear the header also clear the pinned ribbon. */
body.vow-sale .faq-section { scroll-margin-top: calc(6rem + var(--sale-ribbon-offset)); }
body.vow-sale .certificate-section { scroll-margin-top: calc(10rem + var(--sale-ribbon-offset)); }
@media (min-width: 900px) {
  body.vow-sale .product-gallery { top: calc(7rem + var(--sale-ribbon-offset)); }
  body.vow-sale.admin-bar .product-gallery { top: calc(9rem + var(--sale-ribbon-offset)); }
}
.vow-sale-ribbon__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
  min-height: var(--sale-ribbon-height);
  align-items: center;
  gap: 24px;
  padding-block: 8px;
}
.vow-sale-ribbon p { margin: 0; }
.vow-sale-ribbon__claims {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--sale-claims);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.vow-sale-ribbon__claims .origin-glyph { width: 10px; height: 10px; }
.vow-sale-ribbon__message { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.vow-sale-ribbon__headline { font: 400 var(--sale-ribbon-font)/1.1 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.vow-sale-ribbon__support { border-left: 1px solid var(--sale-rule); padding-left: 18px; color: var(--sale-sub); font-size: 13px; line-height: 1.3; }
.vow-sale-ribbon__link { display: inline-flex; min-height: 32px; align-items: center; justify-self: end; gap: 8px; margin-right: -8px; padding-inline: 8px; color: var(--sale-fg); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.vow-sale-ribbon__link:hover { color: var(--sale-fg); }
.vow-sale-ribbon__link svg { width: 16px; height: 16px; flex: none; }
.vow-sale-end { font-size: 12px; line-height: 1.5; }
.vow-sale-ribbon .vow-sale-end { color: var(--sale-claims); font-size: 11px; }
.vow-sale-claims { display: none; }
.vow-sale-hero { position: relative; isolation: isolate; overflow: hidden; background: #F4F1EA; }
.vow-sale-hero__inner { position: relative; z-index: 1; min-height: 520px; padding-block: 58px 60px; }
.vow-sale-hero__eyebrow { margin: 0 0 22px; }
.vow-sale-hero__copy { position: relative; z-index: 2; width: 48%; }
.vow-sale-hero__copy h1 { margin: 0; font: 400 var(--sale-h1)/1.04 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.vow-sale-hero__deck { max-width: 480px; margin: 26px 0 0; color: #3A3A38; font-size: 18px; line-height: 1.55; }
.vow-sale-hero__ruo { margin: 6px 0 0; color: #6E6E66; font-size: 14px; line-height: 1.5; }
.vow-sale-hero .button-group { margin-top: 30px; }
.vow-sale-hero__numeral { position: absolute; z-index: 1; top: 40px; left: 48%; color: var(--sale-numeral-color); }
.vow-sale-hero__numeral > span { display: block; font: 300 var(--sale-numeral-style) var(--sale-numeral)/.86 var(--font-display); letter-spacing: -.05em; white-space: nowrap; font-variation-settings: 'opsz' 144; }
.vow-sale-hero__numeral sup { position: static; margin-left: .04em; font-size: .42em; vertical-align: .95em; letter-spacing: 0; }
.vow-sale-hero__numeral small { display: flex; align-items: center; gap: 14px; margin-top: 18px; color: #3B4529; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.vow-sale-hero__numeral small::before { width: 44px; height: 1px; background: var(--sale-numeral-color); content: ''; }
.vow-sale-hero__end { position: absolute; top: calc(40px + var(--sale-numeral) + 18px); left: 53%; }
.vow-sale-hero__photo { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 61%; mask-image: linear-gradient(to right, transparent, rgb(0 0 0 / .35) 30%, #000 58%); }
.vow-sale-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.vow-sale-hero + .trust-bar { margin-top: -60px; margin-bottom: 0; }
.vow-sale-tag { display: inline-flex; max-width: 100%; align-items: center; flex: none; transform: rotate(-3deg); filter: drop-shadow(0 2px 4px rgb(19 19 19 / .14)); }
.vow-sale-tag > svg { position: relative; z-index: 1; width: 18px; height: 18px; margin-right: -6px; }
.vow-sale-tag__paper { position: relative; display: inline-block; min-width: 0; padding: var(--sale-tag-pad); background: var(--sale-bg); color: var(--sale-tag-ink); clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%); font: 700 var(--sale-tag-font)/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; overflow-wrap: anywhere; }
.vow-sale-tag__paper::before { position: absolute; left: 9px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #EFE9DC; box-shadow: inset 0 0 0 1px var(--sale-hole); transform: translateY(-50%); content: ''; }
.vow-sale-tag--price { margin-left: 12px; }
.vow-sale-tag--price > svg { width: 24px; height: 22px; margin-right: -7px; }
.vow-sale-tag--price .vow-sale-tag__paper { padding: 8px 15px 8px 26px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); font: 400 var(--sale-price-font)/1.2 var(--font-display); letter-spacing: -.01em; text-transform: none; }
.vow-sale-tag--price .vow-sale-tag__paper::before { left: 11px; width: 6px; height: 6px; background: #FFF; }
.vow-sale .product-buy-card__price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.vow-sale-dock { display: contents; }
.vow-sale-hang { position: fixed; right: 18px; bottom: 30px; z-index: 90; width: var(--sale-hang-width); }
.vow-sale-hang.is-minimised { width: var(--sale-stamp-size); }
.vow-sale-hang [hidden] { display: none !important; }
.vow-sale-hang p { margin: 0; }
.vow-sale-hang__swing { position: relative; transform: rotate(var(--sale-tilt)); transform-origin: 50% 0; filter: drop-shadow(0 16px 24px rgb(19 19 19 / .16)) drop-shadow(0 2px 4px rgb(19 19 19 / .1)); }
.vow-sale-hang__string { position: absolute; top: -36px; left: 50%; margin-left: -45px; overflow: visible; }
.vow-sale-hang__paper { position: relative; padding: 40px 14px 18px; background: var(--sale-bg); color: var(--sale-fg); clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px); text-align: center; overflow-wrap: anywhere; }
.vow-sale-hang__paper::before { position: absolute; top: 13px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: #FAF8F4; box-shadow: inset 0 0 0 3px var(--sale-eyelet), inset 0 1px 3px 3px rgb(19 19 19 / .1); transform: translateX(-50%); content: ''; }
.vow-sale-hang__eyebrow { color: var(--sale-claims); font-size: 9.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.vow-sale-hang .vow-sale-hang__number { margin-top: 8px; color: var(--sale-hang-ink); font: 400 var(--sale-hang-number)/.92 var(--font-display); letter-spacing: -.035em; }
.vow-sale-hang__number sup { position: static; margin-left: 2px; font-size: .52em; vertical-align: .62em; letter-spacing: 0; }
.vow-sale-hang .vow-sale-hang__off { margin-top: 2px; color: var(--sale-hang-ink); font: italic 400 var(--sale-hang-off)/1 var(--font-display); letter-spacing: -.02em; }
.vow-sale-hang .vow-sale-hang__line { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--sale-hang-rule); color: var(--sale-sub); font-size: 12px; line-height: 1.45; }
.vow-sale-hang .vow-sale-end { display: block; margin-top: 8px; color: var(--sale-claims); font-size: 11px; }
.vow-sale-hang__link { display: block; margin: 14px -14px -18px; border-top: 1px dashed var(--sale-hang-rule); padding: 10px 8px 11px; color: var(--sale-fg); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vow-sale-hang__link:hover { color: var(--sale-fg); }
.vow-sale-hang__minimise { position: absolute; top: -14px; right: -8px; display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 1px solid #E5E2D9; border-radius: 50%; background: #FFF; color: #131313; box-shadow: 0 2px 8px rgb(19 19 19 / .12); cursor: pointer; }
.vow-sale-hang__minimise svg { width: 16px; height: 16px; }
.vow-sale-stamp { position: relative; display: flex; width: var(--sale-stamp-size); height: var(--sale-stamp-size); flex-direction: column; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--sale-stamp-edge); border-radius: 50%; background: var(--sale-bg); color: var(--sale-stamp-ink); box-shadow: 0 10px 22px rgb(19 19 19 / .18), 0 2px 4px rgb(19 19 19 / .1); font: 400 var(--sale-stamp-number)/1 var(--font-display); letter-spacing: -.03em; text-decoration: none; cursor: pointer; }
.vow-sale-stamp::before { position: absolute; inset: 4px; border: 1px dashed currentColor; border-radius: 50%; opacity: .55; content: ''; }
.vow-sale-stamp::after { position: absolute; top: 7px; left: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: #FAF8F4; box-shadow: inset 0 0 0 1.5px var(--sale-eyelet); content: ''; }
.vow-sale-stamp > span { margin-top: 6px; }
.vow-sale-stamp small { margin: 2px 0 0 .2em; font: 700 9px/1.2 var(--font-body); letter-spacing: .2em; }
.vow-sale-hang.is-blocked { visibility: hidden; pointer-events: none; }
html.vow-gate-overlay-lock .vow-sale-hang,
html.vow-ruo-notice-lock .vow-sale-hang,
body:has([data-vow-offer]:not([hidden]):not([data-state="tab"])) .vow-sale-hang { visibility: hidden; pointer-events: none; }
/* Focus: >= 3:1 in every intensity. On the campaign surfaces (ribbon, tag paper) an inset
   ring in the foreground colour, so the tag's clip-path cannot clip it. Controls on the
   page or header surface get an ink ring with a white halo that reads on light and dark. */
.vow-sale-ribbon a:focus-visible,
.vow-sale-hang__link:focus-visible { outline: 2px solid var(--sale-fg); outline-offset: -4px; }
.vow-sale-stamp:focus-visible,
.vow-sale-hang__minimise:focus-visible { outline: 2px solid var(--ink, #131313); outline-offset: 2px; box-shadow: 0 0 0 2px #FFF; }
@media (max-width: 1199px) {
  .vow-sale-ribbon__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 16px; }
  .vow-sale-ribbon__message { justify-content: flex-start; }
  .vow-sale-hang:not(.is-minimised) { bottom: 18px; }
  .vow-sale-hero__copy { width: 52%; }
  .vow-sale-hero__numeral { left: 54%; font-size: .8em; }
}
@media (max-width: 899px) {
  .vow-sale-ribbon__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .vow-sale-ribbon__claims { display: none; }
  .vow-sale-claims { display: block; }
  .vow-sale-hero__inner { min-height: 490px; padding-top: 40px; }
  .vow-sale-hero__copy h1 { font-size: calc(var(--sale-h1) * .75); }
  .vow-sale-hero__numeral > span { font-size: calc(var(--sale-numeral) * .7); }
  .vow-sale-hero__numeral { top: 70px; }
  .vow-sale-hero__end { top: 300px; left: 60%; }
}
@media (max-width: 782px) {
  .vow-sale.admin-bar { --sale-admin-top: 46px; }
}
@media (max-width: 639px) {
  .vow-sale { --sale-ribbon-height: 46px; --sale-ribbon-font: 19px; --sale-h1: 42px; --sale-numeral: 112px; --sale-price-font: 17px; --sale-stamp-size: 56px; --sale-stamp-number: 18px; }
  .vow-sale--quiet { --sale-ribbon-height: 44px; --sale-ribbon-font: 17px; --sale-h1: 40px; --sale-numeral: 96px; --sale-price-font: 16px; --sale-stamp-size: 52px; }
  .vow-sale--loud { --sale-ribbon-height: 52px; --sale-ribbon-font: 22px; --sale-h1: 44px; --sale-numeral: 128px; --sale-price-font: 19px; --sale-stamp-size: 60px; --sale-tag-font: 11.5px; --sale-tag-pad: 7px 12px 7px 22px; }
  .vow-sale-ribbon__inner { padding: 0 16px 0 20px; gap: 10px; }
  .vow-sale-ribbon__message { min-width: 0; gap: 4px; padding-block: 8px; }
  .vow-sale-ribbon__headline { overflow-wrap: anywhere; }
  .vow-sale-ribbon__support { display: none; }
  .vow-sale-ribbon__link { max-width: 40vw; min-height: 44px; gap: 6px; font-size: 12px; overflow-wrap: anywhere; }
  .vow-sale-ribbon .vow-sale-end { flex-basis: 100%; font-size: 10px; }
  .vow-sale-claims { display: block; min-height: 30px; }
  .vow-sale-claims .announcement-bar__text { gap: 8px; font-size: 10px; letter-spacing: .1em; }
  .vow-sale-hero__inner { display: flex; min-height: 0; flex-direction: column; padding: 22px 20px 0; }
  .vow-sale-hero__eyebrow { margin: 0; }
  .vow-sale-hero__numeral { position: static; display: flex; align-items: flex-end; gap: 14px; margin-top: 12px; }
  .vow-sale-hero__numeral > span { font-size: var(--sale-numeral); line-height: .84; }
  .vow-sale-hero__numeral small { display: block; max-width: 72px; margin: 0 0 6px; font-size: 10px; line-height: 1.5; }
  .vow-sale-hero__numeral small::before { display: block; width: 28px; margin-bottom: 8px; }
  .vow-sale-hero__copy { width: 100%; margin-top: 16px; }
  .vow-sale-hero__copy h1 { font-size: var(--sale-h1); }
  .vow-sale-hero__deck { margin-top: 12px; font-size: 15.5px; line-height: 1.5; }
  .vow-sale-hero__ruo { margin-top: 4px; font-size: 12.5px; }
  .vow-sale-hero .button-group { margin-top: 18px; }
  .vow-sale-hero .button--primary { width: 100%; min-height: 52px; justify-content: center; }
  .vow-sale-hero .button--secondary { display: none; }
  .vow-sale-hero__end { position: static; margin-top: 10px; }
  .vow-sale-hero__photo { position: relative; width: 100%; height: 150px; margin-top: 12px; mask-image: linear-gradient(to bottom, transparent, #000 40%); }
  .vow-sale-hero__photo img { object-position: 72% 55%; }
  .vow-sale-hero + .trust-bar { margin-top: -32px; }
  .vow-sale-hang { right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); width: var(--sale-stamp-size); }
  .vow-sale-hang__panel { width: var(--sale-hang-width); margin-left: calc(var(--sale-stamp-size) - var(--sale-hang-width)); }
  .vow-sale-stamp small { font-size: 8px; }
  .vow-sale .site-header__inner { gap: 8px; }
}
/* Purchase pages (product/cart/checkout) below 1280px: a floating tag would cross the
   buy column, so the stamp docks in the header (the script moves it into the dock). */
@media (max-width: 1279px) {
  .vow-sale-dock { display: block; order: 1; flex: none; }
  .vow-sale-dock .vow-sale-hang { position: relative; right: auto; bottom: auto; width: 44px; }
  .vow-sale-dock .vow-sale-stamp { width: 44px; height: 44px; font-size: 15px; box-shadow: none; }
  .vow-sale-dock .vow-sale-stamp small { font-size: 7px; }
  .vow-sale-dock .vow-sale-hang__panel { position: absolute; top: calc(100% + 12px); right: 0; width: var(--sale-hang-width); max-height: calc(100dvh - 180px); overflow-y: auto; margin: 0; }
  .vow-sale-dock .vow-sale-hang__string { display: none; }
  .vow-sale-dock .vow-sale-hang__minimise { top: 0; right: 0; }
  /* Opening a docked tag grows the header instead of covering purchase controls. */
  .vow-sale .site-header:has(.vow-sale-dock [data-sale-panel]:not([hidden])) { padding-bottom: calc(var(--sale-panel-height, 290px) + 12px); }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .vow-sale-dock { margin-left: 4px; }
  /* Auto margins keep the nav centred and the stamp beside the header actions. */
  .vow-sale:has(.vow-sale-dock) .primary-nav { margin-inline: auto; }
}
@media (max-width: 899px) {
  .vow-sale-dock { order: 0; margin-left: auto; }
  .vow-sale:has(.vow-sale-dock) .nav-toggle { margin-left: 0; }
}
@media (max-width: 600px) {
  .vow-sale.admin-bar { --sale-admin-top: 0px; }
}
@media (prefers-reduced-motion: reduce) {
  .vow-sale-hang *, .vow-sale-ribbon { animation: none !important; transition: none !important; }
}
