/* Dukai storefront + central theme — loaded on top of app.css */

:root {
  --shop-emerald-50:  #ECFDF5;
  --shop-emerald-100: #D1FAE5;
  --shop-emerald-500: #10B981;
  --shop-emerald-600: #059669;
  --shop-emerald-700: #047857;
  --shop-rose-500:    #F43F5E;
  --shop-amber-500:   #F59E0B;
}

/* ---------- Hero gradients ---------- */
.shop-hero-gradient {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18) 0, transparent 45%),
              linear-gradient(135deg, #10B981 0%, #0D9488 55%, #0F766E 100%);
}
.central-hero-gradient {
  /* Brand gradient — matches the Dukai logo artwork exactly. */
  background: radial-gradient(circle at 80% 10%, rgba(255,255,255,0.18) 0, transparent 45%),
              linear-gradient(135deg, #5B52F6 0%, #4F46E5 50%, #311068 100%);
}
/* Reusable logo-theme gradient for banners / CTAs on the marketplace. */
.brand-gradient {
  background: linear-gradient(135deg, #5B52F6 0%, #4F46E5 50%, #311068 100%);
}

/* ---------- Product card ---------- */
.shop-card {
  border-radius: 1rem; /* rounded-2xl */
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}
.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(15,23,42,0.18);
}
.shop-card:active { transform: translateY(0); }

.shop-card img {
  transition: transform 320ms ease;
}
.shop-card:hover img { transform: scale(1.04); }

.shop-card .price-strike {
  text-decoration: line-through;
  color: rgb(148,163,184);
}

.shop-badge-sale {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--shop-emerald-600);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px -4px rgba(5,150,105,0.5);
}
.shop-badge-new {
  background: var(--shop-amber-500);
  box-shadow: 0 4px 12px -4px rgba(245,158,11,0.55);
}

/* ---------- Category circle ---------- */
.shop-cat-circle {
  width: 64px; height: 64px;
  border-radius: 1rem;
  background: var(--shop-emerald-50);
  display: grid; place-items: center;
  font-size: 1.75rem;
  ring: 1px solid var(--shop-emerald-100);
  overflow: hidden;
  transition: transform 160ms ease, background-color 160ms ease;
}
.shop-cat-circle:hover { background: var(--shop-emerald-100); transform: scale(1.05); }
.shop-cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  text-align: center;
  min-width: 64px;
}

/* Horizontal scroll category strip on mobile */
@media (max-width: 639px) {
  .shop-cat-scroll {
    display: flex !important;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .shop-cat-scroll > * {
    scroll-snap-align: start;
    flex: 0 0 auto;
  }
}

/* hide scrollbar but stay scrollable */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ---------- Sticky mobile search header ---------- */
@media (max-width: 639px) {
  .shop-sticky-search {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px -8px rgba(15,23,42,0.2);
  }
}

/* ---------- Skeleton loaders ---------- */
@keyframes shop-skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.shop-skeleton {
  background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 40%, #F1F5F9 80%);
  background-size: 800px 100%;
  animation: shop-skeleton-shimmer 1.4s infinite linear;
  border-radius: 0.75rem;
}
.shop-skeleton-card {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgb(226,232,240);
}
.shop-skeleton-card .img   { aspect-ratio: 1/1; }
.shop-skeleton-card .title { height: 14px; margin: 12px 12px 6px; width: 70%; }
.shop-skeleton-card .price { height: 14px; margin: 6px 12px 12px; width: 40%; }

/* ---------- Loading spinner ---------- */
.shop-spinner {
  width: 28px; height: 28px;
  border-radius: 9999px;
  border: 3px solid rgba(16,185,129,0.18);
  border-top-color: var(--shop-emerald-600);
  animation: shop-spin 0.9s linear infinite;
}
@keyframes shop-spin { to { transform: rotate(360deg); } }

/* ---------- Cart pill ---------- */
.shop-cart-pill {
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.35), 0 6px 12px -6px rgba(0,0,0,0.25);
}

/* ---------- Hero carousel ---------- */
.shop-carousel-slide {
  transition: opacity 600ms ease;
}
.shop-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.5);
  transition: width 220ms ease, background-color 220ms ease;
}
.shop-carousel-dot.active {
  width: 24px;
  background: #fff;
}

/* ---------- Tap targets — guarantee 48px minimum on storefront pages ---------- */
.shop-tap, .shop-bottombar a, .shop-bottombar button {
  min-height: 48px;
  min-width: 48px;
}

/* ---------- Mobile bottom bar safe-area ---------- */
.shop-bottombar {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Floating cart pill rides above the bottombar */
.shop-cart-pill-mount {
  bottom: calc(4rem + env(safe-area-inset-bottom));
}
@media (min-width: 640px) {
  .shop-cart-pill-mount { bottom: 1rem; }
}

/* ---------- Empty state illustration container ---------- */
.shop-empty {
  border-radius: 1.5rem;
  background: linear-gradient(160deg, #F8FAFC 0%, #F1F5F9 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}
.shop-empty .icon {
  font-size: 4rem;
  filter: drop-shadow(0 4px 6px rgba(15,23,42,0.1));
}

/* ---------- Print-quality typography for the about page ---------- */
.shop-about p     { margin: 0.75rem 0; line-height: 1.65; }
.shop-about h1,
.shop-about h2,
.shop-about h3   { font-weight: 700; margin-top: 1.5rem; }
.shop-about ul   { list-style: disc; margin-left: 1.25rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .shop-card,
  .shop-card img,
  .shop-cat-circle,
  .shop-skeleton,
  .shop-spinner,
  .shop-carousel-slide,
  .shop-carousel-dot { transition: none !important; animation: none !important; }
}

/* ============================================================
   Marazzo-flavored utilities — these mimic the look of the
   Marazzo Bootstrap 3 template but stay in Tailwind/Alpine land
   so we don't drag jQuery / Bootstrap 3 into the project.
   Used by /central + /shop/{slug}/* pages.
   ============================================================ */

/* ---------- Card: product cards on grids ---------- */
.mz-card {
  position: relative;
  background: #fff;
  border: 1px solid rgb(226, 232, 240);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.mz-card:hover {
  transform: translateY(-2px);
  border-color: rgb(199, 210, 254);
  box-shadow: 0 16px 36px -16px rgba(15, 23, 42, 0.2);
}
.mz-card .mz-card-img {
  position: relative;
  aspect-ratio: 1/1;
  background: #F8FAFC;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mz-card .mz-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 320ms ease;
}
.mz-card:hover .mz-card-img img { transform: scale(1.05); }

.mz-card .mz-hover-actions {
  position: absolute; inset: auto 0 0 0;
  display: flex; gap: 0.4rem; justify-content: center;
  padding: 0.6rem; background: linear-gradient(0deg, rgba(0,0,0,0.0), rgba(0,0,0,0));
  transform: translateY(110%);
  transition: transform 240ms ease;
}
.mz-card:hover .mz-hover-actions { transform: translateY(0); }
.mz-hover-actions button,
.mz-hover-actions a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid rgb(226, 232, 240);
  border-radius: 9999px;
  font-size: 0.95rem;
  color: rgb(71, 85, 105);
  box-shadow: 0 6px 14px -6px rgba(15, 23, 42, 0.18);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.mz-hover-actions button:hover,
.mz-hover-actions a:hover {
  background: rgb(79, 70, 229);
  color: #fff;
  border-color: rgb(79, 70, 229);
}
.mz-card.shop-themed .mz-hover-actions button:hover,
.mz-card.shop-themed .mz-hover-actions a:hover {
  background: var(--shop-emerald-600);
  border-color: var(--shop-emerald-600);
}

.mz-sale-tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: rgb(225, 29, 72); /* rose-600 */
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  box-shadow: 0 6px 14px -6px rgba(225, 29, 72, 0.5);
}
/* Placeholder image (broken / missing) — 'contain' so the SVG art isn't cropped. */
.mz-card .mz-card-img img.mz-img-ph { object-fit: contain; padding: 12%; background: #f1f5f9; }
.mz-card:hover .mz-card-img img.mz-img-ph { transform: none; }

/* Animated sale tag — gradient pulse + periodic shine sweep to grab the eye. */
.mz-sale-anim {
  background: linear-gradient(120deg, #e11d48 0%, #f43f5e 50%, #e11d48 100%);
  background-size: 200% 100%;
  animation: mz-sale-pulse 1.8s ease-in-out infinite, mz-sale-shine 3s linear infinite;
  overflow: hidden;
}
@keyframes mz-sale-pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 6px 14px -6px rgba(225,29,72,0.5); }
  50%      { transform: scale(1.08); box-shadow: 0 8px 20px -6px rgba(225,29,72,0.75); }
}
@keyframes mz-sale-shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .mz-sale-anim { animation: none; }
}
.mz-new-tag {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: var(--shop-emerald-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
}
.mz-out-tag {
  background: rgb(100, 116, 139);
}

.mz-card-body { padding: 0.85rem 1rem; }
.mz-card-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(100, 116, 139);
}
.mz-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(15, 23, 42);
  margin: 0.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.mz-card-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.5rem;
  font-variant-numeric: tabular-nums;
  /* The trailing "Save ₹X" used to get clipped at narrower
     breakpoints (5-up / 6-up grids). flex-wrap + min-width:0 lets
     it drop onto a second line instead. */
  min-width: 0;
}
.mz-card-price .now {
  font-size: 1rem; font-weight: 800;
  color: rgb(15, 23, 42);
  white-space: nowrap;
}
.mz-card-price .was {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: rgb(148, 163, 184);
  white-space: nowrap;
}
.mz-card-price .off {
  font-size: 0.75rem; font-weight: 700;
  color: rgb(5, 150, 105);
  white-space: nowrap;
}

/* ---------- Star rating (CSS-only) ---------- */
.mz-stars {
  --pct: 0%;
  display: inline-flex;
  position: relative;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 1px;
  color: rgb(226, 232, 240);
  background: linear-gradient(90deg, rgb(245, 158, 11) var(--pct), rgb(226, 232, 240) var(--pct));
  -webkit-background-clip: text;
  background-clip: text;
}
.mz-stars::before { content: "★★★★★"; }
.mz-stars.t::before { -webkit-text-fill-color: transparent; }

/* ---------- Primary / secondary CTAs ---------- */
.mz-cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  background: rgb(79, 70, 229); /* indigo-600 — central */
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px -10px rgba(79, 70, 229, 0.55);
  transition: transform 140ms ease, background-color 140ms ease;
}
.mz-cta-primary:hover { background: rgb(67, 56, 202); transform: translateY(-1px); }
.mz-cta-primary:active { transform: translateY(0); }
.mz-cta-primary.shop-themed {
  background: var(--shop-emerald-600);
  box-shadow: 0 10px 22px -10px rgba(5, 150, 105, 0.55);
}
.mz-cta-primary.shop-themed:hover { background: var(--shop-emerald-700); }

.mz-cta-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgb(226, 232, 240);
  color: rgb(30, 41, 59);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.mz-cta-secondary:hover { background: rgb(248, 250, 252); border-color: rgb(203, 213, 225); }

/* ---------- Section header ---------- */
.mz-section-h {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgb(226, 232, 240);
  padding-bottom: 0.5rem;
}
.mz-section-h h2 {
  font-size: 1.25rem; font-weight: 800;
  color: rgb(15, 23, 42);
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: -1px;
}
.mz-section-h h2::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgb(79, 70, 229);
}
.mz-section-h.shop-themed h2::after { background: var(--shop-emerald-600); }

/* ---------- Feature strip (Shipping/Returns/24x7/Pay) ---------- */
.mz-feature-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 640px) { .mz-feature-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mz-feature {
  display: flex; align-items: center; gap: 0.85rem;
  background: #fff;
  border: 1px solid rgb(226, 232, 240);
  border-radius: 1rem;
  padding: 1rem;
  font-size: 0.85rem;
  transition: border-color 200ms ease, transform 200ms ease;
}
.mz-feature:hover { border-color: rgb(199, 210, 254); transform: translateY(-1px); }
.mz-feature .ico {
  width: 44px; height: 44px;
  border-radius: 9999px;
  background: rgb(238, 242, 255);
  color: rgb(79, 70, 229);
  display: grid; place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.mz-feature.shop-themed .ico {
  background: var(--shop-emerald-50);
  color: var(--shop-emerald-700);
}
.mz-feature .t { font-weight: 700; color: rgb(15, 23, 42); }
.mz-feature .d { color: rgb(100, 116, 139); font-size: 0.75rem; }

/* ---------- Stepper (qty +/-) ---------- */
.mz-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid rgb(226, 232, 240);
  border-radius: 0.625rem;
  overflow: hidden;
  background: #fff;
}
.mz-stepper button {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-size: 1.1rem; color: rgb(71, 85, 105);
  background: transparent;
  transition: background-color 140ms ease;
}
.mz-stepper button:hover { background: rgb(248, 250, 252); }
.mz-stepper input {
  width: 44px; height: 36px;
  text-align: center;
  background: transparent;
  border: none; outline: none;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Filter sidebar ---------- */
.mz-filter-block {
  background: #fff;
  border: 1px solid rgb(226, 232, 240);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.mz-filter-block h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(71, 85, 105);
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgb(226, 232, 240);
}
.mz-filter-block ul li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: rgb(30, 41, 59);
}
.mz-filter-block ul li a {
  color: rgb(30, 41, 59);
  transition: color 140ms ease;
}
.mz-filter-block ul li a:hover { color: rgb(79, 70, 229); }
.mz-filter-block ul li .n { font-size: 0.75rem; color: rgb(148, 163, 184); }

/* ---------- Pagination ---------- */
.mz-pager {
  display: inline-flex; gap: 0.35rem; align-items: center;
}
.mz-pager a, .mz-pager span {
  min-width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  padding: 0 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(226, 232, 240);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(30, 41, 59);
  background: #fff;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.mz-pager a:hover { background: rgb(238, 242, 255); border-color: rgb(199, 210, 254); color: rgb(79, 70, 229); }
.mz-pager .active { background: rgb(79, 70, 229); border-color: rgb(79, 70, 229); color: #fff; }
.mz-pager .disabled { opacity: 0.4; pointer-events: none; }

/* ---------- Breadcrumbs ---------- */
.mz-crumbs {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  font-size: 0.8rem;
  color: rgb(100, 116, 139);
}
.mz-crumbs a { color: rgb(71, 85, 105); }
.mz-crumbs a:hover { color: rgb(79, 70, 229); }
.mz-crumbs .sep { color: rgb(148, 163, 184); }

/* ---------- Order timeline step indicator ---------- */
.mz-step-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 1.5rem 0;
}
.mz-step {
  text-align: center;
  position: relative;
  font-size: 0.75rem;
  color: rgb(148, 163, 184);
}
.mz-step .dot {
  width: 28px; height: 28px;
  margin: 0 auto 0.4rem;
  border-radius: 9999px;
  background: #fff;
  border: 2px solid rgb(203, 213, 225);
  display: grid; place-items: center;
  font-size: 0.75rem;
  color: rgb(148, 163, 184);
  position: relative; z-index: 1;
}
.mz-step::before {
  content: ""; position: absolute;
  top: 13px; left: 0; right: 0;
  height: 2px; background: rgb(226, 232, 240);
  z-index: 0;
}
.mz-step:first-child::before { left: 50%; }
.mz-step:last-child::before  { right: 50%; }
.mz-step.done .dot {
  background: rgb(5, 150, 105);
  border-color: rgb(5, 150, 105);
  color: #fff;
}
.mz-step.done { color: rgb(15, 23, 42); font-weight: 600; }
.mz-step.done::before { background: rgb(5, 150, 105); }
.mz-step.current .dot {
  background: rgb(79, 70, 229);
  border-color: rgb(79, 70, 229);
  color: #fff;
  animation: mz-step-pulse 1.4s ease-in-out infinite;
}
.mz-step.current { color: rgb(15, 23, 42); font-weight: 700; }
@keyframes mz-step-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0); }
}

/* ---------- Tabs (product detail) ---------- */
.mz-tabs {
  display: flex; gap: 0.5rem;
  border-bottom: 1px solid rgb(226, 232, 240);
  margin-bottom: 1rem;
}
.mz-tab {
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(71, 85, 105);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 140ms ease, border-color 140ms ease;
}
.mz-tab.active,
.mz-tab:hover {
  color: rgb(79, 70, 229);
  border-bottom-color: rgb(79, 70, 229);
}
.mz-tabs.shop-themed .mz-tab.active,
.mz-tabs.shop-themed .mz-tab:hover {
  color: var(--shop-emerald-700);
  border-bottom-color: var(--shop-emerald-600);
}

/* ---------- Footer ---------- */
.mz-footer {
  background: rgb(15, 23, 42);
  color: rgb(203, 213, 225);
  padding: 3rem 0 0 0;
}
.mz-footer h4 {
  color: #fff; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.mz-footer a { color: rgb(203, 213, 225); transition: color 140ms ease; }
.mz-footer a:hover { color: #fff; }
.mz-footer .mz-footer-bottom {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgb(148, 163, 184);
}

/* ---------- Step indicator for checkout ---------- */
.mz-checkout-steps {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.mz-checkout-step {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem;
  color: rgb(100, 116, 139);
}
.mz-checkout-step .n {
  width: 26px; height: 26px;
  border-radius: 9999px;
  background: rgb(226, 232, 240);
  color: rgb(100, 116, 139);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
}
.mz-checkout-step.active .n,
.mz-checkout-step.done .n {
  background: var(--shop-emerald-600);
  color: #fff;
}
.mz-checkout-step.active,
.mz-checkout-step.done {
  color: rgb(15, 23, 42);
  font-weight: 600;
}
.mz-checkout-divider {
  flex: 1;
  height: 2px;
  background: rgb(226, 232, 240);
}
.mz-checkout-divider.done { background: var(--shop-emerald-600); }


/* ---------- Wishlist heart on product cards ---------- */
.mz-wish-btn {
  position: absolute; top: 8px; right: 8px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-size: 20px; line-height: 1;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  transition: transform 140ms ease;
  z-index: 2;
}
.mz-wish-btn:active { transform: scale(0.88); }
.mz-wish-btn.wished { animation: wish-pop 280ms cubic-bezier(.16,1,.3,1); }
@keyframes wish-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ---------- Mobile card compaction ----------
   Names used to render large with price + MRP wrapping to a second line,
   making every card (and the page) tall on phones. */
@media (max-width: 640px) {
  .mz-card-title { font-size: 0.78rem; min-height: 2.15em; margin: 0.15rem 0; }
  .mz-card-brand { font-size: 0.62rem; }
  .mz-card-price { gap: 0.2rem 0.35rem; }
  .mz-card-price .now { font-size: 0.92rem; }
  .mz-card-price .was { font-size: 0.72rem; }
  .mz-card-price .off { display: none; }   /* keep price + MRP on ONE line */
  .mz-card .mz-card-body { padding: 0.5rem 0.6rem 0.7rem; }
  .mz-wish-btn { width: 34px; height: 34px; font-size: 18px; }
}
