:root {
  --scale: 1;
  --canvas-h: 5947px;
  --stage-h: 5947px;
  --fullbleed-left: 0px;
  --fullbleed-width: 1440px;
  --header-scrollbar-compensation: 0px;
  --header-layer-backdrop: 0;
  --header-layer-legacy-art: 1;
  --header-layer-line: 2;
  --header-layer-chrome: 4;
  --header-layer-hitboxes: 5;
  --header-layer-search-text: 6;
  --header-layer-floating: 12;
  --jp-spinner-color: #3F6A60;
  --jp-spinner-track: rgba(35, 32, 48, 0.1);
  --jp-spinner-size: 38px;
  --jp-spinner-stroke: 5px;
  --font-price: var(--font-display, Georgia, "Times New Roman", serif);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}

/* Root scroll stays functional, but the browser scrollbar must not take
   layout width from the right edge. This keeps centered shells visually
   centered in Chrome/Safari/Firefox without using `both-edges`, which
   shifts fixed header geometry. */
html {
  scrollbar-gutter: stable;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  min-height: 100vh;
  background: #f8fffc;
  overflow-x: hidden;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.design-stage {
  width: 100%;
  height: var(--stage-h);
  position: relative;
  overflow: visible;
}

html:not(.ui-ready) .design-stage {
  opacity: 0;
  pointer-events: none;
}

html.ui-ready .design-stage {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.design-canvas {
  width: 1440px;
  height: var(--canvas-h);
  transform: translateX(-50%) scale(var(--scale));
  transform-origin: top center;
  position: absolute;
  left: 50%;
  top: 0;
  will-change: transform;
  background: #f8fffc;
}

:where(
  .price,
  [class*="__price"],
  [class*="-price"],
  [class*="Price"],
  [data-product-price-text],
  [data-cart-subtotal],
  [data-cart-shipping],
  [data-cart-discount],
  [data-cart-total],
  [data-track-total],
  .header-cart-card-price,
  .header-cart-card-price-old
) {
  font-family: var(--font-price) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* Prevent text-selection cursor on UI labels/captions across the canvas */
.design-canvas,
.design-canvas * {
  -webkit-user-select: none;
  user-select: none;
}

/* Keep text input/edit behavior where it must stay interactive */
.design-canvas input,
.design-canvas textarea,
.design-canvas [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

.design-canvas [data-layer="Header"] {
  position: relative;
  overflow: visible;
}

.design-canvas [data-layer="Header"]::after {
  content: "";
  position: absolute;
  left: calc((1440px - (100vw / var(--scale))) / 2);
  width: calc(100vw / var(--scale));
  transform: none;
  bottom: 0;
  height: 2px;
  background: #EFE7D5;
  pointer-events: none;
  z-index: 2;
}

/* Keep full-width white backdrop behind pinned header while scrolling */
.fixed-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: calc(-1 * var(--header-scrollbar-compensation, 0px));
  width: auto;
  height: 100%;
  transform: none;
  background: #FFF9F1;
  pointer-events: none;
  z-index: var(--header-layer-backdrop);
}

.fixed-header {
  position: fixed !important;
  left: 0 !important;
  right: var(--header-scrollbar-compensation) !important;
  top: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: calc(123px * var(--scale)) !important;
  background: #FFF9F1;
  /* Soft shadow under the header — a double layer in the brand color #232030.
     Visible ONLY on scroll (body.is-page-scrolled); at the very top of
     the page the header sits with no shadow, so the border doesn't cut off
     the page's "warm" space from the header. Class toggling is in
     header-shell.js on the scroll listener. */
  box-shadow: none;
  transition: box-shadow 200ms ease;
  transform: none !important;
  overflow: visible;
  isolation: isolate;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  z-index: 5000;
}

body.is-page-scrolled .fixed-header {
  box-shadow:
    0 1px 2px rgba(35, 32, 48, 0.04),
    0 6px 16px rgba(35, 32, 48, 0.07);
}

/* Header lock opt-in:
   pages that add .is-header-position-locked keep the header pinned to the
   document surface and must not inherit the global scroll shadow/drop effect. */
body.is-header-position-locked.is-page-scrolled .fixed-header,
body.page--gift-room.is-gift-room-header-locked.is-page-scrolled .fixed-header,
body.page--gift-room.is-gift-room-room-view.is-page-scrolled .fixed-header {
  box-shadow: none !important;
  transition: none !important;
}

body.is-header-position-locked .fixed-header::after,
body.page--gift-room.is-gift-room-header-locked .fixed-header::after,
body.page--gift-room.is-gift-room-room-view .fixed-header::after {
  opacity: 0 !important;
}

.fixed-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: calc(-1 * var(--header-scrollbar-compensation, 0px));
  width: auto;
  transform: none;
  bottom: 0;
  height: 1px;
  background: #d9d5d0;
  pointer-events: none;
  z-index: var(--header-layer-line);
}

.fixed-header > svg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 123px;
  transform: translateX(-50%) scale(var(--scale));
  transform-origin: top center;
  display: block;
  pointer-events: auto;
  z-index: var(--header-layer-legacy-art);
  /* Hide native bottom stroke of the SVG so only one full-width line is visible */
  clip-path: inset(0 0 2px 0);
}

.fixed-header .header-desktop-shell,
.fixed-header .header-tablet-768,
.fixed-header .header-mobile-414 {
  z-index: var(--header-layer-chrome);
  isolation: isolate;
}

.fixed-header > svg > rect:first-of-type,
.fixed-header > svg > rect:nth-of-type(2) {
  fill: #FFF9F1 !important;
}

.fixed-header .header-hitboxes {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 123px;
  transform: translateX(-50%) scale(var(--scale));
  transform-origin: top center;
  pointer-events: none;
  z-index: var(--header-layer-hitboxes);
}

.fixed-header .header-floating-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--header-layer-floating);
}

.fixed-header .header-hitbox {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}

.fixed-header .header-hitbox:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: 2px;
}

.fixed-header .header-hover-tip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, 0) translateY(-4px) scale(0.985);
  transform-origin: center top;
  opacity: 0;
  pointer-events: none;
  background: #274537;
  border: 1px solid #274537;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(35, 32, 48, 0.2);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: pre-line;
  text-align: center;
  padding: 9px 12px 10px;
  z-index: 14;
  will-change: transform, opacity, left, top;
  backface-visibility: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.24s cubic-bezier(0.18, 0.82, 0.24, 1),
    left 0.2s cubic-bezier(0.18, 0.82, 0.24, 1),
    top 0.2s cubic-bezier(0.18, 0.82, 0.24, 1);
}

.fixed-header .header-hover-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: #274537;
  border-top: 1px solid #274537;
  border-left: 1px solid #274537;
}

.fixed-header .header-hover-tip.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) translateY(0) scale(1);
}

.fixed-header {
  --header-primary-hover-fill: #cfe3db;
  --header-primary-hover-bounce-duration: 0.44s;
  --header-primary-hover-bounce-easing: cubic-bezier(0.22, 1, 0.28, 1);
}

.fixed-header .header-soft-target,
.fixed-header .header-pop-target,
.fixed-header .header-sign-target,
.fixed-header .header-search-target,
.fixed-header .header-wishlist-target,
.fixed-header .header-mic-bubble {
  transform-box: fill-box;
  transform-origin: center;
}

.fixed-header .header-soft-target {
  fill: #f6f8fb !important;
  transition: fill 0.24s ease;
}

.fixed-header .header-soft-target.is-hover {
  fill: #EFE7D5 !important;
}

@keyframes header-pop-bounce {
  0% {
    transform: scale(0.9);
  }
  32% {
    transform: scale(1.068);
  }
  58% {
    transform: scale(0.986);
  }
  78% {
    transform: scale(1.018);
  }
  100% {
    transform: scale(1);
  }
}

.fixed-header .header-pop-target {
  fill: transparent !important;
  transition: fill 0.32s ease;
}

.fixed-header .header-pop-target.is-hover {
  fill: var(--header-primary-hover-fill) !important;
}

.fixed-header .header-sign-target {
  fill: transparent !important;
  transition: fill 0.32s ease;
}

.fixed-header .header-sign-target.is-hover {
  fill: var(--header-primary-hover-fill) !important;
}

.fixed-header .header-search-target {
  transition: fill 0.2s ease;
}

.fixed-header .header-search-target.is-hover {
  fill: #355f55 !important;
}

.fixed-header .header-wishlist-target {
  fill: #232030 !important;
  stroke: transparent;
  stroke-width: 1.5;
  transition: fill 0.3s ease, stroke 0.3s ease, filter 0.3s ease;
}

.fixed-header .header-wishlist-target.is-hover {
  fill: #FFF9F1 !important;
  stroke: #232030 !important;
  filter: drop-shadow(0 4px 10px rgba(35, 32, 48, 0.1));
}

.fixed-header .header-wishlist-text {
  fill: #FFF9F1 !important;
  transition: fill 0.3s ease;
}

.fixed-header .header-wishlist-text.is-hover {
  fill: #232030 !important;
}

.fixed-header .header-hitbox.is-account-chip,
.fixed-header .header-hitbox.is-bell-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transition: background-color 0.3s ease, filter 0.3s ease;
  isolation: isolate;
  overflow: visible;
}

.fixed-header .header-hitbox.is-account-chip {
  padding: 0;
}

.fixed-header .header-hitbox.is-bell-chip {
  padding: 0;
}

.fixed-header .header-account-chip-inner,
.fixed-header .header-bell-chip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.fixed-header .header-hitbox.is-account-chip::before,
.fixed-header .header-hitbox.is-bell-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  z-index: 0;
  transition: background-color 0.3s ease;
}

.fixed-header .header-hitbox.is-account-chip::before {
  background: transparent;
}

.fixed-header .header-hitbox.is-bell-chip::before {
  background: transparent;
}

.fixed-header .header-bell-chip-icon-wrap {
  position: absolute;
  left: 12px;
  top: 13px;
  width: 22px;
  height: 26px;
}

.fixed-header .header-hitbox.is-account-chip.is-hover,
.fixed-header .header-hitbox.is-account-chip:focus-visible,
.fixed-header .header-hitbox.is-bell-chip.is-hover,
.fixed-header .header-hitbox.is-bell-chip:focus-visible,
.fixed-header .header-hitbox.is-account-chip[aria-expanded="true"],
.fixed-header .header-hitbox.is-bell-chip[aria-expanded="true"] {
  filter: none;
}

.fixed-header .header-hitbox.is-account-chip.is-hover::before,
.fixed-header .header-hitbox.is-account-chip:focus-visible::before,
.fixed-header .header-hitbox.is-bell-chip.is-hover::before,
.fixed-header .header-hitbox.is-bell-chip:focus-visible::before,
.fixed-header .header-hitbox.is-account-chip[aria-expanded="true"]::before,
.fixed-header .header-hitbox.is-bell-chip[aria-expanded="true"]::before {
  background: #dcddd4;
}

.fixed-header .header-hitbox.is-account-chip.is-hover::before,
.fixed-header .header-hitbox.is-account-chip:focus-visible::before,
.fixed-header .header-hitbox.is-bell-chip.is-hover::before,
.fixed-header .header-hitbox.is-bell-chip:focus-visible::before {
  animation: header-pop-bounce-soft 0.44s cubic-bezier(0.22, 1, 0.28, 1) both;
}

.fixed-header .header-hitbox.is-account-chip:active,
.fixed-header .header-hitbox.is-bell-chip:active {
  transform: none;
}

.fixed-header .header-hitbox.is-account-chip:focus-visible,
.fixed-header .header-hitbox.is-bell-chip:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: 2px;
}

.fixed-header.is-authenticated .header-sign-static {
  opacity: 0 !important;
  pointer-events: none !important;
}

.fixed-header.is-authenticated .header-sign-target {
  opacity: 0 !important;
  pointer-events: none !important;
}

.fixed-header.is-authenticated .header-bell-icon,
.fixed-header.is-authenticated .header-bell-icon-secondary,
.fixed-header.is-authenticated .header-bell-compact-extra,
.fixed-header.is-authenticated .header-bell-static-badge {
  opacity: 0 !important;
  pointer-events: none !important;
}

.fixed-header .header-bell-static-badge {
  opacity: 0 !important;
  pointer-events: none !important;
}

.fixed-header .header-account-avatar {
  position: absolute;
  left: 5px;
  top: 5px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFF9F15ee 0%, #f4d8c9 100%);
  box-shadow: inset 0 0 0 3px #232030;
  color: #5a3f35;
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 800;
  line-height: 42px;
  text-align: center;
  flex: 0 0 auto;
}

.fixed-header .header-account-avatar.has-image {
  background-color: #FFF9F1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.fixed-header .header-account-chevron {
  position: absolute;
  left: 57px;
  top: 21px;
  width: 16px;
  height: 10px;
  min-width: 16px;
  min-height: 10px;
  max-width: 16px;
  max-height: 10px;
  display: block;
  object-fit: contain;
  object-position: center;
}


.fixed-header .header-account-chevron path {
  fill: #232030;
  stroke: none;
}

.fixed-header .header-bell-chip-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 32px;
  min-width: 28px;
  min-height: 32px;
  max-width: 28px;
  max-height: 32px;
  flex: 0 0 28px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.fixed-header .header-bell-chip-icon path {
  stroke: #232030;
  stroke-width: 2.16667;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fixed-header .header-bell-chip-badge {
  position: absolute;
  left: 28px;
  top: 4px;
  height: 18px;
  min-width: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-alert-red);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fixed-header .header-tablet-bell-badge[hidden],
.fixed-header .header-bell-chip-badge[hidden],
.fixed-header .header-bell-guest-badge[hidden] {
  display: none !important;
}

.fixed-header .header-bell-guest-badge {
  position: absolute;
  left: 28px;
  top: 4px;
  height: 18px;
  min-width: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-alert-red);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fixed-header .header-hitbox.is-bell-chip .header-account-chevron {
  left: 45px;
  top: 21px;
  width: 16px;
  height: 10px;
}

.fixed-header .header-account-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 276px;
  background: var(--popup-bg);
  border: 1px solid var(--popup-border);
  border-radius: 13px;
  box-shadow: 0 10px 20px rgba(35, 32, 48, 0.12);
  z-index: 4;
  overflow: visible;
}

.fixed-header .header-account-panel::before {
  display: none;
}

.fixed-header .header-account-panel.is-open {
  animation: header-panel-fade-in 0.22s ease both;
}

.fixed-header .header-account-panel-inner {
  position: relative;
  z-index: 1;
  border-radius: 13px;
  overflow: hidden;
  background: var(--popup-bg);
}

.fixed-header .header-account-sheet-grip {
  display: none;
}

.fixed-header .header-account-profile {
  width: 100%;
  border: 0;
  background: var(--popup-bg);
  margin: 0;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--popup-border-strong);
  transition: background-color 0.22s ease;
}

.fixed-header .header-account-profile:hover,
.fixed-header .header-account-profile:focus-visible {
  background: var(--popup-hover);
}

.fixed-header .header-account-profile:focus-visible,
.fixed-header .header-account-item:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: -2px;
}

.fixed-header .header-account-profile .header-account-avatar {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: block;
  flex: 0 0 42px;
  margin-right: 2px;
  width: 42px;
  height: 42px;
  line-height: 42px;
  font-size: 14px;
  box-shadow:
    inset 0 0 0 1.5px #232030,
    0 3px 8px rgba(35, 32, 48, 0.12);
}

.fixed-header .header-account-profile-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fixed-header .header-account-profile-name {
  color: #232030;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-account-profile-link {
  color: #232030;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
}

.fixed-header .header-account-section {
  padding: 0;
  border-top: 1px solid var(--popup-border-strong);
}

.fixed-header .header-account-section:first-of-type {
  border-top: 0;
}

.fixed-header .header-account-item {
  width: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.22s ease;
}

.fixed-header .header-account-item:hover,
.fixed-header .header-account-item:focus-visible {
  background: var(--popup-hover);
}

.fixed-header .header-account-item-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fixed-header .header-account-item-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.fixed-header .header-account-item-icon img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.fixed-header .header-account-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fixed-header .header-account-item-text {
  color: #232030;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
}

.fixed-header .header-account-item-note {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
}

.fixed-header .header-account-item.is-logout .header-account-item-text {
  font-weight: 600;
}

.fixed-header .header-notifications-panel {
  --popup-title-font: var(--font-body);
  --popup-title-size: 16px;
  --popup-title-weight: 700;
  --popup-title-line-height: 20px;
  --popup-title-letter-spacing: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 306px;
  background: var(--popup-bg);
  border: 0;
  border-radius: 15px;
  box-shadow: var(--popup-shadow-soft);
  z-index: 4;
  overflow: hidden;
}

@keyframes header-notifications-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fixed-header .header-notifications-panel.is-open:not(.is-mobile-sheet) {
  animation: header-notifications-fade-in 0.14s ease both;
}

.fixed-header .header-notifications-panel-inner {
  position: relative;
  z-index: 1;
  border-radius: 15px;
  overflow: hidden;
  background: var(--popup-bg);
}

.fixed-header .header-notifications-sheet-grip {
  display: none;
}

.fixed-header .header-notifications-panel-head {
  padding: 14px 15px 10px;
  border-bottom: 1px solid var(--popup-border);
  text-align: left;
}

.fixed-header .header-notifications-panel-title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--popup-title-font, var(--font-display));
  font-size: var(--popup-title-size, 25px);
  font-weight: var(--popup-title-weight, 600);
  line-height: var(--popup-title-line-height, 1.16);
  letter-spacing: var(--popup-title-letter-spacing, 0);
}

.fixed-header .header-notifications-panel-body {
  padding: 9px;
  background: var(--popup-bg);
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: min(366px, calc(100vh - 180px));
  overflow-y: auto;
}

.fixed-header .header-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fixed-header .header-notifications-card {
  --header-notification-surface: var(--color-sand-dark);
  --header-notification-hover-surface: var(--color-sand-dark);
  --header-notification-icon-surface: var(--color-sand-dark);
  --header-notification-line: var(--color-sand-dark);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px 10px 10px;
  border-radius: 10px;
  background: transparent;
  width: 100%;
  border: 0;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.fixed-header .header-notifications-card:hover,
.fixed-header .header-notifications-card:focus-visible {
  background: var(--header-notification-hover-surface);
  box-shadow: inset 0 0 0 1px var(--header-notification-line);
  transform: none;
}

.fixed-header .header-notifications-card.is-type-message {
  --header-notification-surface: color-mix(in srgb, var(--color-forest) 5%, var(--color-sand-dark));
  --header-notification-hover-surface: color-mix(in srgb, var(--color-forest) 7%, var(--color-sand-dark));
  --header-notification-icon-surface: color-mix(in srgb, var(--color-forest) 8%, var(--color-sand-dark));
  --header-notification-line: color-mix(in srgb, var(--color-forest) 10%, var(--color-sand-dark));
}

.fixed-header .header-notifications-card.is-type-deal {
  --header-notification-surface: color-mix(in srgb, var(--color-warn) 4%, var(--color-sand-dark));
  --header-notification-hover-surface: color-mix(in srgb, var(--color-warn) 6%, var(--color-sand-dark));
  --header-notification-icon-surface: color-mix(in srgb, var(--color-warn) 7%, var(--color-sand-dark));
  --header-notification-line: color-mix(in srgb, var(--color-warn) 10%, var(--color-sand-dark));
}

.fixed-header .header-notifications-card.is-type-cart,
.fixed-header .header-notifications-card.is-type-plant {
  --header-notification-surface: color-mix(in srgb, var(--color-forest) 4%, var(--color-sand-dark));
  --header-notification-hover-surface: color-mix(in srgb, var(--color-forest) 6%, var(--color-sand-dark));
  --header-notification-icon-surface: color-mix(in srgb, var(--color-forest) 7%, var(--color-sand-dark));
  --header-notification-line: color-mix(in srgb, var(--color-forest) 9%, var(--color-sand-dark));
}

.fixed-header .header-notifications-card:hover .header-notifications-card-title,
.fixed-header .header-notifications-card:focus-visible .header-notifications-card-title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: currentColor;
}

.fixed-header .header-notifications-card:focus-visible {
  outline: 2px solid var(--popup-focus);
  outline-offset: 2px;
}

.fixed-header .header-notifications-card.is-unread {
  background: var(--header-notification-surface);
  box-shadow: inset 0 0 0 1px var(--header-notification-line);
}

.fixed-header .header-notifications-card.is-unread:hover,
.fixed-header .header-notifications-card.is-unread:focus-visible {
  background: var(--header-notification-hover-surface);
}

.fixed-header .header-notifications-card.is-unread::after {
  content: none;
  display: none;
}

.fixed-header .header-notifications-card-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--header-notification-icon-surface);
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1px var(--header-notification-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.fixed-header .header-notifications-card-icon-img {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
}

.fixed-header .header-notifications-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
}

.fixed-header .header-notifications-card-meta {
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fixed-header .header-notifications-card-title {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
}

.fixed-header .header-notifications-card-text {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
}

.fixed-header .header-notifications-card-timing {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fixed-header .header-notifications-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.fixed-header .header-notifications-card-action {
  margin-left: auto;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
}

.fixed-header .header-notifications-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 208px;
  padding: 18px 14px 16px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.fixed-header .header-notifications-empty-illustration {
  width: min(182px, 100%);
  aspect-ratio: 645 / 524;
  display: block;
  object-fit: contain;
}

.fixed-header .header-notifications-empty-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 230px;
}

.fixed-header .header-notifications-empty-title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display, var(--font-body));
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.fixed-header .header-notifications-empty-text {
  margin: 0;
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.fixed-header .header-notifications-more {
  color: #232030;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

@keyframes header-wishlist-attention-glow {
  0% {
    stroke: transparent;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 0 rgba(35, 32, 48, 0));
    transform: scale(1);
  }
  20% {
    stroke: rgba(63, 106, 96, 0.55);
    stroke-width: 1.8;
    filter: drop-shadow(0 2px 8px rgba(63, 106, 96, 0.2));
    transform: scale(1.01);
  }
  50% {
    stroke: rgba(63, 106, 96, 0.95);
    stroke-width: 2.2;
    filter: drop-shadow(0 0 14px rgba(63, 106, 96, 0.55))
      drop-shadow(0 6px 14px rgba(35, 32, 48, 0.22));
    transform: scale(1.02);
  }
  80% {
    stroke: rgba(63, 106, 96, 0.55);
    stroke-width: 1.8;
    filter: drop-shadow(0 2px 8px rgba(63, 106, 96, 0.2));
    transform: scale(1.01);
  }
  100% {
    stroke: transparent;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 0 rgba(35, 32, 48, 0));
    transform: scale(1);
  }
}

@keyframes header-wishlist-attention-text {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.74;
  }
  100% {
    opacity: 1;
  }
}

.fixed-header .header-wishlist-target.is-attention:not(.is-hover) {
  animation: header-wishlist-attention-glow 2.2s ease-in-out infinite;
}

.fixed-header .header-wishlist-text.is-attention:not(.is-hover) {
  animation: header-wishlist-attention-text 2.2s ease-in-out infinite;
}

.fixed-header .header-mic-bubble {
  fill: transparent;
  pointer-events: none;
  transition: fill 0.24s ease, filter 0.24s ease;
}

.fixed-header .header-mic-bubble.is-hover {
  fill: rgba(63, 106, 96, 0.08) !important;
  animation: none;
  filter: none;
}

.fixed-header .header-search-native-text {
  opacity: 0 !important;
}

.fixed-header .header-search-shell-outer,
.fixed-header .header-search-shell-inner {
  transition: opacity 0.18s ease, stroke 0.18s ease;
}

.fixed-header .header-search-shell-inner {
  stroke: #D6CFB8 !important;
}

.fixed-header .header-search-active-outline {
  display: block !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  fill: none !important;
  stroke: #3f6a60 !important;
  stroke-width: 2 !important;
}

.fixed-header.is-search-active .header-search-active-outline {
  opacity: 1;
}

.fixed-header .header-search-mask {
  position: absolute;
  left: 336px;
  top: 20px;
  width: 572px;
  height: 42px;
  border-radius: 21px;
  background: transparent;
  pointer-events: none;
  z-index: var(--header-layer-line);
  display: none;
}

.fixed-header .header-search-hints {
  position: absolute;
  left: 338px;
  top: 30px;
  width: 431px;
  height: 20px;
  border-radius: 12px;
  background: transparent;
  color: #829181;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
  pointer-events: none;
  user-select: none;
  z-index: var(--header-layer-search-text);
}

.fixed-header .header-search-input {
  position: absolute;
  left: 338px;
  top: 30px;
  width: 431px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #232030;
  caret-color: #232030;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  appearance: none;
  pointer-events: auto;
  z-index: calc(var(--header-layer-search-text) + 1);
}

.fixed-header .header-search-input::placeholder {
  color: #829181;
}

@keyframes header-panel-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fixed-header .header-search-popover,
.fixed-header .header-categories-backdrop,
.fixed-header .header-burger-backdrop,
.fixed-header .header-burger-panel,
.fixed-header .header-cart-panel,
.fixed-header .header-account-panel,
.fixed-header .header-notifications-panel,
.fixed-header .header-categories-panel,
.fixed-header .header-mic-panel {
  pointer-events: auto;
}

.fixed-header .header-search-popover[hidden],
.fixed-header .header-categories-backdrop[hidden],
.fixed-header .header-burger-backdrop[hidden],
.fixed-header .header-burger-panel[hidden],
.fixed-header .header-cart-panel[hidden],
.fixed-header .header-account-panel[hidden],
.fixed-header .header-notifications-panel[hidden],
.fixed-header .header-categories-panel[hidden],
.fixed-header .header-mic-panel[hidden] {
  display: none !important;
}

.fixed-header .header-floating-layer [hidden] {
  display: none !important;
}

.fixed-header .header-mic-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 284px;
  min-width: 0;
  padding: 14px;
  background: var(--popup-bg);
  border: 1px solid var(--popup-border);
  border-radius: 24px;
  box-shadow: var(--popup-shadow-soft);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
}

.fixed-header .header-mic-panel.is-open {
  animation: header-panel-fade-in 0.19s ease both;
}

.fixed-header .header-mic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fixed-header .header-mic-title {
  margin: 0;
  color: #232030;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.fixed-header .header-mic-close {
  width: 64px;
  height: 40px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(230, 240, 234, 0.86);
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
}

.fixed-header .header-mic-close svg {
  position: absolute;
  left: 19px;
  top: 7px;
  width: 26px;
  height: 26px;
  display: block;
}

.fixed-header .header-mic-close:hover,
.fixed-header .header-mic-close:focus-visible {
  background: #232030;
}

.fixed-header .header-mic-close:focus-visible {
  outline: 2px solid rgba(63, 106, 96, 0.32);
  outline-offset: 1px;
}

.fixed-header .header-mic-status {
  margin: 0;
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.fixed-header .header-mic-cta {
  align-self: center;
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 44px;
  background: #232030;
  color: var(--color-cream);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(35, 32, 48, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.fixed-header .header-mic-cta svg {
  width: 30px;
  height: 30px;
  display: block;
}

.fixed-header .header-mic-cta:hover,
.fixed-header .header-mic-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(35, 32, 48, 0.24);
}

.fixed-header .header-mic-cta:focus-visible {
  outline: 2px solid rgba(63, 106, 96, 0.32);
  outline-offset: 2px;
}

@keyframes header-mic-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 106, 96, 0.45), 0 6px 14px rgba(35, 32, 48, 0.2);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(63, 106, 96, 0), 0 6px 14px rgba(35, 32, 48, 0.2);
  }
}

.fixed-header .header-mic-panel.is-listening .header-mic-cta {
  background: #3f6a60;
  animation: header-mic-pulse 1s ease-out infinite;
}

.fixed-header .header-mic-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fixed-header .header-mic-chip {
  border: 1px solid var(--popup-border-strong);
  border-radius: 999px;
  background: var(--popup-bg);
  color: #232030;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fixed-header .header-mic-chip:hover,
.fixed-header .header-mic-chip:focus-visible {
  background: var(--popup-hover);
  border-color: #3f6a60;
}

.fixed-header .header-mic-chip:focus-visible {
  outline: 2px solid rgba(63, 106, 96, 0.32);
  outline-offset: 1px;
}

.fixed-header .header-mic-result {
  margin: 0;
  color: #232030;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.fixed-header .header-mic-result__lead,
.fixed-header .header-mic-result__hint {
  display: block;
}

.fixed-header .header-mic-result__lead {
  font-weight: 600;
}

.fixed-header .header-mic-result__hint {
  margin-top: 8px;
  color: #697287;
  font-size: 12px;
  line-height: 16px;
}

.fixed-header .header-mic-result__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.fixed-header .header-mic-result__chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f8f1eb;
  color: #232030;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fixed-header .header-search-popover {
  position: absolute;
  left: 0;
  top: 0;
  width: 653px;
  background: var(--popup-bg);
  border: 1px solid var(--popup-border);
  border-radius: 20px;
  box-shadow: var(--popup-shadow-soft);
  z-index: 3;
  padding: 8px;
  overflow: auto;
}

.fixed-header .header-search-popover.is-open {
  animation: header-panel-fade-in 0.19s ease both;
}

.fixed-header .header-search-popover--focus {
  padding-bottom: 10px;
}

.fixed-header .header-search-popover--typed {
  padding-top: 10px;
  padding-bottom: 10px;
}

.fixed-header .header-search-popover-title {
  margin: 0 10px 8px;
  color: #232030;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.fixed-header .header-search-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fixed-header .header-search-row {
  width: 100%;
  min-height: 50px;
  border: 0;
  background: transparent;
  border-radius: 14px;
  padding: 8px 15px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.fixed-header .header-search-popover--focus .header-search-row {
  padding: 0;
}

.fixed-header .header-search-row:hover,
.fixed-header .header-search-row:focus-visible,
.fixed-header .header-search-row.is-preview {
  background: var(--popup-hover);
}

.fixed-header .header-search-row.is-static {
  cursor: default;
}

.fixed-header .header-search-row.is-static:hover,
.fixed-header .header-search-row.is-static:focus-visible {
  background: transparent;
  outline: 0;
}

.fixed-header .header-search-row:focus-visible {
  outline: 2px solid rgba(63, 106, 96, 0.32);
  outline-offset: 0;
}

.fixed-header .header-search-row--action {
  margin-top: 2px;
}

.fixed-header .header-search-thumb {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #8e95b2;
  flex: 0 0 auto;
}

.fixed-header .header-search-popover--focus .header-search-thumb {
  margin-left: 2px;
}

.fixed-header .header-search-thumb.is-photo {
  background: linear-gradient(135deg, #f6c443 0%, #c58f3f 45%, #7d87b1 100%);
}

.fixed-header .header-search-row-text {
  color: #232030;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.fixed-header .header-search-popover--focus .header-search-row-text {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
}

.fixed-header .header-search-row-text strong,
.fixed-header .header-search-row--action .header-search-row-text {
  font-weight: 700;
}

.fixed-header .header-burger-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35, 32, 48, 0.18);
  z-index: 6;
  backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.08s cubic-bezier(0.16, 1, 0.3, 1);
}

.fixed-header .header-burger-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fixed-header .header-burger-panel,
.fixed-header .header-cart-panel {
  position: fixed;
  /* Initial CSS position — JS (syncBurgerPanelPosition) overrides
     `left` and width on every open / resize so the popup's right
     edge always lands exactly at window.innerWidth, regardless of
     body's `padding-right` scroll-lock compensation or any other
     containing-block weirdness. Steven 2026-05-05. */
  right: 0;
  top: 74px;
  width: 288px;
  height: calc(100vh - 74px);
  max-height: calc(100vh - 74px);
  border-radius: 0;
  border-left: 1px solid var(--color-line);
  background: #f8f1eb;
  /* Shadow only on the LEFT — negative spread (-12) shrinks the
     shadow rect so the blur halo doesn't bleed up into the header.
     Steven 2026-05-05. */
  box-shadow: -16px 0 18px -12px rgba(35, 32, 48, 0.32);
  z-index: 7;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.18, 1, 0.2, 1);
  will-change: transform;
  margin: 0;
}

.fixed-header .header-burger-panel.is-open,
.fixed-header .header-cart-panel.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

/* Tail — small triangle on TOP of popup, pointing up to the burger
   button. Right offset is set dynamically by syncBurgerTail() in
   header-shell.js (varies with header padding clamp).
   Uses an SVG asset for crisp 1 px stroke (border-trick triangles
   give sub-pixel rounding artifacts at the tip). The asset fill
   matches the popup background; stroke matches the contour colour.
   The tip pixel covers the popup top border line because the SVG
   bottom edge sits 1 px below panel top.
   Steven 2026-05-05. */
.fixed-header .header-burger-panel::before {
  content: "";
  position: absolute;
  /* Sit 1 px BELOW panel top so the SVG's open path bottom hides the
     popup top border line that runs across the panel. The visible
     triangle is still cleanly above. */
  top: -12px;
  right: var(--burger-tail-right, 43px);
  width: 24px;
  height: 13px;
  /* SVG `path` (M…L…L) is OPEN — fill auto-closes to draw the
     triangle, but stroke renders ONLY the 2 slanted segments (no
     horizontal bottom stroke). That kills the unwanted line under
     the tail. Steven 2026-05-05. */
  background-image: url("assets/header-icons/popup-tail.svg");
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 3;
}

.fixed-header .header-cart-panel::before {
  content: "";
  position: absolute;
  top: -12px;
  right: var(--cart-tail-right, 101px);
  width: 24px;
  height: 13px;
  background-image: url("assets/header-icons/popup-tail.svg");
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 3;
}

/* Burger button "pressed" state — same cream hover bg while panel
   is open, so it reads as an active toggle. */
body.header-burger-panel-open .fixed-header .header-desktop-burger::before,
body.header-cart-panel-open .fixed-header .header-desktop-cart::before {
  background: #dcddd4;
}

/* Hide the backdrop dimming when popup opens — Steven 2026-05-05. */
.fixed-header .header-burger-backdrop,
.fixed-header .header-burger-backdrop.is-open {
  display: none !important;
}

@media (max-width: 880px) {
  body.header-burger-panel-open::before,
  body.header-cart-panel-open::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: 78px;
    bottom: 84px;
    background: rgba(35, 32, 48, 0.38);
    pointer-events: none;
    z-index: 4990;
  }

  .fixed-header .header-burger-panel::before,
  .fixed-header .header-cart-panel::before {
    display: none;
  }

  .fixed-header .header-burger-panel,
  .fixed-header .header-cart-panel {
    left: auto !important;
    right: 0 !important;
    width: min(288px, calc(100vw - 24px)) !important;
    top: 78px !important;
    bottom: 84px !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* Keep the page geometry unchanged while header popups are open. */
html.header-panel-open {
  background: #f8f1eb !important;
}

html.header-categories-panel-open,
body.header-categories-panel-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

.fixed-header .header-cart-top {
  position: relative;
  width: 100%;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px 0 20px;
  border-bottom: 1px solid var(--color-line);
}

.fixed-header .header-cart-title {
  margin: 0;
  color: #232030;
  font-family: var(--font-display, var(--font-body));
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.fixed-header .header-cart-view-all {
  min-width: 86px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #232030;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fixed-header .header-cart-view-all img {
  width: 18px;
  height: 12px;
  display: block;
  transition: transform var(--duration-fast, 180ms) var(--ease-standard, ease);
}

.fixed-header .header-cart-view-all:hover img,
.fixed-header .header-cart-view-all:focus-visible img {
  transform: translateX(3px);
}

.fixed-header .header-cart-view-all:focus-visible,
.fixed-header .header-cart-continue:focus-visible,
.fixed-header .header-cart-card-remove:focus-visible,
.fixed-header .header-cart-empty button:focus-visible {
  outline: 2px solid var(--popup-focus);
  outline-offset: 2px;
}

.fixed-header .header-cart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 0 12px;
}

.fixed-header .header-cart-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fixed-header .header-cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fixed-header .header-cart-card {
  position: relative;
  width: calc(100% - 35px);
  min-height: 0;
  margin: 0 25px 0 10px;
  border-radius: 0;
  background: #f8f1eb;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  overflow: visible;
}

.fixed-header .header-cart-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.36 / 1;
  border-radius: 18px;
  overflow: hidden;
}

.fixed-header .header-cart-card-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: var(--popup-bg);
  color: #3f6a60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.fixed-header .header-cart-card-thumb::after {
  content: none;
}

.fixed-header .header-cart-card-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fixed-header .header-cart-card-thumb-blank {
  width: 100%;
  height: 100%;
  display: block;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 249, 241, 0.92) 0%, rgba(255, 249, 241, 0) 35%),
    linear-gradient(135deg, #e9eef5 0%, #f4eee8 100%);
}

.fixed-header .header-cart-card-copy {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fixed-header .header-cart-card-title {
  display: none;
  color: #232030;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 15px;
  text-decoration: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fixed-header .header-cart-card-title:hover,
.fixed-header .header-cart-card-title:focus-visible {
  color: #3f6a60;
}

.fixed-header .header-cart-card-meta {
  display: none;
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.fixed-header .header-cart-card-price {
  color: #232030;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.fixed-header .header-cart-card-price-pill {
  position: absolute;
  left: 9px;
  bottom: 10px;
  max-width: calc(100% - 19px);
  min-height: 31px;
  padding: 0 10px 0 9px;
  border-radius: 999px;
  background: var(--popup-bg);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.14);
}

.fixed-header .header-cart-card-price-old {
  min-width: 0;
  color: #232030;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: line-through;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-cart-card-old {
  display: none;
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixed-header .header-cart-card-status,
.fixed-header .header-cart-card-signal {
  color: #e60023;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.fixed-header .header-cart-card-remove {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 249, 241, 0.94);
  color: #232030;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.94);
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.fixed-header .header-cart-card-remove::before {
  content: "";
  width: 19px;
  height: 19px;
  display: block;
  margin: auto;
  background: currentColor;
  -webkit-mask: url("assets/gift-room-icons/trash.svg") center / 19px 19px no-repeat;
  mask: url("assets/gift-room-icons/trash.svg") center / 19px 19px no-repeat;
}

.fixed-header .header-cart-card-media:hover .header-cart-card-remove,
.fixed-header .header-cart-card-media:focus-within .header-cart-card-remove {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.fixed-header .header-cart-card-remove:hover,
.fixed-header .header-cart-card-remove:focus-visible {
  background: var(--popup-bg);
  color: var(--color-alert-red, #b91515);
}

.fixed-header .header-cart-empty {
  width: 264px;
  margin: 10px auto 0;
  min-height: 168px;
  border: 1px solid var(--popup-outline);
  border-radius: 18px;
  padding: 18px;
  color: #232030;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.fixed-header .header-cart-empty[hidden],
.fixed-header .header-cart-footer[hidden] {
  display: none !important;
}

.fixed-header .header-cart-empty strong {
  font-family: var(--font-display, var(--font-body));
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.fixed-header .header-cart-empty span {
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.fixed-header .header-cart-empty button {
  align-self: flex-start;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #232030;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  padding: 0 15px;
  cursor: pointer;
}

.fixed-header .header-cart-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--color-line);
  padding: 10px 10px 8px;
}

.fixed-header .header-cart-continue {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 24px;
  background: #232030;
  color: #FFF9F1;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.fixed-header .header-cart-continue span {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.fixed-header .header-cart-continue strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 16px;
}

.fixed-header .header-cart-footer p {
  margin: 4px 0 0;
  color: #232030;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

.fixed-header .header-burger-top {
  position: relative;
  width: 100%;
  height: 52px;
  flex: 0 0 52px;
}

.fixed-header .header-burger-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #d9d5d0;
}

.fixed-header .header-burger-title {
  position: absolute;
  left: 20px;
  top: 0;
  margin: 0;
  height: 52px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display, var(--font-body));
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  color: #232030;
}

.fixed-header .header-burger-close {
  position: absolute;
  right: 20px;
  top: 27px;
  width: 78px;
  height: 55px;
  border: 0;
  border-radius: 999px;
  background: #dcddd4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fixed-header .header-burger-close svg,
.fixed-header .header-burger-close img {
  width: 17px;
  height: 17px;
  display: block;
}

.fixed-header .header-burger-close:hover,
.fixed-header .header-burger-close:focus-visible {
  background: #d2d4ca;
}

.fixed-header .header-burger-close:focus-visible {
  outline: 2px solid var(--popup-focus);
  outline-offset: 2px;
}

.fixed-header .header-burger-body {
  position: relative;
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 0 16px;
}

.fixed-header .header-burger-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fixed-header .header-burger-signin {
  width: 264px;
  min-height: 68px;
  margin: 0 auto;
  background: var(--popup-bg);
  border-radius: 18px;
  border: 0;
  padding: 13px 13px 13px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(35, 32, 48, 0.08);
}

.fixed-header .header-burger-signin-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(63, 106, 96, 0.27);
  border: 1px solid #3f6a60;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fixed-header .header-burger-signin-avatar svg {
  width: 20px;
  height: 20px;
  display: block;
}

.fixed-header .header-burger-signin-avatar.is-account-avatar {
  background: linear-gradient(180deg, #FFF9F18f1 0%, #f4d3c6 100%);
  border: 0;
  box-shadow:
    inset 0 0 0 3px var(--color-forest),
    0 2px 6px rgba(35, 32, 48, 0.14);
  color: #5a3f35;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 42px;
  text-align: center;
}

.fixed-header .header-burger-signin-avatar.is-account-avatar.has-image {
  background-color: #FFF9F1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.fixed-header .header-burger-signin-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fixed-header .header-burger-signin-title {
  color: #232030;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-burger-signin-hint {
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-burger-signin-action {
  margin-left: auto;
  width: auto;
  min-width: 75px;
  max-width: 112px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--popup-outline);
  background: var(--popup-bg);
  color: #232030;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 15px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-burger-signin.is-authenticated .header-burger-signin-action {
  display: inline-flex;
}

.fixed-header .header-burger-signin.is-authenticated .header-burger-signin-hint {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* Let the signed-in name use up to two lines instead of cutting off mid-word
   ("Steven Su…"). Clamps at 2 lines so very long names can't blow up the card. */
.fixed-header .header-burger-signin.is-authenticated .header-burger-signin-title {
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.fixed-header .header-burger-signin-action:hover,
.fixed-header .header-burger-signin-action:focus-visible {
  background: var(--popup-hover);
  border-color: var(--popup-outline);
}

.fixed-header .header-burger-signin-action:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: 2px;
}

.fixed-header .header-burger-dashboard {
  width: 264px;
  margin: 8px auto 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fixed-header .header-burger-dashboard[hidden] {
  display: none;
}

.fixed-header .header-burger-dashboard-card {
  width: 100%;
  min-height: 70px;
  border: 0;
  border-radius: 18px;
  background: #DCDDD3;
  color: #232030;
  padding: 12px 11px 10px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title cta"
    "text cta";
  column-gap: 10px;
  row-gap: 3px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(35, 32, 48, 0.06);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.fixed-header .header-burger-dashboard-card:hover,
.fixed-header .header-burger-dashboard-card:focus-visible {
  background: #DCDDD3;
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
  outline: 0;
}

.fixed-header .header-burger-dashboard.is-shop-dashboard .header-burger-dashboard-card {
  background: var(--color-forest);
  color: var(--popup-bg);
  min-height: 70px;
  padding: 11px 13px;
  grid-template-areas:
    "eyebrow cta"
    "title cta"
    "text cta";
  row-gap: 3px;
}

.fixed-header .header-burger-dashboard-eyebrow,
.fixed-header .header-burger-dashboard-text,
.fixed-header .header-burger-dashboard-cta,
.fixed-header .header-burger-dashboard-action-label,
.fixed-header .header-burger-dashboard-action-text,
.fixed-header .header-burger-dashboard-action-cta,
.fixed-header .header-burger-dashboard-metric-label {
  font-family: var(--font-body);
}

.fixed-header .header-burger-dashboard-eyebrow {
  display: none;
  grid-area: eyebrow;
  color: currentColor;
  opacity: 0.72;
  font-size: 9px;
  font-weight: 800;
  line-height: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fixed-header .header-burger-dashboard.is-shop-dashboard .header-burger-dashboard-eyebrow {
  display: block;
}

.fixed-header .header-burger-dashboard-title {
  display: block;
  grid-area: title;
  color: currentColor;
  font-family: var(--font-display, var(--font-body));
  font-size: 17px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fixed-header .header-burger-dashboard-text {
  display: block;
  grid-area: text;
  color: currentColor;
  opacity: 0.82;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-burger-dashboard-cta {
  grid-area: cta;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: var(--color-sand);
  color: var(--color-ink);
  padding: 0;
  font-size: 0;
  font-weight: 800;
  line-height: 0;
  white-space: nowrap;
}

.fixed-header .header-burger-dashboard-cta-icon {
  width: 17px;
  height: 17px;
  display: block;
  object-fit: contain;
}

.fixed-header .header-burger-dashboard.is-shop-dashboard .header-burger-dashboard-cta {
  width: auto;
  height: auto;
  min-height: 26px;
  background: var(--popup-bg);
  color: var(--color-forest);
  padding: 0 11px;
  font-size: 11px;
  line-height: 13px;
}

.fixed-header .header-burger-dashboard:not(.is-shop-dashboard) .header-burger-dashboard-cta {
  background: var(--color-sand);
  color: var(--color-ink);
}

.fixed-header .header-burger-dashboard-metrics {
  display: block;
}

.fixed-header .header-burger-dashboard-action {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 16px;
  padding: 9px 10px;
  background: var(--popup-bg-soft);
  color: var(--color-ink);
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--popup-outline-soft, var(--color-sand-dark));
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.fixed-header .header-burger-dashboard-action.has-no-dashboard-action-icon {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-left: 14px;
}

.fixed-header .header-burger-dashboard-action:hover,
.fixed-header .header-burger-dashboard-action:focus-visible {
  background: var(--popup-hover);
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
  outline: 0;
}

.fixed-header .header-burger-dashboard-action.is-active {
  background: color-mix(in srgb, var(--color-forest) 8%, var(--popup-bg-soft));
}

.fixed-header .header-burger-dashboard-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-forest) 9%, var(--popup-bg));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--popup-outline-soft, var(--color-sand-dark));
}

.fixed-header .header-burger-dashboard-action.has-no-dashboard-action-icon .header-burger-dashboard-action-icon,
.fixed-header .header-burger-dashboard-action-icon[hidden] {
  display: none;
}

.fixed-header .header-burger-dashboard-action-icon img {
  width: 17px;
  height: 17px;
  display: block;
  object-fit: contain;
}

.fixed-header .header-burger-dashboard-action-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fixed-header .header-burger-dashboard-action-label {
  color: var(--color-ink-soft);
  font-size: 9px;
  font-weight: 800;
  line-height: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-burger-dashboard-action-title {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  line-height: 15px;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fixed-header .header-burger-dashboard-action-text {
  color: var(--color-ink-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-burger-dashboard-action-cta {
  justify-self: end;
  align-self: center;
  min-height: 24px;
  border-radius: 999px;
  background: var(--color-forest);
  color: var(--popup-bg);
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 800;
  line-height: 12px;
  white-space: nowrap;
}

.fixed-header .header-burger-dashboard-metric {
  min-height: 54px;
  border-radius: 16px;
  padding: 9px 10px;
  background: var(--popup-bg-soft);
  border: 0;
  color: #232030;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(35, 32, 48, 0.08);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.fixed-header .header-burger-dashboard-metric:hover,
.fixed-header .header-burger-dashboard-metric:focus-visible {
  background: var(--popup-hover);
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
  outline: 0;
}

.fixed-header .header-burger-dashboard-metric.is-active {
  background: #EEE5DA;
}

.fixed-header .header-burger-dashboard-metric-label {
  color: var(--color-ink-soft);
  font-size: 10px;
  font-weight: 800;
  line-height: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-header .header-burger-dashboard-metric-value {
  color: #232030;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 800;
  line-height: 21px;
  letter-spacing: 0;
}

/* === Featured nav items inside burger panel ===
   Steven 2026-05-04: chips moved from the header into the burger drawer
   and now render as ordinary .header-burger-item buttons (the same
   style as Cart / Categories / Gift Room / Favorites). No pill
   styles — visual consistency with the rest of the menu. The seasonal item
   is highlighted with a light cream backdrop via .header-burger-item.is-seasonal.
   The section is titled "Editor's picks" (our brand vocabulary). */

/* Seasonal + Editor's picks sections inside burger drawer.
   Live BELOW the primary group (Cart/Categories/Gift Room/Favorites/Events).
   Buttons use the EXACT same .header-burger-item base style, hover effect
   (#dcddd4 backdrop), padding, width — no overrides per Steven 2026-05-04.
   Only the section heading is styled, plus a subtle cream tint for the
   seasonal item that still respects the standard hover state. */

.fixed-header .header-burger-group {
  width: 272px;
  margin: 12px auto 0;
  background: #f8f1eb;
  border-radius: 16px;
}

.fixed-header .header-burger-group-primary {
  min-height: 281px;
  padding: 10px 0 4px;
}

.fixed-header .header-burger-group-preferences {
  padding: 6px 0 8px;
}

/* Equalized 14 px gap above EACH section title — Quick access /
   Seasonal / Editor's picks (Steven 2026-05-05). Decomposition:
   - Primary group pb (4) + Seasonal mt (4) + Seasonal pt (0) + Title mt (6) = 14
   - Seasonal pb (4) + Featured mt (4) + Featured pt (0) + Title mt (6) = 14
   - Default title mt (14) → Quick access (lives inside primary group)
   These rules go AFTER default `.header-burger-group { margin: 12px auto 0 }`
   to actually override margin-top. */
.fixed-header .header-burger-group-seasonal,
.fixed-header .header-burger-group-featured {
  margin: 4px auto 0;  /* visible 4px gap between cream cards */
  padding: 6px 0 4px;  /* pt: 6 (not margin) so it doesn't collapse with title */
}

.fixed-header .header-burger-group-seasonal .header-burger-section-title,
.fixed-header .header-burger-group-featured .header-burger-section-title {
  margin: 0 22px 4px;  /* no top margin — group padding-top handles it */
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6e6a76;
  text-transform: none;
}

/* Force the same fixed width as primary-group items. Without this the
   seasonal section's single child would shrink to its content width
   (causing the visual misalignment Steven called out). */
.fixed-header .header-burger-group-seasonal .header-burger-item,
.fixed-header .header-burger-group-featured .header-burger-item {
  width: 256px;
}

/* Seasonal item — soft cream backdrop. Slightly darker on hover/focus
   so the standard interactive feedback is preserved. */
.fixed-header .header-burger-item.is-seasonal {
  background: #f6e3d2;
}

.fixed-header .header-burger-item.is-seasonal:hover,
.fixed-header .header-burger-item.is-seasonal:focus-visible {
  background: #f1d3b5;
}

.fixed-header .header-burger-item.is-seasonal .header-burger-item-icon img {
  width: 18px;
  height: 18px;
}

.fixed-header .header-burger-divider {
  width: 100%;
  height: 1px;
  margin: 10px 0 0;
  background: #d9d5d0;
}

.fixed-header .header-burger-section-title {
  margin: 14px 12px 10px;  /* 14 px lead-in matches Seasonal & Editor's picks */
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
}

.fixed-header .header-burger-item {
  width: 256px;
  height: 46px;
  margin: 0 auto;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.fixed-header .header-burger-item.is-dark {
  background: #232030;
}

.fixed-header .header-burger-item--stacked {
  height: 56px;
  align-items: center;
  padding-right: 18px;
}

.fixed-header .header-burger-item:hover,
.fixed-header .header-burger-item:focus-visible {
  background: #dcddd4;
}

.fixed-header .header-burger-item.is-primary:hover,
.fixed-header .header-burger-item.is-primary:focus-visible {
  background: #dcddd4;
}

.fixed-header .header-burger-item.is-dark:hover,
.fixed-header .header-burger-item.is-dark:focus-visible {
  background: #1d1a2b;
}

.fixed-header .header-burger-item:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: 0;
}

.fixed-header .header-burger-item-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.fixed-header .header-burger-item-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.fixed-header .header-burger-item-icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.fixed-header .header-burger-item-text {
  color: #232030;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 17px;
}

.fixed-header .header-burger-item-textwrap {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.fixed-header .header-burger-item-meta {
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixed-header .header-burger-item-chevron {
  width: 12px;
  height: 12px;
  margin-left: auto;
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 12px;
}

.fixed-header .header-burger-item-chevron img {
  width: 12px;
  height: 12px;
  display: block;
  object-fit: contain;
}

.fixed-header .header-burger-item--stacked .header-burger-item-chevron img {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.fixed-header .header-burger-journal-toggle {
  width: 28px;
  height: 28px;
  margin-left: auto;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-ink);
  transition: background-color 0.18s ease;
}

.fixed-header .header-burger-journal-toggle:hover,
.fixed-header .header-burger-journal-toggle:focus-visible {
  background: #cfd0c6;
}

.fixed-header .header-burger-journal-toggle img {
  width: 12px;
  height: 12px;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.fixed-header .header-burger-item-journal.is-journal-open .header-burger-journal-toggle img {
  transform: rotate(180deg);
}

.fixed-header .header-burger-subitem {
  padding-left: 46px;
}

.fixed-header .header-burger-subitem[hidden] {
  display: none;
}

.fixed-header .header-burger-subitem .header-burger-item-text {
  font-weight: 600;
  color: var(--color-ink-soft);
}

.fixed-header .header-burger-item.is-dark .header-burger-item-text {
  color: var(--color-cream);
}

.fixed-header .header-burger-item.is-dark .header-burger-item-icon img {
  filter: brightness(0) saturate(100%) invert(94%) sepia(18%) saturate(272%) hue-rotate(307deg) brightness(104%) contrast(94%);
}

.fixed-header .header-burger-item.is-primary .header-burger-item-text {
  font-size: 13px;
  line-height: 15px;
}

.fixed-header .header-burger-item[data-burger-item="cart"] .header-burger-item-icon {
  overflow: visible;
}

.fixed-header .header-burger-item[data-burger-item="cart"] .header-burger-item-icon img,
.fixed-header .header-burger-item[data-burger-item="cart"] .header-burger-item-icon svg {
  width: 52px;
  height: 52px;
  transform: scale(2);
  transform-origin: center;
}

.fixed-header .header-burger-item[data-burger-item="notifications"] .header-burger-item-icon img,
.fixed-header .header-burger-item[data-burger-item="notifications"] .header-burger-item-icon svg {
  width: 30px;
  height: 30px;
  transform: scale(1.15);
  transform-origin: center;
}

.fixed-header .header-burger-item-badge {
  margin-left: auto;
  min-width: 29px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-alert-red);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fixed-header .header-burger-item-badge[hidden] {
  display: none !important;
}

.fixed-header .header-burger-panel.is-subview-open .header-burger-body {
  display: none;
}

.fixed-header .header-burger-subview {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 16px 18px;
}

.fixed-header .header-burger-subview::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fixed-header .header-burger-subview-top {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--color-ink);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.fixed-header .header-burger-back {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  pointer-events: none;
}

.fixed-header .header-burger-subview-top:focus-visible {
  outline: 2px solid var(--popup-focus);
  outline-offset: 2px;
}

.fixed-header .header-burger-back img {
  width: 17px;
  height: 10px;
  display: block;
  transform: rotate(180deg);
  transform-origin: 50% 50%;
  transition: transform var(--duration-fast) var(--ease-standard);
}

.fixed-header .header-burger-subview-top:hover .header-burger-back img,
.fixed-header .header-burger-subview-top:focus-visible .header-burger-back img {
  transform: translateX(-3px) rotate(180deg);
}

.fixed-header .header-burger-subview-title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 22px;
}

.fixed-header .header-burger-choice-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fixed-header .header-burger-choice {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--color-ink);
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--duration-fast) var(--ease-standard);
}

.fixed-header .header-burger-choice:hover,
.fixed-header .header-burger-choice:focus-visible {
  background: var(--popup-hover);
}

.fixed-header .header-burger-choice:focus-visible {
  outline: 2px solid var(--popup-focus);
  outline-offset: 2px;
}

.fixed-header .header-burger-choice-text {
  min-width: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 18px;
  flex: 1 1 auto;
}

.fixed-header .header-burger-choice-meta {
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 14px;
  flex: 0 0 auto;
}

.fixed-header .header-burger-choice-check {
  width: 17px;
  height: 14px;
  flex: 0 0 17px;
  opacity: 0;
}

.fixed-header .header-burger-choice.is-selected .header-burger-choice-check {
  opacity: 1;
}

.fixed-header .header-burger-choice-check img {
  width: 17px;
  height: 14px;
  display: block;
  filter: brightness(0) saturate(100%);
}

.fixed-header .header-categories-panel {
  position: fixed;
  left: 0;
  top: 0;
  width: 1089px;
  height: 584px;
  border-radius: 20px;
  background: var(--popup-bg);
  border: 0;
  box-shadow: var(--popup-shadow);
  z-index: 3;
  padding: 0;
  display: flex;
  gap: clamp(10px, 1vw, 15px);
  overflow: hidden;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
}

.fixed-header .header-categories-backdrop {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 32, 48, 0.2);
  z-index: 1;
}

.fixed-header .header-categories-backdrop[hidden] {
  display: none !important;
}

.fixed-header .header-categories-panel.is-open {
  animation: header-panel-fade-in 0.19s ease both;
}

.fixed-header .header-categories-sidebar {
  width: clamp(220px, 28%, 314px);
  min-width: 220px;
  height: 100%;
  background: #dcddd4;
  border-radius: 20px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.fixed-header .header-categories-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-color: rgba(35, 32, 48, 0.36) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.fixed-header .header-category-tab {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  margin: 0;
  padding: 0 34px 0 10px;
  color: #232030;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s ease;
}

.fixed-header .header-category-tab-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
}

.fixed-header .header-category-tab-icon img {
  width: 21px;
  height: 21px;
  display: block;
  object-fit: contain;
}

.fixed-header .header-category-tab-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
  padding-bottom: 1px;
}

.fixed-header .header-category-tab::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #232030;
  opacity: 0.72;
  font-size: 14px;
  font-weight: 700;
}

.fixed-header .header-category-tab:hover,
.fixed-header .header-category-tab:focus-visible,
.fixed-header .header-category-tab.is-hovering,
.fixed-header .header-category-tab.is-active {
  background: var(--popup-bg);
}

.fixed-header .header-category-tab:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: 0;
}

.fixed-header .header-categories-all {
  margin-top: auto;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #232030;
  color: #FFF9F1;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.fixed-header .header-categories-all:hover,
.fixed-header .header-categories-all:focus-visible {
  background: var(--popup-bg);
  color: #232030;
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5);
}

.fixed-header .header-categories-all:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: 2px;
}

.fixed-header .header-categories-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 13px 12px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fixed-header .header-categories-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 8px;
}

.fixed-header .header-categories-title {
  min-width: 0;
  margin: 0;
  color: #232030;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixed-header .header-categories-browse {
  flex: 0 0 auto;
  max-width: min(100%, 320px);
  min-height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #232030;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  overflow: visible;
}

.fixed-header .header-categories-browse-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixed-header .header-categories-browse-icon {
  width: 17px;
  height: 10px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  transition: transform 0.18s ease;
}

.fixed-header .header-categories-browse:hover,
.fixed-header .header-categories-browse:focus-visible {
  background: transparent;
}

.fixed-header .header-categories-browse:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: 2px;
}

.fixed-header .header-categories-browse:hover .header-categories-browse-icon,
.fixed-header .header-categories-browse:focus-visible .header-categories-browse-icon {
  transform: translateX(4px);
}

.fixed-header .header-categories-description {
  margin: 0;
  color: #232030;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.fixed-header .header-subcategory-grid {
  --header-subcategory-columns: 4;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--header-subcategory-columns), minmax(0, 1fr));
  grid-auto-rows: min-content;
  gap: 12px;
  justify-content: start;
  align-content: start;
  align-items: start;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 10px 14px;
  scrollbar-color: rgba(35, 32, 48, 0.36) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.fixed-header .header-categories-tabs::-webkit-scrollbar,
.fixed-header .header-subcategory-grid::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.fixed-header .header-categories-tabs::-webkit-scrollbar-track,
.fixed-header .header-subcategory-grid::-webkit-scrollbar-track {
  background: transparent;
}

.fixed-header .header-categories-tabs::-webkit-scrollbar-thumb,
.fixed-header .header-subcategory-grid::-webkit-scrollbar-thumb {
  min-height: 44px;
  background: rgba(35, 32, 48, 0.34);
  background-clip: content-box;
  border: 2px solid transparent;
  border-radius: 999px;
}

.fixed-header .header-categories-tabs::-webkit-scrollbar-thumb:hover,
.fixed-header .header-subcategory-grid::-webkit-scrollbar-thumb:hover {
  background-color: rgba(35, 32, 48, 0.46);
}

.fixed-header .header-categories-tabs::-webkit-scrollbar-button,
.fixed-header .header-subcategory-grid::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.fixed-header .header-subcategory-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  justify-self: stretch;
  align-self: start;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 2px 2px 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
  text-align: center;
  overflow: visible;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fixed-header .header-subcategory-card:hover {
  background: var(--popup-bg);
  border-color: transparent;
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
  transform: none;
}

.fixed-header .header-subcategory-card.is-hovering {
  background: var(--popup-bg);
  border-color: transparent;
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
  transform: none;
}

.fixed-header .header-subcategory-card:focus-visible {
  outline: 2px solid #D6CFB8;
  outline-offset: 0;
  background: transparent;
  box-shadow: var(--homepage-card-hover-shadow, var(--shadow-card-hover));
}

.fixed-header .header-subcategory-thumb {
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 14px;
  background: #f0f3f8;
  overflow: hidden;
  box-shadow: none;
  transition: box-shadow 0.18s ease;
}

.fixed-header .header-subcategory-card:hover .header-subcategory-thumb,
.fixed-header .header-subcategory-card:focus-visible .header-subcategory-thumb,
.fixed-header .header-subcategory-card.is-hovering .header-subcategory-thumb {
  background: #f0f3f8;
  box-shadow: none;
}

.fixed-header .header-subcategory-thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fixed-header .header-subcategory-label {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #232030;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  padding: 1px 4px 2px;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

body.auth-modal-open {
  overflow: hidden;
}

@keyframes jp-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes header-auth-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes header-auth-close-bounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.header-auth-overlay {
  --popup-control-border: var(--popup-border-strong);
  --popup-focus: var(--color-forest);
  position: fixed;
  inset: 0;
  background: var(--popup-overlay);
  z-index: var(--z-modal-front, 13000);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.header-auth-overlay[hidden],
.header-auth-loader-card[hidden],
.header-auth-card[hidden] {
  display: none !important;
}

.header-auth-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.header-auth-overlay.is-closing {
  pointer-events: none;
}

.header-auth-overlay.is-open:not(.is-loading-view),
.header-auth-overlay.is-closing:not(.is-loading-view) {
  align-items: flex-start;
}

.header-auth-shell {
  width: 457px;
  max-width: calc(100vw - 40px);
  position: relative;
  margin: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.26s ease,
    transform 0.26s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}

.header-auth-overlay.is-open .header-auth-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.header-auth-overlay.is-closing .header-auth-shell {
  opacity: 0;
  transform: translateY(0) scale(1);
}

.header-auth-close {
  position: absolute;
  top: 0;
  left: calc(100% + var(--popup-close-offset, 10px));
  right: auto;
  width: var(--popup-close-width, 78px);
  height: var(--popup-close-height, 55px);
  border: 0;
  border-radius: 999px;
  background: var(--popup-bg);
  box-shadow: var(--popup-shadow-soft);
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.24s ease, filter 0.24s ease;
  will-change: transform;
}

.header-auth-close::before,
.header-auth-close::after {
  content: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink);
}

.header-auth-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.header-auth-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.header-auth-close-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--popup-close-icon-size, 17px);
  height: var(--popup-close-icon-size, 17px);
  display: block;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.header-auth-close:hover,
.header-auth-close:focus-visible {
  background: var(--popup-close-hover-bg, var(--sort-control-bg));
  animation: header-auth-close-bounce 0.28s cubic-bezier(0.23, 1.3, 0.32, 1) both;
  filter: var(--popup-close-hover-filter);
}

.header-auth-close:active {
  transform: none;
}

.header-auth-close:focus-visible {
  outline: 2px solid var(--popup-focus);
  outline-offset: 2px;
}

.header-auth-loader-card,
.header-auth-card {
  --header-auth-label-bg: var(--popup-bg);
  --header-auth-field-bg: var(--header-auth-label-bg);
  width: 100%;
  background: var(--popup-bg);
  box-shadow: var(--popup-shadow);
  border-radius: 30px;
  animation: header-auth-pop 0.24s ease;
  position: relative;
}

.header-auth-loader-card {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-page .header-auth-card {
  --header-auth-label-bg: var(--color-page-bg);
  --header-auth-field-bg: var(--color-page-bg);
}

.header-auth-loader-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Canonical circular loader: use this markup for every spinner-style loading state. */
.jp-canonical-spinner {
  width: var(--jp-spinner-size, 38px);
  height: var(--jp-spinner-size, 38px);
  display: block;
  box-sizing: border-box;
}

.jp-canonical-spinner__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  transform-origin: center;
  animation: jp-spin 0.9s linear infinite;
}

.jp-canonical-spinner__track,
.jp-canonical-spinner__arc {
  fill: none;
  stroke-width: var(--jp-spinner-stroke, 4px);
}

.jp-canonical-spinner__track {
  stroke: var(--jp-spinner-track, rgba(35, 32, 48, 0.1));
}

.jp-canonical-spinner__arc {
  stroke: var(--jp-spinner-color, #3F6A60);
  stroke-linecap: round;
  stroke-dasharray: 34 113;
  transform: rotate(-90deg);
  transform-origin: center;
}

.header-auth-canonical-spinner {
  --jp-spinner-size: 50px;
  --jp-spinner-stroke: 6px;
}

.header-auth-card {
  padding: 20px;
}

.header-auth-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-auth-title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--popup-title-font, var(--font-display));
  font-size: var(--popup-title-size, 25px);
  font-weight: var(--popup-title-weight, 600);
  line-height: var(--popup-title-line-height, 1.16);
  letter-spacing: var(--popup-title-letter-spacing, 0);
}

.header-auth-subtitle {
  margin: 4px 0 14px;
  color: #232030;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
}

.header-auth-switch {
  min-height: 44px;
  padding: 4px 18px;
  border-radius: 999px;
  border: 0;
  background: #EEE5DA;
  color: #232030;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.header-auth-switch::before {
  content: none;
}

.header-auth-switch:hover,
.header-auth-switch:focus-visible {
  background: #E1D1BC;
  box-shadow: 0 0 0 2px #E1D1BC;
  transform: none;
}

.header-auth-switch:hover::before,
.header-auth-switch:focus-visible::before {
  content: none;
}

.header-auth-switch:active {
  transform: translateY(0);
}

.header-auth-switch:focus-visible {
  outline: 2px solid rgba(63, 106, 96, 0.32);
  outline-offset: 2px;
}

.header-auth-form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.header-auth-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.header-auth-label {
  position: absolute;
  top: 2px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 36px);
  padding: 0 6px;
  border-radius: 999px;
  background: var(--header-auth-label-bg, var(--popup-bg));
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  white-space: nowrap;
  pointer-events: none;
}

.header-auth-required {
  color: var(--color-alert-red);
}

.header-auth-field.is-error .header-auth-label,
.header-auth-field.is-error .header-auth-required {
  color: var(--color-alert-red);
}

.header-auth-input-wrap {
  position: relative;
  height: 46px;
  border-radius: 999px;
  background: var(--header-auth-field-bg, var(--header-auth-label-bg, var(--popup-bg)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-ink) 4%, transparent);
  border: 1.5px solid var(--popup-control-border);
  outline: 2px solid transparent;
  outline-offset: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, outline-color 0.2s ease;
}

.header-auth-input-wrap:focus-within {
  border-color: var(--popup-focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--popup-focus) 14%, transparent);
}

.header-auth-input-wrap.is-filled {
  border-color: var(--popup-focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--popup-focus) 10%, transparent);
  outline-color: transparent;
}

.header-auth-field.is-error .header-auth-input-wrap {
  border-color: var(--color-alert-red);
  background: var(--header-auth-field-bg, var(--header-auth-label-bg, var(--popup-bg)));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-alert-red) 11%, transparent);
  outline-color: transparent;
}

.header-auth-field.is-error .header-auth-input-wrap:focus-within,
.header-auth-field.is-error .header-auth-input-wrap.is-filled {
  border-color: var(--color-alert-red);
  background: var(--header-auth-field-bg, var(--header-auth-label-bg, var(--popup-bg)));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-alert-red) 11%, transparent);
  outline-color: transparent;
}

.header-auth-input {
  width: 100%;
  height: 100%;
  min-height: 44px;
  display: block;
  position: relative;
  z-index: 1;
  border: 0 !important;
  background: transparent !important;
  outline: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 20px;
  color: var(--color-ink);
  -webkit-text-fill-color: var(--color-ink);
  opacity: 1;
  caret-color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 46px;
}

.header-auth-input:focus,
.header-auth-input:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  color: var(--color-ink) !important;
  -webkit-text-fill-color: var(--color-ink) !important;
}

.header-auth-input::-webkit-textfield-decoration-container {
  padding: 0;
}

.header-auth-input:-webkit-autofill,
.header-auth-input:-webkit-autofill:hover,
.header-auth-input:-webkit-autofill:focus,
.header-auth-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--color-ink) !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 9999s ease-out 0s;
}

.header-auth-input::-webkit-contacts-auto-fill-button,
.header-auth-input::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.header-auth-input-wrap.has-eye .header-auth-input {
  height: 46px;
  min-height: 46px;
  padding-right: 20px;
  border: 1.5px solid var(--popup-control-border) !important;
  border-radius: 999px !important;
  background: var(--header-auth-field-bg, var(--header-auth-label-bg, var(--popup-bg))) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-ink) 4%, transparent) !important;
}

.header-auth-input-wrap.has-eye {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.header-auth-input-wrap.has-eye:focus-within,
.header-auth-input-wrap.has-eye.is-filled,
.header-auth-field.is-error .header-auth-input-wrap.has-eye,
.header-auth-field.is-error .header-auth-input-wrap.has-eye:focus-within,
.header-auth-field.is-error .header-auth-input-wrap.has-eye.is-filled {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.header-auth-input-wrap.has-eye:focus-within .header-auth-input {
  border-color: var(--popup-focus) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--popup-focus) 14%, transparent) !important;
}

.header-auth-input-wrap.has-eye.is-filled .header-auth-input {
  border-color: var(--popup-focus) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--popup-focus) 10%, transparent) !important;
}

.header-auth-field.is-error .header-auth-input-wrap.has-eye .header-auth-input,
.header-auth-field.is-error .header-auth-input-wrap.has-eye:focus-within .header-auth-input,
.header-auth-field.is-error .header-auth-input-wrap.has-eye.is-filled .header-auth-input {
  border-color: var(--color-alert-red) !important;
  background: var(--header-auth-field-bg, var(--header-auth-label-bg, var(--popup-bg))) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-alert-red) 11%, transparent) !important;
  outline: 0 !important;
}

.header-auth-eye {
  position: static;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--popup-control-border);
  border-radius: 999px;
  background: var(--popup-bg);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}

.header-auth-eye svg,
.header-auth-eye img {
  width: 36px;
  height: 36px;
  display: block;
}

.header-auth-eye rect {
  fill: transparent;
}

.header-auth-eye path {
  fill: var(--popup-outline-soft);
  transition: fill 0.2s ease;
}

.header-auth-eye:hover path,
.header-auth-eye:focus-visible path,
.header-auth-eye.is-on path {
  fill: var(--color-ink);
}

.header-auth-eye:focus-visible {
  outline: 2px solid rgba(63, 106, 96, 0.32);
  outline-offset: 1px;
}

.header-auth-error {
  margin: 0;
  color: var(--color-alert-red);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
}

.header-auth-field > .header-auth-error {
  margin: 8px 0 0 10px;
}

.header-auth-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.header-auth-remember {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1.5px solid var(--popup-control-border);
  background: var(--popup-bg);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-auth-remember-mark {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--popup-bg);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.header-auth-remember.is-active {
  background: #232030;
  border-color: #232030;
}

.header-auth-remember.is-active .header-auth-remember-mark {
  opacity: 1;
  transform: scale(1);
}

.header-auth-remember-text {
  color: #232030;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.header-auth-remember-text:hover,
.header-auth-remember-text:focus-visible {
  opacity: 0.76;
}

.header-auth-remember-text:focus-visible {
  outline: none;
}

.header-auth-text-link,
.header-auth-help-link {
  margin-left: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-ink-muted);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.header-auth-text-link:hover,
.header-auth-help-link:hover,
.header-auth-text-link:focus-visible,
.header-auth-help-link:focus-visible {
  color: var(--color-forest);
}

.header-auth-help-link {
  margin: 0;
  text-align: center;
  width: 100%;
}

.header-auth-primary {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--color-forest);
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  transition: none;
}

.header-auth-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-forest);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
  pointer-events: none;
}

.header-auth-primary:hover:not(:disabled):not(.is-disabled),
.header-auth-primary:focus-visible:not(:disabled):not(.is-disabled) {
  background: var(--color-forest);
  box-shadow: none;
  transform: none;
}

.header-auth-primary:hover:not(:disabled):not(.is-disabled)::before,
.header-auth-primary:focus-visible:not(:disabled):not(.is-disabled)::before {
  transform: scale(1.018);
}

.header-auth-primary:active:not(:disabled):not(.is-disabled) {
  transform: none;
}

.header-auth-primary:active:not(:disabled):not(.is-disabled)::before {
  transform: scale(1);
}

.header-auth-primary:focus-visible:not(:disabled):not(.is-disabled) {
  outline: 2px solid color-mix(in srgb, var(--color-forest) 32%, transparent);
  outline-offset: 2px;
}

.header-auth-primary.is-disabled,
.header-auth-primary:disabled,
.header-auth-primary[aria-disabled="true"] {
  background: var(--control-disabled-bg);
  color: var(--auth-disabled-text);
  appearance: none;
  -webkit-appearance: none;
  cursor: not-allowed !important;
  pointer-events: auto;
  transform: none;
  filter: none;
  box-shadow: none;
  outline: 0;
  transition: none;
  animation: none;
}

.header-auth-primary.is-disabled::before,
.header-auth-primary:disabled::before,
.header-auth-primary[aria-disabled="true"]::before {
  background: var(--control-disabled-bg);
  transform: none;
  transition: none;
}

.header-auth-primary.is-disabled *,
.header-auth-primary:disabled *,
.header-auth-primary[aria-disabled="true"] * {
  cursor: not-allowed !important;
}

.header-auth-primary.is-disabled > *,
.header-auth-primary:disabled > *,
.header-auth-primary[aria-disabled="true"] > * {
  pointer-events: none;
}

.header-auth-primary.is-disabled:hover,
.header-auth-primary:disabled:hover,
.header-auth-primary[aria-disabled="true"]:hover,
.header-auth-primary.is-disabled:focus-visible,
.header-auth-primary:disabled:focus-visible,
.header-auth-primary[aria-disabled="true"]:focus-visible,
.header-auth-primary.is-disabled:active,
.header-auth-primary:disabled:active,
.header-auth-primary[aria-disabled="true"]:active {
  background: var(--control-disabled-bg);
  color: var(--auth-disabled-text);
  cursor: not-allowed !important;
  pointer-events: auto;
  box-shadow: none;
  transform: none;
  outline: 0;
}

.header-auth-primary .header-auth-btn-text {
  position: relative;
  z-index: 1;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.header-auth-divider {
  position: relative;
  height: 28px;
  margin: 2px 0;
}

.header-auth-divider::before {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 50%;
  height: 1px;
  background: var(--popup-border-strong);
}

.header-auth-divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--popup-bg);
  padding: 0 11px;
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
}

.header-auth-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-auth-social {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: #EEE5DA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #232030;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.header-auth-social::before {
  content: none;
}

.header-auth-social:hover,
.header-auth-social:focus-visible {
  background: #E1D1BC;
  box-shadow: 0 0 0 2px #E1D1BC;
  transform: none;
}

.header-auth-social:hover::before,
.header-auth-social:focus-visible::before {
  content: none;
}

.header-auth-social:active {
  transform: none;
}

.header-auth-social:focus-visible {
  outline: 2px solid rgba(63, 106, 96, 0.32);
  outline-offset: 2px;
}

.header-auth-social .header-auth-social-icon {
  position: static;
  width: 28px;
  height: 28px;
  display: block;
}

.header-auth-social-icon svg,
.header-auth-social-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.header-auth-social .header-auth-btn-text {
  position: static;
  color: #232030;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 16px;
  white-space: nowrap;
}

.header-auth-social.is-loading .header-auth-btn-text,
.header-auth-primary.is-loading .header-auth-btn-text {
  opacity: 0;
}

.header-auth-social.is-loading .header-auth-social-icon {
  opacity: 0;
}

.header-auth-inline-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.header-auth-inline-spinner {
  --jp-spinner-size: 38px;
  --jp-spinner-stroke: 5px;
}

.header-auth-legal,
.header-auth-note {
  margin: 0;
  text-align: center;
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.4px;
}

.header-auth-inline-link {
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  color: #3f6a60;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: underline;
  cursor: pointer;
}

.header-auth-inline-link:hover,
.header-auth-inline-link:focus-visible {
  color: #244b43;
}

.header-auth-strength {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.header-auth-strength[hidden],
.header-auth-password-hints[hidden] {
  display: none !important;
}

.header-auth-strength-bar {
  width: 417px;
  max-width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--popup-disabled);
  overflow: hidden;
}

.header-auth-strength-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.header-auth-strength-label {
  color: #232030;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}

.header-auth-password-hints {
  width: 100%;
  color: #232030;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-auth-password-hints strong {
  font-weight: 700;
}

@media (max-width: 760px) {
  .header-auth-overlay {
    --header-auth-mobile-top: clamp(84px, 13dvh, 128px);
    align-items: flex-end !important;
    justify-content: center;
    padding: calc(env(safe-area-inset-top, 0px) + var(--header-auth-mobile-top)) 0 0;
    overflow: hidden;
  }

  .header-auth-shell {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - (env(safe-area-inset-top, 0px) + var(--header-auth-mobile-top)));
    height: calc(100dvh - (env(safe-area-inset-top, 0px) + var(--header-auth-mobile-top)));
    display: flex;
    flex-direction: column;
    transform-origin: bottom center;
  }

  .header-auth-close {
    top: 8px;
    left: auto;
    right: 14px;
    bottom: auto;
    width: 44px;
    height: 44px;
    background: transparent;
    box-shadow: none;
    z-index: 4;
  }

  .header-auth-close:hover,
  .header-auth-close:focus-visible {
    background: var(--popup-hover);
    filter: none;
  }

  .header-auth-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
  }

  .header-auth-card::before {
    content: "";
    display: block;
    position: sticky;
    top: 0;
    z-index: 1;
    flex: 0 0 44px;
    min-height: 44px;
    width: calc(100% + 32px);
    margin: 0 -16px 12px;
    border-radius: var(--popup-sheet-radius, 22px 22px 0 0);
    background: var(--popup-sheet-grip-pseudo-bg);
    cursor: grab;
    touch-action: none;
    user-select: none;
  }

  .header-auth-card-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding-right: 0;
  }

  .header-auth-title {
    flex: 0 0 100%;
    min-width: 0;
    font-size: var(--popup-title-size, 25px);
    line-height: var(--popup-title-line-height, 1.16);
  }

  .header-auth-subtitle {
    margin: 4px 0 12px;
    font-size: 14px;
    line-height: 18px;
  }

  .header-auth-switch {
    min-height: 44px;
    padding: 4px 16px;
    font-size: 13px;
    align-self: flex-start;
  }

  .header-auth-form {
    gap: 12px;
  }

  .header-auth-divider::before {
    left: 0;
    right: 0;
  }

  .header-auth-strength-bar {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .header-auth-overlay {
    align-items: flex-end !important;
    padding: calc(env(safe-area-inset-top, 0px) + var(--header-auth-mobile-top, clamp(84px, 13dvh, 128px))) 0 0;
  }

  .header-auth-shell {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - (env(safe-area-inset-top, 0px) + var(--header-auth-mobile-top, clamp(84px, 13dvh, 128px))));
    height: calc(100dvh - (env(safe-area-inset-top, 0px) + var(--header-auth-mobile-top, clamp(84px, 13dvh, 128px))));
  }

  .header-auth-close {
    top: 8px;
    left: auto;
    right: 14px;
    bottom: auto;
    width: 44px;
    height: 44px;
    background: transparent;
  }

  .header-auth-close:hover,
  .header-auth-close:focus-visible {
    background: var(--popup-hover);
  }

  .header-auth-card {
    height: 100%;
    max-height: none;
    padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .header-auth-card::before {
    flex-basis: 44px;
    min-height: 44px;
  }

  .header-auth-switch {
    width: 100%;
    justify-content: center;
  }

  .header-auth-row {
    flex-wrap: wrap;
    gap: 10px 11px;
  }

  .header-auth-text-link {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }

  .header-auth-primary .header-auth-btn-text,
  .header-auth-social .header-auth-btn-text {
    white-space: normal;
    text-align: center;
  }

  .header-auth-social {
    min-height: 48px;
    height: auto;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .header-auth-social .header-auth-social-icon,
  .header-auth-social .header-auth-btn-text {
    position: static;
  }

  .header-auth-social .header-auth-btn-text {
    line-height: 1;
  }
}

@media (max-width: 420px) {
  .header-auth-overlay {
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-auth-mobile-top, clamp(84px, 13dvh, 128px)));
  }

  .header-auth-title {
    font-size: var(--popup-title-size, 25px);
    line-height: var(--popup-title-line-height, 1.16);
  }

  .header-auth-input {
    padding: 0 16px;
    font-size: 12px;
  }

  .header-auth-input-wrap.has-eye .header-auth-input {
    padding-right: 16px;
  }

  .header-auth-label,
  .header-auth-remember-text,
  .header-auth-text-link,
  .header-auth-help-link,
  .header-auth-strength-label {
    font-size: 12px;
  }

  .header-auth-legal,
  .header-auth-note,
  .header-auth-inline-link,
  .header-auth-password-hints {
    font-size: 11px;
    line-height: 15px;
  }
}

@media (max-width: 640px) {
  .header-auth-eye {
    right: 1px;
    top: 1px;
    width: 44px;
    height: 44px;
    border-radius: 22px;
  }

  .header-auth-eye svg,
  .header-auth-eye img {
    width: 36px;
    height: 36px;
  }

  .header-auth-remember {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .header-auth-remember-text,
  .header-auth-text-link,
  .header-auth-help-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .header-auth-help-link {
    justify-content: center;
  }

  .header-auth-inline-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin-top: -14px;
    margin-bottom: -14px;
    vertical-align: middle;
  }
}

.design-canvas [style*="font-family: Montserrat"] {
  font-family: var(--font-body);
}

.design-canvas [style*="font-family: Inter"] {
  font-family: var(--font-body);
}

.design-canvas [style*="font-family: Comfortaa"] {
  font-family: var(--font-body);
}

/* Card text: match Figma and keep safe gap before play icon */
.design-canvas .ProffesionGifts,
.design-canvas .FriendsGifts,
.design-canvas .KidsRoomIdea,
.design-canvas .ShirtSGiftsIdea {
  display: block !important;
  width: auto !important;
  right: 78px !important;
  min-height: 0 !important;
  height: auto !important;
  color: #FFF9F1 !important;
  font-size: 21px !important;
  font-family: var(--font-body);
  font-weight: 700 !important;
  line-height: 1.14 !important;
  overflow: visible !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
}

.design-canvas .BirthdaysRetirementsAnniversaries,
.design-canvas .SmallBirthdaysRetirementsAnniversaries {
  display: block !important;
  width: auto !important;
  right: 78px !important;
  min-height: 0 !important;
  height: auto !important;
  color: #FFF9F1 !important;
  font-size: 12px !important;
  font-family: var(--font-body);
  font-weight: 700 !important;
  line-height: normal !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  text-align: left !important;
}

.design-canvas .BirthdaysRetirementsAnniversaries {
  left: 17px !important;
  top: auto !important;
  bottom: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.design-canvas .BirthdaysRetirementsAnniversaries br,
.design-canvas .SmallBirthdaysRetirementsAnniversaries br {
  display: block !important;
}

.design-canvas .PrintReady {
  display: block !important;
  color: #232030 !important;
  font-size: 11px !important;
  font-family: var(--font-body);
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* Play icons: keep Figma position, center glyph inside circle */
.design-canvas .IconParkSolidPlay {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0;
}

.design-canvas .IconParkSolidPlay > svg {
  display: block;
}

/* Arrow buttons: strict center alignment for icon in oval */
.design-canvas .Frame1717,
.design-canvas .Frame1718 {
  width: 72px !important;
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  gap: 0 !important;
}

.design-canvas .Frame1717 > .Vector,
.design-canvas .Frame1718 > .Vector {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 10px;
  height: 16px;
}

/* Frame1717 Variant5: preserve Figma paddings and icon centering */
.design-canvas .Frame1717[data-property-1="Variant5"] {
  width: 72px !important;
  height: 54px !important;
  padding: 19px 21px !important;
  gap: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.design-canvas .Frame1717[data-property-1="Variant5"] > .Vector {
  width: 10px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  transform: rotate(-90deg);
  transform-origin: center;
}

.design-canvas .Frame1718[data-property-1="Variant5"] > .Vector {
  transform: rotate(90deg);
  transform-origin: center;
}

/* Hero dots (Frame2407): keep active white bar centered in dark pill */
.design-canvas .Frame2407 {
  width: 141px !important;
  height: 14px !important;
  overflow: visible !important;
}

.design-canvas .Frame2407 > .Rectangle6 {
  left: 34px !important;
  top: 0 !important;
}

.design-canvas .Frame2407 > .Rectangle7 {
  left: 52px !important;
  top: 0 !important;
}

.design-canvas .Frame2407 > .Rectangle4 {
  top: 0 !important;
  z-index: 1;
  transition: left 0.28s ease;
}

.design-canvas .Frame2407 > .Rectangle5 {
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 2;
  transition: left 0.28s ease;
}

.design-canvas .Frame2407 > .Rectangle4 > svg,
.design-canvas .Frame2407 > .Rectangle5 > svg {
  display: block;
}

.design-canvas .hero-carousel-viewport {
  position: absolute;
  left: 0;
  top: 0;
  width: 1360px;
  height: 418px;
  overflow: hidden;
}

.design-canvas .hero-carousel-track {
  display: flex;
  width: 100%;
  height: 418px;
  will-change: transform;
  transition: transform 0.62s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.design-canvas .hero-carousel-slide {
  position: relative;
  flex: 0 0 1360px;
  width: 1360px;
  height: 418px;
}

.design-canvas .hero-banner-text-card {
  color: #FFF9F1;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  overflow: hidden;
}

.design-canvas .hero-banner-text-card.is-main {
  padding: 68px 58px;
  justify-content: flex-start;
}

.design-canvas .hero-banner-text-card.is-side {
  padding: 280px 22px 24px;
  justify-content: flex-start;
}

.design-canvas .hero-banner-text-title,
.design-canvas .hero-banner-side-title {
  margin: 0;
  color: #FFF9F1;
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.14;
}

.design-canvas .hero-banner-text-title {
  font-size: 42px;
}

.design-canvas .hero-banner-side-title {
  font-size: 26px;
}

.design-canvas .hero-banner-text-body,
.design-canvas .hero-banner-side-body {
  margin: 16px 0 0;
  color: rgba(255, 249, 241, 0.92);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.4;
}

.design-canvas .hero-banner-text-body {
  max-width: 520px;
  font-size: 22px;
}

.design-canvas .hero-banner-side-body {
  font-size: 18px;
}

/* About block before footer: keep text in one flow and remove overlap */
.design-canvas .CustomVisualGiftsPostersHandDrawnByJedipic {
  display: block !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.design-canvas .JedipicIsACuratedStudioForCustomVisualProjectsPersonalPortraitsCaricaturesAndEventArtworkMadeFromYourPhotosPerfectForGiftsTeamPostersCoachAppreciationOfficeCelebrationsAndPrintReadyBanners {
  display: block !important;
  width: 1187px !important;
  white-space: normal !important;
  line-height: 28px !important;
  overflow: visible !important;
}

.design-canvas .JedipicIsACuratedStudioForCustomVisualProjectsPersonalPortraitsCaricaturesAndEventArtworkMadeFromYourPhotosPerfectForGiftsTeamPostersCoachAppreciationOfficeCelebrationsAndPrintReadyBanners br {
  display: none !important;
}

.design-canvas .JedipicIsACuratedStudioForCustomVisualProjectsPersonalPortraitsCaricaturesAndEventArtworkMadeFromYourPhotosPerfectForGiftsTeamPostersCoachAppreciationOfficeCelebrationsAndPrintReadyBanners > span {
  display: inline !important;
  white-space: normal !important;
}

.design-canvas .PersonalVisualGiftsBirthdaysAnniversariesGraduationsRetirements,
.design-canvas .TeamsEventsFootballBasketballBaseballCheerCoachesStaffTributes,
.design-canvas .PrintBannersHighResolutionFilesForLargeFormatPrinting,
.design-canvas .OfficeCompanyGroupScenesWithFunDetailsAndBrandElements {
  display: block !important;
  white-space: nowrap !important;
  line-height: 28px !important;
}

.design-canvas .PersonalVisualGiftsBirthdaysAnniversariesGraduationsRetirements > span,
.design-canvas .TeamsEventsFootballBasketballBaseballCheerCoachesStaffTributes > span,
.design-canvas .PrintBannersHighResolutionFilesForLargeFormatPrinting > span,
.design-canvas .OfficeCompanyGroupScenesWithFunDetailsAndBrandElements > span {
  display: inline !important;
  white-space: nowrap !important;
}

/* Prevent hover shadows from being clipped in top rails/hero */
.design-canvas .Frame1729,
.design-canvas .SectionHero,
.design-canvas .FeaturedOffersRail {
  overflow: visible !important;
}

/* Discounts block: lower title */
.design-canvas .Section .Frame1728 {
  top: 42px !important;
}

/* Full-width green backgrounds: no white side gaps on wide screens */
.design-canvas .Section-discounts,
.design-canvas .Section-editors-picks {
  position: relative;
  overflow: visible !important;
}

.design-canvas .Section-discounts > .Vector {
  left: var(--fullbleed-left) !important;
  width: var(--fullbleed-width) !important;
}

.design-canvas .Section-discounts > .Vector > svg {
  display: block;
  width: 100% !important;
  height: 257px !important;
}

.design-canvas .Section-editors-picks .Group1440Ok1 {
  left: var(--fullbleed-left) !important;
  width: var(--fullbleed-width) !important;
}

.design-canvas .Section-editors-picks .Group1440Ok1 > .Vector {
  left: 0 !important;
  width: 100% !important;
}

.design-canvas .Section-editors-picks .Group1440Ok1 > .Vector > svg {
  display: block;
  width: 100% !important;
  height: 333px !important;
}

/* Editor cards: 20% shell by default, full white only on hover */
.design-canvas .Section-editors-picks .Frame1721 > .Link {
  background: rgba(255, 249, 241, 0.2) !important;
}

.design-canvas .Section-editors-picks .Frame1721 > .Link:hover {
  background: var(--popup-control-bg) !important;
}

/* Discounts title must stay in one line */
.design-canvas [data-layer="Daily deals: for inspiration"] {
  display: block !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.design-canvas [data-layer="Daily deals: for inspiration"] > span {
  display: inline !important;
  white-space: nowrap !important;
}

/* Card hover shadow: x:0 y:0 blur:4 spread:0 color #232030 @ 50% */
.design-canvas .HeroBannerCard,
.design-canvas .HoverShadowCard {
  background: #e6f0ea !important;
  box-shadow: none !important;
  transition: box-shadow 0.2s ease;
}

.design-canvas .SectionHero [data-layer="for photo"],
.design-canvas .SectionHero .HoverShadowCard {
  background: #e6f0ea !important;
}

.design-canvas .SectionHero [data-layer="for photo"],
.design-canvas .SectionHero .HoverShadowCard {
  position: relative;
  isolation: isolate;
}

.design-canvas .SectionHero [data-layer="for photo"]::after,
.design-canvas .SectionHero .HoverShadowCard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(230, 240, 234, 0.62);
  pointer-events: none;
  z-index: 1;
}

.design-canvas .SectionHero [data-layer="for photo"] > img,
.design-canvas .SectionHero .HoverShadowCard > img {
  position: relative;
  z-index: 0;
  opacity: 0.72;
}

.design-canvas .SectionHero [data-layer="for photo"] > :not(img),
.design-canvas .SectionHero .HoverShadowCard > :not(img) {
  position: relative;
  z-index: 2;
}

.design-canvas .HeroBannerCard:hover,
.design-canvas .HoverShadowCard:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
}

.design-canvas .hero-carousel-slide .HeroBannerCard:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
}

.design-canvas .hero-carousel-slide .HeroBannerCard {
  box-shadow: none !important;
  transition: box-shadow 0.2s ease !important;
}

/* Unified hover shadows for all requested card groups */
.design-canvas .hover-shadow-card,
.design-canvas .product-hover-card,
.design-canvas .discount-card {
  box-shadow: none !important;
  z-index: 1;
  transition: box-shadow 0.24s ease, transform 0.24s ease, background-color 0.24s ease;
}

.design-canvas .hover-shadow-card:hover,
.design-canvas .product-hover-card:hover,
.design-canvas .discount-card:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
  transform: translateY(-1px);
  z-index: 10;
}

/* Christmas product cards: keep price pill stable on hover */
/* Day discounts: all cards should get the same hover state */
.design-canvas .discount-card {
  background: transparent !important;
}

.design-canvas .discount-card .PersonalPortrait,
.design-canvas .discount-card .CoupleArtwork,
.design-canvas .discount-card .FamilyKids,
.design-canvas .discount-card .Pets,
.design-canvas .discount-card .SportTeams,
.design-canvas .discount-card .OfficeGroup {
  color: #232030 !important;
  transition: color 0.24s ease;
}

.design-canvas .Section-discounts .Frame2423 > .PersonalPortrait,
.design-canvas .Section-discounts .Frame2424 > .CoupleArtwork,
.design-canvas .Section-discounts .Frame2425 > .FamilyKids,
.design-canvas .Section-discounts .Frame2426 > .Pets,
.design-canvas .Section-discounts .Frame2427 > .SportTeams,
.design-canvas .Section-discounts .Frame2428 > .OfficeGroup {
  left: 0 !important;
  width: 100% !important;
  text-align: center !important;
}

.design-canvas .discount-card:hover {
  background: #3f6a60 !important;
}

.design-canvas .discount-card:hover .PersonalPortrait,
.design-canvas .discount-card:hover .CoupleArtwork,
.design-canvas .discount-card:hover .FamilyKids,
.design-canvas .discount-card:hover .Pets,
.design-canvas .discount-card:hover .SportTeams,
.design-canvas .discount-card:hover .OfficeGroup {
  color: #FFF9F1 !important;
}

/* Day discounts: remove visible seam between 2nd and 3rd cards */
.design-canvas .Section-discounts .Frame2424 {
  width: 227px !important;
}

.design-canvas .Section-discounts .Frame2424 > img {
  width: 217px !important;
}

/* Zoom-only hover for "Gifts you like" image areas */
.design-canvas .zoom-in-card .Frame2429 {
  overflow: hidden !important;
  border-radius: 20px;
}

.design-canvas .zoom-in-card {
  cursor: pointer;
}

.design-canvas .zoom-in-card .Frame2429 img {
  transition: transform 0.35s ease;
  transform-origin: center center;
}

.design-canvas .zoom-in-card:hover .Frame2429 img {
  transform: scale(1.06);
}

/* Favorites button: appears only on card hover */
.design-canvas .product-hover-card {
  position: relative;
}

.design-canvas .product-hover-card .favorite-button {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--popup-control-bg) !important;
  outline: 1px var(--popup-outline) solid !important;
  outline-offset: -1px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
  opacity: 0;
  transform: translateY(-6px) scale(0.92);
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  z-index: 5;
}

.design-canvas .product-hover-card:hover .favorite-button,
.design-canvas .product-hover-card .favorite-button:focus-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.design-canvas .product-hover-card .favorite-button:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5), 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

.design-canvas .product-hover-card .favorite-button svg {
  width: 20px;
  height: 20px;
  display: block;
}

.design-canvas .product-hover-card .favorite-button path {
  fill: transparent;
  stroke: #232030;
  stroke-width: 1.66667;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.22s ease, stroke 0.22s ease;
}

.design-canvas .product-hover-card .favorite-button.is-liked path {
  fill: #b91515;
  stroke: #b91515;
}

/* Favorites toast: appears at the bottom center after heart click on cards */
.favorite-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  width: min(656px, calc(100vw - 40px));
  min-height: 77px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  padding: 13px 19px 13px 14px;
  color: #FFF9F1;
  background: #3F6A60;
  outline: 1px #2d4f48 solid;
  outline-offset: -1px;
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(8, 28, 16, 0.36), 0 4px 16px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, 20px) scale(0.94);
  opacity: 0;
  filter: blur(4px);
  pointer-events: auto;
  z-index: 11000;
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.34s ease;
}

.favorite-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  filter: blur(0);
}

.favorite-toast:not(.is-authenticated):not(.is-remove) {
  width: min(482px, calc(100vw - 40px));
  min-height: 77px;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  padding: 12px 16px 12px 12px;
}

.favorite-toast:not(.is-authenticated):not(.is-remove) .favorite-toast__icon {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  align-self: center;
  margin-top: 0;
}

.favorite-toast:not(.is-authenticated):not(.is-remove) .favorite-toast__content {
  align-self: center;
  padding-top: 2px;
  gap: 4px;
}

.favorite-toast:not(.is-authenticated):not(.is-remove) .favorite-toast__title {
  font-size: 15px;
  line-height: 1.2;
}

.favorite-toast:not(.is-authenticated):not(.is-remove) .favorite-toast__subtitle {
  font-size: 13px;
  line-height: 1.28;
}

.favorite-toast__icon {
  width: 52px;
  height: 52px;
  grid-column: 1;
  align-self: center;
  flex: 0 0 52px;
  position: relative;
  overflow: visible;
}

.favorite-toast__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.favorite-toast__media-frame {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255, 249, 241, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 249, 241, 0.4);
}

.favorite-toast__media-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.favorite-toast__media-badge {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #FFF9F1;
  box-shadow: 0 6px 14px rgba(35, 32, 48, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.favorite-toast__media-badge svg {
  width: 18px;
  height: 18px;
}

.favorite-toast__content {
  grid-column: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.favorite-toast__title {
  color: #FFF9F1;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.18;
}

.favorite-toast__title strong {
  font-weight: 700;
}

.favorite-toast__meta {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-height: 18px;
}

.favorite-toast__meta-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: none;
  margin-top: 1px;
}

.favorite-toast__meta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.favorite-toast__subtitle {
  max-width: 100%;
  color: #FFF9F1;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.22;
}

.favorite-toast__link {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.favorite-toast__action {
  min-height: 53px;
  padding: 4px 18px;
  border: 0;
  border-radius: 999px;
  background: #3F6A60;
  outline: 3px solid #FFF9F1;
  outline-offset: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFF9F1;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, filter 0.22s ease;
}

.favorite-toast__action:hover,
.favorite-toast__action:focus-visible {
  background: var(--color-forest-dark);
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.favorite-toast__action:focus-visible {
  outline-color: rgba(255, 249, 241, 0.88);
}

.favorite-toast.is-authenticated {
  width: min(453px, calc(100vw - 40px));
  min-height: 58px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  padding: 8px 16px 8px 10px;
}

.favorite-toast.is-authenticated .favorite-toast__icon {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  align-self: center;
  margin-top: 0;
}

.favorite-toast.is-authenticated .favorite-toast__media-frame {
  border-radius: 14px;
}

.favorite-toast.is-authenticated .favorite-toast__content {
  align-self: center;
  padding-top: 1px;
  gap: 1px;
}

.favorite-toast.is-authenticated .favorite-toast__title {
  font-size: 15px;
  font-weight: 500;
}

.favorite-toast.is-authenticated .favorite-toast__subtitle {
  font-size: 13px;
  line-height: 1.2;
}

.favorite-toast.is-authenticated .favorite-toast__meta-icon {
  display: inline-flex;
}

.favorite-toast.is-authenticated .favorite-toast__action {
  grid-column: 3;
  align-self: center;
  justify-self: end;
}

.favorite-toast__action[hidden] {
  display: none !important;
}

.favorite-toast.is-remove {
  width: min(360px, calc(100vw - 40px));
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  column-gap: 0;
  padding: 14px 24px;
  background: var(--color-forest);
  outline: 1px solid var(--color-forest-dark);
  outline-offset: -1px;
  border-radius: 24px;
  box-shadow:
    0 14px 34px rgba(8, 28, 16, 0.3),
    0 3px 10px rgba(0, 0, 0, 0.14);
}

.favorite-toast.is-remove .favorite-toast__meta,
.favorite-toast.is-remove .favorite-toast__action {
  display: none;
}

.favorite-toast.is-remove .favorite-toast__icon {
  display: none;
}

.favorite-toast.is-remove .favorite-toast__content {
  grid-column: 1;
  display: flex;
  align-self: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding: 0;
}

.favorite-toast.is-remove .favorite-toast__title {
  font-size: 15px;
  font-weight: 600;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

body.collection-modal-open {
  overflow: hidden;
}

@keyframes collection-modal-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes collection-toggle-bounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}


@media (max-width: 860px) {
  .favorite-toast.is-authenticated {
    width: calc(100vw - 24px);
    grid-template-columns: 48px minmax(0, 1fr);
    row-gap: 8px;
    padding: 10px 12px;
  }

  .favorite-toast.is-authenticated .favorite-toast__action {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .favorite-toast {
    bottom: 16px;
    width: calc(100vw - 24px);
    min-height: auto;
    grid-template-columns: 48px minmax(0, 1fr);
    row-gap: 8px;
    padding: 12px;
    align-items: flex-start;
  }

  .favorite-toast__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .favorite-toast__content {
    padding-top: 1px;
    gap: 4px;
  }

  .favorite-toast__title {
    font-size: 15px;
  }

  .favorite-toast__subtitle {
    font-size: 13px;
  }

  .favorite-toast__action {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    margin-top: 2px;
    font-size: 14px;
  }

  .favorite-toast.is-remove {
    width: min(360px, calc(100vw - 24px));
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    padding: 14px 20px;
  }

  .favorite-toast.is-remove .favorite-toast__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .collection-modal-overlay {
    padding: 18px 12px;
  }

  .collection-modal-shell {
    max-width: calc(100vw - 24px);
  }

  .collection-modal__close {
    top: 14px;
    left: auto;
    right: 14px;
    width: 57px;
    height: 42px;
    background: var(--popup-bg);
  }

  .collection-modal__close::before,
  .collection-modal__close::after {
    background: var(--popup-outline);
  }

  .collection-modal__close:hover,
  .collection-modal__close:focus-visible {
    background: var(--popup-hover);
    filter: none;
  }

  .collection-modal {
    padding: 28px 16px 16px;
  }

  .collection-modal__title {
    padding-right: 40px;
    font-size: var(--popup-title-size, 25px);
    line-height: var(--popup-title-line-height, 1.16);
  }

  .collection-modal__privacy {
    flex-direction: column;
    gap: 18px;
  }

  .collection-modal__footer {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .collection-modal__cancel,
  .collection-modal__create {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

/* Keep original price design and tint main price green on card hover */
.design-canvas .product-hover-card:hover .Price > :first-child,
.design-canvas .product-hover-card:hover .Button > :first-child {
  color: #3F6A60 !important;
}

/* Christmas cards (top: 2255): keep price in one line and unify hover color */
.design-canvas .Section[style*="top: 2255px"] .Frame1851 .Frame2441,
.design-canvas .Section[style*="top: 2255px"] .Frame1859 > .Button,
.design-canvas .Section[style*="top: 2255px"] .Frame1860 > .Button,
.design-canvas .Section[style*="top: 2255px"] .Frame1861 > .Button,
.design-canvas .Section[style*="top: 2255px"] .Frame1862 > .Button {
  white-space: nowrap !important;
}

.design-canvas .Section[style*="top: 2255px"] .Frame1859 > .Frame2513,
.design-canvas .Section[style*="top: 2255px"] .Frame1860 > .Frame2513,
.design-canvas .Section[style*="top: 2255px"] .Frame1861 > .Frame2513,
.design-canvas .Section[style*="top: 2255px"] .Frame1862 > .Frame2513 {
  left: 6px !important;
  top: auto !important;
  bottom: 6px !important;
}

.design-canvas .Section[style*="top: 2255px"] .Frame1851 .Frame2441 > div,
.design-canvas .Section[style*="top: 2255px"] .Frame1859 > .Button > div,
.design-canvas .Section[style*="top: 2255px"] .Frame1860 > .Button > div,
.design-canvas .Section[style*="top: 2255px"] .Frame1861 > .Button > div,
.design-canvas .Section[style*="top: 2255px"] .Frame1862 > .Button > div {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.design-canvas .Section[style*="top: 2255px"] .Frame1851 .Frame2441 > div:first-child,
.design-canvas .Section[style*="top: 2255px"] .Frame1859 > .Button > div:first-child,
.design-canvas .Section[style*="top: 2255px"] .Frame1860 > .Button > div:first-child,
.design-canvas .Section[style*="top: 2255px"] .Frame1861 > .Button > div:first-child,
.design-canvas .Section[style*="top: 2255px"] .Frame1862 > .Button > div:first-child {
  transition: color 0.22s ease;
}

.design-canvas .Section[style*="top: 2255px"] .product-hover-card:hover .Frame2441 > div:first-child,
.design-canvas .Section[style*="top: 2255px"] .product-hover-card:hover > .Button > div:first-child {
  color: #3F6A60 !important;
}

/* Christmas section CTA: same hover behavior as Explore by scenario button */
.design-canvas .Section[style*="top: 2255px"] .Frame2528 {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.design-canvas .Section[style*="top: 2255px"] .Frame2528:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
  transform: translateY(-1px);
}

.design-canvas .Section[style*="top: 2255px"] .Frame2528:active {
  transform: translateY(0);
}

/* Special illustrations section CTA/cards: restore hover interactions */
.design-canvas .Section[style*="top: 4150px"] .Frame2528 {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.design-canvas .Section[style*="top: 4150px"] .Frame2528:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
  transform: translateY(-1px);
}

.design-canvas .Section[style*="top: 4150px"] .Frame2528:active {
  transform: translateY(0);
}

.design-canvas .Section[style*="top: 4150px"] .Frame1725 > .Link,
.design-canvas .Section[style*="top: 4150px"] .Frame2547 > .Link {
  cursor: pointer;
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}

.design-canvas .Section[style*="top: 4150px"] .Frame1725 > .Link:hover,
.design-canvas .Section[style*="top: 4150px"] .Frame2547 > .Link:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
  transform: translateY(-1px);
  z-index: 10;
}

/* Christmas cards "more" button: 60% idle, 100% on hover + stronger shadow */
.design-canvas .Section[style*="top: 2255px"] .ButtonMore {
  opacity: 0.6;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.design-canvas .Section[style*="top: 2255px"] .ButtonMore:hover {
  opacity: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16) !important;
  transform: translateY(-1px);
}

.design-canvas .Section[style*="top: 2255px"] .ButtonMore.is-open {
  opacity: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16) !important;
}

.design-canvas .Section[style*="top: 2255px"] .ButtonMore:active {
  transform: translateY(0);
}

/* Winter cards: unify image frame to 258x258 */
.design-canvas .Frame2413 > img,
.design-canvas .Frame2414 > img,
.design-canvas .Frame2415 > img,
.design-canvas .Frame2416 > img,
.design-canvas .Frame2417 > img {
  width: 258px !important;
  height: 258px !important;
  left: 7px !important;
  top: 7px !important;
}

/* Center titles in non-price card groups */
.design-canvas .Frame2409 > div,
.design-canvas .Frame2410 > div,
.design-canvas .Frame2411 > div,
.design-canvas .Frame2412 > div,
.design-canvas .Frame2413 > div,
.design-canvas .Frame2414 > div,
.design-canvas .Frame2415 > div,
.design-canvas .Frame2416 > div,
.design-canvas .Frame2417 > div,
.design-canvas .Frame2418 > div,
.design-canvas .Frame2419 > div,
.design-canvas .Frame2420 > div,
.design-canvas .Frame2421 > div,
.design-canvas .Frame2422 > div,
.design-canvas .Frame2423[style*="top: 3148px"] > div {
  left: 0 !important;
  width: 100% !important;
  text-align: center !important;
}

.design-canvas .Section-editors-picks .Frame1721 > .Link > div:not(.Frame2) {
  left: 0 !important;
  width: 100% !important;
  text-align: center !important;
}

/* Featured offers: grey by default, active colors only on hover */
.design-canvas .FeaturedOffersRail .product-hover-card > div[style*="top: 264px"] {
  color: #D6CFB8 !important;
  transition: color 0.24s ease;
}

.design-canvas .FeaturedOffersRail .product-hover-card .Price > div {
  color: #D6CFB8 !important;
  transition: color 0.24s ease;
}

.design-canvas .Section-recently-viewed .Frame2582 {
  width: 250px !important;
  left: 5px !important;
  top: 260px !important;
  gap: 2px !important;
}

.design-canvas .FeaturedOffersRail .product-hover-card:hover > div[style*="top: 264px"] {
  color: #232030 !important;
}

.design-canvas .FeaturedOffersRail .product-hover-card:hover .Price > :first-child {
  color: #3F6A60 !important;
}

.design-canvas .FeaturedOffersRail .featured-store-pill {
  cursor: pointer;
}

/* Hover polish for arrows and buttons */
.design-canvas .interactive-pill,
.design-canvas .arrow-hover-control {
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.design-canvas .interactive-pill:hover,
.design-canvas .arrow-hover-control:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
  transform: translateY(-1px);
}

.design-canvas .interactive-pill:active,
.design-canvas .arrow-hover-control:active {
  transform: translateY(0);
}

.design-canvas .arrow-hover-control:hover {
  background: var(--popup-control-bg) !important;
}

.design-canvas .rail-arrow-control {
  background: #EFE7D5 !important;
}

.design-canvas .rail-arrow-control .Vector path {
  fill: #232030 !important;
}

.design-canvas .Section-recently-viewed .rail-arrow-control {
  background: #232030 !important;
}

.design-canvas .Section-recently-viewed .rail-arrow-control .Vector path {
  fill: #FFF9F1 !important;
}

.design-canvas .Section-recently-viewed {
  overflow: hidden !important;
}

.design-canvas .Section-recently-viewed .recently-viewed-viewport {
  position: absolute;
  left: 40px;
  top: 0;
  width: 1360px;
  height: 100%;
  overflow: hidden;
}

.design-canvas .Section-recently-viewed .Heading2FeaturedOffers {
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  top: 23px !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 33px !important;
}

.design-canvas .Section-recently-viewed .Frame1738 {
  z-index: 1;
}

.design-canvas .Section-recently-viewed > .Gradient {
  pointer-events: none;
  z-index: 3;
}

.design-canvas .Section-recently-viewed .Frame1719,
.design-canvas .Section-recently-viewed .Frame1739 {
  z-index: 4;
}

/* Keep recently-viewed arrows exactly in Figma positions/styles */
.design-canvas .Section-recently-viewed .Frame1719 {
  width: 72px !important;
  height: 54px !important;
  left: 1415px !important;
  top: 209px !important;
  padding-left: 21px !important;
  padding-right: 21px !important;
  padding-top: 19px !important;
  padding-bottom: 19px !important;
  transform: rotate(90deg) !important;
  transform-origin: top left !important;
}

.design-canvas .Section-recently-viewed .Frame1739 {
  width: 72px !important;
  height: 54px !important;
  left: 25px !important;
  top: 282px !important;
  padding-left: 21px !important;
  padding-right: 21px !important;
  padding-top: 19px !important;
  padding-bottom: 19px !important;
  transform: rotate(-90deg) !important;
  transform-origin: top left !important;
}

.design-canvas .Section-recently-viewed .Frame1719 .Vector,
.design-canvas .Section-recently-viewed .Frame1739 .Vector {
  width: 10px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 50%;
}

.design-canvas .Section-recently-viewed .Frame1719 .Vector {
  transform: rotate(-90deg);
}

.design-canvas .Section-recently-viewed .Frame1739 .Vector {
  transform: rotate(90deg);
}

.design-canvas .Section-recently-viewed .Frame1719 .Vector svg,
.design-canvas .Section-recently-viewed .Frame1739 .Vector svg {
  width: 10px;
  height: 16px;
  display: block;
}

.design-canvas .Section-recently-viewed .ButtonMore {
  opacity: 1;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.design-canvas .Section-recently-viewed .ButtonMore:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16) !important;
  transform: translateY(-1px);
}

.design-canvas .Section-recently-viewed .ButtonMore:active {
  transform: translateY(0);
}

.design-canvas .Section-recently-viewed .product-hover-card:hover {
  transform: none !important;
}

.design-canvas .rail-arrow-control.is-disabled {
  opacity: 1 !important;
  pointer-events: none !important;
  background: #EFE7D5 !important;
  box-shadow: none !important;
  transform: none !important;
}

.design-canvas .rail-arrow-control.is-disabled .Vector path {
  fill: #D6CFB8 !important;
}

.design-canvas .rail-arrow-control.is-hidden {
  display: none !important;
}

.design-canvas .rail-arrow-control:hover:not(.is-disabled) {
  background: var(--popup-control-bg) !important;
}

.design-canvas .Section-recently-viewed .rail-arrow-control:hover:not(.is-disabled) .Vector path {
  fill: #232030 !important;
}

.design-canvas .Section-recently-viewed .arrow-hover-control {
  transition: background-color 0.2s ease, opacity 0.2s ease !important;
}

.design-canvas .Section-recently-viewed .rail-arrow-control:hover:not(.is-disabled),
.design-canvas .Section-recently-viewed .rail-arrow-control.is-disabled {
  background: #232030 !important;
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
}

.design-canvas .Section-recently-viewed .rail-arrow-control.is-disabled {
  opacity: 0.35 !important;
}

.design-canvas .Section-recently-viewed .rail-arrow-control:hover:not(.is-disabled) .Vector path,
.design-canvas .Section-recently-viewed .rail-arrow-control.is-disabled .Vector path {
  fill: #FFF9F1 !important;
}

.design-canvas .arrow-hover-control.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}

/* Keep featured arrows fixed: no hover jump, preserve Figma rotation */
.design-canvas .Section-recently-viewed .Frame1719.arrow-hover-control:hover,
.design-canvas .Section-recently-viewed .Frame1719.arrow-hover-control:active,
.design-canvas .Section-recently-viewed .Frame1719.arrow-hover-control.is-disabled {
  transform: rotate(90deg) !important;
}

.design-canvas .Section-recently-viewed .Frame1739.arrow-hover-control:hover,
.design-canvas .Section-recently-viewed .Frame1739.arrow-hover-control:active,
.design-canvas .Section-recently-viewed .Frame1739.arrow-hover-control.is-disabled {
  transform: rotate(-90deg) !important;
}

/* Collapsible "Custom Visual Gifts & Posters — Hand-Drawn by JediPic" block */
.design-canvas .collapsible-about {
  transition: height 0.34s ease;
}

.design-canvas .collapsible-about .BackgroundBorderShadow {
  overflow: hidden;
  transition: height 0.34s ease;
}

.design-canvas .collapsible-about .BackgroundBorderShadow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  background: linear-gradient(180deg, rgba(255, 249, 241, 0) 0%, #FFF9F1 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.design-canvas .collapsible-about > .collapse-toggle {
  transition: top 0.34s ease, left 0.34s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.design-canvas .collapsible-about > .collapse-toggle::after {
  content: none;
}

.design-canvas .collapsible-about.is-collapsed {
  height: 252px !important;
}

.design-canvas .collapsible-about.is-collapsed .BackgroundBorderShadow {
  height: 200px !important;
}

.design-canvas .collapsible-about.is-collapsed .BackgroundBorderShadow::after {
  opacity: 1;
}

.design-canvas .collapsible-about.is-collapsed
  .PrintBannersHighResolutionFilesForLargeFormatPrinting,
.design-canvas .collapsible-about.is-collapsed
  .OfficeCompanyGroupScenesWithFunDetailsAndBrandElements,
.design-canvas .collapsible-about.is-collapsed
  .UploadYourPhotosAndTellUsTheStoryWeLlTurnItIntoArtworkPeopleActuallyRemember {
  display: none !important;
}

.design-canvas .collapsible-about.is-collapsed > .collapse-toggle {
  left: 579.5px !important;
  top: 202px !important;
}

.design-canvas .collapsible-about.is-collapsed > .collapse-toggle::after {
  content: none;
}

/* Special gifts cards (Gifts for special people) */
.design-canvas .special-gifts-card {
  --special-gifts-rgb: 206, 222, 240;
  background: rgba(var(--special-gifts-rgb), 0.42) !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.design-canvas .special-gifts-card > img,
.design-canvas .special-gifts-card > .Frame2442 {
  width: 98px !important;
  height: 98px !important;
  left: 5px !important;
  top: 5px !important;
  bottom: 5px !important;
  border-radius: 17px !important;
  object-fit: cover !important;
}

.design-canvas .special-gifts-card > div:not(.Frame2442) {
  left: 113px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Favorites categories block ("Explore the most-loved categories") */
.design-canvas [data-layer="Explore the most-loved categories"][style*="top: 3099px"] {
  left: 41px !important;
}

.design-canvas .Frame2419[style*="top: 3148px"] {
  width: 227px !important;
  left: 948px !important;
}

.design-canvas .Frame2421[style*="top: 3148px"] {
  left: 494px !important;
}

.design-canvas .Frame2422[style*="top: 3148px"] {
  width: 227px !important;
}

.design-canvas .Frame2418[style*="top: 3148px"] {
  left: 1175px !important;
}

.design-canvas .Frame2418[style*="top: 3148px"]:not(:hover) {
  box-shadow: none !important;
}

.design-canvas .Frame2418[style*="top: 3148px"] > img,
.design-canvas .Frame2419[style*="top: 3148px"] > img,
.design-canvas .Frame2420[style*="top: 3148px"] > img,
.design-canvas .Frame2421[style*="top: 3148px"] > img,
.design-canvas .Frame2422[style*="top: 3148px"] > img,
.design-canvas .Frame2423[style*="top: 3148px"] > img {
  width: 213px !important;
  height: 231px !important;
}

.design-canvas .Frame2418[style*="top: 3148px"] > div,
.design-canvas .Frame2419[style*="top: 3148px"] > div,
.design-canvas .Frame2420[style*="top: 3148px"] > div,
.design-canvas .Frame2421[style*="top: 3148px"] > div,
.design-canvas .Frame2422[style*="top: 3148px"] > div,
.design-canvas .Frame2423[style*="top: 3148px"] > div {
  left: 0 !important;
  width: 100% !important;
  text-align: center !important;
}

/* Gifts you like block ("Gifts you like") */
.design-canvas .Section-gifts-liked :is(.Frame2433, .Frame2434, .Frame2435, .Frame2436, .Frame2437, .Frame2438, .Frame2439, .Frame2440) {
  cursor: pointer;
}

.design-canvas .Section-gifts-liked :is(.Frame2433, .Frame2434, .Frame2435, .Frame2436, .Frame2437, .Frame2438, .Frame2439, .Frame2440) .Frame2429 {
  transition: filter 0.24s ease;
}

.design-canvas .Section-gifts-liked :is(.Frame2433, .Frame2434, .Frame2435, .Frame2436, .Frame2437, .Frame2438, .Frame2439, .Frame2440):hover .Frame2429 {
  filter: brightness(1.01);
}

.design-canvas .Section-gifts-liked :is(.Frame2433, .Frame2434, .Frame2435, .Frame2436, .Frame2437, .Frame2438, .Frame2439, .Frame2440) .Frame2429 img {
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  top: 0 !important;
  object-fit: cover !important;
  transition: transform 0.24s ease;
}

.design-canvas .Section-gifts-liked :is(.Frame2433, .Frame2434, .Frame2435, .Frame2436, .Frame2437, .Frame2438, .Frame2439, .Frame2440):hover .Frame2429 img {
  transform: scale(1.03);
}

.design-canvas .Section-gifts-liked :is(.Frame2433, .Frame2434, .Frame2435, .Frame2436, .Frame2437, .Frame2438, .Frame2439, .Frame2440) > .Button {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.design-canvas .Section-gifts-liked :is(.Frame2433, .Frame2434, .Frame2435, .Frame2436, .Frame2437, .Frame2438, .Frame2439, .Frame2440) > .Button:hover {
  box-shadow: 0 0 4px rgba(35, 32, 48, 0.5) !important;
  transform: translateY(-1px);
}

.design-canvas .Section-gifts-liked :is(.Frame2433, .Frame2434, .Frame2435, .Frame2436, .Frame2437, .Frame2438, .Frame2439, .Frame2440) > .Button:active {
  transform: translateY(0);
}

/* Gift Room form-field primitives — used by both gift-room.html and Collection modal merge.
   Mirrors styles/components/gift-room.css so Collection modal can render Event type / Date /
   Budget / Invite fields on pages that don't load gift-room.css. */
.collection-modal__giftroom,
.collection-modal__giftroom-row,
.collection-modal__giftroom-invite { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 0; }
.collection-modal__giftroom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collection-modal__giftroom[hidden],
.collection-modal__giftroom-row[hidden],
.collection-modal__giftroom-invite[hidden],
.collection-modal__sections[hidden],
.collection-modal__subtitle[hidden] { display: none !important; }
.collection-modal__subtitle {
  margin: 4px 0 14px; color: var(--color-ink-soft, #4A465D);
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 14px; line-height: 1.45;
}

.collection-modal .gift-room-field { display: flex; flex-direction: column; gap: 7px; }
.collection-modal .gift-room-field:has(.gift-room-field__input),
.collection-modal .gift-room-field:has(.gift-room-field__textarea) {
  position: relative;
  gap: 0;
  padding-top: 8px;
}
.collection-modal .gift-room-field__label {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: var(--color-ink-soft);
}
.collection-modal .gift-room-field:has(.gift-room-field__input) .gift-room-field__label,
.collection-modal .gift-room-field:has(.gift-room-field__textarea) .gift-room-field__label {
  position: absolute;
  top: 2px;
  left: 22px;
  z-index: 3;
  border-radius: 999px;
  background: var(--popup-bg, var(--color-cream));
  padding: 0 6px;
  pointer-events: none;
}
.collection-modal .gift-room-field__input {
  padding: 11px 14px; background: var(--color-sand); border: 1px solid var(--color-line);
  border-radius: 999px; font-family: inherit; font-size: 0.94rem; color: var(--color-ink);
  transition: background .2s, border-color .2s; width: 100%;
  appearance: none; -webkit-appearance: none;
}
.collection-modal .gift-room-field__input:focus {
  outline: none; background: var(--color-cream); border-color: var(--color-forest);
}
.collection-modal .gift-room-field__textarea {
  padding: 11px 14px; background: var(--color-sand); border: 1px solid var(--color-line);
  border-radius: 28px; font-family: inherit; font-size: 0.94rem; color: var(--color-ink);
  resize: vertical; min-height: 70px; transition: background .2s, border-color .2s; width: 100%;
}
.collection-modal .gift-room-field__textarea:focus {
  outline: none; background: var(--color-cream); border-color: var(--color-forest);
}
.collection-modal .gift-room-field__hint { font-size: 0.78rem; color: var(--color-ink-soft); margin: 0; }

.collection-modal .gift-room-typegrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.collection-modal .gift-room-typegrid__chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 8px; background: var(--color-cream); border: 1px solid var(--color-line);
  border-radius: 14px; cursor: pointer; color: var(--color-ink-soft); font-family: inherit;
  font-size: 0.78rem; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.collection-modal .gift-room-typegrid__chip:hover {
  border-color: var(--color-ink); color: var(--color-ink);
}
.collection-modal .gift-room-typegrid__chip.is-selected {
  background: var(--color-forest); border-color: var(--color-forest); color: var(--color-cream);
}
.collection-modal .gift-room-typegrid__chip-icon { width: 22px; height: 22px; }
.collection-modal .gift-room-typegrid__chip-label { font-weight: 500; }

.collection-modal .gift-room-stepper { display: flex; align-items: center; gap: 6px; }
.collection-modal .gift-room-stepper__btn {
  width: 38px; height: 38px; flex-shrink: 0; background: var(--color-cream);
  border: 1px solid var(--color-line); border-radius: 12px; font-family: inherit;
  font-size: 1.1rem; color: var(--color-ink); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.collection-modal .gift-room-stepper__btn:hover {
  background: var(--color-sand); border-color: var(--color-ink);
}
.collection-modal .gift-room-stepper__input { text-align: center; }

@media (max-width: 560px) {
  .collection-modal__giftroom-row { grid-template-columns: 1fr; }
  .collection-modal .gift-room-typegrid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   COLLECTION MODAL — canonical unified design (Create new gift room).
   Overrides older .collection-modal__* legacy rules above. Single popup
   used everywhere: storefront "+ New collection", gift-room.html
   "New Gift Room" trigger.
   ========================================================================= */
.collection-modal-overlay {
  position: fixed; inset: 0;
  background: var(--popup-overlay);
  z-index: var(--z-modal-front, 13000);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
  overflow-y: auto;
}
.collection-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.collection-modal-overlay[hidden] { display: none !important; }

.collection-modal-shell {
  position: relative;
  width: 100%; max-width: 578px;
  margin: auto 0;
}

.collection-modal {
  background: var(--popup-bg);
  border-radius: 30px;
  padding: 20px 20px 24px;
  box-shadow: var(--popup-shadow);
  display: flex; flex-direction: column; gap: 18px;
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  color: #232030;
}
.collection-modal:focus { outline: 0; }

.collection-modal__close {
  position: absolute;
  top: 0;
  left: calc(100% + var(--popup-close-offset, 10px));
  right: auto;
  width: var(--popup-close-width, 78px);
  height: var(--popup-close-height, 55px);
  border: 0; border-radius: 999px;
  background: var(--popup-bg);
  box-shadow: var(--popup-shadow-soft);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.collection-modal__close::before, .collection-modal__close::after { content: none; }
.collection-modal__close:hover,
.collection-modal__close:focus-visible {
  background: var(--popup-close-hover-bg, var(--sort-control-bg));
  animation: header-auth-close-bounce 0.28s cubic-bezier(0.23, 1.3, 0.32, 1) both;
  filter: var(--popup-close-hover-filter);
}
.collection-modal__close-icon { width: var(--popup-close-icon-size, 17px); height: var(--popup-close-icon-size, 17px); display: block; }

.collection-modal__title {
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: var(--popup-title-font, var(--font-display));
  font-size: var(--popup-title-size, 25px);
  font-weight: var(--popup-title-weight, 600);
  line-height: var(--popup-title-line-height, 1.16);
  letter-spacing: var(--popup-title-letter-spacing, 0);
  color: var(--color-ink);
}
.collection-modal__subtitle {
  margin: -6px 0 0;
  padding: 0;
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 13px; font-weight: 600; line-height: 1.45;
  color: #232030;
}

/* Guest banner — visible only when not authenticated */
.collection-modal__guest {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px;
  background: #EEE5DA;
  border-radius: 20px;
}
.collection-modal__guest[hidden] { display: none !important; }
.collection-modal__guest-copy { flex: 1 1 auto; min-width: 0; }
.collection-modal__guest-title {
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 14px; font-weight: 600; color: #222031;
  margin-bottom: 4px;
}
.collection-modal__guest-text {
  font-size: 11px; font-weight: 500; line-height: 1.4; color: #222031;
}
.collection-modal__guest-action {
  flex-shrink: 0;
  height: 42px; padding: 0 22px;
  background: #222031; color: #FAF1EA;
  border: 0; border-radius: 999px;
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
/* hover: scale via ::before in overlays.css */

/* Field primitives */
.collection-modal__field {
  position: relative;
  display: flex; flex-direction: column; gap: 0;
  padding-top: 8px;
}
.collection-modal__field--date {
  position: relative;
}
.collection-modal__field-head {
  position: absolute;
  top: 2px;
  left: 22px;
  right: 22px;
  z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.collection-modal__label {
  border-radius: 999px;
  background: var(--collection-modal-label-bg, var(--collection-modal-field-bg, var(--popup-bg)));
  padding: 0 6px;
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 13px; font-weight: 600; line-height: 1.2;
  color: #232030;
}
.collection-modal__field > .collection-modal__label {
  position: absolute;
  top: 2px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}
.collection-modal__field--budget > .collection-modal__label {
  left: 78px;
}

.collection-modal__field--type {
  padding-top: 0;
  gap: 8px;
}

.collection-modal__field.collection-modal__field--type > .collection-modal__label,
.collection-modal__label--section {
  position: static;
  left: auto;
  top: auto;
  z-index: auto;
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: auto;
}

.collection-modal__field--type .collection-modal__typegrid {
  margin-top: 0;
}

.collection-modal__field.is-error .collection-modal__label,
.collection-modal__field--date.is-date-invalid > .collection-modal__label {
  color: var(--color-alert-red);
}
.collection-modal__counter {
  border-radius: 999px;
  background: var(--collection-modal-label-bg, var(--collection-modal-field-bg, var(--popup-bg)));
  padding: 0 6px;
  font-size: 13px; font-weight: 600; color: #232030;
}

/* Event-type tile grid */
.collection-modal__typegrid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px;
  margin-top: 4px;
}
.collection-modal__type-chip {
  height: 81px; padding: 6px 4px;
  border: 0; border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: #232030;
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  transition: background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.collection-modal__type-chip:hover {
  box-shadow: var(--shadow-card-hover);
}
.collection-modal__type-chip.is-selected {
  background: transparent;
  color: #3F6A60;
}
.collection-modal__type-chip-icon {
  width: 34px; height: 34px; display: block;
  pointer-events: none;
}
.collection-modal__type-chip-label {
  font-size: 11px; font-weight: 600; line-height: 1.1;
  pointer-events: none;
}

/* Room name input */
.collection-modal__input-shell {
  position: relative;
  height: 52px;
  background: var(--collection-modal-field-bg, var(--popup-bg));
  border-radius: 999px;
  border: 1.5px solid var(--color-forest);
  box-shadow: inset 0 1px 2px rgba(35, 32, 48, 0.05);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.collection-modal__input-shell:focus-within { border-color: var(--color-forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-forest) 14%, transparent); }
.collection-modal__input-shell.is-error {
  border-color: var(--color-alert-red);
  background: var(--collection-modal-field-bg, var(--popup-bg));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-alert-red) 11%, transparent);
  outline-color: transparent;
}
.collection-modal__input {
  width: 100%; height: 100%;
  border: 0; background: transparent; outline: 0;
  padding: 0 25px;
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 13px; font-weight: 500; color: #232030;
  -webkit-text-fill-color: #232030;
}
.collection-modal__input::placeholder { color: #232030; opacity: 0.55; }
.collection-modal__error {
  margin: 8px 0 0 10px;
  color: var(--color-alert-red);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
}

/* Date + Budget row */
.collection-modal__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  align-items: end;
}
.collection-modal__field--date,
.collection-modal__field--budget { gap: 6px; }

.collection-modal__date-shell {
  position: relative;
  height: 50px;
  background: var(--popup-bg);
  border-radius: 999px;
  outline: 2px solid var(--color-forest);
  outline-offset: -2px;
  display: flex; align-items: center; padding: 0 25px;
  overflow: hidden;
}
.collection-modal__date-shell:focus-within { outline-color: var(--color-forest); }
.collection-modal__date-shell {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.collection-modal__date-input {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: transparent; outline: 0;
  color: var(--color-ink);
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 15px; font-weight: 700; line-height: 1;
  cursor: pointer;
  caret-color: var(--color-forest);
}
.collection-modal__date-input::placeholder { color: #4A465D; opacity: 0.55; font-weight: 500; }
.collection-modal__date-shell:focus-within { outline-color: var(--color-forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-forest) 14%, transparent); }
/* Budget stepper */
.collection-modal__budget {
  display: flex; align-items: center; gap: 6px;
}
.collection-modal__budget-step {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--popup-bg);
  border: 2px solid var(--color-forest);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s ease, border-color .18s ease;
}
.collection-modal__budget-step:hover { background: var(--popup-bg-soft); border-color: var(--color-forest); }
.collection-modal__budget-step-icon { width: 26px; height: 26px; display: block; object-fit: contain; pointer-events: none; }
.collection-modal__budget-step-icon--minus { width: 30px; height: 8px; object-fit: fill; }
.collection-modal__budget-shell {
  flex: 1; min-width: 0;
  height: 50px;
  background: var(--popup-bg);
  border-radius: 999px;
  outline: 2px solid var(--color-forest);
  outline-offset: -2px;
  display: flex; align-items: center;
}
.collection-modal__budget-shell:focus-within { outline-color: var(--color-forest); }
.collection-modal__budget-input {
  width: 100%; height: 100%;
  border: 0; background: transparent; outline: 0;
  padding: 0 20px;
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 15px; font-weight: 700; color: var(--color-ink);
  text-align: center;
}
.collection-modal__budget-input::placeholder { color: #A9A9A9; }

/* Visibility & collab sections */
.collection-modal__section {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
}
.collection-modal__row + .collection-modal__section {
  margin-top: 10px;
}
.collection-modal__section-copy { flex: 1 1 auto; min-width: 0; }
.collection-modal__section-title {
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 15px; font-weight: 600; line-height: 1.3;
  color: #232030;
  margin-bottom: 6px;
}
.collection-modal__section-text {
  font-size: 14px; font-weight: 500; line-height: 1.4;
  color: #232030;
}

.collection-modal__visibility {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex-shrink: 0;
  min-width: 112px;
}
.collection-modal__visibility-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: #232030; line-height: 1.1;
  text-align: left;
  white-space: nowrap;
}
.collection-modal__visibility-icon { width: 18px; height: 18px; display: block; }
.collection-modal__visibility-text { line-height: 1.1; white-space: nowrap; }

.collection-modal__collab-controls {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

/* Toggle pill — used for visibility AND collab */
.collection-modal__toggle {
  width: 82px; height: 42px;
  border: 0; padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.collection-modal__toggle-track {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  background: #FAF1EA;
  border: 2px solid #232030;
  border-radius: 999px;
  transition: background-color .2s ease, border-color .2s ease;
  overflow: hidden;
}
.collection-modal__toggle-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: 30px; height: 30px;
  background: #232030;
  border-radius: 999px;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), background-color .2s ease;
}
.collection-modal__toggle.is-on .collection-modal__toggle-thumb {
  transform: translateX(40px);
}
.collection-modal__toggle-icon {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.collection-modal__toggle-icon img { width: 100%; height: 100%; display: block; }
.collection-modal__toggle-icon--off { right: 12px; opacity: 1; }
.collection-modal__toggle-icon--on { left: 12px; color: var(--popup-bg, var(--color-cream)); }
.collection-modal__toggle--visibility .collection-modal__toggle-icon--on img { display: none; }
.collection-modal__toggle--visibility .collection-modal__toggle-icon--on::before {
  content: "";
  width: 17px;
  height: 14px;
  display: block;
  background: currentColor;
  -webkit-mask: url("assets/header-icons/check-toggle.svg") center / contain no-repeat;
  mask: url("assets/header-icons/check-toggle.svg") center / contain no-repeat;
}
.collection-modal__toggle.is-on .collection-modal__toggle-icon--off { opacity: 0; }
.collection-modal__toggle.is-on .collection-modal__toggle-icon--on { opacity: 1; }

/* Collab toggle (no inner icons) */
.collection-modal__toggle--collab .collection-modal__toggle-track {
  background: #DCDDD3;
  border-color: transparent;
}
.collection-modal__toggle--collab .collection-modal__toggle-thumb {
  background: #FAF1EA;
}
.collection-modal__toggle--collab.is-on .collection-modal__toggle-track {
  background: #3F6A60;
}
.collection-modal__toggle--collab.is-on .collection-modal__toggle-thumb {
  background: #FAF1EA;
}

/* Footer buttons */
.collection-modal__footer {
  position: sticky;
  bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 4px -22px 0;
  padding: 10px 22px 0;
  background: var(--popup-bg);
  border-top: 1px solid var(--popup-border);
}
.collection-modal__cancel,
.collection-modal__create {
  margin-top: 4px;
  min-height: 54px; padding: 0 56px;
  border: 0; border-radius: 999px;
  font-family: var(--font-body, system-ui), system-ui, sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1.2;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: box-shadow .22s ease, transform .22s ease;
}
.collection-modal__cancel {
  background: #FAF1EA;
  color: #232030;
}
.collection-modal__cancel:hover { box-shadow: 0 0 4px rgba(35, 32, 48, 0.5); }
.collection-modal__create {
  background: #3F6A60;
  color: #FAF1EA;
  padding: 0 27px;
}
/* hover: scale via ::before in overlays.css */
.collection-modal__create:disabled,
.collection-modal__create[aria-disabled="true"] {
  background: #DCDDD3;
  color: #B3BFB2;
  cursor: not-allowed;
}
.collection-modal__body { display: contents; }
.collection-modal__sheet-grip { display: none; }

/* MOBILE responsive */
@media (max-width: 720px) {
  .collection-modal-overlay { --collection-modal-mobile-top: clamp(84px, 13dvh, 128px); padding: calc(env(safe-area-inset-top, 0px) + var(--collection-modal-mobile-top)) 0 0; align-items: flex-end; overflow: hidden; }
  .collection-modal-shell { width: 100%; max-width: 100%; height: 100%; margin: 0; }
  .collection-modal__close { display: none; }
  .collection-modal { width: 100%; height: 100%; padding: 0; gap: 0; border-radius: 22px 22px 0 0; max-height: none; overflow: hidden; scrollbar-gutter: auto; transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1); }
  .collection-modal-overlay:not(.is-open) .collection-modal { transform: translateY(18px); will-change: transform; }
  .collection-modal-overlay.is-sheet-dragging .collection-modal { transform: translateY(var(--collection-sheet-drag-y, 0px)); transition: none; will-change: transform; }
  .collection-modal-overlay.is-sheet-settling .collection-modal { transform: translateY(var(--collection-sheet-drag-y, 0px)); transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
  .collection-modal-overlay.is-sheet-closing .collection-modal { transform: translateY(var(--collection-sheet-drag-y, 0px)); transition: transform 0.18s cubic-bezier(0.4, 0, 1, 1); will-change: transform; }
  .collection-modal__sheet-grip { display: flex; flex: 0 0 44px; min-height: 44px; align-items: center; justify-content: center; cursor: grab; touch-action: none; user-select: none; }
  .collection-modal__sheet-grip span { width: var(--popup-sheet-grip-width, 48px); height: var(--popup-sheet-grip-thickness, 5px); border-radius: 999px; background: var(--popup-sheet-grip-color); }
  .collection-modal-overlay.is-sheet-dragging .collection-modal__sheet-grip { cursor: grabbing; }
  .collection-modal__body { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 12px; display: flex; flex-direction: column; gap: 14px; scrollbar-gutter: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .collection-modal__body::-webkit-scrollbar { width: 0; height: 0; }
  .collection-modal__title {
    font-size: var(--popup-title-size, 25px);
    line-height: var(--popup-title-line-height, 1.16);
    text-align: left;
    padding: 0;
  }
  .collection-modal__typegrid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .collection-modal__type-chip { height: 76px; }
  .collection-modal__row { grid-template-columns: 1fr; gap: 12px; }
  .collection-modal__section { flex-direction: row; align-items: center; }
  .collection-modal__footer { flex-direction: row; gap: 10px; flex: 0 0 auto; position: relative; bottom: 0; z-index: 20; margin: 0; padding: 8px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--popup-bg); box-shadow: 0 -10px 22px rgba(35, 32, 48, 0.08); }
  .collection-modal__cancel,
  .collection-modal__create { flex: 1; min-width: 0; padding: 0 16px; min-height: 48px; }
  .collection-modal__guest { flex-direction: column; align-items: stretch; }
  .collection-modal__guest-action { align-self: flex-start; }
}

@media (max-width: 460px) {
  .collection-modal-overlay { --collection-modal-mobile-top: clamp(84px, 13dvh, 128px); }
  .collection-modal { height: 100%; max-height: none; padding: 0; }
  .collection-modal__body { padding: 4px 14px 12px; }
  .collection-modal__close { display: none; }
  .collection-modal__title { padding: 0; }
  .collection-modal__typegrid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .collection-modal__type-chip { height: 68px; }
  .collection-modal__budget-input { font-size: 13px; }
  .collection-modal__footer { padding-top: 8px; padding-right: 14px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding-left: 14px; }
  .collection-modal__cancel,
  .collection-modal__create { min-height: 46px; font-size: 15px; }
  /* iOS Safari zooms the viewport to 16px equivalent when an input/textarea
     with font-size < 16px receives focus. That re-flows the layout and
     forces the user to manually zoom out. Bumping every visible touch input
     to ≥16px on narrow viewports keeps the keyboard interaction calm. The
     specific inputs targeted by the audit (header-auth, newsletter, assistant,
     forgot-password, support search) are covered, plus future inputs by
     default. */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input:not([type]),
  textarea {
    font-size: max(16px, 1em);
  }
}

@media (max-width: 560px) {
  .header-auth-title {
    font-size: 22px !important;
    line-height: 1.18 !important;
  }
}
