/* DFS Catalog v0.8.3 — Full-width Hero Content Spacing */

.dfs-home {
  width: 100%;
  overflow: clip;
  background: var(--dfs-color-surface);
}

.dfs-home-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: clamp(520px, 55vw, 690px);
  margin: 0;
  align-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: #061431;
  background-image:
    linear-gradient(90deg, rgba(3, 16, 48, .94) 0%, rgba(3, 16, 48, .82) 34%, rgba(3, 16, 48, .42) 63%, rgba(3, 16, 48, .18) 100%),
    url('../../images/home-hero.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.dfs-home-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 12, 34, .06), rgba(2, 12, 34, .18));
  content: "";
  pointer-events: none;
}

.dfs-home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(70px, 8vw, 110px) clamp(52px, 5.5vw, 84px);
}

.dfs-home-hero__content {
  max-width: 760px;
}

.dfs-home-hero__brand,
.dfs-home-section-heading__eyebrow {
  margin: 0 0 16px;
  color: #7eabff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dfs-home-hero__title {
  max-width: 740px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 4.8vw, 70px);
  font-weight: 850;
  letter-spacing: -.048em;
  line-height: 1.02;
}

.dfs-home-hero__copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
}

.dfs-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.dfs-home .dfs-home-button,
.dfs-home .dfs-home-button:visited {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.dfs-home .dfs-home-button svg {
  width: 19px;
  height: 19px;
}

.dfs-home .dfs-home-button:hover {
  transform: translateY(-1px);
}

.dfs-home .dfs-home-button--primary,
.dfs-home .dfs-home-button--primary:visited {
  background: #075bf2;
  color: #fff;
}

.dfs-home .dfs-home-button--primary:hover {
  background: #004dd5;
  color: #fff;
}

.dfs-home .dfs-home-button--ghost,
.dfs-home .dfs-home-button--ghost:visited {
  border-color: rgba(255,255,255,.42);
  background: rgba(4, 17, 47, .2);
  color: #fff;
  backdrop-filter: blur(3px);
}

.dfs-home .dfs-home-button--ghost:hover {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.dfs-home-search {
  position: relative;
  z-index: 3;
  padding-block: clamp(34px, 3.5vw, 48px);
  border-bottom: 1px solid var(--dfs-color-border);
  background: #fff;
}

.dfs-home-search .dfs-container--wide {
  display: block;
}

.dfs-home-search__form,
.dfs-home-search__form .dfs-header-search-form,
.dfs-home-search__form .dfs-search-control {
  width: 100%;
}

/* The input owns the single visible outline. This prevents the double-border
   effect caused by styling both the wrapper and the input. */
.dfs-home-search__form .dfs-search-control {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dfs-home-search__form .dfs-search-field {
  min-height: 66px;
  padding: 0 64px 0 22px;
  border: 1px solid #c6d2e3;
  border-radius: 13px;
  background: #fff;
  color: var(--dfs-color-ink);
  font-size: 16px;
  box-shadow: 0 7px 24px rgba(15, 23, 42, .035);
}

.dfs-home-search__form .dfs-search-field:focus {
  border-color: #075bf2;
  box-shadow: 0 0 0 3px rgba(7, 91, 242, .12);
}

.dfs-home-search__form .dfs-search-control__action {
  top: 50%;
  right: 8px;
  bottom: auto;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border-radius: 10px;
}

.dfs-home-search__form .dfs-search-control__action svg {
  width: 18px;
  height: 18px;
}

.dfs-home-categories,
.dfs-home-products {
  padding-block: clamp(72px, 8vw, 112px);
}

.dfs-home-products {
  border-top: 1px solid var(--dfs-color-border);
  background: #f7f9fc;
}

.dfs-home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.dfs-home-section-heading__eyebrow {
  margin-bottom: 10px;
  color: #075bf2;
}

.dfs-home-section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--dfs-color-ink);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 820;
  letter-spacing: -.045em;
  line-height: 1;
}

.dfs-home .dfs-home-section-heading a,
.dfs-home .dfs-home-section-heading a:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #064fcf;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.dfs-home .dfs-home-section-heading a:hover { color: #022b76; }
.dfs-home-section-heading a svg { width: 17px; height: 17px; }

.dfs-home-section-heading__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.dfs-home .dfs-home-section-heading .dfs-home-heading-button,
.dfs-home .dfs-home-section-heading .dfs-home-heading-button:visited {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.dfs-home .dfs-home-section-heading .dfs-home-heading-button svg {
  width: 17px;
  height: 17px;
}

.dfs-home .dfs-home-section-heading .dfs-home-heading-button:hover {
  transform: translateY(-1px);
}

.dfs-home .dfs-home-section-heading .dfs-home-heading-button--wishlist,
.dfs-home .dfs-home-section-heading .dfs-home-heading-button--wishlist:visited {
  border-color: #c7d5ea;
  background: #edf3fc;
  color: #12386f;
}

.dfs-home .dfs-home-section-heading .dfs-home-heading-button--wishlist:hover {
  border-color: #aac0df;
  background: #e2ecfa;
  color: #0a2b5d;
}

.dfs-home .dfs-home-section-heading .dfs-home-heading-button--catalog,
.dfs-home .dfs-home-section-heading .dfs-home-heading-button--catalog:visited {
  background: #075bf2;
  color: #fff;
}

.dfs-home .dfs-home-section-heading .dfs-home-heading-button--catalog:hover {
  background: #004dd5;
  color: #fff;
}

.dfs-home-categories__list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--dfs-color-border);
  list-style: none;
}

.dfs-home-categories__list li { border-bottom: 1px solid var(--dfs-color-border); }

.dfs-home .dfs-home-categories__list a,
.dfs-home .dfs-home-categories__list a:visited {
  display: grid;
  min-height: 86px;
  grid-template-columns: 44px minmax(0, 1fr) auto 28px;
  gap: 18px;
  align-items: center;
  color: var(--dfs-color-ink);
  text-decoration: none;
  transition: color .18s ease, padding-left .18s ease;
}

.dfs-home .dfs-home-categories__list a:hover {
  padding-left: 6px;
  color: #075bf2;
}

.dfs-home-categories__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--dfs-color-border);
  border-radius: 50%;
  color: #075bf2;
}

.dfs-home-categories__icon svg { width: 20px; height: 20px; }
.dfs-home-categories__name { font-size: clamp(18px, 1.65vw, 23px); font-weight: 720; }
.dfs-home-categories__count { color: var(--dfs-color-muted); font-size: 14px; font-weight: 650; }
.dfs-home-categories__arrow svg { width: 18px; height: 18px; }

.dfs-home-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.dfs-home-products__grid .dfs-product-card { height: 100%; }

.dfs-home-wholesale {
  background: #061431;
  color: #fff;
}

.dfs-home-wholesale__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(54px, 6vw, 82px);
}

.dfs-home-wholesale__content {
  max-width: 790px;
}

.dfs-home-wholesale__eyebrow {
  margin: 0 0 12px;
  color: #82adff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dfs-home-wholesale h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 820;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.dfs-home-wholesale p:not(.dfs-home-wholesale__eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.7;
}

.dfs-home .dfs-home-wholesale__cta,
.dfs-home .dfs-home-wholesale__cta:visited {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid #2e75ff;
  border-radius: 11px;
  background: #075bf2;
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease;
}

.dfs-home .dfs-home-wholesale__cta:hover,
.dfs-home .dfs-home-wholesale__cta:focus-visible {
  background: #004dd5;
  color: #fff;
  transform: translateY(-1px);
}

.dfs-home-wholesale__cta svg {
  width: 19px;
  height: 19px;
}

.dfs-home-cta {
  padding-block: clamp(72px, 7vw, 98px);
  background: #fff;
}

.dfs-home-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 4vw, 54px) 0;
  border-top: 1px solid var(--dfs-color-border);
  border-bottom: 1px solid var(--dfs-color-border);
}

.dfs-home-cta h2 {
  margin: 0;
  color: var(--dfs-color-ink);
  font-size: clamp(30px, 3.5vw, 50px);
  letter-spacing: -.04em;
  line-height: 1;
}

.dfs-home-cta p {
  margin: 14px 0 0;
  color: var(--dfs-color-muted);
  font-size: 16px;
}

@media (max-width: 1080px) {
  .dfs-home-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .dfs-home-hero {
    min-height: 600px;
    margin: 0;
    border-radius: 0;
    background-image:
      linear-gradient(90deg, rgba(3, 16, 48, .92) 0%, rgba(3, 16, 48, .73) 56%, rgba(3, 16, 48, .3) 100%),
      url('../../images/home-hero.webp');
    background-position: 63% center;
  }

  .dfs-home-hero__inner { padding: 70px clamp(30px, 5vw, 48px) 78px; }
  .dfs-home-hero__content { max-width: 620px; }
  .dfs-home-hero__title { max-width: 590px; font-size: clamp(42px, 8.5vw, 56px); }

  .dfs-home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .dfs-home-section-heading__actions { justify-content: flex-start; }
  .dfs-home .dfs-home-section-heading .dfs-home-heading-button { min-height: 46px; }
  .dfs-home-wholesale__inner { grid-template-columns: 1fr; gap: 26px; }
  .dfs-home-wholesale__cta { justify-self: start; }
  .dfs-home-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .dfs-home-hero {
    min-height: 570px;
    margin: 0;
    border-radius: 0;
    background-image:
      linear-gradient(90deg, rgba(3, 16, 48, .94) 0%, rgba(3, 16, 48, .80) 62%, rgba(3, 16, 48, .42) 100%),
      url('../../images/home-hero.webp');
    background-position: 67% center;
  }

  .dfs-home-hero__inner { padding: 56px 20px 62px; }
  .dfs-home-hero__brand { margin-bottom: 14px; font-size: 12px; }
  .dfs-home-hero__title { max-width: 94%; font-size: clamp(38px, 11.5vw, 48px); line-height: 1.02; }
  .dfs-home-hero__copy { max-width: 92%; margin-top: 20px; font-size: 16px; line-height: 1.55; }

  .dfs-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
    margin-top: 28px;
  }

  .dfs-home .dfs-home-button { width: 100%; }

  .dfs-home-search { padding-block: 28px 34px; }
  .dfs-home-search__form .dfs-search-field { min-height: 58px; padding-left: 18px; padding-right: 58px; }
  .dfs-home-search__form .dfs-search-control__action { right: 5px; width: 46px; height: 46px; }

  .dfs-home-categories,
  .dfs-home-products { padding-block: 64px; }

  .dfs-home .dfs-home-categories__list a,
  .dfs-home .dfs-home-categories__list a:visited {
    min-height: 72px;
    grid-template-columns: 38px minmax(0, 1fr) auto 22px;
    gap: 12px;
  }

  .dfs-home-categories__icon { width: 36px; height: 36px; }
  .dfs-home-categories__count { font-size: 12px; }

  .dfs-home-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dfs-home-products__grid .dfs-product-card__body { padding: 14px; }
  .dfs-home-products__grid .dfs-product-card__title,
  .dfs-home-products__grid .dfs-product-card__price { font-size: 15px; }
  .dfs-home-products__grid .dfs-product-card__description { display: none; }
  .dfs-home-products__grid .dfs-product-card__details { font-size: 13px; }
  .dfs-home-wholesale__inner { padding-block: 52px; }
  .dfs-home .dfs-home-wholesale__cta { width: 100%; white-space: normal; text-align: center; }
  .dfs-home-cta { padding-block: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .dfs-home .dfs-home-button { transition: none; }
}
