/*
 * Dr. Mery — main stylesheet
 * Design system: brand red / cream / teal (charcoal text & dark surfaces)
 */

:root {
  --dm-primary: #E60C0D;
  --dm-primary-hover: #C40A0B;
  --dm-text-strong: #1a1714;
  --dm-navy: #1a1714; /* charcoal — headings & dark surfaces (legacy token name) */
  --dm-navy-light: #2a1212; /* soft red-tinted dark */
  --dm-teal: #1a6b5a;
  --dm-teal-light: #22896f;
  --dm-gold: #b8935a;
  --dm-cream: #f7f4ef;
  --dm-parchment: #edeae3;
  --dm-pearl: #faf9f6;
  --dm-border: #d4cfc6;
  --dm-muted: #6b6460;
  --dm-text: #1a1714;
  --dm-accent: #E60C0D;
  --dm-white: #ffffff;
  --dm-surface: #faf9f6;
  --dm-surface-muted: #edeae3;
  --dm-footer: #1a1714;
  --dm-footer-text: rgba(255, 255, 255, 0.55);
  --dm-shadow: 0 8px 28px rgba(26, 23, 20, 0.08);
  --dm-shadow-soft: 0 24px 64px rgba(26, 23, 20, 0.1);
  --dm-radius: 4px;
  --dm-radius-sm: 2px;
  --dm-radius-md: 12px;
  --dm-radius-lg: 16px;
  --dm-font-heading: "Cormorant Garamond", Georgia, serif;
  --dm-font-body: "Manrope", sans-serif;
  --dm-container: 1200px;
  --dm-header-height: 72px;
  --dm-topbar-height: 40px;
  --dm-space-1: 0.25rem;
  --dm-space-2: 0.5rem;
  --dm-space-3: 0.75rem;
  --dm-space-4: 1rem;
  --dm-space-5: 1.5rem;
  --dm-space-6: 2rem;
  --dm-space-7: 3rem;
  --dm-space-8: 4.5rem;
  --dm-transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--dm-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dm-text);
  background: var(--dm-cream);
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dm-transition);
}

a:hover {
  color: var(--dm-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dm-font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dm-text-strong);
  margin: 0 0 var(--dm-space-4);
}

p {
  margin: 0 0 var(--dm-space-4);
  color: var(--dm-muted);
}

ul, ol {
  margin: 0 0 var(--dm-space-4);
  padding-left: 1.25rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  left: var(--dm-space-4);
  top: var(--dm-space-4);
  z-index: 100000;
  background: var(--dm-pearl);
  padding: var(--dm-space-2) var(--dm-space-4);
  box-shadow: var(--dm-shadow);
}

.container {
  width: min(100% - 2rem, var(--dm-container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 720px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--dm-radius);
  font-family: var(--dm-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dm-transition), color var(--dm-transition), border-color var(--dm-transition), transform var(--dm-transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 38px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

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

.btn--primary:hover {
  background: var(--dm-primary-hover);
  border-color: var(--dm-primary-hover);
  color: var(--dm-white);
}

.btn--on-dark {
  background: var(--dm-pearl);
  color: var(--dm-text-strong);
  border-color: var(--dm-pearl);
}

.btn--on-dark:hover {
  background: var(--dm-white);
  color: var(--dm-text-strong);
}

.btn--outline {
  background: transparent;
  color: var(--dm-text-strong);
  border-color: var(--dm-border);
}

.btn--outline:hover {
  background: var(--dm-parchment);
  border-color: var(--dm-primary);
  color: var(--dm-primary);
}

.btn--outline-light {
  color: var(--dm-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--dm-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--dm-white);
  border-color: #25d366;
}

.btn--whatsapp:hover {
  filter: brightness(0.96);
  color: var(--dm-white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dm-teal);
}

.text-link:hover {
  color: var(--dm-teal-light);
}

.text-link--gold {
  color: var(--dm-gold);
}

.text-link--gold:hover {
  color: #d4aa72;
}

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dm-teal);
  margin-bottom: var(--dm-space-4);
}

.section-label--light {
  color: var(--dm-gold);
}

/* Topbar */
.topbar {
  background: #2a1212;
  border-bottom: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  min-height: var(--dm-topbar-height);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dm-space-4);
  min-height: var(--dm-topbar-height);
  padding: 0.4rem 0;
}

.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.topbar__item {
  color: rgba(255, 255, 255, 0.75);
}

.topbar__item:hover {
  color: #ffb4b4;
}

.topbar__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.topbar__menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--dm-space-4);
}

.topbar__menu a {
  color: rgba(255, 255, 255, 0.75);
}

.topbar__menu a:hover {
  color: #ffb4b4;
}

@media (min-width: 768px) {
  .topbar__menu {
    display: flex;
  }
}

@media (max-width: 767px) {
  .topbar__inner {
    justify-content: center;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dm-cream);
  border-bottom: 1px solid var(--dm-border);
  height: var(--dm-header-height);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(26, 23, 20, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dm-space-4);
  height: var(--dm-header-height);
}

.site-header__brand {
  display: flex;
  align-items: center;
  min-height: var(--dm-header-height);
}

.site-brand,
.custom-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
  line-height: 1.1;
}

.site-brand__name,
.site-footer__logo {
  font-family: var(--dm-font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  letter-spacing: -0.01em;
  color: var(--dm-text-strong);
}

.site-brand__tagline {
  font-family: var(--dm-font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dm-teal);
  margin-top: 0.15rem;
}

.custom-logo,
.site-brand__logo {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.custom-logo-link img.custom-logo {
  display: block;
  height: auto;
  width: auto;
  max-width: 180px;
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: var(--dm-space-3);
}

@media (min-width: 1024px) {
  .site-header__actions {
    display: flex;
  }
}

/* Language switcher
 * Activate GTranslate and enable English + Turkish for this switcher. */
.lang-switcher {
  display: inline-flex;
  align-items: center;
}

.lang-switcher__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.lang-switcher__link,
.lang-switcher .glink,
.lang-switcher a.nturl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--dm-font-body);
  color: var(--dm-muted);
  border-radius: var(--dm-radius-sm);
  text-decoration: none;
  line-height: 1;
}

.lang-switcher__link:hover,
.lang-switcher .glink:hover,
.lang-switcher a.nturl:hover {
  color: var(--dm-primary);
}

.lang-switcher__item.is-active .lang-switcher__link,
.lang-switcher .glink.gt-current-lang,
.lang-switcher a.gt-current-lang {
  color: var(--dm-primary);
  background: var(--dm-parchment);
}

.lang-switcher__link.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.lang-switcher a.glink {
  font-size: 0.75rem !important;
  font-weight: 600;
  color: var(--dm-muted) !important;
  text-decoration: none !important;
}

.lang-switcher a.glink:hover {
  color: var(--dm-primary) !important;
}

.lang-switcher__link > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0 !important;
  height: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.lang-switcher__item.is-active a.glink {
  color: var(--dm-primary) !important;
}

.home .site-main,
.page-template .site-main {
  display: flex;
  flex-direction: column;
}

.page-template .gallery-lightbox {
  order: 999;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  background: var(--dm-pearl);
  cursor: pointer;
  padding: 0;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dm-text-strong);
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .main-navigation__panel {
    display: block !important;
    position: static;
    padding: 0;
    background: transparent;
  }

  .main-navigation__panel[hidden] {
    display: block !important;
  }

  .main-navigation__actions--mobile {
    display: none;
  }

  .primary-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .primary-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dm-muted);
  }

  .primary-menu .current-menu-item > a,
  .primary-menu a:hover {
    color: var(--dm-primary);
  }

  .primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--dm-pearl);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-md);
    box-shadow: var(--dm-shadow);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
  }

  .primary-menu .menu-item-has-children {
    position: relative;
  }

  .primary-menu .menu-item-has-children:hover > .sub-menu,
  .primary-menu .menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }

  .primary-menu .sub-menu a {
    display: block;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 1023px) {
  .main-navigation__panel {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(26, 23, 20, 0.4);
    padding: 0;
  }

  .main-navigation__panel-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 360px);
    height: 100%;
    background: var(--dm-pearl);
    padding: var(--dm-space-6) var(--dm-space-5);
    overflow-y: auto;
    box-shadow: var(--dm-shadow);
  }

  .primary-menu {
    list-style: none;
    margin: 0 0 var(--dm-space-6);
    padding: 0;
  }

  .primary-menu a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--dm-border);
    font-weight: 500;
    color: var(--dm-text-strong);
  }

  .primary-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
  }

  .main-navigation__actions--mobile {
    display: flex;
    flex-direction: column;
    gap: var(--dm-space-3);
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  background: var(--dm-cream);
  min-height: auto;
  max-height: none;
  overflow: hidden;
}

@media (max-width: 959px) {
  .hero {
    padding: 1.5rem 0 1.5rem;
  }
}

.hero::before {
  content: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--dm-space-5);
  align-items: center;
  min-height: auto;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--dm-space-5);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--dm-border);
  background: var(--dm-parchment);
  color: var(--dm-teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dm-teal);
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--dm-text-strong);
  margin: 0 0 var(--dm-space-4);
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
}

.hero__text {
  max-width: 42ch;
  margin-bottom: 1.35rem;
  font-size: 1rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dm-space-3);
  margin-bottom: 1.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--dm-border);
}

.hero__stat-value {
  display: block;
  font-family: var(--dm-font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--dm-primary);
  margin-bottom: 0.35rem;
}

.hero__stat-label {
  font-size: 11px;
  color: var(--dm-muted);
  letter-spacing: 0.02em;
}

.hero__founder {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--dm-muted);
}

.hero__founder span {
  font-weight: 600;
  color: var(--dm-text-strong);
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.hero__frame {
  position: relative;
  border-radius: var(--dm-radius-lg);
  background: var(--dm-parchment);
  box-shadow: var(--dm-shadow-soft);
  overflow: hidden;
}

.hero__viewport {
  overflow: hidden;
  height: 380px;
}

@media (min-width: 768px) {
  .hero__viewport {
    height: 440px;
  }
}

.hero__track {
  height: 100%;
}

.hero__slide {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.25rem;
}

.hero__image {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}

.hero__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid var(--dm-border);
  background: rgba(247, 244, 239, 0.9);
}

.hero__caption-item {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__caption-item.is-active {
  display: flex;
}

.hero__caption-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dm-teal);
}

.hero__caption-meta {
  font-family: var(--dm-font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dm-text-strong);
}

.hero__caption-sku {
  font-variant-numeric: tabular-nums;
}

.hero__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dm-text-strong);
  box-shadow: 0 2px 12px rgba(26, 23, 20, 0.15);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  z-index: 2;
}

.hero__nav--prev { left: 0.75rem; }
.hero__nav--next { right: 0.75rem; }

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: var(--dm-border);
  padding: 0;
  cursor: pointer;
  transition: width 200ms ease, background 200ms ease;
}

.hero__dot.is-active {
  width: 24px;
  background: var(--dm-primary);
}

/* Hero side decorations (foot/shoe outlines) */
.hero__deco {
  position: absolute;
  top: 50%;
  width: min(180px, 22vw);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.06;
  color: var(--dm-text-strong);
  pointer-events: none;
  z-index: 0;
}

.hero__deco--left {
  left: clamp(0.25rem, 2vw, 1.5rem);
  animation: dm-hero-float 7s ease-in-out infinite;
}

.hero__deco--right {
  right: clamp(0.25rem, 2vw, 1.5rem);
  animation: dm-hero-float 8.5s ease-in-out infinite reverse;
  opacity: 0.05;
}

.hero__deco svg {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes dm-hero-float {
  0%,
  100% {
    transform: translateY(-48%);
    opacity: 0.045;
  }
  50% {
    transform: translateY(-54%);
    opacity: 0.08;
  }
}

@media (max-width: 959px) {
  .hero__deco {
    width: min(110px, 28vw);
    opacity: 0.04;
  }

  .hero__deco--right {
    opacity: 0.035;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__deco--left,
  .hero__deco--right {
    animation: none;
    opacity: 0.04;
    transform: translateY(-50%);
  }
}

/* Sections */
.section {
  padding: var(--dm-space-8) 0;
}

.section--muted {
  background: var(--dm-pearl);
}

.section__header {
  margin-bottom: var(--dm-space-6);
}

.section__header--center {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.section__header--split {
  display: flex;
  flex-direction: column;
  gap: var(--dm-space-4);
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 800px) {
  .section__header--split {
    flex-direction: row;
    align-items: flex-end;
  }
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--dm-space-3);
  color: var(--dm-navy);
}

.section__title--light {
  color: var(--dm-white);
}

.section__intro {
  margin: 0;
  max-width: 28rem;
}

.section__cta {
  margin-top: var(--dm-space-6);
  text-align: center;
}

/* Brand story */
.brand-story {
  background: var(--dm-pearl);
}

.brand-story__grid {
  display: grid;
  gap: var(--dm-space-7);
  align-items: center;
}

@media (min-width: 900px) {
  .brand-story__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.brand-story__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.brand-story__mosaic-main {
  grid-column: 1 / -1;
  border-radius: var(--dm-radius-md);
  background: var(--dm-parchment);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.brand-story__mosaic-main img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.brand-story__card {
  border-radius: var(--dm-radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
}

.brand-story__card--navy {
  background: var(--dm-navy);
}

.brand-story__card--parchment {
  background: var(--dm-parchment);
}

.brand-story__card-value {
  font-family: var(--dm-font-heading);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.brand-story__card--navy .brand-story__card-value {
  color: var(--dm-gold);
}

.brand-story__card--parchment .brand-story__card-value {
  color: var(--dm-teal);
}

.brand-story__card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-story__card--navy .brand-story__card-label {
  color: rgba(255, 255, 255, 0.6);
}

.brand-story__card--parchment .brand-story__card-label {
  color: var(--dm-muted);
}

/* Brand values */
.brand-values {
  background: var(--dm-cream);
  border-top: 1px solid var(--dm-border);
  border-bottom: 1px solid var(--dm-border);
}

.brand-values__grid {
  display: grid;
  gap: var(--dm-space-5);
}

@media (min-width: 700px) {
  .brand-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .brand-values__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.brand-values__item {
  padding: 1.5rem;
  border-radius: var(--dm-radius-md);
  background: var(--dm-pearl);
  border: 1px solid var(--dm-border);
  transition: transform var(--dm-transition), box-shadow var(--dm-transition);
}

.brand-values__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--dm-shadow);
}

.brand-values__icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--dm-parchment);
  margin-bottom: 1.15rem;
  position: relative;
}

.brand-values__icon::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--dm-teal);
}

.brand-values__icon--svg::after {
  display: none;
}

.brand-values__icon--svg svg {
  position: absolute;
  inset: 11px;
  width: 26px;
  height: 26px;
  color: var(--dm-teal);
}

.brand-values__title {
  font-family: var(--dm-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dm-navy);
  margin-bottom: 0.75rem;
}

.brand-values__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Value props (legacy template) */
.value-props__grid {
  display: grid;
  gap: var(--dm-space-5);
}

@media (min-width: 768px) {
  .value-props__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-props__icon {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dm-teal);
  margin-bottom: var(--dm-space-3);
}

.value-props__title {
  font-family: var(--dm-font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--dm-space-2);
}

.value-props__text {
  margin: 0;
}

/* Conditions */
.conditions-teaser {
  background: var(--dm-pearl);
}

.conditions-teaser__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .conditions-teaser__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .conditions-teaser__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.condition-tile {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--dm-radius-md);
  background: var(--dm-cream);
  border: 1px solid var(--dm-border);
  transition: transform var(--dm-transition), box-shadow var(--dm-transition);
  height: 100%;
}

.condition-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--dm-shadow);
  color: inherit;
}

.condition-tile__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dm-teal);
  font-family: var(--dm-font-heading);
  font-size: 1.1rem;
}

.condition-tile__icon-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.condition-tile__icon-placeholder {
  width: 22px;
  height: 22px;
  border: 1px solid var(--dm-border);
  border-radius: 50%;
  opacity: 0.65;
}

.condition-tile__title {
  display: block;
  font-family: var(--dm-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dm-navy);
  margin-bottom: 0.4rem;
}

.condition-tile__text {
  display: block;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--dm-muted);
  margin-bottom: 0.75rem;
}

.condition-tile__link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dm-teal);
}

.medical-note {
  margin-top: 2.5rem;
  padding: 1rem 1.15rem;
  border-radius: 8px;
  background: var(--dm-parchment);
  border: 1px solid var(--dm-border);
}

.medical-note p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
}

.medical-note strong {
  color: var(--dm-navy);
}

/* Technology navy section */
.technology-section {
  background: var(--dm-navy);
}

.tech-steps {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .tech-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-steps__item {
  padding: 1.5rem;
  border-radius: var(--dm-radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-steps__num {
  display: block;
  font-family: var(--dm-font-heading);
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
  line-height: 1;
}

.tech-steps__title {
  font-family: var(--dm-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dm-white);
  margin-bottom: 0.5rem;
}

.tech-steps__text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.technology-section__note {
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.technology-teaser__grid {
  display: grid;
  gap: var(--dm-space-6);
  align-items: center;
}

@media (min-width: 900px) {
  .technology-teaser__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.technology-teaser__media {
  background: var(--dm-parchment);
  border-radius: var(--dm-radius-md);
  padding: var(--dm-space-5);
}

/* Product cards */
.product-grid {
  display: grid;
  gap: var(--dm-space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .product-grid--featured {
    grid-template-columns: repeat(5, 1fr);
  }
}

.product-card {
  background: var(--dm-pearl);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dm-transition), box-shadow var(--dm-transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(14, 35, 64, 0.12);
}

.product-card__media {
  display: block;
  background: var(--dm-parchment);
  aspect-ratio: 1;
  padding: var(--dm-space-5);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 400ms ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.product-card__body {
  padding: var(--dm-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--dm-space-2);
  flex: 1;
}

.product-card__category {
  margin: 0;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dm-muted);
  font-weight: 600;
}

.product-card__title {
  font-family: var(--dm-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  color: var(--dm-navy);
}

.product-card__title a:hover {
  color: var(--dm-teal);
}

.product-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--dm-muted);
}

.product-card__meta span {
  color: var(--dm-text);
}

.product-card__link {
  margin-top: auto;
  padding-top: var(--dm-space-3);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--dm-teal);
}

.product-card__link:hover {
  text-decoration: underline;
}

.featured-products {
  background: var(--dm-cream);
}

.featured-products__note {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.75rem;
}

/* Product detail */
.product-detail {
  display: grid;
  gap: var(--dm-space-6);
  padding: var(--dm-space-6) 0 var(--dm-space-8);
}

@media (min-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.product-detail__main {
  margin: 0;
  background: var(--dm-parchment);
  border-radius: var(--dm-radius-md);
  padding: var(--dm-space-5);
}

.product-detail__image {
  width: 100%;
  object-fit: contain;
}

.product-detail__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dm-muted);
  margin: 0 0 var(--dm-space-2);
}

.product-detail__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.product-detail__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--dm-space-5);
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dm-space-3);
}

/* Filters */
.product-gender-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0 0 var(--dm-space-4);
  padding: 4px;
  background: var(--dm-pearl);
  border: 1px solid var(--dm-border);
  border-radius: 999px;
}

.product-gender-tabs__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dm-muted);
  white-space: nowrap;
}

.product-gender-tabs__item:hover {
  color: var(--dm-primary);
}

.product-gender-tabs__item.is-active {
  background: var(--dm-parchment);
  color: var(--dm-primary);
}

.product-filters {
  display: grid;
  gap: var(--dm-space-4);
  margin-bottom: var(--dm-space-6);
  padding: var(--dm-space-5);
  background: var(--dm-pearl);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
}

@media (min-width: 768px) {
  .product-filters {
    grid-template-columns: 2fr 1fr auto;
    align-items: end;
  }
}

.product-filters__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--dm-space-2);
}

.product-filters__input,
.product-filters__select,
.contact-form input,
.contact-form textarea,
.search-form input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  font: inherit;
  background: var(--dm-white);
  color: var(--dm-text);
}

.product-filters__actions {
  display: flex;
  gap: var(--dm-space-2);
}

/* Conditions / blog cards */
.conditions-grid,
.blog-grid {
  display: grid;
  gap: var(--dm-space-5);
}

@media (min-width: 700px) {
  .conditions-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .conditions-grid,
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.condition-card,
.blog-card {
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
  overflow: hidden;
  background: var(--dm-pearl);
  transition: transform var(--dm-transition), box-shadow var(--dm-transition);
}

.condition-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dm-shadow);
}

.condition-card__media,
.blog-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dm-parchment);
}

.condition-card__image,
.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.condition-card__media--contain .condition-card__image {
  object-fit: contain;
  padding: 1rem;
  background: var(--dm-parchment);
}

.condition-card__body,
.blog-card__body {
  padding: var(--dm-space-4);
}

.blog-card__category {
  margin: 0 0 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dm-teal);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dm-space-3);
  margin-bottom: var(--dm-space-3);
  color: var(--dm-muted);
  font-size: 0.75rem;
}

.blog-card__meta .blog-card__category {
  margin: 0;
}

.blog-card__link {
  margin-top: auto;
}

.blog-card__media--fallback {
  position: relative;
  background: var(--dm-parchment);
}

.condition-card__media--fallback {
  position: relative;
}

.blog-card__placeholder::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid var(--dm-border);
  border-radius: 50%;
  opacity: 0.65;
}

.condition-card__placeholder::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid var(--dm-border);
  border-radius: 50%;
  opacity: 0.65;
}

.blog-card__title,
.condition-card__title {
  font-family: var(--dm-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dm-navy);
}

.condition-card__link,
.blog-card__link {
  color: var(--dm-teal);
  font-weight: 600;
  font-size: 0.8125rem;
}

/* Founder quote */
.founder-quote {
  background: var(--dm-navy);
  text-align: center;
}

.founder-quote__blockquote {
  margin: 0 0 2rem;
}

.founder-quote__blockquote p {
  font-family: var(--dm-font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--dm-white);
  margin: 0;
}

.founder-quote__meta::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--dm-gold);
  margin: 0 auto 1rem;
}

.founder-quote__name {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dm-white);
}

.founder-quote__role {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Certs */
.certs-teaser {
  background: var(--dm-pearl);
}

.certs-teaser__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .certs-teaser__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .certs-teaser__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-card {
  padding: 1.5rem;
  border-radius: var(--dm-radius-md);
  background: var(--dm-cream);
  border: 1px solid var(--dm-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--dm-transition), box-shadow var(--dm-transition);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dm-shadow);
}

.cert-card__icon {
  width: 48px;
  height: 56px;
  border-radius: 4px;
  background: var(--dm-navy);
  margin-bottom: 1rem;
  position: relative;
}

.cert-card__icon::after {
  content: "";
  position: absolute;
  inset: 18px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

.cert-card__title {
  font-family: var(--dm-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cert-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
}

/* Certificate gallery (About) */
.certificate-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .certificate-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .certificate-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1180px) {
  .certificate-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.certificate-card {
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
  background: var(--dm-cream);
  padding: var(--dm-space-4);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--dm-space-3);
  cursor: pointer;
  transition: transform var(--dm-transition), box-shadow var(--dm-transition);
}

.certificate-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dm-shadow);
}

.certificate-card__image {
  width: 100%;
  height: 200px;
  border-radius: var(--dm-radius);
  background: var(--dm-parchment);
  border: 1px solid var(--dm-border);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificate-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.certificate-card__title {
  font-family: var(--dm-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dm-navy);
}

.certificate-card__desc {
  font-size: 0.8125rem;
  color: var(--dm-muted);
}

/* Journal */
.journal-teaser {
  background: var(--dm-cream);
  border-top: 1px solid var(--dm-border);
}

.journal-hero,
.single-post__hero {
  padding: var(--dm-space-8) 0 var(--dm-space-7);
  background: var(--dm-navy);
  text-align: center;
}

.journal-hero__title,
.single-post__title {
  color: var(--dm-white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--dm-space-4);
}

.journal-hero__intro,
.single-post__meta {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
}

.single-post__content {
  padding-top: var(--dm-space-7);
  padding-bottom: var(--dm-space-8);
}

.single-post__content .entry-thumbnail {
  overflow: hidden;
  border-radius: var(--dm-radius-md);
  aspect-ratio: 4 / 3;
}

.single-post__content .entry-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact CTA */
.contact-cta {
  background: var(--dm-navy);
  text-align: center;
}

.contact-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-cta__text {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Page header */
.page-header {
  padding: var(--dm-space-7) 0 var(--dm-space-5);
  background: var(--dm-navy);
  color: var(--dm-white);
}

.page-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--dm-space-3);
  color: var(--dm-white);
}

.page-header__intro {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--dm-font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: normal;
}

.breadcrumbs {
  margin-bottom: var(--dm-space-3);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a:hover {
  color: var(--dm-white);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Layouts */
.about-layout,
.contact-layout {
  display: grid;
  gap: var(--dm-space-6);
  align-items: center;
}

@media (min-width: 900px) {
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.about-layout__media {
  background: var(--dm-parchment);
  border-radius: var(--dm-radius-md);
  padding: var(--dm-space-5);
}

.about-layout__media--empty {
  min-height: 320px;
  background: var(--dm-parchment);
}

.about-layout__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 900px) {
  .about-layout--reverse .about-layout__content {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .conditions-teaser__grid,
  .conditions-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .conditions-teaser__grid > .condition-tile,
  .conditions-grid > .condition-card {
    grid-column: span 2;
  }

  .conditions-teaser__grid > .condition-tile:nth-child(4),
  .conditions-grid > .condition-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 1023px) and (min-width: 700px) {
  .conditions-teaser__grid > .condition-tile:last-child:nth-child(odd),
  .conditions-grid > .condition-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 0.5rem);
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .container,
  .container.narrow {
    width: min(100% - 1.5rem, var(--dm-container));
  }

  .section {
    padding: var(--dm-space-7) 0;
  }

  .contact-layout__info {
    order: 1;
  }

  .contact-layout__form {
    order: 2;
    min-width: 0;
  }
}

.tech-grid {
  display: grid;
  gap: var(--dm-space-5);
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-grid__item {
  padding: var(--dm-space-5);
  background: var(--dm-pearl);
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius-md);
}

.tech-grid__item h2 {
  font-size: 1.125rem;
  font-family: var(--dm-font-body);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  gap: var(--dm-space-4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-grid__item {
  border: 0;
  padding: var(--dm-space-4);
  background: var(--dm-parchment);
  border-radius: var(--dm-radius-md);
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 35, 64, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--dm-space-6);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  object-fit: contain;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--dm-radius);
  background: var(--dm-pearl);
  font-size: 1.5rem;
  cursor: pointer;
}

.layout-with-sidebar {
  display: grid;
  gap: var(--dm-space-6);
  padding: var(--dm-space-6) 0 var(--dm-space-8);
}

@media (min-width: 960px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr 280px;
  }
}

.entry-content {
  font-size: 1.0625rem;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-thumbnail {
  margin: 0 0 var(--dm-space-5);
}

.condition-cta {
  margin: var(--dm-space-6) 0 var(--dm-space-7);
  display: flex;
  justify-content: center;
}

.legal-content h2 {
  margin-top: var(--dm-space-6);
  font-size: 1.25rem;
}

.contact-details {
  list-style: none;
  margin: 0 0 var(--dm-space-5);
  padding: 0;
}

.contact-details li {
  margin-bottom: var(--dm-space-4);
}

.contact-details strong {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
  color: var(--dm-navy);
}

.contact-form p {
  margin-bottom: var(--dm-space-4);
}

.contact-form label {
  display: block;
  margin-bottom: var(--dm-space-2);
  font-weight: 500;
  color: var(--dm-text);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dm-space-3);
  margin-bottom: var(--dm-space-5);
}

.pagination,
.nav-links,
.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: var(--dm-space-6) 0 var(--dm-space-6);
  justify-content: center;
}

.page-numbers a,
.page-numbers span,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--dm-border);
  border-radius: var(--dm-radius);
  font-size: 0.875rem;
  background: var(--dm-pearl);
}

.page-numbers .current {
  border-color: var(--dm-primary);
  color: var(--dm-primary);
  background: var(--dm-parchment);
}

/* Footer */
.site-footer {
  background: var(--dm-footer);
  color: var(--dm-footer-text);
  margin-top: auto;
}

.site-footer a {
  color: var(--dm-footer-text);
}

.site-footer a:hover {
  color: var(--dm-white);
}

.site-footer__grid {
  display: grid;
  gap: var(--dm-space-6);
  padding: var(--dm-space-8) 0 var(--dm-space-6);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer__logo {
  color: var(--dm-white);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: var(--dm-space-3);
  text-decoration: none;
}

.site-footer__logo .site-brand__name {
  color: var(--dm-white);
}

.site-brand__tagline--footer {
  color: var(--dm-gold);
}

.site-footer__about {
  color: var(--dm-footer-text);
  margin: 0;
}

.site-footer__heading {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--dm-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--dm-space-4);
}

.footer-menu,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li,
.footer-contact li {
  margin-bottom: 0.65rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-inner {
  padding: var(--dm-space-4) 0;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* WhatsApp — brand red accent allowed as tiny float accent alongside green */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--dm-shadow);
  border: 2px solid var(--dm-accent);
}

.whatsapp-float:hover {
  color: #fff;
  filter: brightness(0.95);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  background: var(--dm-pearl);
  border-top: 1px solid var(--dm-border);
  box-shadow: 0 -4px 24px rgba(14, 35, 64, 0.08);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  width: min(100% - 2rem, var(--dm-container));
  margin: 0 auto;
  padding: var(--dm-space-4) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--dm-space-4);
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__title {
  margin: 0 0 0.25rem;
  font-family: var(--dm-font-heading);
  font-weight: 400;
  color: var(--dm-navy);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.875rem;
  max-width: 48rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dm-space-2);
}

/* Comments */
.comments-area {
  margin-top: var(--dm-space-7);
  padding-top: var(--dm-space-6);
  border-top: 1px solid var(--dm-border);
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  padding: var(--dm-space-4) 0;
  border-bottom: 1px solid var(--dm-border);
}

/* WooCommerce */
.woocommerce ul.products {
  display: grid;
  gap: var(--dm-space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 600px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.woocommerce span.onsale {
  background: var(--dm-primary);
  border-radius: var(--dm-radius-sm);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--dm-primary);
  color: var(--dm-white);
  border-radius: var(--dm-radius);
  font-weight: 600;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--dm-primary-hover);
}

.search-form {
  display: flex;
  gap: var(--dm-space-2);
  margin-bottom: var(--dm-space-5);
}

.search-form .search-submit {
  flex-shrink: 0;
}

.alignwide {
  max-width: var(--dm-container);
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.wp-block-button__link {
  border-radius: var(--dm-radius) !important;
  background: var(--dm-primary) !important;
}
