/* Sakura Bites — sushi catalog, AED pricing, EN/AR bilingual */

:root {
  --bg: #fbf7f1;
  --bg-soft: #f3ece1;
  --ink: #1a1a1a;
  --ink-soft: #4d4842;
  --ink-mute: #8a8278;
  --accent: #b3322f;        /* sakura red */
  --accent-deep: #8b2522;
  --gold: #b8893a;
  --gold-soft: #d6b978;
  --line: #e7dfd1;
  --paper: #ffffff;
  --shadow: 0 12px 40px -18px rgba(26, 26, 26, 0.18);
  --serif: 'Cormorant Garamond', 'Noto Naskh Arabic', serif;
  --sans: 'Inter', 'Noto Naskh Arabic', sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: 'Noto Naskh Arabic', var(--sans); }
html[lang="ar"] .hero-title,
html[lang="ar"] .section-title,
html[lang="ar"] h2, html[lang="ar"] h3 { font-family: 'Noto Naskh Arabic', var(--serif); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

[data-lang="ar"] { direction: rtl; text-align: right; }
[dir="rtl"] .filter-row { flex-direction: row-reverse; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 18px; font-weight: 700;
  letter-spacing: -0.5px;
}
.brand-text { font-size: 20px; color: var(--ink); }
.primary-nav { display: flex; gap: 28px; }
.primary-nav a { font-size: 14px; color: var(--ink-soft); font-weight: 500; transition: color 0.15s; }
.primary-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; color: var(--ink-soft); font-weight: 500;
  transition: all 0.15s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.cart-trigger {
  position: relative; background: transparent; border: 1px solid var(--line);
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; color: var(--ink);
  transition: all 0.15s;
}
.cart-trigger:hover { border-color: var(--accent); color: var(--accent); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; border-radius: 999px; padding: 0 5px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
[dir="rtl"] .cart-badge { left: -4px; right: auto; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; min-height: 620px;
  display: flex; align-items: center;
  background: linear-gradient(180deg, #fbf7f1 0%, #f3ece1 100%);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(251, 247, 241, 0.95) 0%, rgba(251, 247, 241, 0.25) 60%, rgba(251, 247, 241, 0) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 700px; padding: 100px 24px 120px;
}
.hero-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  padding: 6px 14px; background: rgba(179, 50, 47, 0.08); border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.08; margin: 0 0 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.hero-subtitle { font-size: 17px; color: var(--ink-soft); max-width: 600px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--accent); font-weight: 600; }
.stat span { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.06em; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; background: var(--accent); color: #fff; border: none;
  border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--ink-mute); cursor: not-allowed; transform: none; }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 13px 26px; border: 1px solid var(--line); background: transparent;
  border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--ink);
  transition: all 0.15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-link {
  background: transparent; border: none; color: var(--ink-mute);
  font-size: 13px; padding: 8px 0; margin-top: 4px;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ===== Trust strip ===== */
.trust-strip { background: var(--ink); color: #fff; padding: 16px 0; }
.trust-row { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item { font-size: 13px; color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 8px; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); display: inline-block; }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px);
  margin: 0 0 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.section-sub { font-size: 16px; color: var(--ink-soft); margin: 0; }

/* ===== Catalog ===== */
.catalog { padding: 96px 0 64px; }
.filter-row {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-chip {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.product-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 50px -18px rgba(26, 26, 26, 0.3); }
.product-thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat {
  font-size: 11px; color: var(--gold); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
}
.product-name {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  margin: 0 0 6px; color: var(--ink); line-height: 1.25;
}
.product-desc { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.product-price small { font-size: 11px; color: var(--ink-mute); display: block; font-family: var(--sans); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.add-btn {
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: all 0.15s;
}
.add-btn:hover { background: var(--ink); color: var(--bg); }
.add-btn.is-added { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== How, About, Delivery, FAQ ===== */
.how { padding: 96px 0; background: var(--bg-soft); }
.how-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.how-steps li {
  background: var(--paper); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line);
}
.how-num {
  font-family: var(--serif); font-size: 32px; font-weight: 600;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.how-steps h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; color: var(--ink); }
.how-steps p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.about { padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-text p { color: var(--ink-soft); margin: 0 0 14px; }
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.delivery { padding: 96px 0; background: var(--bg-soft); }
.del-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.del-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: all 0.15s;
}
.del-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.del-card h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 8px; color: var(--accent); }
.del-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.faq { padding: 96px 0; }
.faq-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  cursor: pointer; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; margin-bottom: 36px; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand .brand-mark { background: var(--accent); }
.footer-brand strong { display: block; color: #fff; font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.footer-brand p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.62); max-width: 280px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 640px) { .footer-links { grid-template-columns: 1fr; gap: 24px; } }
.footer-links h4 { font-family: var(--serif); font-size: 16px; color: #fff; margin: 0 0 14px; font-weight: 600; }
.footer-links a, .footer-links span { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-bottom: 8px; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-meta {
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px; color: rgba(255, 255, 255, 0.55); display: flex; flex-direction: column; gap: 8px;
}

/* ===== Drawer ===== */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(26, 26, 26, 0.5);
  z-index: 100; backdrop-filter: blur(2px);
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px;
  background: var(--bg); z-index: 110; display: flex; flex-direction: column;
  box-shadow: -10px 0 50px -20px rgba(0, 0, 0, 0.4);
  transform: translateX(0); transition: transform 0.25s ease;
}
[dir="rtl"] .cart-drawer { right: auto; left: 0; }
.drawer-head {
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-family: var(--serif); font-size: 22px; margin: 0; color: var(--ink); }
.drawer-close {
  background: transparent; border: none; font-size: 28px; line-height: 1; color: var(--ink);
  padding: 4px 8px; border-radius: 8px; transition: background 0.15s;
}
.drawer-close:hover { background: var(--bg-soft); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-empty-state { text-align: center; padding: 40px 20px; color: var(--ink-mute); }
.drawer-empty-state p { font-size: 14px; margin: 6px 0; }
.drawer-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.drawer-item-info h4 { font-family: var(--serif); font-size: 16px; margin: 0 0 4px; color: var(--ink); font-weight: 600; }
.drawer-item-info .drawer-item-price { font-size: 13px; color: var(--ink-mute); }
.drawer-item-actions {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
}
.qty-btn {
  width: 24px; height: 24px; border: 1px solid var(--line); background: var(--paper);
  border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink); transition: all 0.15s;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-num { font-size: 13px; min-width: 20px; text-align: center; font-weight: 600; }
.drawer-item-remove {
  background: transparent; border: none; color: var(--ink-mute); font-size: 12px;
  text-decoration: underline; padding: 0; margin-left: auto;
}
[dir="rtl"] .drawer-item-remove { margin-left: 0; margin-right: auto; }
.drawer-item-remove:hover { color: var(--accent); }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.drawer-totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.drawer-totals span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.drawer-totals strong { font-family: var(--serif); font-size: 26px; color: var(--ink); font-weight: 600; }
.drawer-disclaimer { font-size: 11px; color: var(--ink-mute); margin: 0 0 14px; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.04em; }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(26, 26, 26, 0.6); z-index: 200; backdrop-filter: blur(3px); }
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 210; background: var(--bg); border-radius: var(--radius);
  width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto;
  padding: 36px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: none; font-size: 26px; line-height: 1; color: var(--ink);
  padding: 6px 10px; border-radius: 8px; transition: background 0.15s;
}
[dir="rtl"] .modal-close { right: auto; left: 12px; }
.modal-close:hover { background: var(--bg-soft); }
.modal h2 { font-family: var(--serif); font-size: 28px; margin: 0 0 8px; color: var(--ink); }
.modal-sub { font-size: 13px; color: var(--ink-soft); margin: 0 0 24px; line-height: 1.6; }
.modal-summary {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 24px; font-size: 13px; color: var(--ink-soft);
}
.modal-summary strong { color: var(--ink); }
.modal-summary-list { margin: 8px 0 0; padding: 0; list-style: none; }
.modal-summary-list li { display: flex; justify-content: space-between; padding: 5px 0; }

.inquiry-form .form-row { margin-bottom: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row-2, .form-row-3 { grid-template-columns: 1fr; } }
.inquiry-form label {
  display: block; font-size: 12px; color: var(--ink-soft);
  margin-bottom: 6px; font-weight: 600; letter-spacing: 0.02em;
}
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); font: inherit; font-size: 14px; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(179, 50, 47, 0.12);
}
.inquiry-form textarea { resize: vertical; min-height: 72px; font-family: inherit; }
.field-error {
  display: none; font-size: 11px; color: var(--accent); margin-top: 4px; font-weight: 500;
}
.form-row.has-error input, .form-row.has-error select, .form-row.has-error textarea { border-color: var(--accent); }
.form-row.has-error .field-error { display: block; }
.form-consent { background: var(--bg-soft); padding: 14px 16px; border-radius: 10px; }
.consent-line {
  display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--ink-soft);
  font-weight: 400; line-height: 1.55;
}
.consent-line input { width: auto; margin-top: 2px; flex-shrink: 0; }

/* Success state */
#inquirySuccess { text-align: center; }
.success-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent);
  color: #fff; font-size: 32px; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.success-id {
  font-size: 14px; background: var(--bg-soft); padding: 12px 18px; border-radius: 10px;
  margin: 18px auto; max-width: 320px; border: 1px solid var(--line);
}
.success-id strong { font-family: var(--serif); font-size: 18px; color: var(--accent); margin-left: 6px; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .primary-nav { display: none; }
  .hero-content { padding: 80px 24px 100px; }
  .product-grid { grid-template-columns: 1fr; }
}
