/* ─── Cart Page — aligned with site design system ─── */

/* WooCommerce blockUI overlay — invisible */
.blockOverlay { opacity: 0 !important; }

.omx-cart-wrap {
  padding: var(--sp-xl) 0;
}

/* ─── Price Change Banner — Glassmorphism ─── */
.omx-price-banner[hidden] { display: none; }
.omx-price-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(124, 58, 237, .18);
  border: 1px solid rgba(139, 92, 246, .45);
  border-radius: 14px;
  padding: 13px 18px;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}

/* Label */
.omx-price-banner__label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a78bfa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 10px;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.25);
  border-radius: 8px;
}
.omx-price-banner__label svg { flex-shrink: 0; }

/* Items row */
.omx-price-banner__items {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  direction: rtl;
}

/* Each product = glass pill */
.omx-banner-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  white-space: nowrap;
}
.omx-banner-item.is-up   { border-color: rgba(239,68,68,.35);  background: rgba(239,68,68,.12);  }
.omx-banner-item.is-down { border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.1); }

.omx-banner-name  { font-weight: 700; color: #e2e8f0; }
.omx-banner-old   { color: #9ca3af; text-decoration: line-through; font-size: 12px; direction: ltr; }
.omx-banner-arrow { color: #6b7280; font-size: 11px; }
.omx-banner-new   { font-weight: 800; font-size: 14px; direction: ltr; }
.omx-banner-pct   { font-weight: 800; font-size: 12px; direction: ltr; padding: 2px 7px; border-radius: 5px; }

.omx-banner-item.is-up   .omx-banner-new { color: #fca5a5; }
.omx-banner-item.is-up   .omx-banner-pct { color: #fca5a5; background: rgba(239,68,68,.2); }
.omx-banner-item.is-down .omx-banner-new { color: #4ade80; }
.omx-banner-item.is-down .omx-banner-pct { color: #86efac; background: rgba(74,222,128,.18); }

.omx-price-banner__close {
  flex-shrink: 0;
  margin-inline-start: auto;
  background: none;
  border: none;
  color: var(--c-border-2);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color .15s;
}
.omx-price-banner__close:hover { color: var(--c-text); }

/* ─── Header — matches .shop-header pattern ─── */
.omx-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}
.omx-cart-continue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(99,17,185,.25);
  border-radius: var(--r-sm, 8px);
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.omx-cart-continue:hover {
  background: var(--c-accent-soft);
  border-color: rgba(99,17,185,.5);
  color: var(--c-accent);
}

/* ─── Two-column layout — same grid gap as shop ─── */
.omx-cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-lg);
  align-items: start;
}
@media (max-width: 900px) {
  .omx-cart-layout { grid-template-columns: 1fr; }
  .omx-cart-summary { order: -1; position: static; }
}

/* Safeguard — summary must never be invisible */
.omx-cart-summary {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ─── Cart Items List ─── */
.omx-cart-items {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg, 16px);
  overflow: hidden;
  background: var(--c-surface);
}

.omx-cart-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--c-surface);
  transition: background .15s;
  position: relative;
}
.omx-cart-item:hover {
  background: var(--c-surface-2);
  box-shadow: inset -3px 0 0 var(--c-accent);
}
.omx-cart-item + .omx-cart-item {
  border-top: 1px solid var(--c-border);
}

/* Image */
.omx-ci-img {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  border-radius: var(--r-md, 10px);
  overflow: hidden;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
}
.omx-ci-img a { display: block; width: 100%; height: 100%; }
.omx-ci-img img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.omx-ci-img:hover img { transform: scale(1.04); }

/* Body */
.omx-ci-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Top row: name + badge */
.omx-ci-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.omx-ci-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.omx-ci-name:hover { color: var(--c-accent); }

/* Per-item price change badge (inline with name) */
.omx-price-chg[hidden] { display: none; }
.omx-price-chg {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  margin-inline-start: auto;
}
.omx-price-chg.is-up {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.25);
  color: #fca5a5;
}
.omx-price-chg.is-down {
  background: linear-gradient(135deg, rgba(22,163,74,.3), rgba(74,222,128,.2));
  border: 1px solid rgba(74,222,128,.5);
  color: #4ade80;
  box-shadow: 0 0 10px rgba(74,222,128,.25);
  animation: omx-glow-pulse 2.2s ease-in-out infinite;
}
@keyframes omx-glow-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(74,222,128,.2); }
  50%       { box-shadow: 0 0 18px rgba(74,222,128,.55), 0 0 6px rgba(74,222,128,.3); }
}

/* Variation data */
.woocommerce-cart-item__data dl,
.variation dl { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.woocommerce-cart-item__data dt,
.variation dt { font-size: 12px; color: var(--c-text-2); font-weight: 500; }
.woocommerce-cart-item__data dd,
.variation dd { font-size: 12px; color: var(--c-border-2); margin: 0; }

/* Foot row */
.omx-ci-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}

/* Qty controls */
.omx-qty-wrap {
  display: flex;
  align-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm, 8px);
  overflow: hidden;
  height: 36px;
}
.omx-qty-btn {
  width: 36px; height: 36px;
  background: none; border: none;
  color: var(--c-border-2);
  font-size: 20px; font-weight: 300; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.omx-qty-btn:hover { background: var(--c-surface-3); color: var(--c-text); }
.omx-qty-input {
  width: 40px; height: 36px;
  background: none; border: none;
  border-inline: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 14px; font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}
.omx-qty-input::-webkit-outer-spin-button,
.omx-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.omx-qty-display {
  padding: 0 14px; height: 36px;
  color: var(--c-text); font-size: 14px; font-weight: 700;
  display: flex; align-items: center;
}

/* Subtotal */
.omx-ci-subtotal {
  font-size: 17px; font-weight: 800;
  color: var(--c-text);
  margin-inline-start: auto;
  white-space: nowrap; direction: ltr;
}

/* Actions */
.omx-ci-actions {
  display: flex; align-items: center; gap: 2px;
  border-inline-start: 1px solid var(--c-border);
  padding-inline-start: 10px;
  margin-inline-start: auto;
}
.omx-ci-actions-sep {
  display: inline-block;
  width: 1px; height: 12px;
  background: var(--c-border);
  margin: 0 3px;
}
.omx-save-btn {
  background: none; border: none;
  color: var(--c-accent);
  font-size: 12px; font-weight: 600;
  cursor: pointer; padding: 4px 7px;
  border-radius: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.omx-save-btn:hover { background: var(--c-accent-soft); }

/* ─── Variant Badges + Picker ─── */
.omx-ci-variants { margin: 6px 0 2px; }
.omx-ci-variant-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.omx-ci-variant-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.omx-ci-vbadge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c-border);
  border-radius: 6px; padding: 2px 8px;
  font-size: 11px; line-height: 1.6;
}
.omx-vb-label { color: var(--c-muted); }
.omx-vb-val   { color: var(--c-text); font-weight: 600; }
.omx-ci-change-btn {
  background: none; border: 1px solid var(--c-accent);
  color: var(--c-accent); font-size: 11px; font-weight: 600;
  border-radius: 6px; padding: 2px 9px; cursor: pointer;
  transition: background .15s, color .15s; white-space: nowrap;
}
.omx-ci-change-btn:hover { background: var(--c-accent); color: #fff; }

/* Picker */
.omx-ci-variant-picker { margin-top: 8px; }
.omx-vp-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.omx-vp-label { font-size: 11px; color: var(--c-muted); min-width: 48px; }
.omx-vp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.omx-vp-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c-border);
  color: var(--c-text); font-size: 12px;
  border-radius: 6px; padding: 3px 10px;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.omx-vp-chip:hover   { border-color: var(--c-accent); }
.omx-vp-chip.is-active {
  border-color: var(--c-accent);
  background: var(--c-accent-soft);
  color: var(--c-accent); font-weight: 700;
}
.omx-vp-actions { display: flex; gap: 8px; margin-top: 6px; }
.omx-vp-confirm {
  background: var(--c-accent); border: none;
  color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 8px; padding: 5px 16px; cursor: pointer;
  transition: opacity .15s;
}
.omx-vp-confirm:disabled { opacity: .5; cursor: default; }
.omx-vp-cancel {
  background: none; border: 1px solid var(--c-border);
  color: var(--c-muted); font-size: 12px;
  border-radius: 8px; padding: 5px 12px; cursor: pointer;
}

.omx-remove-btn {
  background: none; border: none;
  color: var(--c-border-2);
  font-size: 12px; font-weight: 600;
  cursor: pointer; padding: 4px 7px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.omx-remove-btn:hover { background: rgba(239,68,68,.08); color: #f87171; }

/* Remove animation */
.omx-cart-item.omx-removing {
  animation: omx-remove .45s ease-out forwards;
  pointer-events: none;
  overflow: hidden;
}
@keyframes omx-remove {
  0%   { opacity: 1; max-height: 160px; transform: scale(1);    filter: blur(0); }
  60%  { opacity: .3; transform: scale(.97); filter: blur(1px); }
  100% { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-width: 0; filter: blur(4px); }
}

/* Inline qty confirm — transforms the qty widget in place */
.omx-qty-wrap.is-confirming .omx-qty-btn,
.omx-qty-wrap.is-confirming .omx-qty-input { display: none; }

.omx-qty-confirm-btns {
  display: flex;
  gap: 6px;
  align-items: center;
  animation: omx-confirm-in .15s ease;
}
@keyframes omx-confirm-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.omx-confirm-yes {
  background: rgba(239, 68, 68, .15);
  border: 1px solid rgba(239, 68, 68, .35);
  border-radius: 7px;
  color: #fca5a5; font-size: 12px; font-weight: 700;
  padding: 5px 13px; cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.omx-confirm-yes:hover { background: rgba(239, 68, 68, .28); }
.omx-confirm-no {
  background: rgba(139, 92, 246, .12);
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 7px;
  color: #a78bfa; font-size: 12px; font-weight: 700;
  padding: 5px 13px; cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.omx-confirm-no:hover { background: rgba(139, 92, 246, .22); }

/* Hidden update button */
.omx-cart-update { display: none; }
.omx-update-cart-btn {
  display: block; width: 100%;
  padding: 11px;  margin-top: 10px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm, 8px);
  color: var(--c-border-2);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.omx-update-cart-btn:hover { background: var(--c-surface-3); color: var(--c-text); }

/* Empty state */
.omx-cart-empty {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  padding: 64px 24px; text-align: center;
  background: var(--c-surface);
  border-radius: var(--r-lg, 16px);
  border: 1px dashed var(--c-border);
}
.omx-cart-empty svg { color: var(--c-border); }
.omx-cart-empty p { font-size: 17px; font-weight: 700; color: var(--c-border-2); margin: 0; }

/* ─── Saved for Later ─── */
.omx-saved-section {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--c-border);
}

/* ─── Saved for Later cards ─── */
.omx-saved-count { display: none; }
.omx-saved-grid { gap: var(--s-5, 16px); }
#omxSavedGrid {
  grid-template-columns: repeat(4, 1fr) !important;
  align-items: start !important;
}

/* Saved card — thin wrapper around pc-card */
.omx-saved-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md, 10px);
  overflow: hidden;
}
/* pc-card inside loses its own radius — wrapper handles it */
.omx-saved-card .pc-card {
  flex: 1;
  border-radius: 0;
}

/* Price-change tag pushed to physical left so × doesn't overlap */
.omx-saved-card .pc-tag {
  right: auto;
  left: 8px;
}

/* × remove — physical top-right always */
.omx-saved-card__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.55);
  border: none; border-radius: 50%;
  color: #fff; font-size: 15px; line-height: 1;
  cursor: pointer; transition: background .15s;
  backdrop-filter: blur(4px);
}
.omx-saved-card__remove:hover { background: rgba(239,68,68,.75); }

/* Add-to-cart strip */
.omx-saved-card__add {
  display: block; width: 100%; padding: 9px 12px;
  background: var(--c-accent); border: none;
  color: #fff; font-size: 12px; font-weight: 700;
  cursor: pointer; text-align: center;
  transition: opacity .2s; letter-spacing: .01em;
}
.omx-saved-card__add:hover  { opacity: .85; }
.omx-saved-card__add:disabled { opacity: .5; cursor: not-allowed; }

/* Move-to-cart toast */
.omx-move-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--c-surface-2, #1e1e2e); color: var(--c-text, #fff);
  padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
  opacity: 0; transition: opacity .25s, transform .25s; z-index: 9999;
}
.omx-move-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Page-in transition handled by JS (initPageIn) */

/* Price-change badge colors */
.omx-sc-chg.pc-tag-down { background: rgba(74,222,128,.18) !important; color: #4ade80 !important; border-color: rgba(74,222,128,.4) !important; }
.omx-sc-chg.pc-tag-up   { background: rgba(239,68,68,.18)  !important; color: #fca5a5 !important; border-color: rgba(239,68,68,.4)  !important; }

/* ─── Summary Sidebar ─── */
@media (min-width: 901px) {
  .omx-cart-summary { position: sticky; top: 96px; }
}

.omx-summary-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg, 16px);
  padding: 22px 20px;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  transition: opacity .25s ease;
}
.omx-summary-title {
  font-size: 16px; font-weight: 800;
  color: var(--c-text); margin: 0 0 18px;
}

/* Totals */
.omx-totals {
  border-top: 1px solid var(--c-border);
  padding-top: 4px;
  margin-bottom: 16px;
}
.omx-totals-row {
  display: flex; justify-content: space-between;
  align-items: center; gap: 8px;
  padding: 10px 0;
  font-size: 14px; color: var(--c-text-2);
}
.omx-totals-row span:last-child {
  color: var(--c-text); font-weight: 600; direction: ltr;
}
.omx-totals-row--discount span:last-child { color: #4ade80; }

.omx-coupon-label-wrap { display: flex; align-items: center; gap: 8px; }
.omx-coupon-remove {
  font-size: 11px; color: var(--c-muted, #666);
  text-decoration: none; border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px; padding: 1px 6px;
  transition: color .15s, border-color .15s;
}
.omx-coupon-remove:hover { color: #f87171; border-color: rgba(248,113,113,.4); }
.omx-saving-amount { color: #4ade80; font-weight: 700; }
.omx-coupon-free-ship { color: #4ade80; font-weight: 700; font-size: 13px; }

/* السعر الأصلي — مشطوب خافت */
#omxRegularRow { opacity: .45; font-size: 13px; }

/* توفيرك — سطر نظيف بدون بطاقة */
.omx-totals-row--savings { border-bottom: none; }
.omx-savings-label {
  display: flex; align-items: center; gap: 7px;
  color: #4ade80; font-weight: 700; font-size: 14px;
}
.omx-savings-pct {
  font-size: 11px; font-weight: 800;
  color: #4ade80 !important;
}
.omx-totals-row--savings .omx-savings-amount {
  font-size: 16px !important; font-weight: 800; color: #4ade80 !important;
}

/* فاصل رفيع قبل الإجمالي */
.omx-totals-row--total {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-top: 6px;
  padding: 16px 0 !important;
  font-size: 15px; font-weight: 700; color: var(--c-text);
}
.omx-totals-row--total span:last-child {
  font-size: 30px; font-weight: 900; color: var(--c-accent);
  letter-spacing: -.5px;
}

/* Coupon */
.omx-coupon-wrap { margin-bottom: 16px; }
.omx-coupon-toggle {
  background: var(--c-accent-soft);
  border: 1px solid rgba(99,17,185,.2);
  border-radius: var(--r-sm, 8px);
  color: var(--c-accent);
  font-size: 13px; font-weight: 600;
  padding: 10px 16px; cursor: pointer;
  display: flex; align-items: center;
  gap: 7px; width: 100%; justify-content: center;
  transition: background .15s;
}
.omx-coupon-toggle:hover { background: rgba(99,17,185,.1); }
.omx-coupon-field { display: flex; gap: 8px; margin-top: 10px; }
.omx-coupon-input {
  flex: 1; padding: 10px 13px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm, 8px);
  color: var(--c-text); font-size: 13px;
  outline: none; transition: border-color .2s; direction: rtl;
}
.omx-coupon-input:focus { border-color: var(--c-accent); }
.omx-coupon-input::placeholder { color: var(--c-border-2); }
.omx-coupon-apply {
  padding: 10px 14px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm, 8px);
  color: var(--c-text); font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.omx-coupon-apply:hover { background: var(--c-surface-3); }

/* Checkout CTA — matches .btn-primary pattern */
.omx-checkout-btn {
  display: flex; align-items: center;
  justify-content: center; gap: 10px;
  width: 100%; padding: 15px 20px;
  background: var(--c-accent);
  border-radius: var(--r-md, 10px);
  color: #fff;
  font-size: 15px; font-weight: 800;
  text-decoration: none; letter-spacing: .01em;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px var(--c-accent-glow);
  margin-bottom: 20px;
}
.omx-checkout-btn:hover {
  background: var(--c-accent-h);
  transform: translateY(-1px);
}

/* Trust badges */
.omx-trust-badges {
  display: flex; flex-direction: column; gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.omx-trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; color: var(--c-border-2); font-weight: 500;
}
.omx-trust-item svg { flex-shrink: 0; color: var(--c-border-2); }


/* ─── Empty Cart ─── */
.omx-empty-cart { padding: var(--sp-xl) 0 40px; }

.omx-empty-cart__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 40px;
}

.omx-empty-cart__icon {
  position: relative;
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139, 92, 246, 0.10);
  border-radius: 50%;
  margin-bottom: 28px;
  animation: omx-hb 2.4s ease-in-out infinite;
  z-index: 0;
}

/* Aura ring 1 */
.omx-empty-cart__icon::before,
.omx-empty-cart__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(139, 92, 246, 0.5);
  animation: omx-aura 2.4s ease-out infinite;
  pointer-events: none;
}

/* Aura ring 2 — delayed */
.omx-empty-cart__icon::after {
  border-color: rgba(139, 92, 246, 0.3);
  animation-delay: 0.8s;
}

@keyframes omx-hb {
  0%,100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(139,92,246,.0); }
  15%     { transform: scale(1.12); box-shadow: 0 0 28px 6px rgba(139,92,246,.35); }
  30%     { transform: scale(0.95); }
  45%     { transform: scale(1.06); box-shadow: 0 0 16px 3px rgba(139,92,246,.2); }
  60%     { transform: scale(0.98); }
}

@keyframes omx-aura {
  0%   { transform: scale(1);    opacity: .7; }
  100% { transform: scale(2.0);  opacity: 0; }
}

.omx-empty-cart__title {
  font-size: 22px; font-weight: 800; color: var(--c-text);
  margin: 0 0 8px; letter-spacing: -.02em;
}

.omx-empty-cart__sub {
  font-size: 13px; color: var(--c-border-2);
  margin: 0 0 22px; line-height: 1.6;
}

.omx-empty-cart__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  background: var(--c-accent); color: #fff;
  font-size: 14px; font-weight: 700;
  border-radius: var(--r-md, 10px); text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 18px var(--c-accent-glow);
}
.omx-empty-cart__cta:hover { background: var(--c-accent-h); transform: translateY(-2px); }

.omx-empty-cat-row { margin-bottom: 40px; }
.omx-empty-cat-row:last-child { margin-bottom: 0; }

/* Empty cart rows: 5-column grid, no horizontal scroll */
.omx-empty-cat-row .products-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow-x: unset;
  scroll-snap-type: unset;
}

.omx-empty-cat-row .products-scroll .pc-card {
  flex: unset;
  width: auto;
  min-width: 0;
}

@media (max-width: 768px) {
  .omx-empty-cat-row .products-scroll {
    grid-template-columns: repeat(3, 1fr);
    overflow-x: auto;
  }
}

/* Compact text for 5-col grid — images stay square via aspect-ratio */
.omx-empty-cat-row .pc-card .pc-body  { padding: 10px 12px 12px; }
.omx-empty-cat-row .pc-card .pc-name  { font-size: 12px; }
.omx-empty-cat-row .pc-card .pc-meta  { font-size: 10px; }
.omx-empty-cat-row .pc-card .pc-foot  { padding-top: 8px; }
/* Price: reduce number + SAR symbol together so they stay proportional */
.omx-empty-cat-row .pc-card .pc-price b   { font-size: 18px; }
.omx-empty-cat-row .pc-card .pc-ccy       { font-size: 14px; }
.omx-empty-cat-row .pc-card .pc-price-old { font-size: 11px; }
.omx-empty-cat-row .pc-card .pc-inst      { font-size: 10px; }
/* Tighter grid rows to match smaller font sizes */
.omx-empty-cat-row .pc-card .pc-price-col { grid-template-rows: 14px 24px 16px; }

/* Override: force exactly 5 columns, no wrapping */
.omx-empty-cat-row .products-scroll {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  overflow-x: unset !important;
  flex-wrap: unset !important;
}


.omx-empty-cat-row .products-scroll .pc-card {
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
}

/* ─── Price wrap: strikethrough on top, main price below ─── */
.omx-ci-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.omx-ci-price-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
}
.omx-ci-price-regular {
  font-size: 12px;
  color: var(--c-border-2);
  text-decoration: line-through;
  direction: ltr;
  white-space: nowrap;
}

/* ─── Item discount: plain green text, no box ─── */
.omx-ci-discount-badge {
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  direction: ltr;
  white-space: nowrap;
}

/* ─── Savings row ─── */
.omx-totals-row--savings .omx-savings-amount {
  color: #4ade80;
  font-weight: 700;
}
.omx-totals-original {
  color: var(--c-border-2);
  text-decoration: line-through;
  font-size: 13px;
}

/* ─── Banner: all products inline ─── */
.omx-banner-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.omx-banner-divider {
  color: var(--c-border-2);
  margin: 0 8px;
}
#omxCartPriceBannerText {
  flex-wrap: wrap;
  row-gap: 4px;
}

/* ─── Installment Strip (Tabby / Tamara) ─── */
.omx-inst-strip {
  margin: 6px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.omx-inst-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-muted, #666);
  text-align: center;
}

.omx-inst-options {
  display: flex;
  align-items: center;
}

.omx-inst-option {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.omx-inst-sep {
  width: 1px;
  height: 22px;
  background: var(--c-border);
  flex-shrink: 0;
}

.omx-inst-brand {
  font-size: 13px;
  font-weight: 800;
}
.omx-inst-tabby  { color: #3DBFA8; }
.omx-inst-tamara { color: #F178B6; }

.omx-inst-price {
  display: flex;
  align-items: center;
  gap: 3px;
  direction: ltr;
  white-space: nowrap;
}
.omx-inst-price b {
  font-size: 15px;
  font-weight: 900;
  color: var(--c-text);
}
.omx-inst-x {
  font-size: 11px;
  color: var(--c-muted, #666);
}
.omx-inst-x4 {
  font-size: 10px;
  font-weight: 600;
  color: var(--c-muted, #666);
  white-space: nowrap;
}
