@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --marthe-bg: #f7f3ed;
  --marthe-ivory: #fffdf9;
  --marthe-beige: #e9dfd2;
  --marthe-gold: #b18a4a;
  --marthe-charcoal: #292a28;
  --marthe-muted: #77716a;
  --marthe-border: #ded5ca;
  --marthe-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --marthe-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --marthe-container: 1200px;
  --marthe-section-space: clamp(56px, 7vw, 92px);
}

html {
  scroll-behavior: smooth;
}

body.marthe-home {
  overflow-x: hidden;
  background: var(--marthe-bg);
  color: var(--marthe-charcoal);
  font-family: var(--marthe-sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.marthe-home *,
.marthe-home *::before,
.marthe-home *::after {
  box-sizing: border-box;
}

.marthe-home :where(h1, h2, h3, h4, h5, h6) {
  color: var(--marthe-charcoal);
  font-family: var(--marthe-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.marthe-home :where(a, button, input) {
  border-radius: 0;
}

.marthe-home :where(a, button) {
  transition: color 180ms ease, background-color 180ms ease,
    border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.marthe-home :where(.theme-container) {
  width: 100%;
  max-width: var(--marthe-container);
  margin-inline: auto;
}

/* Announcement */
.marthe-home .marthe-site-shell > :first-child:not(header) {
  min-height: 25px;
  background: #e8ddd0 !important;
  color: #5f574e !important;
  border-bottom: 1px solid rgba(88, 70, 48, 0.08);
}

.marthe-home .announcement-marquee {
  padding-block: 5px !important;
}

.marthe-home .announcement-marquee__content {
  justify-content: center;
}

.marthe-home .announcement-marquee__content span {
  padding-inline: 30px !important;
  font-size: 9px !important;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Header */
.marthe-home .marthe-site-shell {
  background: var(--marthe-ivory);
  box-shadow: none;
}

.marthe-home .marthe-site-header {
  padding: 13px clamp(20px, 5vw, 64px) !important;
  background: rgba(255, 253, 249, 0.97) !important;
  border-color: var(--marthe-border) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

.marthe-home .marthe-site-header nav {
  min-height: 48px;
  max-width: 1280px;
}

.marthe-home .marthe-site-header nav > div:nth-of-type(1) {
  flex: 1 1 auto;
  gap: clamp(28px, 4vw, 62px) !important;
}

.marthe-home .marthe-site-header a[href="/"] img,
.marthe-home .marthe-site-header a[href$="/en-eg/"] img {
  display: block;
  width: clamp(150px, 15vw, 208px);
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
}

.marthe-home .marthe-site-header nav ul {
  color: var(--marthe-charcoal);
}

.marthe-home .marthe-site-header nav > div > ul {
  gap: clamp(20px, 2.3vw, 38px) !important;
}

.marthe-home .marthe-site-header nav > div > ul :where(a, button),
.marthe-home .marthe-site-header nav > ul :where(a, button) {
  color: var(--marthe-charcoal) !important;
  font-family: var(--marthe-sans);
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.marthe-home .marthe-site-header nav > div > ul :where(a, button):hover {
  color: var(--marthe-gold) !important;
}

.marthe-home .marthe-site-header nav > ul {
  gap: 3px !important;
}

.marthe-home .marthe-site-header nav > ul :where(a, button) {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
}

/* Hero */
.marthe-home .section-hero {
  min-height: clamp(520px, 47vw, 620px) !important;
  padding: 48px clamp(24px, 8vw, 104px) !important;
  isolation: isolate;
  background: #8c745e;
}

.marthe-home .section-hero > .absolute.inset-0.-z-10 {
  z-index: -2;
}

.marthe-home .section-hero picture,
.marthe-home .section-hero picture img {
  width: 100%;
  height: 100%;
}

.marthe-home .section-hero picture img {
  object-fit: cover !important;
  object-position: center center;
}

.marthe-home .section-hero > .absolute.inset-0:not(.-z-10) {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(22, 18, 14, 0.64) 0%,
    rgba(22, 18, 14, 0.36) 38%,
    rgba(22, 18, 14, 0.04) 73%
  ) !important;
}

.marthe-home .section-hero > .theme-container {
  max-width: var(--marthe-container) !important;
  margin-inline: auto;
}

.marthe-home .section-hero .theme-container > div {
  max-width: 500px !important;
  gap: 22px !important;
}

.marthe-home .section-hero :where(h1, p, span) {
  color: #fffaf2 !important;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.2);
}

.marthe-home .section-hero h1 {
  max-width: 470px;
  font-family: var(--marthe-serif) !important;
  font-size: clamp(46px, 5vw, 68px) !important;
  font-weight: 400 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.025em !important;
}

.marthe-home .section-hero p {
  max-width: 410px;
  font-size: 13px !important;
  font-weight: 300;
  line-height: 1.7;
}

.marthe-home .section-hero span {
  font-size: 9px !important;
  letter-spacing: 0.2em !important;
}

.marthe-home .section-hero a {
  min-height: 43px;
  padding: 12px 24px !important;
  background: var(--marthe-ivory) !important;
  color: var(--marthe-charcoal) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: none !important;
  font-size: 9px !important;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.marthe-home .section-hero a:hover {
  background: var(--marthe-charcoal) !important;
  color: var(--marthe-ivory) !important;
  border-color: var(--marthe-charcoal) !important;
}

/* Shared section system */
.marthe-home #main > section:not(.section-hero) {
  border-radius: 0 !important;
}

.marthe-home :where(.section-products, .section-categories, .section-testimonials) {
  padding: var(--marthe-section-space) clamp(20px, 5vw, 64px) !important;
  background: var(--marthe-bg) !important;
}

.marthe-home .marthe-section-head {
  margin-bottom: clamp(24px, 3vw, 38px);
}

.marthe-home .marthe-section-head h2,
.marthe-home .section-testimonials h2 {
  font-family: var(--marthe-serif) !important;
  font-size: clamp(31px, 3vw, 42px) !important;
  font-weight: 400 !important;
  line-height: 1.1;
}

.marthe-home .marthe-section-head > a {
  color: var(--marthe-muted) !important;
  font-size: 9px !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Benefits */
.marthe-home .section-benefits {
  padding: 34px clamp(20px, 5vw, 64px) !important;
  background: var(--marthe-ivory) !important;
  border-bottom: 1px solid var(--marthe-border);
}

.marthe-home .section-benefits .theme-container > div {
  gap: 0 !important;
}

.marthe-home .section-benefits .theme-container > div > div {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start !important;
  gap: 15px !important;
  padding: 8px clamp(14px, 2vw, 26px);
  text-align: left;
}

.marthe-home .section-benefits .theme-container > div > div + div {
  border-left: 1px solid var(--marthe-border);
}

.marthe-home .section-benefits picture {
  grid-row: 1;
}

.marthe-home .section-benefits img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
  filter: sepia(0.45) saturate(0.8) contrast(0.85);
  opacity: 0.82;
}

.marthe-home .section-benefits h3 {
  margin: 0;
  font-family: var(--marthe-serif) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.2;
}

.marthe-home .section-benefits p {
  margin-top: 5px;
  color: var(--marthe-muted) !important;
  font-size: 10px !important;
  line-height: 1.55;
}

/* Products */
.marthe-home .section-products {
  padding-top: clamp(64px, 7vw, 94px) !important;
}

.marthe-home .section-products .products-embla {
  margin-inline: 0 !important;
}

.marthe-home .section-products .products-embla__viewport {
  overflow: visible !important;
  padding: 0 !important;
}

.marthe-home .section-products .products-embla__container {
  display: grid !important;
  grid-template-columns: repeat(var(--marthe-product-cols, 4), minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px) !important;
  transform: none !important;
}

.marthe-home .section-products .products-embla__slide {
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.marthe-home .marthe-product-card {
  gap: 13px !important;
  text-align: center;
}

.marthe-home .marthe-product-card > a {
  aspect-ratio: 4 / 5 !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: #eee8df;
}

.marthe-home .marthe-product-card > a img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.marthe-home .marthe-product-card:hover > a img {
  transform: scale(1.025);
}

.marthe-home .marthe-product-card > div:nth-child(2) {
  align-items: center;
  gap: 7px !important;
}

.marthe-home .marthe-product-card h3,
.marthe-home .marthe-product-card h3 a {
  color: var(--marthe-charcoal) !important;
  font-family: var(--marthe-serif) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.2;
}

.marthe-home .marthe-product-card p {
  color: var(--marthe-charcoal) !important;
  font-family: var(--marthe-serif);
  font-size: 15px !important;
  line-height: 1.2;
}

.marthe-home .marthe-product-card > div:last-child {
  margin-top: auto !important;
}

.marthe-home .marthe-product-card > div:last-child > button,
.marthe-home .marthe-product-card > div:last-child .btn {
  min-height: 38px !important;
  width: 100% !important;
  padding: 10px 15px !important;
  background: var(--marthe-charcoal) !important;
  color: var(--marthe-ivory) !important;
  border: 1px solid var(--marthe-charcoal) !important;
  box-shadow: none !important;
  font-size: 9px !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marthe-home .marthe-product-card > div:last-child > button:hover,
.marthe-home .marthe-product-card > div:last-child .btn:hover {
  background: transparent !important;
  color: var(--marthe-charcoal) !important;
}

.marthe-home .marthe-product-card button[aria-label*="wishlist" i] {
  width: 34px !important;
  min-height: 34px !important;
  padding: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  background: rgba(255, 253, 249, 0.78) !important;
  color: var(--marthe-charcoal) !important;
  backdrop-filter: blur(8px);
}

/* Editorial gallery and video sections supplied by Zid */
.marthe-home .section-gallery {
  padding: 0 clamp(20px, 5vw, 64px) var(--marthe-section-space) !important;
  background: var(--marthe-bg) !important;
}

.marthe-home .section-gallery :where(img, video) {
  border-radius: 0 !important;
  object-fit: cover;
}

.marthe-home .section-video {
  padding: 0 !important;
  background: var(--marthe-charcoal) !important;
}

.marthe-home .section-video video {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

/* Categories */
.marthe-home .section-categories {
  border-top: 1px solid var(--marthe-border);
}

.marthe-home .section-categories .embla__slide {
  flex: 0 0 calc(100% / var(--marthe-category-cols, 6)) !important;
  min-width: 0;
  padding-inline: 6px;
}

.marthe-home .section-categories .embla__container {
  margin-inline: -6px;
}

.marthe-home .section-categories .embla__slide a {
  gap: 13px !important;
}

.marthe-home .section-categories .embla__slide a > div {
  aspect-ratio: 1 / 1.08;
  border-radius: 0 !important;
  background: var(--marthe-beige);
}

.marthe-home .section-categories img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: transform 550ms ease;
}

.marthe-home .section-categories .embla__slide a:hover img {
  transform: scale(1.025);
}

.marthe-home .section-categories h3 {
  font-family: var(--marthe-serif) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-align: center;
}

.marthe-home .section-categories :where(button[aria-label="Previous"], button[aria-label="Next"]),
.marthe-home .section-testimonials :where(button[aria-label="Previous"], button[aria-label="Next"]) {
  border: 0 !important;
  background: transparent !important;
  color: var(--marthe-charcoal) !important;
  box-shadow: none !important;
}

/* Testimonials */
.marthe-home .section-testimonials {
  border-top: 1px solid var(--marthe-border);
}

.marthe-home .section-testimonials > .theme-container > h2 {
  margin-bottom: 34px;
  text-align: center;
}

.marthe-home .section-testimonials .embla__slide {
  flex: 0 0 calc(100% / var(--marthe-testimonial-cols, 3)) !important;
  min-width: 0;
  padding-inline: 10px;
}

.marthe-home .section-testimonials .embla__container {
  margin-inline: -10px;
}

.marthe-home .section-testimonials article {
  min-height: 185px;
  padding: 28px !important;
  background: rgba(255, 253, 249, 0.55) !important;
  border: 1px solid var(--marthe-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.marthe-home .section-testimonials article svg {
  color: var(--marthe-gold) !important;
}

.marthe-home .section-testimonials article p {
  margin-block: 18px;
  color: #4f4b46 !important;
  font-family: var(--marthe-serif);
  font-size: 16px !important;
  line-height: 1.5;
}

.marthe-home .section-testimonials article h3 {
  margin-top: auto;
  color: var(--marthe-muted) !important;
  font-family: var(--marthe-sans) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
}

/* Footer */
.marthe-home #footer {
  padding: 46px clamp(20px, 5vw, 64px) 24px !important;
  background: #252625 !important;
  color: #eae5dd !important;
  border-top: 1px solid #343534;
}

.marthe-home #footer .theme-container {
  max-width: var(--marthe-container);
}

.marthe-home #footer .theme-container > div:first-child {
  grid-template-columns: minmax(210px, 1.35fr) repeat(3, minmax(135px, 1fr)) !important;
  gap: clamp(28px, 5vw, 72px) !important;
}

.marthe-home #footer :where(h2, h3, h4) {
  color: #fffaf2 !important;
  font-family: var(--marthe-sans) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marthe-home #footer :where(p, a, li, span) {
  color: #bbb6af !important;
  font-size: 10px !important;
  line-height: 1.8;
}

.marthe-home #footer a:hover {
  color: #fffaf2 !important;
}

.marthe-home #footer img {
  max-width: 180px;
  filter: grayscale(1) brightness(0) invert(1);
}

.marthe-home #footer svg {
  width: 18px;
  height: 18px;
  color: #e8e2d9 !important;
}

.marthe-home #footer input {
  min-height: 38px;
  background: #f6f1e9 !important;
  color: var(--marthe-charcoal) !important;
  border: 1px solid #6a6965 !important;
  box-shadow: none !important;
  font-size: 10px !important;
}

.marthe-home #footer button[type="submit"] {
  min-height: 38px;
  background: var(--marthe-beige) !important;
  color: var(--marthe-charcoal) !important;
  border: 1px solid var(--marthe-beige) !important;
  font-size: 9px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marthe-home #footer .border-t {
  border-color: #50514f !important;
}

/* Tablet */
@media (max-width: 1023px) {
  .marthe-home .marthe-site-header {
    padding: 10px 18px !important;
  }

  .marthe-home .marthe-site-header nav {
    min-height: 44px;
  }

  .marthe-home .marthe-site-header nav > div:nth-of-type(1) {
    flex: 0 1 auto;
  }

  .marthe-home .marthe-site-header a[href="/"] img,
  .marthe-home .marthe-site-header a[href$="/en-eg/"] img {
    width: 150px;
    max-height: 42px;
  }

  .marthe-home .section-benefits .theme-container > div {
    gap: 0 !important;
  }

  .marthe-home .section-benefits .theme-container > div > div:nth-child(3) {
    border-left: 0;
  }

  .marthe-home .section-benefits .theme-container > div > div:nth-child(n + 3) {
    padding-top: 22px;
    border-top: 1px solid var(--marthe-border);
  }

  .marthe-home .section-products .products-embla__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marthe-home .section-categories .embla__slide {
    flex-basis: 25% !important;
  }

  .marthe-home #footer .theme-container > div:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile */
@media (max-width: 639px) {
  :root {
    --marthe-section-space: 56px;
  }

  .marthe-home .announcement-marquee__content span {
    font-size: 8px !important;
    letter-spacing: 0.11em;
  }

  .marthe-home .marthe-site-header nav > ul {
    gap: 0 !important;
  }

  .marthe-home .marthe-site-header nav > ul > li:not(:last-child) {
    display: none;
  }

  .marthe-home .marthe-site-header a[href="/"] img,
  .marthe-home .marthe-site-header a[href$="/en-eg/"] img {
    width: 132px;
  }

  .marthe-home .section-hero {
    min-height: 570px !important;
    align-items: flex-end !important;
    padding: 58px 22px !important;
  }

  .marthe-home .section-hero picture img {
    object-position: 58% center;
  }

  .marthe-home .section-hero > .absolute.inset-0:not(.-z-10) {
    background: linear-gradient(
      180deg,
      rgba(20, 17, 13, 0.05) 12%,
      rgba(20, 17, 13, 0.3) 53%,
      rgba(20, 17, 13, 0.75) 100%
    ) !important;
  }

  .marthe-home .section-hero h1 {
    font-size: clamp(42px, 13vw, 56px) !important;
  }

  .marthe-home .section-hero p {
    max-width: 340px;
    font-size: 12px !important;
  }

  .marthe-home .section-benefits {
    padding: 24px 14px !important;
  }

  .marthe-home .section-benefits .theme-container > div > div {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px !important;
    padding: 17px 10px !important;
  }

  .marthe-home .section-benefits .theme-container > div > div:nth-child(odd) {
    border-left: 0;
  }

  .marthe-home .section-benefits .theme-container > div > div:nth-child(n + 3) {
    border-top: 1px solid var(--marthe-border);
  }

  .marthe-home .section-benefits img {
    width: 32px !important;
    height: 32px !important;
  }

  .marthe-home .section-benefits h3 {
    font-size: 14px !important;
  }

  .marthe-home .section-benefits p {
    font-size: 9px !important;
  }

  .marthe-home :where(.section-products, .section-categories, .section-testimonials) {
    padding-inline: 16px !important;
  }

  .marthe-home .marthe-section-head {
    align-items: baseline;
  }

  .marthe-home .marthe-section-head h2,
  .marthe-home .section-testimonials h2 {
    font-size: 31px !important;
  }

  .marthe-home .section-products .products-embla__container {
    gap: 24px 10px !important;
  }

  .marthe-home .marthe-product-card {
    gap: 9px !important;
  }

  .marthe-home .marthe-product-card h3,
  .marthe-home .marthe-product-card h3 a {
    font-size: 15px !important;
  }

  .marthe-home .marthe-product-card p {
    font-size: 13px !important;
  }

  .marthe-home .marthe-product-card > div:last-child > button,
  .marthe-home .marthe-product-card > div:last-child .btn {
    min-height: 36px !important;
    padding-inline: 8px !important;
    font-size: 8px !important;
  }

  .marthe-home .section-gallery {
    padding-inline: 16px !important;
  }

  .marthe-home .section-categories .embla__viewport,
  .marthe-home .section-testimonials .embla__viewport {
    overflow: visible !important;
  }

  .marthe-home .section-categories .embla__slide {
    flex-basis: 47% !important;
  }

  .marthe-home .section-categories h3 {
    font-size: 15px !important;
  }

  .marthe-home .section-testimonials .embla__slide {
    flex-basis: 88% !important;
  }

  .marthe-home .section-testimonials article {
    min-height: 190px;
    padding: 24px !important;
  }

  .marthe-home #footer {
    padding-top: 40px !important;
  }

  .marthe-home #footer .theme-container > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .marthe-home #footer .theme-container > div:first-child > div {
    padding-bottom: 22px;
    border-bottom: 1px solid #424340;
  }
}

/* Marthe small fixes: header actions, Arabic readability, RTL benefits, video */
.marthe-home .marthe-header-actions {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: 4px !important;
  width: auto;
  min-width: max-content;
  color: var(--marthe-charcoal, #292a28);
  direction: ltr;
}

html.marthe-arabic-page .marthe-home .marthe-header-actions {
  direction: rtl;
}

.marthe-home .marthe-header-actions > li {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 0;
}

.marthe-home .marthe-header-actions > script {
  display: none !important;
}

.marthe-home .marthe-header-actions > li > :is(a, button) {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  color: var(--marthe-charcoal, #292a28) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: nowrap;
}

.marthe-home .marthe-header-actions > li > button[onclick*="zidOpenRegionSettingDialog"] {
  width: auto !important;
  min-width: 54px !important;
  gap: 5px !important;
  font-size: 11px !important;
  letter-spacing: 0.06em;
}

.marthe-home .marthe-header-actions :is(svg) {
  display: block;
  flex: 0 0 auto;
  width: 22px !important;
  height: 22px !important;
  color: var(--marthe-charcoal, #292a28) !important;
}

/* Zid toggles these two controls; always honor its hidden state. */
.marthe-home .marthe-header-actions :is(#header-login-btn, #header-profile-btn).hidden {
  display: none !important;
}

.marthe-home .marthe-header-actions .marthe-language-label {
  display: inline-block;
  color: var(--marthe-charcoal, #292a28) !important;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* Arabic-only benefits direction and alignment. */
html.marthe-arabic-page .marthe-home .section-benefits,
html.marthe-arabic-page .marthe-home .section-benefits .theme-container > div > div,
html.marthe-arabic-page .marthe-home .section-benefits :is(h3, p) {
  direction: rtl;
  text-align: right !important;
}

html.marthe-arabic-page .marthe-home .section-benefits .theme-container > div > div {
  grid-template-columns: 48px minmax(0, 1fr);
}

/* Slight Arabic readability increase without affecting English. */
html.marthe-arabic-page {
  font-size: 105%;
}

html.marthe-arabic-page .marthe-home {
  text-rendering: optimizeLegibility;
}

/* Remove the dark video frame in both languages. */
.marthe-home .section-video,
.marthe-home .section-video .video-wrapper {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.marthe-home .section-video video {
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  object-fit: cover !important;
}

@media (max-width: 639px) {
  .marthe-home .marthe-header-actions {
    gap: 1px !important;
  }

  .marthe-home .marthe-header-actions > li,
  .marthe-home .marthe-header-actions > li > :is(a, button) {
    width: 32px !important;
    min-width: 32px !important;
    height: 34px !important;
    min-height: 34px !important;
  }

  .marthe-home .marthe-header-actions > li > button[onclick*="zidOpenRegionSettingDialog"] {
    width: auto !important;
    min-width: 44px !important;
    gap: 3px !important;
  }

  .marthe-home .marthe-header-actions :is(svg) {
    width: 20px !important;
    height: 20px !important;
  }

  .marthe-home .marthe-header-actions .marthe-language-label {
    font-size: 10px !important;
  }

  html.marthe-arabic-page .marthe-home .section-benefits .theme-container > div > div {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}

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

/* Marthe: two dashboard Gallery sections only */
.marthe-home .section-gallery.marthe-discounted-section,
.marthe-home .section-gallery.marthe-about-section {
  width: 100%;
  padding: 0 clamp(16px, 5vw, 64px) clamp(48px, 6vw, 76px) !important;
  overflow: hidden;
  background: var(--marthe-bg, #f7f3ed) !important;
}

.marthe-home .marthe-discounted-section > .theme-container,
.marthe-home .marthe-about-section > .theme-container {
  width: 100%;
  max-width: var(--marthe-container, 1200px);
  overflow: hidden;
  background: var(--marthe-ivory, #fffdf9);
  border: 1px solid var(--marthe-border, #ded5ca);
}

.marthe-home .marthe-discounted-section [data-items-count="1"],
.marthe-home .marthe-about-section [data-items-count="1"] {
  display: block !important;
  min-height: 0 !important;
}

.marthe-home .marthe-discounted-section [data-items-count="1"] > :only-child,
.marthe-home .marthe-about-section [data-items-count="1"] > :only-child {
  display: grid !important;
  width: 100%;
  height: clamp(260px, 26vw, 330px);
  min-height: 0;
  gap: 0 !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: var(--marthe-ivory, #fffdf9);
}

.marthe-home .marthe-discounted-section [data-items-count="1"] > :only-child {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.marthe-home .marthe-about-section [data-items-count="1"] > :only-child {
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
}

.marthe-home .marthe-discounted-section .media-wrap,
.marthe-home .marthe-about-section .media-wrap,
.marthe-home .marthe-discounted-section picture,
.marthe-home .marthe-about-section picture {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}

.marthe-home .marthe-discounted-section .media-wrap {
  grid-column: 2;
  grid-row: 1;
}

.marthe-home .marthe-about-section .media-wrap {
  grid-column: 1;
  grid-row: 1;
}

.marthe-home .marthe-discounted-section img,
.marthe-home .marthe-about-section img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  border-radius: 0 !important;
}

.marthe-home .marthe-discounted-section .marthe-copy-panel,
.marthe-home .marthe-about-section .marthe-copy-panel {
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 4vw, 56px) !important;
  background: var(--marthe-ivory, #fffdf9) !important;
  color: var(--marthe-charcoal, #292a28) !important;
  text-align: left;
}

.marthe-home .marthe-discounted-section .marthe-copy-panel {
  grid-column: 1;
  grid-row: 1;
}

.marthe-home .marthe-about-section .marthe-copy-panel {
  grid-column: 2;
  grid-row: 1;
  border-left: 1px solid var(--marthe-border, #ded5ca);
}

.marthe-home .marthe-discounted-section .marthe-section-label,
.marthe-home .marthe-about-section .marthe-section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--marthe-muted, #77716a) !important;
  font-size: 8px !important;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.marthe-home .marthe-discounted-section .marthe-copy-panel :is(h1, h2, h3),
.marthe-home .marthe-about-section .marthe-copy-panel :is(h1, h2, h3) {
  margin: 0 0 12px;
  color: var(--marthe-charcoal, #292a28) !important;
  font-family: var(--marthe-serif, "Cormorant Garamond", Georgia, serif) !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  font-weight: 400 !important;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.marthe-home .marthe-discounted-section .marthe-copy-panel p,
.marthe-home .marthe-about-section .marthe-copy-panel p {
  max-width: 38em;
  margin: 0 0 20px;
  color: var(--marthe-muted, #77716a) !important;
  font-size: 11px !important;
  line-height: 1.7;
}

.marthe-home .marthe-discounted-section .marthe-copy-panel :is(a, button),
.marthe-home .marthe-about-section .marthe-copy-panel :is(a, button) {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 9px 18px !important;
  background: transparent !important;
  color: var(--marthe-charcoal, #292a28) !important;
  border: 1px solid var(--marthe-border, #ded5ca) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 9px !important;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

@media (max-width: 639px) {
  .marthe-home .section-gallery.marthe-discounted-section,
  .marthe-home .section-gallery.marthe-about-section {
    padding-inline: 16px !important;
    padding-bottom: 48px !important;
  }

  .marthe-home .marthe-discounted-section [data-items-count="1"] > :only-child,
  .marthe-home .marthe-about-section [data-items-count="1"] > :only-child {
    height: auto;
    grid-template-columns: 1fr;
  }

  .marthe-home .marthe-discounted-section .media-wrap,
  .marthe-home .marthe-about-section .media-wrap {
    grid-column: 1;
    grid-row: 1;
    height: clamp(220px, 68vw, 280px) !important;
  }

  .marthe-home .marthe-discounted-section .marthe-copy-panel,
  .marthe-home .marthe-about-section .marthe-copy-panel {
    grid-column: 1;
    grid-row: 2;
    min-height: 210px;
    padding: 28px 24px !important;
    border-top: 1px solid var(--marthe-border, #ded5ca);
    border-left: 0;
  }

  .marthe-home .marthe-discounted-section .marthe-copy-panel :is(h1, h2, h3),
  .marthe-home .marthe-about-section .marthe-copy-panel :is(h1, h2, h3) {
    font-size: 30px !important;
  }
}