.tdhp {
  --tdhp-blue: #083b91;
  --tdhp-blue-dark: #071a35;
  --tdhp-red: #e4002b;
  --tdhp-orange: #f59e0b;
  --tdhp-text: #172033;
  --tdhp-muted: #667085;
  --tdhp-line: #e4e9f1;
  --tdhp-soft: #f6f8fb;
  --tdhp-radius: 14px;
  width: 100%;
  max-width: 100%;
  color: var(--tdhp-text);
  font-family: inherit;
}

.tdhp,
.tdhp * { box-sizing: border-box; }

.tdhp img { max-width: 100%; }

.tdhp-shell {
  width: min(1440px, calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
}

.tdhp-preview {
  width: min(1440px, calc(100% - 48px));
  margin: 12px auto;
  padding: 10px 14px;
  border: 1px solid #f3c969;
  border-radius: 8px;
  background: #fff9e8;
  color: #7a5200;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.tdhp-section { padding: 44px 0; }
.tdhp-section + .tdhp-section { border-top: 1px solid rgba(228, 233, 241, .55); }

.tdhp-section__head,
.tdhp-products-head,
.tdhp-reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.tdhp-section__head h2,
.tdhp-products-head h2,
.tdhp-reviews-head h2,
.tdhp-promo h2,
.tdhp-b2b h2 {
  margin: 0;
  color: var(--tdhp-blue-dark);
  font-size: clamp(27px, 2.2vw, 38px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.tdhp-section__head p,
.tdhp-products-head p,
.tdhp-reviews-head p {
  margin: 8px 0 0;
  color: var(--tdhp-muted);
  font-size: 15px;
  line-height: 1.5;
}

.tdhp-kicker {
  margin: 0 0 10px;
  color: var(--tdhp-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tdhp-kicker--light { color: #fff; opacity: .86; }

.tdhp-link {
  color: var(--tdhp-blue);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.tdhp-link:hover { color: var(--tdhp-red); text-decoration: none; }

.tdhp-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.tdhp-btn:hover { transform: translateY(-1px); text-decoration: none; }
.tdhp-btn--primary { background: var(--tdhp-red); color: #fff; }
.tdhp-btn--primary:hover { background: #c90025; color: #fff; }
.tdhp-btn--secondary { border-color: #cbd5e1; background: #fff; color: var(--tdhp-blue-dark); }
.tdhp-btn--secondary:hover { border-color: var(--tdhp-blue); color: var(--tdhp-blue); }
.tdhp-btn--light { background: #fff; color: var(--tdhp-blue-dark); }
.tdhp-btn--light:hover { color: var(--tdhp-red); }

/* Hero */
.tdhp-hero {
  padding: 28px 0 18px;
  background: linear-gradient(180deg, #f9fbfe 0%, #fff 100%);
}

.tdhp-hero__grid {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  overflow: hidden;
  border: 1px solid var(--tdhp-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 26, 53, .07);
}

.tdhp-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 78px);
}

.tdhp-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--tdhp-blue-dark);
  font-size: clamp(40px, 4.2vw, 68px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.055em;
}

.tdhp-hero__text {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--tdhp-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
}

.tdhp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.tdhp-hero__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #0a315f;
}
.tdhp-hero__visual picture,
.tdhp-hero__visual img { display: block; width: 100%; height: 100%; }
.tdhp-hero__visual img { object-fit: cover; }
.tdhp-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 26, 53, .20), transparent 45%);
}

.tdhp-hero__visual--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 25%, rgba(228, 0, 43, .9) 0 10%, transparent 10.5%),
    linear-gradient(135deg, #0b4da7 0%, #071a35 74%);
}

.tdhp-hero__placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  transform: rotate(-3deg);
}
.tdhp-hero__placeholder span { font-size: 64px; font-weight: 950; line-height: .85; }
.tdhp-hero__placeholder strong { color: #ff2d4f; font-size: 58px; line-height: .95; }
.tdhp-hero__placeholder small { margin-top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .15em; }

/* Benefits */
.tdhp-benefits { padding: 16px 0 10px; }
.tdhp-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--tdhp-line);
  border-radius: 12px;
  background: #fff;
}
.tdhp-benefit { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 18px 22px; }
.tdhp-benefit + .tdhp-benefit { border-left: 1px solid var(--tdhp-line); }
.tdhp-benefit__icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; background: #edf4ff; color: var(--tdhp-blue); }
.tdhp-benefit__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tdhp-benefit strong, .tdhp-benefit span { display: block; }
.tdhp-benefit strong { color: var(--tdhp-blue-dark); font-size: 14px; font-weight: 900; }
.tdhp-benefit div > span { margin-top: 3px; color: var(--tdhp-muted); font-size: 12px; line-height: 1.35; }

/* Categories */
.tdhp-categories-head { align-items: flex-end; }
.tdhp-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}
.tdhp-category {
  display: grid;
  min-width: 0;
  min-height: 142px;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--tdhp-line);
  border-radius: 12px;
  background: #fff;
  color: var(--tdhp-blue-dark);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(7, 26, 53, .025);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tdhp-category:hover {
  border-color: #c1d0e5;
  color: var(--tdhp-blue-dark);
  box-shadow: 0 14px 30px rgba(7, 26, 53, .075);
  transform: translateY(-2px);
  text-decoration: none;
}
.tdhp-category__media {
  display: grid;
  width: 126px;
  height: 112px;
  place-items: center;
  padding: 6px;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
}
.tdhp-category__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.tdhp-category__placeholder {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid #e2e9f3;
  border-radius: 50%;
  background: #fff;
  color: var(--tdhp-red);
  font-size: 25px;
  font-weight: 950;
}
.tdhp-category__body { display: block; min-width: 0; padding: 0; }
.tdhp-category__body strong {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--tdhp-blue-dark);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.tdhp-category__body > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--tdhp-muted);
  font-size: 11px;
  font-weight: 800;
}
.tdhp-category:hover .tdhp-category__body > span { color: var(--tdhp-red); }
.tdhp-category:nth-child(n+9) { display: none; }
.tdhp-categories-section.is-expanded .tdhp-category { display: grid; }
.tdhp-categories__more-wrap { display: flex; justify-content: center; margin-top: 18px; }
@media (min-width: 1200px) { .tdhp-categories__more-wrap.is-desktop-unneeded { display: none; } }
@media (min-width: 768px) and (max-width: 1199px) { .tdhp-categories__more-wrap.is-tablet-unneeded { display: none; } }
.tdhp-categories__more {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid #cfd9e7;
  border-radius: 8px;
  background: #fff;
  color: var(--tdhp-blue);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(7, 26, 53, .04);
}
.tdhp-categories__more:hover { border-color: #aebfd7; color: var(--tdhp-red); }
.tdhp-categories__more b { font-size: 15px; transition: transform .18s ease; }
.tdhp-categories-section.is-expanded .tdhp-categories__more b { transform: rotate(180deg); }

/* Products */
.tdhp-products-section { background: #fbfcfe; }
.tdhp-product-tabs {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  margin: -4px 0 18px;
  border-bottom: 1px solid var(--tdhp-line);
  scrollbar-width: none;
}
.tdhp-product-tabs::-webkit-scrollbar { display: none; }
.tdhp-product-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
  color: #98a2b3;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}
.tdhp-product-tab.is-active { color: var(--tdhp-blue-dark); }
.tdhp-product-tab.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--tdhp-red);
}

.tdhp-products-wrap { position: relative; min-height: 392px; }
.tdhp-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.tdhp-product {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 392px;
  flex-direction: column;
  padding: 18px 16px 16px;
  overflow: hidden;
  border: 1px solid var(--tdhp-line);
  border-radius: 12px;
  background: #fff;
  scroll-snap-align: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tdhp-product:hover {
  z-index: 1;
  border-color: #cbd8eb;
  box-shadow: 0 16px 36px rgba(7, 26, 53, .08);
  transform: translateY(-2px);
}
.tdhp-product__media {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  height: 170px !important;
  min-width: 0 !important;
  flex: 0 0 170px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 14px !important;
  padding: 4px !important;
  overflow: hidden !important;
  background: #fff !important;
  text-decoration: none !important;
  transform: none !important;
}
.tdhp-product__media img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 166px !important;
  object-fit: contain !important;
  transform: none !important;
}
.tdhp-product__badges {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  max-width: calc(100% - 8px);
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.tdhp-product__badge {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  width: auto;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--tdhp-red);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(228, 0, 43, .15);
}
.tdhp-product__badge--deal { background: var(--tdhp-red); }
.tdhp-product__badge--bestseller { background: #071f46; box-shadow: 0 7px 16px rgba(7, 31, 70, .14); }
.tdhp-product__badge--favorite { background: #f47621; box-shadow: 0 7px 16px rgba(244, 118, 33, .14); }
.tdhp-product__badge--new { background: var(--tdhp-blue); box-shadow: 0 7px 16px rgba(0, 63, 145, .14); }
.tdhp-product__title {
  display: -webkit-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  text-overflow: ellipsis !important;
  transform: none !important;
}
.tdhp-product__title a {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--tdhp-blue-dark) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
  transform: none !important;
}
.tdhp-product__title a:hover { color: var(--tdhp-red) !important; }

.tdhp-rating {
  display: flex;
  width: 100%;
  min-height: 27px;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
}
.tdhp-rating__stars {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #d6dce5;
  font-size: 21px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}
.tdhp-rating__stars > span { display: block; }
.tdhp-rating__stars > b {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  overflow: hidden;
  color: var(--tdhp-orange);
  font: inherit;
  font-weight: inherit;
  white-space: nowrap;
}
.tdhp-rating__count { color: #7d8898; font-size: 12px; font-weight: 700; }

.tdhp-product__price-row {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  white-space: normal !important;
  transform: none !important;
}
.tdhp-product__price {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  color: #ff4b2b !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  letter-spacing: -.025em !important;
  white-space: nowrap !important;
  transform: none !important;
}
.tdhp-product__price-row del {
  color: #98a2b3 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.tdhp-product__discount {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 4px;
  background: #fff0ec;
  color: #e13b1b;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}
.tdhp-product__form { width: 100%; margin: auto 0 0; padding: 14px 0 0; }
.tdhp-product__cart {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: var(--tdhp-blue);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.tdhp-product__cart:hover { background: #062f75; transform: translateY(-1px); }
.tdhp-products__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(251,252,254,.82);
  color: var(--tdhp-blue-dark);
  font-weight: 850;
  backdrop-filter: blur(2px);
}
.tdhp-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: var(--tdhp-muted);
  text-align: center;
}

/* Promo */
.tdhp-promo { display: grid; min-height: 340px; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, #e4002b, #9f001e); color: #fff; box-shadow: 0 18px 42px rgba(228, 0, 43, .15); }
.tdhp-promo__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 64px); }
.tdhp-promo h2 { color: #fff; }
.tdhp-promo__copy > p:not(.tdhp-kicker) { max-width: 620px; margin: 15px 0 24px; color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.6; }
.tdhp-promo__media { display: block; min-height: 100%; }
.tdhp-promo__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tdhp-promo__graphic { display: grid; place-items: center; background: linear-gradient(135deg, #081f42, #0d4a99); text-align: center; }
.tdhp-promo__graphic span { grid-area: 1 / 1; color: rgba(255,255,255,.08); font-size: 250px; font-weight: 950; }
.tdhp-promo__graphic strong { grid-area: 1 / 1; color: #fff; font-size: 34px; font-weight: 950; letter-spacing: .08em; }

/* Brands */
.tdhp-brands { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.tdhp-brand { display: grid; min-height: 92px; place-items: center; padding: 16px; border: 1px solid var(--tdhp-line); border-radius: 10px; background: #fff; color: var(--tdhp-blue-dark); text-decoration: none; filter: grayscale(.1); transition: border-color .15s ease, transform .15s ease; }
.tdhp-brand:hover { border-color: #b9c9df; transform: translateY(-1px); text-decoration: none; }
.tdhp-brand img { max-width: 100%; max-height: 52px; object-fit: contain; }
.tdhp-brand strong { font-size: 15px; font-weight: 900; text-align: center; }

/* B2B */
.tdhp-b2b { position: relative; display: grid; min-height: 330px; grid-template-columns: 1.1fr .85fr; overflow: hidden; border-radius: 16px; background: var(--tdhp-blue-dark); color: #fff; }
.tdhp-b2b__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 64px); }
.tdhp-b2b h2 { color: #fff; }
.tdhp-b2b__copy > p:not(.tdhp-kicker) { max-width: 650px; margin: 15px 0 25px; color: #c4d2e7; font-size: 15px; line-height: 1.6; }
.tdhp-b2b__benefits { display: grid; align-content: center; gap: 12px; padding: 44px; background: rgba(255,255,255,.055); }
.tdhp-b2b__benefits div { display: flex; align-items: center; gap: 10px; color: #edf4ff; font-size: 14px; font-weight: 750; }
.tdhp-b2b__benefits span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: var(--tdhp-red); color: #fff; font-size: 12px; font-weight: 950; }
.tdhp-b2b__media { grid-column: 1 / -1; max-height: 270px; overflow: hidden; }
.tdhp-b2b__media img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.tdhp-reviews-section { background: #fbfcfe; }
.tdhp-review-score { display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 12px; text-align: right; }
.tdhp-review-score > strong { grid-row: 1 / span 2; color: var(--tdhp-blue-dark); font-size: 42px; font-weight: 950; line-height: 1; }
.tdhp-review-score .tdhp-rating__stars { font-size: 21px; }
.tdhp-review-score small { color: var(--tdhp-muted); font-size: 11px; }
.tdhp-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tdhp-review-card { display: flex; min-height: 255px; flex-direction: column; padding: 24px; border: 1px solid var(--tdhp-line); border-radius: 12px; background: #fff; }
.tdhp-review-card__stars { color: #d5dce6; font-size: 20px; letter-spacing: 1px; }
.tdhp-review-card__stars .is-on { color: var(--tdhp-orange); }
.tdhp-review-card h3 { margin: 14px 0 0; color: var(--tdhp-blue-dark); font-size: 16px; font-weight: 900; }
.tdhp-review-card > p { margin: 10px 0 18px; color: #485568; font-size: 14px; line-height: 1.6; }
.tdhp-review-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin-top: auto; }
.tdhp-review-card footer strong { color: var(--tdhp-blue-dark); font-size: 13px; }
.tdhp-review-card footer span { color: #98a2b3; font-size: 11px; }
.tdhp-review-card footer a { flex-basis: 100%; color: var(--tdhp-blue); font-size: 11px; font-weight: 750; text-decoration: none; }

/* Blog */
.tdhp-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tdhp-blog-card { overflow: hidden; border: 1px solid var(--tdhp-line); border-radius: 12px; background: #fff; }
.tdhp-blog-card__media { display: grid; height: 210px; place-items: center; overflow: hidden; background: #edf2f8; color: var(--tdhp-blue); text-decoration: none; }
.tdhp-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tdhp-blog-card:hover .tdhp-blog-card__media img { transform: scale(1.025); }
.tdhp-blog-card__media span { font-weight: 950; letter-spacing: .12em; }
.tdhp-blog-card__body { padding: 20px; }
.tdhp-blog-card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.tdhp-blog-card h3 a { color: var(--tdhp-blue-dark); text-decoration: none; }
.tdhp-blog-card p { margin: 10px 0 16px; color: var(--tdhp-muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 1199px) {
  .tdhp-shell { width: min(100% - 32px, 1200px); }
  .tdhp-hero__grid { grid-template-columns: 1fr 1fr; min-height: 470px; }
  .tdhp-products { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .tdhp-products::-webkit-scrollbar { display: none; }
  .tdhp-product { flex: 0 0 260px; scroll-snap-align: start; }
  .tdhp-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


@media (min-width: 768px) and (max-width: 1199px) {
  .tdhp-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tdhp-category:nth-child(n+7) { display: none; }
  .tdhp-categories-section.is-expanded .tdhp-category { display: grid; }
}

@media (max-width: 767px) {
  .tdhp-shell,
  .tdhp-preview { width: calc(100% - 20px); }
  .tdhp-section { padding: 30px 0; }
  .tdhp-section__head,
  .tdhp-products-head,
  .tdhp-reviews-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 16px; }
  .tdhp-section__head h2,
  .tdhp-products-head h2,
  .tdhp-reviews-head h2,
  .tdhp-promo h2,
  .tdhp-b2b h2 { font-size: 27px; }

  .tdhp-hero { padding: 12px 0 10px; }
  .tdhp-hero__grid { display: flex; min-height: 0; flex-direction: column; border-radius: 12px; }
  .tdhp-hero__copy { padding: 30px 22px; }
  .tdhp-hero h1 { font-size: 39px; }
  .tdhp-hero__text { margin-top: 16px; font-size: 15px; }
  .tdhp-hero__actions { margin-top: 22px; }
  .tdhp-btn { width: 100%; }
  .tdhp-hero__visual { min-height: 285px; order: -1; }
  .tdhp-hero__placeholder span { font-size: 46px; }
  .tdhp-hero__placeholder strong { font-size: 41px; }

  .tdhp-benefits { padding-top: 10px; }
  .tdhp-benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tdhp-benefit { min-height: 92px; padding: 14px 12px; }
  .tdhp-benefit + .tdhp-benefit { border-left: 0; }
  .tdhp-benefit:nth-child(even) { border-left: 1px solid var(--tdhp-line); }
  .tdhp-benefit:nth-child(n+3) { border-top: 1px solid var(--tdhp-line); }
  .tdhp-benefit__icon { width: 36px; height: 36px; flex-basis: 36px; }
  .tdhp-benefit__icon svg { width: 20px; height: 20px; }
  .tdhp-benefit strong { font-size: 12px; }
  .tdhp-benefit div > span { font-size: 10px; }

  .tdhp-categories-head { flex-direction: column; align-items: flex-start; }
  .tdhp-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tdhp-category {
    min-height: 154px;
    grid-template-columns: 1fr;
    grid-template-rows: 88px auto;
    align-content: start;
    gap: 8px;
    padding: 10px;
  }
  .tdhp-category:nth-child(n+5) { display: none; }
  .tdhp-categories-section.is-expanded .tdhp-category { display: grid; }
  .tdhp-category__media { width: 100%; height: 88px; padding: 3px; }
  .tdhp-category__media img { max-width: 100%; max-height: 84px; }
  .tdhp-category__body strong { min-height: 34px; font-size: 13px; line-height: 1.3; }
  .tdhp-category__body > span { margin-top: 4px; font-size: 9px; }
  .tdhp-categories__more-wrap { margin-top: 14px; }
  .tdhp-categories__more { width: 100%; min-height: 40px; }

  .tdhp-product-tabs { gap: 22px; }
  .tdhp-products { margin-right: -10px; padding-right: 10px; gap: 10px; }
  .tdhp-product { flex: 0 0 66vw; min-width: 66vw; max-width: 66vw; min-height: 344px; padding: 14px 12px 12px; }
  .tdhp-product__media { height: 150px !important; flex-basis: 150px !important; margin-bottom: 10px !important; }
  .tdhp-product__media img { max-height: 146px !important; }
  .tdhp-product__title { min-height: 38px !important; max-height: 38px !important; }
  .tdhp-product__title a { font-size: 13px !important; line-height: 1.35 !important; }
  .tdhp-rating { min-height: 23px; margin-top: 6px; }
  .tdhp-rating__stars { font-size: 17px; }
  .tdhp-product__price { font-size: 19px !important; }
  .tdhp-product__form { padding-top: 10px; }
  .tdhp-product__cart { min-height: 40px; font-size: 12px; }

  .tdhp-promo { display: flex; min-height: 0; flex-direction: column; border-radius: 12px; }
  .tdhp-promo__copy { padding: 30px 22px; }
  .tdhp-promo__media { min-height: 240px; }
  .tdhp-promo__graphic { min-height: 220px; }

  .tdhp-brands { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; }
  .tdhp-brands::-webkit-scrollbar { display: none; }
  .tdhp-brand { flex: 0 0 42%; }

  .tdhp-b2b { display: flex; min-height: 0; flex-direction: column; border-radius: 12px; }
  .tdhp-b2b__copy { padding: 30px 22px; }
  .tdhp-b2b__benefits { padding: 24px 22px; }
  .tdhp-b2b__media { max-height: 230px; }

  .tdhp-review-score { text-align: left; }
  .tdhp-review-grid,
  .tdhp-blog-grid { display: flex; overflow-x: auto; gap: 10px; margin-right: -10px; padding-right: 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .tdhp-review-grid::-webkit-scrollbar,
  .tdhp-blog-grid::-webkit-scrollbar { display: none; }
  .tdhp-review-card,
  .tdhp-blog-card { flex: 0 0 82%; scroll-snap-align: start; }
}

/* v1.0.5: isolated module preview route. */
#tdhp-standalone-preview {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body#module-tdhomepage-preview .page-header,
body#module-tdhomepage-preview .breadcrumb,
body#module-tdhomepage-preview #left-column,
body#module-tdhomepage-preview #right-column {
  display: none !important;
}
body#module-tdhomepage-preview #content-wrapper,
body#module-tdhomepage-preview #content {
  width: 100% !important;
  max-width: none !important;
}

/* v1.0.8 — conversion-first top-of-home refinements. */
.tdhp-categories-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.tdhp-categories__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tdhp-categories__nav button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid #d7e0ec;
  border-radius: 50%;
  background: #fff;
  color: var(--tdhp-blue);
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(7,26,53,.05);
  transition: transform .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
}
.tdhp-categories__nav button:hover:not(:disabled) {
  border-color: #aebfd7;
  color: var(--tdhp-red);
  transform: translateY(-1px);
}
.tdhp-categories__nav button:disabled {
  opacity: .28;
  cursor: default;
  box-shadow: none;
}
.tdhp-categories-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.tdhp-categories {
  display: grid !important;
  grid-template-rows: repeat(2, 104px) !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 24.2%, 310px);
  align-items: stretch;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.tdhp-categories::-webkit-scrollbar { display: none; }
.tdhp-category,
.tdhp-category:nth-child(n) {
  position: relative;
  display: grid !important;
  min-width: 0;
  min-height: 104px;
  grid-template-columns: 82px minmax(0, 1fr) 24px;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid #e0e6ef;
  border-radius: 12px;
  background: #fff;
  color: var(--tdhp-blue-dark);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(7,26,53,.025);
  scroll-snap-align: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.tdhp-category:hover {
  border-color: #b8c9df;
  background: #fbfdff;
  color: var(--tdhp-blue-dark);
  text-decoration: none;
  box-shadow: 0 13px 28px rgba(7,26,53,.08);
  transform: translateY(-2px);
}
.tdhp-category__media {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  padding: 3px;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: #fff !important;
}
.tdhp-category__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 78px;
  max-height: 78px;
  object-fit: contain;
  object-position: center;
  background: #fff !important;
  transition: transform .2s ease;
}
.tdhp-category:hover .tdhp-category__media img { transform: scale(1.045); }
.tdhp-category__placeholder {
  width: 58px;
  height: 58px;
  font-size: 22px;
}
.tdhp-category__body { min-width: 0; }
.tdhp-category__body strong {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--tdhp-blue-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.012em;
}
.tdhp-category__body > span { display: none !important; }
.tdhp-category__arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #9aa9bc;
  font-size: 18px;
  font-weight: 900;
  transition: color .18s ease, transform .18s ease;
}
.tdhp-category:hover .tdhp-category__arrow {
  color: var(--tdhp-red);
  transform: translateX(2px);
}
.tdhp-categories__more-wrap { display: none !important; }

/* Keep the promotional banner useful but substantially more compact. */
.tdhp-promo { min-height: 280px; }
.tdhp-promo__copy { padding: clamp(30px, 4vw, 48px); }
.tdhp-promo__graphic span { font-size: 210px; }
.tdhp-promo__graphic strong { font-size: 31px; }

/* Product cards: one commercial badge, natural content-driven height. */
.tdhp-product__badges { gap: 5px; }
.tdhp-product__badges .tdhp-product__badge:nth-child(n+2) { display: none !important; }

@media (max-width: 767px) {
  .tdhp-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tdhp-benefit {
    display: flex;
    min-height: 106px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 9px;
    text-align: center;
  }
  .tdhp-benefit__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin: 0 auto;
  }
  .tdhp-benefit__icon svg { width: 19px; height: 19px; }
  .tdhp-benefit > div { width: 100%; }
  .tdhp-benefit strong { font-size: 11px; line-height: 1.2; }
  .tdhp-benefit div > span { margin-top: 3px; font-size: 9px; line-height: 1.25; }

  .tdhp-categories-head {
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
  }
  .tdhp-categories__nav { display: none; }
  .tdhp-categories {
    grid-template-rows: repeat(2, 88px) !important;
    grid-auto-columns: calc((100vw - 38px) / 2);
    gap: 8px;
    margin-right: -10px;
    padding: 2px 10px 8px 0;
    scroll-snap-type: x mandatory;
  }
  .tdhp-category,
  .tdhp-category:nth-child(n) {
    min-height: 88px;
    grid-template-columns: 60px minmax(0, 1fr) 15px;
    grid-template-rows: 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 10px;
  }
  .tdhp-category__media {
    width: 60px;
    height: 60px;
    padding: 2px;
  }
  .tdhp-category__media img {
    max-width: 58px;
    max-height: 58px;
  }
  .tdhp-category__body strong {
    min-height: 0;
    font-size: 11px;
    line-height: 1.2;
  }
  .tdhp-category__arrow {
    width: 15px;
    height: 20px;
    font-size: 14px;
  }

  .tdhp-products-wrap { min-height: 0; }
  .tdhp-products {
    align-items: stretch;
    margin-right: -10px;
    padding-right: 10px;
    gap: 10px;
  }
  .tdhp-product {
    flex: 0 0 72vw;
    min-width: 72vw;
    max-width: 300px;
    min-height: 0;
    height: auto;
    padding: 13px 11px 11px;
  }
  .tdhp-product__media {
    height: 146px !important;
    flex-basis: 146px !important;
    margin-bottom: 9px !important;
  }
  .tdhp-product__media img { max-height: 142px !important; }
  .tdhp-product__form { margin-top: auto; }

  .tdhp-promo { min-height: 0; }
  .tdhp-promo__copy { padding: 24px 20px; }
  .tdhp-promo__copy > p:not(.tdhp-kicker) { margin: 10px 0 16px; font-size: 13px; line-height: 1.45; }
  .tdhp-promo__media { min-height: 170px; }
  .tdhp-promo__graphic { min-height: 155px; }
  .tdhp-promo__graphic span { font-size: 132px; }
  .tdhp-promo__graphic strong { font-size: 25px; }
}

/* v1.0.9 — final homepage layout polish before content imagery. */

/* Keep the compact trust bar visually aligned and readable on phones. */
@media (max-width: 767px) {
  .tdhp-benefits { padding: 10px 0 6px; }
  .tdhp-benefits__grid {
    align-items: stretch;
    border-radius: 12px;
  }
  .tdhp-benefit {
    display: grid !important;
    min-height: 112px;
    grid-template-columns: 1fr !important;
    grid-template-rows: 44px auto;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 14px 10px !important;
    text-align: center !important;
  }
  .tdhp-benefit__icon {
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    align-self: center;
    justify-self: center;
    margin: 0 !important;
    place-items: center !important;
  }
  .tdhp-benefit__icon svg {
    width: 24px !important;
    height: 24px !important;
  }
  .tdhp-benefit > div {
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    flex-direction: column;
    align-items: center !important;
    justify-content: flex-start;
    text-align: center !important;
  }
  .tdhp-benefit strong {
    width: 100%;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
  .tdhp-benefit div > span {
    width: 100%;
    margin-top: 4px !important;
    color: #758198;
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }
}

/* Mobile product cards: reveal substantially more of the next card so swipe is obvious. */
@media (max-width: 767px) {
  .tdhp-products {
    gap: 10px;
    scroll-padding-inline: 0 14px;
  }
  .tdhp-product {
    flex: 0 0 64vw;
    min-width: 64vw;
    max-width: 268px;
    padding: 12px 10px 11px;
  }
  .tdhp-product__media {
    height: 138px !important;
    flex-basis: 138px !important;
  }
  .tdhp-product__media img { max-height: 134px !important; }
  .tdhp-product__title a { font-size: 12.5px !important; }
  .tdhp-product__price { font-size: 18px !important; }
}

/* Slightly denser secondary rails: they remain swipeable without dominating the page. */
@media (max-width: 767px) {
  .tdhp-brand { flex-basis: 38%; min-height: 74px; padding: 12px; }
  .tdhp-review-card { flex-basis: 76%; min-height: 235px; padding: 20px; }
}

/* Homepage newsletter/footer polish.
   The newsletter is theme-owned, but front.css is loaded on the homepage/preview,
   so these rules safely finish the homepage without changing module behaviour. */
.td-footer-newsletter .newsletter-input-group,
#footer .td-footer-newsletter .newsletter-input-group {
  display: flex !important;
  width: 100%;
  max-width: 620px;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid #d7e0ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(7, 26, 53, .05) !important;
}
.td-footer-newsletter .newsletter-input-group input,
.td-footer-newsletter .newsletter-input-group .form-control,
#footer .td-footer-newsletter .newsletter-input-group input {
  min-width: 0;
  min-height: 50px !important;
  flex: 1 1 auto;
  padding: 0 16px !important;
  border: 0 !important;
  outline: 0 !important;
  background: #fff !important;
  color: var(--tdhp-blue-dark) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
.td-footer-newsletter .newsletter-input-group .btn-subscribe,
.td-footer-newsletter .newsletter-input-group button,
#footer .td-footer-newsletter .newsletter-input-group .btn-subscribe {
  position: relative;
  display: inline-flex !important;
  min-width: 132px !important;
  min-height: 50px !important;
  flex: 0 0 132px;
  align-items: center;
  justify-content: center;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: var(--tdhp-red) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 0 !important;
  cursor: pointer;
}
.td-footer-newsletter .newsletter-input-group .btn-subscribe::before,
.td-footer-newsletter .newsletter-input-group button::before {
  content: "Abonează-te";
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.td-footer-newsletter .newsletter-input-group .btn-subscribe i,
.td-footer-newsletter .newsletter-input-group button i {
  display: none !important;
}
.td-footer-newsletter .ps-emailsubscription-conditions {
  margin-top: 8px !important;
  color: #778395 !important;
  font-size: 11px !important;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .td-footer-top,
  #footer-container-first.td-footer-top {
    padding: 26px 0 22px !important;
    background: #fff !important;
    color: var(--tdhp-blue-dark) !important;
  }
  .td-footer-top__row {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .td-footer-newsletter,
  .td-footer-social {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
  }
  .td-footer-newsletter__title {
    max-width: 100% !important;
    margin: 0 0 12px !important;
    color: var(--tdhp-blue-dark) !important;
    font-size: 19px !important;
    line-height: 1.18 !important;
    text-align: left !important;
  }
  .td-footer-newsletter .newsletter-input-group,
  #footer .td-footer-newsletter .newsletter-input-group {
    min-height: 50px;
    border-color: #cdd8e7 !important;
    border-radius: 9px !important;
  }
  .td-footer-newsletter .newsletter-input-group input,
  #footer .td-footer-newsletter .newsletter-input-group input {
    min-height: 50px !important;
    padding: 0 13px !important;
    font-size: 13px !important;
  }
  .td-footer-newsletter .newsletter-input-group .btn-subscribe,
  .td-footer-newsletter .newsletter-input-group button,
  #footer .td-footer-newsletter .newsletter-input-group .btn-subscribe {
    min-width: 112px !important;
    min-height: 50px !important;
    flex-basis: 112px !important;
    background: var(--tdhp-red) !important;
  }
  .td-footer-newsletter .newsletter-input-group .btn-subscribe::before,
  .td-footer-newsletter .newsletter-input-group button::before {
    font-size: 12px;
  }
  .td-footer-social {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .td-footer-social .social-links,
  .td-footer-social ul {
    justify-content: center !important;
    gap: 10px !important;
  }
  .td-footer-social a {
    display: inline-grid !important;
    width: 38px !important;
    height: 38px !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid #dce4ef !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--tdhp-blue) !important;
    box-shadow: none !important;
  }
  .td-footer-social a i,
  .td-footer-social a svg { color: var(--tdhp-blue) !important; fill: currentColor; }
}

/* v1.0.10 — final visual alignment pass before campaign-manager work. */

/* Keep the commercial content from becoming overly stretched on wide desktops. */
@media (min-width: 992px) {
  .tdhp-shell,
  .tdhp-preview {
    width: min(1280px, calc(100% - 48px));
  }

  /* Standardize benefit geometry so all four icons/text blocks align identically. */
  .tdhp-benefit {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 104px;
    padding: 18px 22px;
  }

  .tdhp-benefit__icon {
    width: 52px;
    height: 52px;
    flex: none;
    margin: 0;
  }

  .tdhp-benefit__icon svg {
    width: 28px;
    height: 28px;
  }

  .tdhp-benefit > div {
    min-width: 0;
  }

  .tdhp-benefit strong {
    font-size: 15px;
    line-height: 1.22;
  }

  .tdhp-benefit div > span {
    margin-top: 5px;
    font-size: 12.5px;
    line-height: 1.35;
  }
}

/* Reuse the orange pointed discount label language already established in TopDefender. */
.tdhp-product__discount {
  min-height: 24px !important;
  margin-left: auto !important;
  padding: 4px 9px 4px 15px !important;
  border-radius: 0 !important;
  background: #ff4b23 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  box-shadow: none !important;
}

/* Slightly denser phone carousel: enough of the next card remains visible to teach swipe. */
@media (max-width: 767px) {
  .tdhp-product {
    flex: 0 0 min(62vw, 252px) !important;
    min-width: min(62vw, 252px) !important;
    max-width: min(62vw, 252px) !important;
  }

  .tdhp-benefit__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .tdhp-benefit__icon svg {
    width: 23px;
    height: 23px;
  }

  .tdhp-benefit strong {
    font-size: 12px;
  }

  .tdhp-benefit div > span {
    font-size: 10px;
  }
}

/* ===== v1.1.0 campaign manager + final desktop geometry ===== */

/* Use the available desktop width more efficiently while keeping a premium gutter. */
@media (min-width: 992px) {
  .tdhp-shell,
  .tdhp-preview {
    width: min(1440px, calc(100% - 32px)) !important;
  }

  .tdhp-benefit {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 16px !important;
    min-height: 106px !important;
    padding: 18px 20px !important;
  }

  /* Absolute optical centering avoids inherited SVG/baseline rules from Warehouse. */
  .tdhp-benefit__icon {
    position: relative !important;
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
    margin: 0 !important;
    border-radius: 50% !important;
  }

  .tdhp-benefit__icon svg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    vertical-align: middle !important;
  }

  .tdhp-benefit strong {
    font-size: 15.5px !important;
  }

  .tdhp-benefit div > span {
    font-size: 12.5px !important;
  }
}

/* Lightweight native hero slider; no RevSlider dependency. */
.tdhp-hero--campaign {
  padding: 20px 0 14px;
  background: #fff;
}

.tdhp-hero-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tdhp-line);
  border-radius: 16px;
  background: #071a35;
  box-shadow: 0 16px 42px rgba(7, 26, 53, .08);
}

.tdhp-hero-slider__track {
  position: relative;
  aspect-ratio: 2.55 / 1;
  min-height: 360px;
}

.tdhp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}

.tdhp-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.tdhp-hero-slide__media,
.tdhp-hero-slide__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.tdhp-hero-slide__media {
  position: absolute;
  inset: 0;
}

.tdhp-hero-slide__media img {
  object-fit: cover;
}

.tdhp-hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: clamp(34px, 5vw, 74px);
  background: linear-gradient(90deg, rgba(7,26,53,.86) 0%, rgba(7,26,53,.64) 36%, rgba(7,26,53,.10) 68%, transparent 100%);
}

.tdhp-hero-slide__copy {
  max-width: 610px;
  color: #fff;
}

.tdhp-hero-slide__copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.1vw, 66px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.05em;
}

.tdhp-hero-slide__copy > p:not(.tdhp-kicker) {
  max-width: 560px;
  margin: 18px 0 24px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.55;
}

.tdhp-hero-slide__full-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.tdhp-hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-top: -23px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--tdhp-blue);
  box-shadow: 0 8px 22px rgba(7,26,53,.18);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.tdhp-hero-nav--prev { left: 18px; }
.tdhp-hero-nav--next { right: 18px; }

.tdhp-hero-dots {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.tdhp-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.tdhp-hero-dot.is-active {
  width: 24px;
  border-radius: 99px;
  background: #fff;
}

/* Multi-banner campaign manager. */
.tdhp-campaign-section {
  padding: 20px 0 26px;
}

.tdhp-campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tdhp-campaign-grid--single {
  grid-template-columns: 1fr;
}

.tdhp-campaign-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #e4002b 0 47%, #083b91 47% 100%);
  box-shadow: 0 12px 30px rgba(7,26,53,.07);
}

.tdhp-campaign-card__media,
.tdhp-campaign-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.tdhp-campaign-card__media {
  position: absolute;
  inset: 0;
}

.tdhp-campaign-card__media img {
  object-fit: cover;
}

.tdhp-campaign-card__copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 280px;
  max-width: 62%;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px;
  color: #fff;
  background: linear-gradient(90deg, rgba(7,26,53,.82), rgba(7,26,53,.42), transparent);
}

.tdhp-campaign-card:not(.has-image) .tdhp-campaign-card__copy {
  max-width: 58%;
  background: transparent;
}

.tdhp-campaign-card__copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 2.5vw, 42px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.tdhp-campaign-card__copy > p:not(.tdhp-kicker) {
  margin: 12px 0 18px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  line-height: 1.5;
}

.tdhp-campaign-card__full-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* Keep TopDefender's established orange pointed discount badge. */
.tdhp-product__discount {
  min-height: 25px !important;
  padding: 5px 10px 5px 16px !important;
  background: #ff4b23 !important;
  color: #fff !important;
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%) !important;
}

/* Article metadata from ph_simpleblog. */
.tdhp-blog-card__meta {
  margin-bottom: 8px;
  color: #8a96a8;
  font-size: 11px;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .tdhp-shell,
  .tdhp-preview {
    width: calc(100% - 16px) !important;
  }

  .tdhp-benefit__icon {
    position: relative !important;
    display: block !important;
  }
  .tdhp-benefit__icon svg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
  }

  .tdhp-hero--campaign { padding-top: 10px; }
  .tdhp-hero-slider { border-radius: 12px; }
  .tdhp-hero-slider__track {
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }
  .tdhp-hero-slide__overlay {
    align-items: flex-end;
    padding: 22px 18px 42px;
    background: linear-gradient(0deg, rgba(7,26,53,.92) 0%, rgba(7,26,53,.62) 48%, rgba(7,26,53,.08) 84%, transparent 100%);
  }
  .tdhp-hero-slide__copy {
    max-width: 100%;
  }
  .tdhp-hero-slide__copy h1 {
    font-size: 30px;
    line-height: 1.02;
  }
  .tdhp-hero-slide__copy > p:not(.tdhp-kicker) {
    margin: 10px 0 14px;
    font-size: 12.5px;
  }
  .tdhp-hero-nav {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    font-size: 24px;
  }
  .tdhp-hero-nav--prev { left: 10px; }
  .tdhp-hero-nav--next { right: 10px; }
  .tdhp-hero-dots { bottom: 10px; }

  .tdhp-campaign-section {
    padding: 12px 0 18px;
  }
  .tdhp-campaign-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tdhp-campaign-card {
    min-height: 210px;
    border-radius: 11px;
  }
  .tdhp-campaign-card__copy {
    min-height: 210px;
    max-width: 78%;
    padding: 22px 18px;
  }
  .tdhp-campaign-card:not(.has-image) .tdhp-campaign-card__copy {
    max-width: 75%;
  }
  .tdhp-campaign-card__copy h2 {
    font-size: 25px;
  }
  .tdhp-campaign-card__copy > p:not(.tdhp-kicker) {
    margin: 8px 0 14px;
    font-size: 12px;
  }

  .tdhp-product {
    flex: 0 0 min(60vw, 240px) !important;
    min-width: min(60vw, 240px) !important;
    max-width: min(60vw, 240px) !important;
  }

  .tdhp-blog-card { flex-basis: 78%; }
}



/* v1.1.1 product card polish */
.tdhp-product__meta-row {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  margin: 2px 0 8px;
}
.tdhp-product__variants {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf0fb;
  color: var(--tdhp-blue);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tdhp-product__price-row {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
.tdhp-product__price-stack {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.tdhp-product__price-stack del,
.tdhp-product__price-row del {
  display: block !important;
  margin: 0 !important;
  color: #98a2b3 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-decoration-thickness: 1px;
  white-space: nowrap !important;
}
.tdhp-product__discount {
  flex: 0 0 auto;
  align-self: flex-end;
  margin-left: 8px !important;
}
@media (max-width: 767px) {
  .tdhp-products { gap: 8px !important; }
  .tdhp-product {
    flex: 0 0 clamp(164px, 47vw, 212px) !important;
    min-width: clamp(164px, 47vw, 212px) !important;
    max-width: clamp(164px, 47vw, 212px) !important;
    min-height: 338px !important;
    padding: 14px 12px 12px !important;
  }
  .tdhp-product__title {
    min-height: 54px !important;
    max-height: 54px !important;
    -webkit-line-clamp: 3 !important;
  }
  .tdhp-product__price { font-size: 18px !important; }
  .tdhp-product__price-stack del,
  .tdhp-product__price-row del { font-size: 11px !important; }
  .tdhp-product__discount {
    min-height: 24px !important;
    padding: 5px 9px 5px 15px !important;
    font-size: 10px !important;
  }
  .tdhp-product__variants {
    min-height: 20px;
    padding: 4px 9px;
    font-size: 9px;
  }
}


/* ===== v1.1.4 banner alignment, brands rail, ybc_blog polish ===== */

/* Buttons must keep their brand colors even when Warehouse link styles cascade in. */
.tdhp-hero-slide__copy .tdhp-btn--primary,
.tdhp-hero-slide__copy .tdhp-btn--primary:link,
.tdhp-hero-slide__copy .tdhp-btn--primary:visited,
.tdhp-hero-slide__copy .tdhp-btn--primary:hover {
  background: var(--tdhp-red) !important;
  color: #fff !important;
}

.tdhp-hero-slide__copy {
  display: flex !important;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
}

.tdhp-hero-slide__copy .tdhp-btn {
  width: auto !important;
  min-width: 180px;
  margin-top: auto;
  align-self: flex-start;
}

.tdhp-campaign-card__copy {
  justify-content: flex-start !important;
}

.tdhp-campaign-card__copy .tdhp-btn {
  width: auto !important;
  min-width: 180px;
  margin-top: auto;
  align-self: flex-start;
}

.tdhp-campaign-card__copy .tdhp-btn--light,
.tdhp-campaign-card__copy .tdhp-btn--light:link,
.tdhp-campaign-card__copy .tdhp-btn--light:visited {
  background: #fff !important;
  color: var(--tdhp-blue-dark) !important;
}

.tdhp-campaign-card__copy .tdhp-btn--light:hover {
  background: #f4f7fb !important;
  color: var(--tdhp-red) !important;
}

/* All brands stay on one horizontal rail; extra brands scroll instead of wrapping. */
.tdhp-brands-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tdhp-brand-nav {
  display: flex;
  gap: 8px;
}

.tdhp-brand-nav button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--tdhp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--tdhp-blue);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(7,26,53,.05);
}

.tdhp-brand-nav button:disabled {
  opacity: .3;
  cursor: default;
}

.tdhp-brands {
  display: flex !important;
  width: 100%;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.tdhp-brands::-webkit-scrollbar {
  display: none;
}

.tdhp-brand {
  flex: 0 0 calc((100% - 70px) / 8);
  min-width: 132px;
  scroll-snap-align: start;
}

/* Blog section inherits the same contained commercial rhythm. */
.tdhp-blog-grid {
  align-items: stretch;
}

.tdhp-blog-card__media img {
  object-fit: cover;
}

/* On mobile: fixed CTA baseline and compact single-row brand swiper. */
@media (max-width: 767px) {
  .tdhp-hero-slide__copy {
    min-height: 178px;
    width: 100%;
  }

  .tdhp-hero-slide__copy .tdhp-btn,
  .tdhp-campaign-card__copy .tdhp-btn {
    width: 100% !important;
    min-width: 0;
    margin-top: auto;
  }

  .tdhp-campaign-card__copy {
    min-height: 210px !important;
  }

  .tdhp-brand-nav {
    display: none;
  }

  .tdhp-brand {
    flex: 0 0 42% !important;
    min-width: 138px;
  }
}


/* ===== v1.1.5 responsive media controls + final CTA alignment ===== */

@media (min-width: 768px) {
  .tdhp-device-desktop-off {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .tdhp-device-mobile-off {
    display: none !important;
  }
}

/* Keep hero CTA at the same optical baseline on every slide. */
@media (min-width: 768px) {
  .tdhp-hero-slide__copy {
    position: relative !important;
    width: min(610px, 52vw);
    height: 262px !important;
    min-height: 262px !important;
    padding-bottom: 62px;
    box-sizing: border-box;
  }

  .tdhp-hero-slide__copy .tdhp-btn {
    position: absolute !important;
    left: 0;
    bottom: 0;
    width: auto !important;
    min-width: 170px !important;
    max-width: 230px;
    justify-content: center;
  }
}

/* Campaign grid naturally expands one remaining visible card to full width. */
.tdhp-campaign-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)) !important;
}

.tdhp-campaign-card__copy {
  position: absolute !important;
  inset: 0 auto 0 0;
  height: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box;
  padding-bottom: 82px !important;
}

.tdhp-campaign-card__copy .tdhp-btn {
  position: absolute !important;
  left: 38px;
  bottom: 28px;
  width: auto !important;
  min-width: 165px !important;
  max-width: 225px;
  justify-content: center;
}

/* B2B CTA: compact red button with guaranteed white text. */
.tdhp-b2b__copy .tdhp-btn--primary,
.tdhp-b2b__copy .tdhp-btn--primary:link,
.tdhp-b2b__copy .tdhp-btn--primary:visited,
.tdhp-b2b__copy .tdhp-btn--primary:hover {
  width: auto !important;
  min-width: 190px !important;
  max-width: 260px !important;
  align-self: flex-start !important;
  background: var(--tdhp-red) !important;
  color: #fff !important;
  justify-content: center;
}

/* Better fallback card when an article truly has no cover. */
.tdhp-blog-card__media {
  overflow: hidden;
  background: #eaf0f8;
}
.tdhp-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile: swipe hero, keep dots, remove redundant arrows and oversized CTA widths. */
@media (max-width: 767px) {
  .tdhp-hero-nav {
    display: none !important;
  }

  .tdhp-hero-slide__copy {
    position: relative !important;
    width: min(84%, 330px) !important;
    height: 174px !important;
    min-height: 174px !important;
    padding-bottom: 50px;
    box-sizing: border-box;
  }

  .tdhp-hero-slide__copy .tdhp-btn {
    position: absolute !important;
    left: 0;
    bottom: 0;
    width: auto !important;
    min-width: 145px !important;
    max-width: 200px !important;
    padding-right: 16px;
    padding-left: 16px;
    justify-content: center;
  }

  .tdhp-campaign-card__copy {
    width: 78% !important;
    max-width: 78% !important;
    padding: 22px 18px 70px !important;
  }

  .tdhp-campaign-card__copy .tdhp-btn {
    left: 18px !important;
    bottom: 18px !important;
    width: auto !important;
    min-width: 145px !important;
    max-width: 205px !important;
    padding-right: 16px;
    padding-left: 16px;
  }

  .tdhp-b2b__copy .tdhp-btn--primary {
    width: auto !important;
    min-width: 175px !important;
    max-width: 230px !important;
  }
}


/* ===== v1.1.6: product-card rhythm + unified orange ratings + hero resilience ===== */
.tdhp {
  --tdhp-star: #ff4d1d;
  --tdhp-star-empty: #cfd7e3;
}

/* Fixed vertical rhythm: every card reserves the same meta/title/rating/price space. */
.tdhp-product__meta-row {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 0 0 7px !important;
  align-items: center !important;
}
.tdhp-product__meta-row.is-empty {
  visibility: hidden !important;
}
.tdhp-product__variants {
  min-height: 20px !important;
  padding: 4px 8px !important;
  border-radius: 5px !important;
  background: #eaf0fb !important;
  color: #0b4aa2 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.tdhp-product__title {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  -webkit-line-clamp: 2 !important;
}
.tdhp-rating {
  height: 29px !important;
  min-height: 29px !important;
  max-height: 29px !important;
  margin: 6px 0 0 !important;
}
.tdhp-rating__stars {
  color: var(--tdhp-star-empty) !important;
  font-size: 22px !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
}
.tdhp-rating__stars > b {
  color: var(--tdhp-star) !important;
}
.tdhp-product__price-row {
  height: 53px !important;
  min-height: 53px !important;
  max-height: 53px !important;
  margin: 4px 0 0 !important;
  align-items: flex-end !important;
}
.tdhp-product__price-stack {
  height: 53px !important;
  justify-content: flex-end !important;
  gap: 3px !important;
}
.tdhp-product__form {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

/* Reviews use exactly the same star palette as product cards. */
.tdhp-review-score .tdhp-rating__stars,
.tdhp-review-card__stars {
  color: var(--tdhp-star-empty) !important;
}
.tdhp-review-card__stars {
  font-size: 22px !important;
  letter-spacing: 1px !important;
}
.tdhp-review-card__stars .is-on,
.tdhp-review-score .tdhp-rating__stars > b {
  color: var(--tdhp-star) !important;
}

/* Dots remain visible on mobile; only the redundant side arrows are hidden. */
.tdhp-hero-dots[hidden] {
  display: none !important;
}
.tdhp-hero-dots:not([hidden]) {
  display: flex !important;
}
.tdhp-hero-dot {
  opacity: .78;
}
.tdhp-hero-dot.is-active {
  opacity: 1;
}

@media (max-width: 767px) {
  .tdhp-product {
    min-height: 354px !important;
  }
  .tdhp-product__meta-row {
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    margin-bottom: 6px !important;
  }
  .tdhp-product__variants {
    min-height: 18px !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
    font-size: 9px !important;
  }
  .tdhp-product__title {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    -webkit-line-clamp: 2 !important;
  }
  .tdhp-rating {
    height: 27px !important;
    min-height: 27px !important;
    max-height: 27px !important;
  }
  .tdhp-rating__stars,
  .tdhp-review-card__stars {
    font-size: 20px !important;
  }
  .tdhp-product__price-row,
  .tdhp-product__price-stack {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
  }
  .tdhp-hero-dots {
    display: flex !important;
    pointer-events: auto !important;
  }
}


/* ===== v1.1.7 final homepage rhythm ===== */

/* Product meta -> title spacing is intentionally tight and identical everywhere. */
.tdhp-product__meta-row {
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0 0 3px !important;
}

.tdhp-product__title {
  display: block !important;
  height: 39px !important;
  min-height: 39px !important;
  max-height: 39px !important;
  overflow: hidden !important;
}

.tdhp-product__title a {
  display: -webkit-box !important;
  height: 39px !important;
  max-height: 39px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  line-height: 19.5px !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
}

/* Rating and count share one optical baseline. */
.tdhp-rating {
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  margin: 2px 0 0 !important;
  align-items: center !important;
  gap: 6px !important;
}

.tdhp-rating__stars {
  display: inline-flex !important;
  height: 22px !important;
  align-items: center !important;
  line-height: 22px !important;
}

.tdhp-rating__stars > span,
.tdhp-rating__stars > b {
  line-height: 22px !important;
}

.tdhp-rating__count {
  display: inline-flex !important;
  height: 22px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 22px !important;
  vertical-align: middle !important;
}

/* Reduce unused vertical air before price while retaining fixed card rhythm. */
.tdhp-product__price-row {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
}

.tdhp-product__price-stack {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  gap: 2px !important;
}

/* Review product name is always one visual line. */
.tdhp-review-card__product {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

/* Preview deliberately shows all enabled hero slides, including future scheduled
   ones, so carousel/autoplay/swipe can be tested before activation. */
.tdhp-hero-dots {
  z-index: 8 !important;
}

@media (max-width: 767px) {
  .tdhp-product {
    min-height: 340px !important;
  }

  .tdhp-product__meta-row {
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin-bottom: 3px !important;
  }

  .tdhp-product__title,
  .tdhp-product__title a {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }

  .tdhp-product__title a {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    line-height: 18px !important;
  }

  .tdhp-rating {
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    margin-top: 2px !important;
  }

  .tdhp-rating__stars,
  .tdhp-rating__stars > span,
  .tdhp-rating__stars > b,
  .tdhp-rating__count {
    height: 20px !important;
    line-height: 20px !important;
  }

  .tdhp-rating__count {
    align-items: center !important;
  }

  .tdhp-product__price-row,
  .tdhp-product__price-stack {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }

  .tdhp-product__form {
    padding-top: 7px !important;
  }
}


/* ===== v1.1.8 final blog-card alignment =====
   Every article reserves exactly 2 title lines and 3 excerpt lines so cards
   remain aligned even when content lengths differ. */
.tdhp-blog-card {
  display: flex !important;
  height: 100%;
  flex-direction: column;
}

.tdhp-blog-card__body {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
}

.tdhp-blog-card__title {
  display: block !important;
  height: 49px !important;
  min-height: 49px !important;
  max-height: 49px !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 18px !important;
  line-height: 24.5px !important;
}

.tdhp-blog-card__title a {
  display: -webkit-box !important;
  height: 49px !important;
  max-height: 49px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  line-height: 24.5px !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
}

.tdhp-blog-card__excerpt {
  display: -webkit-box !important;
  height: 61px !important;
  min-height: 61px !important;
  max-height: 61px !important;
  margin: 10px 0 16px !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3;
  color: var(--tdhp-muted) !important;
  font-size: 13px !important;
  line-height: 20.3px !important;
  white-space: normal !important;
  text-overflow: ellipsis !important;
}

.tdhp-blog-card__readmore {
  margin-top: auto !important;
  align-self: flex-start;
}

@media (max-width: 767px) {
  .tdhp-blog-card__title,
  .tdhp-blog-card__title a {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    line-height: 22px !important;
  }

  .tdhp-blog-card__excerpt {
    height: 57px !important;
    min-height: 57px !important;
    max-height: 57px !important;
    line-height: 19px !important;
  }
}
