/* 1. VARIABLES PAR DÉFAUT & RESET */
:root {
  --yellow: #ff8617;
  --yellow-strong: #f36a0a;
  --bg: #fbf8ef;
  --panel: #fffdf7;
  --card: #ffffff;
  --text: #103f38;
  --muted: #647b73;
  --line: #e6e6d8;
  --dark: #073f37;
  --danger: #dc4540;
  --green: #07834b;
  --shadow: 0 8px 26px rgba(20, 75, 53, 0.07);
  --shadow-hover: 0 13px 32px rgba(20, 75, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
/* Masquer toute attribution visible du widget Google Traduction ; seuls les drapeaux sont affichés. */
#google_translate_element,
#google_translate_element .goog-te-gadget,
#google_translate_element .goog-te-gadget span,
#google_translate_element .goog-logo-link,
.goog-logo-link,
.goog-te-gadget,
.goog-te-gadget span,
.goog-te-gadget a,
.goog-te-balloon-frame,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-spinner-pos { display:none !important; visibility:hidden !important; }
.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  top: 0px; 
}

body.modal-open {
  overflow: hidden;
}

button, input, select, textarea {
  font: inherit;
  accent-color: var(--green);
}

button {
  cursor: pointer;
}

input:focus, select:focus, textarea:focus {
  outline-color: var(--green);
}

/* 2. HERO & BRAND BAR */
.hero {
  height: 285px;
  overflow: hidden;
  position: relative;
  background: #17191d center/cover no-repeat;
  mask-image: none;
  -webkit-mask-image: none;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.16) 38%, rgba(15,17,21,0.88) 100%);
}

.brandbar {
  max-width: 1180px;
  margin: -92px auto 0;
  padding: 0 22px;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.logo {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  background: #fff;
  border: 5px solid #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  flex: none;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.status {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.93);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#tableBadge {
  display: inline-block !important;
  color: #FFF;
  background:#f91b78;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  margin-top: 7px !important;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  flex-wrap: wrap;
}

.install-btn, .qr-btn {
  height: 43px;
  padding: 0 15px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(20,22,26,0.78);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(0,0,0,0.16);
}

.install-btn {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #17191d;
}

.install-btn:hover, .qr-btn:hover {
  transform: translateY(-1px);
}

/* 3. MENU PRINCIPAL & INTRO */
.menu {
  max-width: 1180px;
  margin: 22px auto 0;
  background: var(--panel);
  padding: 10px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  min-height: 500px;
}

.menu-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 2px 2px 25px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f91b78;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 900;
}

.menu-intro h2 {
  margin: 5px 0 4px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}

.menu-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
  font-size: 0.94rem;
}

.intro-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 13px 16px;
  border-radius: 17px;
  background: #fff9e7;
  border: 1px solid #f4df9b;
  color: #6f5710;
  font-size: 0.8rem;
}

.intro-badge i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  color: #1b1b1b;
}

.intro-badge strong {
  font-size: 0.86rem;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
}

.social {
  display: flex;
  gap: 8px;
}

.social a, .qr-btn {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #565b64;
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(20,24,32,0.04);
}

.social a:hover, .qr-btn:hover {
  color: #17191d;
  border-color: #d5d7dc;
  background: #fafafa;
}

.qr-btn {
  width: auto;
  padding: 0 14px;
  display: flex;
  gap: 8px;
  font-weight: 800;
}

.cart-trigger {
  margin-left: auto;
  background: var(--dark) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 13px !important;
  padding: 11px 16px !important;
  box-shadow: 0 7px 18px rgba(21,23,27,0.14);
}

.cart-trigger:hover {
  background: #292d33 !important;
}

#cartCount {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 3px;
  border-radius: 999px;
  background: #f91b78;
  color: #17191d;
  font-size: 0.72rem;
}

/* 4. RECHERCHE & CATÉGORIES */
.search {
  margin: 0 0 18px;
  position: relative;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 15px;
  min-height: 54px;
  transition: 0.2s;
  box-shadow: inset 0 1px 0 #fff;
}

.search-box:focus-within {
  border-color: #d9b63e;
  box-shadow: 0 0 0 4px rgba(246,201,69,0.15);
}

.search-box > i {
  margin-left: 17px;
  color: #969ba4;
}

.search-box input {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 14px 48px 14px 12px !important;
  outline: 0 !important;
  color: var(--text);
  font-size: 0.95rem;
}

.search-box input::placeholder {
  color: #9ba0a8;
}

.search-box #clearSearch {
  display: none;
  position: absolute;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #e7e9ed;
  color: #4d525a;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.search-box #clearSearch.visible {
  display: grid;
  place-items: center;
}

.search-meta {
  display: none;
  color: #8b9099;
  font-size: 0.78rem;
  margin: 7px 3px 0;
}

.cats {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  padding: 2px 2px 12px;
  margin: 0 0 4px;
  scrollbar-width: thin;
  scrollbar-color: #f91b78 transparent;
  position: relative;
  z-index: 28;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.cats::-webkit-scrollbar {
  height: 7px;
}

.cats::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.cats::-webkit-scrollbar-thumb {
  background: #c9ccd2;
  border-radius: 999px;
}

.cats::-webkit-scrollbar-thumb:hover {
  background: #aeb2b9;
}

.cat {
  background: #fff;
  color: #555b64;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.82rem;
  transition: 0.18s;
  box-shadow: 0 2px 7px rgba(20,24,32,0.03);
  position: relative;
  z-index: 29;
  pointer-events: auto;
}

.cat.active, .cat:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  transform: translateY(-1px);
}

/* 5. PRODUITS & OFFRES */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(20,24,32,0.045);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #dddfe4;
}

.product:focus {
  outline: 3px solid rgba(246,201,69,0.45);
  outline-offset: 2px;
}

.product.out-of-stock {
  cursor: not-allowed;
  opacity: 0.72;
}

.product-img-wrap {
  position: relative;
  background: #eef0f3;
  overflow: hidden;
}

.product-img {
  height: 115px;
  background: #eef0f3 center/cover no-repeat;
  transition: transform 0.35s;
}

.product:hover .product-img {
  transform: scale(1.035);
}

.product-body {
  padding: 15px 15px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product h3 {
  margin: 0 0 5px;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.product p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price {
  color: #16191e;
  font-weight: 900;
  font-size: 1rem;
}

.price strong {
  color: var(--green);
}

.add {
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--yellow);
  color: #17191d;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(246,201,69,0.22);
  transition: 0.18s;
}

.add:hover {
  background: var(--yellow-strong);
  transform: scale(1.04);
}

.add:disabled {
  background: #d8dadd;
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: #fff;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
}

.promo-badge {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #22c55e !important;
  color: #fff !important;
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 20 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.badge-promo-offset {
  top: 48px;
}

/* Section Offres */
.offers-wrap {
  margin: 18px 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #fffdf6, #fff);
  box-shadow: 0 10px 30px rgba(20,25,30,0.06);
}

.offers-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.offers-head h2 {
  margin: 4px 0 0;
  font-size: 1.45rem;
}

.offers-head small {
  color: #777;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.offer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(20,25,30,0.06);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20,25,30,0.11);
}

.offer-image {
  height: 150px;
  background: center/cover #ececec;
  position: relative;
}

.offer-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.5));
}

.offer-image span {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  background: #f91b78;
  color: #17191d;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.offer-card-body {
  padding: 15px;
}

.offer-card-body small {
  color: #a17800;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.offer-card-body h3 {
  margin: 5px 0;
  font-size: 1.08rem;
}

.offer-card-body p {
  margin: 0;
  color: #747a83;
  min-height: 38px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.offer-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
}

.offer-card-foot strong {
  font-size: 1.12rem;
}

.offer-card-foot button {
  border: 0;
  background: #17191d;
  color: #fff;
  border-radius: 10px;
  padding: 9px 13px;
  font-weight: 850;
  cursor: pointer;
}

.offer-modal-kicker {
  display: inline-block;
  background: #fff4c8;
  color: #8a6900;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.promo-announcements {
  display: none;
  gap: 10px;
  margin: 12px 0 18px;
}

.promo-announcement {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(110deg, #fff7cc, #fffdf2);
  border: 1px solid #f3d45d;
  color: #30270b;
  box-shadow: 0 6px 18px rgba(40,30,0,0.06);
}

.promo-announcement-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffcc00;
  color: #161616;
}

.promo-announcement > div {
  flex: 1;
  min-width: 0;
}

.promo-announcement strong,
.promo-announcement span:not(.promo-announcement-icon) {
  display: block;
}

.promo-announcement strong {
  font-size: 0.98rem;
}

.promo-announcement span {
  font-size: 0.88rem;
  margin-top: 3px;
}

.promo-announcement button {
  border: 0;
  border-radius: 99px;
  background: #171717;
  color: #ffcf00;
  font-weight: 800;
  padding: 9px 13px;
  cursor: pointer;
  white-space: nowrap;
}

/* 6. CARTE, TIROIR DE PANIER, MODALES */
.location-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.location-section h2 {
  color: var(--text);
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.map-wrap {
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.cartbar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, calc(100% - 24px));
  background: var(--dark);
  color: #fff;
  padding: 12px 16px;
  border-radius: 16px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  font-weight: 800;
  box-shadow: 0 15px 35px rgba(0,0,0,0.22);
}

.drawer {
  position: fixed;
  z-index: 100;
  top: 12px;
  right: -450px;
  width: min(430px, calc(100% - 24px));
  height: calc(100% - 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0,0,0,0.24);
}

.drawer.open {
  right: 12px;
}

.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,15,18,0.58);
  backdrop-filter: blur(3px);
  z-index: 90;
}

.backdrop.open {
  display: block;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.drawer-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.drawer-head button {
  background: #f1f2f4;
  color: #333;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
}

.cart-items {
  overflow: auto;
  flex: 1;
  padding: 10px 0;
}

.cart-item {
  display: flex;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: #f0f1f3;
}

.cart-item h4 {
  margin: 0;
  font-size: 0.9rem;
}

.cart-item small {
  color: var(--muted);
}

.cart-actions {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.mini {
  background: #f0f1f3;
  color: #333;
  border: 0;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
}

.danger {
  color: var(--danger);
}

.summary {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  color: #5e636b;
}

.line strong {
  color: var(--text);
  font-size: 1.05rem;
}

.primary {
  width: 100%;
  border: 0;
  background: var(--dark);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s;
}

.primary:hover {
  background: #2b3037;
}

.secondary {
  background: #f0f1f3;
  color: #272b31;
  border: 0;
  padding: 10px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
}

.promo-box {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.promo-box input {
  flex: 1;
  background: #f8f9fb;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 11px;
  border-radius: 9px;
  outline: 0;
}

.promo-box input:focus {
  border-color: #d8b63e;
}

.promo-message {
  font-size: 0.82rem;
  margin: 5px 0 10px;
  min-height: 18px;
}

.promo-message.success {
  color: #16a34a;
}

.promo-message.error {
  color: #dc2626;
}

/* Modales & Commande */
.modal {
  display: none;
  position: fixed;
  z-index: 120;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 94%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  color: var(--text);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.28);
}

.modal.open {
  display: block;
}

.modal-img {
  height: 230px;
  background: center/cover;
  border-radius: 22px 22px 0 0;
}

.modal-body {
  padding: 22px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(20,22,25,0.78);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
}

.option {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.option-title {
  margin-bottom: 9px;
  font-weight: 850;
}

.required {
  background: #fee2e2;
  color: #b91c1c;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
}

.choice {
  display: flex;
  gap: 8px;
  background: #f7f8fa;
  border: 1px solid #e7e9ed;
  padding: 65x 12px;
  margin: 7px 0;
  border-radius: 10px;
}

.choice label {
  flex: 1;
}

.choice b {
  color: #858b94;
  font-size: 0.75rem;
}

.modal-foot {
  padding: 15px 20px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 15px;
  align-items: center;
  position: sticky;
  bottom: 0;
  z-index: 3;
}

.qty {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f2f3f5;
  padding: 8px 12px;
  border-radius: 10px;
}

.qty button {
  background: none;
  border: 0;
  color: #1f2328;
  font-size: 1.2rem;
}

.formula-choice {
  display: grid;
  gap: 8px;
}

.formula-choice label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 10px;
}

.composition .choice b {
  color: #888;
  font-size: 0.75rem;
}

.option-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: #f8f9fb;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 11px;
}

.option-check-grid label {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px;
  border-radius: 8px;
}

.checkout .step {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.step b {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #eceef1;
  color: #8b9098;
  display: grid;
  place-items: center;
}

.step b.active {
  background: var(--yellow);
  color: #17191d;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.75rem;
  color: #727780;
  font-weight: 800;
}

.field input, .field select, .field textarea {
  background: #f8f9fb;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 11px;
  border-radius: 9px;
  outline: 0;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #d8b63e;
  box-shadow: 0 0 0 3px rgba(246,201,69,0.12);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.type {
  background: #f8f9fb;
  border: 2px solid var(--line);
  color: var(--text);
  border-radius: 11px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
}

.type.active {
  border-color: var(--yellow);
  background: #fffaf0;
}

.whatsapp {
  background: #20c968;
  color: #fff;
  border: 0;
  padding: 14px;
  width: 100%;
  border-radius: 11px;
  font-weight: 900;
  cursor: pointer;
}

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 120px);
  background: var(--dark);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  z-index: 200;
  transition: 0.25s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.toast.show {
  transform: translate(-50%, 0);
}

/* Honeypot & Actions */
.spam-trap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.menu-service-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.menu-service-actions button {
  border: 1px solid #3a4b53;
  border-radius: 12px;
  padding: 13px 17px;
  background: #172329;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.menu-service-actions button:hover {
  filter: brightness(1.1);
}

/* Selecteur de langue */
.language-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 80;
}

.language-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 5px 11px;
  border: 1px solid rgba(38,123,71,0.22);
  border-radius: 13px;
  background: rgba(255,255,255,0.96);
  color: #174d35;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.language-dropdown-toggle .fa-chevron-down {
  font-size: 11px;
  transition: transform 0.18s;
}

.language-dropdown.open .language-dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.language-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  flex-direction: column;
  border: 1px solid rgba(38,123,71,0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,0.16);
}

.language-dropdown.open .language-dropdown-menu {
  display: flex;
}

.language-flag {
  width: 100%;
  min-height: 37px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #26352b;
  cursor: pointer;
  font-size: 19px;
  line-height: 1.2;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.language-flag span {
  font-size: 13px;
  font-weight: 650;
}

.google-translate-hidden,
#google_translate_element,
.goog-te-banner-frame,
#goog-gt-tt {
  display: none !important;
  visibility: hidden !important;
}

body.lang-ar, body.lang-ar * {
  font-family: 'Cairo', sans-serif !important;
}

body.lang-ar {
  direction: rtl;
}

body.lang-ar .brand-actions,
body.lang-ar .language-dropdown,
body.lang-ar .social,
body.lang-ar .cart-trigger {
  direction: ltr;
}

/* 7. FOOTER */

.restaurant-footer h3,
.footer-brand h3,
.restaurant-footer p,
.restaurant-footer a {
 
  border-color: rgba(38, 61, 45, 0.18) !important;
}

.restaurant-footer {
  margin-top: 40px;
  background: #15171b;
  color: #fff;
  padding: 42px 20px 20px;
  border-top: 3px solid #f91b78 !important;
}

.footer-inner {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.25fr 1.35fr 0.8fr;
  gap: 42px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
}

.restaurant-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.restaurant-footer p {
  margin: 5px 0;
  line-height: 1.5;
}

.footer-hours-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.footer-day {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #CCC;
  font-size: 0.84rem;
}

.footer-day span {
  color: #929aa4;
  text-align: right;
}

.footer-contact {
  padding-left: 8px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0 !important;
  font-weight: 700;
  color: #dbe0e5 !important;
}

.footer-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #27c66d;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(39, 198, 109, 0.12);
}

.footer-order-link {
  display: inline-block;
  color: #f3cd58;
  text-decoration: none;
  font-weight: 800;
  margin-top: 7px;
  padding: 5px 11px;
  border-radius: 999px;
}

.footer-copy {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 17px;
  border-top: 1px solid #30343a;
  color: #8e949d;
  text-align: center;
  font-size: 0.82rem;
}

/* 8. MEDIA QUERIES (RESPONSIVE) */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .menu {
    margin-left: 14px;
    margin-right: 14px;
  }
}

@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 0;
  }
  .hero {
    height: 220px;
  }
  .brandbar {
    margin: -65px auto 0;
    padding: 0 14px;
    align-items: flex-end;
    gap: 10px;
  }
  .logo {
    width: 82px;
    height: 82px;
    border-radius: 22px;
  }
  .brand {
    gap: 11px;
  }
  .brand h1 {
    font-size: 1.2rem;
    max-width: 52vw;
  }
  .install-btn, .qr-btn {
    width: 41px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .install-btn i, .qr-btn i {
    font-size: 1rem;
  }
  .menu {
    margin-top: 18px;
    padding: 18px 14px;
    border-radius: 20px;
  }
  .menu-intro {
    align-items: flex-start;
    padding-bottom: 18px;
  }
  .intro-badge {
    display: none;
  }
  .menu-top {
    position: sticky;
    top: 0;
    padding: 4px 0 10px;
    background: var(--panel);
  }
  .search {
    position: sticky;
    top: 53px;
    margin: 4px 0 12px;
  }
  .cats {
    position: sticky;
    top: 109px;
    z-index: 28;
    margin: 0 -14px 18px;
    padding: 8px 14px 11px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    touch-action: pan-x;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .drawer {
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .drawer.open {
    right: 0;
  }
  .modal {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .cartbar {
    display: flex;
  }
}

@media (max-width: 600px) {
  .offers-wrap {
    padding: 14px;
    border-radius: 16px;
  }
  .offers-head {
    display: block;
  }
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .menu-service-actions button {
    flex: 1;
    min-width: 145px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 180px;
  }
  .brandbar {
    margin-top: -52px;
  }
  .logo {
    width: 66px;
    height: 66px;
  }
  .product p {
    display: none;
  }
  .option-check-grid, .footer-hours-grid {
    grid-template-columns: 1fr;
  }
}
/* Correction du décalage vertical injecté par Google Translate */
body {
  top: 0 !important;
}
