:root {
  --brand-primary: #E91E63;   /* Pink from logo */
  --brand-dark:    #000000;   /* Black */
  --brand-light:   #FFFFFF;   /* White */
  --brand-accent:  #FFD9E4;   /* Optional light pink */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
  background: #fff;
}

/* Links & buttons */
a { color: var(--brand-primary); text-decoration: none; }
.btn {
  display: inline-block;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.btn.ghost {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
}
.btn.dark { background: var(--brand-dark); }

/* Layout helpers */
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 99;
}
.nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.brand img { height: 40px; width: auto; }
.brand-name { font-weight: 900; letter-spacing: .3px; }
.menu { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.menu a { padding: .5rem .6rem; border-radius: .6rem; font-weight: 600; color: #222; }
.menu .cta { background: var(--brand-primary); color: #fff; }

/* Hero */
.hero {
  padding: 28px 0;
  background: linear-gradient(180deg, #fff, #fafafa);
}
.hero .wrap {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.hero h1 { font-size: 2rem; margin: .2rem 0; }
.hero p { color: #555; margin: 0 0 8px 0; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Sections */
.section { padding: 28px 0; }
.grid { display: grid; gap: 14px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Cards */
.card {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.card .pad { padding: 14px; }
.badge {
  display: inline-block;
  background: #f3f3f3;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .8rem;
  margin-right: .35rem;
}
.price { font-weight: 800; }

/* Footer */
.footer {
  border-top: 1px solid #eee;
  padding: 22px 0;
  color: #555;
  margin-top: 24px;
}

/* Forms */
.form label { display: block; font-weight: 700; margin: .5rem 0 .25rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: .75rem;
  border: 1px solid #ddd;
  border-radius: .6rem;
}

/* Misc */
.small { font-size: .9rem; color: #666; }
.rel { position: relative; }
.soldout {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: #000;
  color: #fff;
  padding: .2rem .5rem;
  border-radius: .4rem;
  font-size: .75rem;
}
.sticky {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #eee;
  padding: .6rem .5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile tweaks */
@media(max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
/* Calculator polish */
#calcForm .grid > div .small { opacity:.7 }
#calcOut .card h3 { margin-top: 0; }

/* keep logo small and responsive */
header img.logo {
  max-height: 60px;   /* adjust as needed */
  width: auto;
  height: auto;
}
/* Social feed layout */
.social-grid {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: 1fr;          /* mobile: single column */
}
@media (min-width: 900px) {
  .social-grid { grid-template-columns: 1fr 1fr; }  /* desktop: 2 columns */
}

/* Facebook plugin should scale to container width */
.fb-wrap { width:100%; max-width:600px; margin:0 auto; }
.fb-page { width:100% !important; } /* desktop/tablet plugin fills container */

/* Show SDK embed on >=481px, iframe on <=480px */
.fb-desktop { display:block; }
.fb-mobile  { display:none; }

@media (max-width: 480px){
  .fb-desktop { display:none; }
  .fb-mobile  { display:block; }
  .fb-wrap    { max-width:100%; }
}
/* Simple IG button for now */
.ig-button {
  display: inline-block;
  padding: .8rem 1rem;
  border-radius: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
}
.ig-note { margin-top: 8px; opacity: .7; }

img.logo { max-height: 56px; height: auto; width: auto; }
@media (max-width: 480px){ img.logo { max-height: 48px; } }

.menu .lang-toggle{
  border: 1px solid #ddd;
  background: #fff;
  padding: .35rem .55rem;
  border-radius: .5rem;
  font-weight: 700;
  cursor: pointer;
}
.menu .lang-toggle:hover {
  background: #f9f9f9;
}
.hero-img {
  border-radius: 18px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-bg {
  position: relative;
  min-height: 35vh;
  display: flex;
  align-items: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
}
.hero-text { position: relative; max-width: 640px; }

/* Floating chat button */
.chat-fab {
  position: fixed; right: 16px; bottom: 16px;
  width: 54px; height: 54px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--brand-primary); color:#fff; font-size: 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  cursor: pointer; z-index: 1000;
}
.chat-fab:focus { outline: 3px solid #ffd6e6; }

/* Chat panel */
.chat-panel {
  position: fixed; right: 16px; bottom: 82px; width: 320px;
  max-width: calc(100% - 32px);
  background:#fff; border:1px solid #eee; border-radius: 14px;
  overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,.15);
  transform: translateY(12px); opacity:0; pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  z-index:1000;
}
.chat-panel.open { opacity:1; transform: translateY(0); pointer-events:auto; }

.chat-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px; background:#fafafa; border-bottom:1px solid #eee;
}
.chat-close { background:transparent; border:none; font-size:22px; cursor:pointer; }

.chat-body {
  padding:12px; display:grid; gap:8px;
}
.chat-body input, .chat-body textarea {
  width:100%; padding:.65rem; border:1px solid #ddd; border-radius:.6rem;
}
.chat-body button {
  width:100%; padding:.75rem; border:none; border-radius:.6rem;
  background:var(--brand-primary); color:#fff; font-weight:700; cursor:pointer;
}
.chat-body button:disabled { background:#ccc; cursor:not-allowed; }
.chat-body .fallback-link a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
}
/* Placeholder ambassador card */
.amb-card.placeholder {
  background: #fafafa;
  border: 2px dashed #ddd;
  text-align: center;
}
.amb-card.placeholder .amb-photo {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #bbb;
}
.amb-card.placeholder .amb-name {
  color: #888;
}
.amb-badge {
  display: inline-block;
  background: #eee;
  color: #555;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .5rem;
  border-radius: .4rem;
  margin-bottom: 8px;
}
/* Ambassadors grid – responsive columns */
.amb-grid{
  display:grid; gap:14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

/* Card + photo frame */
.amb-card{
  border:1px solid #eee; border-radius:14px; overflow:hidden; background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.03);
  display:flex; flex-direction:column;
}

.amb-photo{
  aspect-ratio: 4 / 5;     /* force portrait box */
  background:#f3f3f3;
  overflow:hidden;
}

.amb-photo img{
  width:100%;
  height:100%;
  object-fit:cover;         /* crop to frame */
  display:block;            /* remove baseline gap */
}

/* Content */
.amb-pad{ padding:12px; }
.amb-name{ font-weight:800; margin:0 0 4px 0; }
.amb-meta{ font-size:.9rem; color:#666; margin:0 0 8px 0; }
.amb-bio{ font-size:.95rem; color:#333; margin:0 0 10px 0; }

/* Optional: cap any single card’s width on ultra-wide monitors */
@media (min-width: 1280px){
  .amb-grid { grid-auto-rows: 1fr; }
  .amb-card { max-width: 420px; margin: 0 auto; }
}
.review-card .pad { display:flex; gap:12px; }
.reviewer-photo {
  width:64px; height:64px; border-radius:50%; background:#f3f3f3; overflow:hidden;
  flex-shrink:0;
}
.reviewer-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.review-content { flex:1; }
.review-name { font-weight:800; margin:0 0 4px 0; }
.review-date { font-size:.85rem; color:#666; margin:0 0 8px 0; }
.review-text { font-size:.95rem; color:#333; }
.menu a[href="menu.html"] {
  display: none !important;
}
#menuCtaHome .btn, #menuCtaOrder .btn {
  font-weight: 800;
}
/* Featured ambassador styles */
/* Featured base */
/* --- Featured hover lift --- */
.card.featured {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* --- Default crown (fallback) --- */
.card.featured::before {
  content: "👑";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 1.5rem;
  z-index: 2;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

/* --- Theme-matched crowns --- */
.card.featured.theme-gold::before {
  color: #f9b500;        /* gold crown for David */
}
.card.featured.theme-pink::before {
  color: #E91E63;        /* pink crown for Maci */
}

/* Optional: adjust placement for mobile */
@media(max-width: 600px) {
  .card.featured::before {
    font-size: 1.3rem;
    top: 6px;
    right: 8px;
  }
}
/* --- Theme accents for featured ambassadors --- */

/* Maci – pink theme */
.card.featured.theme-pink {
  border: 2px solid #E91E63;
  background: linear-gradient(145deg, #fff5f9, #ffe3ee);
}
.card.featured.theme-pink h3 {
  color: #E91E63;
  border-bottom: 2px solid #E91E63;
  display: inline-block;
  padding-bottom: 2px;
}

/* David – gold theme */
.card.featured.theme-gold {
  border: 2px solid #f9b500;
  background: linear-gradient(145deg, #fff8e1, #fff3b0);
}
.card.featured.theme-gold h3 {
  color: #c79500;
  border-bottom: 2px solid #f9b500;
  display: inline-block;
  padding-bottom: 2px;
}
/* Ensure theme styles win on the ambassadors grid */
#athletes .card.featured.theme-gold {
  border: 2px solid #f9b500 !important;
  background: linear-gradient(145deg, #fff8e1, #fff3b0) !important;
  box-shadow: 0 0 0 2px rgba(249,181,0,.25) inset, 0 8px 24px rgba(0,0,0,.12);
}
#athletes .card.featured.theme-gold h3 {
  color: #c79500 !important;
  border-bottom: 2px solid #f9b500 !important;
  display: inline-block;
  padding-bottom: 2px;
}

#athletes .card.featured.theme-pink {
  border: 2px solid #E91E63 !important;
  background: linear-gradient(145deg, #fff5f9, #ffe3ee) !important;
  box-shadow: 0 0 0 2px rgba(233,30,99,.2) inset, 0 8px 24px rgba(0,0,0,.12);
}
#athletes .card.featured.theme-pink h3 {
  color: #E91E63 !important;
  border-bottom: 2px solid #E91E63 !important;
  display: inline-block;
  padding-bottom: 2px;
}
/* Apply hover + crown to both layouts */
.card.featured,
.amb-card.featured {
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card.featured:hover,
.amb-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* Crown */
.card.featured::before,
.amb-card.featured::before {
  content: "👑";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 1.5rem;
  z-index: 2;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,.3));
}

/* Theme crowns */
.card.featured.theme-gold::before,
.amb-card.featured.theme-gold::before { color: #f9b500; }
.card.featured.theme-pink::before,
.amb-card.featured.theme-pink::before { color: #E91E63; }

/* Themed accents – both layouts */
.card.featured.theme-gold,
.amb-card.featured.theme-gold {
  border: 2px solid #f9b500 !important;
  background: linear-gradient(145deg, #fff8e1, #fff3b0) !important;
  box-shadow: 0 0 0 2px rgba(249,181,0,.25) inset, 0 8px 24px rgba(0,0,0,.12);
}
.card.featured.theme-gold h3,
.amb-card.featured.theme-gold .amb-name {
  color: #c79500 !important;
  border-bottom: 2px solid #f9b500 !important;
  display: inline-block;
  padding-bottom: 2px;
}

.card.featured.theme-pink,
.amb-card.featured.theme-pink {
  border: 2px solid #E91E63 !important;
  background: linear-gradient(145deg, #fff5f9, #ffe3ee) !important;
  box-shadow: 0 0 0 2px rgba(233,30,99,.2) inset, 0 8px 24px rgba(0,0,0,.12);
}
.card.featured.theme-pink h3,
.amb-card.featured.theme-pink .amb-name {
  color: #E91E63 !important;
  border-bottom: 2px solid #E91E63 !important;
  display: inline-block;
  padding-bottom: 2px;
}

/* Mobile tweak */
@media (max-width: 600px){
  .card.featured::before,
  .amb-card.featured::before { font-size: 1.3rem; top: 6px; right: 8px; }
}
/* Hover + crown for amb layout */
.amb-card.featured {
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.amb-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.amb-card.featured::before {
  content: "👑";
  position: absolute;
  top: 8px; right: 10px;
  font-size: 1.5rem;
  z-index: 2;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,.3));
}

/* Theme crowns */
.amb-card.featured.theme-gold::before { color: #f9b500; }
.amb-card.featured.theme-pink::before { color: #E91E63; }

/* Theme accents */
.amb-card.featured.theme-gold {
  border: 2px solid #f9b500 !important;
  background: linear-gradient(145deg, #fff8e1, #fff3b0) !important;
  box-shadow: 0 0 0 2px rgba(249,181,0,.25) inset, 0 8px 24px rgba(0,0,0,.12);
}
.amb-card.featured.theme-gold .amb-name {
  color: #c79500 !important;
  border-bottom: 2px solid #f9b500 !important;
  display: inline-block; padding-bottom: 2px;
}

.amb-card.featured.theme-pink {
  border: 2px solid #E91E63 !important;
  background: linear-gradient(145deg, #fff5f9, #ffe3ee) !important;
  box-shadow: 0 0 0 2px rgba(233,30,99,.2) inset, 0 8px 24px rgba(0,0,0,.12);
}
.amb-card.featured.theme-pink .amb-name {
  color: #E91E63 !important;
  border-bottom: 2px solid #E91E63 !important;
  display: inline-block; padding-bottom: 2px;
}

/* Mobile crown size tweak */
@media (max-width: 600px){
  .amb-card.featured::before { font-size: 1.3rem; top: 6px; right: 8px; }
}
