/* =====================================================================
   Rich theme layer (public website) — loaded after enhancements.css.
   Remove its <link> in header-1.php / header-2.php to roll back.
   ===================================================================== */
:root {
  --ep-grad: linear-gradient(135deg, #ee2761 0%, #c81a4d 55%, #8e1446 100%);
  --ep-navy-grad: linear-gradient(160deg, #0b1d3f 0%, #061738 60%, #040f26 100%);
  --ep-soft: #fbf3f6;
}
body { background: #fcfcfd; }

/* Top bar */
.header__topbar.bg__secondary { background: var(--ep-grad) !important; }

/* Buttons */
.primary__btn, .newsletter__subscribe--button, .account__login--btn {
  background: var(--ep-grad) !important; border: 0 !important; color: #fff !important;
  box-shadow: 0 6px 16px rgba(238, 39, 97, .22);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.primary__btn:hover, .newsletter__subscribe--button:hover, .account__login--btn:hover {
  transform: translateY(-1px); box-shadow: 0 10px 24px rgba(238, 39, 97, .32); filter: saturate(1.1);
}

/* Section headings: bold title + gradient rule */
.section__heading { position: relative; }
.section__heading--maintitle {
  font-size: clamp(2.2rem, 2.2vw + 1rem, 3.2rem) !important; font-weight: 700 !important; letter-spacing: -.01em;
  color: var(--ep-ink) !important; margin-bottom: 0;
}
.section__heading--maintitle::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--ep-grad);
}
.section__heading img, .section__heading .section__heading--shape { display: none; }
.product__section { position: relative; }
.product__section:nth-of-type(even) { background: linear-gradient(180deg, #fff 0%, var(--ep-soft) 100%); }

/* Why-subscribe strip (home) */
.ep-values { margin: -34px 0 34px; position: relative; z-index: 3; }
.ep-values__list {
  list-style: none; margin: 0 auto; padding: 18px; max-width: 1320px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(6, 23, 56, .10); border: 1px solid var(--ep-line);
}
.ep-values__item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; transition: background .2s ease; }
.ep-values__item:hover { background: var(--ep-soft); }
.ep-values__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ep-grad); box-shadow: 0 6px 14px rgba(238,39,97,.25); }
.ep-values__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ep-values__item strong { display: block; font-size: 1.6rem; color: var(--ep-ink); line-height: 1.2; }
.ep-values__item small { display: block; font-size: 1.3rem; color: var(--ep-muted); line-height: 1.35; margin-top: 2px; }
@media (max-width: 991px) { .ep-values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .ep-values { margin-top: 12px; } .ep-values__list { grid-template-columns: 1fr; padding: 10px; } }

/* Hero & deal banner */
.hero__slider--section .slider__content--maintitle { text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.deals__banner--inner { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px rgba(6, 23, 56, .18); }

/* Inner page banners */
.breadcrumb__section.breadcrumb__bg { position: relative; overflow: hidden; }
.breadcrumb__section.breadcrumb__bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background: linear-gradient(180deg, rgba(252,252,253,0) 0%, #fcfcfd 100%);
}
.breadcrumb__content--title { font-size: clamp(2.8rem, 3vw + 1rem, 4.4rem) !important; font-weight: 700; letter-spacing: -.01em; text-shadow: 0 4px 24px rgba(0,0,0,.25); }

/* Login / registration forms */
.login__section .account__login {
  background: #fff; border: 1px solid var(--ep-line); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(6, 23, 56, .08); padding: 32px 30px !important;
}
.account__login--header h2, .account__login--header__title { font-weight: 700; color: var(--ep-ink); }
.account__login--input, .login__section select {
  height: 46px; border-radius: 10px !important; border: 1px solid #dfe2e8 !important; background: #fbfbfc !important; padding: 0 14px !important;
}
.account__login--input:focus, .login__section select:focus { background: #fff !important; border-color: var(--ep-accent) !important; box-shadow: 0 0 0 4px rgba(238,39,97,.12) !important; }
.login__section label { font-weight: 600; color: var(--ep-ink); font-size: 1.35rem; }

/* Contact page */
.ep-contact { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 28px; align-items: start; }
.ep-contact__info { position: sticky; top: 110px; background: var(--ep-navy-grad); color: #dfe6f3; border-radius: 18px; padding: 28px; box-shadow: 0 20px 40px rgba(6,23,56,.22); }
.ep-contact__info h2 { color: #fff; font-size: 2.2rem; margin: 0 0 8px; }
.ep-contact__info p { color: #c7d1e4; font-size: 1.45rem; line-height: 1.5; margin: 0 0 18px; }
.ep-contact__card { display: flex; gap: 12px; align-items: center; padding: 12px; margin-top: 10px; border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; transition: background .2s ease; }
a.ep-contact__card:hover { background: rgba(255,255,255,.12); color: #fff; }
.ep-contact__card small { display: block; font-size: 1.2rem; color: #9fb0cf; text-transform: uppercase; letter-spacing: .06em; }
.ep-contact__card strong { font-size: 1.5rem; }
.ep-contact__icon { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ep-grad); }
.ep-contact__icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ep-contact__form { background: #fff; border: 1px solid var(--ep-line); border-radius: 18px; padding: 8px; box-shadow: 0 18px 40px rgba(6,23,56,.08); overflow: hidden; }
@media (max-width: 991px) { .ep-contact { grid-template-columns: 1fr; } .ep-contact__info { position: static; } }

/* Footer */
.footer__section.bg__black { background: var(--ep-navy-grad) !important; position: relative; }
.footer__section.bg__black::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ep-grad); }
.footer__widget--title { color: #fff !important; font-weight: 700; letter-spacing: .01em; }
.footer__widget--desc, .footer__widget--menu__text { color: #b8c3d9 !important; }
.footer__widget--menu__text:hover { color: #fff !important; }
.newsletter__subscribe--input { border-radius: 10px !important; background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.18) !important; color: #fff !important; }
.newsletter__subscribe--input::placeholder { color: #9fb0cf; }
.newsletter__subscribe--button { border-radius: 10px !important; }
.copyright__content { color: #9fb0cf !important; }

/* Scroll reveal: JS adds .ep-reveal-ready to <html>; without JS nothing is hidden */
.ep-reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.ep-reveal-ready [data-reveal].ep-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ep-reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* One divider under section titles (hide the theme ornament) */
.section__heading--maintitle::before { display: none !important; }
.section__heading--maintitle { padding-bottom: 0 !important; }

/* ---------- Spacing pass ---------- */
/* Inner pages: the banner already fades into the page, so the theme's
   90px section top padding left a dead band under it. */
.breadcrumb__section + .section--padding,
.breadcrumb__section + section.section--padding { padding-top: 4.8rem; }
.breadcrumb__section + .section--padding .ep-filter { margin-top: 0; }

/* Homepage magazine rows: equal breathing room above and below each row
   (they were pt-0, so a heading sat flush against the tinted band above). */
.product__section.section--padding,
.product__section.section--padding.pt-0 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.product__section .section__heading.mb-50 { margin-bottom: 3.6rem; }
.deals__banner--section.section--padding { padding-top: 2rem !important; padding-bottom: 2rem; }
.ep-values { margin-bottom: 1rem; }
.ep-netzero-grid { --bs-gutter-x: 30px; }

@media (max-width: 767px) {
  .breadcrumb__section + .section--padding { padding-top: 3.2rem; }
  .product__section.section--padding,
  .product__section.section--padding.pt-0 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .product__section .section__heading.mb-50 { margin-bottom: 2.4rem; }
  .ep-netzero-grid { --bs-gutter-x: 14px; }

  /* Hero + deal banner: the cover collage sits behind the text on phones —
     shade it so the copy stays readable and give the text room. */
  .hero__slider--items, .deals__banner--inner { position: relative; }
  .hero__slider--items::before, .deals__banner--inner::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(6,23,56,.92) 0%, rgba(6,23,56,.78) 55%, rgba(6,23,56,.35) 100%);
  }
  .hero__slider--items > *, .deals__banner--inner > * { position: relative; z-index: 1; }
  .deals__banner--inner::before { background: rgba(6,23,56,.84); }
  .deals__banner--content__subtitle br { display: none; }
  .hero__slider--items__inner { padding: 4.2rem 0 4.8rem !important; }
  .slider__content { padding-left: 0; padding-right: 0; }
  .deals__banner--content { padding: 3.6rem 2rem !important; }
}

/* Login: the "OR" chip on the divider was white-on-white */
.account__login--divide { margin: 2.4rem 0 1.6rem; }
.account__login--divide__text { color: var(--ep-muted) !important; background: #fff !important; padding: 0 12px; font-size: 1.2rem; letter-spacing: .08em; }
.account__login--signup__text a { color: var(--ep-accent); }
