/* ============================================================
   Chef & Sweets — Premium Indian Restaurant, Almaty
   Global stylesheet · Light & Dark themes via CSS variables
   ============================================================ */

:root {
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  /* Light theme (default) */
  --bg: #faf6f0;
  --bg-alt: #ffffff;
  --bg-soft: #f3ece2;
  --card: #ffffff;
  --card-border: rgba(30, 20, 10, 0.08);
  --text: #241a10;
  --text-soft: #6b5d4d;
  --heading: #1d130a;
  --accent: #c97b1e;
  --accent-strong: #a85f0d;
  --accent-soft: rgba(201, 123, 30, 0.12);
  --gold: #d9a441;
  --green: #2e7d4f;
  --red: #c0392b;
  --nav-bg: rgba(250, 246, 240, 0.88);
  --shadow: 0 10px 30px rgba(40, 25, 8, 0.09);
  --shadow-lg: 0 24px 60px rgba(40, 25, 8, 0.16);
  --hero-overlay: linear-gradient(180deg, rgba(12, 8, 4, 0.55) 0%, rgba(12, 8, 4, 0.35) 45%, rgba(12, 8, 4, 0.75) 100%);
  --whatsapp: #25d366;
  --input-bg: #ffffff;
  --divider: rgba(30, 20, 10, 0.1);
}

[data-theme="dark"] {
  --bg: #100c08;
  --bg-alt: #17110b;
  --bg-soft: #1d1610;
  --card: #1c150e;
  --card-border: rgba(255, 220, 170, 0.09);
  --text: #ece2d3;
  --text-soft: #a3937d;
  --heading: #f6edde;
  --accent: #e8a13c;
  --accent-strong: #f2b558;
  --accent-soft: rgba(232, 161, 60, 0.14);
  --gold: #d9a441;
  --green: #4caf7d;
  --red: #e0604f;
  --nav-bg: rgba(16, 12, 8, 0.88);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --hero-overlay: linear-gradient(180deg, rgba(8, 5, 2, 0.62) 0%, rgba(8, 5, 2, 0.42) 45%, rgba(8, 5, 2, 0.85) 100%);
  --input-bg: #241c13;
  --divider: rgba(255, 220, 170, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.2; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- SVG icons ---------- */
.ico { display: inline-flex; align-items: center; justify-content: center; }
.ico svg { width: 20px; height: 20px; }
.ico-xs svg { width: 14px; height: 14px; }
.ico-big svg { width: 54px; height: 54px; color: var(--accent); opacity: 0.5; }
.btn .ico svg { width: 21px; height: 21px; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: linear-gradient(90deg, #a85f0d, #c97b1e, #a85f0d);
  color: #fff; overflow: hidden; white-space: nowrap;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.4px;
  padding: 7px 0; position: relative;
}
.announce-track { display: inline-flex; animation: marquee 40s linear infinite; }
.announce-track:hover { animation-play-state: paused; }
.announce-seq { display: inline-flex; align-items: center; }
.announce-item { padding: 0 18px; }
.announce-dot { opacity: 0.6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  background: var(--nav-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.35s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 8px 0;
}
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  color: var(--text-soft); transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.main-nav a.active { color: var(--accent-strong); background: var(--accent-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--card-border); background: var(--card);
  color: var(--text); font-size: 1.1rem;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  position: relative;
}
.icon-btn:hover { transform: translateY(-2px); color: var(--accent); }

.cart-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800;
  display: none; align-items: center; justify-content: center;
}
.cart-count.show { display: inline-flex; }

/* Language dropdown */
.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--card-border); background: var(--card);
  color: var(--text); font-weight: 700; font-size: 0.85rem;
}
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  min-width: 150px; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 11px 16px; border: 0; background: none;
  color: var(--text); font-weight: 600; font-size: 0.92rem;
}
.lang-menu button:hover { background: var(--accent-soft); }
.lang-menu button.active { color: var(--accent-strong); background: var(--accent-soft); }

/* Mobile nav — full-screen overlay (separate element on <body>, outside the
   blurred header, because backdrop-filter breaks position:fixed descendants) */
.burger { display: none; }
body.nav-open { overflow: hidden; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 960;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--accent-soft), transparent 60%),
    var(--bg);
  opacity: 0; visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: scale(1); }

.mobile-menu::before {
  content: 'Chef & Sweets';
  font-family: var(--font-display); font-style: italic;
  color: var(--accent); font-size: 1rem; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 18px; opacity: 0.85;
}

.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  padding: 12px 30px; border-radius: 999px; color: var(--heading);
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.2s;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-of-type(1) { transition-delay: 0.08s; }
.mobile-menu.open a:nth-of-type(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-of-type(3) { transition-delay: 0.22s; }
.mobile-menu.open a:nth-of-type(4) { transition-delay: 0.29s; }
.mobile-menu.open a:nth-of-type(5) { transition-delay: 0.36s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent-strong); }

.nav-close {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--card-border); background: var(--card); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, color 0.2s;
}
.nav-close:hover { transform: rotate(90deg); color: var(--accent); }

/* social icons inside the mobile menu */
.mm-social {
  display: flex; gap: 14px; margin-top: 30px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.45s ease 0.42s, transform 0.45s ease 0.42s;
}
.mobile-menu.open .mm-social { opacity: 1; transform: translateY(0); }
.mm-social a {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--card-border); background: var(--card); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s, color 0.2s, border-color 0.2s;
}
.mm-social a:hover { transform: translateY(-3px); color: var(--accent); border-color: var(--accent); }
.mm-social .ico svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .brand img { height: 46px; }
  .mobile-menu a { font-size: 1.7rem; padding: 10px 26px; }
}

/* ---------- Hero (cinematic slideshow) ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; color: #fff;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.hero-slide.active {
  opacity: 1;
  animation: kenburns 7s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.14); }
}
.hero::after { content: ''; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-content { position: relative; z-index: 2; padding: 120px 20px 60px; max-width: 860px; }
.hero-eyebrow {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: #f5d9a8; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem); color: #fff;
  margin-bottom: 18px; text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero h1 em { font-style: italic; color: #f2b558; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.88); max-width: 640px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.3px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(135deg, #e8a13c, #c97b1e); color: #fff; box-shadow: 0 10px 30px rgba(201, 123, 30, 0.4); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(201, 123, 30, 0.55); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.btn-outline { background: transparent; color: var(--accent-strong); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-whatsapp { background: linear-gradient(135deg, #2ee477, #1aa851); color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.8); font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-eyebrow {
  color: var(--accent); font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; font-size: 0.8rem; margin-bottom: 12px; display: block;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.section-head p { color: var(--text-soft); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px;
}
.cat-card {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow); cursor: pointer;
  transform: translateZ(0);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 6, 2, 0.82));
}
.cat-card span {
  position: absolute; bottom: 14px; left: 16px; right: 16px; z-index: 2;
  color: #fff; font-weight: 800; font-size: 1.02rem; line-height: 1.3;
  font-family: var(--font-display);
}

/* ---------- Menu item cards ---------- */
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.dish-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dish-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dish-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dish-card:hover .dish-img img { transform: scale(1.06); }
.dish-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badge {
  padding: 4px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 800;
  color: #fff; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge.veg { background: var(--green); }
.badge.spicy { background: var(--red); }
.dish-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.dish-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.dish-body p { color: var(--text-soft); font-size: 0.9rem; flex: 1; margin-bottom: 14px; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dish-price { font-weight: 800; font-size: 1.15rem; color: var(--accent-strong); white-space: nowrap; }

.qty-controls { display: inline-flex; align-items: center; gap: 4px; }
.qty-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: 1.15rem; font-weight: 800; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.qty-btn:hover { transform: scale(1.1); }
.qty-btn.add-btn { background: linear-gradient(135deg, #e8a13c, #c97b1e); color: #fff; box-shadow: 0 6px 16px rgba(201,123,30,0.35); }
.qty-num { min-width: 26px; text-align: center; font-weight: 800; }

/* ---------- Menu page ---------- */
.page-hero {
  position: relative; padding: 190px 0 80px; text-align: center;
  background-size: cover; background-position: center; color: #fff;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: var(--hero-overlay); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

.menu-toolbar {
  position: sticky; top: var(--header-h, 107px); z-index: 500;
  background: var(--nav-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  padding: 14px 0;
}
.menu-toolbar-inner { display: flex; flex-direction: column; gap: 12px; }
.search-wrap { position: relative; max-width: 440px; }
.search-wrap input {
  width: 100%; padding: 12px 18px 12px 44px; border-radius: 999px;
  border: 1px solid var(--card-border); background: var(--input-bg);
  color: var(--text); font-size: 0.95rem; font-family: inherit; outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.search-wrap input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-wrap .search-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-soft); }

.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.cat-tab {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--card-border);
  background: var(--card); color: var(--text-soft); font-weight: 700; font-size: 0.88rem;
  white-space: nowrap; transition: all 0.2s;
}
.cat-tab img { flex: none; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cat-tab:hover { color: var(--accent); border-color: var(--accent); }
.cat-tab.active { background: linear-gradient(135deg, #e8a13c, #c97b1e); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(201,123,30,0.35); }

.menu-section-title {
  display: flex; align-items: center; gap: 16px; margin: 46px 0 24px;
}
.menu-section-title h2 { font-size: 1.7rem; white-space: nowrap; }
.menu-section-title::after { content: ''; height: 1px; flex: 1; background: var(--divider); }

.no-results { text-align: center; color: var(--text-soft); padding: 60px 0; font-size: 1.05rem; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(8, 5, 2, 0.55); z-index: 990;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 995;
  width: min(430px, 94vw); background: var(--bg-alt);
  border-left: 1px solid var(--card-border); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--divider);
}
.cart-head h3 { font-size: 1.3rem; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { text-align: center; color: var(--text-soft); padding: 70px 10px; }
.cart-empty .big { font-size: 3rem; margin-bottom: 12px; }
.cart-item {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--divider);
}
.cart-item img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-family: var(--font-body); font-size: 0.93rem; font-weight: 700; margin-bottom: 3px; }
.cart-item-info .ci-price { color: var(--accent-strong); font-weight: 800; font-size: 0.9rem; }
.cart-foot { padding: 18px 22px 22px; border-top: 1px solid var(--divider); background: var(--bg-alt); }
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 800; font-size: 1.15rem; margin-bottom: 14px;
}
.cart-total-row .amount { color: var(--accent-strong); font-size: 1.35rem; }
.cart-foot .btn { width: 100%; }
.cart-clear {
  width: 100%; margin-top: 10px; background: none; border: 0;
  color: var(--text-soft); font-weight: 600; font-size: 0.88rem; text-decoration: underline;
}
.cart-clear:hover { color: var(--red); }

/* ---------- Checkout modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(8, 5, 2, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  width: min(520px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--bg-alt); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 30px; transform: translateY(20px) scale(0.97); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: none; }
.modal h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal .modal-sub { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--card-border); background: var(--input-bg);
  color: var(--text); font-family: inherit; font-size: 0.95rem; outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.radio-row { display: flex; gap: 10px; }
.radio-pill { flex: 1; }
.radio-pill input { display: none; }
.radio-pill span {
  display: block; text-align: center; padding: 12px; border-radius: 14px;
  border: 1.5px solid var(--card-border); font-weight: 700; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s;
}
.radio-pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
.order-summary {
  background: var(--bg-soft); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px;
  font-size: 0.92rem;
}
.order-summary .os-row { display: flex; justify-content: space-between; padding: 3px 0; }
.order-summary .os-total { border-top: 1px solid var(--divider); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 1.05rem; }
.modal-close {
  position: sticky; top: 0; float: right; margin: -12px -12px 0 0;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--bg-soft); color: var(--text); font-size: 1.1rem;
}

/* ---------- Home extras ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 20px;
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card .fc-img {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%;
  overflow: hidden; border: 3px solid var(--accent-soft);
  box-shadow: 0 8px 22px rgba(201, 123, 30, 0.25);
}
.feature-card .fc-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-soft); font-size: 0.92rem; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-split .imgs { position: relative; }
.about-split .imgs .img-main { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 82%; }
.about-split .imgs .img-float {
  position: absolute; bottom: -30px; right: 0; width: 52%;
  border-radius: 20px; border: 6px solid var(--bg); box-shadow: var(--shadow-lg);
  aspect-ratio: 1; object-fit: cover;
}
.about-split h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.about-split p { color: var(--text-soft); margin-bottom: 14px; }
.stats-row { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }
.stat b { display: block; font-size: 2rem; font-family: var(--font-display); color: var(--accent-strong); }
.stat span { color: var(--text-soft); font-size: 0.88rem; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } }

.cta-band {
  position: relative; border-radius: 28px; overflow: hidden; text-align: center;
  padding: 80px 30px; color: #fff; background-size: cover; background-position: center;
}
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20, 10, 2, 0.8), rgba(80, 40, 5, 0.65)); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 4 240px; column-gap: 16px; }
.gallery-grid a { display: block; margin-bottom: 16px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.gallery-grid img { width: 100%; transition: transform 0.4s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.lightbox {
  position: fixed; inset: 0; z-index: 1100; background: rgba(5, 3, 1, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,0.7); }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: #fff; font-size: 2rem; }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 1.4rem;
}
.lightbox .lb-prev { left: 22px; } .lightbox .lb-next { right: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 22px;
  padding: 30px; box-shadow: var(--shadow);
}
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--divider); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .cl-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-line h4 { font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 2px; }
.contact-line p, .contact-line a { color: var(--text-soft); font-size: 0.92rem; }
.contact-line a:hover { color: var(--accent); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 420px; border-radius: 22px; box-shadow: var(--shadow); filter: saturate(0.9); }
[data-theme="dark"] .map-frame { filter: invert(0.88) hue-rotate(180deg) saturate(0.7); }

.delivery-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.delivery-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  border: 1.5px solid var(--card-border); background: var(--card); transition: all 0.2s;
}
.delivery-links a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer {
  background: #14100a; color: #cbbfae; margin-top: 90px;
  border-top: 3px solid var(--accent);
}
[data-theme="dark"] .site-footer { background: #0b0805; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding: 60px 0 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #f6edde; font-size: 1.05rem; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { display: block; color: #a89a86; font-size: 0.92rem; padding: 4px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand img { height: 60px; margin-bottom: 14px; border-radius: 12px; }
.footer-brand p { max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; padding: 0;
  border: 1px solid rgba(255, 220, 170, 0.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: #cbbfae; transition: all 0.2s;
}
.footer-social .ico svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 220, 170, 0.12);
  padding: 20px 0; text-align: center; font-size: 0.85rem; color: #8a7c68;
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 850;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(26, 168, 81, 0.5);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float .ico svg { width: 32px; height: 32px; }

/* Floating theme toggle — opposite side from WhatsApp */
.theme-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 850;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--card-border); background: var(--card); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.theme-float:hover { transform: scale(1.1); color: var(--accent); }
.theme-float .ico svg { width: 24px; height: 24px; }

/* Toast */
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 1200; background: var(--heading); color: var(--bg);
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  opacity: 0; visibility: hidden; transition: all 0.3s; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Utility */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
::selection { background: var(--accent); color: #fff; }
