/* ===========================================
   ABOU HAMZE — DELIVERY (منيو توصيل)
   Same palette as the restaurant's own menu page
=========================================== */
:root {
  --maroon:       #520205;
  --maroon-dark:  #350103;
  --maroon-alt:   #440204;
  --maroon-line:  rgba(230, 187, 31, .16);
  --gold:         #e6bb1f;
  --gold-light:   #f3d766;
  --green:        #0f6936;
  --cream:        #fdf6ec;
  --card-line:    rgba(82, 2, 5, .14);
  --ink:          #350103;
  --muted:        rgba(53, 1, 3, .62);
  --whatsapp:     #25d366;
  --whatsapp-dk:  #1ea952;
  --shadow-soft:  0 6px 20px rgba(82, 2, 5, .08);
  --shadow-lift:  0 20px 46px rgba(82, 2, 5, .18);

  --font: 'Cairo', 'Tajawal', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--maroon);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.hero__pattern,
.footer__pattern {
  position: absolute;
  inset: 0;
  background: url('assets/pattern-maroon.jpg');
  background-size: 300px 300px;
  opacity: .6;
  pointer-events: none;
  z-index: 0;
}

/* ===========================================
   TOPBAR
=========================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(53, 1, 3, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--maroon-line);
}
.topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__brand img { height: 46px; width: auto; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__social { display: flex; align-items: center; gap: 10px; }
.topbar__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13.5px;
  transition: background .25s, color .25s, transform .25s;
}
.topbar__social a:hover { background: var(--gold); color: var(--maroon-dark); transform: translateY(-2px); }

.basket-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--maroon-dark);
  font-size: 16px;
  transition: transform .25s;
}
.basket-btn:hover { transform: translateY(-2px); }
.basket-btn__count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--maroon-dark);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}

/* ===========================================
   HERO
=========================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 20px 44px;
  text-align: center;
  isolation: isolate;
  background: var(--maroon);
}
.hero__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.hero__logo { width: 140px; margin: 0 auto 6px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--gold-light);
  background: rgba(230, 187, 31, .12);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero__title {
  font-weight: 900;
  font-size: clamp(30px, 6vw, 46px);
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.hero__title .accent { color: var(--gold); }
.hero__subtitle {
  font-size: 15.5px;
  color: rgba(255, 255, 255, .82);
  max-width: 480px;
  margin: 0 auto 22px;
  line-height: 1.8;
}
.hero__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}
.hero__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  transition: background .3s, color .3s, transform .3s;
}
.hero__social a:hover { background: var(--gold); color: var(--maroon-dark); transform: translateY(-3px); }

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(230, 187, 31, .3);
  transition: transform .3s, background .3s;
}
.hero__cta:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===========================================
   STICKY TOOLBAR (search + category pills)
=========================================== */
.menu-toolbar {
  position: sticky;
  top: 65px;
  z-index: 90;
  background: rgba(53, 1, 3, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--maroon-line);
}

.menu-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 20px 0;
  padding: 0 16px;
  height: 44px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--maroon-line);
  border-radius: 999px;
  transition: border-color .2s ease, background-color .2s ease;
}
.menu-search:focus-within {
  border-color: var(--gold);
  background: rgba(255, 255, 255, .1);
}
.menu-search__icon { color: var(--gold); font-size: 14px; flex: 0 0 auto; }
.menu-search__input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  height: 100%;
}
.menu-search__input::placeholder { color: rgba(255, 255, 255, .5); }
.menu-search__clear {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  background: rgba(255, 255, 255, .08);
  transition: background-color .2s ease, color .2s ease;
}
.menu-search__clear:hover { background: var(--gold); color: var(--maroon-dark); }

/* ===========================================
   CATEGORY PILLS
=========================================== */
.cat-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 20px;
  scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--maroon-line);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.cat-pill i { color: var(--gold); font-size: 12px; }
.cat-pill:hover, .cat-pill.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-dark);
}
.cat-pill:hover i, .cat-pill.is-active i { color: var(--maroon-dark); }

/* ===========================================
   MENU CATEGORIES / ITEM GRID
   (same dark maroon canvas + arabesque pattern as
   the dine-in menu, alternating shade per category)
=========================================== */
.menu-category {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 46px 20px 40px;
  scroll-margin-top: 130px;
  border-top: 1px solid var(--maroon-line);
  background: var(--maroon);
}
.menu-category:nth-of-type(even) { background: var(--maroon-alt); }
.menu-category::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/pattern-maroon.jpg');
  background-size: 300px 300px;
  opacity: .6;
  pointer-events: none;
  z-index: 0;
}
.menu-category__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }

.menu-category__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.menu-category__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--maroon-line);
  color: var(--gold);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-category__head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 3px;
}
.menu-category__head p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .72);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.item-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(230, 187, 31, .35);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .45);
  border-color: var(--gold);
}

.item-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
}
.item-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.item-card:hover .item-card__photo img { transform: scale(1.05); }

.item-card__top { padding: 14px 18px 0; }
.item-card__name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.item-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 0; }
.item-card__price { font-size: 15px; font-weight: 800; color: var(--maroon); direction: ltr; }

/* ===========================================
   ITEM SEARCH — hide state + empty state
=========================================== */
.is-search-hidden { display: none !important; }
.menu-category.is-search-empty { display: none; }

.no-results {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px;
  text-align: center;
  color: rgba(255, 255, 255, .72);
}
.no-results i { font-size: 30px; color: var(--maroon-line); margin-bottom: 14px; display: block; }
.no-results p { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.no-results span { font-size: 14px; }
.no-results button {
  margin-top: 18px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 800;
  font-size: 14px;
  transition: background-color .2s ease, transform .2s ease;
}
.no-results button:hover { background: var(--gold-light); transform: translateY(-2px); }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--cream);
}
.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--maroon);
  transition: background-color .2s ease, color .2s ease;
}
.qty-btn:hover { background: var(--maroon); color: #fff; }
.qty-value {
  min-width: 22px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
}

.add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: var(--maroon);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin: 12px 18px 16px;
  transition: background-color .25s ease, transform .2s ease;
}
.add-btn:hover { background: var(--maroon-alt); transform: translateY(-1px); }
.add-btn.is-added { background: var(--green); }

/* ===========================================
   BASKET DRAWER
=========================================== */
.basket-overlay {
  position: fixed;
  inset: 0;
  background: rgba(53, 1, 3, .45);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.basket-overlay.is-open { opacity: 1; pointer-events: auto; }

.basket-drawer {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--cream);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.22, .8, .28, 1);
  box-shadow: 18px 0 50px rgba(53, 1, 3, .22);
}
html[dir="rtl"] .basket-drawer { transform: translateX(100%); }
.basket-drawer.is-open,
html[dir="rtl"] .basket-drawer.is-open { transform: translateX(0); }

.basket-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--card-line);
}
.basket-drawer__head h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.basket-drawer__head h2 i { color: var(--maroon); }
.basket-drawer__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 15px;
  transition: background-color .2s ease;
}
.basket-drawer__close:hover { background: #fff; }

.basket-drawer__body { flex: 1; overflow-y: auto; padding: 10px 22px; }

.basket-empty {
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  gap: 6px;
}
.basket-empty i { font-size: 34px; color: var(--card-line); margin-bottom: 8px; }
.basket-empty p { font-weight: 700; color: var(--maroon); }
.basket-empty span { font-size: 13px; }

.basket-lines { display: flex; flex-direction: column; gap: 14px; padding: 12px 0; }
.basket-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--card-line);
}
.basket-line__info { min-width: 0; }
.basket-line__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.basket-line__price { font-size: 12.5px; color: var(--muted); margin-top: 2px; direction: ltr; text-align: right; }

.basket-line__controls { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.basket-line__remove {
  color: rgba(53, 1, 3, .4);
  font-size: 13px;
  transition: color .2s ease;
}
.basket-line__remove:hover { color: #c0392b; }

.basket-drawer__foot {
  border-top: 1px solid var(--card-line);
  padding: 18px 22px 22px;
  background: #fff;
}

.delivery-address { margin-bottom: 16px; }
.delivery-address__title {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--maroon);
  margin-bottom: 8px;
}
.delivery-address__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.delivery-field { min-width: 0; }
.delivery-field--notes { grid-column: 1 / -1; }
.delivery-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  opacity: .75;
  margin-bottom: 5px;
}
.delivery-field__optional {
  font-weight: 500;
  opacity: .8;
}
.delivery-address input,
.delivery-address textarea {
  width: 100%;
  resize: vertical;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--card-line);
  border-radius: 10px;
  padding: 10px 12px;
}
.delivery-address input:focus,
.delivery-address textarea:focus { outline: 2px solid var(--maroon); outline-offset: 1px; }
.delivery-field.has-error input,
.delivery-field.has-error textarea { outline: 2px solid #c0392b; outline-offset: 1px; }

.basket-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.basket-subtotal span:last-child { color: var(--maroon); font-size: 17px; font-weight: 800; direction: ltr; }

.checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  border-radius: 12px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.checkout-btn i { font-size: 18px; }
.checkout-btn:hover { background: var(--whatsapp-dk); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, .3); }
.checkout-btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

.clear-btn {
  width: 100%;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px;
  transition: color .2s ease;
}
.clear-btn:hover { color: #c0392b; }

/* ===========================================
   FLOATING BASKET BUTTON (mobile quick-access)
=========================================== */
.basket-fab {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 22px;
  z-index: 250;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  font-size: 21px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(82, 2, 5, .4);
  transition: transform .25s ease;
}
.basket-fab:hover { transform: translateY(-3px) scale(1.03); }
.basket-fab.is-visible { display: flex; }
.basket-fab__count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--maroon-dark);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}

/* ===========================================
   TOAST
=========================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 400;
  background: var(--maroon-dark);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--gold-light); }

/* ===========================================
   THANK YOU / CONFIRM MODAL
=========================================== */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  background: rgba(53, 1, 3, .5);
  backdrop-filter: blur(3px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.thankyou-overlay.is-open { opacity: 1; pointer-events: auto; }

.thankyou-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.94);
  width: min(380px, 90vw);
  background: var(--cream);
  border-radius: 22px;
  padding: 36px 28px 26px;
  text-align: center;
  z-index: 501;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22, .8, .28, 1);
}
.thankyou-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.thankyou-modal__close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 14px;
  transition: background-color .2s ease;
}
.thankyou-modal__close:hover { background: #fff; }

.thankyou-modal__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(230, 187, 31, .16);
  color: var(--maroon);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thankyou-modal h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.thankyou-modal p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}
.thankyou-modal .checkout-btn { margin-bottom: 10px; }
.thankyou-modal__cancel {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px;
  transition: color .2s ease;
}
.thankyou-modal__cancel:hover { color: var(--maroon); }

/* ===========================================
   FOOTER
=========================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding: 50px 20px 30px;
  text-align: center;
  background: var(--maroon-dark);
  isolation: isolate;
}
.footer__inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.footer__logo { width: 84px; margin: 0 auto 18px; }
.footer__address,
.footer__phone {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 8px;
}
.footer__address i, .footer__phone i { color: var(--gold); margin-inline-end: 6px; }

.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 22px;
}
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  transition: background .3s, color .3s, transform .3s;
}
.footer__social a:hover { background: var(--gold); color: var(--maroon-dark); transform: translateY(-3px); }

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--maroon-line);
}
.footer__credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .55);
  direction: ltr;
}
.footer__credit { display: inline-flex; align-items: baseline; gap: 5px; }
.footer__credit-label { font-style: italic; }
.footer__credit a {
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.footer__credit a:hover { color: var(--gold); border-color: var(--gold); }
.footer__sep { color: rgba(255, 255, 255, .3); }

/* ===========================================
   FLOATING WHATSAPP BUTTON (direct contact)
=========================================== */
.fab-whatsapp {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 200;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
  transition: transform .3s, background .3s;
}
.fab-whatsapp:hover { background: var(--whatsapp-dk); transform: scale(1.08); }

/* ===========================================
   SCROLL-IN ANIMATION (progressive enhancement — see script.js)
=========================================== */
.js-anim .anim-block {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .28, 1);
}
.js-anim .anim-block.is-visible { opacity: 1; transform: none; }

.js-anim .anim-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .8, .28, 1);
  transition-delay: var(--anim-delay, 0ms);
}
.js-anim .anim-block.is-visible .anim-item { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .topbar__social { display: none; }
  .hero { padding: 46px 16px 36px; }
}

@media (max-width: 360px) {
  .delivery-address__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-anim .anim-block,
  .js-anim .anim-item { opacity: 1 !important; transform: none !important; }
}
