.flash-message {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100000;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(12, 10, 8, 0.16);
}

.money-aed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.money-aed-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  line-height: 1;
}

.dirham-symbol-icon {
  width: 1.04em !important;
  height: 0.9em !important;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.money-aed-value {
  line-height: 1;
}

.money-aed-code {
  font-size: 0.72em;
  letter-spacing: 0.08em;
  opacity: 0.72;
  margin-inline-start: 2px;
}

.flash-success {
  background: #e9ffef;
  border: 1px solid #7de29d;
  color: #0e7a34;
}

.flash-error {
  background: #fff0f0;
  border: 1px solid #ffb3b3;
  color: #ab2020;
}

.ui-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100001;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(12, 10, 8, 0.16);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.ui-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.ui-toast.success {
  background: #e9ffef;
  border: 1px solid #7de29d;
  color: #0e7a34;
}

.ui-toast.error {
  background: #fff0f0;
  border: 1px solid #ffb3b3;
  color: #ab2020;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

#nav,
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-wordmark {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(44vw, 290px);
  object-fit: contain;
}

.lmark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lmark::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: url('/assets/images/logo/logo.png') center / contain no-repeat;
  pointer-events: none;
}

.lmark svg {
  display: none !important;
}

.nav-pills {
  display: flex;
  gap: 6px;
  align-items: center;
}

.np {
  font-size: 13px;
  color: rgba(12, 10, 8, 0.62);
  border-radius: 999px;
  padding: 7px 14px;
}

.np.act {
  color: #0c0a08;
  background: rgba(12, 10, 8, 0.08);
}

.nav-cta,
.ncta {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-count-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff4d2b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

footer .footer-inner {
  border-top: 1px solid rgba(12, 10, 8, 0.09);
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

footer .footer-lmark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #0c0a08 !important;
  position: relative;
  overflow: hidden;
}

footer .footer-lmark::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: url('/assets/images/logo/logo.png') center / contain no-repeat;
  pointer-events: none;
}

footer .footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

footer .footer-link {
  color: rgba(12, 10, 8, 0.6);
  font-size: 13px;
}

footer .footer-link:hover {
  color: #0c0a08;
}

footer .footer-copy {
  font-size: 12px;
  color: rgba(12, 10, 8, 0.5);
}

.checkout-footer {
  padding-top: 20px;
}

.cart-dock-btn {
  position: fixed;
  top: 50%;
  right: 14px;
  transform: translateY(-50%) translateX(120%);
  z-index: 100060;
  border: 0;
  border-radius: 999px;
  background: #0c0a08;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  box-shadow: 0 18px 36px rgba(12, 10, 8, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}

.cart-dock-btn.is-visible {
  transform: translateY(-50%) translateX(0);
}

.cart-dock-btn:hover {
  background: #ff4d2b;
}

.cart-dock-icon {
  font-size: 12px;
  font-weight: 700;
}

.cart-dock-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #c8ff00;
  color: #0c0a08;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.cart-canvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.38);
  z-index: 100070;
}

.cart-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: #f7f3ed;
  color: #0c0a08;
  z-index: 100080;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -20px 0 50px rgba(12, 10, 8, 0.22);
  transform: translateX(110%);
  transition: transform 0.28s ease;
}

.cart-offcanvas.open {
  transform: translateX(0);
}

.cart-off-head {
  padding: 20px;
  border-bottom: 1px solid rgba(12, 10, 8, 0.1);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cart-off-head h3 {
  margin: 2px 0 0;
  font-size: 28px;
  line-height: 0.95;
  letter-spacing: -0.9px;
}

.cart-off-eyebrow {
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(12, 10, 8, 0.58);
}

.cart-off-close {
  border: 1px solid rgba(12, 10, 8, 0.16);
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  line-height: 1;
  font-size: 12px;
}

.cart-off-items {
  padding: 14px 20px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
}

.cart-off-item {
  background: #fff;
  border: 1px solid rgba(12, 10, 8, 0.08);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 10px;
  align-items: center;
}

.cart-off-item img {
  width: 62px;
  height: 62px;
  border-radius: 11px;
  object-fit: cover;
}

.cart-off-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-off-meta {
  color: rgba(12, 10, 8, 0.58);
  font-size: 12px;
  margin-top: 2px;
}

.cart-off-price {
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.cart-off-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(12, 10, 8, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.cart-off-qty button {
  border: 0;
  width: 28px;
  height: 28px;
  background: #fff;
  font-size: 14px;
}

.cart-off-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-off-remove {
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #ab2020;
  margin-top: 6px;
}

.cart-off-empty {
  border: 1px dashed rgba(12, 10, 8, 0.2);
  border-radius: 14px;
  padding: 16px;
  color: rgba(12, 10, 8, 0.6);
  text-align: center;
}

.cart-off-foot {
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(12, 10, 8, 0.1);
  background: #fff;
}

.cart-off-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.cart-off-total-row.total {
  margin-top: 2px;
  margin-bottom: 12px;
  font-size: 15px;
}

.cart-off-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-off-btn {
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.cart-off-btn.ghost {
  border: 1px solid rgba(12, 10, 8, 0.15);
  color: #0c0a08;
}

.cart-off-btn.solid {
  background: #0c0a08;
  color: #fff;
}

@media (max-width: 760px) {
  .logo-wordmark {
    height: 28px;
    max-width: 62vw;
  }
}

/* Floating contact actions (WhatsApp + Call) */
.contact-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 100040;
  display: grid;
  gap: 10px;
}

.contact-float-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(12, 10, 8, 0.22);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-float-btn svg {
  width: 22px;
  height: 22px;
}

.contact-float-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 32px rgba(12, 10, 8, 0.28);
}

.contact-float-btn.whatsapp {
  background: #25d366;
}

.contact-float-btn.phone {
  background: #0c0a08;
}

/* Keep custom cursor above off-canvas cart layers */
#cdot {
  z-index: 100120 !important;
}

#cring {
  z-index: 100119 !important;
}

:where(a, button, input, select, textarea, [role='button'], .pay-tab, .inst-pill, .filter-btn):focus-visible {
  outline: 2px solid var(--azure, #0057ff);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.18);
}

@media (max-width: 900px) {
  .container {
    padding: 0 20px;
  }

  footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  footer .footer-links {
    justify-content: center;
  }

  .cart-dock-btn {
    right: 10px;
  }

  .contact-float {
    right: 12px;
    bottom: 14px;
    gap: 8px;
  }

  .contact-float-btn {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
