/* Tessera Prism chrome — sky chip bar + floating bottom dock */

.a79-sky {
  position: sticky;
  top: 0.85rem;
  z-index: 90;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  max-width: 1160px;
  margin: 0.85rem auto 0;
  padding: 0.55rem 0.65rem 0.55rem 0.55rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(14, 17, 22, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(14, 17, 22, 0.08);
  width: calc(100% - 1.5rem);
}
.a79-sky-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
  padding-left: 0.15rem;
}
.a79-sky-chip {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--a79-void);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.2s;
}
.a79-sky-brand:hover .a79-sky-chip {
  background: var(--a79-coral);
  transform: rotate(-8deg) scale(1.05);
}
.a79-sky-words {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.a79-sky-words em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--a79-muted);
}
.a79-sky-words strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.a79-sky-search {
  display: flex;
  align-items: stretch;
  background: var(--a79-chalk);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.a79-sky-search:focus-within {
  border-color: var(--a79-coral);
  box-shadow: 0 0 0 3px var(--a79-glow);
}
.a79-sky-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  min-width: 0;
  outline: none;
}
.a79-sky-search button {
  border: 0;
  background: var(--a79-void);
  color: #fff;
  width: 2.4rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.a79-sky-search button:hover { background: var(--a79-coral); }

.a79-sky-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.a79-sky-pill {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--a79-chalk);
  color: var(--a79-void);
  text-decoration: none !important;
  transition: transform 0.2s, background 0.2s;
}
.a79-sky-pill:hover {
  background: #fff;
  transform: translateY(-2px);
}
.a79-sky-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--a79-void);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.a79-sky-cart:hover {
  background: var(--a79-coral);
  transform: translateY(-2px);
}
.a79-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.25rem;
  min-width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  background: var(--a79-signal);
  color: var(--a79-void);
  border-radius: 999px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  padding: 0 0.2rem;
}
.a79-sky-more {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--a79-chalk);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  transition: background 0.2s, transform 0.2s;
}
.a79-sky-more span {
  display: block;
  width: 0.95rem;
  height: 2px;
  background: var(--a79-void);
  border-radius: 2px;
  transition: transform 0.25s;
}
.a79-sky-more:hover { background: #fff; transform: scale(1.06); }
.a79-sky-more[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.a79-sky-more[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.a79-aisle-sheet {
  position: relative;
  z-index: 85;
  max-width: 1160px;
  margin: 0.65rem auto 0;
  padding: 0 0.75rem;
  width: 100%;
}
.a79-aisle-sheet[hidden] { display: none !important; }
.a79-aisle-sheet .a79-mega {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--a79-line);
  border-radius: var(--a79-radius);
  padding: 1.25rem;
  box-shadow: var(--a79-shadow);
  animation: a79FloatIn 0.35s ease both;
}
.a79-mega-panel:not(.is-active) { display: none; }
.a79-mega-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1rem;
}
.a79-mega-col { display: flex; flex-direction: column; gap: 0.3rem; }
.a79-mega-col h4 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.a79-mega-col h4 a { color: var(--a79-void); text-decoration: none !important; }
.a79-mega-col a {
  font-size: 0.8rem;
  color: var(--a79-muted);
  text-decoration: none !important;
}
.a79-mega-col a:hover { color: var(--a79-coral); }
.a79-mega-promo {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: var(--a79-radius-sm);
  background: var(--a79-chalk);
  text-decoration: none !important;
  color: inherit;
  grid-column: 1 / -1;
  transition: transform 0.2s;
}
.a79-mega-promo:hover { transform: translateY(-2px); }
.a79-mega-promo img {
  width: 4rem; height: 4rem; object-fit: cover; border-radius: var(--a79-radius-sm);
}
.a79-mega-promo small {
  display: block; font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--a79-coral); font-weight: 700;
}
.a79-mega-promo strong { display: block; margin: 0.15rem 0; color: var(--a79-void); }

/* Floating tessera dock */
.a79-tessera-dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: stretch;
  gap: 0.2rem;
  padding: 0.4rem;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(14, 17, 22, 0.35), 0 0 0 1px rgba(255,255,255,0.06);
  max-width: calc(100vw - 1.25rem);
  overflow-x: auto;
  scrollbar-width: none;
}
.a79-tessera-dock::-webkit-scrollbar { display: none; }
.a79-dock-glow {
  position: absolute;
  inset: -40% -10% auto;
  height: 80%;
  background: radial-gradient(ellipse, var(--a79-glow), transparent 70%);
  pointer-events: none;
  opacity: 0.7;
}
.a79-dock-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 4.4rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  text-decoration: none !important;
  transition: color 0.2s, background 0.25s, transform 0.25s;
}
.a79-dock-glyph {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.a79-dock-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.a79-dock-tile:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.a79-dock-tile:hover .a79-dock-glyph { transform: scale(1.2) rotate(-6deg); }
.a79-dock-tile.is-active {
  color: var(--a79-void);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.a79-dock-tile.is-active .a79-dock-glyph { color: var(--a79-coral); }
.a79-dock-tile.is-hot::after {
  content: '';
  position: absolute;
  top: 0.35rem;
  right: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--a79-signal);
  border-radius: 50%;
}

/* Account mark */
.a79-account-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: inherit;
}
.a79-account-mark-glow { display: none; }
.a79-account-mark-ring {
  position: absolute; inset: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0.45;
}
.a79-account-mark-core {
  position: relative; z-index: 1;
  font-size: 0.52rem; font-weight: 700;
}
.a79-account-mark-svg { width: 0.85rem; height: 0.85rem; display: block; }
.a79-account-mark-dot {
  position: absolute; right: -0.1rem; bottom: -0.05rem;
  width: 0.35rem; height: 0.35rem;
  background: var(--a79-signal);
  border-radius: 50%;
}
.a79-account-mark.is-signed-in .a79-account-mark-ring {
  border-color: var(--a79-coral); opacity: 1;
}

/* Tessera Prism footer */
.a79-prism-foot {
  margin-top: 2rem;
  background: var(--a79-void);
  color: #fff;
  border-radius: calc(var(--a79-radius) + 8px) calc(var(--a79-radius) + 8px) 0 0;
  overflow: hidden;
}
.a79-prism-foot-slab {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem) 0 1.75rem;
}
.a79-prism-foot-slab::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 50% at 0% 0%, rgba(255, 77, 61, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 45% at 100% 40%, rgba(45, 212, 191, 0.12), transparent 45%);
  pointer-events: none;
}
.a79-prism-foot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.4fr) minmax(14rem, 0.85fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.a79-prism-foot-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--a79-signal);
}
.a79-prism-foot-brand h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.a79-prism-foot-lede {
  margin: 0 0 1.15rem;
  max-width: 36ch;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.a79-prism-foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.a79-prism-foot-social a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.a79-prism-foot-social a:hover {
  border-color: var(--a79-coral);
  color: #fff !important;
  background: rgba(255, 77, 61, 0.15);
}
.a79-prism-foot-email {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  word-break: break-all;
}
.a79-prism-foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.a79-prism-foot-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.a79-prism-foot-col h3 {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a79-signal);
}
.a79-prism-foot-col a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}
.a79-prism-foot-col a:hover { color: var(--a79-coral) !important; }

.a79-prism-foot-news {
  padding: 1.15rem;
  border-radius: var(--a79-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.a79-prism-foot-news h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.a79-prism-foot-news > p {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body);
  line-height: 1.45;
}
.a79-prism-foot-form {
  display: grid;
  gap: 0.55rem;
}
.a79-prism-foot-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--a79-radius-sm);
  background: rgba(14, 17, 22, 0.45);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}
.a79-prism-foot-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.a79-prism-foot-form input[type="email"]:focus {
  outline: none;
  border-color: var(--a79-coral);
  box-shadow: 0 0 0 3px rgba(255, 77, 61, 0.2);
}
.a79-prism-foot-form .a79-btn-prism {
  justify-content: center;
  width: 100%;
  background: var(--a79-coral);
}
.a79-prism-foot-form .a79-btn-prism:hover {
  background: var(--a79-coral-deep);
}

.a79-prism-foot-aisles {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}
.a79-prism-foot-aisles-label {
  margin: 0 0 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.a79-prism-foot-aisle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.a79-prism-foot-aisle-row a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.a79-prism-foot-aisle-row a:hover {
  background: rgba(45, 212, 191, 0.15);
  border-color: rgba(45, 212, 191, 0.35);
  color: #fff !important;
}

.a79-prism-foot-base {
  padding: 1rem 0 1.25rem;
}
.a79-prism-foot-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}
.a79-prism-foot-pay {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--a79-signal);
}
.a79-prism-foot-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.a79-prism-foot-top:hover {
  background: var(--a79-coral);
  border-color: var(--a79-coral);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .a79-prism-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .a79-prism-foot-news {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .a79-prism-foot-grid {
    grid-template-columns: 1fr;
  }
  .a79-prism-foot-cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .a79-prism-foot-cols {
    grid-template-columns: 1fr;
  }
}

/* OTP verification modal — Tessera (global; auth scripts may load on any page) */
.a79-otp-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(14, 17, 22, 0.62);
  backdrop-filter: blur(6px);
}
.a79-otp-modal.is-open {
  display: flex !important;
}
.a79-otp-modal[hidden] { display: none !important; }
body.a79-otp-open { overflow: hidden; }
.a79-otp-card {
  width: min(100%, 420px);
  background: #fff;
  color: var(--a79-void);
  border-radius: var(--a79-radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 24px 60px rgba(14, 17, 22, 0.35);
  border: 1px solid var(--a79-line);
  animation: a79FloatIn 0.35s ease both;
}
.a79-otp-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--a79-void);
}
.a79-otp-msg {
  margin: 0 0 1rem;
  color: var(--a79-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  font-family: var(--font-body);
}
.a79-otp-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a79-muted);
  margin-bottom: 0.4rem;
}
.a79-otp-card input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--a79-line-strong);
  border-radius: var(--a79-radius-sm);
  font: inherit;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--a79-void);
  background: #fff;
  margin-bottom: 0.85rem;
}
.a79-otp-card input::placeholder { color: #6B7280; letter-spacing: 0.06em; }
.a79-otp-card input:focus {
  outline: none;
  border-color: var(--a79-coral);
  box-shadow: 0 0 0 3px var(--a79-glow);
}
.a79-otp-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  margin-bottom: 0.55rem;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.a79-otp-btn--primary {
  border: 0;
  background: var(--a79-coral);
  color: #fff !important;
}
.a79-otp-btn--primary:hover {
  background: var(--a79-coral-deep);
  transform: translateY(-1px);
}
.a79-otp-btn--ghost {
  border: 1.5px solid var(--a79-void);
  background: #fff;
  color: var(--a79-void) !important;
}
.a79-otp-btn--ghost:hover {
  background: var(--a79-void);
  color: #fff !important;
}
.a79-otp-btn--text {
  border: 0;
  background: transparent;
  color: var(--a79-muted) !important;
  font-weight: 600;
}
.a79-otp-btn--text:hover { color: var(--a79-coral) !important; }
