/* ===== أساسيات عامة + الهيدر ===== */
:root {
  --brand: #54b435;
  --text: #222;
  --muted: #777;
  --bg: #fff;
  --chip: #f3f7f4;
  --chip-b: #e6efe7;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: #fff;
  color: var(--text);
  direction: rtl;
}

body.lang-tr {
  direction: ltr;
}

body.lang-ar {
  direction: rtl;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.menu-page .container {
  max-width: min(1200px, 100%);
}

.numeric-input {
  direction: ltr;
  unicode-bidi: plaintext;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: 0.02em;
}

.numeric-input::placeholder {
  text-align: left;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 1024px) {
  .menu-page .container {
    max-width: none;
    padding-inline: clamp(16px, 4vw, 28px);
  }
}

.header {
  background: #fff;
  height: 130px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo img {
  width: 120px;
  height: auto;
}
.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.nav-list a.active,
.nav-list a:hover {
  color: var(--brand);
}

.mobile-actions {
  display: none;
  margin-inline-start: auto;
  align-items: center;
  gap: 12px;
}
.nav-home {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.menu-toggle {
  width: 36px;
  height: 32px;
  border: none;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #eee inset;
}
.menu-toggle .bar {
  width: 20px;
  height: 2px;
  background: #222;
}
.menu-toggle .bar + .bar {
  margin-top: 4px;
}
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  width: 100%;
}
.navm-list {
  list-style: none;
  margin: 0;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: var(--shadow);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.35s ease;
}
.nav-mobile.open .navm-list {
  max-height: 60vh;
  opacity: 1;
  transform: translateY(0);
}
.navm-list a {
  display: block;
  padding: 14px 6px;
  text-decoration: none;
  color: var(--text);
}

body.lang-tr .navm-list a {
  text-align: left;
}

/* ===== أدوات المنيو ===== */
.menu-tools {
  padding-top: 24px;
}
.tools-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.filters-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.filters-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(84, 180, 53, 0.4);
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease,
    color 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(84, 180, 53, 0.15);
}
.filters-arrow:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}
.filters-arrow:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

body.lang-tr .filters-arrow i {
  display: inline-block;
}

body.lang-tr .filters-arrow.prev i,
body.lang-tr .filters-arrow.next i {
  transform: scaleX(-1);
}
.filters-scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0 12px 4px;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 32px,
    #000 calc(100% - 32px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 32px,
    #000 calc(100% - 32px),
    transparent 100%
  );
}
.filters-scroller::-webkit-scrollbar {
  height: 6px;
}
.filters-scroller::-webkit-scrollbar-thumb {
  background: rgba(84, 180, 53, 0.25);
  border-radius: 999px;
}
.filters {
  display: inline-flex;
  gap: 10px;
  min-width: max-content;
}
.filter-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e8e8e8;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(84, 180, 53, 0.25);
  background: #fff;
  box-shadow: 0 10px 22px rgba(84, 180, 53, 0.12);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: text;
}
.search-wrap i {
  color: var(--brand);
  font-size: 16px;
}
#searchInput {
  flex: 1;
  border: none;
  outline: none;
  font-weight: 700;
  background: transparent;
  font-size: 15px;
}
#searchInput::placeholder {
  color: #6f6f6f;
  font-weight: 500;
}
.search-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 12px 26px rgba(84, 180, 53, 0.16);
}

@media (min-width: 768px) {
  .tools-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .search-wrap {
    width: clamp(260px, 30vw, 320px);
  }
}

/* ===== شبكة المنتجات ===== */
.offers-section {
  padding-top: 16px;
}
.offers-section h2,
.menu-section h2 {
  color: var(--brand);
  text-align: center;
  margin: 28px 0 10px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px 0 40px;
}
.menu-page .menu-grid {
  width: 100%;
}

.offers-slider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.offers-slider__viewport {
  flex: 1 1 auto;
  overflow: hidden;
  padding-inline: 4px;
}

.offers-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(84, 180, 53, 0.4);
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(84, 180, 53, 0.18);
  transition: transform 0.25s ease, background-color 0.25s ease,
    color 0.25s ease, box-shadow 0.25s ease;
}

.offers-arrow i {
  font-size: 22px;
  line-height: 1;
}

.offers-arrow:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(84, 180, 53, 0.25);
}

.offers-arrow:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.offers-arrow:disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
  transform: none;
}

body.lang-tr .offers-arrow i {
  display: inline-block;
}

body.lang-tr .offers-arrow.prev i,
body.lang-tr .offers-arrow.next i {
  transform: scaleX(-1);
}

.offers-grid {
  display: flex;
  gap: 20px;
  padding: 20px 0 32px;
  margin: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.offers-grid.is-sliding {
  animation: offers-slider-wave 0.6s ease;
}

.offers-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: -10px;
}

.offers-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.offers-dot.active {
  background: #fff;
  box-shadow: 0 0 0 2px var(--brand);
  transform: scale(1.1);
}

.offers-dot:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.offers-grid::-webkit-scrollbar {
  height: 8px;
}

.offers-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.offers-grid .product-card {
  flex: 0 0 calc((100% - 20px) / 2);
  max-width: calc((100% - 20px) / 2);
  min-width: 260px;
  scroll-snap-align: start;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  opacity: 0.85;
}

.offers-grid .product-card.is-active,
.offers-grid .product-card.is-active:hover {
  transform: translateY(-8px);
  opacity: 1;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.offers-grid .product-card.is-entering-forward,
.offers-grid .product-card.is-entering-backward {
  animation-duration: 0.65s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  animation-fill-mode: both;
}

.offers-grid .product-card.is-entering-forward {
  animation-name: offers-card-enter-forward;
}

.offers-grid .product-card.is-entering-backward {
  animation-name: offers-card-enter-backward;
}

@keyframes offers-slider-wave {
  0% {
    filter: brightness(0.96);
  }
  50% {
    filter: brightness(1.05);
  }
  100% {
    filter: brightness(1);
  }
}

@keyframes offers-card-enter-forward {
  0% {
    transform: translate3d(32px, 14px, 0) scale(0.9);
    opacity: 0.25;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  }
  55% {
    transform: translate3d(-6px, -2px, 0) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(-8px);
    opacity: 1;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  }
}

@keyframes offers-card-enter-backward {
  0% {
    transform: translate3d(-32px, 14px, 0) scale(0.9);
    opacity: 0.25;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  }
  55% {
    transform: translate3d(6px, -2px, 0) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(-8px);
    opacity: 1;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  }
}

@media (max-width: 900px) {
  .filters-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .offers-grid {
    margin-inline: 0;
    padding-inline: clamp(6px, 3vw, 16px);
  }
}

@media (max-width: 768px) {
  .offers-slider {
    gap: 10px;
  }
  .offers-arrow {
    --arrow-size: 46px;
  }
  .offers-grid {
    gap: 14px;
    padding-bottom: 28px;
  }
  .offers-grid .product-card {
    flex-basis: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .filters-wrapper {
    gap: 6px;
  }
  .search-wrap {
    width: 100%;
  }
}
.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
}
.image-wrap {
  position: relative;
}
.image-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3f3f3;
}
.badge-offer {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #e74c3c;
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.product-name {
  margin: 12px 0 6px;
  font-size: 18px;
}
.category {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}
.price {
  margin: 6px 0 10px;
  font-size: 18px;
  color: var(--brand);
}
.price .old {
  text-decoration: line-through;
  color: #999;
  margin-inline-end: 6px;
}
.price .new {
  font-weight: 800;
}
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

/* ===== السلة (الدرج) ===== */
body.drawer-open,
body.modal-open {
  overflow: hidden;
}
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: saturate(150%) blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}
.backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: min(92vw, 390px);
  max-width: 390px;
  background: #fff;
  box-shadow: 0 0 0 1px #eee, -24px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(110%);
  transition: transform 0.35s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
  font-weight: 800;
}
.drawer-body {
  padding: 14px;
  overflow: auto;
  flex: 1;
}
.drawer-footer {
  padding: 18px 20px 24px;
  border-top: 1px solid #eee;
}
.drawer-footer .total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-weight: 800;
}
.drawer-footer .total-note {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}
.drawer-footer .cart-note {
  text-align: right;
}
.note-em {
  font-weight: 800;
  color: var(--brand);
}
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
}

.cart-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}
.cart-row img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f3f3;
}
.cart-row .title {
  font-weight: 800;
}
.cart-row .meta {
  font-size: 12px;
  color: #666;
}

/* فاب */
.cart-fab {
  position: fixed;
  bottom: 88px;
  right: 16px;
  left: auto;
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.cart-fab .count {
  position: absolute;
  top: -6px;
  right: -6px;
  left: auto;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 800;
}

.scroll-top-fab {
  position: fixed;
  bottom: 18px;
  right: 18px;
  left: auto;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(84, 180, 53, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease,
    background-color 0.25s ease, color 0.25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 75;
}
.scroll-top-fab.show {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top-fab:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.scroll-top-fab i {
  font-size: 18px;
}

/* ===== المودال ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal.show {
  opacity: 1;
  pointer-events: auto;
}
.modal > .backdrop {
  z-index: 0;
  background: rgba(14, 14, 14, 0.55);
  backdrop-filter: saturate(140%) blur(3px);
}
.modal-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18), 0 2px 0 rgba(0, 0, 0, 0.04) inset;
  transform: translateY(12px) scale(0.98);
  opacity: 0.98;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}
.modal.show .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.modal-head h3 {
  margin: 0;
  font-weight: 900;
  font-size: 22px;
  color: #1f1f1f;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-head .modal-close {
  border: none;
  background: #f5f5f7;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.modal-head .modal-close:hover {
  transform: scale(1.05);
  background: #efefef;
}
.modal-body {
  padding: 18px 20px;
  overflow: auto;
  flex: 1;
}
.modal-product {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.modal-product img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: #f3f3f3;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) inset;
}
.modal-product .name {
  font-weight: 800;
}
.modal-product .cat {
  color: #777;
  font-size: 13px;
}
.lbl {
  font-weight: 900;
  margin: 12px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #222;
}
.lbl.with-count .char-count {
  color: #9aa1a8;
  font-weight: 800;
  font-size: 12px;
}
#cutSelect {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e8e8ea;
  padding: 0 12px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#cutSelect.invalid {
  border-color: #e74c3c;
  background: #fff5f5;
}

.form-error {
  margin-top: 6px;
  font-size: 13px;
  color: #d64545;
  font-weight: 700;
}
#cutSelect:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(84, 180, 53, 0.15);
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e8e8ea;
  padding: 6px;
  border-radius: 14px;
}
.qty input {
  width: 80px;
  height: 42px;
  text-align: center;
  border: none;
  outline: none;
  background: transparent;
  font-weight: 800;
  font-size: 16px;
}
.qty button {
  width: 42px;
  height: 42px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  background: #f4f5f6;
  color: #1f1f1f;
  font-weight: 900;
  font-size: 18px;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.qty button:hover {
  transform: translateY(-1px);
  background: #eceeef;
}
#noteInput {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid #e8e8ea;
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#noteInput:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(84, 180, 53, 0.15);
}
.modal-footer {
  position: sticky;
  bottom: 0;
  padding: 14px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85)
  );
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  backdrop-filter: blur(3px);
}
.btn-primary,
.btn-secondary {
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease,
    background-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #5ed13d, #49b628);
  color: #fff;
  box-shadow: 0 6px 16px rgba(84, 180, 53, 0.32);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: saturate(105%);
}
.btn-secondary {
  background: #ececef;
  color: #222;
}
.btn-secondary:hover {
  background: #e3e3e7;
}
@media (max-width: 992px) {
  .logo img {
    width: 100px;
  }
}
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-actions,
  .nav-mobile {
    display: flex;
  }
  .mobile-actions {
    gap: 8px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .image-wrap img {
    height: 150px;
  }
}

@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}
.flags-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 6px 0 4px;
}
.flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #f1f7f1;
  border: 1px solid #e3f0e3;
  color: #2a6d2f;
  font-weight: 800;
}
.flag.warn {
  background: #fff7ed;
  border-color: #ffe9d6;
  color: #8a4b12;
}
.qty-helper {
  margin: 8px 2px 0;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.ltr-text {
  direction: ltr;
  unicode-bidi: plaintext;
}
.muted {
  color: #777;
  font-size: 14px;
  text-align: center;
}
.coming-soon {
  color: #aa5500;
  font-weight: 800;
}

/* Utils */
.ltr-text {
  direction: ltr;
  unicode-bidi: plaintext;
}
.muted {
  color: #777;
  font-size: 14px;
  text-align: center;
}
.coming-soon {
  color: #aa5500;
  font-weight: 800;
}

/* زر تأكيد الطلب في درج السلة */
.btn-confirm {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #60d551, #49b628);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(84, 180, 53, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn-confirm .ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
}
.btn-confirm:hover {
  transform: translateY(-1px);
  filter: saturate(105%);
}
.btn-confirm:active {
  transform: translateY(0);
}
.btn-confirm:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.1);
  box-shadow: none;
}

@media (max-width: 420px) {
  .btn-confirm {
    height: 48px;
    gap: 8px;
  }
  .btn-confirm span {
    font-size: 15px;
  }
}
