/* BerryBro Christmas: document-flow decoration only. */
.bb-holiday-strip {
  position: relative; isolation: isolate; box-sizing: border-box; overflow: hidden;
  border-block: 1px solid #a97b48;
  color: #fff4e3;
  background: linear-gradient(105deg,#102d25 0%,#214536 55%,#592633 100%);
}
.bb-holiday-strip.bb-holiday-fixed-nav-offset {
  margin-block-start: var(--bb-holiday-nav-gap, 0px);
  margin-block-end: calc(-1 * var(--bb-holiday-nav-gap, 0px));
}
.bb-holiday-inner {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: .4rem 1rem;
  margin-inline: auto; max-inline-size: 74rem; padding: 1rem max(1rem,3vw) .5rem;
}
.bb-holiday-strip .bb-holiday-greeting {
  margin: 0; color: #fff4e3; font: 700 clamp(.78rem,2vw,1.05rem)/1.4 system-ui,sans-serif;
  letter-spacing: .055em;
}
.bb-holiday-strip .bb-holiday-toggle {
  display: inline-flex; align-items: center; min-block-size: 44px; max-inline-size: 100%;
  padding: .3rem .75rem; border: 1px solid #e6b97f; border-radius: 999px;
  background: #172b24; color: #fff4e3; font: 650 .75rem/1.25 system-ui,sans-serif; cursor: pointer;
}
.bb-holiday-strip .bb-holiday-toggle[hidden] { display: none; }
.bb-holiday-strip .bb-holiday-toggle:hover { background: #543039; }
.bb-holiday-strip .bb-holiday-toggle:focus-visible { outline: 2px solid #fff2c6; outline-offset: 3px; }
.bb-holiday-decor { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.bb-holiday-lights {
  position: absolute; inset: 0 0 auto; height: .9rem; display: flex;
  justify-content: space-around; align-items: start; border-top: 2px solid #76664d;
}
.bb-holiday-light {
  width: 5px; height: 8px; border-radius: 55%; background: #ffd491;
  box-shadow: 0 0 .55rem #ffd491; opacity: .78; transform: translateY(2px);
}
.bb-holiday-light:nth-child(3n+1) { background: #f7aaad; box-shadow: 0 0 .55rem #f7aaad; }
.bb-holiday-light:nth-child(3n+2) { background: #c6ead8; box-shadow: 0 0 .55rem #c6ead8; }
.bb-holiday-flurry {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 19% 35%,#fff4e3 1px,transparent 2px) 0 0/108px 46px,
    radial-gradient(circle at 43% 71%,#cce8da 1px,transparent 2px) 0 0/157px 54px;
  opacity: .15;
}
.bb-holiday-heading::after {
  content: ""; display: block; inline-size: min(6.25rem,100%); block-size: 3px;
  border-radius: 2px; margin-block-start: .45rem;
  background: linear-gradient(90deg,#9e4b5b,#e7b986,#277054);
}
[data-bb-holiday-motion="on"] .bb-holiday-light { animation: bb-holiday-glow 5.8s ease-in-out infinite alternate; }
[data-bb-holiday-motion="on"] .bb-holiday-light:nth-child(even) { animation-delay: -2.4s; }
[data-bb-holiday-motion="on"] .bb-holiday-light:nth-child(3n) { animation-delay: -4.1s; }
[data-bb-holiday-motion="on"] .bb-holiday-flurry { animation: bb-holiday-snow 15s linear infinite; }
@keyframes bb-holiday-glow { from { opacity: .54; } to { opacity: 1; } }
@keyframes bb-holiday-snow { to { background-position: 0 46px,0 54px; } }
@media(max-width: 580px) {
  .bb-holiday-light:nth-child(n+17) { display: none; }
  .bb-holiday-inner { padding-inline: 1rem; }
}
@media(prefers-reduced-motion:reduce) {
  .bb-holiday-strip *, .bb-holiday-strip *::before, .bb-holiday-strip *::after { animation: none !important; }
}

/* Christmas palette for marketing routes that opt into this stylesheet. */
:root {
  --bb-season-paper: #fff8e9;
  --bb-season-panel: #f6edda;
  --bb-season-wash: #edf2e8;
  --bb-season-border: #bfaa81;
  --bb-season-heading: #173c30;
  --bb-season-accent-text: #922a40;
  --bb-season-gold-text: #795815;
  --bb-season-button: #922a40;
  --bb-season-button-hover: #6f2033;
  --bb-season-focus: #795815;
}
[data-theme="dark"] {
  --bb-season-paper: #24231b;
  --bb-season-panel: #27251d;
  --bb-season-wash: #172b23;
  --bb-season-border: #77694e;
  --bb-season-heading: #e7eee3;
  --bb-season-accent-text: #ffc8d1;
  --bb-season-gold-text: #f5d58b;
  --bb-season-button: #922a40;
  --bb-season-button-hover: #ad3c53;
  --bb-season-focus: #f5d58b;
}

/* Evergreen shared chrome; no layout, stacking, or behavior changes. */
#nav.nav, #nav.nav.scrolled {
  --ink: #fff8e9;
  --text: #fff8e9;
  --muted: #eadcc0;
  --line: #587567;
  --line-2: #789084;
  background: linear-gradient(105deg, #102f26, #173c30 72%, #223b2c);
  color: #fff8e9;
  border-bottom-color: #9f854f;
}
#nav .nav-links a, #nav .nav-links a:hover, #nav .nav-links a.active,
#nav .nav-links a[aria-current="page"] { color: #fff8e9; }
#nav .nav-links a::after { background: #f5d58b; }
#nav .logo-wordmark, #nav .logo-wordmark em { color: #fff8e9; }
#nav .hamburger span { background: #fff8e9; }
#nav .cart-btn, #nav .nav-right .btn-outline, #nav .theme-toggle {
  background-color: #244638;
  color: #fff8e9;
  border-color: #789084;
}
#nav .cart-btn:hover, #nav .nav-right .btn-outline:hover, #nav .theme-toggle:hover {
  color: #fff8e9;
  background-color: #345847;
  border-color: #f5d58b;
}
#nav .cart-count { background: #922a40; color: #fff8e9; }
body > .mobile-menu {
  --ink: #fff8e9;
  --primary: #f5d58b;
  --bg2: #254b3d;
  background: #173c30;
  color: #fff8e9;
  border-color: #9f854f;
}
body > .mobile-menu a { color: #fff8e9; }
body > .mobile-menu a:is(:hover, :focus-visible, .active) { color: #f5d58b; background-color: #254b3d; }
:is(#nav,body > .mobile-menu, .footer) :is(a,button):focus-visible {
  outline: 2px solid #f5d58b;
  outline-offset: 3px;
}
.footer {
  --ink: #fff8e9;
  --muted: #eadcc0;
  --ink-soft: #eadcc0;
  --line: #6e7d61;
  --line-2: #8f987d;
  --primary: #f5d58b;
  background: linear-gradient(145deg, #173c30, #102d25);
  color: #fff8e9;
  border-top-color: #a98244;
}
.footer :is(.footer-col h5, .footer-brand p, .footer-col ul a, .footer-bottom, .nav-logo, .logo-wordmark) { color: #eadcc0; }
.footer :is(a:hover, .footer-col ul a:hover, .logo-wordmark em, .footer-bottom .love) { color: #f5d58b; }

/* Shared editorial surfaces; photo wells and interactive fields remain original. */
:is(.page-hero,.shipping-hero,.collection-hero,.custom-service .custom-hero) {
  background-color: var(--bb-season-wash);
  border-color: var(--bb-season-border);
}
:is(.page-hero,.shipping-hero,.collection-hero,.custom-service .custom-hero) h1,
:is(.gift-page,.journal-index,.journal-article,.blog-post,.pdp) h1 {
  color: var(--bb-season-heading);
}
:is(.page-hero .kicker,.shipping-hero .eyebrow,.custom-service .custom-eyebrow,.gift-page .growth-eyebrow,.journal-index .journal-kicker,.blog-post .blog-category) {
  color: var(--bb-season-gold-text);
}
:is(.journal-index-head,.blog-post .blog-header,.journal-article .journal-article-head,.faq-wrap,.pol-wrap) h1 {
  text-decoration: underline;
  text-decoration-color: var(--bb-season-border);
  text-decoration-thickness: 2px;
  text-underline-offset: .24em;
}
:is(.growth-path-card:not(.growth-custom-card),.gift-card,.product-card,.journal-card,.custom-service .custom-card:not(.workshop-birthday),.pdp-order-help,.pdp-customer-note,.guide-picks,.faq-item) {
  background-color: var(--bb-season-paper);
  border-color: var(--bb-season-border);
}
:is(.growth-trust,.growth-help,.custom-service .custom-final,.pdp-questions,.guide-picks) {
  border-color: var(--bb-season-border);
}
:is(.growth-trust,.growth-help,.custom-service .custom-final) {
  background-color: var(--bb-season-panel);
}
:is(.growth-paths,.gift-page,.pdp-buy-info,.journal-index,.blog-post) :is(.growth-link,.pdp-gift-help a,.journal-card h2 a,.gift-help-link) {
  color: var(--bb-season-accent-text);
}
:is(.growth-hero .growth-actions,.custom-service .custom-hero,.custom-service .custom-final,.custom-service-banner) a.btn-primary {
  background: var(--bb-season-button);
  border-color: var(--bb-season-button);
  color: #fff8e9;
}
:is(.growth-hero .growth-actions,.custom-service .custom-hero,.custom-service .custom-final,.custom-service-banner) a.btn-primary:hover {
  background: var(--bb-season-button-hover);
  border-color: var(--bb-season-button-hover);
  color: #fff8e9;
}
:is(.growth-hero,.gift-page,.custom-service,.custom-service-banner,.journal-index,.blog-post) a.btn-primary:focus-visible {
  outline: 2px solid var(--bb-season-focus);
  outline-offset: 3px;
}
/* Gold used as trim where it would not contrast as light-mode body text. */
:is(.gift-page h1,.pdp-buy-info h1,.custom-service .custom-hero h1,.page-hero h1) {
  text-decoration-color: var(--bb-season-border);
}

/* Keep birthday and corporate offers distinct while using the same palette. */
.custom-service.event-birthday .event-hero { background-color: var(--bb-season-panel); }
.custom-service.event-corporate .event-hero,
[data-theme="dark"] .custom-service.event-corporate .event-hero {
  background-color: var(--bb-season-wash);
}
.custom-service.event-birthday .event-hero h1 { color: var(--bb-season-accent-text); }
.custom-service.event-corporate .event-hero h1,
[data-theme="dark"] .custom-service.event-corporate .event-hero h1 {
  color: var(--bb-season-heading);
}
.custom-service.workshop-main .custom-final {
  border-top: 2px solid var(--bb-season-border);
}
