:root {
  --dy-parity-width: 1240px;
}

body.dy-parity-blog-active .dy-page-title,
body.dy-parity-search-active .dy-page-title,
body.dy-es .dy-static-page .dy-page-title,
body.dy-es .dy-es-content .dy-page-title {
  font-size: 32px !important;
  line-height: 1.12 !important;
}

.dy-parity-page,
body:is(.dy-en, .dy-es, .dy-de, .dy-nl, .dy-it, .dy-pt, .dy-pl) .dy-front-main > .dy-section,
body:is(.dy-en, .dy-es, .dy-de, .dy-nl, .dy-it, .dy-pt, .dy-pl) .dy-front-main > .dy-container {
  width: min(var(--dy-parity-width), calc(100% - 48px)) !important;
  max-width: var(--dy-parity-width) !important;
  margin-inline: auto !important;
}

.dy-parity-blog .dy-post-grid,
.dy-parity-search .dy-post-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.dy-parity-blog .dy-post-card,
.dy-parity-search .dy-post-card {
  min-width: 0;
}

.dy-post-card-cta {
  display: inline-flex;
  margin: auto 20px 20px;
  color: var(--dy-red, #8c261f);
  font-weight: 800;
}

.dy-parity-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 0;
}

.dy-parity-pagination a {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--dy-gold-dark, #7f6334);
  color: var(--dy-cream, #fff0cf);
  text-decoration: none;
}

.dy-parity-pagination a[aria-current="page"] {
  color: #fff;
  border-color: var(--dy-red, #8c261f);
  background: var(--dy-red, #8c261f);
}

.dy-parity-shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid rgb(216 180 122 / 40%);
  background: linear-gradient(135deg, rgb(216 180 122 / 10%), rgb(140 38 31 / 8%));
}

.dy-parity-shop-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--dy-cream, #fff0cf);
  font-weight: 800;
}

.dy-parity-shop-toolbar select {
  min-width: 260px;
  min-height: 44px;
}

.dy-parity-shop-toolbar strong {
  color: var(--dy-gold, #d8b47a);
}

.dy-parity-shop-active ul.products li.product[hidden] {
  display: none !important;
}

.dy-parity-search .dy-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.dy-parity-search .dy-search-filters a {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgb(216 180 122 / 46%);
  color: var(--dy-cream, #fff0cf);
  text-decoration: none;
}

.dy-parity-search .dy-search-filters a.is-active {
  background: var(--dy-red, #8c261f);
}

@media (min-width: 1280px) {
  .dy-lang-menu summary .dy-lang-menu-name {
    display: inline !important;
  }

  .dy-lang-menu summary {
    width: auto !important;
    min-width: 96px !important;
    gap: 7px !important;
    padding-inline: 10px !important;
  }
}

@media (max-width: 900px) {
  .dy-parity-blog .dy-post-grid,
  .dy-parity-search .dy-post-grid,
  .dy-parity-shop-active ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  body.dy-parity-blog-active .dy-archive-header .dy-page-title,
  body.dy-parity-search-active .dy-archive-header .dy-page-title {
    font-size: clamp(44px, 5vw, 62px) !important;
    line-height: 1.03 !important;
  }
}

@media (max-width: 520px) {
  .dy-parity-page,
  body:is(.dy-en, .dy-es, .dy-de, .dy-nl, .dy-it, .dy-pt, .dy-pl) .dy-front-main > .dy-section,
  body:is(.dy-en, .dy-es, .dy-de, .dy-nl, .dy-it, .dy-pt, .dy-pl) .dy-front-main > .dy-container {
    width: min(100% - 32px, var(--dy-parity-width)) !important;
  }

  .dy-parity-blog .dy-post-grid,
  .dy-parity-search .dy-post-grid,
  .dy-parity-shop-active ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .dy-parity-shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .dy-parity-shop-toolbar select {
    width: 100%;
    min-width: 0;
  }
}
