
:root {
  --rmd-primary: #355C4A;
  --rmd-primary-dark: #243A30;
  --rmd-secondary: #A8B8A5;
  --rmd-accent: #8B6B4A;
  --rmd-bg: #FAF9F6;
  --rmd-text: #2F3437;
  --rmd-muted: #6F7375;
  --rmd-border: #ECE9E3;
  --rmd-white: #FFFFFF;
  --rmd-radius: 14px;
  --rmd-shadow: 0 14px 40px rgba(47,52,55,.08);
  --rmd-max: 1280px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rmd-bg);
  color: var(--rmd-text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--rmd-text);
  line-height: 1.08;
}
h1 { font-size: clamp(2.7rem, 6vw, 4.25rem); font-weight: 600; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; }
a { color: var(--rmd-primary); }
img { max-width: 100%; height: auto; }
.rmd-main { min-height: 60vh; }
.rmd-skip-link {
  position: fixed; left: -9999px; top: 10px; z-index: 99999;
  background: var(--rmd-primary-dark); color: white; padding: 12px 16px;
}
.rmd-skip-link:focus { left: 10px; }

.rmd-site-header {
  position: sticky; top: 0; z-index: 9999;
  background: rgba(250,249,246,.96);
  border-bottom: 1px solid var(--rmd-border);
  backdrop-filter: blur(12px);
}
.rmd-header-inner {
  width: min(calc(100% - 48px), var(--rmd-max));
  min-height: 92px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(170px, 1fr) auto minmax(120px, 1fr);
  align-items: center; gap: 28px;
}
.rmd-brand img { max-height: 64px; width: auto; }
.rmd-wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem; font-weight: 700; color: var(--rmd-primary-dark);
}
.rmd-nav-list, .rmd-footer-menu {
  display: flex; align-items: center; gap: 24px;
  list-style: none; padding: 0; margin: 0;
}
.rmd-nav-list a {
  position: relative; text-decoration: none; color: var(--rmd-text);
  font-size: 16px; font-weight: 600; white-space: nowrap;
}
.rmd-nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -8px;
  width: 0; height: 2px; background: var(--rmd-primary);
  transition: width .2s ease;
}
.rmd-nav-list a:hover::after,
.rmd-nav-list .current-menu-item > a::after { width: 100%; }
.rmd-header-tools { display: flex; justify-content: flex-end; gap: 14px; }
.rmd-icon-link {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; text-decoration: none; color: var(--rmd-text);
  border: 1px solid transparent; border-radius: 50%;
}
.rmd-icon-link:hover { color: var(--rmd-primary); border-color: var(--rmd-border); }
.rmd-cart-count {
  position: absolute; top: -2px; right: -3px;
  display: grid; place-items: center; min-width: 18px; height: 18px;
  padding: 0 4px; border-radius: 9px; background: var(--rmd-primary);
  color: white; font-size: 11px; font-weight: 700;
}
.rmd-menu-toggle { display: none; }

.rmd-section { padding: 100px 24px; }
.rmd-section-inner { width: min(100%, var(--rmd-max)); margin: 0 auto; }
.rmd-eyebrow {
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: .16em;
  font-size: 13px; font-weight: 700; color: var(--rmd-primary);
}
.rmd-lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--rmd-muted); }
.rmd-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--rmd-primary); color: white; text-decoration: none;
  font-weight: 600; border: 1px solid var(--rmd-primary);
}
.rmd-button:hover { background: var(--rmd-primary-dark); color: white; }
.rmd-button-secondary { background: transparent; color: var(--rmd-primary); }
.rmd-button-secondary:hover { background: var(--rmd-primary); color: white; }

.rmd-hero {
  min-height: 72vh; display: grid; align-items: center;
  padding: 110px 24px; background:
    linear-gradient(90deg, rgba(36,58,48,.84), rgba(36,58,48,.28)),
    var(--rmd-hero-image, linear-gradient(135deg,#7f927f,#c9c0af));
  background-size: cover; background-position: center;
}
.rmd-hero-content { width: min(760px, 100%); margin-left: max(0px, calc((100vw - var(--rmd-max))/2)); color: white; }
.rmd-hero h1, .rmd-hero p { color: white; }
.rmd-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.rmd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rmd-card {
  padding: 32px; border: 1px solid var(--rmd-border);
  border-radius: var(--rmd-radius); background: white; box-shadow: var(--rmd-shadow);
}
.rmd-card-number {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--rmd-secondary); color: var(--rmd-primary-dark);
  font-weight: 700; margin-bottom: 18px;
}

.rmd-site-footer { background: var(--rmd-primary-dark); color: rgba(255,255,255,.84); }
.rmd-site-footer h2, .rmd-site-footer h3, .rmd-site-footer a { color: white; }
.rmd-footer-grid {
  width: min(calc(100% - 48px), var(--rmd-max)); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 64px; padding: 72px 0;
}
.rmd-footer-brand p { max-width: 470px; }
.rmd-footer-signature { color: var(--rmd-secondary); font-weight: 700; letter-spacing: .08em; }
.rmd-footer-menu { flex-direction: column; align-items: flex-start; gap: 8px; }
.rmd-footer-menu a, .rmd-social-links a { text-decoration: none; }
.rmd-social-links { display: flex; flex-wrap: wrap; gap: 16px; }
.rmd-footer-bottom {
  width: min(calc(100% - 48px), var(--rmd-max)); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 20px;
  padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
}
.rmd-footer-bottom p { margin: 0; }

.woocommerce ul.products li.product {
  background: white; border: 1px solid var(--rmd-border); border-radius: var(--rmd-radius);
  overflow: hidden; padding-bottom: 18px; box-shadow: var(--rmd-shadow);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button { margin-left: 18px; margin-right: 18px; }
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--rmd-primary); color: white; border-radius: 999px;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--rmd-primary-dark); color: white;
}

@media (max-width: 1024px) {
  .rmd-header-inner { grid-template-columns: 1fr auto auto; }
  .rmd-menu-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    width: 42px; height: 42px; align-items: center; justify-content: center;
    background: transparent; border: 0;
  }
  .rmd-menu-toggle span:not(.screen-reader-text) { width: 24px; height: 2px; background: var(--rmd-text); }
  .rmd-primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--rmd-bg); border-bottom: 1px solid var(--rmd-border);
    padding: 24px;
  }
  .rmd-primary-nav.is-open { display: block; }
  .rmd-nav-list { flex-direction: column; align-items: flex-start; }
  .rmd-grid-3 { grid-template-columns: 1fr; }
  .rmd-footer-grid { grid-template-columns: 1fr 1fr; }
  .rmd-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .rmd-header-inner { width: min(calc(100% - 28px), var(--rmd-max)); min-height: 74px; gap: 10px; }
  .rmd-brand img { max-width: 170px; max-height: 52px; }
  .rmd-header-tools .rmd-icon-link:first-child,
  .rmd-header-tools .rmd-icon-link:nth-child(2) { display: none; }
  .rmd-section { padding: 64px 18px; }
  .rmd-hero { min-height: 68vh; padding: 84px 18px; }
  .rmd-hero-content { margin-left: 0; }
  .rmd-footer-grid { width: min(calc(100% - 36px), var(--rmd-max)); grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .rmd-footer-brand { grid-column: auto; }
  .rmd-footer-bottom { width: min(calc(100% - 36px), var(--rmd-max)); flex-direction: column; }
}
