:root {
  --dz-navy: #1c3558;
  --dz-navy-soft: #2d4f7c;
  --dz-copper: #b56a4a;
  --dz-ink: #1c2430;
  --dz-muted: #5e6a78;
  --dz-line: #e7e1da;
  --dz-paper: #f7f4f0;
  --dz-white: #ffffff;
  --dz-shadow: 0 10px 30px rgba(28, 53, 88, 0.08);
}

.dz-header {
  background: var(--dz-white);
  border-bottom: 1px solid var(--dz-line);
}

.dz-header-inner,
.dz-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.dz-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.dz-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.dz-logo-mark {
  width: 52px;
  height: 52px;
}

.dz-logo-word {
  width: 171px;
  height: 46px;
}

.dz-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.dz-nav a {
  color: var(--dz-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dz-nav a:hover,
.dz-nav a[aria-current="page"] {
  color: var(--dz-copper);
}

#header,
#header + hr {
  display: none;
}

body.home {
  background: var(--dz-paper);
}

body.dz-catalog header:not(.dz-header),
body.dz-catalog .wp-block-navigation,
body.dz-catalog footer:not(.dz-site-footer),
body.dz-catalog #footer {
  display: none;
}

.dz-home {
  background: var(--dz-paper);
  color: var(--dz-ink);
  padding-bottom: 72px;
}

.dz-hero {
  background: var(--dz-navy);
  color: #f6f1eb;
  padding: 72px 0 64px;
}

.dz-kicker {
  margin: 0 0 14px;
  color: #e0b09a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dz-hero h1,
.dz-home h2 {
  margin: 0;
  font-family: Cardo, Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.dz-hero h1 {
  max-width: 11ch;
  color: #f4efe8 !important;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 0.95;
}

.dz-hero-lead {
  max-width: 46ch;
  margin: 22px 0 0;
  color: #d9e0ea;
  font-size: 18px;
  line-height: 1.6;
}

.dz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dz-btn,
.dz-btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.dz-btn {
  background: var(--dz-copper);
  color: white;
}

.dz-btn-ghost {
  border: 1px solid rgba(246, 241, 235, 0.35);
  color: #f6f1eb;
}

.dz-shop,
.dz-edit,
.dz-method {
  padding-top: 64px;
}

.dz-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dz-home h2 {
  color: var(--dz-navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.dz-section-head p:last-child {
  margin: 0;
  color: var(--dz-muted);
}

.dz-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dz-home-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--dz-line);
  border-radius: 18px;
  background: var(--dz-white);
  color: var(--dz-navy);
  text-decoration: none;
}

.dz-home-card strong {
  font-family: Cardo, Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}

.dz-home-card span {
  color: var(--dz-muted);
}

.dz-home-card em {
  color: var(--dz-copper);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dz-home-card.is-lead {
  min-height: 210px;
  background: #243e64;
  border-color: #243e64;
  color: white;
}

.dz-home-card.is-lead span {
  max-width: 24ch;
  color: #d5dde8;
  font-size: 17px;
}

.dz-home-card:hover {
  border-color: var(--dz-copper);
}

.dz-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dz-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dz-method article {
  padding: 24px;
  border-top: 2px solid var(--dz-copper);
  background: var(--dz-white);
}

.dz-method h3 {
  margin: 8px 0;
  color: var(--dz-navy);
  font-family: Cardo, Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.dz-method p,
.dz-note {
  margin: 0;
  color: var(--dz-muted);
  line-height: 1.55;
}

.dz-note {
  margin-top: 28px;
  font-size: 14px;
}

.dz-site-footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--dz-line);
  color: var(--dz-muted);
  font-size: 13px;
}

.dz-site-footer p,
.dz-social {
  margin: 0;
}

.dz-social {
  margin-top: 10px;
}

.dz-social a {
  color: var(--dz-navy);
  font-weight: 700;
  text-decoration: none;
}

.dz-social a:hover,
.dz-legal a:hover {
  color: var(--dz-copper);
}

.dz-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}

.dz-legal a {
  color: var(--dz-navy);
  font-weight: 700;
  text-decoration: none;
}

.dz-prose {
  max-width: 760px;
}

.dz-prose h1 {
  margin: 12px 0 18px;
  color: var(--dz-navy);
  font-family: Cardo, Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.dz-prose h2 {
  margin: 28px 0 8px;
  color: var(--dz-navy);
  font-size: 18px;
}

.dz-prose p {
  margin: 0 0 14px;
  color: var(--dz-muted);
  line-height: 1.65;
}

.dz-prose a {
  color: var(--dz-copper);
}

.dz-note a {
  color: var(--dz-navy);
  font-weight: 700;
  text-decoration: none;
}

.dz-note a:hover {
  color: var(--dz-copper);
}

.dz-measure {
  max-width: 860px;
}

.dz-measure-block {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 8px 28px;
  align-items: start;
  margin: 8px 0 36px;
}

.dz-measure-svg {
  width: 100%;
  height: auto;
  background: var(--dz-paper);
  border: 1px solid var(--dz-line);
  border-radius: 16px;
}

.dz-measure h3 {
  margin: 16px 0 6px;
  color: var(--dz-navy);
  font-size: 16px;
}

.dz-measure ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--dz-muted);
  line-height: 1.55;
}

.dz-measure .dz-fit-note {
  margin-top: 8px;
}

@media (max-width: 700px) {
  .dz-measure-block {
    grid-template-columns: 1fr;
  }

  .dz-measure-svg {
    max-width: 200px;
  }
}

.dz-social-bar {
  background: var(--dz-paper);
  padding: 8px 0 28px;
}

.dz-page {
  background: var(--dz-paper);
  color: var(--dz-ink);
  padding: 28px 0 64px;
}

.dz-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  color: var(--dz-muted);
  font-size: 13px;
}

.dz-crumb a {
  color: var(--dz-navy-soft);
  text-decoration: none;
}

.dz-page h1 {
  margin: 0 0 12px;
  color: var(--dz-navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.dz-intro {
  max-width: 68ch;
  margin: 0;
  color: var(--dz-muted);
  font-size: 17px;
  line-height: 1.6;
}

.dz-filters,
.dz-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dz-filters a,
.dz-ranges a,
.dz-related a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--dz-line);
  border-radius: 999px;
  background: var(--dz-white);
  color: var(--dz-navy);
  text-decoration: none;
  font-weight: 600;
}

.dz-filters a.dz-all-sizes,
.dz-ranges a.dz-all-sizes {
  background: var(--dz-navy);
  border-color: var(--dz-navy);
  color: white;
}

.dz-filters a.dz-all-sizes:hover,
.dz-ranges a.dz-all-sizes:hover {
  background: var(--dz-copper);
  border-color: var(--dz-copper);
  color: white;
}

.dz-filters a[aria-current="page"],
.dz-ranges a:hover,
.dz-filters a:hover,
.dz-related a:hover {
  border-color: var(--dz-copper);
  color: var(--dz-copper);
}

.dz-filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.dz-filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--dz-navy);
  font-size: 13px;
  font-weight: 700;
}

.dz-filter-bar select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--dz-line);
  border-radius: 12px;
  background: var(--dz-white);
  color: var(--dz-ink);
  font: inherit;
  font-weight: 500;
}

.dz-range-group {
  margin-top: 18px;
}

.dz-range-group .dz-section-label {
  margin-top: 0;
  margin-bottom: 8px;
}

.dz-range-group .dz-ranges {
  margin-top: 0;
}

.dz-section-label,
.dz-count {
  margin: 28px 0 0;
  color: var(--dz-navy);
  font-size: 15px;
  font-weight: 700;
}

.dz-count span {
  color: var(--dz-muted);
  font-weight: 500;
}

.dz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.dz-card[hidden] {
  display: none !important;
}

.dz-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--dz-line);
  border-radius: 16px;
  background: var(--dz-white);
  box-shadow: var(--dz-shadow);
  color: inherit;
  text-decoration: none;
}

.dz-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #efeae4;
}

.dz-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 14px 14px 16px;
}

.dz-card-brand,
.dz-brand {
  margin: 0;
  color: var(--dz-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dz-card-title {
  margin: 0;
  color: var(--dz-navy);
  font-size: 17px;
  line-height: 1.35;
}

.dz-card-meta {
  margin-top: auto;
  padding-top: 10px;
  color: var(--dz-ink);
  font-weight: 700;
}

.dz-card-meta span,
.dz-measure {
  display: block;
  color: var(--dz-muted);
  font-size: 13px;
  font-weight: 500;
}

.dz-card-meta .dz-card-price {
  color: var(--dz-navy);
  font-size: 18px;
  font-weight: 700;
}

.dz-empty {
  margin-top: 28px;
  padding: 28px;
  border-radius: 16px;
  background: var(--dz-white);
  color: var(--dz-muted);
}

.dz-product {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 64px;
}

.dz-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.dz-main-image img,
.dz-thumbnails img {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: #efeae4;
}

.dz-main-image img {
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.dz-main-image img.is-chart {
  object-fit: contain;
  background: #fff;
}

.dz-thumbnails {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  overflow-x: auto;
}

.dz-thumbnails img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  cursor: pointer;
}

.dz-thumbnails img.dz-thumb-chart {
  object-fit: contain;
  background: #fff;
}

.dz-title {
  margin: 6px 0 8px;
  color: var(--dz-navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.dz-price {
  margin-bottom: 16px;
  color: var(--dz-ink);
  font-size: 24px;
  font-weight: 700;
}

.dz-color-swatches,
.dz-sizes {
  margin: 16px 0;
}

.dz-color-label-title,
.dz-size-title {
  margin-bottom: 8px;
  color: var(--dz-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dz-size-pills,
.dz-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dz-size-pill,
.dz-color-pill,
.dz-color-swatch {
  border: 1px solid var(--dz-line);
  border-radius: 999px;
  background: var(--dz-white);
  color: var(--dz-navy);
  cursor: pointer;
}

.dz-size-pill,
.dz-color-pill {
  min-height: 40px;
  padding: 8px 14px;
  font-weight: 700;
}

.dz-size-pill.active {
  border-color: var(--dz-navy);
  background: var(--dz-navy);
  color: white;
}

.dz-color-swatch {
  width: 54px;
  height: 72px;
  padding: 3px;
  border-radius: 10px;
}

.dz-color-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.dz-size-measurements {
  margin-top: 10px;
  color: var(--dz-navy);
  font-weight: 600;
}

.dz-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--dz-copper);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.dz-sold-out,
.dz-card-sold-out {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 8px;
  color: var(--dz-navy);
  font-weight: 700;
}

.dz-size-out {
  opacity: 0.5;
  text-decoration: line-through;
}

.dz-disclosure,
.dz-description {
  color: var(--dz-muted);
  line-height: 1.6;
}

.dz-fit-note {
  margin: 12px 0 0;
  color: var(--dz-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dz-disclosure {
  margin: 10px 0 0;
  font-size: 13px;
}

.dz-description {
  margin-top: 28px;
  max-width: 68ch;
}

@media (min-width: 900px) {
  .dz-product-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
  }

  .dz-product-details {
    position: sticky;
    top: 20px;
  }
}

@media (max-width: 900px) {
  .dz-shop-grid,
  .dz-edit-grid,
  .dz-method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dz-home-card.is-lead {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .dz-header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .dz-nav {
    justify-content: flex-start;
  }

  .dz-filter-bar {
    grid-template-columns: 1fr;
  }

  .dz-logo-word {
    width: 141px;
    height: 38px;
  }

  .dz-hero {
    padding: 48px 0 40px;
  }

  .dz-shop-grid,
  .dz-edit-grid,
  .dz-method-grid,
  .dz-home-card.is-lead {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .dz-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
