/* Aureli-inspired header, footer & chrome */

.a47-ribbon {
  background: var(--a47-primary);
  color: rgba(255,255,255,.88);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.a47-ribbon-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .75rem 1.25rem; padding: .55rem 0;
}
.a47-ribbon-sep { opacity: .35; }
.a47-ribbon-phone { color: var(--a47-secondary); font-weight: 600; }
.a47-ribbon-phone:hover { color: #fff; }

.a47-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--a47-white);
  border-bottom: 1px solid var(--a47-border);
}
.a47-header-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.a47-nav-left, .a47-nav-right {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.a47-nav-right { justify-content: flex-end; }
.a47-nav-link {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  color: var(--a47-ink); transition: color .2s;
}
.a47-nav-link:hover, .a47-nav-link.is-active { color: var(--a47-secondary); }

.a47-brand {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 1rem;
}
.a47-brand-kicker {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--a47-muted); margin-bottom: .15rem;
}
.a47-brand-name {
  font-family: var(--a47-font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700; letter-spacing: .08em;
  color: var(--a47-ink);
}

.a47-tools {
  display: flex; align-items: center; gap: .65rem;
  justify-self: end;
}
.a47-search {
  display: flex; align-items: center;
  border: 1px solid var(--a47-border); border-radius: var(--a47-radius-pill);
  overflow: hidden; background: var(--a47-cream);
}
.a47-search input {
  border: 0; background: transparent; padding: .45rem .75rem;
  font: inherit; font-size: .82rem; width: 110px;
}
.a47-search button {
  border: 0; background: transparent; padding: .45rem .65rem; cursor: pointer;
}
.a47-tool {
  display: flex; flex-direction: column; align-items: center;
  font-size: .62rem; color: var(--a47-muted); position: relative;
  transition: transform .25s ease;
}
.a47-tool:hover { transform: translateY(-1px); }
.a47-tool-label { font-weight: 600; color: var(--a47-ink); margin-top: .1rem; transition: color .2s; }
.a47-tool--account.is-active .a47-tool-label,
.a47-tool--account:hover .a47-tool-label { color: var(--a47-secondary); }

/* Seed crest — account icon */
.a47-passport-medallion {
  --med-size: 46px;
  position: relative;
  width: var(--med-size);
  height: var(--med-size);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  isolation: isolate;
}
.a47-passport-medallion--sm {
  --med-size: 36px;
}

.a47-passport-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 108, 0.28) 0%, rgba(201, 168, 108, 0) 70%);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
  z-index: 0;
}
.a47-tool--account:hover .a47-passport-glow,
.a47-tool--account.is-signed-in .a47-passport-glow {
  opacity: 1;
  transform: scale(1);
}

.a47-passport-orbit {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px dashed rgba(201, 168, 108, 0.4);
  opacity: 0;
  transform: scale(0.9) rotate(0deg);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
  z-index: 0;
}
.a47-passport-orbit::before,
.a47-passport-orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--a47-secondary);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.a47-passport-orbit::before { top: 2px; left: 50%; margin-left: -2.5px; }
.a47-passport-orbit::after { bottom: 4px; right: 8px; width: 3.5px; height: 3.5px; opacity: .75; }
.a47-tool--account:hover .a47-passport-orbit {
  opacity: 1;
  transform: scale(1);
  animation: a47PassportOrbit 10s linear infinite;
}
@keyframes a47PassportOrbit {
  to { transform: scale(1) rotate(360deg); }
}

.a47-passport-petals {
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
}
.a47-passport-petals::before,
.a47-passport-petals::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42% 58% 45% 55% / 48% 42% 58% 52%;
  background: linear-gradient(145deg, rgba(201, 168, 108, 0.55), rgba(232, 213, 176, 0.35));
  opacity: .55;
  transform: rotate(18deg) scale(0.92);
  transition: transform .35s ease, opacity .35s ease;
}
.a47-passport-petals::after {
  border-radius: 55% 45% 52% 48% / 42% 58% 42% 58%;
  transform: rotate(-28deg) scale(0.9);
  opacity: .4;
}
.a47-tool--account:hover .a47-passport-petals::before {
  transform: rotate(28deg) scale(0.96);
  opacity: .75;
}
.a47-tool--account:hover .a47-passport-petals::after {
  transform: rotate(-38deg) scale(0.94);
  opacity: .6;
}

.a47-passport-ring {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, #e8d5b0 0%, var(--a47-secondary) 38%, #a8864a 72%, var(--a47-secondary) 100%);
  box-shadow:
    0 8px 20px rgba(61, 43, 63, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: box-shadow .3s ease, filter .3s ease, transform .3s ease;
  z-index: 1;
}
.a47-tool--account:hover .a47-passport-ring {
  filter: brightness(1.05);
  box-shadow:
    0 10px 26px rgba(201, 168, 108, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}
.a47-tool--account.is-signed-in .a47-passport-ring {
  background:
    linear-gradient(155deg, #5c3f5e 0%, var(--a47-primary) 42%, #2a1c2c 78%, #6a4f6c 100%);
  box-shadow:
    0 8px 22px rgba(61, 43, 63, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.a47-tool--account.is-verified .a47-passport-ring {
  box-shadow:
    0 0 0 2px rgba(201, 168, 108, 0.5),
    0 10px 24px rgba(61, 43, 63, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.a47-mobile-acct.is-signed-in .a47-passport-ring {
  background:
    linear-gradient(155deg, #5c3f5e 0%, var(--a47-primary) 42%, #2a1c2c 78%, #6a4f6c 100%);
}
.a47-mobile-acct.is-verified .a47-passport-ring {
  box-shadow:
    0 0 0 2px rgba(201, 168, 108, 0.5),
    0 8px 18px rgba(61, 43, 63, 0.2);
}

.a47-passport-core {
  position: relative;
  z-index: 2;
  width: calc(var(--med-size) - 14px);
  height: calc(var(--med-size) - 14px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #fff 0%, var(--a47-cream) 55%, #f0e6dc 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.9),
    inset 0 -6px 12px rgba(61, 43, 63, 0.06);
  overflow: hidden;
  transition: background .3s ease, box-shadow .3s ease;
}
.a47-tool--account.is-signed-in .a47-passport-core,
.a47-mobile-acct.is-signed-in .a47-passport-core {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(0, 0, 0, 0.08) 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    inset 0 -8px 14px rgba(0, 0, 0, 0.12);
}

.a47-passport-shine {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 28%,
    transparent 48%
  );
  mix-blend-mode: soft-light;
  opacity: .9;
}
.a47-tool--account:hover .a47-passport-shine {
  animation: a47PassportShine 1.4s ease;
}
@keyframes a47PassportShine {
  0% { opacity: .5; transform: translateX(-4%) rotate(-4deg); }
  50% { opacity: 1; }
  100% { opacity: .9; transform: none; }
}

.a47-passport-initial {
  font-family: var(--a47-font-serif);
  font-size: calc(var(--med-size) * 0.4);
  font-weight: 700;
  line-height: 1;
  color: var(--a47-secondary);
  letter-spacing: .02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  transition: color .25s ease, transform .3s cubic-bezier(.34, 1.45, .64, 1);
}
.a47-tool--account.is-signed-in .a47-passport-initial,
.a47-mobile-acct.is-signed-in .a47-passport-initial {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.a47-tool--account:hover .a47-passport-initial {
  transform: scale(1.1);
}

/* Guest sprout mark */
.a47-passport-guest {
  position: relative;
  width: 70%;
  height: 70%;
  display: grid;
  place-items: center;
}
.a47-passport-sprout {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: end center;
}
.a47-passport-seed {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50% 50% 48% 48% / 58% 58% 42% 42%;
  background: linear-gradient(160deg, #6b4e70 0%, var(--a47-primary) 55%, #2f2131 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 4px rgba(61, 43, 63, 0.2);
  margin-bottom: 2%;
  position: relative;
  z-index: 1;
}
.a47-passport-seed::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  width: 1.5px;
  height: 38%;
  margin-left: -.75px;
  border-radius: 999px;
  background: rgba(232, 213, 176, 0.55);
}
.a47-passport-leaf {
  position: absolute;
  bottom: 48%;
  width: 38%;
  height: 34%;
  border-radius: 2px 70% 2px 70%;
  background: linear-gradient(135deg, #c9a86c 0%, #8f9f7a 55%, #6f8664 100%);
  transform-origin: bottom center;
  transition: transform .35s cubic-bezier(.34, 1.2, .64, 1);
}
.a47-passport-leaf--l {
  left: 8%;
  transform: rotate(-38deg) skewX(-8deg);
}
.a47-passport-leaf--r {
  right: 8%;
  transform: rotate(38deg) skewX(8deg) scaleX(-1);
  background: linear-gradient(225deg, #d4b57a 0%, #7d9170 60%, #5f7858 100%);
}
.a47-tool--account:hover .a47-passport-leaf--l {
  transform: rotate(-48deg) skewX(-8deg) translateY(-1px);
}
.a47-tool--account:hover .a47-passport-leaf--r {
  transform: rotate(48deg) skewX(8deg) scaleX(-1) translateY(-1px);
}

.a47-passport-seal {
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 4;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  font-size: .5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background:
    linear-gradient(145deg, #7d9170 0%, #5f7858 55%, #4a6345 100%);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(61, 43, 63, 0.28);
  animation: a47PassportSeal 2.8s ease-in-out infinite;
}
@keyframes a47PassportSeal {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .a47-passport-orbit,
  .a47-passport-seal,
  .a47-tool--account:hover .a47-passport-orbit,
  .a47-tool--account:hover .a47-passport-shine {
    animation: none !important;
  }
  .a47-tool:hover,
  .a47-tool--account:hover .a47-passport-initial,
  .a47-tool--account:hover .a47-passport-ring,
  .a47-tool--account:hover .a47-passport-leaf--l,
  .a47-tool--account:hover .a47-passport-leaf--r {
    transform: none;
  }
  .a47-tool--account:hover .a47-passport-orbit {
    opacity: .65;
    transform: scale(1);
  }
}

.a47-tool--account.is-active .a47-passport-medallion::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--a47-secondary), transparent);
}

.a47-cart-badge {
  position: absolute; top: -4px; right: -6px;
  background: var(--a47-secondary); color: var(--a47-ink);
  font-size: .58rem; font-weight: 700; min-width: 16px; height: 16px;
  border-radius: 50%; display: grid; place-items: center;
}

/* ── Burger toggle ── */
.a47-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--a47-border);
  border-radius: 12px;
  background: var(--a47-cream);
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.a47-menu-toggle:hover {
  border-color: rgba(201, 168, 108, 0.55);
  box-shadow: 0 6px 18px rgba(61, 43, 63, 0.1);
}
.a47-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--a47-ink);
  transition: transform .28s ease, opacity .2s ease, width .2s ease;
  transform-origin: center;
}
.a47-menu-toggle.is-open {
  background: var(--a47-primary);
  border-color: var(--a47-primary);
}
.a47-menu-toggle.is-open span {
  background: #fff;
}
.a47-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.a47-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.a47-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile drawer ── */
body.a47-nav-open {
  overflow: hidden;
}

.a47-mobile-nav[hidden] { display: none; }
.a47-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.a47-mobile-nav.is-open {
  pointer-events: auto;
}

.a47-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 21, 32, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .34s ease;
}
.a47-mobile-nav.is-open .a47-mobile-backdrop {
  opacity: 1;
}

.a47-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(180deg, #fff 0%, var(--a47-cream) 100%);
  padding: 1.15rem 1.15rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -16px 0 48px rgba(30, 21, 32, 0.18);
  transform: translateX(104%);
  transition: transform .36s cubic-bezier(.22, 1, .36, 1);
}
.a47-mobile-nav.is-open .a47-mobile-panel {
  transform: translateX(0);
}

.a47-mobile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--a47-border);
}
.a47-mobile-brand-kicker {
  display: block;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--a47-muted);
  margin-bottom: .2rem;
}
.a47-mobile-brand-name {
  font-family: var(--a47-font-serif);
  font-size: 1.35rem;
  letter-spacing: .04em;
  color: var(--a47-ink);
}

.a47-mobile-close {
  flex-shrink: 0;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--a47-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.a47-mobile-close:hover {
  background: var(--a47-cream);
  border-color: rgba(201, 168, 108, 0.45);
}
.a47-mobile-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  border-radius: 999px;
  background: var(--a47-ink);
}
.a47-mobile-close span:first-child { transform: rotate(45deg); }
.a47-mobile-close span:last-child { transform: rotate(-45deg); }

.a47-mobile-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.15rem;
  padding: .35rem .35rem .35rem .85rem;
  border: 1px solid var(--a47-border);
  border-radius: var(--a47-radius-pill);
  background: #fff;
  box-shadow: 0 4px 16px rgba(61, 43, 63, 0.06);
}
.a47-mobile-search-icon {
  font-size: .9rem;
  opacity: .55;
  flex-shrink: 0;
}
.a47-mobile-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .88rem;
  padding: .55rem 0;
}
.a47-mobile-search button {
  flex-shrink: 0;
  border: 0;
  border-radius: var(--a47-radius-pill);
  background: var(--a47-primary);
  color: #fff;
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  cursor: pointer;
}

.a47-mobile-section-label {
  margin: 0 0 .55rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--a47-muted);
}

.a47-mobile-links {
  display: grid;
  gap: .45rem;
  margin-bottom: 1.15rem;
}
.a47-mobile-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .78rem .9rem;
  border-radius: 14px;
  border: 1px solid var(--a47-border);
  background: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.a47-mobile-link:hover,
.a47-mobile-link:focus-visible {
  transform: translateX(3px);
  border-color: rgba(201, 168, 108, 0.45);
  box-shadow: 0 8px 22px rgba(61, 43, 63, 0.08);
}
.a47-mobile-link.is-active {
  background: linear-gradient(135deg, rgba(201, 168, 108, 0.18), rgba(255, 255, 255, 0.95));
  border-color: var(--a47-secondary);
  box-shadow: inset 3px 0 0 var(--a47-secondary);
}
.a47-mobile-link-num {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--a47-secondary);
  opacity: .85;
}
.a47-mobile-link-title {
  display: block;
  font-size: .92rem;
  color: var(--a47-ink);
}
.a47-mobile-link-arrow {
  font-size: .85rem;
  color: var(--a47-muted);
  opacity: .65;
  transition: transform .2s ease, opacity .2s ease;
}
.a47-mobile-link:hover .a47-mobile-link-arrow,
.a47-mobile-link.is-active .a47-mobile-link-arrow {
  transform: translateX(3px);
  opacity: 1;
  color: var(--a47-secondary);
}

.a47-mobile-quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
  margin-bottom: 1rem;
}
.a47-mobile-quick-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--a47-border);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.a47-mobile-quick-btn:hover {
  border-color: rgba(201, 168, 108, 0.45);
  box-shadow: 0 8px 22px rgba(61, 43, 63, 0.08);
}
.a47-mobile-quick-copy {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
  flex: 1;
}
.a47-mobile-quick-label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--a47-ink);
}
.a47-mobile-quick-meta,
.a47-mobile-cart-meta {
  font-size: .72rem;
  color: var(--a47-muted);
  font-weight: 500;
}
.a47-mobile-cart-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--a47-secondary), #e8d5b0);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.a47-mobile-cart-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--a47-primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.a47-mobile-acct.is-signed-in {
  background: linear-gradient(135deg, rgba(61, 43, 63, 0.04), #fff);
}
.a47-mobile-acct.is-verified {
  border-color: rgba(201, 168, 108, 0.55);
}

.a47-mobile-phone {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-top: auto;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: var(--a47-primary);
  color: #fff;
  text-align: center;
}
.a47-mobile-phone-label {
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}
.a47-mobile-phone-num {
  font-size: .95rem;
  font-weight: 700;
  color: var(--a47-secondary);
}

/* Footer */
.a47-footer { margin-top: 0; }
.a47-footer-top {
  background: var(--a47-secondary);
  color: var(--a47-ink);
  padding: 3.5rem 0 2.5rem;
}
.a47-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem 2.5rem;
}
.a47-footer-logo {
  font-family: var(--a47-font-serif);
  font-size: 1.5rem; letter-spacing: .06em;
  display: block; margin-bottom: .75rem;
}
.a47-footer-brand p { font-size: .88rem; opacity: .85; max-width: 36ch; }
.a47-footer-meta { margin-top: 1.25rem; font-size: .82rem; }
.a47-footer-meta p { margin-bottom: .65rem; }
.a47-footer-col h4 {
  font-family: var(--a47-font-sans);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.a47-footer-col a {
  display: block; font-size: .86rem; padding: .25rem 0; opacity: .88;
}
.a47-footer-col a:hover { opacity: 1; text-decoration: underline; }
.a47-newsletter-form {
  display: flex; margin-top: .75rem;
  border-radius: var(--a47-radius-pill); overflow: hidden;
  background: rgba(255,255,255,.55);
}
.a47-newsletter-form input {
  flex: 1; border: 0; background: transparent; padding: .65rem 1rem; font: inherit; font-size: .85rem;
}
.a47-newsletter-form button {
  border: 0; background: var(--a47-primary); color: #fff;
  padding: .65rem 1rem; cursor: pointer;
}
.a47-footer-base {
  background: var(--a47-primary);
  color: rgba(255,255,255,.85);
  padding: 1rem 0;
  font-size: .78rem;
}
.a47-footer-base-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
}
.a47-pay-icons { display: flex; gap: .75rem; opacity: .75; }
.a47-scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--a47-ink); color: #fff;
  cursor: pointer; box-shadow: var(--a47-shadow);
}

@media (max-width: 1024px) {
  .a47-header-shell {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand tools";
    padding: .75rem 0;
  }
  .a47-brand {
    grid-area: brand;
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }
  .a47-tools {
    grid-area: tools;
    gap: .5rem;
  }
  .a47-nav-left,
  .a47-nav-right {
    display: none;
  }
  .a47-menu-toggle {
    display: flex;
  }
  .a47-search {
    display: none;
  }
  .a47-tool--account .a47-tool-label,
  .a47-tool--cart .a47-tool-label {
    display: none;
  }
  .a47-tool {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--a47-border);
    border-radius: 12px;
    background: var(--a47-cream);
  }
  .a47-tool:hover {
    transform: none;
    border-color: rgba(201, 168, 108, 0.45);
  }
  .a47-passport-medallion {
    --med-size: 36px;
  }
  .a47-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .a47-footer-grid {
    grid-template-columns: 1fr;
  }
  .a47-ribbon-inner {
    font-size: .62rem;
    gap: .45rem .75rem;
    padding: .45rem 0;
  }
  .a47-ribbon-sep {
    display: none;
  }
  .a47-brand-name {
    font-size: 1.25rem;
  }
  .a47-mobile-panel {
    width: 100vw;
    border-radius: 0;
  }
}
