/* ── Tokens ── */
:root {
  --teal: #14B8A6;
  --teal-dark: #0D9488;
  --teal-light: #5EEAD4;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --slate: #64748B;
  --ice: #F0FDFA;
  --white: #FFFFFF;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.3rem;
}
.nav-logo {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center; color: white; font-size: 1.1rem;
}
.nav-tld { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; font-size: .95rem; color: var(--slate); transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.btn-nav {
  background: var(--navy) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: transform .2s, box-shadow .2s !important;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }

/* ── App Header ── */
.app-header {
  padding: 100px 0 32px;
  background: linear-gradient(180deg, var(--ice) 0%, #FFFFFF 100%);
  text-align: center;
}
.app-header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem; font-weight: 700;
  line-height: 1.2; letter-spacing: -.02em;
  margin-bottom: 8px;
}
.app-subtitle {
  font-size: 1rem; color: var(--slate);
  margin-bottom: 24px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Search Bar ── */
/* ── Search row (text + type select) ── */
.search-row {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  align-items: stretch;
}
.search-bar {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate);
  font-size: 1rem;
  pointer-events: none;
}
.search-bar input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border: 2px solid #E2E8F0;
  border-radius: 14px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: white;
  transition: all .2s;
  outline: none;
}
.search-bar input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,.1);
}
.search-bar input::placeholder { color: #94A3B8; }

.type-select-wrap {
  position: relative;
  flex: 0 0 240px;
}
.type-select-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: .95rem;
  pointer-events: none;
}
.type-select-caret {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate);
  font-size: .75rem;
  pointer-events: none;
}
.type-select {
  width: 100%;
  height: 100%;
  padding: 16px 38px 16px 44px;
  border: 2px solid #E2E8F0;
  border-radius: 14px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: #0F172A;
  background: white;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: all .2s;
}
.type-select:hover { border-color: #CBD5E1; }
.type-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20,184,166,.1);
}

@media (max-width: 640px) {
  .search-row { flex-direction: column; gap: 10px; }
  .type-select-wrap { flex: 1 1 auto; }
}

/* ── Section Shared ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 12px;
}
.section-header p { font-size: 1.1rem; color: var(--slate); }

/* ── Restaurants Grid ── */
.restaurants { padding: 16px 0 80px; background: white; }
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* ── Restaurant Card ── */
.restaurant-card {
  background: #FAFAFA;
  border-radius: 20px;
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
  border: 2px solid transparent;
}
.restaurant-card:hover {
  background: white;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-4px);
  border-color: rgba(20,184,166,.2);
}
.card-cover {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.card-cover-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-cover-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-cover-icon {
  font-size: 3rem;
  color: rgba(255,255,255,.5);
}
.card-logo {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid white;
}
.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.card-logo-letter {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}
.card-body {
  padding: 36px 24px 24px;
}
.card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.card-description {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: var(--slate);
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-meta-item i { font-size: .75rem; }
.card-footer {
  padding: 0 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .9rem;
  color: white;
  transition: all .2s;
}
.card-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.card-cta i { font-size: .8rem; transition: transform .2s; }
.restaurant-card:hover .card-cta i { transform: translateX(3px); }

/* ── Featured section ── */
.featured-section {
  padding: 32px 0 8px;
  background: linear-gradient(180deg, #F0FDFA 0%, white 100%);
}
.section-mini-header {
  text-align: center;
  margin-bottom: 28px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,184,166,.12);
  color: var(--teal-700, #0F766E);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.section-eyebrow i { color: #F59E0B; }
.section-mini-header h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.section-mini-header p {
  color: var(--slate);
  font-size: 1rem;
}
.featured-grid .restaurant-card-featured {
  background: white;
  border: 2px solid rgba(20,184,166,.25);
  box-shadow: 0 8px 32px rgba(20,184,166,.10);
  position: relative;
}
.featured-grid .restaurant-card-featured:hover {
  border-color: rgba(20,184,166,.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(20,184,166,.18);
}
.card-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  color: #0F766E;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.card-featured-badge i { color: #F59E0B; font-size: .7rem; }

/* ── Categories pills ── */
.categories-section {
  padding: 28px 0 12px;
  background: white;
  border-top: 1px solid #F1F5F9;
}
.categories-bar {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 4px 4px 14px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.categories-bar::-webkit-scrollbar { height: 6px; }
.categories-bar::-webkit-scrollbar-thumb { background: #E2E8F0; border-radius: 999px; }
.cat-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  font-family: inherit;
}
.cat-chip:hover {
  border-color: #14B8A6;
  color: #0F766E;
  background: #F0FDFA;
}
.cat-chip i { font-size: .85rem; }
.cat-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  color: var(--slate);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
}
.cat-chip.active {
  background: #14B8A6;
  border-color: #14B8A6;
  color: white;
  box-shadow: 0 4px 14px rgba(20,184,166,.30);
}
.cat-chip.active .cat-chip-count {
  background: rgba(255,255,255,.25);
  color: white;
}
.cat-chip.active:hover {
  background: #0D9488;
  border-color: #0D9488;
}

/* ── Card name row + category chip ── */
.card-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.card-cat-chip {
  flex-shrink: 0;
  background: #F0FDFA;
  color: #0F766E;
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ── Grid title + results header ── */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 4px 20px;
  flex-wrap: wrap;
}
.grid-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}
.btn-clear-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  color: #475569;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.btn-clear-filter:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* ── Cuisines tiles ── */
.cuisines-section {
  padding: 48px 0 32px;
  background: white;
}
.cuisines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.cuisine-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: none;
  color: white;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  height: 130px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(15,23,42,.08);
}
.cuisine-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .2s;
}
.cuisine-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,23,42,.18);
}
.cuisine-tile:hover::before {
  background: rgba(0,0,0,.05);
}
.cuisine-emoji {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
  position: relative;
  z-index: 1;
}
.cuisine-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.cuisine-count {
  font-size: .75rem;
  font-weight: 600;
  opacity: .9;
  position: relative;
  z-index: 1;
  margin-top: -4px;
}

/* ── Ratings ── */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 12px;
  font-size: .82rem;
}
.rating-stars { color: #F59E0B; letter-spacing: 1px; font-size: .78rem; }
.rating-stars .far { color: #E2E8F0; }
.rating-score {
  font-weight: 700;
  color: #0F172A;
}
.rating-count {
  color: #94A3B8;
  font-weight: 500;
}

/* ── Map ── */
.map-section {
  padding: 32px 0 56px;
  background: linear-gradient(180deg, white 0%, #F8FAFC 100%);
}
.map-canvas {
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15,23,42,.10);
  border: 1px solid #E2E8F0;
  background: #F1F5F9;
}
.leaflet-container {
  font-family: var(--font-body);
}

/* Locate-me control */
.map-locate-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0F172A;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 10px;
  box-shadow: 0 4px 14px -4px rgba(15,23,42,.18);
  cursor: pointer;
  font-size: 1rem;
  transition: background .15s, color .15s, transform .1s;
  padding: 0;
}
.map-locate-btn:hover { background: #0D9488; color: #fff; }
.map-locate-btn:active { transform: scale(.96); }
.map-locate-btn.is-loading { color: #0D9488; background: #fff; }

/* User position pin */
.map-user-pin-wrap { background: transparent; border: none; }
.map-user-pin {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(13, 148, 136, .25);
  display: grid; place-items: center;
}
.map-user-pin::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(13, 148, 136, .18);
  animation: mapUserPinPulse 1.8s ease-out infinite;
}
.map-user-pin-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #0D9488;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  position: relative;
  z-index: 1;
}
@keyframes mapUserPinPulse {
  0% { transform: scale(.6); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Custom map pin */
.map-pin-wrap { background: transparent; border: none; }
.map-pin {
  position: relative;
  width: 34px;
  height: 44px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.25));
}
.map-pin-bubble {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: var(--pin-color, #14B8A6);
  border: 2.5px solid white;
  color: white;
  font-weight: 700;
  font-size: .85rem;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin-bubble > * { transform: rotate(45deg); }
/* Wrap letter automatically by injecting via innerText - we'll use ::before */
.map-pin-bubble {
  /* center & counter-rotate inner text */
}
.map-pin-featured { z-index: 1000; }
.map-pin-featured .map-pin-bubble {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(245,158,11,.3);
}

/* Popup */
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15,23,42,.20);
  padding: 4px;
}
.leaflet-popup-content { margin: 12px 14px; line-height: 1.5; }
.map-popup { min-width: 200px; }
.popup-featured {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245,158,11,.15);
  color: #B45309;
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.popup-featured i { color: #F59E0B; }
.popup-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}
.popup-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}
.popup-rating i { color: #F59E0B; }
.popup-rating span {
  color: #94A3B8;
  font-weight: 500;
}
.popup-addr {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .78rem;
  color: #64748B;
  margin-bottom: 10px;
  line-height: 1.4;
}
.popup-addr i { color: #94A3B8; margin-top: 2px; font-size: .7rem; }
.popup-link {
  display: inline-block;
  background: #14B8A6;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: .82rem;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background .15s;
}
.popup-link:hover { background: #0D9488; }

@media (max-width: 640px) {
  .cuisines-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cuisine-tile { height: 110px; padding: 14px; }
  .cuisine-emoji { font-size: 1.8rem; }
  .cuisine-label { font-size: .92rem; }
  .map-canvas { height: 380px; border-radius: 14px; }
}

.card-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(16,185,129,.1);
  color: #059669;
  font-size: .78rem;
  font-weight: 700;
}

/* ── Loading & Empty States ── */
.loading-state {
  text-align: center;
  padding: 60px 0;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid #E2E8F0;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state p { color: var(--slate); font-size: .95rem; }

.empty-state {
  text-align: center;
  padding: 60px 0;
}
.empty-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #F1F5F9;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  font-size: 1.5rem; color: var(--slate);
}
.empty-state h3 {
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 8px;
}
.empty-state p { color: var(--slate); font-size: .95rem; }

/* ── How it works ── */
.how-it-works { padding: 80px 0; background: var(--ice); }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 24px; }
.step-card {
  background: white; border-radius: 20px; padding: 36px 28px;
  text-align: center; flex: 1; max-width: 300px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white; display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: .88rem; color: var(--slate); line-height: 1.6; }
.step-arrow { color: #CBD5E1; font-size: 1.5rem; }

/* ── CTA Pro ── */
.cta-pro { padding: 80px 0; background: white; }
.cta-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 28px;
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  color: white;
}
.cta-content { flex: 1; }
.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}
.cta-visual {
  flex-shrink: 0;
}
.cta-icon {
  width: 120px; height: 120px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center;
  font-size: 3rem; color: white;
  box-shadow: 0 16px 48px rgba(20,184,166,.3);
}

/* ── Buttons ── */
.btn-primary-lg {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white; font-weight: 700; font-size: 1rem;
  box-shadow: 0 4px 16px rgba(20,184,166,.3);
  transition: all .2s;
}
.btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,184,166,.35); }

/* ── Footer ── */
.footer { padding: 80px 0 40px; background: var(--navy); color: #94A3B8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: .9rem; line-height: 1.7; }
.footer-brand .nav-brand { color: white; }
.footer h4 { color: white; font-size: .9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.footer a { display: block; padding: 6px 0; font-size: .9rem; transition: color .2s; }
.footer a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid #334155; padding-top: 24px;
  text-align: center; font-size: .85rem;
}

/* ── Profile Page ── */
.profile-page { display: none; }
body.is-profile .homepage-content { display: none; }
body.is-profile .profile-page { display: block; }

.profile-hero {
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.profile-cover {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.profile-cover-icon {
  font-size: 4rem;
  color: rgba(255,255,255,.3);
}
.profile-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

.profile-main {
  max-width: 900px;
  margin: -60px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.profile-header-card {
  background: white;
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 20px;
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.profile-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.profile-avatar-letter {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  color: white;
}
.profile-info { flex: 1; min-width: 0; }
.profile-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 50px;
  background: rgba(20,184,166,.1);
  color: var(--teal-dark);
  font-size: .75rem; font-weight: 700;
  margin-bottom: 8px;
}
.profile-name {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 700;
  margin-bottom: 6px;
}
.profile-desc {
  font-size: 1rem; color: var(--slate);
  line-height: 1.6; margin-bottom: 12px;
}
.profile-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.profile-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 8px;
  background: #F1F5F9;
  font-size: .82rem; color: var(--slate);
}
.profile-tag i { font-size: .7rem; }
.profile-header-cta {
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-end;
}

.profile-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  margin-top: 32px;
  padding-bottom: 80px;
}

.profile-section {
  background: white;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  margin-bottom: 24px;
}
.profile-section-title {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.profile-section-title i { color: var(--teal); font-size: .95rem; }

.profile-perks-list {
  list-style: none;
}
.profile-perks-list li {
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem;
}
.profile-perks-list li:last-child { border: none; }
.profile-perks-list li i {
  color: #10B981; font-size: .8rem;
  width: 20px; text-align: center;
  flex-shrink: 0;
}

.profile-advantage {
  border: 2px solid rgba(20,184,166,.2);
  background: linear-gradient(135deg, rgba(20,184,166,.04), rgba(20,184,166,.08));
}
.profile-advantage-content {
  display: flex; align-items: center; gap: 16px;
}
.profile-advantage-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal);
  display: grid; place-items: center;
  color: white; font-size: 1.3rem;
  flex-shrink: 0;
}
.profile-advantage-text {
  font-size: .95rem; line-height: 1.5;
}
.profile-advantage-text strong {
  display: block; font-size: 1.05rem;
  margin-bottom: 2px;
}
.profile-advantage-text span {
  color: var(--slate); font-size: .85rem;
}

.profile-sidebar { display: flex; flex-direction: column; gap: 24px; }

.profile-info-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: .92rem;
}
.profile-info-row:last-child { border: none; }
.profile-info-row i {
  color: var(--teal); font-size: .85rem;
  width: 20px; text-align: center;
  margin-top: 3px; flex-shrink: 0;
}
.profile-info-row a { color: var(--teal-dark); font-weight: 500; }
.profile-info-row a:hover { text-decoration: underline; }

.profile-hours-grid {
  display: grid; gap: 0;
}
.profile-hours-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F8FAFC;
  font-size: .88rem;
}
.profile-hours-row:last-child { border: none; }
.profile-hours-day { font-weight: 600; }
.profile-hours-time { color: var(--slate); }
.profile-hours-closed { color: #EF4444; font-weight: 500; }

.profile-cta-sticky {
  position: sticky; top: 96px;
}
.profile-cta-card {
  border-radius: 20px; padding: 28px;
  color: white; text-align: center;
}
.profile-cta-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 8px;
}
.profile-cta-card p {
  font-size: .88rem;
  opacity: .85;
  margin-bottom: 20px;
  line-height: 1.5;
}
.profile-cta-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 14px;
  background: white;
  font-weight: 700; font-size: 1rem;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.profile-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.profile-cta-btn i { font-size: .9rem; }

.profile-group-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.15);
  margin-top: 16px;
  font-size: .85rem;
  text-align: left;
}
.profile-group-badge i {
  font-size: 1.2rem; flex-shrink: 0;
}

.profile-movement {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: .85rem;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.profile-movement i { color: var(--teal-light); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .app-header { padding: 88px 0 24px; }
  .app-header h1 { font-size: 1.7rem; }
  .restaurants-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .cta-card { flex-direction: column; padding: 40px 28px; gap: 32px; text-align: center; }
  .cta-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .profile-header-card { flex-direction: column; text-align: center; align-items: center; }
  .profile-header-cta { align-items: center; width: 100%; }
  .profile-header-cta .btn-primary-lg { width: 100%; justify-content: center; }
  .profile-body { grid-template-columns: 1fr; }
  .profile-cover { height: 200px; }
  .profile-name { font-size: 1.4rem; }
  .profile-tags { justify-content: center; }
}

/* ─────────────────────────────────────────────────────────── */
/* Hub Traiteur — additions spécifiques                         */
/* ─────────────────────────────────────────────────────────── */

/* Hero des pages SEO */
.seo-app-header { padding: 110px 0 32px; }
.seo-hero-eyebrow { margin-bottom: 14px; }
.seo-hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; margin-right: 8px; vertical-align: -.18em; color: var(--emerald, #10B981); }
.seo-hero-icon i { font-size: .9em; }
.seo-hero-counter { margin-top: 14px; color: var(--slate); font-size: .92rem; }

/* Breadcrumb SEO */
.seo-breadcrumb { background: white; padding: 80px 0 0; }
.seo-breadcrumb .container {
  padding-top: 14px; padding-bottom: 14px;
  font-size: .85rem; color: #64748B;
}
.seo-breadcrumb a { color: #64748B; }
.seo-breadcrumb a:hover { color: #0D9488; }
.seo-breadcrumb [aria-current=page] { color: #0F172A; font-weight: 600; }
.seo-breadcrumb .sep { margin: 0 8px; color: #CBD5E1; }
.seo-breadcrumb + .seo-app-header { padding-top: 24px; }

/* Filtres service (livraison/retrait) */
.svc-filter-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 14px;
}
.svc-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  font-size: .88rem; font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.svc-filter input { accent-color: #14B8A6; cursor: pointer; }
.svc-filter:hover { border-color: #14B8A6; color: #0F766E; }
.svc-filter:has(input:checked) {
  background: #F0FDFA;
  border-color: #14B8A6;
  color: #0F766E;
}

/* Badges service (sur les cards) */
.svc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.svc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .03em;
}
.svc-badge i { font-size: .68rem; }
.svc-badge.svc-delivery { background: #ECFDF5; color: #0D9488; }
.svc-badge.svc-pickup { background: #F1F5F9; color: #475569; }

/* Pills "Continuer la recherche" */
.related-search { padding: 32px 0 16px; background: white; }
.related-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; padding: 8px 0 16px;
}
.related-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: white;
  border: 1.5px solid #E2E8F0; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: #0F172A;
  transition: all .15s; text-decoration: none;
}
.related-pill:hover {
  border-color: #14B8A6; background: #F0FDFA;
  color: #0F766E; transform: translateY(-1px);
}
.related-pill-icon { font-size: 1rem; line-height: 1; color: #0D9488; }
.related-pill-count {
  background: #F1F5F9; color: #64748B;
  font-size: .72rem; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
}
.related-pill:hover .related-pill-count { background: rgba(20,184,166,.15); color: #0F766E; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  background: #FAFAFA;
  border-radius: 20px;
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 8px; color: #0F172A;
}
.empty-state p { color: #64748B; margin-bottom: 18px; line-height: 1.55; }

/* Boutons utilitaires */
.btn-secondary-lg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: white; color: #0F172A;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid #E2E8F0;
  transition: all .15s;
}
.btn-secondary-lg:hover { border-color: #0D9488; color: #0D9488; }


/* ─────────────────────────────────────────────────────────
   HUB TRAITEUR — Composants V2 (panier, checkout, produits)
   ───────────────────────────────────────────────────────── */

/* Nav : barre catégories produits */
.rt-nav { display: flex; flex-direction: column; }
.rt-nav-links { gap: 14px; }
.rt-nav-extlink { color: #475569; font-weight: 500; }
.rt-cart-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: #14B8A6; color: #fff; border: none;
  padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: .9rem;
  cursor: pointer; font-family: inherit; transition: filter .15s, transform .15s;
}
.rt-cart-toggle:hover { filter: brightness(1.08); transform: translateY(-1px); }
.rt-cart-badge {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: #F59E0B; color: #fff;
  font-size: .72rem; font-weight: 700; line-height: 1;
}
.rt-prodnav { background: #F8FAFC; border-bottom: 1px solid #E2E8F0; }
.rt-prodnav-inner {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rt-prodnav-inner::-webkit-scrollbar { display: none; }
.rt-prodnav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: #fff; color: #334155; border: 1px solid #E2E8F0;
  font-weight: 600; font-size: .88rem; white-space: nowrap;
  transition: all .15s;
}
.rt-prodnav-link:hover { border-color: #14B8A6; color: #0D9488; }
.rt-prodnav-active { background: #14B8A6; color: #fff !important; border-color: #14B8A6; }
.rt-prodnav-spacer { flex: 1 1 auto; }
.rt-prodnav-allink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  color: #14B8A6; font-weight: 700; font-size: .85rem; white-space: nowrap;
}
.rt-prodnav-allink:hover { background: #F0FDFA; color: #0D9488; }

/* ── Panier sidebar ── */
body.rt-no-scroll { overflow: hidden; }
.rt-cart-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.45);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
  z-index: 9000;
}
.rt-cart-overlay.rt-open { opacity: 1; pointer-events: auto; }

.rt-cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 95vw); background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  z-index: 9001; box-shadow: -20px 0 60px rgba(15,23,42,.18);
}
.rt-cart-sidebar.rt-open { transform: translateX(0); }
.rt-cart-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 20px 22px 14px; border-bottom: 1px solid #F1F5F9;
}
.rt-cart-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #94A3B8; font-weight: 700; }
.rt-cart-resto {
  margin-top: 4px; font-family: 'Inter', sans-serif; font-weight: 700; color: #0F172A; font-size: 1.05rem;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.rt-cart-resto i { color: #14B8A6; }
.rt-cart-resto-link { color: #14B8A6; font-size: .82rem; font-weight: 600; margin-left: auto; }
.rt-cart-close {
  background: #F1F5F9; border: none; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; color: #64748B;
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background .15s;
}
.rt-cart-close:hover { background: #E2E8F0; color: #0F172A; }

.rt-cart-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.rt-cart-empty { text-align: center; padding: 50px 20px; }
.rt-cart-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.rt-cart-empty h3 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 700; color: #0F172A; margin-bottom: 6px; }
.rt-cart-empty p { color: #64748B; font-size: .9rem; }

.rt-cart-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #F1F5F9;
  align-items: flex-start;
}
.rt-cart-item-img {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #F1F5F9;
  display: grid; place-items: center; color: #94A3B8; font-size: 1.1rem;
}
.rt-cart-item-img-empty { background: linear-gradient(135deg, #14B8A6, #0D9488); color: #fff; }
.rt-cart-item-name { font-weight: 700; color: #0F172A; font-size: .95rem; line-height: 1.3; }
.rt-cart-item-meta { color: #64748B; font-size: .8rem; margin: 2px 0 8px; }
.rt-cart-item-total { font-weight: 700; color: #0D9488; font-size: .95rem; align-self: center; }

.rt-cart-qty { display: inline-flex; align-items: center; gap: 4px; }
.rt-qty-btn {
  background: #F1F5F9; border: none; width: 28px; height: 28px;
  border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 1rem;
  color: #0F172A; transition: background .12s;
  display: grid; place-items: center;
}
.rt-qty-btn:hover { background: #E2E8F0; }
.rt-qty-val { min-width: 28px; text-align: center; font-weight: 700; color: #0F172A; font-size: .92rem; }
.rt-cart-remove {
  margin-left: 6px; background: transparent; border: none; color: #94A3B8;
  cursor: pointer; padding: 4px 8px; font-size: .85rem; border-radius: 6px;
  transition: all .12s;
}
.rt-cart-remove:hover { color: #EF4444; background: #FEF2F2; }

.rt-cart-footer {
  padding: 16px 22px 22px; border-top: 1px solid #F1F5F9;
  background: #FAFBFC;
}
.rt-cart-totals { margin-bottom: 14px; }
.rt-cart-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-size: .92rem; color: #0F172A;
}
.rt-cart-line strong { color: #0D9488; font-size: 1.05rem; }
.rt-cart-line-muted { color: #94A3B8; font-size: .82rem; }
.rt-cart-line-muted span { color: #94A3B8; }

.btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #14B8A6, #0D9488);
  color: #fff; padding: 14px 18px; border-radius: 12px;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 25px -8px rgba(20,184,166,.5);
  transition: transform .15s, filter .15s;
  text-decoration: none;
}
.btn-checkout:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.btn-checkout-amount { margin-left: auto; opacity: .85; font-size: .92rem; font-weight: 600; }

.btn-cart-clear {
  margin-top: 10px; width: 100%;
  background: transparent; border: none;
  color: #94A3B8; cursor: pointer; font-weight: 600; font-size: .82rem;
  padding: 8px; border-radius: 8px; transition: all .12s;
  font-family: inherit;
}
.btn-cart-clear:hover { color: #EF4444; background: #FEF2F2; }

/* Toast */
.rt-toast {
  position: fixed; left: 50%; bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  background: #0F172A; color: #fff;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  box-shadow: 0 14px 40px -10px rgba(15,23,42,.35);
  z-index: 9999; transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.rt-toast-show { transform: translateX(-50%) translateY(0); }

/* ── Cards produits (cross-resto et home) ── */
.rt-prod-section { padding: 36px 0 8px; }
.rt-coups-de-coeur { background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%); }
.rt-prod-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.rt-prod-card {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.rt-prod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(15,23,42,.12);
  border-color: rgba(20,184,166,.4);
}
.rt-prod-imgwrap { position: relative; display: block; aspect-ratio: 4/3; background: #F1F5F9; overflow: hidden; }
.rt-prod-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rt-prod-card:hover .rt-prod-img { transform: scale(1.04); }
.rt-prod-img-empty {
  display: grid; place-items: center; color: rgba(255,255,255,.55);
  font-size: 2.4rem; height: 100%;
}
.rt-prod-featured-badge {
  position: absolute; top: 10px; left: 10px;
  background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #fff;
  padding: 5px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 4px;
}
.rt-prod-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rt-prod-resto {
  display: inline-flex; align-items: center; gap: 7px; color: #64748B; font-size: .8rem; font-weight: 600;
  width: fit-content; transition: color .12s;
}
.rt-prod-resto:hover { color: #0D9488; }
.rt-prod-resto-logo {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .78rem;
}
.rt-prod-resto-logo-letter { background: #14B8A6; }
.rt-prod-resto-name { color: #475569; }
.rt-prod-name {
  font-family: 'Inter', sans-serif; font-weight: 700; color: #0F172A;
  font-size: 1rem; line-height: 1.3; text-decoration: none;
}
.rt-prod-name:hover { color: #0D9488; }
.rt-prod-desc { color: #64748B; font-size: .82rem; line-height: 1.45; flex: 1; margin: 2px 0 4px; }
.rt-prod-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.rt-prod-badge {
  background: #F0FDFA; color: #0D9488;
  padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}
.rt-prod-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 8px; padding-top: 10px; border-top: 1px solid #F1F5F9;
}
.rt-prod-price { font-weight: 800; color: #0F172A; font-size: 1.1rem; }
.rt-prod-currency { font-size: .8rem; font-weight: 700; color: #64748B; }
.rt-prod-unit { color: #94A3B8; font-size: .76rem; font-weight: 600; margin-left: 4px; }
.rt-prod-add {
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  background: #14B8A6; color: #fff; border: none;
  display: grid; place-items: center; font-size: 1rem;
  transition: transform .15s, filter .15s;
}
.rt-prod-add:hover { transform: scale(1.08); filter: brightness(1.08); }

/* ── Témoignages ── */
.rt-testimonials { padding: 50px 0 30px; background: #F8FAFC; margin-top: 30px; }
.rt-testimonials-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 26px;
}
.rt-testimonial-card {
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 22px;
  box-shadow: 0 4px 16px -8px rgba(15,23,42,.08);
}
.rt-testimonial-stars { font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.rt-testimonial-text { color: #334155; font-size: .95rem; line-height: 1.55; font-style: italic; margin-bottom: 16px; }
.rt-testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.rt-testimonial-author strong { color: #0F172A; font-weight: 700; }
.rt-testimonial-author span { color: #64748B; font-size: .82rem; }

/* ── Fiche produit (PDP) ── */
.rt-pdp-main { padding: 30px 0 50px; }
.rt-pdp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 38px;
  margin-bottom: 34px;
}
@media (max-width: 880px) { .rt-pdp-grid { grid-template-columns: 1fr; gap: 24px; } }
.rt-pdp-imgwrap { background: #F1F5F9; border-radius: 18px; overflow: hidden; aspect-ratio: 1; }
.rt-pdp-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rt-pdp-img-empty {
  display: grid; place-items: center; color: rgba(255,255,255,.6);
  font-size: 5rem; height: 100%;
}
.rt-pdp-info { display: flex; flex-direction: column; gap: 14px; }
.rt-pdp-resto {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: #475569; font-size: .9rem; font-weight: 600;
  width: fit-content;
}
.rt-pdp-resto:hover { color: #0D9488; }
.rt-pdp-resto-logo {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.rt-pdp-resto-logo-letter { background: #14B8A6; }
.rt-pdp-resto-name { color: #0F172A; font-weight: 700; }
.rt-pdp-resto-addr { color: #94A3B8; font-size: .82rem; font-weight: 500; }
.rt-pdp-title {
  font-family: 'Inter', sans-serif; font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800; letter-spacing: -.02em; color: #0F172A;
  line-height: 1.15; margin: 0;
}
.rt-pdp-cat-chip {
  display: inline-flex; align-items: center;
  background: #F0FDFA; color: #0D9488;
  padding: 4px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  width: fit-content; transition: all .12s;
}
.rt-pdp-cat-chip:hover { background: #14B8A6; color: #fff; }
.rt-pdp-price {
  font-family: 'Inter', sans-serif; font-size: 2.2rem; font-weight: 800; color: #0D9488;
}
.rt-pdp-currency { font-size: 1rem; font-weight: 700; color: #64748B; }
.rt-pdp-unit { font-size: .9rem; color: #94A3B8; font-weight: 600; margin-left: 4px; }
.rt-pdp-desc { color: #475569; font-size: 1.05rem; line-height: 1.6; }
.rt-pdp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rt-pdp-tag {
  background: #F1F5F9; color: #334155; padding: 4px 12px;
  border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.rt-pdp-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.rt-pdp-qty {
  display: inline-flex; align-items: center; gap: 6px;
  background: #F1F5F9; border-radius: 12px; padding: 6px;
}
.rt-pdp-qty .rt-qty-btn { width: 36px; height: 36px; background: #fff; }
.rt-qty-input {
  width: 56px; text-align: center; border: none; background: transparent;
  font-weight: 700; font-size: 1.05rem; color: #0F172A;
  font-family: inherit;
}
.rt-qty-input::-webkit-outer-spin-button, .rt-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rt-pdp-addbtn { flex: 1; min-width: 220px; }
.rt-pdp-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.rt-tabs {
  display: flex; gap: 4px; border-bottom: 2px solid #E2E8F0;
  margin: 24px 0 16px; overflow-x: auto;
}
.rt-tab {
  background: none; border: none; padding: 12px 20px;
  cursor: pointer; font-weight: 600; font-size: .95rem;
  color: #64748B; border-bottom: 2px solid transparent;
  margin-bottom: -2px; font-family: inherit; white-space: nowrap;
  transition: all .15s;
}
.rt-tab:hover { color: #0D9488; }
.rt-tab-active { color: #0D9488 !important; border-bottom-color: #0D9488 !important; }
.rt-tabpanel { display: none; padding: 14px 0; }
.rt-tabpanel.rt-tab-active { display: block; }

.rt-pdp-details-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 30px;
}
.rt-pdp-detail {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid #F1F5F9;
}
.rt-pdp-detail-label { color: #64748B; font-weight: 600; font-size: .92rem; }
.rt-pdp-detail-value { color: #0F172A; font-weight: 600; font-size: .92rem; text-align: right; }
.rt-pdp-terms {
  margin-top: 18px; padding: 14px 18px; background: #F8FAFC; border-radius: 10px;
  color: #475569; font-size: .9rem; line-height: 1.55; white-space: pre-wrap;
}

/* ── Checkout ── */
.rt-checkout-main { padding: 28px 0 60px; min-height: 60vh; }
.rt-checkout { max-width: 1100px; margin: 0 auto; }
.rt-checkout-header { text-align: center; margin-bottom: 24px; }
.rt-checkout-header h1 {
  font-family: 'Inter', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800; letter-spacing: -.02em; color: #0F172A;
}
.rt-checkout-header p { color: #64748B; margin-top: 6px; }

.rt-alert {
  padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600;
}
.rt-alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }

.rt-checkout-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start;
}
@media (max-width: 920px) { .rt-checkout-grid { grid-template-columns: 1fr; } }

.rt-checkout-form { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 24px; }
.rt-form-section + .rt-form-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid #F1F5F9; }
.rt-form-title {
  font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: #0F172A; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.rt-form-title i { color: #14B8A6; }
.rt-form-group { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rt-form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.rt-form-row .rt-form-group { min-width: 140px; }
.rt-form-label { font-weight: 600; color: #334155; font-size: .88rem; }
.rt-form-input {
  width: 100%; padding: 10px 14px; border: 1.5px solid #E2E8F0; border-radius: 10px;
  font-size: .95rem; color: #0F172A; background: #fff;
  font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.rt-form-input:focus {
  outline: none; border-color: #14B8A6; box-shadow: 0 0 0 3px rgba(20,184,166,.12);
}
textarea.rt-form-input { resize: vertical; min-height: 70px; }

.rt-radio-group { display: flex; flex-direction: column; gap: 8px; }
.rt-radio {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1.5px solid #E2E8F0; border-radius: 10px;
  cursor: pointer; font-weight: 600; color: #334155; font-size: .95rem;
  transition: all .12s;
}
.rt-radio:hover { border-color: #14B8A6; }
.rt-radio input[type="radio"] { accent-color: #14B8A6; }
.rt-radio:has(input:checked) { background: #F0FDFA; border-color: #14B8A6; color: #0D9488; }

.btn-checkout-submit {
  width: 100%; margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 1.02rem; padding: 16px;
}
.rt-checkout-note { color: #94A3B8; font-size: .82rem; margin-top: 12px; text-align: center; }

.rt-checkout-summary {
  position: sticky; top: 90px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 22px;
}
.rt-summary-title {
  font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: #0F172A; margin-bottom: 14px;
}
.rt-summary-resto {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #F1F5F9; margin-bottom: 12px;
}
.rt-summary-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-weight: 700; }
.rt-summary-logo-letter { background: #14B8A6; }
.rt-summary-resto-name { font-weight: 700; color: #0F172A; font-size: .95rem; }
.rt-summary-resto-link { color: #14B8A6; font-size: .8rem; font-weight: 600; }

.rt-summary-items { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.rt-summary-item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid #F8FAFC;
}
.rt-summary-item-name { font-weight: 600; color: #0F172A; font-size: .9rem; }
.rt-summary-item-qty { color: #94A3B8; font-size: .8rem; margin-top: 2px; }
.rt-summary-item-total { font-weight: 700; color: #0F172A; font-size: .92rem; white-space: nowrap; }

.rt-summary-totals { margin-top: 14px; padding-top: 14px; border-top: 2px solid #F1F5F9; }
.rt-summary-line {
  display: flex; justify-content: space-between; padding: 5px 0;
  font-size: .92rem; color: #0F172A;
}
.rt-summary-muted { color: #94A3B8; font-size: .82rem; }
.rt-summary-muted span { color: #94A3B8; }
.rt-summary-final { padding-top: 10px; border-top: 1px solid #F1F5F9; font-size: 1.08rem; font-weight: 700; }
.rt-summary-final strong { font-size: 1.15rem; }

/* ── Confirmation ── */
.rt-confirm-main { padding: 28px 0 60px; min-height: 60vh; }
.rt-confirm { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #E2E8F0; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px -20px rgba(15,23,42,.18); }
.rt-confirm-success { padding: 40px 30px; color: #fff; text-align: center; background: linear-gradient(135deg, #14B8A6, #0D9488); }
.rt-confirm-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.2); margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 2rem;
  border: 3px solid rgba(255,255,255,.25);
}
.rt-confirm-success h1 { font-family: 'Inter', sans-serif; font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -.02em; }
.rt-confirm-success p { opacity: .92; }
.rt-confirm-body { padding: 28px 30px 32px; }
.rt-confirm-intro { color: #334155; font-size: 1rem; line-height: 1.55; margin-bottom: 22px; }
.rt-confirm-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.rt-confirm-card { background: #F8FAFC; border-radius: 12px; padding: 16px; }
.rt-confirm-card h4 { font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.rt-confirm-card p { color: #475569; font-size: .92rem; line-height: 1.5; margin: 4px 0; }
.rt-confirm-notes { margin-top: 18px; padding: 14px; background: #FFFBEB; border-left: 3px solid #FBBF24; color: #78350F; font-size: .92rem; border-radius: 0 8px 8px 0; }
.rt-confirm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.rt-confirm-actions a { flex: 1; min-width: 200px; }

/* Mobile fix nav */
@media (max-width: 720px) {
  .rt-nav-extlink { display: none; }
  .rt-cart-toggle span:not(.rt-cart-badge) { display: none; }
}
