:root {
  --dm-green: #0f3b2b;
  --dm-gold: #c2a35e;
  --dm-cream: #f3ede3;
  --dm-charcoal: #222222;
  --dm-white: #ffffff;
  --dm-line: rgba(15, 59, 43, 0.24);
  --dm-shadow: 0 20px 40px rgba(15, 59, 43, 0.12);
  --dm-header-height-desktop: 82px;
  --dm-header-height-tablet: 74px;
  --dm-header-height-mobile: 66px;
  --dm-header-logo-height-desktop: 56px;
  --dm-header-logo-height-tablet: 52px;
  --dm-header-logo-height-mobile: 46px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--dm-charcoal);
  background: linear-gradient(180deg, #f8f5ee 0%, #efe7da 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  color: var(--dm-green);
  margin-top: 0;
  letter-spacing: 0.2px;
}

.dm-lang-ar,
.dm-lang-ar p,
.dm-lang-ar li,
.dm-lang-ar a,
.dm-lang-ar input,
.dm-lang-ar textarea,
.dm-lang-ar h1,
.dm-lang-ar h2,
.dm-lang-ar h3,
.dm-lang-ar h4 {
  font-family: "Cairo", sans-serif;
}

a {
  color: inherit;
}

.dm-wrap {
  width: min(1360px, calc(100vw - 3rem));
  margin: 0 auto;
}

.dm-main {
  min-height: 62vh;
}

.dm-button,
.dm-lang,
.dm-nav-toggle,
.dm-nav,
.dm-card,
.dm-block,
.dm-panel,
.dm-cta,
.dm-page-content table,
.dm-product-card,
.dm-product-single-media img,
.dm-page-content img,
.dm-page-content blockquote,
.dm-photo {
  border-radius: 0 !important;
}

.cky-btn-revisit-wrapper,
.cky-consent-container,
.cky-consent-container .cky-consent-bar,
.cky-btn,
.cky-modal,
.cky-preference-center {
  border-radius: 0 !important;
}

.dm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  padding: 0.84rem 1.25rem;
  border: 1px solid transparent;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dm-button:hover {
  transform: translateY(-2px);
}

.dm-button-primary {
  background: var(--dm-green);
  color: var(--dm-white);
  border-color: var(--dm-green);
}

.dm-button-light {
  background: var(--dm-white);
  color: var(--dm-green);
  border-color: rgba(15, 59, 43, 0.24);
}

.dm-button-outline {
  background: transparent;
  color: var(--dm-white);
  border-color: rgba(255, 255, 255, 0.8);
}

.dm-header {
  position: sticky;
  top: 0;
  z-index: 95;
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 59, 43, 0.18);
}

.admin-bar .dm-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .dm-header {
    top: 46px;
  }
}

.dm-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.65rem, 1.35vw, 1.2rem);
  min-height: var(--dm-header-height-desktop);
  padding: 0.1rem 0;
}

.dm-brand {
  min-width: 0;
  display: flex;
  align-items: center;
}

.dm-brand-link {
  display: inline-flex;
  align-items: center;
}

.dm-brand .custom-logo-link,
.dm-footer-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.dm-brand .custom-logo-link {
  max-width: min(17vw, 180px);
  height: var(--dm-header-logo-height-desktop);
}

.dm-brand .custom-logo,
.dm-footer-logo .custom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dm-brand .custom-logo {
  max-height: var(--dm-header-logo-height-desktop) !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain;
}

.dm-footer-logo .custom-logo {
  max-height: 86px;
}

.dm-logo-fallback {
  color: var(--dm-green);
  font-weight: 700;
}

.dm-nav {
  width: 100%;
  min-width: 0;
}

.dm-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 0.95rem;
}

.dm-nav ul a {
  text-decoration: none;
  color: var(--dm-green);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.24rem;
}

.dm-nav .dm-lang-switch-mobile {
  display: none;
}

.dm-nav .dm-mobile-order-cta {
  display: none;
}

.dm-nav ul a:hover,
.dm-nav ul a.is-active {
  border-bottom-color: var(--dm-gold);
}

.dm-header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  margin-inline-start: auto;
  gap: 0.56rem;
}

.dm-lang-switch {
  display: flex;
  gap: 0.34rem;
}

.dm-lang {
  border: 1px solid rgba(15, 59, 43, 0.28);
  padding: 0.32rem 0.52rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--dm-green);
}

.dm-lang.is-current {
  background: rgba(194, 163, 94, 0.3);
  border-color: var(--dm-gold);
}

.dm-nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 59, 43, 0.3);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  padding: 0.44rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.dm-nav-toggle,
.dm-nav-toggle:hover,
.dm-nav-toggle:focus,
.dm-nav-toggle:active,
.dm-nav-toggle.is-active {
  background-color: transparent !important;
  box-shadow: none !important;
}

.dm-nav-toggle span {
  position: absolute;
  left: 50%;
  height: 2px;
  width: 18px;
  background: var(--dm-green);
  margin: 0;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.dm-nav-toggle span:nth-child(1) {
  top: 13px;
}

.dm-nav-toggle span:nth-child(2) {
  top: 19px;
}

.dm-nav-toggle span:nth-child(3) {
  top: 25px;
}

.dm-nav-toggle:focus-visible {
  outline: 2px solid rgba(15, 59, 43, 0.4);
  outline-offset: 2px;
}

.dm-nav-toggle.is-active span:nth-child(1) {
  transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.dm-nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.dm-nav-toggle.is-active span:nth-child(3) {
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

body.dm-menu-open {
  overflow: hidden;
}

.dm-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 68vh, 760px);
  padding: clamp(4.8rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 5.6rem);
  color: var(--dm-white);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(10, 38, 29, 0.9) 0%, rgba(17, 63, 47, 0.7) 55%, rgba(17, 63, 47, 0.85) 100%),
    linear-gradient(180deg, #0c3225 0%, #0f3b2b 100%);
  border-bottom: 4px solid var(--dm-gold);
}

.dm-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.dm-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.92) contrast(1.02) brightness(0.74);
}

.dm-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dm-hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.44;
  z-index: 0;
}

.dm-hero.has-video.has-image::before {
  opacity: 0.22;
}

.dm-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 59, 43, 0) 0%, rgba(9, 35, 26, 0.86) 100%);
}

.dm-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
}

.dm-hero-brand {
  display: inline-flex;
  margin: 0 0 1rem;
}

.dm-hero-brand-align-center {
  display: flex;
  width: 100%;
  justify-content: center;
}

.dm-hero-brand img {
  display: block;
  width: min(var(--dm-hero-logo-size, 148px), 42vw);
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.22));
}

.dm-hero-brand-animate {
  animation: dm-hero-logo-reveal 760ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

@keyframes dm-hero-logo-reveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dm-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  line-height: 1.04;
  max-width: 980px;
  margin-bottom: 0.92rem;
}

.dm-hero-subtitle {
  font-size: clamp(1.04rem, 2.2vw, 1.32rem);
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.92);
}

.dm-hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.66rem;
}

.dm-page-heading {
  padding: 2.2rem 0 1rem;
  border-bottom: 1px solid rgba(15, 59, 43, 0.14);
}

.dm-page-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 3.3rem);
}

.dm-page-content {
  padding: 1.4rem 0 3.2rem;
}

.dm-page-content .dm-fr-page {
  max-width: 1240px;
  margin-inline: auto;
}

.dm-page-content p,
.dm-page-content li,
.dm-page-content td,
.dm-page-content th {
  font-size: 1.04rem;
  line-height: 1.75;
}

.dm-page-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin: 0 0 0.56rem;
}

.dm-page-content h3 {
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  margin: 0 0 0.46rem;
}

.dm-page-content ul,
.dm-page-content ol {
  padding-left: 1rem;
}

.dm-page-content img {
  width: 100%;
  height: auto;
  display: block;
}

.dm-fr-page {
  display: grid;
  gap: 1.28rem;
}

.dm-fr-page > section {
  width: 100%;
}

.dm-fr-band {
  border-top: 3px solid var(--dm-green);
  border-bottom: 1px solid var(--dm-line);
  background: #fff;
  padding: 1.1rem 1.2rem;
}

.dm-fr-band ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.dm-fr-band li {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
  font-weight: 600;
}

.dm-fr-band li::before {
  content: "\2726";
  color: var(--dm-gold);
  font-size: 0.95rem;
  margin-top: 0.12rem;
}

.dm-kicker {
  display: inline-block;
  color: var(--dm-gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.22rem;
}

.dm-block {
  border-top: 3px solid var(--dm-green);
  border-bottom: 1px solid var(--dm-line);
  background: rgba(255, 255, 255, 0.94);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--dm-shadow);
}

.dm-block-contrast {
  border-top-color: var(--dm-gold);
  background: linear-gradient(160deg, #113f2f 0%, #0f3b2b 100%);
  color: #fff;
}

.dm-block-contrast h2,
.dm-block-contrast h3,
.dm-block-contrast .dm-kicker,
.dm-block-contrast p,
.dm-block-contrast li {
  color: #fff;
}

.dm-split {
  display: grid;
  gap: 1.15rem;
}

.dm-split-media {
  grid-template-columns: 1fr;
}

.dm-photo {
  margin: 0;
  border: 1px solid rgba(15, 59, 43, 0.22);
  background: #fff;
  overflow: hidden;
}

.dm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.dm-photo-caption {
  padding: 0.5rem 0.6rem;
  font-size: 0.84rem;
  color: #40514a;
  border-top: 1px solid rgba(15, 59, 43, 0.16);
  background: #fff;
}

.dm-icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
}

.dm-card {
  border: 1px solid rgba(15, 59, 43, 0.2);
  background: #fff;
  padding: 0.84rem;
}

.dm-card p {
  margin: 0;
}

.dm-card-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.36rem;
  font-weight: 700;
  color: var(--dm-green);
}

.dm-card-title::before {
  content: "\25C6";
  color: var(--dm-gold);
  font-size: 0.75rem;
}

.dm-track {
  position: relative;
  border-left: 2px solid rgba(15, 59, 43, 0.2);
  padding-left: 0.92rem;
  display: grid;
  gap: 0.88rem;
}

.dm-track-item {
  position: relative;
  border-bottom: 1px solid rgba(15, 59, 43, 0.16);
  padding-bottom: 0.68rem;
}

.dm-track-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dm-track-item::before {
  content: "";
  position: absolute;
  left: -1.16rem;
  top: 0.4rem;
  width: 0.58rem;
  height: 0.58rem;
  background: var(--dm-gold);
}

.dm-track-item h3 {
  margin-bottom: 0.26rem;
}

.dm-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.74rem;
}

.dm-quote {
  border-left: 4px solid var(--dm-gold);
  padding: 0.8rem 0.82rem;
  background: rgba(194, 163, 94, 0.12);
  margin: 0;
  font-weight: 600;
}

.dm-cta {
  border-top: 3px solid var(--dm-gold);
  border-bottom: 1px solid var(--dm-line);
  background: #fff;
  padding: 1.2rem 1.35rem;
}

.dm-cta.dm-block-contrast {
  background: linear-gradient(160deg, #113f2f 0%, #0f3b2b 100%);
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.dm-cta.dm-block-contrast .dm-button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.76);
}

.dm-cta-actions {
  margin-top: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.dm-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .dm-hero-brand-animate {
    animation: none;
  }
}

.dm-products-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.dm-product-card {
  border: 1px solid rgba(15, 59, 43, 0.2);
  background: #fff;
  overflow: hidden;
}

.dm-product-card-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
}

.dm-product-card-body {
  padding: 0.88rem;
}

.dm-product-card-body h2,
.dm-product-card-body h3 {
  margin: 0 0 0.36rem;
  font-size: 1.34rem;
}

.dm-product-card-body a {
  text-decoration: none;
  color: var(--dm-green);
}

.dm-product-single {
  display: grid;
  gap: 1rem;
}

.dm-product-single-content {
  border-top: 3px solid var(--dm-green);
  border-bottom: 1px solid var(--dm-line);
  background: #fff;
  padding: 0.92rem;
}

.dm-product-subtitle {
  font-size: 1.08rem;
  color: #4e4e4e;
  margin-bottom: 0.3rem;
}

.dm-product-sku {
  color: var(--dm-green);
  font-weight: 700;
}

.dm-benefits {
  padding-left: 1rem;
}

.dm-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  border: 1px solid rgba(15, 59, 43, 0.16);
}

.dm-page-content th,
.dm-page-content td {
  border-bottom: 1px solid rgba(15, 59, 43, 0.14);
  padding: 0.62rem 0.66rem;
  text-align: left;
}

.dm-page-content th {
  background: var(--dm-green);
  color: #fff;
}

.dm-footer {
  margin-top: 3rem;
  border-top: 4px solid var(--dm-gold);
  background: linear-gradient(170deg, #0d3426 0%, #0f3b2b 66%, #133f2f 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 2.8rem 0 1.2rem;
}

.dm-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.45rem;
  align-items: start;
}

.dm-footer-col {
  min-width: 0;
}

.dm-footer h3 {
  color: #fff;
  margin: 0 0 0.44rem;
  font-size: 1.25rem;
}

.dm-footer-tagline {
  max-width: 420px;
  margin: 0.72rem 0 0;
}

.dm-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dm-footer-links li {
  margin-bottom: 0.46rem;
}

.dm-footer-links a {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
}

.dm-footer-links a:hover {
  text-decoration: underline;
}

.dm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.92rem;
  text-align: center;
}

.dm-lang-ar {
  direction: rtl;
}

.dm-lang-ar .dm-page-content th,
.dm-lang-ar .dm-page-content td {
  text-align: right;
}

@media (min-width: 760px) {
  .dm-fr-band ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dm-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dm-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dm-footer-grid {
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .dm-split-media {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: stretch;
  }

  .dm-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dm-icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .dm-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    min-height: var(--dm-header-height-tablet);
    padding: 0.08rem 0;
  }

  .dm-brand {
    grid-column: 1;
  }

  .dm-brand .custom-logo-link {
    max-width: min(33vw, 130px);
    height: var(--dm-header-logo-height-tablet);
  }

  .dm-brand .custom-logo {
    max-width: 100%;
    max-height: var(--dm-header-logo-height-tablet) !important;
    height: auto;
  }

  .dm-header-actions {
    display: none;
  }

  .dm-nav-toggle {
    display: inline-flex;
    grid-column: 3;
    justify-self: end;
    width: 40px;
    height: 40px;
    padding: 0.38rem;
    border-color: rgba(15, 59, 43, 0.34);
  }

  .dm-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    z-index: 100;
    padding: 0.85rem min(5vw, 1.25rem) 1rem;
    background: #f5efe4;
    border-top: 1px solid rgba(15, 59, 43, 0.14);
    border-bottom: 1px solid rgba(15, 59, 43, 0.2);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
    max-height: calc(100dvh - 88px);
    overflow: auto;
  }

  .dm-nav.is-open {
    display: block;
  }

  .dm-nav ul {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.22rem;
  }

  .dm-nav ul a {
    display: block;
    width: 100%;
    padding: 0.46rem 0;
    border-bottom-width: 1px;
    border-bottom-color: rgba(15, 59, 43, 0.14);
  }

  .dm-nav ul a.is-active {
    border-bottom-color: var(--dm-gold);
  }

  .dm-nav .dm-mobile-order-cta {
    display: inline-flex;
    margin-top: 0.72rem;
    margin-bottom: 0.1rem;
    padding: 0.56rem 0.92rem;
    color: var(--dm-white);
    border-color: var(--dm-green);
    border-bottom: 0;
  }

  .dm-nav .dm-lang-switch-mobile {
    display: flex !important;
    margin-top: 0.72rem;
    padding-top: 0.72rem;
    border-top: 1px solid rgba(15, 59, 43, 0.14);
  }

  .dm-lang-switch-mobile .dm-lang {
    padding: 0.34rem 0.56rem;
  }
}

@media (max-width: 760px) {
  .dm-wrap {
    width: min(1360px, calc(100vw - 1.6rem));
  }

  .dm-footer .dm-wrap {
    width: min(1360px, calc(100vw - 2.8rem));
  }

  .dm-brand .custom-logo {
    max-height: var(--dm-header-logo-height-mobile) !important;
  }

  .dm-brand .custom-logo-link {
    max-width: min(41vw, 112px);
    height: var(--dm-header-logo-height-mobile);
  }

  .dm-footer-logo .custom-logo {
    max-height: 64px;
  }

  .dm-hero {
    min-height: clamp(460px, 64vh, 640px);
    padding: 4.3rem 0 3.2rem;
  }

  .dm-hero-brand {
    margin-bottom: 0.8rem;
  }

  .dm-nav-toggle {
    width: 36px;
    height: 36px;
  }

  .dm-hero-actions {
    gap: 0.5rem;
  }

  .dm-hero-actions .dm-button {
    width: 100%;
    justify-content: center;
  }

  .dm-block,
  .dm-cta,
  .dm-fr-band {
    padding: 1rem;
  }

  .dm-page-content table th,
  .dm-page-content table td {
    font-size: 0.9rem;
  }

  .dm-footer {
    padding: 2.2rem 0 1rem;
  }

  .dm-footer-grid {
    gap: 1rem;
  }

  .dm-footer-col + .dm-footer-col {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 0.92rem;
  }

  .dm-footer h3 {
    font-size: 1.14rem;
    margin-bottom: 0.52rem;
  }

  .dm-footer-tagline {
    max-width: none;
  }

  .dm-footer-links li {
    margin-bottom: 0.52rem;
  }

  .dm-footer-bottom {
    margin-top: 1rem;
    padding-top: 0.84rem;
    font-size: 0.86rem;
  }
}
