/* Appily Thirtyseven chrome — Vegist-inspired ribbon, centered logo, mega-nav, category icons */

.a37-ribbon {
  background: var(--a37-dark);
  color: #fff;
  font-size: 0.78rem;
}
.a37-ribbon-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.55rem 0; flex-wrap: wrap;
}
.a37-ribbon-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.a37-ribbon-links a { color: rgba(255,255,255,0.88); text-decoration: none !important; }
.a37-ribbon-links a:hover { color: var(--a37-gold); text-decoration: none !important; }

.a37-header-identity {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0 0.85rem;
  border-bottom: 1px solid var(--a37-border);
}
.a37-hotline {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--a37-ink); font-weight: 600; font-size: 0.88rem;
  text-decoration: none !important;
}
.a37-hotline:hover { color: var(--a37-plum); text-decoration: none !important; }
.a37-hotline--ghost { visibility: hidden; }
.a37-hotline-icon { color: var(--a37-plum); font-size: 1rem; }

.a37-brand--center { justify-self: center; flex-direction: column; gap: 0.2rem; text-align: center; }
.a37-brand-mark {
  font-size: 1.35rem;
  color: #0f8f72;
  line-height: 1;
  font-weight: 700;
}
.a37-brand-mark--footer {
  display: block;
  width: 28px;
  height: 34px;
  font-size: 0;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(160deg, #2ee6a8, #0f8f72 55%, #0a3d32);
  box-shadow: 0 6px 14px rgba(15, 143, 114, 0.3);
  position: relative;
  flex-shrink: 0;
}
.a37-brand-mark--footer::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}
.a37-brand-word {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--a37-ink);
  letter-spacing: -0.02em;
}

.a37-header-icons {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.65rem;
}

/* Member account chip — Glasshouse grove seal */
.a37-member-chip {
  --mb-ink: #04261f;
  --mb-deep: #0a3d32;
  --mb-leaf: #0f8f72;
  --mb-mint: #2ee6a8;
  --mb-gold: #e8c547;
  --mb-coral: #ff6b4a;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.3rem 0.78rem 0.3rem 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 143, 114, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(214, 243, 234, 0.55));
  color: var(--mb-ink);
  text-decoration: none !important;
  box-shadow:
    0 8px 22px rgba(4, 38, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, background 0.25s;
}

.a37-member-chip:hover {
  border-color: rgba(46, 230, 168, 0.55);
  box-shadow:
    0 14px 32px rgba(15, 143, 114, 0.18),
    0 0 0 3px rgba(46, 230, 168, 0.12);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.a37-member-chip.is-signed-in {
  background:
    linear-gradient(135deg, rgba(46, 230, 168, 0.16), rgba(255, 255, 255, 0.92));
  border-color: rgba(46, 230, 168, 0.4);
}

.a37-member-avatar {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.a37-member-glow {
  position: absolute;
  inset: 2px;
  border-radius: 14px;
  background: radial-gradient(circle at 35% 30%, rgba(46, 230, 168, 0.55), transparent 65%);
  opacity: 0.7;
  filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.25s;
}

.a37-member-chip:hover .a37-member-glow {
  opacity: 1;
}

.a37-member-ring {
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  border: 1.5px dashed rgba(15, 143, 114, 0.35);
  animation: a37MemberRing 12s linear infinite;
  pointer-events: none;
}

@keyframes a37MemberRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.a37-member-chip:hover .a37-member-ring {
  border-color: rgba(232, 197, 71, 0.55);
  animation-duration: 7s;
}

.a37-member-core {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--mb-leaf);
  background:
    linear-gradient(160deg, #fff 0%, #eef9f4 100%);
  border: 1px solid rgba(46, 230, 168, 0.45);
  box-shadow:
    0 6px 16px rgba(15, 143, 114, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.45, 0.64, 1), background 0.25s, color 0.25s;
}

.a37-member-chip:hover .a37-member-core {
  transform: scale(1.06) rotate(-3deg);
}

.a37-member-chip.is-signed-in .a37-member-core {
  color: #fff;
  background: linear-gradient(145deg, var(--mb-deep), var(--mb-ink));
  border-color: rgba(46, 230, 168, 0.55);
  box-shadow:
    0 8px 20px rgba(4, 38, 31, 0.28),
    0 0 16px rgba(46, 230, 168, 0.25);
}

.a37-member-initial {
  position: relative;
  z-index: 1;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--mb-mint);
}

/* CSS guest glyph — person + sprout leaf */
.a37-member-glyph {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.a37-member-glyph-head {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: currentColor;
}

.a37-member-glyph-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 12px;
  height: 7px;
  margin-left: -6px;
  border-radius: 8px 8px 2px 2px;
  background: currentColor;
}

.a37-member-glyph-leaf {
  position: absolute;
  top: -1px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-radius: 0 70% 0 70%;
  background: linear-gradient(135deg, var(--mb-mint), #7ef0c4);
  transform: rotate(28deg);
  box-shadow: 0 0 6px rgba(46, 230, 168, 0.55);
  animation: a37MemberLeaf 2.4s ease-in-out infinite;
}

@keyframes a37MemberLeaf {
  0%, 100% { transform: rotate(28deg) scale(1); }
  50% { transform: rotate(38deg) scale(1.08); }
}

.a37-member-chip.is-signed-in .a37-member-glyph-leaf {
  background: linear-gradient(135deg, var(--mb-gold), #f0d878);
}

.a37-member-verified {
  position: absolute;
  right: -2px;
  bottom: -1px;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mb-mint), #1db88a);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(46, 230, 168, 0.45);
}

.a37-member-verified::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 3.5px;
  width: 3.5px;
  height: 6px;
  border: solid #04261f;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.a37-member-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
}

.a37-member-copy strong {
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mb-leaf);
}

.a37-member-chip.is-signed-in .a37-member-copy strong {
  color: var(--mb-leaf);
}

.a37-member-copy em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mb-ink);
  max-width: 10ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .a37-member-ring,
  .a37-member-glyph-leaf {
    animation: none !important;
  }
}

.a37-icon-btn {
  position: relative;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--a37-border);
  border-radius: 50%;
  color: var(--a37-ink);
  text-decoration: none !important;
  font-size: 1.1rem;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.a37-icon-btn:hover {
  border-color: var(--a37-plum);
  color: var(--a37-plum);
  background: var(--a37-cream);
  text-decoration: none !important;
}
.a37-icon-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--a37-gold); color: var(--a37-ink);
  font-size: 0.62rem; font-weight: 700;
  border-radius: 999px;
  display: grid; place-items: center;
}

.a37-nav-row { background: #fff; border-bottom: 2px solid var(--a37-cream); }
.a37-nav-row-inner {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 260px) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
}
.a37-nav-item { position: relative; }
.a37-nav-item.has-mega:hover .a37-mega,
.a37-nav-item.has-mega:focus-within .a37-mega { display: block; }
.a37-nav-caret { font-size: 0.65rem; opacity: 0.6; }
.a37-mega {
  display: none;
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 100%;
  width: min(920px, 94vw);
  background: #fff;
  border: 1px solid var(--a37-border);
  border-radius: 0 0 var(--a37-radius) var(--a37-radius);
  box-shadow: var(--a37-shadow);
  padding: 1.25rem 1.5rem;
  z-index: 400;
}
.a37-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.a37-mega-col strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--a37-plum);
  margin-bottom: 0.65rem;
}
.a37-mega-col ul { list-style: none; margin: 0; padding: 0; }
.a37-mega-col li { margin: 0.35rem 0; }
.a37-mega-col a {
  color: var(--a37-muted);
  font-size: 0.86rem;
  text-decoration: none !important;
}
.a37-mega-col a:hover { color: var(--a37-plum); text-decoration: none !important; }

.a37-search-bar {
  display: flex;
  border: 1px solid var(--a37-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.a37-search-bar input {
  border: 0; padding: 0.55rem 0.75rem;
  font: inherit; width: 100%; outline: none; font-size: 0.85rem;
}
.a37-search-bar button {
  border: 0; background: var(--a37-cream);
  padding: 0 0.85rem; cursor: pointer; color: var(--a37-ink);
}

.a37-cat-icons {
  background: var(--a37-cream);
  border-bottom: 1px solid var(--a37-border);
}
.a37-cat-icons-inner {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
}
.a37-cat-icon-tile {
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  padding: 0.75rem 0.35rem;
  background: #fff;
  border: 1px solid var(--a37-border);
  border-radius: var(--a37-radius);
  text-decoration: none !important;
  transition: border-color 0.15s, transform 0.15s;
}
.a37-cat-icon-tile:hover {
  border-color: var(--a37-plum);
  transform: translateY(-2px);
  text-decoration: none !important;
}
.a37-cat-icon-glyph { font-size: 1.6rem; line-height: 1; }
.a37-cat-icon-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--a37-ink);
  text-align: center;
  line-height: 1.25;
}

/* Legacy aliases + shared chrome */
.a37-topbar {
  background: var(--a37-dark);
  color: #fff;
  font-size: 0.78rem;
}
.a37-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.5rem 0; flex-wrap: wrap;
}
.a37-topbar-promo { font-weight: 500; }
.a37-topbar-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.a37-topbar-links a { color: rgba(255,255,255,0.9); text-decoration: none !important; }
.a37-topbar-links a:hover { color: var(--a37-orange); text-decoration: none !important; }

.a37-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 2px 20px rgba(30, 30, 30, 0.06);
}

.a37-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.a37-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
  color: var(--a37-ink);
}
.a37-brand-word {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f8f72;
  letter-spacing: -0.01em;
}
/* legacy petal selector kept as alias */
.a37-brand-petal {
  display: none;
}
.a37-brand--footer .a37-brand-word { font-size: 1.35rem; }

.a37-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.a37-nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  color: var(--a37-ink);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  border-radius: var(--a37-radius);
  position: relative;
  transition: color 0.15s;
}
.a37-nav-link:hover { color: var(--a37-orange); text-decoration: none !important; }
.a37-nav-link.is-active { color: var(--a37-orange); }
.a37-nav-hot {
  background: var(--a37-red);
  color: #fff;
  font-size: 0.55rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.a37-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.a37-search-mini {
  display: flex;
  border: 1px solid var(--a37-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--a37-cream);
}
.a37-search-mini input {
  border: 0;
  padding: 0.45rem 0.75rem;
  font: inherit;
  width: 100px;
  min-width: 0;
  outline: none;
  background: transparent;
  font-size: 0.82rem;
}
.a37-search-mini button {
  border: 0;
  background: transparent;
  padding: 0 0.65rem;
  cursor: pointer;
  color: var(--a37-muted);
}
.a37-action {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--a37-ink);
  text-decoration: none !important;
  font-size: 1.15rem;
  border-radius: 50%;
  transition: background 0.15s;
}
.a37-action:hover { background: var(--a37-cream); text-decoration: none !important; }
.a37-action--account:hover .a37-account-glyph {
  background: linear-gradient(145deg, var(--a37-orange), var(--a37-rose));
  transform: translateY(-1px);
}
.a37-account-glyph {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--a37-sage) 0%, var(--a37-forest) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92);
  transition: background 0.2s, transform 0.2s;
}
.a37-account-glyph::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}
.a37-account-glyph::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 8px;
  border-radius: 10px 10px 0 0;
  background: #fff;
}
.a37-account-glyph--sm {
  display: inline-block;
  vertical-align: -4px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  margin-right: 0.35rem;
}
.a37-account-glyph--sm::before {
  top: 3px;
  width: 6px;
  height: 6px;
}
.a37-account-glyph--sm::after {
  bottom: 2px;
  width: 11px;
  height: 6px;
}
.a37-mobile-secondary a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.a37-action-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--a37-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.a37-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--a37-cream);
  border: 1px solid var(--a37-border);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.a37-menu-toggle:hover {
  background: #fff;
  border-color: hsla(270, 35%, 55%, 0.4);
  box-shadow: 0 4px 14px hsla(270, 30%, 20%, 0.12);
}

.a37-menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--a37-ink);
  border-radius: 999px;
  transition: transform 0.25s, opacity 0.2s, width 0.2s;
}

.a37-menu-toggle.is-open .a37-menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.a37-menu-toggle.is-open .a37-menu-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.a37-menu-toggle.is-open .a37-menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.a37-perks-bar {
  background: var(--a37-cream);
  border-top: 1px solid var(--a37-border);
  border-bottom: 1px solid var(--a37-border);
}
.a37-perks-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0.65rem 0;
}
.a37-perk {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
}
.a37-perk-icon { font-size: 1.25rem; color: var(--a37-orange); }
.a37-perk strong { display: block; font-weight: 700; color: var(--a37-ink); line-height: 1.2; }
.a37-perk span { color: var(--a37-muted); font-size: 0.72rem; }

.a37-cat-strip {
  background: #fff;
  border-bottom: 1px solid var(--a37-border);
  overflow-x: auto;
}
.a37-cat-strip-inner {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0;
  flex-wrap: nowrap;
  min-width: min-content;
}
.a37-cat-pill {
  flex-shrink: 0;
  padding: 0.4rem 1rem;
  background: var(--a37-warm);
  border: 1px solid var(--a37-border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--a37-ink);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.a37-cat-pill:hover {
  background: var(--a37-orange);
  border-color: var(--a37-orange);
  color: #fff;
  text-decoration: none !important;
}

/* Mobile drawer — Atelier bloom menu */
.a37-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
}

.a37-mobile-drawer[aria-hidden="false"] {
  pointer-events: auto;
}

.a37-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: hsla(270, 25%, 12%, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.a37-mobile-drawer[aria-hidden="false"] .a37-mobile-backdrop {
  opacity: 1;
}

.a37-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100%;
  background:
    linear-gradient(180deg, hsla(270, 35%, 98%, 0.98) 0%, var(--a37-warm) 18%, var(--a37-warm) 100%);
  transform: translateX(104%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 1.35rem;
  box-shadow: -20px 0 56px hsla(270, 30%, 15%, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  -webkit-overflow-scrolling: touch;
}

.a37-mobile-drawer[aria-hidden="false"] .a37-mobile-panel {
  transform: translateX(0);
}

.a37-drawer-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1rem 1.05rem;
  background: linear-gradient(145deg, var(--a37-plum) 0%, #3d2560 55%, var(--a37-sage) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
  overflow: hidden;
}

.a37-drawer-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--a37-rose), var(--a37-gold), var(--a37-sage));
}

.a37-drawer-hero-copy {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.a37-drawer-hero-mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1.15rem;
  color: var(--a37-gold);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.a37-drawer-hero-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
}

.a37-drawer-hero-copy span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
}

.a37-drawer-close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  position: relative;
}

.a37-drawer-close span,
.a37-drawer-close span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  content: '';
}

.a37-drawer-close span {
  transform: translate(-50%, -50%) rotate(45deg);
}

.a37-drawer-close span::before {
  transform: rotate(-90deg);
}

.a37-drawer-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.15rem 1rem 0;
}

.a37-drawer-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 74px;
  padding: 0.7rem 0.75rem;
  background: #fff;
  border: 1px solid var(--a37-border);
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--a37-ink);
  box-shadow: 0 4px 14px rgba(42, 33, 24, 0.05);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.a37-drawer-quick-btn:hover {
  border-color: hsla(270, 35%, 55%, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px hsla(270, 30%, 20%, 0.1);
  text-decoration: none !important;
}

.a37-drawer-quick-btn.is-cart {
  background: linear-gradient(135deg, hsla(270, 35%, 96%, 0.95), hsla(160, 25%, 95%, 0.9));
  border-color: hsla(270, 35%, 55%, 0.18);
}

.a37-drawer-quick-btn.is-signed-in {
  background: linear-gradient(135deg, rgba(46, 230, 168, 0.14), rgba(255, 255, 255, 0.95));
  border-color: rgba(46, 230, 168, 0.35);
}

.a37-drawer-quick-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(238, 249, 244, 0.95);
  color: #0f8f72;
  font-size: 0.95rem;
  line-height: 1;
}

.a37-drawer-quick-icon--account {
  position: relative;
  color: #0f8f72;
  background:
    linear-gradient(160deg, #fff 0%, #eef9f4 100%);
  border: 1px solid rgba(46, 230, 168, 0.45);
  box-shadow:
    0 6px 14px rgba(15, 143, 114, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: visible;
}

.a37-drawer-quick-btn.is-signed-in .a37-drawer-quick-icon--account {
  color: #2ee6a8;
  background: linear-gradient(145deg, #0a3d32, #04261f);
  border-color: rgba(46, 230, 168, 0.5);
  box-shadow: 0 6px 16px rgba(4, 38, 31, 0.25);
}

.a37-drawer-quick-icon--account em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.a37-member-glyph--drawer {
  width: 14px;
  height: 14px;
}

.a37-member-glyph--drawer .a37-member-glyph-head {
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
}

.a37-member-glyph--drawer .a37-member-glyph-body {
  width: 10px;
  height: 6px;
  margin-left: -5px;
}

.a37-member-glyph--drawer .a37-member-glyph-leaf {
  width: 6px;
  height: 6px;
  right: -3px;
}

.a37-drawer-quick-icon--account::before,
.a37-drawer-quick-icon--account::after {
  display: none;
}

.a37-drawer-quick-label {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.a37-drawer-quick-label em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  color: #0f8f72;
}

.a37-drawer-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  margin: 0 1rem;
  padding: 0.35rem 0.35rem 0.35rem 0.65rem;
  background: #fff;
  border: 1px solid var(--a37-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.a37-drawer-search-icon {
  color: var(--a37-muted);
  font-size: 0.9rem;
  line-height: 1;
}

.a37-drawer-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0.45rem 0;
  font: inherit;
  font-size: 0.84rem;
  outline: none;
  background: transparent;
}

.a37-drawer-search button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--a37-plum), #3d2560);
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 12px hsla(270, 40%, 35%, 0.2);
}

.a37-drawer-section-label {
  margin: 0.15rem 0 0.45rem;
  padding: 0 1rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a37-muted);
}

.a37-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 1rem;
}

.a37-drawer-nav-link {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.8rem;
  background: #fff;
  border: 1px solid var(--a37-border);
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--a37-ink);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.a37-drawer-nav-link:hover {
  border-color: hsla(270, 35%, 55%, 0.3);
  transform: translateX(3px);
  text-decoration: none !important;
}

.a37-drawer-nav-link.is-active {
  border-color: hsla(270, 35%, 55%, 0.35);
  background: linear-gradient(135deg, hsla(270, 35%, 96%, 0.95), hsla(160, 25%, 95%, 0.85));
  box-shadow: 0 6px 18px hsla(270, 25%, 20%, 0.08);
}

.a37-drawer-nav-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: hsla(270, 35%, 95%, 0.9);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--a37-plum);
  line-height: 1;
}

.a37-drawer-nav-link.is-active .a37-drawer-nav-icon {
  background: linear-gradient(135deg, var(--a37-plum), var(--a37-sage));
  color: #fff;
}

.a37-drawer-nav-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.a37-drawer-hot {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--a37-rose), var(--a37-plum));
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.a37-drawer-nav-chevron {
  color: var(--a37-muted);
  font-size: 1.15rem;
  line-height: 1;
}

.a37-drawer-cats {
  padding: 0 1rem 0.15rem;
}

.a37-drawer-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.a37-drawer-cat-chip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 0.65rem;
  background: #fff;
  border: 1px solid var(--a37-border);
  border-radius: 12px;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.25;
  color: var(--a37-ink);
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.a37-drawer-cat-glyph {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: hsla(270, 35%, 95%, 0.95);
  font-size: 0.95rem;
  line-height: 1;
}

.a37-drawer-cat-chip:hover {
  background: linear-gradient(135deg, var(--a37-plum), #3d2560);
  border-color: var(--a37-plum);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px hsla(270, 35%, 30%, 0.2);
  text-decoration: none !important;
}

.a37-drawer-cat-chip:hover .a37-drawer-cat-glyph {
  background: rgba(255, 255, 255, 0.16);
}

.a37-drawer-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.95rem 1rem 0.25rem;
  border-top: 1px solid var(--a37-border);
}

.a37-drawer-foot a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--a37-border);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--a37-ink);
  text-align: left;
  text-decoration: none !important;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.a37-drawer-foot a span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: hsla(270, 35%, 95%, 0.95);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--a37-plum);
  line-height: 1;
}

.a37-drawer-foot a:hover {
  color: var(--a37-plum);
  border-color: hsla(270, 35%, 55%, 0.35);
  background: hsla(270, 35%, 97%, 0.95);
  transform: translateX(2px);
  text-decoration: none !important;
}

.a37-drawer-foot a:hover span {
  background: linear-gradient(135deg, var(--a37-plum), var(--a37-sage));
  color: #fff;
}

body.a37-drawer-open {
  overflow: hidden;
}

/* Footer */
.a37-footer {
  background: #fff;
  position: relative;
  margin-top: 3rem;
  border-top: 1px solid var(--a37-border);
}
.a37-footer-wave {
  height: 6px;
  background: linear-gradient(90deg, var(--a37-orange), var(--a37-rose), var(--a37-forest), var(--a37-sage));
}
.a37-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0 2rem;
}
.a37-footer-brand p { font-size: 0.88rem; color: var(--a37-muted); line-height: 1.6; max-width: 36ch; }
.a37-footer-contact { margin-top: 1.25rem; }
.a37-footer-contact h4 { margin: 0 0 0.65rem; font-size: 0.95rem; }
.a37-footer-contact p { margin: 0.35rem 0; font-size: 0.85rem; color: var(--a37-muted); }
.a37-footer-address { max-width: 28ch; }
.a37-footer-col h4 { margin: 0 0 0.85rem; font-size: 0.95rem; color: var(--a37-ink); }
.a37-footer-col a {
  display: block; padding: 0.25rem 0;
  font-size: 0.85rem; color: var(--a37-muted);
  text-decoration: none !important;
}
.a37-footer-col a:hover { color: var(--a37-orange); text-decoration: none !important; }
.a37-footer-base {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--a37-border);
  font-size: 0.78rem; color: var(--a37-muted);
}
.a37-pay-icons { opacity: 0.85; }
.a37-back-top {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--a37-orange);
  color: #fff;
  border-radius: 50%;
  text-decoration: none !important;
  font-size: 0.75rem;
}
.a37-back-top:hover { background: var(--a37-orange-dark); text-decoration: none !important; }

@media (max-width: 1024px) {
  .a37-nav { display: none; }
  .a37-search-mini { display: none; }
  .a37-menu-toggle { display: flex; }
  .a37-header-main {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.65rem;
    padding: 0.85rem 0;
  }
  .a37-brand-word { font-size: 1.45rem; }
  .a37-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .a37-action {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    background: var(--a37-cream);
    border: 1px solid var(--a37-border);
    border-radius: 12px;
  }
  .a37-action:hover {
    background: #fff;
    border-color: var(--a37-orange);
    box-shadow: 0 4px 14px rgba(232, 145, 58, 0.12);
  }
  .a37-action-cart {
    background: rgba(232, 145, 58, 0.1);
    border-color: rgba(232, 145, 58, 0.35);
  }
  .a37-perks-inner { grid-template-columns: repeat(2, 1fr); }
  .a37-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .a37-topbar-links { display: none; }
  .a37-perks-bar { display: none; }
  .a37-cat-strip { display: none; }
  .a37-footer-grid { grid-template-columns: 1fr; }
  .a37-header-actions .a37-action--account { display: grid; }
  .a37-drawer-foot {
    grid-template-columns: 1fr;
  }
}
