body.wet-tools-theme .wet-tools-home-builder {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-home-hero--premium {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(18, 58, 84, 0.09);
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: 70vh;
  overflow: hidden;
  padding: clamp(32px, 6vw, 80px);
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-hero-eyebrow {
  color: var(--wet-color-primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 12px;
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-hero-title {
  color: var(--wet-color-primary-dark);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 980px;
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-hero-description {
  color: var(--wet-color-muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.58;
  margin: 0;
  max-width: 860px;
}

body.wet-tools-theme .wet-tools-home-search {
  background: var(--wet-color-surface);
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 26px;
  max-width: 860px;
  padding: 8px;
}

body.wet-tools-theme .wet-tools-home-search__field {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--wet-color-ink);
  font: inherit;
  min-height: 54px;
  min-width: 0;
  padding: 0 16px;
}

body.wet-tools-theme .wet-tools-home-search__button,
body.wet-tools-theme .wet-tools-newsletter__button {
  background: var(--wet-color-primary);
  border: 1px solid var(--wet-color-primary);
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 54px;
  padding: 0 22px;
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-hero-actions {
  margin-top: 18px;
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-trust-list li {
  align-items: center;
  background: #eef7fb;
  border: 1px solid rgba(27, 83, 120, 0.16);
  border-radius: 999px;
  color: var(--wet-color-primary-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  gap: 7px;
  line-height: 1;
  min-height: 36px;
  padding: 7px 12px 7px 9px;
  white-space: nowrap;
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-trust-list__icon {
  color: var(--wet-color-primary);
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-trust-list li::before {
  content: none;
}

body.wet-tools-theme .wet-tools-home-hero__panel {
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  min-height: 360px;
  position: relative;
  width: min(100%, 560px);
}

body.wet-tools-theme .wet-tools-home-hero__collage {
  min-height: 380px;
  position: relative;
}

body.wet-tools-theme .wet-tools-home-hero__sheet {
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(18, 58, 84, 0.12);
  display: block;
  margin: 0;
  overflow: hidden;
  position: absolute;
}

body.wet-tools-theme .wet-tools-home-hero__sheet--word {
  height: 72%;
  left: 4%;
  top: 4%;
  width: 58%;
  z-index: 1;
}

body.wet-tools-theme .wet-tools-home-hero__sheet--excel {
  height: 52%;
  right: 2%;
  top: 20%;
  width: 58%;
  z-index: 2;
}

body.wet-tools-theme .wet-tools-home-hero__sheet--tool {
  background: var(--wet-color-surface);
  bottom: 12%;
  height: 36%;
  left: 18%;
  width: 68%;
  z-index: 3;
}

body.wet-tools-theme .wet-tools-home-hero__image {
  background: #ffffff;
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  width: 100%;
}

body.wet-tools-theme .wet-tools-home-hero__fallback {
  align-content: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--wet-color-surface) 100%);
  color: var(--wet-color-primary-dark);
  display: grid;
  gap: 12px;
  height: 100%;
  padding: 18px;
}

body.wet-tools-theme .wet-tools-home-hero__fallback-label {
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 850;
  line-height: 1.25;
}

body.wet-tools-theme .wet-tools-home-hero__fallback-lines {
  background:
    linear-gradient(var(--wet-color-border), var(--wet-color-border)) 0 0 / 78% 2px no-repeat,
    linear-gradient(var(--wet-color-border), var(--wet-color-border)) 0 12px / 92% 2px no-repeat,
    linear-gradient(var(--wet-color-border), var(--wet-color-border)) 0 24px / 64% 2px no-repeat;
  display: block;
  min-height: 34px;
}

body.wet-tools-theme .wet-tools-home-hero__fallback--excel .wet-tools-home-hero__fallback-lines {
  background:
    repeating-linear-gradient(90deg, rgba(27, 83, 120, 0.18) 0 1px, transparent 1px 25%),
    repeating-linear-gradient(180deg, rgba(27, 83, 120, 0.18) 0 1px, transparent 1px 25%);
  border: 1px solid rgba(27, 83, 120, 0.18);
  min-height: 52px;
}

body.wet-tools-theme .wet-tools-home-hero__fallback--tool .wet-tools-home-hero__fallback-lines {
  background:
    linear-gradient(90deg, var(--wet-color-primary) 0 42%, transparent 42% 48%, rgba(27, 83, 120, 0.18) 48% 100%);
  border-radius: 6px;
  min-height: 42px;
}

body.wet-tools-theme .wet-tools-home-hero__stats {
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  left: 50%;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  transform: translateX(-50%);
  width: min(100%, 440px);
  z-index: 4;
}

body.wet-tools-theme .wet-tools-home-hero__stats li {
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(18, 58, 84, 0.09);
  color: var(--wet-color-primary-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  padding: 8px 11px;
}

body.wet-tools-theme .wet-tools-home-section {
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 58, 84, 0.06);
  padding: clamp(24px, 4vw, 46px);
}

body.wet-tools-theme .wet-tools-home-section__header {
  margin-bottom: 22px;
  max-width: 860px;
}

body.wet-tools-theme .wet-tools-home-section__title {
  color: var(--wet-color-primary-dark);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  margin: 0 0 8px;
}

body.wet-tools-theme .wet-tools-home-section__intro {
  color: var(--wet-color-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

body.wet-tools-theme .wet-tools-category-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.wet-tools-theme .wet-tools-category-card {
  background: var(--wet-color-surface);
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
}

body.wet-tools-theme .wet-tools-category-card__icon {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  color: var(--wet-color-primary);
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

body.wet-tools-theme .wet-tools-category-card__title {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 4px;
}

body.wet-tools-theme .wet-tools-category-card__count,
body.wet-tools-theme .wet-tools-category-card__text {
  color: var(--wet-color-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

body.wet-tools-theme .wet-tools-category-card__action,
body.wet-tools-theme .wet-tools-collection__action {
  color: var(--wet-color-primary);
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none;
}

body.wet-tools-theme .wet-tools-home-builder .wet-tools-card-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.wet-tools-theme .wet-tools-card-grid--compact {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.wet-tools-theme .wet-tools-home-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

body.wet-tools-theme .wet-tools-home-filter__button {
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 999px;
  color: var(--wet-color-primary-dark);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 40px;
  padding: 0 14px;
}

body.wet-tools-theme .wet-tools-home-filter__button.is-active {
  background: var(--wet-color-primary);
  border-color: var(--wet-color-primary);
  color: #ffffff;
}

body.wet-tools-theme .wet-tools-home-filter__panel {
  display: none;
}

body.wet-tools-theme .wet-tools-home-filter__panel.is-active {
  display: block;
}

body.wet-tools-theme .wet-tools-home-filter__panel > .wet-tools-home-section {
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.wet-tools-theme .wet-tools-collection-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.wet-tools-theme .wet-tools-collection {
  align-items: stretch;
  background: var(--wet-color-surface);
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
  padding: 14px;
  text-decoration: none;
}

body.wet-tools-theme .wet-tools-collection__image {
  background: linear-gradient(135deg, rgba(27, 83, 120, 0.16), rgba(18, 58, 84, 0.04));
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  min-height: 150px;
}

body.wet-tools-theme .wet-tools-collection__title {
  color: var(--wet-color-primary-dark);
  font-size: clamp(20px, 2vw, 26px);
  margin: 0 0 8px;
}

body.wet-tools-theme .wet-tools-collection__text {
  color: var(--wet-color-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 14px;
}

body.wet-tools-theme .wet-tools-newsletter {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
}

body.wet-tools-theme .wet-tools-newsletter__form {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

body.wet-tools-theme .wet-tools-newsletter__field {
  background: #ffffff;
  border: 1px solid var(--wet-color-border);
  border-radius: 6px;
  color: var(--wet-color-ink);
  font: inherit;
  min-height: 54px;
  min-width: 0;
  padding: 0 14px;
}

body.wet-tools-theme .wet-tools-trust-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

body.wet-tools-theme .wet-tools-trust-grid li {
  background: var(--wet-color-surface);
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  color: var(--wet-color-primary-dark);
  font-weight: 800;
  padding: 14px;
}

body.wet-tools-theme .wet-tools-home-empty {
  background: var(--wet-color-surface);
  border: 1px solid var(--wet-color-border);
  border-radius: 8px;
  color: var(--wet-color-muted);
  margin: 0;
  padding: 16px;
}

body.wet-tools-theme .wet-tools-home-search-results {
  display: grid;
  gap: 22px;
}

body.wet-tools-theme .wet-tools-home-search-group h3 {
  color: var(--wet-color-primary-dark);
  font-size: 22px;
  margin: 0 0 12px;
}

@media (max-width: 1439px) {
  body.wet-tools-theme .wet-tools-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  body.wet-tools-theme .wet-tools-home-builder .wet-tools-home-hero--premium {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  body.wet-tools-theme .wet-tools-home-hero__panel {
    display: block;
    max-width: 520px;
    min-height: 320px;
  }

  body.wet-tools-theme .wet-tools-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.wet-tools-theme .wet-tools-home-builder .wet-tools-card-grid--home,
  body.wet-tools-theme .wet-tools-card-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  body.wet-tools-theme .wet-tools-home-builder .wet-tools-card-grid--home,
  body.wet-tools-theme .wet-tools-card-grid--compact,
  body.wet-tools-theme .wet-tools-collection-grid,
  body.wet-tools-theme .wet-tools-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.wet-tools-theme .wet-tools-newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.wet-tools-theme .wet-tools-home-search,
  body.wet-tools-theme .wet-tools-newsletter__form,
  body.wet-tools-theme .wet-tools-collection {
    grid-template-columns: 1fr;
  }

  body.wet-tools-theme .wet-tools-home-builder .wet-tools-card-grid--home,
  body.wet-tools-theme .wet-tools-card-grid--compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body.wet-tools-theme .wet-tools-category-grid,
  body.wet-tools-theme .wet-tools-collection-grid,
  body.wet-tools-theme .wet-tools-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.wet-tools-theme .wet-tools-category-card,
  body.wet-tools-theme .wet-tools-trust-grid li {
    padding: 12px;
  }
}

@media (max-width: 360px) {
  body.wet-tools-theme .wet-tools-category-grid,
  body.wet-tools-theme .wet-tools-collection-grid,
  body.wet-tools-theme .wet-tools-trust-grid {
    grid-template-columns: 1fr;
  }
}



body.wet-tools-theme a.wet-tools-collection:hover .wet-tools-collection__action,
body.wet-tools-theme a.wet-tools-collection:focus .wet-tools-collection__action {
  text-decoration: underline;
}

body.wet-tools-theme .wet-tools-collection__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body.wet-tools-theme .wet-tools-collection__icon {
  align-items: center;
  color: var(--wet-color-primary);
  display: inline-flex;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  height: 100%;
  justify-content: center;
  width: 100%;
}
@media (max-width: 767px) {
  body.wet-tools-theme .wet-tools-home-hero__panel {
    aspect-ratio: auto;
    min-height: 0;
    width: min(100%, 430px);
  }

  body.wet-tools-theme .wet-tools-home-hero__collage {
    min-height: 300px;
  }

  body.wet-tools-theme .wet-tools-home-hero__sheet--word {
    height: 68%;
    left: 0;
    top: 0;
    width: 62%;
  }

  body.wet-tools-theme .wet-tools-home-hero__sheet--excel {
    height: 48%;
    right: 0;
    top: 18%;
    width: 60%;
  }

  body.wet-tools-theme .wet-tools-home-hero__sheet--tool {
    bottom: 14%;
    height: 34%;
    left: 14%;
    width: 74%;
  }
}

@media (max-width: 480px) {
  body.wet-tools-theme .wet-tools-home-hero__collage {
    min-height: 260px;
  }

  body.wet-tools-theme .wet-tools-home-hero__stats {
    margin-top: 12px;
    position: static;
    transform: none;
    width: 100%;
  }

  body.wet-tools-theme .wet-tools-home-hero__stats li {
    flex: 1 1 auto;
    text-align: center;
  }
}
