/* =========================================================
   MEDIA ARTS — SALLA FINAL CSS
   Full replacement file
   Brand colors preserved
   Dubai first, Cairo fallback
========================================================= */

:root {
  --ma-navy: #17345d;
  --ma-navy-dark: #102744;
  --ma-gold: #f5b51b;
  --ma-gold-dark: #d79b00;
  --ma-gold-soft: #fff8e3;
  --ma-white: #ffffff;
  --ma-soft: #f7f8fa;
  --ma-soft-2: #fbfcfd;
  --ma-text: #202939;
  --ma-muted: #667085;
  --ma-border: #e5e8ee;
  --ma-success: #25d366;
  --ma-shadow: 0 14px 38px rgba(23, 52, 93, 0.07);
  --ma-shadow-lg: 0 20px 55px rgba(23, 52, 93, 0.1);
  --ma-radius: 18px;
  --ma-radius-lg: 26px;
  --ma-font: "Dubai", "Cairo", "DIN Next Arabic", Tahoma, Arial, sans-serif;
}

/* =========================================================
   INITIAL VISIBILITY
========================================================= */

.saji-loader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html,
body,
#app,
.app-inner,
#main-content {
  opacity: 1 !important;
  visibility: visible !important;
}

body {
  color: var(--ma-text);
}

/* =========================================================
   TYPOGRAPHY
   Text uses Dubai/Cairo while icon fonts remain untouched.
========================================================= */

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
ul,
ol,
label,
legend,
small,
strong,
b,
em,
blockquote,
cite,
address,
figcaption,
table,
thead,
tbody,
tfoot,
tr,
th,
td,
button,
input,
textarea,
select,
option,
.hero-title,
.product-entry__title,
[data-testid="store-product-title"],
.saji-page-title,
.s-block__title,
.s-block__title a,
.s-breadcrumb-item,
.s-breadcrumb-item a,
.s-button-element,
.s-form-control,
.saji-pdp__info,
.ma-product-v4,
.ma-universal-hero,
.ma-universal-funnel {
  font-family: var(--ma-font) !important;
}

input::placeholder,
textarea::placeholder {
  font-family: var(--ma-font) !important;
}

/* =========================================================
   GLOBAL HELPERS
========================================================= */

.ma-hidden-legacy {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.ma-section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   HOME HERO — FIRST PAINT
========================================================= */

#home-slider-1,
#home-slider-1 .saji-hero-video__media {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  background: #000 !important;
}

#home-slider-1 .saji-hero-video__media {
  width: 100% !important;
  height: 100% !important;
}

#home-slider-1 video,
#home-slider-1 video.hero-video-saji-lood,
#home-slider-1 .saji-hero-video__media video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  animation: none !important;
  transition: none !important;
  background: #000 !important;
}

#home-slider-1 .saji_anime,
#home-slider-1 [data-animated],
#home-slider-1 .saji-anime-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

#mediaarts-auto-sound {
  position: absolute;
  left: 20px;
  bottom: 28px;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 10px 17px;
  direction: rtl;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

#mediaarts-auto-sound.sound-active {
  background: var(--ma-gold);
  color: var(--ma-navy-dark);
  border-color: var(--ma-gold);
}

#mediaarts-auto-sound span {
  font-size: 18px;
}

/* =========================================================
   SERVICE PRODUCTS — HIDE PHYSICAL-GOODS ELEMENTS
========================================================= */

.product-weight,
.product-weight.mb-4.flex.items-center.gap-1,
saji-volume-discounts,
.saji-volume-discounts,
#saji-jumla-host {
  display: none !important;
}

/* =========================================================
   PRODUCT SINGLE PAGE
========================================================= */

body.product-single #more-content,
body.product-single [data-testid="store-product-description"] {
  display: block !important;
  max-height: none !important;
  height: auto !important;
  margin-top: 25px !important;
  padding: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--ma-text) !important;
  line-height: 2 !important;
}

body.product-single #btn-show-more,
body.product-single #more-content::after,
body.product-single .saji-pdp__desc::after {
  display: none !important;
}

body.product-single #more-content > h2 {
  position: relative;
  margin: 42px 0 18px !important;
  padding: 0 18px 0 0 !important;
  color: var(--ma-navy) !important;
  font-size: 27px !important;
  font-weight: 900 !important;
  line-height: 1.55 !important;
}

body.product-single #more-content > h2::before {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  width: 5px;
  height: 34px;
  background: var(--ma-gold);
  border-radius: 20px;
}

body.product-single #more-content > h2:first-child {
  overflow: hidden;
  margin: 0 0 18px !important;
  padding: 32px 30px !important;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 58%, #fff8e3 100%) !important;
  color: var(--ma-navy) !important;
  border: 1px solid rgba(23, 52, 93, 0.09) !important;
  border-top: 4px solid var(--ma-gold) !important;
  border-radius: 23px !important;
  box-shadow: var(--ma-shadow) !important;
  font-size: 30px !important;
}

body.product-single #more-content > h2:first-child::before {
  content: "MEDIA ARTS • خدمات التسويق الرقمي";
  position: relative;
  display: block;
  width: auto;
  height: auto;
  right: auto;
  top: auto;
  margin-bottom: 10px;
  background: none;
  color: var(--ma-gold-dark);
  font-size: 12px;
  font-weight: 900;
}

body.product-single #more-content > p {
  margin: 0 0 18px !important;
  color: var(--ma-text) !important;
  font-size: 16px !important;
  line-height: 2 !important;
}

body.product-single #more-content > h2:first-child + p {
  margin-bottom: 24px !important;
  padding: 18px 21px !important;
  background: var(--ma-soft) !important;
  border-right: 4px solid var(--ma-gold) !important;
  border-radius: 12px !important;
  font-size: 17px !important;
}

body.product-single .ma-product-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 30px;
}

body.product-single .ma-product-feature {
  margin: 0 !important;
  padding: 18px 10px !important;
  background: #fff;
  text-align: center;
  border: 1px solid var(--ma-border);
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(23, 52, 93, 0.05);
}

body.product-single .ma-product-feature strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ma-navy);
  font-size: 17px;
}

body.product-single #more-content .ma-product-offer {
  margin: 22px 0 30px !important;
  padding: 19px 22px !important;
  background: var(--ma-gold-soft) !important;
  color: var(--ma-navy) !important;
  border: 1px solid rgba(245, 181, 27, 0.5) !important;
  border-radius: 15px !important;
}

body.product-single #more-content a {
  color: var(--ma-navy) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--ma-gold) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
  font-weight: 800 !important;
}

body.product-single .ma-product-faq {
  margin: 20px 0 35px;
}

body.product-single .ma-faq-item {
  margin-bottom: 10px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ma-border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(23, 52, 93, 0.035);
}

body.product-single .ma-faq-question {
  margin: 0 0 5px !important;
  color: var(--ma-navy) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body.product-single .ma-faq-answer {
  margin: 0 !important;
  color: var(--ma-muted) !important;
  font-size: 14px !important;
}

body.product-single .ma-final-cta {
  position: relative;
  overflow: hidden;
  margin: 40px 0 15px;
  padding: 30px 25px;
  background: var(--ma-navy);
  color: #fff;
  text-align: center;
  border-radius: 22px;
}

body.product-single .ma-final-cta::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -90px;
  right: -60px;
  background: rgba(245, 181, 27, 0.14);
  border-radius: 50%;
}

body.product-single .ma-final-cta h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #fff !important;
}

body.product-single .ma-final-cta h2::before {
  display: none !important;
}

body.product-single .ma-final-cta p {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.product-single .ma-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  margin: 5px;
  padding: 10px 20px;
  background: var(--ma-gold);
  color: var(--ma-navy-dark) !important;
  text-decoration: none !important;
  border-radius: 10px;
  font-weight: 900 !important;
}

body.product-single .ma-final-cta a[href*="wa.me"] {
  background: var(--ma-success);
  color: #fff !important;
}

body.product-single .saji-pdp__info {
  padding: 24px !important;
  background: #fff !important;
  border: 1px solid var(--ma-border) !important;
  border-top: 4px solid var(--ma-gold) !important;
  border-radius: 18px !important;
  box-shadow: var(--ma-shadow) !important;
}

body.product-single [data-testid="store-product-title"] {
  color: var(--ma-navy) !important;
  font-weight: 900 !important;
}

body.product-single .total-price {
  color: var(--ma-navy) !important;
  font-size: 26px !important;
  font-weight: 900 !important;
}

body.product-single .before-price {
  opacity: 0.55;
}

body.product-single .product-category a {
  color: var(--ma-gold-dark) !important;
  font-weight: 800;
}

body.product-single .promotion-badge {
  padding: 7px 13px !important;
  background: var(--ma-gold) !important;
  color: var(--ma-navy-dark) !important;
  border: 0 !important;
  border-radius: 999px !important;
  backdrop-filter: none !important;
  font-weight: 900 !important;
}

body.product-single .saji-pdp__brand-text > strong {
  display: none !important;
}

body.product-single .saji-pdp__brand-text > span {
  font-size: 0 !important;
}

body.product-single .saji-pdp__brand-text > span strong {
  display: block;
  color: var(--ma-navy) !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

body.product-single .saji-pdp__meta {
  background: #fff !important;
  border: 1px solid var(--ma-border) !important;
  border-radius: 14px !important;
}

body.product-single .product-form .s-button-primary,
body.product-single salla-add-product-button .s-button-primary,
body.product-single .product-form button[type="submit"] {
  min-height: 54px !important;
  background: var(--ma-gold) !important;
  color: var(--ma-navy-dark) !important;
  border: 0 !important;
  border-radius: 11px !important;
  box-shadow: 0 8px 20px rgba(245, 181, 27, 0.22) !important;
  font-weight: 900 !important;
}

.ma-product-cover-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  min-height: 520px;
  padding: 35px;
  background: linear-gradient(145deg, #fff, #f8f9fb);
  text-align: center;
  border: 1px solid var(--ma-border);
  border-radius: 20px;
}

.ma-product-cover-fallback img {
  width: 145px !important;
  height: auto !important;
  margin-bottom: 15px;
  object-fit: contain !important;
}

.ma-product-cover-fallback span {
  color: var(--ma-gold-dark);
  font-size: 14px;
  font-weight: 900;
}

.ma-product-cover-fallback strong {
  max-width: 480px;
  color: var(--ma-navy);
  font-size: 28px;
  line-height: 1.5;
}

/* =========================================================
   UNIVERSAL LIGHT HERO — CATEGORIES / OFFERS / TESTIMONIALS
========================================================= */

.ma-universal-hero {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 28px;
  padding: 46px 48px;
  direction: rtl;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 58%, #fff8e3 100%);
  border: 1px solid rgba(23, 52, 93, 0.09);
  border-top: 4px solid var(--ma-gold);
  border-radius: var(--ma-radius-lg);
  box-shadow: var(--ma-shadow-lg);
}

.ma-universal-hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  top: -160px;
  right: -105px;
  background: radial-gradient(circle, rgba(245, 181, 27, 0.2), rgba(245, 181, 27, 0) 70%);
  border-radius: 50%;
}

.ma-universal-hero::after {
  content: "MEDIA ARTS";
  position: absolute;
  left: 26px;
  bottom: -12px;
  color: rgba(23, 52, 93, 0.035);
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  pointer-events: none;
}

.ma-universal-kicker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  padding: 6px 13px;
  background: var(--ma-gold-soft);
  color: var(--ma-navy);
  border: 1px solid rgba(245, 181, 27, 0.38);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.ma-universal-title {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 0 7px;
  color: var(--ma-navy);
  font-size: clamp(30px, 4vw, 45px);
  font-weight: 900;
  line-height: 1.45;
}

.ma-universal-headline {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  color: var(--ma-gold-dark);
  font-size: 19px;
  font-weight: 900;
}

.ma-universal-desc {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0;
  color: var(--ma-muted);
  font-size: 16px;
  line-height: 2;
}

.ma-universal-points {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
}

.ma-universal-point {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: #fff;
  color: var(--ma-navy);
  border: 1px solid var(--ma-border);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(23, 52, 93, 0.035);
  font-size: 13px;
  font-weight: 800;
}

.ma-universal-point::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--ma-gold);
  color: var(--ma-navy-dark);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.ma-universal-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.ma-universal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 10px 20px;
  text-decoration: none !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ma-universal-btn:hover {
  transform: translateY(-2px);
}

.ma-universal-btn-primary {
  background: var(--ma-navy);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(23, 52, 93, 0.15);
}

.ma-universal-btn-expert {
  background: var(--ma-gold);
  color: var(--ma-navy-dark) !important;
}

.ma-universal-btn-work {
  background: #fff;
  color: var(--ma-navy) !important;
  border: 1px solid var(--ma-border);
}

.ma-universal-btn-whatsapp {
  background: var(--ma-success);
  color: #fff !important;
}

/* =========================================================
   UNIVERSAL CATEGORY PAGES — RESPONSIVE PRODUCT CARDS
========================================================= */

body.ma-category-ready {
  background: var(--ma-soft) !important;
}

body.ma-category-ready .ma-category-hero,
body.ma-category-ready .ma-category-bottom,
body.ma-category-ready .ma-category-v2-hero,
body.ma-category-ready .ma-category-v2-bottom,
body.ma-category-ready .ma-cat8-hero,
body.ma-category-ready .ma-cat8-funnel,
body.ma-category-ready .saji_titles_data {
  display: none !important;
}

body.ma-category-ready #main-content {
  background: linear-gradient(180deg, #fff 0, #fff 270px, var(--ma-soft) 270px, var(--ma-soft) 100%) !important;
}

body.ma-category-ready .container--breadcrumbs {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

body.ma-category-ready .s-breadcrumb-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  padding: 7px 14px !important;
  background: #fff !important;
  border: 1px solid var(--ma-border) !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(23, 52, 93, 0.035) !important;
}

body.ma-category-ready .s-breadcrumb-item,
body.ma-category-ready .s-breadcrumb-item a {
  color: var(--ma-muted) !important;
  font-size: 12px !important;
}

/* =========================================================
   CATEGORY PRODUCTS GRID — COMPLETE IMAGES, NO CROPPING
========================================================= */

/* ---------- Section shell ---------- */
#app .container--products-list {
  width: min(1180px, calc(100% - 40px)) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

#app .index-cats-page {
  width: 100% !important;
  margin: 26px 0 40px !important;
  padding: 22px !important;
  background: #fff !important;
  border: 1px solid var(--ma-border, #e5e8ee) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 45px rgba(23, 52, 93, 0.08) !important;
}

#app .index-cats-page > .main-content {
  width: 100% !important;
  min-width: 0 !important;
}

#app .index-cats-page .min-h-screen,
#app .index-cats-page salla-products-list {
  min-height: 0 !important;
  height: auto !important;
}

/* ---------- Sorting toolbar ---------- */
#app .index-cats-page .main-content > .mb-4,
#app .index-cats-page .main-content > .sm\:mb-6 {
  margin: 0 0 20px !important;
  padding: 12px !important;
  background: #f8f9fb !important;
  border: 1px solid var(--ma-border, #e5e8ee) !important;
  border-radius: 15px !important;
}

#app .index-cats-page .main-content > .mb-4 > .center-between,
#app .index-cats-page .main-content > .sm\:mb-6 > .center-between {
  padding: 0 !important;
}

#app .index-cats-page #product-filter {
  width: 230px !important;
  max-width: 100% !important;
  min-height: 46px !important;
  padding: 0 16px !important;
  background-color: #fff !important;
  color: var(--ma-navy, #17345d) !important;
  border: 1px solid #d9dee7 !important;
  border-radius: 11px !important;
  box-shadow: 0 3px 12px rgba(23, 52, 93, 0.04) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#app .index-cats-page #product-filter:hover,
#app .index-cats-page #product-filter:focus {
  border-color: var(--ma-gold, #f5b51b) !important;
  box-shadow: 0 0 0 3px rgba(245, 181, 27, 0.14) !important;
  outline: none !important;
}

/* Keep the layout controlled and prevent 5/6 tiny columns. */
#app .index-cats-page .diaplay-methods,
#app .index-cats-page .saji-cols-btn {
  display: none !important;
}

/* ---------- Responsive product grid ---------- */
#app .index-cats-page .s-products-list-wrapper,
#app .index-cats-page .s-products-list-wrapper.s-products-list-vertical-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 22px !important;
  width: 100% !important;
}

/* ---------- Product card ---------- */
#app .index-cats-page custom-salla-product-card.product-entry,
#app .index-cats-page custom-salla-product-card.product-block {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #fff !important;
  border: 1px solid var(--ma-border, #e5e8ee) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 26px rgba(23, 52, 93, 0.06) !important;
  transform: translateZ(0) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

#app .index-cats-page custom-salla-product-card.product-entry:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(245, 181, 27, 0.7) !important;
  box-shadow: 0 18px 42px rgba(23, 52, 93, 0.12) !important;
}

/* ---------- Image: always complete, never cropped ---------- */
#app .index-cats-page .product-entry__image {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #fff 0%, #f7f8fa 100%) !important;
  border-bottom: 1px solid var(--ma-border, #e5e8ee) !important;
}

#app .index-cats-page .product-entry__image > a.card-slide-data,
#app .index-cats-page .product-entry__image .card-slide-images {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

#app .index-cats-page .product-entry__image .card-slide-images {
  padding: 10px !important;
  background: #fff !important;
}

#app .index-cats-page .product-entry__image img,
#app .index-cats-page .product-entry__image img.card-slide,
#app .index-cats-page .product-entry__image img.card-slide-first {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 13px !important;
  transform: none !important;
  rotate: none !important;
  filter: none !important;
  transition: opacity 0.25s ease !important;
}

#app .index-cats-page custom-salla-product-card:hover .product-entry__image img,
#app .index-cats-page .group:hover .group-hover\:scale-\[1\.09\],
#app .index-cats-page .group:hover .group-hover\:rotate-2 {
  transform: none !important;
  rotate: none !important;
}

/* ---------- Badges and quick actions ---------- */
#app .index-cats-page .available-card {
  display: none !important;
}

#app .index-cats-page .promotion-badge-wrap {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  z-index: 8 !important;
  max-width: calc(100% - 76px) !important;
}

#app .index-cats-page .promotion-badge {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 30px !important;
  padding: 5px 11px !important;
  overflow: hidden !important;
  background: rgba(245, 181, 27, 0.96) !important;
  color: var(--ma-navy-dark, #102744) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 5px 14px rgba(16, 39, 68, 0.11) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

#app .index-cats-page .product_buttons {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  z-index: 9 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#app .index-cats-page .product_buttons salla-button,
#app .index-cats-page .product_buttons .product-popup-trigger,
#app .index-cats-page .product_buttons .s-button-element {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--ma-navy, #17345d) !important;
  border: 1px solid rgba(23, 52, 93, 0.12) !important;
  border-radius: 50% !important;
  box-shadow: 0 5px 15px rgba(16, 39, 68, 0.11) !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

#app .index-cats-page .product_buttons .s-button-element:hover,
#app .index-cats-page .product_buttons .product-popup-trigger:hover {
  background: var(--ma-navy, #17345d) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

#app .index-cats-page .product_buttons i,
#app .index-cats-page .product_buttons i.icone.sicon-eye,
#app .index-cats-page .product_buttons i.icone.sicon-heart {
  color: currentColor !important;
  font-size: 16px !important;
}

/* Override the old red wishlist and green eye rules. */
#app .index-cats-page button.btn--wishlist.btn--wishlist-product,
#app .index-cats-page .product_buttons .product-popup-trigger {
  color: var(--ma-navy, #17345d) !important;
}

/* ---------- Card body ---------- */
#app .index-cats-page .product-form {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
  background: #fff !important;
}

#app .index-cats-page .switch-display-area {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 38px !important;
  background: #fffaf0 !important;
  border-bottom: 1px solid rgba(245, 181, 27, 0.24) !important;
}

#app .index-cats-page .promo-rotator,
#app .index-cats-page .promo-item {
  min-height: 38px !important;
}

#app .index-cats-page .promo-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
}

#app .index-cats-page .promo-item small,
#app .index-cats-page .single_dis-amount {
  font-size: 12px !important;
}

#app .index-cats-page .product-form__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  padding: 18px 18px 14px !important;
  background: #fff !important;
  text-align: right !important;
}

#app .index-cats-page .product-entry__content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
}

#app .index-cats-page .text-info {
  flex: 1 1 auto !important;
}

#app .index-cats-page .product-entry__title {
  display: -webkit-box !important;
  min-height: 54px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: var(--ma-navy, #17345d) !important;
  white-space: normal !important;
  text-align: right !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
}

#app .index-cats-page .price-wrapper {
  width: 100% !important;
  margin-top: 12px !important;
}

#app .index-cats-page .product-entry__price {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 34px !important;
  margin: 0 !important;
  text-align: right !important;
}

#app .index-cats-page .total-price,
#app .index-cats-page .sale-price {
  color: var(--ma-navy, #17345d) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

#app .index-cats-page .before-price,
#app .index-cats-page .regular-price {
  margin-inline-start: 7px !important;
  color: #98a2b3 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* ---------- Add-to-cart button: always visible ---------- */
#app .index-cats-page .product_addCart_mob {
  position: static !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 18px 18px !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#app .index-cats-page .product_addCart_mob salla-add-product-button,
#app .index-cats-page .product_addCart_mob salla-button,
#app .index-cats-page .product_addCart_mob .s-button-wrap,
#app .index-cats-page .product_addCart_mob .s-button-element {
  display: block !important;
  width: 100% !important;
}

#app .index-cats-page .product_addCart_mob .s-button-element {
  min-height: 49px !important;
  padding: 10px 16px !important;
  background: var(--ma-navy, #17345d) !important;
  color: #fff !important;
  border: 1px solid var(--ma-navy, #17345d) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(23, 52, 93, 0.13) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

#app .index-cats-page .product_addCart_mob .s-button-element:hover {
  background: var(--ma-gold, #f5b51b) !important;
  color: var(--ma-navy-dark, #102744) !important;
  border-color: var(--ma-gold, #f5b51b) !important;
  transform: translateY(-2px) !important;
}

#app .index-cats-page .product_addCart_mob .s-button-text,
#app .index-cats-page .product_addCart_mob .s-button-text > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

/* ---------- States and accessibility ---------- */
#app .index-cats-page a:focus-visible,
#app .index-cats-page button:focus-visible,
#app .index-cats-page select:focus-visible {
  outline: 3px solid rgba(245, 181, 27, 0.4) !important;
  outline-offset: 3px !important;
}

#app .index-cats-page .s-products-list-loading-wrapper {
  grid-column: 1 / -1 !important;
  min-height: 80px !important;
}

#app .index-cats-page .s-infinite-scroll-status,
#app .index-cats-page .s-infinite-scroll-last {
  display: none !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  #app .container--products-list {
    width: min(760px, calc(100% - 28px)) !important;
  }

  #app .index-cats-page {
    padding: 17px !important;
  }

  #app .index-cats-page .s-products-list-wrapper,
  #app .index-cats-page .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 17px !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
  #app .container--products-list {
    width: calc(100% - 20px) !important;
  }

  #app .index-cats-page {
    margin: 14px 0 28px !important;
    padding: 10px !important;
    border-radius: 17px !important;
    box-shadow: 0 9px 28px rgba(23, 52, 93, 0.07) !important;
  }

  #app .index-cats-page .main-content > .mb-4,
  #app .index-cats-page .main-content > .sm\:mb-6 {
    margin-bottom: 12px !important;
    padding: 9px !important;
    border-radius: 12px !important;
  }

  #app .index-cats-page #product-filter {
    width: 100% !important;
    min-height: 44px !important;
  }

  #app .index-cats-page .s-products-list-wrapper,
  #app .index-cats-page .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  #app .index-cats-page custom-salla-product-card.product-entry {
    border-radius: 16px !important;
  }

  #app .index-cats-page .product-entry__image .card-slide-images {
    padding: 8px !important;
  }

  #app .index-cats-page .promotion-badge-wrap {
    top: 10px !important;
    right: 10px !important;
  }

  #app .index-cats-page .product_buttons {
    top: 10px !important;
    left: 10px !important;
  }

  #app .index-cats-page .product-form__body {
    padding: 16px 16px 12px !important;
  }

  #app .index-cats-page .product-entry__title {
    min-height: 51px !important;
    font-size: 15px !important;
  }

  #app .index-cats-page .product_addCart_mob {
    padding: 0 16px 16px !important;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  #app .index-cats-page *,
  #app .index-cats-page *::before,
  #app .index-cats-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   UNIVERSAL FUNNEL — CATEGORIES / OFFERS / TESTIMONIALS
========================================================= */

.ma-universal-funnel {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 30px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--ma-border);
  border-radius: 23px;
  box-shadow: var(--ma-shadow);
}

.ma-universal-funnel-head {
  max-width: 800px;
  margin-bottom: 24px;
}

.ma-universal-funnel-label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--ma-gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.ma-universal-funnel h2 {
  margin: 0 0 8px;
  color: var(--ma-navy);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.5;
}

.ma-universal-funnel-head p {
  margin: 0;
  color: var(--ma-muted);
  font-size: 15px;
  line-height: 1.9;
}

.ma-funnel-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.ma-funnel-step {
  padding: 22px 20px;
  background: var(--ma-soft);
  border: 1px solid var(--ma-border);
  border-radius: 16px;
}

.ma-funnel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin-bottom: 12px;
  background: var(--ma-gold);
  color: var(--ma-navy-dark);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.ma-funnel-step strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ma-navy);
  font-size: 16px;
}

.ma-funnel-step p {
  margin: 0;
  color: var(--ma-muted);
  font-size: 13px;
  line-height: 1.8;
}

.ma-funnel-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
  padding: 24px;
  background: linear-gradient(135deg, var(--ma-navy), var(--ma-navy-dark));
  border-radius: 17px;
}

.ma-funnel-conversion strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
}

.ma-funnel-conversion p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.ma-funnel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ma-funnel-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  text-decoration: none !important;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
}

.ma-funnel-actions .ma-wa {
  background: var(--ma-success);
  color: #fff !important;
}

.ma-funnel-actions .ma-work {
  background: var(--ma-gold);
  color: var(--ma-navy-dark) !important;
}

/* =========================================================
   OFFERS PAGE
========================================================= */

body.ma-offers-ready {
  background: var(--ma-soft) !important;
}

body.ma-offers-ready #main-content {
  background: linear-gradient(180deg, #fff 0, #fff 270px, var(--ma-soft) 270px, var(--ma-soft) 100%) !important;
}

.ma-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
}

.ma-offers-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ma-border);
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(23, 52, 93, 0.05);
}

.ma-offers-card span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--ma-gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.ma-offers-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ma-navy);
  font-size: 17px;
}

.ma-offers-card p {
  margin: 0;
  color: var(--ma-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================================
   TESTIMONIALS PAGE + TESTIMONIAL BLOCKS
========================================================= */

body.ma-testimonials-ready {
  background: var(--ma-soft) !important;
}

body.ma-testimonials-ready #main-content {
  background: linear-gradient(180deg, #fff 0, #fff 270px, var(--ma-soft) 270px, var(--ma-soft) 100%) !important;
}

.ma-testimonials-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
}

.ma-trust-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ma-border);
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(23, 52, 93, 0.05);
}

.ma-trust-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ma-navy);
  font-size: 17px;
}

.ma-trust-card p {
  margin: 0;
  color: var(--ma-muted);
  font-size: 13px;
  line-height: 1.8;
}

#testimonials-slider--block,
.testimonials-slider,
.saji-testimonials-slider {
  position: relative;
}

#testimonials-slider--block .saji-page-title,
body.ma-testimonials-ready .saji-page-title {
  color: var(--ma-navy) !important;
  font-weight: 900 !important;
}

#testimonials-slider--block .saji-title-ornament,
#testimonials-slider--block .saji-title-ornament--style_1,
body.ma-testimonials-ready .saji-title-ornament,
body.ma-testimonials-ready .saji-title-ornament--style_1 {
  color: var(--ma-gold) !important;
  border-color: var(--ma-gold) !important;
}

.saji-testimonials__card,
body.ma-testimonials-ready .saji-testimonials__card {
  background: #fff !important;
  border: 1px solid var(--ma-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 7px 22px rgba(23, 52, 93, 0.055) !important;
}

.s-block__display-all.btn-epic,
#testimonials-slider--block .s-block__display-all {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  padding: 9px 19px !important;
  background: var(--ma-navy) !important;
  color: #fff !important;
  border: 1px solid var(--ma-navy) !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 900 !important;
}

.s-block__display-all.btn-epic i,
#testimonials-slider--block .s-block__display-all i {
  color: var(--ma-gold) !important;
}

.s-block__display-all.btn-epic:hover,
#testimonials-slider--block .s-block__display-all:hover {
  background: var(--ma-gold) !important;
  color: var(--ma-navy-dark) !important;
  border-color: var(--ma-gold) !important;
}

.s-block__display-all.btn-epic:hover i,
#testimonials-slider--block .s-block__display-all:hover i {
  color: var(--ma-navy-dark) !important;
}

/* =========================================================
   COMMON RESPONSIVE RULES
========================================================= */

@media (max-width: 900px) {
  body.product-single .ma-product-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-funnel-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .ma-funnel-conversion {
    grid-template-columns: minmax(0, 1fr);
  }

  .ma-offers-grid,
  .ma-testimonials-trust {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  #mediaarts-auto-sound {
    left: 14px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 50%;
  }

  #mediaarts-auto-sound b {
    display: none;
  }

  body.product-single .saji-pdp__info {
    padding: 17px !important;
    border-radius: 14px !important;
  }

  body.product-single #more-content > h2 {
    margin-top: 33px !important;
    font-size: 22px !important;
  }

  body.product-single #more-content > h2:first-child {
    padding: 25px 20px !important;
    font-size: 24px !important;
  }

  body.product-single #more-content > p {
    font-size: 15px !important;
  }

  .ma-product-cover-fallback {
    min-height: 330px;
  }

  .ma-product-cover-fallback strong {
    font-size: 22px;
  }

  body.product-single .ma-final-cta a {
    display: flex;
    width: 100%;
    margin: 7px 0;
  }
}

@media (max-width: 650px) {
  .ma-section-shell {
    width: calc(100% - 24px);
  }

  .ma-universal-hero {
    width: calc(100% - 24px);
    margin: 14px auto 20px;
    padding: 27px 20px;
    border-radius: 19px;
  }

  .ma-universal-hero::after {
    font-size: 44px;
  }

  .ma-universal-title {
    font-size: 27px;
  }

  .ma-universal-headline {
    font-size: 16px;
  }

  .ma-universal-desc {
    font-size: 14px;
  }

  .ma-universal-actions {
    flex-direction: column;
  }

  .ma-universal-btn {
    width: 100%;
  }

  .ma-universal-funnel {
    width: calc(100% - 24px);
    margin: 20px auto 28px;
    padding: 21px 17px;
  }

  .ma-universal-funnel h2 {
    font-size: 22px;
  }

  .ma-funnel-conversion {
    padding: 20px 16px;
  }

  .ma-funnel-actions {
    flex-direction: column;
  }

  .ma-funnel-actions a {
    width: 100%;
  }

  .ma-offers-grid,
  .ma-testimonials-trust {
    width: calc(100% - 24px);
  }
}

/* =========================================================
   LIT PRODUCT GRID — EXACT CURRENT HTML STRUCTURE
   Targets: .grid / .product-card / .image-container / .product-image
========================================================= */

.grid:has(> .product-card) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 22px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.grid > .product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--ma-border, #e5e8ee) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 26px rgba(23, 52, 93, 0.06) !important;
  isolation: isolate !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.grid > .product-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(245, 181, 27, 0.7) !important;
  box-shadow: 0 18px 42px rgba(23, 52, 93, 0.12) !important;
}

/* Badge remains readable without covering the image. */
.grid > .product-card > .badge {
  position: absolute !important;
  top: 13px !important;
  right: 13px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  max-width: calc(100% - 26px) !important;
  min-height: 30px !important;
  padding: 5px 11px !important;
  overflow: hidden !important;
  background: rgba(245, 181, 27, 0.96) !important;
  color: var(--ma-navy-dark, #102744) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 5px 14px rgba(16, 39, 68, 0.11) !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

/* Image is square, contained and never cropped. */
.grid > .product-card > .image-container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  padding: 11px !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #fff 0%, #f7f8fa 100%) !important;
  border-bottom: 1px solid var(--ma-border, #e5e8ee) !important;
}

.grid > .product-card > .image-container > .product-image,
.grid > .product-card .product-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
  border-radius: 13px !important;
  transform: none !important;
  filter: none !important;
  transition: opacity 0.25s ease !important;
}

.grid > .product-card:hover .product-image {
  transform: none !important;
}

/* Equal-height card body and clean Arabic hierarchy. */
.grid > .product-card > .content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-width: 0 !important;
  padding: 18px !important;
  background: #fff !important;
  text-align: right !important;
}

.grid > .product-card .product-title {
  display: -webkit-box !important;
  min-height: 54px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: var(--ma-navy, #17345d) !important;
  text-align: right !important;
  text-decoration: none !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
}

.grid > .product-card .product-title:hover {
  color: var(--ma-gold-dark, #d79b00) !important;
}

.grid > .product-card .price-container {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  min-height: 36px !important;
  margin-top: 12px !important;
  direction: rtl !important;
}

.grid > .product-card .current-price {
  color: var(--ma-navy, #17345d) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

.grid > .product-card .old-price {
  color: #98a2b3 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1px !important;
}

.grid > .product-card .add-to-cart {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 49px !important;
  margin-top: 18px !important;
  padding: 10px 16px !important;
  background: var(--ma-navy, #17345d) !important;
  color: #fff !important;
  border: 1px solid var(--ma-navy, #17345d) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(23, 52, 93, 0.13) !important;
  font-family: var(--ma-font) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.grid > .product-card .add-to-cart:hover {
  background: var(--ma-gold, #f5b51b) !important;
  color: var(--ma-navy-dark, #102744) !important;
  border-color: var(--ma-gold, #f5b51b) !important;
  transform: translateY(-2px) !important;
}

.grid > .product-card .add-to-cart i {
  color: currentColor !important;
  font-size: 16px !important;
}

@media (max-width: 900px) {
  .grid:has(> .product-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 17px !important;
  }
}

@media (max-width: 560px) {
  .grid:has(> .product-card) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .grid > .product-card {
    border-radius: 16px !important;
  }

  .grid > .product-card > .image-container {
    padding: 8px !important;
  }

  .grid > .product-card > .badge {
    top: 10px !important;
    right: 10px !important;
  }

  .grid > .product-card > .content {
    padding: 16px !important;
  }

  .grid > .product-card .product-title {
    min-height: 51px !important;
    font-size: 15px !important;
  }
}