/**
 * Reusable WordPress content templates
 * ------------------------------------
 * Used by: category.php, single.php, sidebar.php, page.php, page-contacts.php and single-blog.php.
 *
 * Reuse notes:
 * 1. Copy this file into another theme and load it after the theme CSS.
 * 2. Keep the dx-* classes in the PHP templates.
 * 3. Override the variables below to match another project's brand.
 */

:root {
  --dx-brand: var(--theme-color, #e50000);
  --dx-brand-dark: #bd0000;
  --dx-ink: #0f172a;
  --dx-heading: #101828;
  --dx-text: #475467;
  --dx-muted: #667085;
  --dx-line: #e4e7ec;
  --dx-soft: #f5f7fa;
  --dx-white: #ffffff;
  --dx-dark: #0b1220;
  --dx-dark-2: #111a2b;
  --dx-success: #16a34a;
  --dx-radius-sm: 12px;
  --dx-radius: 20px;
  --dx-radius-lg: 28px;
  --dx-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.07);
  --dx-shadow: 0 22px 60px rgba(15, 23, 42, 0.11);
  --dx-transition: 220ms ease;
  --dx-shell: 1320px;
}

.dx-content-page,
.dx-content-page * {
  box-sizing: border-box;
}

.dx-content-page {
  color: var(--dx-text);
  background: var(--dx-white);
  font-family: "Inter", sans-serif;
}

.dx-content-page img {
  max-width: 100%;
}

.dx-shell {
  width: min(calc(100% - 40px), var(--dx-shell));
  margin-inline: auto;
}

.dx-section {
  position: relative;
  padding: clamp(64px, 7vw, 104px) 0;
}

.dx-section--muted {
  background:
    radial-gradient(circle at 0 0, rgba(229, 0, 0, 0.055), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #f3f5f8 100%);
}

.dx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(229, 0, 0, 0.92);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
}

.dx-eyebrow--light {
  color: var(--dx-brand);
  background: rgba(229, 0, 0, 0.08);
}

.dx-page-hero {
  --dx-hero-image: none;
  position: relative;
  isolation: isolate;
  min-height: clamp(330px, 35vw, 500px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dx-dark);
}

.dx-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--dx-hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.dx-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 10, 18, 0.94) 0%, rgba(6, 10, 18, 0.77) 46%, rgba(6, 10, 18, 0.28) 100%),
    linear-gradient(0deg, rgba(6, 10, 18, 0.56), rgba(6, 10, 18, 0.04));
}

.dx-page-hero .dx-shell {
  position: relative;
}

.dx-page-hero .dx-shell::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(35vw, 410px);
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--dx-brand));
}

.dx-page-hero__content {
  width: 100%;
  padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 76px);
  text-align: center;
}

.dx-page-hero__content h1 {
  margin: 18px 0 14px;
  color: #fff;
  font-family: "Afacad", "Inter", sans-serif;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.dx-page-hero__content > p {
  max-width: 650px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.dx-page-hero--compact {
  min-height: clamp(300px, 30vw, 430px);
}

.dx-page-hero--product {
  min-height: clamp(300px, 31vw, 440px);
}

.dx-breadcrumbs,
.dx-breadcrumbs a,
.dx-breadcrumbs span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.dx-breadcrumbs a:hover {
  color: #fff;
}

.dx-breadcrumbs > span:last-child,
.dx-breadcrumbs .current-item {
  color: #fff;
  font-weight: 600;
}

.dx-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.dx-section-heading > div {
  max-width: 720px;
}

.dx-section-heading h2 {
  margin: 15px 0 0;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.dx-section-heading > p {
  width: min(440px, 100%);
  margin: 0;
  color: var(--dx-muted);
  font-size: 15px;
  line-height: 1.8;
}

.dx-section-heading--center {
  justify-content: center;
  text-align: center;
}

.dx-section-heading--center > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dx-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dx-heading);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dx-text-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #fff;
  background: var(--dx-brand);
  transition: transform var(--dx-transition), background var(--dx-transition);
}

.dx-text-link:hover {
  color: var(--dx-brand);
}

.dx-text-link:hover span {
  transform: translateX(4px);
  background: var(--dx-brand-dark);
}

.dx-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--dx-brand);
  border-radius: 12px;
  color: #fff;
  background: var(--dx-brand);
  box-shadow: 0 10px 24px rgba(229, 0, 0, 0.18);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform var(--dx-transition), background var(--dx-transition), border-color var(--dx-transition), box-shadow var(--dx-transition);
}

.dx-button:hover {
  color: #fff;
  background: var(--dx-brand-dark);
  border-color: var(--dx-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(229, 0, 0, 0.23);
}

.dx-button--outline {
  color: var(--dx-heading);
  background: #fff;
  border-color: var(--dx-line);
  box-shadow: none;
}

.dx-button--outline:hover {
  color: var(--dx-brand);
  background: #fff;
  border-color: var(--dx-brand);
  box-shadow: none;
}

.dx-button--light {
  color: var(--dx-heading);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.dx-button--light:hover {
  color: var(--dx-brand);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

/* Category archive and sidebar */
.dx-category-layout {
  display: grid;
  grid-template-columns: minmax(245px, 310px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 4vw, 56px);
}

.dx-category-main {
  min-width: 0;
}

.dx-category-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 115px;
}

.dx-sidebar-card {
  overflow: hidden;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
}

.dx-sidebar-card__head {
  padding: 25px 24px 20px;
  border-bottom: 1px solid var(--dx-line);
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
}

.dx-sidebar-card__head h2 {
  margin: 13px 0 0;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 700;
}

.dx-sidebar-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 14px;
  padding: 13px 14px;
  border-radius: 11px;
  color: var(--dx-heading);
  background: var(--dx-soft);
  font-size: 14px;
  font-weight: 800;
  transition: color var(--dx-transition), background var(--dx-transition);
}

.dx-sidebar-all i {
  color: var(--dx-brand);
  font-size: 12px;
}

.dx-sidebar-all:hover,
.dx-sidebar-all.is-current {
  color: #fff;
  background: var(--dx-brand);
}

.dx-sidebar-all:hover i,
.dx-sidebar-all.is-current i {
  color: #fff;
}

.dx-sidebar-list {
  margin: 0;
  padding: 2px 14px 16px;
  list-style: none;
}

.dx-sidebar-list li {
  position: relative;
  margin: 0;
}

.dx-sidebar-list li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 11px;
  border-bottom: 1px solid #eef0f3;
  color: var(--dx-text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
  transition: color var(--dx-transition), padding var(--dx-transition);
}

.dx-sidebar-list li:last-child > a {
  border-bottom-color: transparent;
}

.dx-sidebar-list li > a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #d0d5dd;
  transition: background var(--dx-transition), transform var(--dx-transition);
}

.dx-sidebar-list li > a span {
  flex: 1;
}

.dx-sidebar-list li > a small {
  min-width: 27px;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--dx-muted);
  background: #f2f4f7;
  font-size: 10px;
  line-height: 1.25;
  text-align: center;
}

.dx-sidebar-list li > a:hover,
.dx-sidebar-list li.is-current > a {
  color: var(--dx-brand);
  padding-left: 15px;
}

.dx-sidebar-list li > a:hover::before,
.dx-sidebar-list li.is-current > a::before,
.dx-sidebar-list li.is-open > a::before {
  background: var(--dx-brand);
  transform: scale(1.3);
}

.dx-sidebar-list li.is-current > a small {
  color: #fff;
  background: var(--dx-brand);
}

.dx-sidebar-list--nested {
  margin: 0 0 4px 10px;
  padding: 0 0 0 13px;
  border-left: 1px solid #e4e7ec;
}

.dx-sidebar-list--nested li > a {
  padding-block: 10px;
  font-size: 13px;
}

.dx-sidebar-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 27px 24px;
  border-radius: var(--dx-radius);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(229, 0, 0, 0.44), transparent 43%),
    linear-gradient(145deg, var(--dx-dark) 0%, var(--dx-dark-2) 100%);
  box-shadow: var(--dx-shadow);
}

.dx-sidebar-cta::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  z-index: -1;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.04);
}

.dx-sidebar-cta__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 13px;
  color: #fff;
  background: var(--dx-brand);
  font-size: 18px;
}

.dx-sidebar-cta .dx-eyebrow {
  display: flex;
  margin-bottom: 14px;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
}

.dx-sidebar-cta h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 700;
}

.dx-sidebar-cta p {
  margin: 0 0 21px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 13px;
  line-height: 1.75;
}

.dx-sidebar-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.dx-sidebar-cta__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.dx-sidebar-cta__whatsapp:hover {
  color: #fff;
  opacity: 0.82;
}

.dx-category-grid,
.dx-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.dx-category-card,
.dx-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
  transition: transform var(--dx-transition), box-shadow var(--dx-transition), border-color var(--dx-transition);
}

.dx-category-card:hover,
.dx-product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(229, 0, 0, 0.22);
  box-shadow: var(--dx-shadow);
}

.dx-category-card__media,
.dx-product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eef1f5;
}

.dx-category-card__media {
  aspect-ratio: 1.16 / 1;
}

.dx-category-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 13, 23, 0.47), transparent 56%);
}

.dx-category-card__media img,
.dx-product-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.dx-category-card:hover .dx-category-card__media img,
.dx-product-card:hover .dx-product-card__media img {
  transform: scale(1.045);
}

.dx-category-card__count {
  position: absolute;
  left: 16px;
  bottom: 15px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 13, 23, 0.74);
  backdrop-filter: blur(8px);
  font-size: 11px;
  line-height: 1;
  font-weight: 750;
}

.dx-category-card__body,
.dx-product-card__body {
  padding: 22px;
}

.dx-category-card__body h3,
.dx-product-card__body h3 {
  margin: 0 0 10px;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 700;
}

.dx-category-card__body h3 a,
.dx-product-card__body h3 a {
  color: inherit;
}

.dx-category-card__body h3 a:hover,
.dx-product-card__body h3 a:hover {
  color: var(--dx-brand);
}

.dx-category-card__body p {
  min-height: 44px;
  margin: 0 0 17px;
  color: var(--dx-muted);
  font-size: 13px;
  line-height: 1.65;
}

.dx-product-card__media {
  aspect-ratio: 1 / 1;
}

.dx-product-card__media img {
  object-fit: contain;
  padding: 10px;
  background: #f7f8fa;
}

.dx-product-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  font-size: 40px;
}

.dx-product-card__view {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--dx-brand);
  box-shadow: 0 10px 22px rgba(229, 0, 0, 0.22);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity var(--dx-transition), transform var(--dx-transition);
}

.dx-product-card:hover .dx-product-card__view {
  opacity: 1;
  transform: translateY(0);
}

.dx-product-card__sku {
  display: block;
  margin-bottom: 8px;
  color: var(--dx-brand);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-product-card__body h3 {
  min-height: 52px;
}

.dx-pagination {
  margin-top: 42px;
}

.dx-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dx-pagination .page-numbers li {
  margin: 0;
}

.dx-pagination .page-numbers a,
.dx-pagination .page-numbers span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--dx-line);
  border-radius: 10px;
  color: var(--dx-text);
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}

.dx-pagination .page-numbers a:hover,
.dx-pagination .page-numbers .current {
  color: #fff;
  background: var(--dx-brand);
  border-color: var(--dx-brand);
}

.dx-empty-state {
  padding: clamp(45px, 7vw, 80px) 25px;
  border: 1px dashed #d0d5dd;
  border-radius: var(--dx-radius);
  background: var(--dx-soft);
  text-align: center;
}

.dx-empty-state i {
  margin-bottom: 18px;
  color: var(--dx-brand);
  font-size: 44px;
}

.dx-empty-state h3 {
  margin: 0 0 8px;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 30px;
}

.dx-empty-state p {
  margin: 0;
  color: var(--dx-muted);
}

/* Product single */
.dx-product-overview-section {
  overflow: hidden;
}

.dx-product-overview-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -230px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(229, 0, 0, 0.035);
  pointer-events: none;
}

.dx-product-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: start;
}

.dx-product-gallery {
  min-width: 0;
}

.dx-product-gallery__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius-lg);
  background:
    radial-gradient(circle at 50% 35%, #fff 0%, #f8fafc 60%, #eef1f5 100%);
  box-shadow: var(--dx-shadow);
}

.dx-product-gallery__stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: clamp(14px, 3vw, 34px);
}

.dx-product-gallery__zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(8px);
  transition: background var(--dx-transition), transform var(--dx-transition);
}

.dx-product-gallery__stage:hover .dx-product-gallery__zoom {
  background: var(--dx-brand);
  transform: scale(1.06);
}

.dx-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.dx-product-thumbnail {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--dx-line);
  border-radius: 13px;
  background: #f7f8fa;
  cursor: pointer;
  transition: border-color var(--dx-transition), box-shadow var(--dx-transition), transform var(--dx-transition);
}

.dx-product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.dx-product-thumbnail:hover,
.dx-product-thumbnail.is-active {
  border-color: var(--dx-brand);
  box-shadow: 0 0 0 3px rgba(229, 0, 0, 0.09);
  transform: translateY(-2px);
}

.dx-product-summary {
  position: sticky;
  top: 115px;
  padding-top: 6px;
}

.dx-product-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 17px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--dx-brand);
  background: rgba(229, 0, 0, 0.075);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dx-product-category:hover {
  color: #fff;
  background: var(--dx-brand);
}

.dx-product-summary h2 {
  margin: 0 0 9px;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: clamp(42px, 4.7vw, 64px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.dx-product-code {
  margin-bottom: 23px;
  color: var(--dx-brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-product-description {
  margin-bottom: 27px;
  color: var(--dx-text);
  font-size: 15px;
  line-height: 1.8;
}

.dx-product-description > *:last-child {
  margin-bottom: 0;
}

.dx-product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 27px;
}

.dx-product-fact {
  padding: 16px 17px;
  border: 1px solid var(--dx-line);
  border-radius: 13px;
  background: #fff;
}

.dx-product-fact span {
  display: block;
  margin-bottom: 5px;
  color: var(--dx-muted);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dx-product-fact strong {
  display: block;
  color: var(--dx-heading);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}

.dx-product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.dx-product-assurance {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 21px;
  border-top: 1px solid var(--dx-line);
}

.dx-product-assurance span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dx-text);
  font-size: 13px;
  font-weight: 600;
}

.dx-product-assurance i {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--dx-success);
  font-size: 8px;
}

.dx-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dx-info-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
}

.dx-info-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--dx-brand);
  background: rgba(229, 0, 0, 0.08);
  font-size: 19px;
}

.dx-info-card h3 {
  margin: 0 0 18px;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 700;
}

.dx-spec-list {
  margin: 0;
}

.dx-spec-list > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #eef0f3;
}

.dx-spec-list > div:last-child {
  border-bottom: 0;
}

.dx-spec-list dt,
.dx-spec-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.dx-spec-list dt {
  color: var(--dx-heading);
  font-weight: 750;
}

.dx-spec-list dd {
  color: var(--dx-muted);
  text-align: right;
}

.dx-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.dx-pill-list span {
  padding: 9px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  color: var(--dx-text);
  background: var(--dx-soft);
  font-size: 12px;
  font-weight: 700;
}

.dx-content-block {
  margin-top: clamp(45px, 6vw, 72px);
}

.dx-content-block__head {
  margin-bottom: 25px;
}

.dx-content-block__head > span {
  display: block;
  margin-bottom: 7px;
  color: var(--dx-brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-content-block__head h3 {
  margin: 0;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: clamp(31px, 3.4vw, 44px);
  line-height: 1.05;
  font-weight: 700;
}

.dx-variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dx-variant-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--dx-line);
  border-radius: 17px;
  color: var(--dx-text);
  background: #fff;
  transition: transform var(--dx-transition), border-color var(--dx-transition), box-shadow var(--dx-transition);
}

.dx-variant-card::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--dx-brand);
  font-size: 20px;
  font-weight: 800;
}

.dx-variant-card > span {
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--dx-brand);
  background: rgba(229, 0, 0, 0.08);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.dx-variant-card h4 {
  margin: 0 0 9px;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 700;
}

.dx-variant-card p {
  margin: 0 0 17px;
  color: var(--dx-muted);
  font-size: 12px;
  line-height: 1.65;
}

.dx-variant-card strong {
  margin-top: auto;
  padding-right: 35px;
  color: var(--dx-heading);
  font-size: 11px;
  letter-spacing: 0.07em;
}

.dx-variant-card:hover {
  color: var(--dx-text);
  transform: translateY(-5px);
  border-color: rgba(229, 0, 0, 0.28);
  box-shadow: var(--dx-shadow-sm);
}

.dx-oem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dx-oem-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 21px;
  border: 1px solid var(--dx-line);
  border-radius: 16px;
  background: #fff;
}

.dx-oem-card > i {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  background: var(--dx-brand);
  font-size: 11px;
}

.dx-oem-card h4 {
  margin: 2px 0 7px;
  color: var(--dx-heading);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}

.dx-oem-card p {
  margin: 0;
  color: var(--dx-muted);
  font-size: 12px;
  line-height: 1.65;
}

.dx-faq-list {
  display: grid;
  gap: 11px;
}

.dx-faq-item {
  overflow: hidden;
  border: 1px solid var(--dx-line);
  border-radius: 14px;
  background: #fff;
}

.dx-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 21px;
  color: var(--dx-heading);
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
}

.dx-faq-item summary::-webkit-details-marker {
  display: none;
}

.dx-faq-item summary i {
  color: var(--dx-brand);
  font-size: 12px;
  transition: transform var(--dx-transition);
}

.dx-faq-item[open] summary i {
  transform: rotate(45deg);
}

.dx-faq-item > div {
  padding: 0 21px 20px;
  color: var(--dx-muted);
  font-size: 13px;
  line-height: 1.75;
}

.dx-faq-item > div > *:last-child {
  margin-bottom: 0;
}

.dx-related-products .dx-product-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Default page */
.dx-page-article {
  width: min(100%, 1050px);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius-lg);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
}

.dx-page-lead {
  margin-bottom: 32px;
  padding: 0 0 28px 25px;
  border-left: 4px solid var(--dx-brand);
  border-bottom: 1px solid var(--dx-line);
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.42;
  font-weight: 500;
}

.dx-entry-content {
  color: var(--dx-text);
  font-size: 16px;
  line-height: 1.85;
}

.dx-entry-content > *:first-child {
  margin-top: 0;
}

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

.dx-entry-content h1,
.dx-entry-content h2,
.dx-entry-content h3,
.dx-entry-content h4,
.dx-entry-content h5,
.dx-entry-content h6 {
  margin: 1.45em 0 0.55em;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.12;
}

.dx-entry-content h2 { font-size: clamp(32px, 3.5vw, 46px); }
.dx-entry-content h3 { font-size: clamp(27px, 2.8vw, 36px); }
.dx-entry-content h4 { font-size: 24px; }

.dx-entry-content p,
.dx-entry-content ul,
.dx-entry-content ol,
.dx-entry-content blockquote,
.dx-entry-content table,
.dx-entry-content figure {
  margin-bottom: 1.45em;
}

.dx-entry-content ul,
.dx-entry-content ol {
  padding-left: 1.4em;
}

.dx-entry-content li {
  margin-bottom: 0.45em;
}

.dx-entry-content a {
  color: var(--dx-brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.dx-entry-content a:hover {
  color: var(--dx-brand-dark);
}

.dx-entry-content img {
  height: auto;
  border-radius: 16px;
}

.dx-entry-content blockquote {
  margin-inline: 0;
  padding: 24px 25px;
  border-left: 4px solid var(--dx-brand);
  border-radius: 0 14px 14px 0;
  color: var(--dx-heading);
  background: var(--dx-soft);
  font-size: 18px;
  line-height: 1.7;
}

.dx-entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.dx-entry-content th,
.dx-entry-content td {
  padding: 13px 15px;
  border: 1px solid var(--dx-line);
  text-align: left;
}

.dx-entry-content th {
  color: #fff;
  background: var(--dx-dark);
}

.dx-content-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--dx-line);
}

.dx-content-pagination a,
.dx-content-pagination > span:not(:first-child) {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  background: var(--dx-brand);
}

@media (max-width: 1199.98px) {
  .dx-category-grid,
  .dx-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dx-product-overview {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr);
    gap: 42px;
  }

  .dx-info-grid,
  .dx-oem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .dx-related-products .dx-product-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .dx-category-layout {
    grid-template-columns: 1fr;
  }

  .dx-category-sidebar,
  .dx-product-summary {
    position: static;
  }

  .dx-category-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  }

  .dx-product-overview {
    grid-template-columns: 1fr;
  }

  .dx-product-gallery {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .dx-product-summary {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .dx-related-products .dx-product-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .dx-shell {
    width: min(calc(100% - 28px), var(--dx-shell));
  }

  .dx-page-hero {
    min-height: 315px;
  }

  .dx-page-hero::after {
    background: linear-gradient(90deg, rgba(6, 10, 18, 0.91), rgba(6, 10, 18, 0.56));
  }

  .dx-page-hero__content h1 {
    font-size: clamp(39px, 12vw, 57px);
  }

  .dx-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .dx-section-heading > p {
    width: 100%;
  }

  .dx-category-sidebar {
    display: flex;
  }

  .dx-info-grid,
  .dx-oem-grid,
  .dx-variant-grid {
    grid-template-columns: 1fr;
  }

  .dx-product-facts {
    grid-template-columns: 1fr;
  }

  .dx-product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dx-product-actions .dx-button {
    width: 100%;
  }

  .dx-page-article {
    padding: 28px 22px;
    border-radius: 20px;
  }
}

@media (max-width: 575.98px) {
  .dx-category-grid,
  .dx-product-grid,
  .dx-related-products .dx-product-grid--related {
    grid-template-columns: 1fr;
  }

  .dx-product-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dx-product-gallery__stage {
    border-radius: 20px;
  }

  .dx-product-summary h2 {
    font-size: 43px;
  }

  .dx-spec-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dx-spec-list dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dx-content-page *,
  .dx-content-page *::before,
  .dx-content-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   Reusable contact page and single-blog page
   Used by: page-contacts.php and single-blog.php
   -------------------------------------------------------------------------- */

/* Contact page */
.dx-contact-intro-section {
  padding-bottom: clamp(58px, 6vw, 86px);
}

.dx-contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dx-contact-card {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  min-height: 190px;
  padding: 26px 24px;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
  transition: transform var(--dx-transition), border-color var(--dx-transition), box-shadow var(--dx-transition);
}

.dx-contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 0, 0, 0.24);
  box-shadow: var(--dx-shadow);
}

.dx-contact-card__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: var(--dx-brand);
  box-shadow: 0 12px 24px rgba(229, 0, 0, 0.2);
  font-size: 18px;
}

.dx-contact-card__icon--whatsapp {
  background: var(--dx-success);
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.2);
}

.dx-contact-card__label {
  display: block;
  margin: 2px 0 8px;
  color: var(--dx-brand);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dx-contact-card h3 {
  margin: 0 0 10px;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 700;
}

.dx-contact-card p,
.dx-contact-card a {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--dx-muted);
  font-size: 13px;
  line-height: 1.7;
}

.dx-contact-card a:hover {
  color: var(--dx-brand);
}

.dx-contact-workspace {
  overflow: hidden;
}

.dx-contact-workspace__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(390px, 0.87fr);
  align-items: start;
  gap: clamp(26px, 4vw, 48px);
}

.dx-contact-form-card,
.dx-contact-map-card {
  overflow: hidden;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius-lg);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
}

.dx-contact-form-card {
  padding: clamp(28px, 4vw, 48px);
}

.dx-contact-panel-heading {
  margin-bottom: 30px;
}

.dx-contact-panel-heading h2 {
  margin: 14px 0 12px;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dx-contact-panel-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--dx-muted);
  font-size: 14px;
  line-height: 1.75;
}

.dx-contact-panel-heading--compact {
  margin: 0;
  padding: 28px 30px 24px;
  border-bottom: 1px solid var(--dx-line);
}

.dx-contact-panel-heading--compact h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 40px);
}

.dx-contact-form .wpcf7-form,
.dx-contact-form form {
  margin: 0;
}

.dx-contact-form p {
  margin: 0 0 18px;
}

.dx-contact-form label {
  display: block;
  margin: 0 0 7px;
  color: var(--dx-heading);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}

.dx-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.dx-contact-form input[type="text"],
.dx-contact-form input[type="email"],
.dx-contact-form input[type="tel"],
.dx-contact-form input[type="url"],
.dx-contact-form input[type="number"],
.dx-contact-form select,
.dx-contact-form textarea {
  width: 100%;
  min-height: 54px;
  display: block;
  padding: 13px 16px;
  border: 1px solid var(--dx-line);
  border-radius: 12px;
  outline: none;
  color: var(--dx-heading);
  background: #fbfcfd;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color var(--dx-transition), background var(--dx-transition), box-shadow var(--dx-transition);
}

.dx-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.dx-contact-form input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px dashed #cbd2dc;
  border-radius: 12px;
  color: var(--dx-muted);
  background: var(--dx-soft);
  font-size: 13px;
}

.dx-contact-form input[type="text"]:focus,
.dx-contact-form input[type="email"]:focus,
.dx-contact-form input[type="tel"]:focus,
.dx-contact-form input[type="url"]:focus,
.dx-contact-form input[type="number"]:focus,
.dx-contact-form select:focus,
.dx-contact-form textarea:focus {
  border-color: var(--dx-brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(229, 0, 0, 0.08);
}

.dx-contact-form input[type="submit"],
.dx-contact-form button[type="submit"] {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid var(--dx-brand);
  border-radius: 12px;
  color: #fff;
  background: var(--dx-brand);
  box-shadow: 0 10px 24px rgba(229, 0, 0, 0.18);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--dx-transition), background var(--dx-transition), border-color var(--dx-transition);
}

.dx-contact-form input[type="submit"]:hover,
.dx-contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  border-color: var(--dx-brand-dark);
  background: var(--dx-brand-dark);
}

.dx-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 12px;
}

.dx-contact-form .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 12px 14px !important;
  border-width: 1px !important;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.dx-contact-map-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dx-contact-map {
  position: relative;
  min-height: 520px;
  background: #e8ebef;
}

.dx-contact-map iframe {
  width: 100%;
  height: 520px;
  display: block;
  border: 0;
}

.dx-contact-map__empty {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  padding: 35px;
  color: var(--dx-muted);
  text-align: center;
}

.dx-contact-map__empty i {
  color: var(--dx-brand);
  font-size: 42px;
}

.dx-contact-map__empty p {
  max-width: 310px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.dx-contact-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 25px;
  border-radius: var(--dx-radius);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(229, 0, 0, 0.4), transparent 42%),
    linear-gradient(145deg, var(--dx-dark), var(--dx-dark-2));
  box-shadow: var(--dx-shadow-sm);
}

.dx-contact-note__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  background: var(--dx-brand);
  font-size: 18px;
}

.dx-contact-note h3 {
  margin: 1px 0 7px;
  color: #fff;
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
}

.dx-contact-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

/* Single blog */
.dx-blog-hero {
  min-height: clamp(430px, 46vw, 650px);
}

.dx-blog-hero__content {
  width: min(930px, 100%);
}

.dx-blog-hero__content h1 {
  font-size: clamp(43px, 5.6vw, 78px);
}

.dx-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 17px;
}

.dx-blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}

.dx-blog-meta i {
  color: #fff;
  font-size: 12px;
}

.dx-blog-body-section {
  background:
    radial-gradient(circle at 0 0, rgba(229, 0, 0, 0.05), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #f4f6f9 100%);
}

.dx-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(300px, 0.68fr);
  align-items: start;
  gap: clamp(28px, 4vw, 48px);
}

.dx-blog-article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius-lg);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
}

.dx-blog-featured-image {
  position: relative;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  margin: 0;
  background: #e9edf2;
}

.dx-blog-featured-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 13, 23, 0.2), transparent);
}

.dx-blog-featured-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dx-blog-article__inner {
  padding: clamp(28px, 4.5vw, 58px);
}

.dx-blog-lead {
  margin: 0 0 32px;
  padding: 0 0 0 22px;
  border-left: 4px solid var(--dx-brand);
  color: var(--dx-heading);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  font-weight: 550;
}

.dx-blog-lead p {
  margin: 0;
}

.dx-blog-entry-content {
  font-size: 16px;
  line-height: 1.88;
}

.dx-blog-entry-content h2,
.dx-blog-entry-content h3,
.dx-blog-entry-content h4 {
  scroll-margin-top: 110px;
}

.dx-blog-entry-content figure,
.dx-blog-entry-content .wp-block-image {
  margin-block: 34px;
}

.dx-blog-entry-content img {
  width: auto;
  max-width: 100%;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.dx-blog-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 45px;
  padding-top: 28px;
  border-top: 1px solid var(--dx-line);
}

.dx-blog-share__label {
  display: block;
  margin-bottom: 4px;
  color: var(--dx-heading);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}

.dx-blog-share p {
  margin: 0;
  color: var(--dx-muted);
  font-size: 12px;
  line-height: 1.6;
}

.dx-blog-share__links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dx-blog-share__links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dx-line);
  border-radius: 11px;
  color: var(--dx-heading);
  background: #fff;
  font-size: 14px;
  transition: color var(--dx-transition), background var(--dx-transition), border-color var(--dx-transition), transform var(--dx-transition);
}

.dx-blog-share__links a:hover {
  color: #fff;
  border-color: var(--dx-brand);
  background: var(--dx-brand);
  transform: translateY(-2px);
}

.dx-blog-sidebar {
  min-width: 0;
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dx-blog-sidebar-card {
  overflow: hidden;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
}

.dx-blog-sidebar-card__head {
  padding: 26px 24px 21px;
  border-bottom: 1px solid var(--dx-line);
  background: linear-gradient(145deg, #fff, #f8fafc);
}

.dx-blog-sidebar-card__head h2 {
  margin: 13px 0 0;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 29px;
  line-height: 1.06;
  font-weight: 700;
}

.dx-recent-posts {
  padding: 7px 20px 0;
}

.dx-recent-post {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f3;
}

.dx-recent-post:last-child {
  border-bottom: 0;
}

.dx-recent-post__image {
  width: 76px;
  height: 70px;
  display: block;
  overflow: hidden;
  border-radius: 11px;
  background: #eef1f5;
}

.dx-recent-post__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 450ms ease;
}

.dx-recent-post:hover .dx-recent-post__image img {
  transform: scale(1.06);
}

.dx-recent-post__image span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dx-brand);
  font-size: 22px;
}

.dx-recent-post time {
  display: block;
  margin-bottom: 5px;
  color: var(--dx-brand);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dx-recent-post h3 {
  margin: 0;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.dx-recent-post h3 a {
  color: inherit;
}

.dx-recent-post h3 a:hover {
  color: var(--dx-brand);
}

.dx-blog-all-link {
  margin: 5px 20px 23px;
}

.dx-blog-sidebar-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 27px;
  border-radius: var(--dx-radius);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(229, 0, 0, 0.5), transparent 43%),
    linear-gradient(145deg, var(--dx-dark), var(--dx-dark-2));
  box-shadow: var(--dx-shadow);
}

.dx-blog-sidebar-cta::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  z-index: -1;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.04);
}

.dx-blog-sidebar-cta__icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--dx-brand);
  font-size: 18px;
}

.dx-blog-sidebar-cta .dx-eyebrow {
  display: flex;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
}

.dx-blog-sidebar-cta h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 31px;
  line-height: 1.04;
  font-weight: 700;
}

.dx-blog-sidebar-cta p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.dx-blog-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.dx-blog-post-navigation__item {
  min-height: 145px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 24px 25px;
  border: 1px solid var(--dx-line);
  border-radius: var(--dx-radius);
  color: var(--dx-heading);
  background: #fff;
  box-shadow: var(--dx-shadow-sm);
  transition: transform var(--dx-transition), border-color var(--dx-transition), box-shadow var(--dx-transition);
}

.dx-blog-post-navigation__item:hover {
  color: var(--dx-heading);
  transform: translateY(-4px);
  border-color: rgba(229, 0, 0, 0.25);
  box-shadow: var(--dx-shadow);
}

.dx-blog-post-navigation__item span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  color: var(--dx-brand);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dx-blog-post-navigation__item strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--dx-heading);
  font-family: "Afacad", "Inter", sans-serif;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dx-blog-post-navigation__item--next {
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 1199.98px) {
  .dx-contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dx-contact-card {
    min-height: 160px;
  }

  .dx-blog-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.65fr);
  }
}

@media (max-width: 991.98px) {
  .dx-contact-workspace__grid,
  .dx-blog-layout {
    grid-template-columns: 1fr;
  }

  .dx-contact-map-column,
  .dx-contact-form-card,
  .dx-blog-article,
  .dx-blog-sidebar {
    width: min(100%, 780px);
    margin-inline: auto;
  }

  .dx-blog-sidebar {
    position: static;
  }

  .dx-blog-sidebar-card,
  .dx-blog-sidebar-cta {
    width: 100%;
  }

  .dx-contact-map,
  .dx-contact-map iframe,
  .dx-contact-map__empty {
    min-height: 440px;
    height: 440px;
  }
}

@media (max-width: 767.98px) {
  .dx-contact-cards {
    grid-template-columns: 1fr;
  }

  .dx-contact-card {
    min-height: auto;
  }

  .dx-contact-form-card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .dx-contact-map-card {
    border-radius: 20px;
  }

  .dx-contact-panel-heading--compact {
    padding: 24px 22px 20px;
  }

  .dx-blog-hero {
    min-height: 390px;
  }

  .dx-blog-article {
    border-radius: 20px;
  }

  .dx-blog-article__inner {
    padding: 28px 22px;
  }

  .dx-blog-share {
    align-items: flex-start;
    flex-direction: column;
  }

  .dx-blog-post-navigation {
    grid-template-columns: 1fr;
  }

  .dx-blog-post-navigation__item--next {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .dx-contact-card {
    padding: 22px 19px;
  }

  .dx-contact-card__icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .dx-contact-map,
  .dx-contact-map iframe,
  .dx-contact-map__empty {
    min-height: 360px;
    height: 360px;
  }

  .dx-contact-note {
    padding: 22px 19px;
  }

  .dx-blog-featured-image {
    aspect-ratio: 16 / 10;
  }

  .dx-blog-entry-content {
    font-size: 15px;
  }

  .dx-recent-post {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .dx-recent-post__image {
    width: 68px;
    height: 66px;
  }
}

/* --------------------------------------------------------------------------
   Page hero title and breadcrumbs alignment only
   Used by: category.php, single.php and page.php
   -------------------------------------------------------------------------- */
.dx-category-page .dx-page-hero__content,
.dx-product-page .dx-page-hero__content,
.dx-standard-page .dx-page-hero__content {
  width: 100%;
  max-width: none;
}

.dx-category-page .dx-page-hero__content h1,
.dx-product-page .dx-page-hero__content h1,
.dx-standard-page .dx-page-hero__content h1 {
  width: 100%;
  text-align: center;
}

.dx-category-page .dx-breadcrumbs,
.dx-product-page .dx-breadcrumbs,
.dx-standard-page .dx-breadcrumbs {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Compact responsive hero spacing
   Scope: category.php, single.php and page.php only.
   Only the page title and breadcrumbs are centered; body content keeps its
   original alignment.
   -------------------------------------------------------------------------- */
.dx-category-page .dx-page-hero,
.dx-product-page .dx-page-hero,
.dx-standard-page .dx-page-hero {
  min-height: clamp(250px, 25vw, 350px);
}

.dx-category-page .dx-page-hero--product,
.dx-product-page .dx-page-hero--product,
.dx-standard-page .dx-page-hero--product,
.dx-category-page .dx-page-hero--compact,
.dx-product-page .dx-page-hero--compact,
.dx-standard-page .dx-page-hero--compact {
  min-height: clamp(230px, 23vw, 320px);
}

.dx-category-page .dx-page-hero__content,
.dx-product-page .dx-page-hero__content,
.dx-standard-page .dx-page-hero__content {
  padding-top: clamp(34px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

@media (max-width: 991.98px) {
  .dx-category-page .dx-page-hero,
  .dx-product-page .dx-page-hero,
  .dx-standard-page .dx-page-hero,
  .dx-category-page .dx-page-hero--product,
  .dx-product-page .dx-page-hero--product,
  .dx-standard-page .dx-page-hero--product,
  .dx-category-page .dx-page-hero--compact,
  .dx-product-page .dx-page-hero--compact,
  .dx-standard-page .dx-page-hero--compact {
    min-height: 260px;
  }

  .dx-category-page .dx-page-hero__content,
  .dx-product-page .dx-page-hero__content,
  .dx-standard-page .dx-page-hero__content {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .dx-category-page .dx-page-hero__content h1,
  .dx-product-page .dx-page-hero__content h1,
  .dx-standard-page .dx-page-hero__content h1 {
    margin-top: 14px;
    margin-bottom: 12px;
  }

  .dx-category-page .dx-breadcrumbs,
  .dx-product-page .dx-breadcrumbs,
  .dx-standard-page .dx-breadcrumbs {
    align-items: center;
    justify-content: center;
    row-gap: 6px;
  }
}

@media (max-width: 767.98px) {
  .dx-category-page .dx-page-hero,
  .dx-product-page .dx-page-hero,
  .dx-standard-page .dx-page-hero,
  .dx-category-page .dx-page-hero--product,
  .dx-product-page .dx-page-hero--product,
  .dx-standard-page .dx-page-hero--product,
  .dx-category-page .dx-page-hero--compact,
  .dx-product-page .dx-page-hero--compact,
  .dx-standard-page .dx-page-hero--compact {
    min-height: 230px;
  }

  .dx-category-page .dx-page-hero__content,
  .dx-product-page .dx-page-hero__content,
  .dx-standard-page .dx-page-hero__content {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .dx-category-page .dx-page-hero__content h1,
  .dx-product-page .dx-page-hero__content h1,
  .dx-standard-page .dx-page-hero__content h1 {
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1;
  }

  .dx-category-page .dx-breadcrumbs,
  .dx-product-page .dx-breadcrumbs,
  .dx-standard-page .dx-breadcrumbs,
  .dx-category-page .dx-breadcrumbs a,
  .dx-product-page .dx-breadcrumbs a,
  .dx-standard-page .dx-breadcrumbs a,
  .dx-category-page .dx-breadcrumbs span,
  .dx-product-page .dx-breadcrumbs span,
  .dx-standard-page .dx-breadcrumbs span {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .dx-category-page .dx-page-hero,
  .dx-product-page .dx-page-hero,
  .dx-standard-page .dx-page-hero,
  .dx-category-page .dx-page-hero--product,
  .dx-product-page .dx-page-hero--product,
  .dx-standard-page .dx-page-hero--product,
  .dx-category-page .dx-page-hero--compact,
  .dx-product-page .dx-page-hero--compact,
  .dx-standard-page .dx-page-hero--compact {
    min-height: 210px;
  }

  .dx-category-page .dx-page-hero__content,
  .dx-product-page .dx-page-hero__content,
  .dx-standard-page .dx-page-hero__content {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* Text-only subcategory cards
   Reusable on category archives without category images. */
.dx-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.dx-subcategory-card {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  padding: 26px 24px;
  border: 1px solid var(--dx-line);
  border-radius: 18px;
  color: var(--dx-heading);
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.055);
  text-decoration: none;
  transition: transform var(--dx-transition), border-color var(--dx-transition), box-shadow var(--dx-transition), color var(--dx-transition);
}

.dx-subcategory-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--dx-brand);
  transform: scaleY(0.45);
  transition: transform var(--dx-transition);
}

.dx-subcategory-card__name {
  position: relative;
  z-index: 1;
  font-family: "Afacad", "Inter", sans-serif;
  font-size: clamp(21px, 1.65vw, 27px);
  line-height: 1.08;
  font-weight: 700;
}

.dx-subcategory-card__arrow {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--dx-brand);
  box-shadow: 0 9px 20px rgba(229, 0, 0, 0.2);
  font-size: 12px;
  transition: transform var(--dx-transition), background var(--dx-transition);
}

.dx-subcategory-card:hover,
.dx-subcategory-card:focus-visible {
  color: var(--dx-heading);
  border-color: rgba(229, 0, 0, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
  text-decoration: none;
}

.dx-subcategory-card:hover::before,
.dx-subcategory-card:focus-visible::before {
  transform: scaleY(1);
}

.dx-subcategory-card:hover .dx-subcategory-card__arrow,
.dx-subcategory-card:focus-visible .dx-subcategory-card__arrow {
  background: var(--dx-brand-dark);
  transform: translateX(3px);
}

.dx-subcategory-card:focus-visible {
  outline: 3px solid rgba(229, 0, 0, 0.14);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .dx-subcategory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .dx-subcategory-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dx-subcategory-card {
    min-height: 88px;
    padding: 20px 18px;
    border-radius: 15px;
  }

  .dx-subcategory-card__arrow {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}
/* Center only the top hero subheading badge */
.dx-page-hero__content > .dx-eyebrow {
	display: flex;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}