@font-face {
  font-family: "Plus Jakarta Sans Medium";
  src: url("/public/templates/_shared/d6854d4b18ea4c43c24a.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
}

@font-face {
  font-family: "Plus Jakarta Sans Bold";
  src: url("/public/templates/_shared/3e08701b69e94031d861.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --detail-content: 88%;
  --accent: #21536c;
  --ink: #000;
  --muted: rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Plus Jakarta Sans Medium", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.dart-detail {
  width: 100%;
}

.content-limit {
  width: var(--detail-content);
  max-width: 1440px;
  margin: 0 auto;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 66vh;
  background:
    linear-gradient(0deg, rgb(235, 240, 253) 0%, rgb(255, 255, 255) 60%),
    #fff;
}

.hero-section::after {
  position: absolute;
  right: -2%;
  bottom: -18%;
  left: 0;
  height: 80%;
  pointer-events: none;
  background: url("assets/background-pattern.svg") 62% 70% / min(80vw, 1200px) auto no-repeat;
  content: "";
  opacity: 0.018;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  column-gap: 120px;
  align-items: center;
  min-height: 66vh;
  padding: 80px 0 70px;
}

.hero-copy,
.hero-media-column {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 30px 0;
}

.detail-back {
  position: relative;
  top: -32px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease;
}

.detail-back span { color: var(--accent); font-size: 20px; line-height: 1; }
.detail-back:hover, .detail-back:focus-visible { color: var(--accent); }

.detail-eyebrow {
  display: inline-block;
  width: fit-content;
  padding: 5px 15px;
  border: 2px dashed rgba(33, 83, 108, 0.24);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.hero-title {
  margin: 0;
  color: #000;
  font-family: "Plus Jakarta Sans Bold", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero-title span {
  display: block;
}

.hero-stats {
  display: flex;
  padding: 4px 0 0;
}

.stat {
  min-width: 0;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  max-width: 560px;
  color: var(--muted);
  font-family: "Plus Jakarta Sans Bold", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.7;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.buy-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: "Plus Jakarta Sans Bold", Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.buy-button:hover,
.buy-button:focus-visible {
  background: #fff;
  color: var(--accent);
  transform: translateY(-2px);
}

.buy-button span {
  font-size: 19px;
  line-height: 1;
}

.hero-media-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 0;
}

.hero-media {
  position: relative;
  width: 84%;
  aspect-ratio: 1;
  overflow: hidden;
  background: transparent;
  margin: 0 auto 40px;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 450ms ease;
}

.hero-media img.is-active {
  opacity: 1;
}

.detail-category {
  display: inline-block;
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 24px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible,
.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.recommendations-section {
  background: #fff;
  padding: 55px 0 80px;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 42px;
}

.recommendation-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.recommendation-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1.15;
  border-radius: 10px;
  background: #fff;
}

.recommendation-card__image img {
  display: block;
  width: 64%;
  height: auto;
  max-height: 80%;
  object-fit: contain;
  transition: transform 450ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.recommendation-card__body {
  display: block;
  min-height: 83px;
  padding-top: 20px;
}

.recommendation-card strong,
.recommendation-card small {
  display: block;
}

.recommendation-card strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.recommendation-card__body::after {
  display: block;
  height: 1px;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.1);
  content: "";
  transform-origin: left;
  transition: background 220ms ease, transform 220ms ease;
}

.recommendation-card:hover img,
.recommendation-card:focus-visible img {
  transform: scale(1.055);
}

.recommendation-card:hover .recommendation-card__body::after,
.recommendation-card:focus-visible .recommendation-card__body::after {
  background: var(--accent);
  transform: scaleX(1.04);
}

.recommendation-card:focus-visible {
  border-radius: 10px;
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 83, 108, 0.28);
}

.section-inner {
  padding: 20px 0;
}

.section-title {
  margin: 10px 0 0;
  color: #000;
  font-family: "Plus Jakarta Sans Bold", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(5vw);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.75, 0.5, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) and (min-width: 751px) {
  .hero-grid {
    column-gap: 80px;
  }

  .hero-stats {
    column-gap: 40px;
  }
}

@media (max-width: 750px) {
  :root {
    --detail-content: 88%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    min-height: 66vh;
    padding: 55px 0 50px;
  }

  .hero-media-column {
    order: 1;
    gap: 30px;
    padding: 30px 0;
  }

  .hero-copy {
    order: 2;
    gap: 10px;
    padding: 30px 0;
  }

  .hero-title {
    font-size: 27px;
    line-height: 1.75;
  }

  .hero-stats {
    padding: 0;
  }

  .stat strong {
    font-size: 22px;
  }

  .stat span {
    font-size: 12px;
  }

  .section-inner {
    padding: 20px 0;
  }

  .section-title {
    margin-top: 0;
    font-size: 27px;
    line-height: 36px;
  }

  .recommendations-section {
    padding: 36px 0 58px;
  }

  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    margin-top: 30px;
  }

  .recommendation-card__body {
    min-height: 76px;
    padding-top: 13px;
  }

  .recommendation-card strong {
    font-size: 14px;
  }

  .recommendation-card small {
    font-size: 11px;
  }

  .recommendation-card__body::after {
    margin-top: 15px;
  }

  [data-reveal] {
    transform: translateY(8vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  [data-reveal].is-visible,
  .hero-media img,
  .recommendation-card__image img {
    transform: none;
    transition: none;
  }
}
