:root {
  --c-bg: #FDFAF5;
  --c-white: #FFFFFF;
  --c-ink: #1A1209;
  --c-gold: #C8922A;
  --c-gold-lt: #E9C87C;
  --c-muted: #7A6B5A;
  --c-border: #EAE0D0;
  --c-dark: #0E0B09;
  --c-soft: #F2EBE0;
  --mdm-ink: #120f0c;
  --mdm-black: #1c1917;
  --mdm-coffee: #2b211a;
  --mdm-gold: #c9932b;
  --mdm-gold-lt: #e8c47b;
  --mdm-soft: #f7f0e6;
  --mdm-ivory: #fffaf0;
  --mdm-muted: #766b5f;
  --mdm-border: #e8ddcd;
  --mdm-white: #ffffff;
  --mdm-radius: 6px;
  --mdm-ease: 0.24s ease;
  --mdm-container: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.mdm-theme {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--c-ink);
  background: var(--c-bg);
  font-family: Jost, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@supports (overflow-x: clip) {
  html,
  body.mdm-theme {
    overflow-x: clip;
  }
}

body.mdm-theme.locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.mdm-container {
  width: var(--mdm-container);
  max-width: 100%;
  margin-inline: auto;
}

body.mdm-theme .site,
body.mdm-theme .site-main,
body.mdm-theme main,
body.mdm-theme header,
body.mdm-theme footer,
body.mdm-theme section {
  max-width: 100%;
}

body.mdm-theme .site-main,
body.mdm-theme .mdm-section,
body.mdm-theme .mdm-omc-hero,
body.mdm-theme .mdm-shop-hero,
body.mdm-theme .mdm-product-hero,
body.mdm-theme .mdm-page-hero,
body.mdm-theme .mdm-footer {
  overflow-x: clip;
}

body.mdm-theme .mdm-header,
body.mdm-theme .mdm-announcement,
body.mdm-theme .mdm-home-sticky,
body.mdm-theme .mdm-mobile-product-cta {
  max-width: 100vw;
  overflow-x: clip;
}

body.mdm-theme .mdm-product-strip,
body.mdm-theme .mdm-coffret-grid,
body.mdm-theme .mdm-shop-grid,
body.mdm-theme .mdm-category-grid,
body.mdm-theme .mdm-review-grid,
body.mdm-theme .mdm-editorial-grid,
body.mdm-theme .mdm-product-layout,
body.mdm-theme .mdm-ingredient-grid,
body.mdm-theme .mdm-footer-main,
body.mdm-theme .mdm-steps {
  min-width: 0;
  max-width: 100%;
}

body.mdm-theme .mdm-product-card,
body.mdm-theme .mdm-coffret-card,
body.mdm-theme .mdm-review-card,
body.mdm-theme .mdm-category-card,
body.mdm-theme .mdm-product-summary,
body.mdm-theme .mdm-gallery,
body.mdm-theme .mdm-editorial-images,
body.mdm-theme .mdm-cod-grid > *,
body.mdm-theme .mdm-footer-main > * {
  min-width: 0;
}

body.mdm-theme .mdm-shop-tabs,
body.mdm-theme .mdm-tab-buttons,
body.mdm-theme .mdm-reviews-track,
body.mdm-theme .mdm-thumbs {
  max-width: 100%;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

body.mdm-theme .mdm-marquee-track {
  will-change: transform;
}

@media (max-width: 980px) {
  :root {
    --mdm-container: min(1180px, calc(100% - 28px));
  }

  body.mdm-theme [class*="mdm-"] {
    word-break: normal;
  }

  body.mdm-theme img,
  body.mdm-theme video,
  body.mdm-theme iframe,
  body.mdm-theme table {
    max-width: 100%;
  }
}

.woocommerce-breadcrumb {
  width: var(--mdm-container);
  margin: 0 auto;
  padding: 112px 0 0;
  color: var(--c-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.woocommerce-breadcrumb a {
  color: var(--c-gold);
  text-decoration: none;
}

.mdm-section {
  padding: 96px 0;
}

.mdm-kicker {
  color: var(--mdm-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.mdm-display {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 5vw, 60px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.mdm-h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.92;
}

.mdm-ar {
  direction: rtl;
  font-family: Cairo, system-ui, sans-serif;
}

.mdm-ar-title {
  direction: rtl;
  font-family: "Noto Serif Arabic", serif;
}

.mdm-button,
.button,
button.button,
input.button,
.single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--c-gold);
  color: var(--c-white);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform var(--mdm-ease), background var(--mdm-ease), border-color var(--mdm-ease), color var(--mdm-ease);
}

.mdm-button:hover,
.button:hover,
button.button:hover,
input.button:hover,
.single_add_to_cart_button:hover {
  background: #b88323;
  color: var(--mdm-white);
  transform: translateY(-1px);
}

.mdm-button.ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--mdm-white);
}

.mdm-button.dark {
  background: var(--mdm-ink);
  color: var(--mdm-white);
}

.mdm-icon,
.mdm-icon svg,
.mdm-icon-button svg,
.mdm-button svg,
.mdm-check-list svg,
.mdm-pillar > svg {
  width: 21px;
  height: 21px;
}

.mdm-icon svg,
.mdm-icon-button svg,
.mdm-button svg,
.mdm-check-list svg,
.mdm-pillar > svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdm-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.mdm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mdm-check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mdm-check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.35;
}

.mdm-check-list .mdm-icon {
  flex: 0 0 auto;
  color: var(--mdm-gold);
}

.mdm-product-card {
  overflow: hidden;
  border: 1px solid var(--mdm-border);
  border-radius: var(--mdm-radius);
  background: var(--mdm-ivory);
}

.mdm-product-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(253, 250, 245, 0.96), rgba(232, 221, 205, 0.72));
}

.mdm-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.mdm-product-card:hover .mdm-product-image img {
  transform: scale(1.035);
}

.mdm-product-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--mdm-ink);
  color: var(--mdm-gold-lt);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mdm-product-card-body {
  padding: 18px;
}

.mdm-product-card h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.mdm-product-card .price {
  margin: 0 0 14px;
  color: var(--mdm-gold);
  font-weight: 800;
}

.mdm-card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 3px;
  background: var(--mdm-gold);
  color: var(--mdm-white);
  font-weight: 800;
}

.mdm-product-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 14px;
}

.mdm-product-strip .mdm-product-card-body {
  padding: 12px;
}

.mdm-product-strip h3 {
  font-size: 18px;
}

.mdm-product-strip .mdm-card-button {
  min-height: 38px;
  font-size: 13px;
}

.mdm-checkout-note {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 147, 43, 0.35);
  border-radius: var(--mdm-radius);
  background: #fff7e8;
  color: var(--mdm-coffee);
}

@media (max-width: 760px) {
  body.mdm-theme {
    font-size: 16px;
  }

  .mdm-container {
    width: min(100% - 28px, 1180px);
  }

  .mdm-section {
    padding: 64px 0;
  }

  .mdm-h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .mdm-display {
    font-size: clamp(34px, 12vw, 54px);
  }

  .mdm-product-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .mdm-product-strip .mdm-product-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.product-card img,
.product-card .product-thumbnail,
.product-card .product-image,
.product-card .product-image-wrapper,
.woocommerce-loop-product__link img,
.mdm-product-card img,
.mdm-product-image,
.mdm-product-image img {
  padding: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  border-radius: 12px 12px 0 0;
  width: 100%;
  display: block;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link,
.product-card .product-image-wrapper,
.product-card .product-thumbnail,
.mdm-product-image {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
