/* Mini cart, cart page, shop grid and delivery-country step for the custom storefront. */
:root {
  --store-cream: #fef7ee;
  --store-card: #fffaf3;
  --store-sand: #efe7da;
  --store-forest: #2e3d27;
  --store-forest-hover: #3d5134;
  --store-line: #e3d8c7;
  --store-muted: #6f6458;
  --store-pink: #f3c1cd;
  --store-leaf: #dce9c9;
}
.store-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--store-forest); color: var(--store-cream);
  font: 600 1rem/1.2 "DM Sans", sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.store-button:hover { background: var(--store-forest-hover); }
.store-button:active { transform: translateY(1px); }
.store-button:disabled { opacity: .5; cursor: not-allowed; }
.store-button--wide { width: 100%; }
.store-link { color: var(--store-forest); font-weight: 500; text-underline-offset: 3px; }
.store-link:hover { text-decoration-thickness: 2px; }

/* Lines shared by the mini cart and the cart page */
.store-lines { list-style: none; margin: 0; padding: 0; }
.store-line {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--store-line);
}
.store-line:first-child { padding-top: 4px; }
.store-line__image {
  display: block; width: 84px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--store-sand);
}
.store-line__image img { width: 100%; height: 100%; object-fit: contain; }
.store-line__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-line__name { color: var(--store-forest); font-weight: 600; line-height: 1.3; text-decoration: none; }
.store-line__name:hover { text-decoration: underline; }
.store-line__variant { color: var(--store-muted); font-size: .875rem; }
.store-line__price { font-size: .95rem; color: var(--store-forest); }
.store-line__price s { color: var(--store-muted); margin-right: .25em; }
.store-line__total { color: var(--store-forest); font-size: 1rem; white-space: nowrap; }
.store-line--unavailable .store-line__image { opacity: .5; }
.store-line--unavailable .store-line__price { color: #a14a3b; }
.store-line__controls { display: flex; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.store-stepper {
  display: inline-flex; align-items: center; border: 1px solid var(--store-line); border-radius: 999px; background: #fff;
}
.store-stepper__button {
  width: 36px; height: 36px; border: 0; background: none; color: var(--store-forest);
  font-size: 1.15rem; line-height: 1; cursor: pointer; border-radius: 999px;
}
.store-stepper__button:hover:not(:disabled) { background: var(--store-sand); }
.store-stepper__button:disabled { opacity: .35; cursor: not-allowed; }
.store-stepper__value { min-width: 26px; text-align: center; font-weight: 600; color: var(--store-forest); }
.store-line__remove {
  border: 0; background: none; padding: 0; color: var(--store-muted); font: inherit; font-size: .875rem;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.store-line__remove:hover { color: var(--store-forest); }

/* Free-gift progress bar */
.store-gift {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 16px; background: #fff6df; border: 1px solid #f1dca8; color: var(--store-forest);
}
.store-gift--reached { background: var(--store-leaf); border-color: #c7dbb0; }
.store-gift__text { margin: 0 0 8px; font-size: .925rem; line-height: 1.4; }
.store-gift__track { height: 8px; border-radius: 999px; background: rgba(46, 61, 39, .12); overflow: hidden; }
.store-gift__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f1bc4d, #e98aa4); transition: width .4s ease; }
.store-gift--reached .store-gift__fill { background: var(--store-forest); }
.store-gift__note { margin: 8px 0 0; font-size: .8rem; color: var(--store-muted); line-height: 1.35; }
.store-cart-page .store-gift-slot { max-width: 680px; }

/* Complete-the-pair suggestion */
.store-pair {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  margin: 18px 0 4px; padding: 12px; border: 1.5px dashed #e7a9b8; border-radius: 18px;
  background: #fdf0f2; color: var(--store-forest); text-decoration: none;
}
.store-pair img { grid-row: span 2; width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; }
.store-pair__text { display: flex; flex-direction: column; line-height: 1.3; }
.store-pair__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b14d6a; }
.store-pair__name { font-weight: 600; }
.store-pair__price { font-size: .875rem; color: var(--store-muted); }
.store-pair__cta { font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.store-pair:hover { background: #fbe6ea; }

/* Summary */
.store-summary__title { font-family: "Cal Sans", sans-serif; font-weight: 400; font-size: 1.5rem; margin: 0 0 16px; color: var(--store-forest); }
.store-summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.05rem; color: var(--store-forest); }
.store-summary__row strong { font-size: 1.2rem; }
.store-summary__note { margin: 6px 0 16px; color: var(--store-muted); font-size: .875rem; }
.store-summary__view { display: block; margin-top: 12px; text-align: center; }
.store-summary__feedback { margin: 10px 0 0; font-size: .875rem; color: var(--store-muted); }
.store-summary__feedback:empty { display: none; }
.store-trust { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--store-line); display: grid; gap: 8px; }
.store-trust li { position: relative; padding-left: 26px; font-size: .875rem; color: var(--store-forest); line-height: 1.4; }
.store-trust li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--store-leaf); color: var(--store-forest); font-size: .7rem; font-weight: 700; text-align: center; line-height: 18px;
}

/* Empty and status messages */
.store-cart__empty { text-align: center; padding: 28px 8px; color: var(--store-forest); }
.store-cart__empty img { width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 50%; }
.store-cart__empty-title { font-family: "Cal Sans", sans-serif; font-size: 1.5rem; margin: 0 0 4px; }
.store-cart__empty p { margin: 0 0 18px; color: var(--store-muted); }
.store-cart__empty .store-button { margin-top: 4px; }
.store-cart__added {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--store-leaf);
  color: var(--store-forest); font-weight: 600; font-size: .925rem;
}
.store-cart__message, .store-cart__loading { color: var(--store-muted); }

/* Slide-out mini cart */
.store-drawer { position: fixed; inset: 0; z-index: 2147483000; }
.store-drawer__overlay { position: absolute; inset: 0; background: rgba(30, 38, 26, .45); opacity: 0; transition: opacity .25s ease; }
.store-drawer__panel {
  /* On phones a strip of the page stays visible, like the desktop slide-out. */
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, calc(100% - 56px));
  display: flex; flex-direction: column; background: var(--store-cream); color: var(--store-forest);
  box-shadow: -12px 0 40px rgba(30, 38, 26, .18); transform: translateX(100%); transition: transform .25s ease; outline: none;
}
.store-drawer.is-open .store-drawer__overlay { opacity: 1; }
.store-drawer.is-open .store-drawer__panel { transform: none; }
.store-drawer__head {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--store-line);
}
.store-drawer__title { font-family: "Cal Sans", sans-serif; font-weight: 400; font-size: 1.6rem; margin: 0; }
.store-drawer__close {
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--store-sand);
  color: var(--store-forest); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.store-drawer__close:hover { background: var(--store-line); }
.store-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; display: flex; flex-direction: column; }
.store-drawer__body .store-lines { flex: 0 0 auto; }
.store-drawer__body .store-line { grid-template-columns: 72px 1fr; }
.store-drawer__body .store-line__image { width: 72px; }
.store-drawer__body .store-summary {
  margin-top: auto; padding-top: 18px; position: sticky; bottom: -24px; background: var(--store-cream);
  padding-bottom: 4px; box-shadow: 0 -14px 14px -14px rgba(30, 38, 26, .25);
}
/* Header stays visible while scrolling on every page (the hide-on-scroll-down behaviour was removed 23 Nov 2026).
   The homepage keeps its own fixed header after the hero (storefront.js); other pages keep it stuck to the top. */
body:not(.index) #fw-section-header {
  position: sticky; top: 0; z-index: 1000; background: #fef7ee;
}

/* Split social proof panel with a slim scrolling accounts strip. */
.social-proof { background:#fbe6ec; color:#283f28; font:400 13px/1.3 "DM Sans",sans-serif; }
.social-proof--home { position:relative; }
.social-proof--home::before {
  content:"";position:absolute;inset:-11px 0 auto;height:12px;
  background:radial-gradient(circle at 10px 12px,#fbe6ec 9px,transparent 10px) 0 0 / 20px 12px repeat-x;
}
.social-proof--product { margin:18px 0 6px;border-radius:12px;overflow:hidden; }
.social-proof__stat { display:flex;justify-content:center;align-items:center;gap:12px;padding:13px 9px 12px; }
.social-proof__views,.social-proof__trust { min-width:0; }
.social-proof__views { text-align:right; }
.social-proof__trust { color:#783b52;border-left:1px dashed #e3aebe;padding-left:12px; }
.social-proof__stat b,.social-proof__stat strong {
  display:block;font:400 clamp(19px,3vw,24px)/1.1 "Cal Sans",sans-serif;
  letter-spacing:-.025em;white-space:nowrap;
}
.social-proof__stat span { display:block;margin-top:3px; }
.social-proof--product .social-proof__stat { padding-inline:16px;gap:0; }
.social-proof--product .social-proof__views,
.social-proof--product .social-proof__trust { padding-inline:10px;text-align:center; }
.social-proof--product .social-proof__ticker { padding-inline:5px; }
.social-proof--product .social-proof__stat b,.social-proof--product .social-proof__stat strong { font-size:clamp(17px,2.7vw,23px); }
.social-proof--product .social-proof__stat span { font-size:11.5px; }
.social-proof__logo { display:inline-grid;place-items:center;flex:none;width:18px;height:18px;border-radius:5px;color:#fff; }
.social-proof__logo svg { width:11px;height:11px;display:block; }
.social-proof__logo--ig { background:radial-gradient(circle at 30% 110%,#fdc468 0 22%,#df4996 55%,#7a3ce0); }
.social-proof__logo--fb { background:#1877f2;border-radius:50%; }
.social-proof__ticker { display:flex;align-items:center;gap:4px;background:#35482e;color:#fff7eb;padding:3px 5px 3px 0;min-height:28px; }
.social-proof__viewport { flex:1;min-width:0;overflow:hidden;mask-image:linear-gradient(to right,transparent,black 8px,black calc(100% - 8px),transparent); }
.social-proof__track { display:flex;width:max-content;animation:social-accounts-scroll var(--ticker-duration,32s) linear infinite; }
@keyframes social-accounts-scroll { to { transform:translateX(-50%); } }
.social-proof__group,.social-proof__repeat { display:flex;align-items:center;flex:none;white-space:nowrap; }
.social-proof__repeat { gap:12px;padding-inline-end:12px; }
.social-proof__group a { display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none;font-size:11px;font-weight:750;line-height:20px; }
.social-proof__group a:hover,.social-proof__group a:focus-visible { text-decoration:underline;text-underline-offset:2px; }
.social-proof__group .social-proof__logo { width:14px;height:14px; }
.social-proof__group .social-proof__logo svg { width:10px;height:10px; }
.social-proof__divider { color:#f1bbcd;font-size:9px; }
.social-proof__viewport:focus-visible { outline:2px solid #f1bbcd;outline-offset:-2px; }
.social-proof__ticker:hover .social-proof__track,
.social-proof__ticker:focus-within .social-proof__track { animation-play-state:paused; }
.social-proof__viewport:focus-within { overflow-x:auto;scrollbar-width:none; }
@media(prefers-reduced-motion:reduce){
  .social-proof__track{animation:none}
  .social-proof__viewport{overflow-x:auto;scrollbar-width:none}
}
@media(max-width:370px){
  .social-proof__stat{gap:7px}
  .social-proof__trust{padding-left:7px}
  .social-proof__views span{font-size:11px}
}

.pp-footer-social--accounts { flex-direction: column; align-items: center; gap: 4px; }
.pp-footer-social__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 4px; }
.pp-footer-social__row .social-proof__logo { margin-right: 4px; }
footer.footer .pp-footer-social__row a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font: 700 14px/1.2 "DM Sans", sans-serif; color: #283f28; text-decoration: underline; text-underline-offset: 3px;
}

/* Product-page shipping countdown + Christmas note (store-navigation.js, "quiet with emphasis"). */
.ship-notice { display: grid; gap: 8px; margin: -16px 0 -14px; /* the product column adds 32px between blocks; this keeps the notice close to the buttons */ font: 400 13.5px/1.4 "DM Sans", sans-serif; color: #283f28; text-align: left; }
.ship-notice__line { display: flex; gap: 9px; align-items: flex-start; margin: 0; }
.ship-notice__line--muted { color: #6b675c; }
.ship-notice__line > span { padding-inline-end: 12px; text-wrap: pretty; }
.ship-notice__icon { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: #2f6b34; }
.ship-notice__line--muted .ship-notice__icon { color: #6b675c; }
.ship-notice__time { font-variant-numeric: tabular-nums; font-weight: 700; color: #2f6b34; font-size: 14.5px; }
.ship-notice__hot { color: #b4382b; }

/* Desktop product pages (23 Nov 2026): the info column pins just below the pinned banner + header
   (--store-pinned-top, set by store-navigation.js) and is tightened so the title through
   "Quality Guarantee & Returns" fits one screen. Phones are unchanged. */
@media (min-width: 990px) {
  .regional-product .product__info { top: calc(var(--store-pinned-top, 171px) + 12px); }
  .regional-product .product-info { gap: 10px; }
  .regional-product .product-info__title { font-size: 28px; line-height: 1.12; margin-top: 0; }
  .regional-product .product-info__prices { margin-top: 4px; }
  .regional-product .product-info__description, .regional-product .product-info__description p { font-size: 14.5px; line-height: 1.5; margin: 0; }
  .regional-product .product-option__name { margin-bottom: 6px; }
  .regional-product .product-info__options .product-option + .product-option { margin-top: 10px; }
  .regional-product .radio-button__label { height: 34px; padding: 0 11px; min-width: 40px; }
  .regional-product .product-option__values { gap: 6px; }
  .regional-product .color-swatch__label { width: 32px; height: 32px; }
  .regional-product .ship-notice { margin: 0; gap: 5px; font-size: 13px; line-height: 1.35; }
  .regional-product .social-proof--product { margin: 0; }
  .regional-product .product-disclosure { padding: 6px 0; }
}

/* Complete-the-pair offer shown before checkout (store-cart.js). */
.store-pair-offer {
  width: min(440px, calc(100vw - 32px)); padding: 26px 22px 18px; border: 0; border-radius: 24px;
  background: var(--store-cream); color: var(--store-forest); box-shadow: 0 24px 60px rgba(30, 38, 26, .3);
}
.store-pair-offer::backdrop { background: rgba(30, 38, 26, .5); }
.store-pair-offer__close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--store-sand); color: var(--store-forest); font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.store-pair-offer__title { font-family: "Cal Sans", sans-serif; font-weight: 400; font-size: 1.55rem; line-height: 1.15; margin: 0 36px 6px 0; }
.store-pair-offer__intro { margin: 0 0 16px; color: var(--store-muted); }
.store-pair-offer__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.store-pair-offer__item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center;
  padding: 10px; border-radius: 16px; background: #fdf0f2; border: 1.5px dashed #e7a9b8;
}
.store-pair-offer__item img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; }
.store-pair-offer__info { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; line-height: 1.3; min-width: 0; }
.store-pair-offer__info span { color: var(--store-muted); }
.store-pair-offer__info .store-link { font-size: .8rem; }
.store-pair-offer__add {
  min-width: 78px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--store-forest); color: var(--store-cream); font: 600 .9rem "DM Sans", sans-serif; cursor: pointer;
}
.store-pair-offer__add:disabled { background: var(--store-leaf); color: var(--store-forest); cursor: default; }
.store-pair-offer__skip {
  display: block; margin: 12px auto 0; border: 0; background: none; color: var(--store-muted);
  font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* Free-gift strip under the sale banner: segmented two-goal bar (store-navigation.js, 23 Nov 2026). */
.announcement-bar .gift-strip {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 5px 16px 6px; border-top: 1px solid #f3d9cf; background: #f4f8ec; color: #283f28;
  font: 500 13px/1.3 "DM Sans", sans-serif; text-decoration: none; text-align: left;
}
.announcement-bar .gift-strip[hidden] { display: none; }
/* Keep the sale banner's × centred on the sale row, not straddling the gift strip. */
@media (min-width: 601px) {
  .announcement-bar:not(.banner-rotator):has(.gift-strip:not([hidden])) .pp-sale-banner-close { top: 27px; }
}
.gift-strip__pill {
  flex: none; display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px;
  background: #2e3d27; color: #fef7ee; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 2px 0 #f1bc4d; white-space: nowrap;
}
.gift-strip__body { display: flex; flex-direction: column; gap: 4px; width: min(100%, 480px); min-width: 0; }
.gift-strip__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.gift-strip__text strong { font-weight: 800; }
.gift-strip__short { display: none; }
/* Two equal bars; each label is centred under its own bar. */
.gift-strip__bars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gift-strip__seg { position: relative; height: 8px; border-radius: 7px; background: #dfe6d2; overflow: hidden; }
.gift-strip__seg i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 7px; background: linear-gradient(90deg, #f1bc4d, #e98aa4); transition: width .4s ease; }
.gift-strip__seg.is-done i { background: #2f6b34; }
.gift-strip__caps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: center; font-size: 10.5px; color: #6b675c; white-space: nowrap; }
.gift-strip__caps .is-done { color: #2f6b34; font-weight: 700; }
.gift-strip .gift-strip__cta { flex: none; color: #111 !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.gift-strip__cta[hidden] { display: none; }
.gift-strip.is-reached { background: #dce9c9; border-top-color: #c7dbb0; }
@media (max-width: 600px) {
  .announcement-bar .gift-strip { gap: 8px; padding: 6px 10px 7px; justify-content: flex-start; }
  .gift-strip__pill { min-height: 20px; padding: 0 7px; font-size: 9.5px; }
  .gift-strip__body { width: auto; flex: 1 1 auto; gap: 4px; }
  .gift-strip__text { font-size: 10.5px; letter-spacing: -.1px; }
  .gift-strip__long { display: none; }
  .gift-strip__short { display: inline; }
  .gift-strip__seg { height: 7px; }
  .gift-strip__caps { font-size: 10px; }
  .gift-strip__cta { display: none; }
}

/* Rotating announcement (store-navigation.js): the gift strip and the sale banner share one slot and flip. */
.announcement-bar.banner-rotator { position: relative; display: grid; overflow: hidden; perspective: 1600px; }
.banner-rotator > .banner-rotator__panel {
  grid-area: 1 / 1; min-width: 0; backface-visibility: hidden; transform-origin: 50% 50%;
  transition: transform .5s cubic-bezier(.3, .7, .25, 1), opacity .5s ease;
}
.banner-rotator > .wrapper.banner-rotator__panel { display: flex; align-items: center; background: inherit; }
.banner-rotator > .wrapper.banner-rotator__panel > * { flex: 1 1 auto; min-width: 0; }
.banner-rotator > .gift-strip.banner-rotator__panel { border-top: 0; }
.announcement-bar.banner-rotator > .wrapper.banner-rotator__panel { background: #f7e1e7 !important; }
.announcement-bar.banner-rotator > .gift-strip.banner-rotator__panel { background: #e4efdf !important; }
.banner-rotator > [data-rot=in] { transform: none; opacity: 1; }
/* Default: sideways card flip; the next banner turns in from the right. */
.banner-rotator > [data-rot=below] { transform: translateX(30%) rotateY(-80deg); opacity: 0; pointer-events: none; }
.banner-rotator > [data-rot=above] { transform: translateX(-30%) rotateY(80deg); opacity: 0; pointer-events: none; }
/* ?banner=flip-v: top-to-bottom flip instead. */
.announcement-bar.banner-rotator[data-flip=v] { perspective: 700px; }
.banner-rotator[data-flip=v] > [data-rot=below] { transform: translateY(55%) rotateX(-80deg); }
.banner-rotator[data-flip=v] > [data-rot=above] { transform: translateY(-55%) rotateX(80deg); }
/* Swiping right turns the panels the other way. */
.banner-rotator[data-flip=h][data-dir=back] > [data-rot=below] { transform: translateX(-30%) rotateY(80deg); }
.banner-rotator[data-flip=h][data-dir=back] > [data-rot=above] { transform: translateX(30%) rotateY(-80deg); }
.banner-rotator[data-flip=v][data-dir=back] > [data-rot=below] { transform: translateY(-55%) rotateX(80deg); }
.banner-rotator[data-flip=v][data-dir=back] > [data-rot=above] { transform: translateY(55%) rotateX(-80deg); }
/* Sideways swipes belong to the banner; vertical drags still scroll the page. */
.announcement-bar.banner-rotator { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.banner-rotator--static > .banner-rotator__panel { transition: none !important; }
/* The rotator's own › and × replace the sale banner's ×, which stays in the page only to run the close. */
.announcement-bar.banner-rotator > .pp-sale-banner-close { display: none !important; }
.announcement-bar.sale-closed > .wrapper { display: none !important; }
.announcement-bar.gift-closed > .gift-strip { display: none !important; }
.banner-rotator__controls { position: absolute; z-index: 30; top: 50%; right: 12px; display: flex; gap: 6px; transform: translateY(-50%); }
.banner-rotator__controls[hidden], .banner-rotator__btn[hidden] { display: none; }
.banner-rotator__btn {
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  border: 1px solid rgba(41, 67, 41, .2); border-radius: 999px; background: rgba(255, 255, 255, .82);
  box-shadow: 0 2px 8px rgba(41, 67, 41, .1); color: #294329; font: 700 20px/1 Arial, sans-serif; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.banner-rotator__next { font-size: 22px; padding-bottom: 2px; }
.banner-rotator__btn:hover { background: #fff; }
.banner-rotator__btn:focus-visible { outline: 2px solid #294329; outline-offset: 2px; }
@media (max-width: 760px) {
  /* Phones: › and × stacked in a narrow column on the right edge. */
  .banner-rotator__controls { top: 0; bottom: 0; right: 4px; flex-direction: column-reverse; justify-content: space-between; padding: 5px 0; transform: none; }
  .banner-rotator__btn { width: 24px; height: 24px; font-size: 17px; }
  .banner-rotator__next { font-size: 19px; }
  .announcement-bar.banner-rotator > .gift-strip { padding-right: 32px; padding-left: 8px; gap: 6px; }
  .announcement-bar.banner-rotator .gift-strip__pill { padding: 0 6px; letter-spacing: .06em; }
  .announcement-bar.banner-rotator .gift-strip__text { font-size: 10px; letter-spacing: -.15px; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-rotator > [data-rot=below], .banner-rotator > [data-rot=above],
  .banner-rotator[data-flip=v] > [data-rot=below], .banner-rotator[data-flip=v] > [data-rot=above] { transform: none; }
  .banner-rotator[data-flip][data-dir=back] > [data-rot=below], .banner-rotator[data-flip][data-dir=back] > [data-rot=above] { transform: none; }
  .banner-rotator > .banner-rotator__panel { transition: opacity .4s ease; }
}

/* Page frozen in place while the cart is open (top offset set by store-cart.js). */
body.store-drawer-open { position: fixed; left: 0; right: 0; width: 100%; }

/* Cart page */
.store-cart-page { max-width: 1120px; margin: 0 auto; padding: 32px 20px 72px; color: var(--store-forest); }
.store-cart-page__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.store-cart-page__head h1 { font-family: "Cal Sans", sans-serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; margin: 0; }
.store-cart-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.store-cart-page .store-summary {
  position: sticky; top: 24px; padding: 24px; border-radius: 24px; background: var(--store-card);
  border: 1px solid var(--store-line); box-shadow: 0 10px 30px rgba(46, 61, 39, .06);
}
.store-cart-page .store-line__image { width: 104px; }
.store-cart-page .store-line { grid-template-columns: 104px 1fr auto; gap: 20px; }

/* Shop grid */
.store-collection { max-width: 1200px; margin: 0 auto; padding: 32px 20px 72px; color: var(--store-forest); }
.store-collection h1 { font-family: "Cal Sans", sans-serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 28px; }
.store-collection__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.store-tile { display: flex; flex-direction: column; gap: 6px; color: var(--store-forest); text-decoration: none; }
.store-tile__image { display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--store-sand); }
.store-tile__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.store-tile:hover .store-tile__image img { transform: scale(1.04); }
.store-tile__name { font-weight: 600; line-height: 1.3; margin-top: 6px; }
.store-tile__price { font-size: .925rem; }
.store-tile__price s { color: var(--store-muted); }

/* Delivery-country step */
.store-country { max-width: 560px; margin: 0 auto; padding: 48px 20px 80px; text-align: center; color: var(--store-forest); }
.store-country__badge { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 50%; }
.store-country h1 { font-family: "Cal Sans", sans-serif; font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.1; margin: 0 0 10px; }
.store-country__intro { margin: 0 0 28px; color: var(--store-muted); }
.store-country__form {
  display: grid; gap: 10px; text-align: left; padding: 24px; border-radius: 24px;
  background: var(--store-card); border: 1px solid var(--store-line); box-shadow: 0 10px 30px rgba(46, 61, 39, .06);
}
.store-country__form label { font-weight: 600; }
.store-country__form select {
  width: 100%; min-height: 52px; padding: 0 44px 0 16px; border: 1px solid #cfc3b1; border-radius: 14px; background: #fff;
  color: var(--store-forest); font: inherit; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--store-forest) 50%), linear-gradient(135deg, var(--store-forest) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.store-country__form .store-button { margin-top: 8px; }

/* Policy pages */
.store-policy { max-width: 760px; margin: 0 auto; padding: 32px 20px 72px; color: var(--store-forest); line-height: 1.7; }
.store-policy h1 { font-family: "Cal Sans", sans-serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; margin: 0 0 24px; }
.store-policy h2, .store-policy h3 { font-family: "Cal Sans", sans-serif; font-weight: 400; margin: 32px 0 8px; line-height: 1.2; }
.store-policy p, .store-policy ul { margin: 0 0 14px; }
.store-policy ul { padding-left: 1.25em; list-style: disc; }
.store-policy a { color: var(--store-forest); text-underline-offset: 3px; }

@media (max-width: 900px) {
  .store-cart-page__layout { grid-template-columns: 1fr; gap: 24px; }
  .store-cart-page .store-summary { position: static; }
  .store-collection__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
}
@media (max-width: 560px) {
  .store-cart-page { padding: 20px 16px 56px; }
  .store-cart-page .store-line { grid-template-columns: 80px 1fr; gap: 14px; }
  .store-cart-page .store-line__image { width: 80px; }
  .store-cart-page .store-line__total { grid-column: 2; }
  .store-collection { padding: 20px 16px 56px; }
  .store-country { padding: 28px 16px 56px; }
  .store-country__form { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-drawer__panel, .store-drawer__overlay, .store-tile__image img { transition: none; }
}

.product-order-proof-anchor { position:relative; }
.product-order-proof { position:absolute;top:16px;right:16px;z-index:2;display:inline-flex;align-items:center;
 gap:7px;max-width:calc(100% - 32px);box-sizing:border-box;padding:5px 11px 5px 6px;border:1px solid #ad6b54;border-radius:99px;background:#fff0e6;color:#733b2b;
 box-shadow:inset 0 0 0 2px #fff0e6,inset 0 0 0 3px #d6a18e;
 font:400 13px/1.25 "DM Sans",sans-serif;white-space:normal;text-align:left;pointer-events:none; }
.order-badge-mark { flex:none;width:32px;height:23px;background:url("assets/capybara-couple-badge-v2.webp") center / contain no-repeat; }
.product-order-proof > span:last-child { min-width:0;overflow-wrap:anywhere; }
.product-order-proof--red { background:#fce3e1;border-color:#a3413d;color:#812824;
 box-shadow:inset 0 0 0 2px #fce3e1,inset 0 0 0 3px #d9928b; }
@media(max-width:390px){.product-order-proof{top:12px;right:12px;max-width:calc(100% - 24px);font-size:12px;padding:5px 8px}}
.product-rating-summary { display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;margin:0 0 8px;
 color:#3f5140;font:600 12px/1.3 "DM Sans",sans-serif; }
.product-info__title + .product-rating-summary { margin-block-start:6px; }
.product-rating-summary__stars { color:#8a5b17;font-size:14px;letter-spacing:1px; }
.product-rating-summary strong { color:#283f28; }
.tile__description--center .product-rating-summary { justify-content:center;margin:4px 0; }

.gift-strip--one-tier .gift-strip__bars, .gift-strip--one-tier .gift-strip__caps { grid-template-columns: 1fr; }

.regional-product .product-gallery-thumbnails { display: none; }
.regional-product .gallery-stacked--thumbnails .gallery-stacked__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  overflow: visible;
  margin-inline: 0;
  width: 100%;
}
.regional-product .gallery-stacked--thumbnails .gallery-stacked__dots,
.regional-product .gallery-stacked--thumbnails .gallery-stacked__item[hidden] { display: none; }
.regional-product .gallery-stacked--thumbnails .gallery-stacked__item {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: #e9e4da;
}
.regional-product .gallery-stacked--thumbnails .gallery-stacked__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.regional-product .gallery-stacked__item:first-child .gallery-stacked__image {
  transform: scale(var(--lead-photo-scale, 1.08));
}
.regional-product [data-apparel-gallery] { --lead-photo-scale: 1.16; }
.regional-product .gallery-stacked--thumbnails .product-gallery-thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 3px;
  margin-top: 10px;
}
.product-gallery-thumbnails button {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #c9c6b9;
  background: #e9e4da;
  cursor: pointer;
}
.product-gallery-thumbnails button[aria-pressed="true"] { outline: 2px solid #365740; }
.product-gallery-thumbnails button:focus-visible { outline: 2px solid #9b3d65; outline-offset: 2px; }
.product-gallery-thumbnails img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
@media (min-width: 768px) {
  .regional-product:has(.gallery-stacked--thumbnails) .product__columns {
    width: min(100%, 1180px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    gap: clamp(22px, 3.3vw, 48px);
  }
  .regional-product .product__gallery:has(.gallery-stacked--thumbnails) { min-width: 0; }
  .regional-product .gallery-stacked--thumbnails {
    display: grid;
    grid-template-columns: clamp(46px, 5vw, 68px) minmax(0, 1fr);
    gap: 12px;
  }
  .regional-product .gallery-stacked--thumbnails .gallery-stacked__track {
    grid-column: 2;
    grid-row: 1;
  }
  .regional-product .gallery-stacked--thumbnails .product-gallery-thumbnails {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    justify-content: stretch;
    margin: 0;
  }
  .product-gallery-thumbnails button { width: 100%; }
}
