video[data-hwg-captioned-video]::cue {
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  text-shadow: 0 1px 2px #000;
}

video[data-hwg-captioned-video] { max-width: 100%; }

.hwg-video-timestamp {
  color: #247a2e !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.hwg-video-timestamp:hover, .hwg-video-timestamp:focus-visible { color: #16571d !important; }
.hwg-video-popout[hidden] { display: none !important; }
.hwg-video-popout {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999999;
  width: min(560px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: #101010;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
}
.hwg-video-popout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 6px 8px 6px 12px;
  color: #fff;
  background: #171717;
}
.hwg-video-popout__title {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hwg-video-popout__close {
  min-width: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.hwg-video-popout__close:hover, .hwg-video-popout__close:focus-visible { background: rgba(255, 255, 255, 0.14); }
.hwg-video-popout__video {
  display: block;
  width: 100%;
  max-height: min(65vh, 420px);
  margin: 0;
  background: #000;
}
.hwg-affiliate-link {
  color: #247a2e !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}
.hwg-affiliate-link:hover, .hwg-affiliate-link:focus-visible { color: #16571d !important; }
.hwg-affiliate-products {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid #e3e7e3;
  border-bottom: 1px solid #e3e7e3;
}
.hwg-affiliate-products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hwg-product-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 92px;
  padding: 9px;
  border: 1px solid #e0e5e0;
  border-radius: 8px;
  color: inherit !important;
  background: #fff;
  box-shadow: none;
  text-decoration: none !important;
}
.hwg-product-card:hover, .hwg-product-card:focus-visible {
  border-color: #7cad80;
  box-shadow: 0 2px 10px rgba(24, 80, 32, 0.08);
}
.hwg-product-card img {
  width: 72px;
  height: 72px;
  margin: 0;
  object-fit: contain;
}
.hwg-product-card__title {
  display: block;
  margin-bottom: 3px;
  color: #247a2e;
  font-weight: 700;
  line-height: 1.25;
}
.hwg-product-card__description {
  display: block;
  color: #404640;
  font-size: 13px;
  line-height: 1.35;
}
.hwg-product-card::after,
.hwg-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  justify-self: start;
  min-height: 30px;
  margin-top: 7px;
  padding: 6px 12px;
  border: 1px solid #247a2e;
  border-radius: 999px;
  color: #fff;
  background: #247a2e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hwg-product-card::after { content: "Buy It Now"; }
.hwg-product-card:has(.hwg-product-card__button)::after { content: none; }
.hwg-product-card:hover::after,
.hwg-product-card:focus-visible::after,
.hwg-product-card__button:hover { background: #16571d; }
.hwg-affiliate-products__disclosure {
  margin: 10px 0 0;
  color: #5a615a;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 700px) {
  .hwg-video-popout { right: 8px; bottom: 8px; width: calc(100vw - 16px); border-radius: 8px; }
  .hwg-affiliate-products__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hwg-video-popout, .hwg-product-card { scroll-behavior: auto; transition: none; }
}
