/* ============================================================================
   SOL BAKERY CAFÉ — Mobile menu
   ============================================================================ */

:root {
  --orange-dark: #C75D2C;
  --orange-bright: #E89B2C;
  --cream: #FBF5E8;
  --cream-dark: #F0E6D2;
  --dark-brown: #3A2618;
  --white: #FFFFFF;
  --gray: #6B6B6B;
  --gray-light: #DDDDDD;
  --soft-white: #FCF5E8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--dark-brown);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------- TOP BAR ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 16px;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}

.brand {
  display: flex;
  align-items: baseline;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}

.brand-s, .brand-l { color: var(--orange-dark); }
.brand-o { color: var(--orange-bright); position: relative; }

.brand-o::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 8px;
  background: radial-gradient(circle at center top, var(--orange-bright) 30%, transparent 60%);
}

.brand-sub {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange-dark);
}

.lang-toggle {
  background: var(--orange-dark);
  color: var(--white);
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
}

/* ---------- CATEGORY PILLS NAV ---------- */
.cat-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(58, 38, 24, 0.05);
}

.cat-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px;
  scrollbar-width: none;
}

.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  background: var(--white);
  color: var(--dark-brown);
  border: 1px solid var(--cream-dark);
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-pill:hover, .cat-pill:active {
  background: var(--orange-dark);
  color: var(--white);
  border-color: var(--orange-dark);
}

/* ---------- MENU CONTAINER ---------- */
.menu {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* ---------- CATEGORY ---------- */
.category {
  margin-top: 24px;
}

.cat-hero {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 0 16px;
  border-radius: 12px;
  overflow: hidden;
}

.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(58, 38, 24, 0.1) 0%, rgba(58, 38, 24, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 20px;
  color: var(--white);
}

.cat-header-simple {
  padding: 18px 24px 8px;
}

.cat-title-es {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cat-hero-overlay .cat-title-es {
  color: var(--white);
}

.cat-header-simple .cat-title-es {
  color: var(--orange-dark);
}

.cat-title-en {
  font-size: 13px;
  font-style: italic;
  opacity: 0.85;
}

.cat-hero-overlay .cat-title-en {
  color: var(--orange-bright);
}

.cat-header-simple .cat-title-en {
  color: var(--gray);
}

/* ---------- ITEMS ---------- */
.items {
  list-style: none;
  padding: 10px 16px 0;
}

.item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 4px;
  border-bottom: 1px dashed var(--cream-dark);
  gap: 16px;
}

.item:last-child { border-bottom: none; }

.item-left {
  flex: 1;
  min-width: 0;
}

.item-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-brown);
  margin-bottom: 2px;
}

.item-desc {
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
  margin-top: 2px;
}

.item-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--orange-dark);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.item.sold-out .item-name,
.item.sold-out .item-price {
  text-decoration: line-through;
  opacity: 0.5;
}

.sold-out-badge {
  display: inline-block;
  background: var(--dark-brown);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  text-transform: uppercase;
}

.item-custom {
  background: linear-gradient(to right, rgba(232, 155, 44, 0.06), transparent);
  border-left: 3px solid var(--orange-bright);
  padding-left: 8px;
  border-radius: 0 4px 4px 0;
}

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 40px;
  padding: 30px 20px;
  text-align: center;
  background: var(--dark-brown);
  color: var(--soft-white);
  font-size: 14px;
}

.footer-address {
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-ig {
  display: inline-block;
  color: var(--orange-bright);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid var(--orange-bright);
  border-radius: 20px;
  margin-bottom: 16px;
}

.footer-note {
  font-size: 11px;
  font-style: italic;
  opacity: 0.7;
  margin-top: 16px;
}

/* ---------- LARGER SCREENS (tablets, desktops) ---------- */
@media (min-width: 720px) {
  .cat-hero { height: 220px; }
  .cat-title-es { font-size: 36px; }
  .item-name { font-size: 17px; }
  .item-price { font-size: 20px; }
}
