:root {
  --color-primary: #d71920;
  --color-primary-contrast: #ffffff;
  --color-secondary: #586074;
  --color-surface: #f9f9ff;
  --color-surface-alt: #e9edff;
  --color-text: #141b2b;
  --color-text-muted: #5d3f3c;
  --color-border: #e5e7eb;
  --color-border-strong: #c7d0e4;
  --color-card: #ffffff;
  --color-card-hover: #fbfbff;
  --color-badge: #f1f5ff;
  --color-button: #d71920;
  --color-button-hover: #b60d15;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 4px 14px rgba(20, 27, 43, 0.06);
  --shadow-md: 0 12px 28px rgba(20, 27, 43, 0.10);
  --shadow-lg: 0 24px 48px rgba(20, 27, 43, 0.16);
  --section-gap: 88px;
  --card-padding: 28px;
  --border-width: 1px;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: var(--font-body);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.dtl-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dtl-container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.dtl-main {
  flex: 1;
}

.dtl-section {
  padding: var(--section-gap) 0;
}

.dtl-section--alt {
  background: var(--color-surface-alt);
}

.dtl-section--dark {
  background: #293040;
  color: #fff;
}

.dtl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
}

.dtl-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.dtl-section-subtitle {
  margin: 0;
  max-width: 760px;
  color: color-mix(in srgb, var(--color-text) 70%, #fff 30%);
}

.dtl-grid {
  display: grid;
  gap: 24px;
}

.dtl-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dtl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dtl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.dtl-card {
  background: var(--color-card);
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.dtl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--color-card-hover);
}

.dtl-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef2ff;
  overflow: hidden;
}

.dtl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dtl-card-body {
  padding: var(--card-padding);
}

.dtl-card-title {
  margin: 8px 0 10px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.22;
}

.dtl-card-text,
.dtl-muted {
  color: var(--color-text-muted);
}

.dtl-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-primary);
  font-weight: 800;
}

.dtl-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--color-secondary);
  font-size: .95rem;
}

.dtl-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.dtl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  border: 1px solid transparent;
  transition: all .2s ease;
}

.dtl-btn-primary {
  background: var(--color-button);
  color: var(--color-primary-contrast);
}

.dtl-btn-primary:hover {
  background: var(--color-button-hover);
}

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

.dtl-btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.dtl-btn.is-active {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  border-color: var(--color-primary);
}

.dtl-header,
.dtl-footer {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
}

.dtl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-border);
}

.dtl-header-inner,
.dtl-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.dtl-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dtl-nav a {
  font-weight: 600;
  color: var(--color-text);
}

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

.dtl-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.dtl-hero-inner {
  min-height: clamp(560px, 80vh, 860px);
  display: grid;
  align-items: center;
}

.dtl-hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.2), rgba(15,23,42,.45));
}

.dtl-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95);
}

.dtl-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 120px 0;
  color: #fff;
}

.dtl-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: .95;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.dtl-hero-subtitle {
  font-size: 1.1rem;
  max-width: 560px;
  color: rgba(255,255,255,.88);
}

.dtl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.dtl-hero-actions .dtl-btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.48);
}

.dtl-hero-actions .dtl-btn-ghost:hover {
  color: #fff;
  border-color: #fff;
}

.dtl-footer {
  background: #293040;
  color: #eef2ff;
  margin-top: auto;
}

.dtl-footer a { color: #eef2ff; }

.dtl-footer-columns {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.dtl-footer h4 {
  font-family: var(--font-heading);
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.dtl-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.dtl-mobile-bottom {
  display: none;
}

.dtl-breadcrumbs {
  font-size: .95rem;
  color: var(--color-secondary);
  margin-bottom: 18px;
}

.dtl-breadcrumb-sep {
  opacity: .55;
  margin: 0 6px;
}

.dtl-breadcrumbs a {
  color: var(--color-secondary);
}

.dtl-content {
  padding: 56px 0;
}

.dtl-content article,
.dtl-prose {
  background: transparent;
}

.dtl-prose h2,
.dtl-prose h3 {
  font-family: var(--font-heading);
  line-height: 1.16;
}

.dtl-prose blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--color-surface-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.dtl-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.dtl-filter-bar select,
.dtl-filter-bar input {
  min-height: 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  padding: 0 14px;
  background: #fff;
}

.dtl-sticky-nav {
  position: sticky;
  top: 84px;
  z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dtl-sticky-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--color-secondary);
}

.dtl-sticky-nav a:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.dtl-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}

.dtl-badge-new { background: #64748b; }
.dtl-badge-featured { background: #0f766e; }
.dtl-badge-best-seller { background: #7c3aed; }

.dtl-home-cards .dtl-card-media,
.dtl-post-card .dtl-card-media {
  aspect-ratio: 4 / 3;
}

.dtl-home-reasons {
  text-align: center;
}

.dtl-home-reasons .dtl-grid {
  margin-top: 36px;
}

.dtl-icon-card {
  padding: 12px;
}

.dtl-icon-card .dtl-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--color-surface-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .dtl-grid-4,
  .dtl-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 782px) {
  .no-mobile-header .dtl-header {
    display: none;
  }

  .dtl-container {
    width: min(100% - 28px, 100%);
  }

  .dtl-header-inner,
  .dtl-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dtl-nav ul {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .dtl-grid-2,
  .dtl-grid-3,
  .dtl-grid-4,
  .dtl-footer-columns {
    grid-template-columns: 1fr;
  }

  .dtl-hero-content {
    padding: 96px 0;
  }

  .dtl-sticky-nav {
    top: 72px;
    border-radius: 24px;
  }

  .dtl-mobile-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(17,24,39,.96);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .dtl-mobile-bottom a {
    padding: 10px 6px;
    text-align: center;
    font-size: .78rem;
  }
}

@media (min-width: 783px) {
  .no-desktop-header .dtl-header {
    display: none;
  }
}

.dtl-prose .wpcf7,
.dtl-prose form {
  display: grid;
  gap: 14px;
}

.dtl-prose input[type="text"],
.dtl-prose input[type="email"],
.dtl-prose input[type="tel"],
.dtl-prose input[type="url"],
.dtl-prose input[type="number"],
.dtl-prose select,
.dtl-prose textarea {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  padding: 12px 14px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
}

.dtl-prose textarea {
  min-height: 140px;
}

.dtl-prose input:focus,
.dtl-prose select:focus,
.dtl-prose textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.dtl-prose .wpcf7-submit,
.dtl-prose button[type="submit"] {
  min-height: 48px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-button);
  color: var(--color-primary-contrast);
  font: inherit;
  font-weight: 700;
  padding: 0 20px;
  cursor: pointer;
}

.dtl-prose .wpcf7-submit:hover,
.dtl-prose button[type="submit"]:hover {
  background: var(--color-button-hover);
}
