/* =========================================================
   MahakShop Custom WooCommerce Shop Page
   Scoped, RTL-first, premium, compatible with PYM filters
   ========================================================= */

body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag,
body.post-type-archive-product {
  background: #fbf8f1;
}

.mahak-home-premium .mahak-shop-page,
.mahak-shop-page {
  --mahak-shop-bg: #fbf8f1;
  --mahak-shop-card: var(--mahak-brand-surface);
  --mahak-shop-card-2: #ffffff;
  --mahak-shop-border: #ece2cf;
  --mahak-shop-border-2: #e4d7be;
  --mahak-shop-text: #2b2418;
  --mahak-shop-muted: #7d7568;
  --mahak-shop-accent: var(--mahak-brand-primary);
  --mahak-shop-accent-hover: var(--mahak-brand-primary-hover);
  --mahak-shop-accent-soft: rgba(var(--mahak-brand-primary-rgb), .10);
  --mahak-shop-gold: var(--mahak-brand-accent);
  --mahak-shop-danger: #c94232;
  --mahak-shop-shadow: 0 18px 45px rgba(64, 48, 20, .075);
  --mahak-shop-shadow-sm: 0 10px 24px rgba(64, 48, 20, .06);
  --mahak-shop-radius: 26px;
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 64px;
  direction: rtl;
  color: var(--mahak-shop-text);
  font-family: inherit;
}

.mahak-shop-page *,
.mahak-shop-page *::before,
.mahak-shop-page *::after { box-sizing: border-box; }

.mahak-shop-page a { color: inherit; text-decoration: none; }
.mahak-shop-page img { max-width: 100%; height: auto; display: block; }

/* Hero */
.mahak-shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--mahak-shop-border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 36%, rgba(185, 150, 69, .16), transparent 34%),
    linear-gradient(135deg, var(--mahak-brand-surface) 0%, #f9f1e5 100%);
  box-shadow: var(--mahak-shop-shadow);
  padding: 44px 54px 44px 42px;
}
.mahak-shop-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.78);
  pointer-events: none;
}
.mahak-shop-hero__content { position: relative; z-index: 2; max-width: 520px; }
.mahak-shop-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--mahak-shop-muted);
  font-size: 13px;
  font-weight: 600;
}
.mahak-shop-breadcrumb a:hover { color: var(--mahak-shop-accent); }
.mahak-shop-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
  letter-spacing: -1.4px;
  font-weight: 900;
  color: var(--mahak-shop-text);
}
.mahak-shop-hero p {
  margin: 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 2.05;
  color: var(--mahak-shop-muted);
  font-weight: 600;
}
.mahak-shop-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.mahak-shop-hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--mahak-shop-border);
  box-shadow: 0 8px 20px rgba(64,48,20,.045);
  font-size: 13px;
  font-weight: 800;
  color: #49412f;
}
.mahak-shop-hero__badges i {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mahak-shop-accent-soft);
  color: var(--mahak-shop-accent);
  font-style: normal;
  font-size: 13px;
}
.mahak-shop-hero__image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
}
.mahak-shop-hero__image img {
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(64,48,20,.18));
}

/* Toolbar */
.mahak-shop-toolbar {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--mahak-shop-border);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--mahak-shop-shadow-sm);
}
.mahak-shop-toolbar__right,
.mahak-shop-toolbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mahak-shop-toolbar__left { justify-content: flex-end; }
.mahak-shop-result-count {
  color: var(--mahak-shop-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.mahak-shop-filter-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--mahak-shop-border-2);
  border-radius: 14px;
  background: rgba(var(--mahak-brand-primary-rgb), .035);
  color: var(--mahak-shop-text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}
.mahak-shop-filter-button:hover { border-color: rgba(var(--mahak-brand-primary-rgb), .35); color: var(--mahak-shop-accent); }
.mahak-shop-filter-button svg { width: 18px; height: 18px; }
.mahak-shop-ordering select {
  height: 44px;
  min-width: 185px;
  border: 1px solid var(--mahak-shop-border);
  border-radius: 14px;
  background: var(--mahak-brand-surface);
  color: var(--mahak-shop-text);
  padding: 0 14px;
  font-family: inherit;
  font-weight: 750;
  outline: none;
}
.mahak-shop-ordering select:focus { border-color: rgba(var(--mahak-brand-primary-rgb), .45); box-shadow: 0 0 0 4px var(--mahak-shop-accent-soft); }
.mahak-shop-active-filters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
}
.mahak-shop-chip,
.mahak-shop-clear-all {
  border: 1px solid var(--mahak-shop-border);
  background: #f7f0e2;
  color: #5a4d32;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.mahak-shop-chip b { font-size: 15px; color: var(--mahak-shop-accent); }
.mahak-shop-clear-all { background: transparent; color: var(--mahak-shop-accent); border-color: transparent; }

/* Layout */
.mahak-shop-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 26px;
  margin-top: 30px;
  align-items: start;
}
.mahak-shop-sidebar { position: relative; min-width: 0; }
.mahak-shop-content { min-width: 0; }
.mahak-shop-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  min-height: 240px;
  transition: opacity .2s ease, filter .2s ease;
}
.mahak-shop-products.loading {
  opacity: .55;
  filter: blur(1px);
  pointer-events: none;
}

/* Product card - Masala */
.mahak-shop-page .product-card--masala {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  border-radius: 20px;
  background: var(--mahak-brand-surface);
  border: 1px solid var(--mahak-shop-border);
  box-shadow: 0 12px 26px rgba(64,48,20,.07);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mahak-shop-page .product-card--masala:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--mahak-brand-primary-rgb), .28);
  box-shadow: 0 18px 34px rgba(64,48,20,.11);
}
.mahak-shop-page .product-card__media--masala {
  position: relative;
  display: grid;
  place-items: center;
  height: 178px;
  margin: 10px 10px 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(var(--mahak-brand-primary-rgb), .045) 0%, rgba(var(--mahak-brand-primary-rgb), .035) 100%);
  overflow: hidden;
}
.mahak-shop-page .product-card__media--masala::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 18px;
  left: 15%;
  bottom: 15px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(60,40,15,.12), transparent 70%);
  pointer-events: none;
}
.mahak-shop-page .product-card__image {
  position: relative;
  z-index: 2;
  width: 86%;
  height: 142px;
  object-fit: contain;
  transition: transform .22s ease;
}
.mahak-shop-page .product-card--masala:hover .product-card__image { transform: scale(1.035); }
.mahak-shop-page .product-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(222,211,190,.9);
  color: #a49675;
}
.mahak-shop-page .product-card__fav svg { width: 17px; height: 17px; }
.mahak-shop-page .product-card__body--masala {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 14px 12px;
}
.mahak-shop-page .product-card__subtitle {
  order: 2;
  margin-top: 4px;
  color: #9a8d76;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
}
.mahak-shop-page .product-card__title {
  order: 1;
  margin: 0;
  min-height: 48px;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 900;
  color: var(--mahak-shop-text);
}
.mahak-shop-page .product-card__title a:hover { color: #241726; }
.mahak-shop-page .product-card__rating-row {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 9px;
  min-height: 20px;
}
.mahak-shop-page .product-card__stars {
  display: inline-flex;
  gap: 1px;
  color: #d6c7a6;
  font-size: 12px;
  letter-spacing: 0;
}
.mahak-shop-page .product-card__stars .is-full { color: #d5a12e; }
.mahak-shop-page .product-card__rating-count {
  color: #9b907b;
  font-size: 11px;
  font-weight: 800;
}
.mahak-shop-page .product-card__price-row--masala {
  order: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 12px;
  min-height: 36px;
  min-width: 0;
}
.mahak-shop-page .product-card__price-row--masala .product-card__price-icon {
  flex-shrink: 0;
}
/* Inline price layout: current + old (line-through, slightly blurred) */
.mahak-shop-page .product-card__price {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--mahak-shop-text);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.mahak-shop-page .product-card__price-current {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--mahak-shop-text);
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
}
.mahak-shop-page .product-card__price-current > span { font-size: 13.5px; font-weight: 900; }
.mahak-shop-page .product-card__price-current small {
  font-size: 10px;
  font-weight: 700;
  color: var(--mahak-shop-muted, #80766a);
  margin-right: 2px;
}
.mahak-shop-page .product-card__price-old {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: #9a9182;
  opacity: .7;
  filter: blur(.5px);
  text-decoration: none;
  text-decoration-thickness: 0;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: filter .2s ease, opacity .2s ease;
}
.mahak-shop-page .product-card__price-old:hover { filter: blur(.5px); opacity: .95; }
.mahak-shop-page .product-card__price-old > span { font-size: 11px; }
.mahak-shop-page .product-card__price-old small {
  font-size: 9px;
  font-weight: 600;
  margin-right: 1px;
}
.mahak-shop-page .product-card__price .amount { font-weight: 950; }
.mahak-shop-page .product-card__price del {
  color: #aaa091;
  opacity: .7;
  filter: blur(.5px);
  font-size: 11px;
  font-weight: 600;
}
.mahak-shop-page .product-card__price ins { text-decoration: none; color: var(--mahak-shop-text); }
.mahak-shop-page .product-card__sale-badge {
  min-width: 34px;
  min-height: 22px;
  padding: 2px 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(201,66,50,.10);
  color: var(--mahak-shop-danger);
  font-size: 11px;
  font-weight: 950;
}
.mahak-shop-page .product-card__actions--masala {
  order: 5;
  margin-top: auto;
  padding-top: 12px;
  display: grid;
  grid-template-columns: .86fr 1.24fr;
  gap: 8px;
}
.mahak-shop-page .product-card__button {
  min-height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 950;
  transition: .2s ease;
  white-space: nowrap;
}
.mahak-shop-page .product-card__button--primary {
  background: var(--mahak-shop-accent);
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(var(--mahak-brand-primary-rgb), .18);
}
.mahak-shop-page .product-card__button--primary:hover { background: var(--mahak-shop-accent-hover); color: #fff !important; }
.mahak-shop-page .product-card__button--secondary {
  background: rgba(var(--mahak-brand-primary-rgb), .035);
  color: var(--mahak-shop-accent);
  border: 1px solid var(--mahak-shop-border);
}
.mahak-shop-page .product-card__button--secondary:hover { border-color: rgba(var(--mahak-brand-primary-rgb), .35); background: #f7f0de; }
.added_to_cart.wc-forward { display: none !important; }

/* PYM Filter integration */
.mahak-shop-page .pymfilt {
  --pymfilt-primary: var(--mahak-shop-accent) !important;
  --pymfilt-primary-hover: var(--mahak-shop-accent-hover) !important;
  --pymfilt-heading: var(--mahak-shop-text) !important;
  --pymfilt-muted: var(--mahak-shop-muted) !important;
  --pymfilt-soft-border: var(--mahak-shop-border) !important;
  --pymfilt-bg: var(--mahak-shop-card) !important;
  --pymfilt-shadow: var(--mahak-shop-shadow-sm) !important;
  width: 100%;
}
.mahak-shop-page .pymfilt-card {
  width: 100% !important;
  border-radius: 22px !important;
  border-color: var(--mahak-shop-border) !important;
  background: rgba(255,255,255, .92) !important;
  box-shadow: var(--mahak-shop-shadow-sm) !important;
  padding: 16px !important;
}
.mahak-shop-page .pymfilt-card--sticky { top: 22px !important; }
.mahak-shop-page .pymfilt-header__title { font-weight: 950 !important; }
.mahak-shop-page .pymfilt-header__subtitle { color: var(--mahak-shop-muted) !important; }
.mahak-shop-page .pymfilt-header__icon,
.mahak-shop-page .pymfilt-checkbox,
.mahak-shop-page .pymfilt-radio { background: var(--mahak-shop-accent-soft) !important; color: var(--mahak-shop-accent) !important; }
.mahak-shop-page .pymfilt-section {
  border-radius: 18px !important;
  border-color: var(--mahak-shop-border) !important;
  background: var(--mahak-brand-surface) !important;
}
.mahak-shop-page .pymfilt-section__header { min-height: 48px !important; }
.mahak-shop-page .pymfilt-section__title { font-weight: 950 !important; }
.mahak-shop-page .pymfilt-option,
.mahak-shop-page .pymfilt-toggle,
.mahak-shop-page .pymfilt-rating {
  border-radius: 14px !important;
}
.mahak-shop-page .pymfilt-button--primary { background: var(--mahak-shop-accent) !important; }
.mahak-shop-page .pymfilt-button--primary:hover { background: var(--mahak-shop-accent-hover) !important; }
.mahak-shop-page .pymfilt-active,
.mahak-shop-page .pymfilt-chip { border-color: var(--mahak-shop-border) !important; background: #fbf6ec !important; }
.mahak-shop-page .pymfilt-mobile-trigger { display: none !important; }

.mahak-shop-delivery-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--mahak-shop-border);
  background: linear-gradient(180deg, var(--mahak-brand-surface) 0%, #f8f0e2 100%);
  box-shadow: var(--mahak-shop-shadow-sm);
  text-align: center;
}
.mahak-shop-delivery-card__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--mahak-shop-accent-soft);
  color: var(--mahak-shop-accent);
}
.mahak-shop-delivery-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 950; }
.mahak-shop-delivery-card p { margin: 0; color: var(--mahak-shop-muted); font-size: 13px; line-height: 1.9; font-weight: 650; }
.mahak-shop-delivery-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 15px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--mahak-shop-border-2);
  color: var(--mahak-shop-accent);
  font-size: 12px;
  font-weight: 900;
}

/* Pagination */
.mahak-shop-pagination { margin-top: 28px; }
.mahak-shop-pagination__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.mahak-shop-pagination__inner .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  border: 1px solid var(--mahak-shop-border);
  background: var(--mahak-brand-surface);
  color: var(--mahak-shop-text);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(64,48,20,.04);
}
.mahak-shop-pagination__inner .page-numbers.current {
  background: var(--mahak-shop-accent);
  color: #fff;
  border-color: var(--mahak-shop-accent);
}
.mahak-shop-pagination__inner a.page-numbers:hover { color: var(--mahak-shop-accent); border-color: rgba(var(--mahak-brand-primary-rgb), .35); }

/* Empty state */
.mahak-shop-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 190px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--mahak-shop-border);
  background: linear-gradient(135deg, var(--mahak-brand-surface) 0%, #f8f0e3 100%);
  box-shadow: var(--mahak-shop-shadow-sm);
  text-align: right;
}
.mahak-shop-empty__art { width: 122px; flex: 0 0 auto; }
.mahak-shop-empty h3 { margin: 0 0 8px; font-size: 18px; font-weight: 950; }
.mahak-shop-empty p { margin: 0; color: var(--mahak-shop-muted); font-size: 13px; line-height: 2; font-weight: 650; }
.mahak-shop-empty__button {
  margin-top: 16px;
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  background: var(--mahak-shop-accent);
  color: #fff;
  padding: 0 20px;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.mahak-shop-notice {
  padding: 18px;
  border-radius: 18px;
  background: #fff8ea;
  border: 1px solid var(--mahak-shop-border);
  color: var(--mahak-shop-text);
  font-weight: 800;
}

body.mahak-shop-filter-open { overflow: hidden; }

@media (max-width: 1180px) {
  .mahak-shop-page { width: min(100% - 28px, 1120px); }
  .mahak-shop-layout { grid-template-columns: 278px minmax(0, 1fr); gap: 18px; }
  .mahak-shop-products { gap: 14px; }
  .mahak-shop-page .product-card__media--masala { height: 158px; }
}

@media (max-width: 1024px) {
  .mahak-shop-hero { grid-template-columns: 1fr; padding: 32px; min-height: auto; }
  .mahak-shop-hero__image { order: -1; min-height: 180px; margin-bottom: 12px; }
  .mahak-shop-hero__image img { max-height: 210px; }
  .mahak-shop-layout { display: block; }
  .mahak-shop-sidebar { margin: 0; }
  .mahak-shop-sidebar .pymfilt > .pymfilt-card,
  .mahak-shop-delivery-card { display: none !important; }
  .mahak-shop-page .pymfilt-mobile-trigger { display: none !important; }
  .mahak-shop-filter-button { display: inline-flex; }
  .mahak-shop-content { margin-top: 20px; }
  .mahak-shop-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mahak-shop-page .pymfilt-backdrop { display: block !important; }
  .mahak-shop-page .pymfilt-drawer { display: block !important; }
}

@media (max-width: 780px) {
  .mahak-shop-page { width: min(100% - 20px, 720px); margin-top: 18px; }
  .mahak-shop-hero { border-radius: 24px; padding: 24px 18px; }
  .mahak-shop-hero h1 { font-size: 34px; }
  .mahak-shop-hero p { font-size: 14px; line-height: 2; }
  .mahak-shop-hero__badges { gap: 8px; margin-top: 20px; }
  .mahak-shop-hero__badges span { min-height: 36px; padding: 0 11px; font-size: 11.5px; }
  .mahak-shop-toolbar { grid-template-columns: 1fr; padding: 12px; border-radius: 18px; }
  .mahak-shop-toolbar__right,
  .mahak-shop-toolbar__left { justify-content: space-between; width: 100%; }
  .mahak-shop-ordering { width: 100%; }
  .mahak-shop-ordering select { width: 100%; min-width: 0; }
  .mahak-shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mahak-shop-page .product-card__media--masala { height: 138px; margin: 8px 8px 0; }
  .mahak-shop-page .product-card__image { height: 112px; }
  .mahak-shop-page .product-card__body--masala { padding: 11px 10px 10px; }
  .mahak-shop-page .product-card__title { font-size: 12.3px; min-height: 42px; line-height: 1.7; }
  .mahak-shop-page .product-card__subtitle { font-size: 10px; }
  .mahak-shop-page .product-card__rating-row { margin-top: 6px; }
  .mahak-shop-page .product-card__stars { font-size: 10px; }
  .mahak-shop-page .product-card__price { font-size: 11.5px; }
  .mahak-shop-page .product-card__actions--masala { grid-template-columns: 1fr; gap: 6px; padding-top: 9px; }
  .mahak-shop-page .product-card__button { min-height: 32px; font-size: 10.5px; }
  .mahak-shop-empty { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 380px) {
  .mahak-shop-products { grid-template-columns: 1fr; }
  .mahak-shop-page .product-card__media--masala { height: 170px; }
  .mahak-shop-page .product-card__image { height: 138px; }
}

/* =========================================================
   Fix archive/shop header outer white background
   فقط خود باکس هدر سفید باشد، نه کل عرض صفحه
   ========================================================= */
body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.single-product {
    background: var(--mahak-bg, var(--mahak-brand-bg)) !important;
}

body.woocommerce-shop .mahak-home-premium,
body.post-type-archive-product .mahak-home-premium,
body.tax-product_cat .mahak-home-premium,
body.tax-product_tag .mahak-home-premium,
body.single-product .mahak-home-premium {
    background: var(--mahak-bg, var(--mahak-brand-bg)) !important;
}

body.woocommerce-shop .site-header,
body.post-type-archive-product .site-header,
body.tax-product_cat .site-header,
body.tax-product_tag .site-header,
body.single-product .site-header {
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-shop .site-header .header-inner,
body.post-type-archive-product .site-header .header-inner,
body.tax-product_cat .site-header .header-inner,
body.tax-product_tag .site-header .header-inner,
body.single-product .site-header .header-inner {
    background: #ffffff !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 30px rgba(70, 58, 35, 0.08) !important;
    border: 1px solid rgba(var(--mahak-brand-primary-rgb), 0.14) !important;
}

body.woocommerce-shop .site-header > .container,
body.post-type-archive-product .site-header > .container,
body.tax-product_cat .site-header > .container,
body.tax-product_tag .site-header > .container,
body.single-product .site-header > .container,
body.woocommerce-shop .site-header > .mahak-container,
body.post-type-archive-product .site-header > .mahak-container,
body.tax-product_cat .site-header > .mahak-container,
body.tax-product_tag .site-header > .mahak-container,
body.single-product .site-header > .mahak-container {
    background: transparent !important;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid--masala {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid > .product-card {
  width: 100%;
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card--masala {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(216,188,114,.35);
  background: var(--mahak-brand-surface);
  box-shadow: var(--pc-shadow);
  transform: none;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card--masala:hover {
  transform: none;
  box-shadow: var(--pc-shadow);
  border-color: rgba(216,188,114,.35);
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__media--masala {
  height: 210px;
  margin: 0;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: auto;
  display: block;
  background: transparent;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__media--masala::after {
  content: none;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__media--masala .product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card--masala:hover .product-card__image {
  transform: none;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__body--masala {
  padding: 14px 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fef8ffba, #fdf2ff99);
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__head--masala {
  display: grid;
  grid-template-columns: 1fr 32px;
  align-items: start;
  gap: 10px;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__body--masala .product-card__title {
  min-height: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.2;
  text-align: right;
  color: #1f2514;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__body--masala .product-card__subtitle {
  margin: 4px 0 0;
  font-size: clamp(11px, .9vw, 12px);
  line-height: 1.5;
  text-align: right;
  color: var(--pc-muted);
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__brandmark {
  color: var(--mahak-brand-accent);
  font-size: 28px;
  justify-self: start;
  margin-top: 0;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__solid-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pc-divider) 8%, var(--pc-divider) 92%, transparent);
  margin: 12px 0 10px;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  direction: ltr;
  margin-top: 0;
  min-height: 0;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__rating-text {
  font-size: 12px;
  color: #45483c;
  font-weight: 700;
  direction: rtl;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__stars {
  display: inline-flex;
  gap: 4px;
  color: #d6a81d;
  direction: ltr;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__stars svg {
  width: 1em;
  height: 1em;
  font-size: 14px;
  fill: currentColor;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__stars svg:not(.is-full) {
  color: #d6c7a6;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-row--masala {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--pc-olive);
  min-height: 0;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-icon {
  font-size: 26px;
  color: var(--mahak-brand-primary);
  line-height: 1;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  color: var(--pc-olive);
  font-weight: 900;
  letter-spacing: -.035em;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price span {
  font-size: 18px;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price small {
  font-size: 11px;
  font-weight: 900;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  direction: rtl;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__button {
  height: 38px;
  min-height: 38px;
  border-radius: 10px;
  gap: 6px;
  font-size: 12px;
  border: 0;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__button svg {
  width: 1em;
  height: 1em;
  font-size: 14px;
  flex: 0 0 auto;
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__button--primary {
  background: linear-gradient(135deg, var(--mahak-brand-primary), var(--mahak-brand-primary-hover));
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(207,170,67,.45), 0 9px 20px rgba(88,86,28,.22);
}

.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__button--secondary {
  background: #fffefb;
  color: var(--mahak-brand-primary-dark);
  border: 2px solid #9a842a;
  box-shadow: 0 4px 12px rgba(86,73,30,.05);
}

@media (max-width: 1080px) {
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid--masala {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid--masala {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =========================================================
   PYM fix v1.5.1 — compact sale price in product cards
   Prevents discounted prices from overflowing shop cards.
   ========================================================= */
.mahak-shop-page .mahak-shop-products .product-card__price-row--masala,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-row--masala {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-icon,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-icon {
  flex: 0 0 auto !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-current,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 3px !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 62% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #2b2723 !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-current > span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current > span {
  font-size: clamp(12px, 1.05vw, 15px) !important;
  font-weight: 950 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-current small,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current small {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  color: #776f63 !important;
  flex: 0 0 auto !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-old,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 2px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 38% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #9d9487 !important;
  opacity: .66 !important;
  filter: blur(.32px) !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  text-decoration-thickness: 0 !important;
  text-decoration-color: rgba(120, 108, 91, .58) !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-old > span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old > span {
  font-size: 10px !important;
  font-weight: 650 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-old small,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old small {
  font-size: 8.5px !important;
  font-weight: 600 !important;
  flex: 0 0 auto !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-old:hover,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old:hover {
  opacity: .88 !important;
  filter: blur(.5px) saturate(.72) !important;
}

@media (max-width: 780px) {
  .mahak-shop-page .mahak-shop-products .product-card__price-current,
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current {
    max-width: 60% !important;
  }

  .mahak-shop-page .mahak-shop-products .product-card__price-old,
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old {
    max-width: 40% !important;
  }
}

/* v1.5.2 price hotfix: keep sale/current prices inside product cards */
.mahak-shop-page .product-card__price-row--masala {
  min-width: 0;
  overflow: hidden;
}
.mahak-shop-page .product-card__price,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: 7px !important;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  line-height: 1.2;
}
.mahak-shop-page .product-card__price-current,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current {
  display: inline-flex !important;
  align-items: baseline;
  gap: 3px;
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 0;
}
.mahak-shop-page .product-card__price-current > span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current > span {
  font-size: 13.5px !important;
  font-weight: 950;
}
.mahak-shop-page .product-card__price-current small,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current small {
  font-size: 9.5px !important;
  font-weight: 800;
}
.mahak-shop-page .product-card__price-old,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old {
  display: inline-flex !important;
  align-items: baseline;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 46%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .68;
  filter: blur(.5px);
  text-decoration: none;
  text-decoration-thickness: 0;
}
.mahak-shop-page .product-card__price-old > span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old > span {
  font-size: 10.5px !important;
  font-weight: 650 !important;
}
.mahak-shop-page .product-card__price-old small,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old small {
  font-size: 8.5px !important;
  font-weight: 650 !important;
}
.mahak-shop-page .product-card__price-old:hover,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old:hover {
  filter: blur(.5px);
  opacity: .9;
}

/* v1.5.3 final shop price containment: prevents sale price overflow in shop cards */
.mahak-shop-page .mahak-shop-products .product-card__price-row--masala,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-row--masala {
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-current,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current {
  flex: 0 1 auto !important;
  max-width: 64% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-current > span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current > span {
  font-size: clamp(12px, .92vw, 14px) !important;
  line-height: 1.2 !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-current small,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-current small {
  font-size: 9px !important;
  line-height: 1.2 !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-old,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old {
  flex: 1 1 auto !important;
  max-width: 36% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  opacity: .7 !important;
  filter: blur(.28px) !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-old > span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old > span {
  font-size: 10px !important;
}

.mahak-shop-page .mahak-shop-products .product-card__price-old small,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__price-old small {
  font-size: 8px !important;
}

/* =========================================================
   PYM v1.5.11 — Shop card actions spacing, no text break
   فاصله از لبه کارت حفظ می‌شود، اما دکمه افزودن به سبد فضای کافی دارد.
   ========================================================= */
.mahak-shop-page .mahak-shop-products .product-card__actions--masala,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala {
  box-sizing: border-box !important;
  width: calc(100% - 14px) !important;
  margin-inline: 7px !important;
  padding-inline: 0 !important;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr) !important;
  gap: 6px !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button {
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding-inline: 7px !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button span {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  line-height: 1.2 !important;
  letter-spacing: -.055em !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button--primary,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button--primary {
  font-size: 11px !important;
  gap: 5px !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button--secondary,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button--secondary {
  font-size: 10.8px !important;
  gap: 4px !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button svg,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button svg {
  flex: 0 0 13px !important;
  width: 13px !important;
  height: 13px !important;
}

@media (max-width: 720px) {
  .mahak-shop-page .mahak-shop-products .product-card__actions--masala,
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala {
    width: calc(100% - 10px) !important;
    margin-inline: 5px !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
}


/* =========================================================
   PYM v1.5.12 — Final shop buttons readability
   دکمه‌ها از لبه کارت فاصله دارند، ولی متن «مشاهده بیشتر» کامل دیده می‌شود.
   ========================================================= */
.mahak-shop-page .mahak-shop-products .product-card__actions--masala,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala {
  box-sizing: border-box !important;
  width: calc(100% - 18px) !important;
  max-width: calc(100% - 18px) !important;
  margin-inline: 9px !important;
  padding-inline: 0 !important;
  display: grid !important;
  gap: 7px !important;
  direction: rtl !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  padding-inline: 5px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button span {
  display: inline-block !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 17px) !important;
  width: auto !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-size: 10.6px !important;
  line-height: 1.2 !important;
  letter-spacing: -.06em !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button--secondary span,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button--secondary span {
  font-size: 10.4px !important;
  letter-spacing: -.065em !important;
}

.mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button svg,
.mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button svg {
  flex: 0 0 12px !important;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
}

@media (min-width: 721px) and (max-width: 1180px) {
  .mahak-shop-page .mahak-shop-products .product-card__actions--masala,
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala {
    width: calc(100% - 14px) !important;
    max-width: calc(100% - 14px) !important;
    margin-inline: 7px !important;
    gap: 6px !important;
  }

  .mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button,
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button {
    padding-inline: 4px !important;
  }

  .mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button span,
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button span {
    font-size: 10px !important;
    letter-spacing: -.07em !important;
  }
}

@media (max-width: 720px) {
  .mahak-shop-page .mahak-shop-products .product-card__actions--masala,
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala {
    width: calc(100% - 14px) !important;
    max-width: calc(100% - 14px) !important;
    margin-inline: 7px !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .mahak-shop-page .mahak-shop-products .product-card__actions--masala .product-card__button span,
  .mahak-shop-page .mahak-shop-products.featured-product-section__grid .product-card__actions--masala .product-card__button span {
    max-width: 100% !important;
    font-size: 11px !important;
    letter-spacing: -.04em !important;
  }
}


/* MahakShop Child v1.6.4 — no truncation for product card prices */
.mahak-shop-page .product-card .mahak-card-price,
.mahak-shop-page .product-card .mahak-card-price--single,
.mahak-shop-page .product-card .mahak-card-price--sale,
.mahak-shop-page .product-card .mahak-card-price__current,
.mahak-shop-page .product-card .mahak-card-price__old,
.mahak-shop-page .product-card del.mahak-card-price__old,
.mahak-shop-page .product-card .product-card__price,
.mahak-shop-page .product-card .product-card__price-current,
.mahak-shop-page .product-card .product-card__price-old,
.mahak-shop-page .product-card .product-card__old-price,
.mahak-shop-page .product-card .mahak-card-price__amount,
.mahak-shop-page .product-card .mahak-card-price__old .mahak-card-price__amount,
.mahak-shop-page .product-card .mahak-card-price__current .mahak-card-price__amount,
.mahak-shop-page .product-card .product-card__price-current > span,
.mahak-shop-page .product-card .product-card__price-old > span,
.mahak-shop-page .product-card .product-card__old-price > span {
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}
.mahak-shop-page .product-card .mahak-card-price__amount,
.mahak-shop-page .product-card .product-card__price-current > span,
.mahak-shop-page .product-card .product-card__price-old > span,
.mahak-shop-page .product-card .product-card__old-price > span {
  display: inline-block !important;
  flex: 0 0 auto !important;
}
.mahak-shop-page .product-card .mahak-card-price--sale,
.mahak-shop-page .product-card span.mahak-card-price--sale,
.mahak-shop-page .product-card p.mahak-card-price--sale {
  grid-template-columns: max-content max-content !important;
  justify-content: start !important;
}

/* MahakShop Child v1.6.17 — Shop/product cards title hover color lock */
html body:not(.wp-admin) .mahak-shop-page .product-card:hover h2.product-card__title a,
html body:not(.wp-admin) .mahak-shop-page .product-card:hover h3.product-card__title a,
html body:not(.wp-admin) .mahak-shop-page .product-card__title a:hover,
html body:not(.wp-admin) .mahak-shop-page .product-card__title a:focus-visible,
html body:not(.wp-admin) .mahak-wishlist-page .product-card__title a:hover,
html body:not(.wp-admin) .mahak-wishlist-page .product-card__title a:focus-visible {
  color: #241726 !important;
}
