/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --bg:        #FAFAF8;
  --text:      #1A1A1A;
  --accent:    #C9A96E;
  --muted:     #6B6B6B;
  --faint:     #9B9B9B;
  --border:    #E5E5E0;
  --surface:   #FFFFFF;
  --overlay:   rgba(250, 250, 248, 0.94);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
button { font-family: inherit; }

/* ─────────────────────────────────────────
   SCREEN SYSTEM
───────────────────────────────────────── */
.screen {
  position: fixed;
  top: var(--banner-h, 0px);
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
  overflow-y: auto;
  overflow-x: hidden;
}

.screen.active {
  opacity: 1;
  pointer-events: all;
}

.screen-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 32px 56px;
  min-height: calc(100dvh - var(--banner-h, 0px));
  display: flex;
  flex-direction: column;
}

/* ─────────────────────────────────────────
   SCREEN HEADER (back + progress)
───────────────────────────────────────── */
.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: env(safe-area-inset-top, 8px);
  margin-bottom: 44px;
}

.btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  border-radius: 50%;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.btn-back:hover { background: rgba(0,0,0,0.05); }
.btn-back:active { opacity: 0.6; }

.progress-track {
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-pip {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  transition: width 0.3s var(--ease-out), background 0.3s ease;
}

.progress-pip.active {
  width: 22px;
  background: var(--accent);
}

/* ─────────────────────────────────────────
   TYPOGRAPHY UTILITIES
───────────────────────────────────────── */
.screen-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.screen-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 40px;
}

/* ─────────────────────────────────────────
   SIGN IN SCREEN
───────────────────────────────────────── */
.center-content {
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100dvh - var(--banner-h, 0px));
}

.brand {
  margin-bottom: 60px;
}

.brand-mark {
  width: 68px;
  height: 68px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 0 auto 22px;
  letter-spacing: -1px;
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.18);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.brand-tagline {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin-bottom: 28px;
}

.btn-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 17px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  letter-spacing: -0.1px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease;
}

.btn-auth:hover  { transform: translateY(-1px); }
.btn-auth:active { transform: translateY(0px); }

.btn-google {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.btn-google:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.1); }

.btn-apple {
  background: var(--text);
  color: var(--surface);
  box-shadow: 0 2px 8px rgba(26,26,26,0.22);
}

.btn-apple:hover { box-shadow: 0 6px 20px rgba(26,26,26,0.28); }

.auth-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.legal-text {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.7;
}

.legal-text a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─────────────────────────────────────────
   PROFILE SCREEN — FORM
───────────────────────────────────────── */
.form-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

.form-input {
  width: 100%;
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--border);
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}

.form-input:focus {
  border-bottom-color: var(--accent);
}

.form-input::placeholder {
  color: #C8C8C2;
}

input[type="date"].form-input {
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.35;
  cursor: pointer;
  filter: invert(0.3);
}

.form-error {
  font-size: 13px;
  color: #C0392B;
  min-height: 20px;
  margin-bottom: 12px;
  transition: opacity 0.2s ease;
}

.btn-primary {
  width: 100%;
  padding: 17px 24px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  letter-spacing: -0.1px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,26,26,0.22);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─────────────────────────────────────────
   COUNTRY SELECTOR
───────────────────────────────────────── */
.country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: var(--font-sans);
}

.country-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.18);
}

.country-card.selected {
  border-color: var(--accent);
  background: #FDF9F3;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.22);
}

.country-flag { font-size: 30px; line-height: 1; }

.country-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

/* ─────────────────────────────────────────
   CATEGORY BROWSE SCREEN
───────────────────────────────────────── */
#screen-categories {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Sticky nav header */
.cat-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 20px;
  background: var(--overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cat-nav-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
}

/* Scrollable grid area — full width */
.category-grid-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 24px;
}

.category-grid-container::-webkit-scrollbar { display: none; }

/* Tier section */
.category-section {
  padding: 28px 0 8px;
}

/* Section header: label on left, thin rule extending right */
.category-tier-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
  padding: 0 20px;
}

.category-tier-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* 2-column grid, 3-column on desktop — hairline separators, edge-to-edge */
.category-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

/* Lone last card in a 2-col row spans both columns */
.category-grid-row > .category-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Category card — premium tile */
.category-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px;
  min-height: 130px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.category-card:active { transform: translateY(-1px); }

/* Tier background tints */
.cat-tier-everyday  { background: #FAFAF8; }
.cat-tier-collector { background: #F5F5F0; }
.cat-tier-luxury    { background: #FDF8F0; }

/* Category name in serif */
.category-name-serif {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

/* ─────────────────────────────────────────
   PRODUCT FEED
───────────────────────────────────────── */
#screen-feed {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feed-banner {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 16px;
  background: var(--overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 229, 224, 0.8);
  flex-shrink: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
}

.feed-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.feed-nav-btn:hover { background: rgba(0,0,0,0.05); }

.feed-theme-text {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-counter {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  min-width: 40px;
  text-align: right;
  flex-shrink: 0;
}

.feed-scroll {
  flex: 1;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow-y: scroll;
  overflow-x: hidden !important;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.feed-scroll::-webkit-scrollbar { display: none; }

/* ─────────────────────────────────────────
   PRODUCT CARD
───────────────────────────────────────── */
.product-card {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  flex-shrink: 0;
  height: calc(100dvh - var(--banner-h, 0px) - 50px - 62px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative; /* anchors .scroll-hint */
}

.product-img-wrap {
  position: relative;
  flex: 0 0 52%;
  min-width: 0;
  overflow: hidden;
  background: #E8E6E3;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-img-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.product-info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 26px;
  min-height: 0;
  /* warm tint differentiates right panel from left image */
  background: #FFF8F0;
}

.product-info::-webkit-scrollbar { display: none; }

.product-info-inner {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px 0;
  flex-shrink: 0;
}

.product-cat-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
}

/* small decorative dot before category */
.product-cat-tag::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price-amount {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1;
}

.product-price-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star-svg {
  width: 13px;
  height: 13px;
}

.product-rating-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.product-reviews {
  font-size: 12px;
  color: var(--faint);
}

.product-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #484848;
}

.product-buy-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}

/* 3rd button (category retailer) always spans full width */
.product-buy-wrap .btn-buy:nth-child(3) {
  grid-column: 1 / -1;
}

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-width: 0 is critical — prevents grid cells from overflowing their column */
  min-width: 0;
  overflow: hidden;
  padding: 12px 10px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.1px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.btn-buy:hover  { transform: translateY(-1px); }
.btn-buy:active { transform: translateY(0); }

/* Amazon — filled, primary */
.btn-buy-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-buy-primary:hover {
  box-shadow: 0 5px 16px rgba(26,26,26,0.22);
}

/* eBay — outlined, standard */
.btn-buy-secondary {
  background: transparent;
  color: var(--text);
  border-color: #CACAC4;
}

.btn-buy-secondary:hover {
  border-color: var(--text);
  background: #F5F5F0;
}

/* Category retailer — outlined, accent */
.btn-buy-accent {
  background: transparent;
  color: #A0793E;
  border-color: var(--accent);
}

.btn-buy-accent:hover {
  background: #FDF9F3;
  border-color: #A0793E;
}

/* thin rule between description and buttons */
.product-rule {
  border: none;
  border-top: 1px solid rgba(201, 169, 110, 0.25);
  margin: 2px 0;
}

/* ── Scroll indicator ── */
.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  opacity: 0.55;
  pointer-events: none;
  animation: hint-bounce 2.2s ease-in-out infinite;
  z-index: 20;
}

@keyframes hint-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.55; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 0.25; }
}

/* ─────────────────────────────────────────
   GRID PAGE  (2×2 snap-scroll page)
───────────────────────────────────────── */
.grid-page {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  height: calc(100dvh - var(--banner-h, 0px) - 50px - 62px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  position: relative;
  align-content: stretch;
  overflow: hidden;
}

/* ─────────────────────────────────────────
   GRID CARD  (compact tile inside a grid page)
───────────────────────────────────────── */
.grid-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  overflow: hidden;
  cursor: default;
  text-align: left;
  font-family: var(--font-sans);
  min-height: 0;
}

.grid-card-img-wrap {
  flex: 0 0 60%;
  overflow: hidden;
  background: #E8E6E3;
  min-height: 0;
}

.grid-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.grid-card-info {
  flex: 1;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  overflow: hidden;
}

.grid-card-title {
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.grid-card-stars {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-top: auto;
}

.grid-card-stars .star-svg {
  width: 10px;
  height: 10px;
}

/* ─────────────────────────────────────────
   ABOUT — TAB TRIGGER
───────────────────────────────────────── */
.tab-about-btn {
  flex: 0 0 auto;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  cursor: pointer;
  padding: 6px 16px;
  color: var(--faint);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  align-self: stretch;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.tab-about-btn:hover { color: var(--muted); }

/* ─────────────────────────────────────────
   ABOUT SCREEN
───────────────────────────────────────── */
#screen-about {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#screen-about::-webkit-scrollbar { display: none; }

.about-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.about-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 20px 32px 16px;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.about-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.about-back-btn:hover { color: var(--text); }

.about-content {
  flex: 1;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 36px 96px;
}

/* Brand display */
.about-brand-display {
  margin-bottom: 80px;
  line-height: 0.85;
}

.about-brand-z {
  font-family: var(--font-serif);
  font-size: clamp(80px, 18vw, 128px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -6px;
}

.about-brand-rest {
  font-family: var(--font-serif);
  font-size: clamp(80px, 18vw, 128px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -5px;
}

/* Sections */
.about-section {
  margin-bottom: 72px;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 32px;
}

.about-body {
  font-size: 17px;
  line-height: 1.92;
  color: #4A4A4A;
  margin-bottom: 22px;
}

.about-body:last-child { margin-bottom: 0; }

.about-body--close {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
}

/* Divider + footer */
.about-rule {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 72px 0 40px;
}

.about-footer-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--faint);
  font-style: italic;
  margin-bottom: 48px;
}

/* Return button */
.about-return-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.about-return-btn:hover {
  border-color: var(--text);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.08);
}

/* Desktop refinements */
@media (min-width: 640px) {
  .about-header {
    padding: 24px 48px 20px;
  }

  .about-content {
    padding: 80px 60px 120px;
  }
}

/* ─────────────────────────────────────────
   MOBILE BANNER (JS shows on < 768px only)
───────────────────────────────────────── */
.mobile-banner {
  display: none; /* JS sets display:block on mobile */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--text);
  padding: 14px 16px 16px;
}

.banner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(250,250,248,0.55);
  padding: 4px;
  line-height: 0;
  transition: color 0.15s ease;
}

.banner-close:hover { color: rgba(250,250,248,0.9); }

.banner-headline {
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
  padding-right: 28px;
  color: rgba(250,250,248,0.8);
}

.banner-headline strong {
  color: #FAFAF8;
  font-weight: 600;
}

.banner-form {
  display: flex;
  gap: 8px;
}

.banner-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: #FAFAF8;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}

.banner-input::placeholder { color: rgba(250,250,248,0.35); }
.banner-input:focus { border-color: var(--accent); }

.banner-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  background: var(--accent);
  color: #FAFAF8;
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.18s ease, transform 0.18s var(--ease-out);
}

.banner-btn:hover  { opacity: 0.88; transform: translateY(-1px); }
.banner-btn:active { transform: translateY(0); }

.banner-confirm {
  display: none;
  font-size: 13px;
  color: var(--accent);
  font-style: italic;
  margin-top: 10px;
}

/* ─────────────────────────────────────────
   RESPONSIVE — small viewport height
───────────────────────────────────────── */
@media (max-height: 700px) {
  .product-img-wrap { flex: 0 0 46%; }
  .product-name { font-size: 19px; }
  .product-desc { font-size: 13px; }
  .btn-buy { padding: 12px 16px; font-size: 13px; }
  .home-title { font-size: 30px; }
  .home-content { gap: 32px; padding: 28px 28px; }
}

@media (max-height: 580px) {
  .product-img-wrap { flex: 0 0 40%; }
  .product-info { padding: 14px 20px 16px; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — wide screens (desktop)
───────────────────────────────────────── */
@media (min-width: 640px) {
  .product-card {
    width: 100vw !important;
    max-width: 100vw !important;
    flex-direction: row;
    height: calc(100dvh - var(--banner-h, 0px) - 50px - 49px);
  }

  .product-img-wrap {
    flex: 0 0 46%;
    height: 100%;
  }

  .product-img-fade {
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--bg));
  }

  /* Shop tab: push feed below top tab nav */
  #screen-feed {
    padding-top: 49px;
  }

  /* right panel: explicit height + flex centering as specified */
  .product-info {
    height: calc(100dvh - var(--banner-h, 0px) - 50px - 49px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    padding: 0;
    border-left: 1px solid var(--border);
  }

  .product-info-inner {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 60px;
    gap: 14px;
  }

  .product-name { font-size: 32px; letter-spacing: -1px; }
  .product-price-amount { font-size: 32px; }

  /* Grid page — fix height for top nav (49px); NO max-width, NO centering */
  .grid-page {
    height: calc(100dvh - var(--banner-h, 0px) - 50px - 49px);
  }

  /* Category grid — 3 columns on desktop, no horizontal padding */
  .category-grid-row {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 3-col incomplete last-row fixes */
  /* Last card is 1st of 3 in its row (e.g. 10 items: item 10 = 3×3+1) */
  .category-grid-row > .category-card:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }
  /* Last card is 2nd of 3 in its row (e.g. 8 items: item 8 = 3×2+2) */
  .category-grid-row > .category-card:last-child:nth-child(3n + 2) {
    grid-column: span 2;
  }
  /* Override the 2-col rule that would wrongly fire on desktop */
  .category-grid-row > .category-card:last-child:nth-child(3n) {
    grid-column: auto;
  }

  .category-section {
    padding: 32px 0 10px;
  }

  .category-card {
    min-height: 140px;
    padding: 28px 24px;
  }

  .category-name-serif {
    font-size: 20px;
  }
}

/* ─────────────────────────────────────────
   TAB NAVIGATION
───────────────────────────────────────── */
.tab-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom, 8px));
  display: none; /* shown by JS after onboarding completes */
  align-items: flex-start;
  justify-content: space-around;
}

.tab-nav.hidden { display: none !important; }

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px 2px;
  color: var(--faint);
  transition: color 0.18s ease;
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
  transition: transform 0.25s var(--ease-out);
}

.tab-btn.active {
  color: var(--text);
}

.tab-btn.active::after {
  transform: translateX(-50%) scaleX(1);
}

.tab-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.tab-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Tab screens sit above the tab nav */
.tab-screen {
  padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
}

/* ─────────────────────────────────────────
   TAB FILTER BAR
───────────────────────────────────────── */
.tab-filter-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tab-filter-bar::-webkit-scrollbar { display: none; }

.tab-filter-btn {
  flex-shrink: 0;
  padding: 7px 14px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.tab-filter-btn.active {
  border-color: var(--accent);
  color: var(--text);
  background: #FDF9F3;
}

.tab-filter-select {
  flex-shrink: 0;
  padding: 7px 28px 7px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.18s ease;
}

.tab-filter-select:focus {
  border-color: var(--accent);
}

/* ─────────────────────────────────────────
   TAB FEED SCROLL (shared snap-scroll container)
───────────────────────────────────────── */
.tab-feed-scroll {
  flex: 1;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: calc(100dvh - var(--banner-h, 0px) - 42px - 62px);
}

.tab-feed-scroll::-webkit-scrollbar { display: none; }

/* ─────────────────────────────────────────
   DESTINATION CARD  (Explore tab)
───────────────────────────────────────── */
.dest-card {
  width: 100%;
  flex-shrink: 0;
  min-height: calc(100dvh - var(--banner-h, 0px) - 42px - 62px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: row;
  position: relative;
}

/* Left: fixed full-bleed photo */
.dest-img-col {
  flex: 0 0 46%;
  position: relative;
  overflow: hidden;
  background: #C8C4BE;
}

.dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dest-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,26,0.15) 0%, transparent 100%);
  pointer-events: none;
}

/* City/country badge over photo */
.dest-photo-label {
  position: absolute;
  bottom: 50px;
  left: 16px;
  right: 12px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.dest-photo-caption {
  display: none;
  align-self: flex-start;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  margin-bottom: 6px;
}

.dest-photo-attribution {
  display: none;
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 1;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 3px 7px;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: auto;
}

.dest-photo-attribution a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.dest-photo-attribution a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

.dest-city-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  word-break: break-word;
  padding-bottom: 8px;
}

.dest-country-name {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* Right: info panel — no inner scroll, content flows naturally */
.dest-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: #FFF8F0;
  border-left: 1px solid var(--border);
}

.dest-info-inner {
  margin: 0;
  padding: 15px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dest-vibe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.dest-vibe-tag {
  padding: 3px 8px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #A0793E;
  letter-spacing: 0.2px;
}

.dest-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.dest-why-go {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #484848;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dest-best-time {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Two-column bottom grid: Hotels | Flights */
.dest-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.dest-hotels-col,
.dest-flights-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Hotels */
.dest-hotels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dest-hotel-card {
  padding: 10px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dest-hotel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.dest-hotel-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dest-hotel-rating {
  font-size: 11px;
  font-weight: 700;
  color: #b8973a;
  flex-shrink: 0;
}

.dest-hotel-tier {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--faint);
}

.dest-hotel-reviews {
  font-size: 10px;
  color: var(--faint);
}

.dest-hotel-unavail {
  font-size: 11px;
  color: var(--muted);
  padding: 10px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  line-height: 1.6;
}

.dest-hotel-unavail a {
  color: var(--accent);
  text-decoration: none;
}

.dest-hotel-unavail a:hover { text-decoration: underline; }

.dest-hotel-book {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.1px;
}

.dest-hotel-book:hover { text-decoration: underline; }

/* Flights */
.dest-flights {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dest-flight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  gap: 8px;
}

.dest-flight-from {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.dest-flight-duration {
  font-size: 12px;
  color: var(--faint);
  flex: 1;
  text-align: center;
}

.dest-flight-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   FLIGHT SEARCH
───────────────────────────────────────── */
.flight-search-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flight-search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flight-dest-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 5px;
}

.flight-dest-badge span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 20px;
  color: #A0793E;
}

.flight-search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.flight-field-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}


.flight-field-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--faint);
}

.flight-field-input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s;
}

.flight-field-input:focus {
  outline: none;
  border-color: var(--accent);
}

.flight-field-input[type="number"] {
  -moz-appearance: textfield;
  text-align: center;
}

.flight-field-input[type="number"]::-webkit-inner-spin-button,
.flight-field-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.flight-search-btn {
  width: 100%;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.flight-search-btn:hover  { opacity: 0.88; }
.flight-search-btn:active { opacity: 0.75; }
.flight-search-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Results */
.flight-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

.flight-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-size: 13px;
  color: var(--faint);
}

.loading-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: loadingSpin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes loadingSpin {
  to { transform: rotate(360deg); }
}

.flight-error {
  font-size: 12px;
  color: #C04040;
  text-align: center;
  padding: 10px 14px;
  background: rgba(192,64,64,0.06);
  border-radius: 10px;
  margin: 0;
}

/* ─────────────────────────────────────────
   DESTINATION SKELETONS  (Travel tab — async content loading)
───────────────────────────────────────── */
@keyframes dest-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.dest-skel {
  display: inline-block;
  border-radius: 4px;
  background: linear-gradient(90deg, #ece9e1 25%, #f5f2ec 50%, #ece9e1 75%);
  background-size: 200% 100%;
  animation: dest-shimmer 1.4s infinite;
}

.dest-skel--line {
  display: block;
  height: 13px;
  width: 100%;
  margin-bottom: 6px;
}

.dest-skel--short { width: 60%; }

.dest-skel--tag {
  height: 22px;
  width: 60px;
  border-radius: 20px;
  margin-right: 4px;
}

.dest-skel--hotel {
  height: 64px;
  width: 100%;
  border-radius: 6px;
  margin-bottom: 6px;
}

/* ─────────────────────────────────────────
   DESTINATION VIDEO  (Travel tab)
───────────────────────────────────────── */
.dest-video {
  border-radius: 8px;
  overflow: hidden;
}

.dest-video:empty { display: none; }

.dest-video-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

.dest-video-thumb {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

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

.dest-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.30);
  transition: background 0.15s;
}

.dest-video-thumb:hover .dest-video-play { background: rgba(0, 0, 0, 0.50); }

.dest-video-watch {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin: 5px 0 2px;
}

.dest-video-title {
  font-size: 11px;
  color: var(--faint);
  margin: 5px 0 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dest-video-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
  border-radius: 8px;
}

.dest-yt-trigger { cursor: pointer; }

.dest-yt-thumb-placeholder {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 8px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.dest-yt-thumb-placeholder:hover { opacity: 0.85; }

.dest-yt-play {
  background: rgba(255, 0, 0, 0.85);
  border-radius: 50%;
  padding: 10px;
  display: flex;
}

.dest-yt-city {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  text-align: center;
  padding: 0 12px;
}

.dest-yt-tap {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  margin: 0;
}

/* ─────────────────────────────────────────
   INFLUENCER CARD  (People tab)
───────────────────────────────────────── */
.influencer-card {
  width: 100%;
  flex-shrink: 0;
  height: calc(100dvh - var(--banner-h, 0px) - 42px - 62px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.influencer-img-col {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  background: #111;
}

/* YouTube iframe — cover-fill portrait panel with 16:9 video */
.influencer-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* height fills container; aspect-ratio drives width to maintain 16:9 */
  height: 100%;
  width: auto;
  aspect-ratio: 16 / 9;
  /* safety net: never narrower than the container */
  min-width: 100%;
  transform: translate(-50%, -50%);
  border: none;
  /* disable direct interaction — mute button handles all controls */
  pointer-events: none;
}

/* Mute / unmute toggle — bottom-left corner, unobtrusive */
.influencer-mute-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 10;
  width: 34px;
  height: 34px;
  background: rgba(18, 18, 18, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FAFAF8;
  transition: background 0.18s ease, transform 0.18s var(--ease-out), border-color 0.18s ease;
}

.influencer-mute-btn:hover {
  background: rgba(201, 169, 110, 0.78);
  border-color: rgba(201, 169, 110, 0.5);
  transform: scale(1.1);
}

.influencer-mute-btn:active { transform: scale(1); }

.influencer-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background: #FFF8F0;
  border-left: 1px solid var(--border);
}

.influencer-info-col::-webkit-scrollbar { display: none; }

.influencer-info-inner {
  margin: auto 0;
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.influencer-niche-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #A0793E;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  align-self: flex-start;
}

.influencer-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.6px;
  line-height: 1.1;
}

.influencer-followers {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.influencer-platforms {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.influencer-platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
}

.influencer-platform-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.influencer-platform-handle {
  font-size: 11px;
  color: var(--faint);
  flex: 1;
  text-align: center;
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.influencer-platform-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.influencer-why {
  font-size: 13.5px;
  line-height: 1.7;
  color: #484848;
}

.btn-follow {
  width: 100%;
  padding: 14px 20px;
  background: var(--accent);
  color: #FAFAF8;
  border: none;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: opacity 0.18s ease, transform 0.18s var(--ease-out), box-shadow 0.18s ease;
  margin-top: 4px;
}

.btn-follow:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.38);
}

.btn-follow:active { transform: translateY(0); }

.btn-follow.following {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}

/* ─────────────────────────────────────────
   NEARBY CARD  (Nearby tab)
───────────────────────────────────────── */
.nearby-card {
  width: 100%;
  flex-shrink: 0;
  height: calc(100dvh - var(--banner-h, 0px) - 42px - 62px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  position: relative;
}

.nearby-img-col {
  flex: 0 0 46%;
  position: relative;
  overflow: hidden;
  background: #C8C4BE;
}

.nearby-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nearby-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.5) 0%, rgba(26,26,26,0.05) 45%, transparent 100%);
  pointer-events: none;
}

.nearby-type-badge {
  position: absolute;
  bottom: 16px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(201,169,110,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nearby-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background: #FFF8F0;
  border-left: 1px solid var(--border);
}

.nearby-info-col::-webkit-scrollbar { display: none; }

.nearby-info-inner {
  margin: auto 0;
  padding: 22px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nearby-category-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #A0793E;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  align-self: flex-start;
}

.nearby-place-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.nearby-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nearby-rating-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.nearby-review-count {
  font-size: 12px;
  color: var(--faint);
}

.nearby-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  padding-left: 2px;
}

.nearby-hours {
  font-size: 12px;
  font-weight: 600;
  color: #2D7A3D;
}

.nearby-hours-closed { color: #B84040; }

.nearby-address {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.nearby-review-snippet {
  font-size: 13px;
  line-height: 1.7;
  color: #484848;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin: 2px 0;
}

.btn-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.1px;
  margin-top: 4px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease, background 0.18s ease;
}

.btn-directions:hover {
  background: #2A2A2A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,26,26,0.22);
}

.btn-directions:active { transform: translateY(0); }

/* Location card — shown when geolocation is unavailable */
.nearby-location-card {
  width: 100%;
  flex-shrink: 0;
  height: calc(100dvh - var(--banner-h, 0px) - 42px - 62px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  background: var(--bg);
}

.nearby-location-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 320px;
  text-align: center;
}

.nearby-loc-icon {
  width: 64px;
  height: 64px;
  background: rgba(201,169,110,0.1);
  border: 1.5px solid rgba(201,169,110,0.35);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.nearby-loc-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.6px;
}

.nearby-loc-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   LEGAL PAGES (Privacy, Terms, Advertise)
───────────────────────────────────────── */
.legal-page-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.legal-date {
  font-size: 12px;
  color: var(--faint);
  font-style: italic;
  margin-bottom: 24px;
  display: block;
}

.legal-sub-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 20px 0 8px;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.legal-list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  padding: 4px 0 4px 16px;
  position: relative;
}

.legal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ─────────────────────────────────────────
   AFFILIATE DISCLOSURE
───────────────────────────────────────── */
.affiliate-disclosure {
  font-size: 11px;
  color: var(--faint);
  font-style: italic;
  line-height: 1.5;
  margin-top: 10px;
}

/* ─────────────────────────────────────────
   FOOTER BAR
───────────────────────────────────────── */
.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 90;
  padding: 0 16px;
}

.footer-link {
  background: none;
  border: none;
  padding: 4px 6px;
  font-size: 11px;
  color: var(--faint);
  cursor: pointer;
  transition: color 0.15s;
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-sep {
  font-size: 11px;
  color: var(--border);
  user-select: none;
}

/* Push tab-nav up when footer-bar is visible — mobile only.
   On desktop the tab-nav sits at the top, so no shift is needed. */
@media (max-width: 639px) {
  .footer-bar-active .tab-nav {
    bottom: 36px;
  }

  .dest-bottom-grid {
    grid-template-columns: 1fr;
  }

  /* ── Stack card vertically; pin exactly to one snap page ── */
  .dest-card {
    flex-direction: column;
    height: calc(100dvh - var(--banner-h, 0px) - 42px - 62px);
    min-height: unset;
    overflow: hidden;
  }

  /* Photo: top 45% of card height — prominent, city name stays visible */
  .dest-img-col {
    flex: 0 0 45%;
  }

  /* City name: pull to actual bottom edge of the shorter photo area */
  .dest-photo-label {
    bottom: 14px;
  }

  /* Info: remaining 55%; must set min-height: 0 so flex allows shrinking */
  .dest-info-col {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  /* Info inner: scrolls independently if content overflows the allotted space */
  .dest-info-inner {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px 16px;
    gap: 8px;
  }

  /* Allow flight-form grid items to shrink below their intrinsic content width */
  .flight-field-group {
    min-width: 0;
  }
}

/* ─────────────────────────────────────────
   COOKIE BANNER
───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: var(--bg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 200;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
  color: rgba(250,250,248,0.85);
}

.cookie-policy-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}

.cookie-accept-btn {
  background: var(--accent);
  color: var(--surface);
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  font-family: inherit;
}

.cookie-accept-btn:hover {
  opacity: 0.85;
}

/* ─────────────────────────────────────────
   ADVERTISE PAGE
───────────────────────────────────────── */
.advertise-stats {
  display: flex;
  gap: 16px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.advertise-stat {
  flex: 1;
  min-width: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.advertise-stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.advertise-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.advertise-stat-desc {
  font-size: 11px;
  color: var(--faint);
}

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

.advertise-form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.advertise-form-row .advertise-form-group {
  flex: 1;
  min-width: 140px;
}

.advertise-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.advertise-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s;
}

.advertise-input:focus {
  border-color: var(--accent);
}

.advertise-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.advertise-confirm {
  font-size: 14px;
  color: var(--accent);
  font-style: italic;
  display: none;
  margin-top: 4px;
}

/* ─────────────────────────────────────────
   ABOUT BODY LINKS & CODE
───────────────────────────────────────── */
.about-body a {
  color: var(--accent);
  text-decoration: underline;
}

.about-body a:hover {
  opacity: 0.8;
}

.about-body code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text);
}

.nearby-loc-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.nearby-location-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}

.nearby-location-input:focus { border-color: var(--accent); }
.nearby-location-input::placeholder { color: #C8C8C2; }

.nearby-location-btn {
  flex-shrink: 0;
  padding: 11px 18px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.18s ease, transform 0.18s var(--ease-out);
}

.nearby-location-btn:hover { opacity: 0.84; transform: translateY(-1px); }
.nearby-location-btn:active { transform: translateY(0); }

.nearby-empty {
  width: 100%;
  flex-shrink: 0;
  height: calc(100dvh - var(--banner-h, 0px) - 42px - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--faint);
  text-align: center;
  padding: 32px;
}

/* ─────────────────────────────────────────
   RESPONSIVE — tab screens on desktop
───────────────────────────────────────── */
@media (min-width: 640px) {
  .tab-nav {
    top: 0;
    bottom: auto;
    border-top: none;
    border-bottom: 1px solid var(--border);
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .tab-btn {
    flex-direction: row;
    gap: 8px;
    padding: 14px 24px;
    flex: 0 1 auto;
  }

  .tab-btn::after {
    top: auto;
    bottom: 0;
    border-radius: 2px 2px 0 0;
    width: 100%;
  }

  .tab-label { font-size: 13px; }

  .tab-about-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-left: 1px solid var(--border);
    border-radius: 0;
    padding: 0 24px;
    font-size: 10px;
  }

  .tab-screen {
    padding-bottom: 0;
    padding-top: 49px;
  }

  .tab-feed-scroll {
    height: calc(100dvh - var(--banner-h, 0px) - 49px - 42px);
  }

  .dest-card,
  .influencer-card {
    min-height: calc(100dvh - var(--banner-h, 0px) - 49px - 42px);
  }

  .nearby-card,
  .nearby-location-card,
  .nearby-empty {
    height: calc(100dvh - var(--banner-h, 0px) - 49px - 42px);
  }

  .dest-img-col       { flex: 0 0 48%; }
  .influencer-img-col { flex: 0 0 42%; }
  .nearby-img-col     { flex: 0 0 48%; }

  .dest-info-inner,
  .influencer-info-inner,
  .nearby-info-inner {
    max-width: 560px;
    width: 100%;
    margin: auto;
    padding: 0 60px;
  }
}

/* will-change: transform removed — caused GPU compositing bug where
   snap-scroll containers inside opacity-transitioning fixed screens
   rendered blank. Browsers handle scroll performance well without it. */

/* ─────────────────────────────────────────
   SPLASH SCREEN
───────────────────────────────────────── */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out);
}

.splash-screen.splash-hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-brand-mark {
  width: 80px;
  height: 80px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  letter-spacing: -1px;
  animation: splash-pulse 1s ease-in-out infinite alternate;
}

@keyframes splash-pulse {
  from { box-shadow: 0 12px 40px rgba(26, 26, 26, 0.18); transform: scale(1); }
  to   { box-shadow: 0 16px 48px rgba(201, 169, 110, 0.38); transform: scale(1.04); }
}

/* ─────────────────────────────────────────
   TOAST NOTIFICATIONS
───────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.zest-toast {
  padding: 10px 20px;
  background: var(--text);
  color: var(--bg);
  border-radius: 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.1px;
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.22);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
  white-space: nowrap;
  max-width: calc(100vw - 48px);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zest-toast-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.zest-toast-error { background: #C0392B; }
.zest-toast-info  { background: var(--text); }

/* ─────────────────────────────────────────
   FEED SKELETON  (shown on first tab open)
───────────────────────────────────────── */
.feed-skeleton-card {
  width: 100%;
  flex-shrink: 0;
  height: calc(100dvh - var(--banner-h, 0px) - 42px - 62px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.skeleton-img-col {
  flex: 0 0 46%;
  background: var(--border);
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-info-col {
  flex: 1;
  background: #FFF8F0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.skeleton-line {
  background: var(--border);
  border-radius: 6px;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-line--tag    { height: 10px; width: 60px; }
.skeleton-line--title  { height: 22px; width: 90%; }
.skeleton-line--title2 { width: 65%; }
.skeleton-line--body   { height: 12px; width: 100%; }
.skeleton-line--btn    { height: 40px; width: 100%; border-radius: 12px; margin-top: 8px; }

@keyframes skeleton-shimmer {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

@media (min-width: 640px) {
  .feed-skeleton-card { height: calc(100dvh - var(--banner-h, 0px) - 49px - 42px); }
  .skeleton-img-col   { flex: 0 0 48%; }
}

/* ─────────────────────────────────────────
   ABOUT — SIGN OUT BUTTON
───────────────────────────────────────── */
.about-signout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 12px 24px;
  background: none;
  border: 1.5px solid rgba(192, 57, 43, 0.3);
  border-radius: 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #C0392B;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.about-signout-btn:hover {
  border-color: #C0392B;
  background: rgba(192, 57, 43, 0.05);
}

/* ─────────────────────────────────────────
   NAV SIGN-IN BUTTON (in tab-nav, right side)
───────────────────────────────────────── */
.tab-signin-btn {
  flex: 0 0 auto;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  cursor: pointer;
  padding: 6px 16px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  align-self: stretch;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.tab-signin-btn:hover { color: var(--text); }

/* ─────────────────────────────────────────
   SIGN-IN MODAL
───────────────────────────────────────── */
.signin-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.signin-modal.visible {
  opacity: 1;
}

.signin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
}

.signin-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.signin-modal-heading {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.signin-modal-subtext {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--faint);
  line-height: 1.6;
  margin: 0 0 28px;
}

.signin-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signin-modal-cta {
  width: 100%;
  margin: 0;
}

.signin-modal-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--faint);
  padding: 8px 16px;
  transition: color 0.15s ease;
}

.signin-modal-dismiss:hover {
  color: var(--text);
}

#signin-modal-auth .auth-buttons {
  margin-bottom: 16px;
}

#signin-modal-auth .signin-modal-heading {
  margin-bottom: 24px;
}
