/* ==========================================================
   UI polish layer — loaded after style.css, overrides only.
   Remove the <link> in the header views to roll back.
   ========================================================== */
:root {
  --ep-accent: #ee2761;
  --ep-accent-dark: #c81a4d;
  --ep-ink: #061738;
  --ep-muted: #5b6475;
  --ep-line: #e7e9ef;
  --ep-radius: 12px;
  --ep-shadow: 0 1px 2px rgba(6, 23, 56, .06), 0 4px 14px rgba(6, 23, 56, .06);
  --ep-shadow-hover: 0 6px 18px rgba(6, 23, 56, .10), 0 18px 40px rgba(6, 23, 56, .10);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Keyboard focus that is actually visible */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--ep-accent);
  outline-offset: 2px;
}

/* ---------- Magazine cards ---------- */
.product__items {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product__items:hover {
  transform: translateY(-4px);
  box-shadow: var(--ep-shadow-hover);
  border-color: transparent;
}
.product__items--thumbnail {
  background: #f4f5f8;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product__items--thumbnail .product__items--link { display: block; height: 100%; }
.product__items--thumbnail .product__items--img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}
.product__items:hover .product__items--img { transform: scale(1.04); }

.product__badge--items {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  line-height: 1.2;
  max-width: calc(100% - 8px);
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: rgba(6, 23, 56, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(6, 23, 56, .25);
}
/* Sit on the bottom of the cover so the magazine's own masthead stays visible */
.product__badge { top: auto; bottom: 10px; left: 10px; right: 10px; pointer-events: none; }
@media only screen and (min-width: 576px) {
  .product__badge { top: auto; bottom: 12px; left: 12px; }
}
.product__badge--items::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ep-accent);
  box-shadow: 0 0 0 3px rgba(238, 39, 97, .3);
}

.product__items--content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 16px;
}
.product__items--content__subtitle {
  color: var(--ep-muted);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.product__items--content__title {
  margin: 6px 0 10px;
  line-height: 1.35;
  color: var(--ep-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
/* Magazine name above the date on the mixed "All Categories" listing */
.ep-card-vertical {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--ep-ink);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
}
.ep-card-vertical::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ep-accent);
}

/* Cover: hairline edge so white covers don't melt into the card */
.product__items--thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -1px 0 var(--ep-line);
  pointer-events: none;
}
.product__items--content__title { font-weight: 700; font-size: 1.6rem; }

.product__items--content__title a { color: inherit; }
.product__items--content__title a:hover { color: var(--ep-accent); }

/* "Choose Type" row: label above a full-width select instead of a cramped float */
.product__items--content h5 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ep-muted);
  margin-bottom: 14px;
}
.product__items--content h5 .custom-select {
  float: none !important;
  width: 100% !important;
  height: 40px;
  padding: 0 36px 0 12px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ep-ink);
  border: 1px solid var(--ep-line);
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #f7f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6475' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  box-shadow: none;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.product__items--content h5 .custom-select:hover { border-color: #cfd3dc; background-color: #fff; }
.product__items--content h5 .custom-select:focus {
  outline: none;
  border-color: var(--ep-accent);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(238, 39, 97, .15);
}

/* Equal-height cards in the homepage carousels so Subscribe buttons line up */
.product__swiper--activation .swiper-slide { height: auto; display: flex; }
.product__swiper--activation .swiper-slide > .product__items { width: 100%; }

/* Subscribe = a real call-to-action */
.product__items--action { margin-top: auto; }
.product__items--action__list { width: 100%; }
/* Theme makes this inline-block with a 40px line-height inside a fixed 44px
   box, so the label overflowed to the bottom edge — lay it out with flex. */
.product__items--action__btn.add__to--cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 0 16px;
  line-height: 1;
  border: 0;
  border-radius: 999px;
  /* Brand pink into deep magenta; wider than the box so hover can slide it */
  background: linear-gradient(110deg, #f8456f 0%, #ee2761 30%, #c2185b 62%, #8e1a7f 100%);
  background-size: 140% 100%;
  background-position: 0% 50%;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 1px 1px rgba(80, 0, 40, .25);
  box-shadow: 0 4px 14px rgba(194, 24, 91, .30), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: background-position .4s ease, box-shadow .2s ease, transform .15s ease;
}
.product__items--action__btn.add__to--cart:hover {
  color: #fff;
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(142, 26, 127, .38), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.product__items--action__btn.add__to--cart:active { transform: translateY(0) scale(.98); box-shadow: 0 2px 6px rgba(238, 39, 97, .3); }
.product__items--action__btn.add__to--cart:focus-visible { outline: 2px solid var(--ep-ink); outline-offset: 3px; }
.product__items--action__btn.add__to--cart svg {
  flex: none;
  width: 18px;
  height: 17px;
  margin: 0;
  color: #fff;
  transition: transform .2s ease;
}
.product__items--action__btn.add__to--cart:hover svg { transform: translateX(-2px) rotate(-8deg); }
.product__items--action__btn.add__to--cart .add__to--cart__text {
  display: inline !important;
  height: auto;
  line-height: 1;
  margin: 0;
}

/* ---------- Header & search ---------- */
.header__sticky.sticky {
  box-shadow: 0 4px 20px rgba(6, 23, 56, .08);
  backdrop-filter: saturate(180%) blur(8px);
}
.header__menu--link { position: relative; }
.header__menu--items > .header__menu--link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--ep-accent);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.header__menu--items:hover > .header__menu--link::after { transform: scaleX(1); }
.header__search--input { border-radius: 0; }

/* ---------- Sidebar categories ---------- */
.widget__categories--menu__label,
.widget__categories--sub__menu--link {
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.widget__categories--menu__label:hover,
.widget__categories--sub__menu--link:hover { background: #fdf0f4; color: var(--ep-accent); }

/* Listing-page sidebar (left-sidebar.php) */
.ep-cats .widget__categories--menu__list {
  margin-bottom: .8rem;
  border: 1px solid var(--ep-line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ep-cats .widget__categories--menu__list:last-child { margin-bottom: 0; }
.ep-cats__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1.1rem 1rem 1.1rem 1.4rem;
  color: var(--ep-ink);
  transition: background .2s ease, color .2s ease;
}
.ep-cats__link::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--ep-accent);
  transform: scaleY(0);
  transition: transform .2s ease;
}
.ep-cats__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ep-cats__name { font-size: 1.45rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-cats__desc { font-size: 1.2rem; color: var(--ep-muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-cats__chev { flex: none; color: #b3b9c6; transition: transform .2s ease, color .2s ease; }

.ep-cats .widget__categories--menu__list:hover { border-color: #f2c2d1; box-shadow: var(--ep-shadow); }
.ep-cats__link:hover { background: #fdf6f8; color: var(--ep-accent); }
.ep-cats__link:hover::before,
.ep-cats .is-current .ep-cats__link::before { transform: scaleY(1); }
.ep-cats__link:hover .ep-cats__chev { color: var(--ep-accent); transform: translateX(3px); }

.ep-cats .is-current { border-color: var(--ep-accent); }
.ep-cats .is-current .ep-cats__link { background: #fdf0f4; color: var(--ep-accent); }
.ep-cats .is-current .ep-cats__chev { color: var(--ep-accent); }

/* ---------- Buttons & forms ---------- */
.primary__btn { border-radius: 8px; transition: background .2s ease, box-shadow .2s ease; }
.primary__btn:hover { box-shadow: 0 6px 16px rgba(238, 39, 97, .30); }
.account__login--input,
.newsletter__subscribe--input,
.coupon__code--field__input {
  border-radius: 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.account__login--input:focus,
.coupon__code--field__input:focus {
  border-color: var(--ep-accent);
  box-shadow: 0 0 0 3px rgba(238, 39, 97, .15);
}
.account__login { border-radius: var(--ep-radius); box-shadow: var(--ep-shadow); }

/* ---------- Cart / checkout ---------- */
.cart__summary { box-shadow: var(--ep-shadow); }
.cart__summary--total__list:last-child .cart__summary--amount { font-weight: 700; color: var(--ep-ink); }
.cart__thumbnail img { border-radius: 8px; box-shadow: var(--ep-shadow); }

/* ---------- Pagination ---------- */
.pagination__item {
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.pagination__item:hover { background: var(--ep-accent); color: #fff; }
.pagination__item--current { background: var(--ep-accent) !important; color: #fff !important; }

/* ---------- Footer ---------- */
.footer__widget--menu__text,
.footer__widget--menu__list a { transition: color .2s ease, padding-left .2s ease; }
.footer__widget--menu__list a:hover { color: var(--ep-accent); padding-left: 4px; }

/* ---------- Back-to-top ---------- */
#scroll__top { box-shadow: 0 6px 16px rgba(238, 39, 97, .35); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .product__items:hover { transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 575px) {
  .product__items--content { padding: 10px 10px 12px; }
  .product__items--content__title { font-size: 1.4rem; }
  .product__items--action__btn.add__to--cart { min-height: 40px; padding: 0 10px; font-size: 1.3rem; }
}

/* Category-page markup nests the whole card body inside the subtitle <span>;
   keep the small-caps styling on the date only. */
.product__items--content__subtitle > h3,
.product__items--content__subtitle > h5,
.product__items--content__subtitle > ul {
  text-transform: none;
  letter-spacing: normal;
}
.product__items--content__subtitle > h3 { color: var(--ep-ink); font-size: 1.6rem; }

/* Theme hides the button label on small screens — keep it, it's the main CTA */
@media (max-width: 767px) {
  .product__items--action__btn.add__to--cart .add__to--cart__text { display: inline !important; }
}

/* ---------- Category filter / sort toolbar ---------- */
.ep-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  flex: 1;
  justify-content: flex-end;
}
.ep-filter__field { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.ep-filter__field span {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ep-muted);
}
.ep-filter__field select {
  min-width: 150px;
  height: 40px;
  padding: 0 34px 0 12px;
  font-size: 1.4rem;
  color: var(--ep-ink);
  border: 1px solid var(--ep-line);
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6475' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
}
.ep-filter__count { margin: 0 0 10px auto; font-size: 1.4rem; }
.ep-filter__clear {
  margin-left: 10px;
  color: var(--ep-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 767px) {
  .ep-filter { justify-content: flex-start; }
  .ep-filter__field { flex: 1 1 140px; }
  .ep-filter__field select { width: 100%; min-width: 0; }
  .ep-filter__count { margin: 4px 0 0; flex-basis: 100%; }
}

/* ---------- Live search suggestions ---------- */
.ep-suggest-host label, .ep-suggest-host { position: relative; }
.ep-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 320px;
  max-height: 440px;
  overflow-y: auto;
  z-index: 999;
  background: #fff;
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
  box-shadow: var(--ep-shadow-hover);
  padding: 6px;
  text-align: left;
}
.ep-suggest.is-loading { opacity: .7; }
.ep-suggest__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  color: var(--ep-ink);
}
.ep-suggest__item:hover, .ep-suggest__item[aria-selected="true"] { background: #fdf0f4; color: var(--ep-ink); }
.ep-suggest__item img {
  width: 42px;
  height: 56px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f4f5f8;
}
.ep-suggest__text { display: flex; flex-direction: column; min-width: 0; }
.ep-suggest__title {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-suggest__title mark { background: none; color: var(--ep-accent); padding: 0; }
.ep-suggest__meta { font-size: 1.25rem; color: var(--ep-muted); margin-top: 2px; }
.ep-suggest__all, .ep-suggest__empty {
  display: block;
  padding: 10px 8px 6px;
  margin-top: 4px;
  border-top: 1px solid var(--ep-line);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ep-accent);
}
.ep-suggest__empty { color: var(--ep-muted); font-weight: 500; border-top: 0; }

/* ---------- Wishlist heart ---------- */
.product__items--thumbnail { position: relative; }
.ep-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(6, 23, 56, .18);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.ep-heart svg { width: 18px; height: 18px; fill: none; stroke: var(--ep-ink); stroke-width: 36; transition: fill .2s ease, stroke .2s ease; }
.ep-heart:hover { transform: scale(1.08); background: #fff; }
.ep-heart.is-saved svg { fill: var(--ep-accent); stroke: var(--ep-accent); }
.ep-heart.is-saved { animation: ep-pop .3s ease; }
.ep-heart:disabled { opacity: .6; cursor: progress; }
@keyframes ep-pop { 50% { transform: scale(1.25); } }
[data-wishlist-card] { transition: opacity .25s ease; }
.ep-empty { text-align: center; padding: 60px 16px; color: var(--ep-muted); }
.ep-empty svg { color: var(--ep-accent); margin-bottom: 16px; }
.ep-empty h2 { color: var(--ep-ink); margin-bottom: 8px; }
.ep-empty .primary__btn { margin-top: 16px; display: inline-block; }

/* ---------- Renewal notice on checkout ---------- */
.ep-renew-note { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: #eef6ff; border: 1px solid #bcd8f7; color: #173d69; font-size: 1.5rem; }
.ep-renew-note a { color: var(--ep-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Suggestion groups ---------- */
.ep-suggest__group { padding: 8px 8px 4px; font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ep-muted); }
.ep-suggest__caticon {
  flex: 0 0 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #f8456f, #c2185b); color: #fff; font-weight: 700; font-size: 1.6rem;
}

/* ---------- Search results page ---------- */
.ep-search .ep-search__bar {
  position: relative; display: flex; align-items: center; gap: 10px;
  max-width: 860px; margin: 0 auto 2.4rem; padding: 6px 6px 6px 18px;
  background: #fff; border: 1px solid var(--ep-line); border-radius: 999px; box-shadow: var(--ep-shadow);
}
.ep-search .ep-search__bar:focus-within { border-color: var(--ep-accent); box-shadow: 0 0 0 4px rgba(238,39,97,.12), var(--ep-shadow); }
.ep-search__icon { flex: 0 0 22px; width: 22px; height: 22px; color: var(--ep-muted); }
.ep-search__input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; font-size: 1.6rem; color: var(--ep-ink); }
.ep-search__input:focus-visible { outline: 0; }
.ep-search__submit {
  flex: none; height: 46px; padding: 0 26px; border: 0; border-radius: 999px; color: #fff; font-weight: 600; font-size: 1.5rem;
  background: linear-gradient(110deg, #f8456f 0%, #ee2761 40%, #c2185b 100%);
}
.ep-search .ep-search__bar .ep-suggest { left: 0; right: 0; top: calc(100% + 8px); }

.ep-search__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 2.4rem; }
.ep-search__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--ep-line); background: #fff; color: var(--ep-ink); font-size: 1.35rem; font-weight: 500; line-height: 1.2;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.ep-chip span { font-size: 1.15rem; font-weight: 600; color: var(--ep-muted); background: #f3f4f7; border-radius: 999px; padding: 1px 7px; }
.ep-chip:hover { border-color: var(--ep-accent); color: var(--ep-accent); }
.ep-chip.is-active { background: var(--ep-ink); border-color: var(--ep-ink); color: #fff; }
.ep-chip.is-active span { background: rgba(255,255,255,.18); color: #fff; }
.ep-search__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ep-search__count { margin: 0; font-size: 1.4rem; color: var(--ep-muted); }
.ep-search__count strong { color: var(--ep-ink); }
.ep-search__sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.ep-search__sort label { font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ep-muted); }
.ep-search__sort select { height: 38px; padding: 0 12px; border: 1px solid var(--ep-line); border-radius: 8px; background: #fff; font-size: 1.4rem; cursor: pointer; }
.ep-search__notice { margin: -1rem 0 2rem; padding: 10px 14px; border-radius: 10px; background: #fff7e6; color: #7a4b00; font-size: 1.4rem; }
.ep-search .product__items--content__title mark { background: #ffe1ea; color: inherit; padding: 0; border-radius: 2px; }
.ep-search .pagination__area { margin-top: 3rem; background: none; }

.ep-search__empty { max-width: 640px; margin: 2rem auto; padding: 4rem 2.4rem; text-align: center; background: #fff; border: 1px solid var(--ep-line); border-radius: 18px; box-shadow: var(--ep-shadow); }
.ep-search__empty > svg { width: 56px; height: 56px; color: var(--ep-accent); margin-bottom: 1.2rem; }
.ep-search__empty h2 { font-size: 2.2rem; color: var(--ep-ink); margin-bottom: .8rem; }
.ep-search__empty p { color: var(--ep-muted); font-size: 1.5rem; margin-bottom: 1.6rem; }
.ep-search__ideas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 1rem; }
.ep-search__ideas > span { font-size: 1.3rem; font-weight: 600; color: var(--ep-muted); margin-right: 4px; }

@media (max-width: 767px) {
  .ep-search .ep-search__bar { padding-left: 14px; }
  .ep-search__submit { padding: 0 18px; }
  .ep-search__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -15px; padding: 0 15px 4px; scrollbar-width: none; }
  .ep-search__chips::-webkit-scrollbar { display: none; }
  .ep-chip { flex: none; }
  .ep-search__meta { width: 100%; justify-content: space-between; }
}

/* ---------- Home banners: live magazine covers over clean plates ---------- */
/* The stage is sized exactly like `background-size: cover` on a 1920x770 image, so the covers
   land where the original artwork had them at every screen size. */
.hero-covers { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; container-type: size; --hx: .5; --ar: calc(1920 / 770); }
.hero-covers__stage {
  position: absolute;
  width: max(100cqw, calc(100cqh * var(--ar)));
  height: max(100cqh, calc(100cqw / var(--ar)));
  left: calc((100cqw - max(100cqw, calc(100cqh * var(--ar)))) * var(--hx));
  top: calc((100cqh - max(100cqh, calc(100cqw / var(--ar)))) * .5);
}
.hero-covers__img { position: absolute; display: block; object-fit: cover; object-position: top center; background: #fff; }
.hero-covers--light .hero-covers__img { border-radius: 2px; box-shadow: 0 24px 34px -14px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .18); }
.hero-covers--globe .hero-covers__img { box-shadow: -10px 0 22px rgba(0, 0, 0, .35); }
.hero-covers ~ * { position: relative; z-index: 1; }

/* Clean plates (no baked-in covers) wherever the live covers are drawn */
.home1__slider--bg:has(> .hero-covers--light) { background-image: url(../img/hero/hero-plate-light.jpg); }
.home1__slider--bg.two:has(> .hero-covers--globe) { background-image: url(../img/hero/hero-plate-globe.jpg); }
.deals__banner--inner.banner__bg:has(> .hero-covers--globe) { background-image: url(../img/hero/hero-plate-globe.jpg); }

/* Match the theme's mobile background anchors (0% for the hero, 10% for the deal banner) */
@media (max-width: 767px) {
  .hero__slider--items > .hero-covers { --hx: 0; }
  .hero__slider--items::before { z-index: 1 !important; }
  .hero__slider--items > .hero-covers ~ * { z-index: 2; }
}
@media (max-width: 575px) {
  .deals__banner--inner > .hero-covers { --hx: .1; }
}
@media (max-width: 767px) {
  .deals__banner--inner::before { z-index: 1 !important; }
  .deals__banner--inner > .hero-covers ~ * { z-index: 2; }
}
.deals__banner--inner:has(> .hero-covers), .hero__slider--items:has(> .hero-covers) { position: relative; overflow: hidden; }
/* theme-rich (mobile) makes every banner child position:relative — keep the cover layer absolute and under the shade */
.hero__slider--items > .hero-covers, .deals__banner--inner > .hero-covers { position: absolute !important; inset: 0; z-index: 0 !important; }
@media (max-width: 767px) {
  /* light studio slide keeps its dark headline: shade it light, not navy */
  .hero__slider--items:has(> .hero-covers--light)::before { background: linear-gradient(90deg, rgba(246, 246, 244, .96) 0%, rgba(246, 246, 244, .86) 55%, rgba(246, 246, 244, .35) 100%) !important; }
}

/* ---------- Subscription plans page (magazine-details) ---------- */
.ep-plans__head { margin-bottom: 2.6rem; }
.ep-plans__head .cart__title { margin: 0 0 .6rem; font-size: clamp(2.4rem, 1.6vw + 1.4rem, 3.2rem); font-weight: 700; color: var(--ep-ink); }
.ep-plans__head p { margin: 0 0 1.6rem; color: var(--ep-muted); font-size: 1.55rem; max-width: 680px; }
.ep-plans__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ep-plans__steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 600; color: var(--ep-ink); }
.ep-plans__steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, #f8456f, #c2185b); }

/* Magazine accordion */
.ep-plans .single__widget.widget__bg { background: transparent; padding: 0; box-shadow: none; }
.ep-plans .widget__title { font-size: 1.3rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-muted); margin-bottom: 1.2rem; padding: 0; border: 0; }
.ep-plans .widget__title::before, .ep-plans .widget__title::after { display: none; }
.ep-plans .widget__categories--menu__list { border: 1px solid var(--ep-line); border-radius: 14px; background: #fff; margin-bottom: 1.2rem; overflow: hidden; box-shadow: var(--ep-shadow); transition: border-color .2s ease, box-shadow .2s ease; }
.ep-plans .widget__categories--menu__list:hover { border-color: #f2c2d1; }
.ep-plans .widget__categories--menu__list.active { border-color: var(--ep-accent); box-shadow: 0 10px 28px rgba(238, 39, 97, .12); }
.ep-plans .widget__categories--menu__label { padding: 1.2rem 1.6rem; border-radius: 0; gap: 1.2rem; font-size: 1.65rem; font-weight: 700; color: var(--ep-ink); }
.ep-plans .widget__categories--menu__img { width: 46px; height: 60px; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 4px 10px rgba(6, 23, 56, .15); }
.ep-plans .widget__categories--menu__arrowdown--icon { color: var(--ep-muted); }

/* Plan + format options become cards in a grid */
.ep-plans .widget__categories--sub__menu { padding: .4rem 1.6rem 1.8rem; border-top: 1px solid var(--ep-line); }
.ep-plans .widget__categories--sub__menu[style*="display: block"] { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ep-plans .widget__categories--sub__menu > h4 { grid-column: 1 / -1; margin: 1.2rem 0 0; padding: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ep-muted); }
.ep-plans .widget__form--check__list { margin: 0; }
.ep-plans .widget__form--check__label { min-height: 56px; display: flex; align-items: center; padding: .8rem 3.6rem .8rem 1.4rem; border: 1.5px solid var(--ep-line); border-radius: 12px; font-size: 1.45rem; font-weight: 600; line-height: 1.3; color: var(--ep-ink); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.ep-plans .widget__form--check__label:hover { border-color: #f2a3ba; color: var(--ep-ink); }
.ep-plans .widget__form--check__list:has(input:checked) .widget__form--check__label { border-color: var(--ep-accent); background: #fff5f8; box-shadow: 0 0 0 3px rgba(238, 39, 97, .12); }
.ep-plans .widget__form--checkmark { right: 1.2rem; border-color: #d4d8e0; }
.ep-plans .widget__form--check__input:checked ~ .widget__form--checkmark { background: var(--ep-accent); border-color: var(--ep-accent); }
.ep-plans .widget__form--check__input:focus-visible ~ .widget__form--checkmark { outline: 2px solid var(--ep-accent); outline-offset: 2px; }
@media (max-width: 991px) { .ep-plans .widget__categories--sub__menu[style*="display: block"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .ep-plans .widget__form--check__label { font-size: 1.35rem; padding-left: 1rem; } }

/* Order summary: stays in view while choosing */
.ep-plans .cart__summary { position: sticky; top: 110px; border: 1px solid var(--ep-line); border-radius: 16px !important; box-shadow: 0 18px 40px rgba(6, 23, 56, .08); padding: 2.2rem; background: #fff; }
.ep-plans .coupon__code--title { font-size: 1.7rem; font-weight: 700; color: var(--ep-ink); }
.ep-plans .cart__summary--total__list td { padding: .9rem 0; border-bottom: 1px dashed var(--ep-line); font-size: 1.4rem; }
.ep-plans .cart__summary--total__title { color: var(--ep-muted); }
.ep-plans .cart__summary--amount { font-weight: 700; color: var(--ep-ink); }
.ep-plans [id^="selectedmagPrice"] { font-size: 1.8rem; color: var(--ep-accent); }
.ep-plans__perks { list-style: none; margin: 1.6rem 0 1rem; padding: 1.2rem 1.4rem; border-radius: 12px; background: #f7f8fb; }
.ep-plans__perks li { position: relative; padding: .35rem 0 .35rem 2.2rem; font-size: 1.3rem; color: var(--ep-ink); }
.ep-plans__perks li::before { content: "\2713"; position: absolute; left: 0; top: .35rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; font-weight: 800; color: #fff; background: #128a63; }
.ep-plans .cart__summary--footer ul { display: block !important; }
.ep-plans .cart__summary--footer__btn { width: 100%; min-height: 50px; border-radius: 999px !important; font-size: 1.6rem; font-weight: 700; }
@media (max-width: 991px) { .ep-plans .cart__summary { position: static; margin-top: 1.6rem; } }
.ep-plans__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--ep-ink); font-size: 1.5rem; font-weight: 700; color: var(--ep-ink); }
.ep-plans__total[hidden], .ep-plans .cart__summary--total__table[hidden], .ep-plans .cart__summary--total > div[hidden] { display: none !important; }
.ep-plans__total strong { font-size: 2rem; color: var(--ep-accent); }

/* ---------- Cart ---------- */
.ep-cart-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 3.6rem 1.6rem; text-align: center; }
.ep-cart-empty svg { width: 54px; height: 54px; color: var(--ep-accent); margin-bottom: .6rem; }
.ep-cart-empty strong { font-size: 2rem; color: var(--ep-ink); }
.ep-cart-empty > span { max-width: 420px; color: var(--ep-muted); font-size: 1.45rem; }
.ep-cart-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 1.2rem; }
.ep-cart-empty__actions .primary__btn { border-radius: 999px !important; padding: 0 2.2rem; }
.ep-cart-empty__link { font-weight: 600; color: var(--ep-accent); }
.cart__table { background: #fff; border: 1px solid var(--ep-line); border-radius: 16px; padding: 1.2rem 1.6rem; box-shadow: var(--ep-shadow); }
.cart__summary { border: 1px solid var(--ep-line); border-radius: 16px !important; box-shadow: 0 18px 40px rgba(6, 23, 56, .08); }
.cart__summary--footer__btn { border-radius: 999px !important; min-height: 48px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; width: 100%; }
.add__to--cart__text { white-space: nowrap; }

/* ---------- Website chat assistant (assetsnew/js/chatbot.js) ---------- */
.ep-chat { position: fixed; right: 22px; bottom: 22px; z-index: 1000; font-size: 1.45rem; }
#scroll__top { bottom: 96px; }
.ep-chat__fab { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; color: #fff; cursor: pointer;
  background: linear-gradient(110deg, #f8456f 0%, #ee2761 40%, #c2185b 100%); box-shadow: 0 12px 28px rgba(238, 39, 97, .4); transition: transform .15s ease, box-shadow .2s ease; }
.ep-chat__fab:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(238, 39, 97, .5); }
.ep-chat__fab svg { width: 26px; height: 26px; }
.ep-chat__fab-label { font-weight: 700; font-size: 1.5rem; }
.ep-chat__ic-close, .ep-chat.is-open .ep-chat__ic-open, .ep-chat.is-open .ep-chat__fab-label { display: none; }
.ep-chat.is-open .ep-chat__ic-close { display: block; }
.ep-chat.is-open .ep-chat__fab { width: 56px; padding: 0; justify-content: center; }
.ep-chat__panel { position: absolute; right: 0; bottom: 70px; width: 370px; max-width: calc(100vw - 32px); height: min(580px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(6, 23, 56, .28); border: 1px solid #e7e9ef;
  transform-origin: bottom right; animation: ep-chat-in .18s ease-out; }
.ep-chat__panel[hidden] { display: none; }
@keyframes ep-chat-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.ep-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: linear-gradient(120deg, #0b1d3f 0%, #2a1b4f 100%); }
.ep-chat__head strong { display: block; font-size: 1.55rem; }
.ep-chat__head small { display: block; font-size: 1.2rem; color: #c9d3e6; }
.ep-chat__avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.8rem; background: linear-gradient(135deg, #f8456f, #c2185b); }
.ep-chat__min { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.ep-chat__min:hover { background: rgba(255, 255, 255, .2); }
.ep-chat__log { flex: 1; overflow-y: auto; padding: 14px 14px 6px; background: #f6f7fa; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.ep-chat__msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; line-height: 1.45; word-wrap: break-word; }
.ep-chat__msg p { margin: 0; }
.ep-chat__msg--bot { align-self: flex-start; background: #fff; color: #0b1734; border: 1px solid #e7e9ef; border-bottom-left-radius: 4px; }
.ep-chat__msg--user { align-self: flex-end; color: #fff; background: #0b1734; border-bottom-right-radius: 4px; }
.ep-chat__link { display: inline-block; margin-top: 6px; font-weight: 700; color: #ee2761; }
.ep-chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 4px; background: #f6f7fa; }
.ep-chat__chips:empty { display: none; }
.ep-chat__chip { padding: 6px 12px; border: 1px solid #f2b8c9; border-radius: 999px; background: #fff; color: #c2185b; font-size: 1.25rem; font-weight: 600; cursor: pointer; text-align: left; }
.ep-chat__chip:hover { background: #fff0f5; }
.ep-chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e7e9ef; background: #fff; }
.ep-chat__form input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid #e0e3ea; border-radius: 999px; background: #f6f7fa; font-size: 1.4rem; outline: 0; }
.ep-chat__form input:focus { background: #fff; border-color: #ee2761; box-shadow: 0 0 0 3px rgba(238, 39, 97, .12); }
.ep-chat__form button { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #ee2761; cursor: pointer; }
.ep-chat__form button svg { width: 18px; height: 18px; }
.ep-chat__talk { border: 0; border-top: 1px solid #e7e9ef; padding: 9px; background: #fff; color: #5b6475; font-size: 1.25rem; font-weight: 600; cursor: pointer; }
.ep-chat__talk:hover { color: #ee2761; }
.ep-chat__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ep-chat__dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.ep-chat__dots i { width: 7px; height: 7px; border-radius: 50%; background: #b9bfcc; animation: ep-chat-dot 1s infinite ease-in-out; }
.ep-chat__dots i:nth-child(2) { animation-delay: .15s; } .ep-chat__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ep-chat-dot { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
.ep-chat__enq { display: grid; gap: 8px; min-width: 240px; }
.ep-chat__enq label { display: grid; gap: 3px; margin: 0; font-size: 1.2rem; font-weight: 600; color: #5b6475; }
.ep-chat__enq input, .ep-chat__enq select, .ep-chat__enq textarea { width: 100%; padding: 7px 10px; border: 1px solid #e0e3ea; border-radius: 8px; font-size: 1.35rem; font-weight: 400; color: #0b1734; background: #fff; }
.ep-chat__enq textarea { resize: vertical; }
.ep-chat__enq button { height: 40px; border: 0; border-radius: 999px; color: #fff; font-weight: 700; background: #ee2761; cursor: pointer; }
.ep-chat__enq button[disabled] { opacity: .6; }
.ep-chat__err { color: #d63b3b; font-size: 1.2rem; }
.ep-chat__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 767px) {
  .ep-chat { right: 14px; bottom: 82px; }          /* above the theme's bottom toolbar */
  .ep-chat__fab { height: 52px; padding: 0 14px; }
  .ep-chat__fab-label { display: none; }
  .ep-chat__panel { position: fixed; left: 8px; right: 8px; bottom: 146px; width: auto; max-width: none; height: calc(100vh - 170px); }
  #scroll__top { bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) { .ep-chat__panel, .ep-chat__dots i { animation: none; } }
/* chips: one scrollable row so the conversation keeps its space */
.ep-chat__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 8px; }
.ep-chat__chip { flex: none; white-space: nowrap; }
.ep-chat:has(.ep-chat__enq) .ep-chat__chips { display: none; }

/* ---------- Checkout review (pre-checkout) ---------- */
.ep-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2.4rem; padding: 0; }
.ep-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--ep-line); font-size: 1.35rem; font-weight: 600; color: var(--ep-muted); }
.ep-steps li a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.ep-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; background: #eef0f4; color: var(--ep-muted); }
.ep-steps li.is-done { color: #128a63; border-color: #b7ead4; background: #f3fcf8; }
.ep-steps li.is-done b { background: #128a63; color: #fff; }
.ep-steps li.is-current { color: var(--ep-ink); border-color: var(--ep-accent); box-shadow: 0 0 0 3px rgba(238, 39, 97, .1); }
.ep-steps li.is-current b { background: var(--ep-accent); color: #fff; }
.ep-checkout .cart__table { padding: 1.4rem 1.8rem; }
.ep-checkout .cart__table--header__list { font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ep-muted); }
.ep-checkout .cart__thumbnail img { width: 70px; height: 92px; object-fit: cover; object-position: top; border-radius: 6px; box-shadow: 0 6px 14px rgba(6, 23, 56, .15); }
.ep-checkout .cart__summary { position: sticky; top: 110px; padding: 2.2rem; }
.ep-checkout .coupon__code--title { font-size: 1.7rem; font-weight: 700; color: var(--ep-ink); }
.ep-checkout .coupon__code--field { gap: 8px; }
.ep-checkout .coupon__code--field__input { height: 44px; border: 1px solid #dfe2e8; border-radius: 10px !important; padding: 0 12px; }
.ep-checkout .coupon__code--field__btn { height: 44px; border-radius: 10px !important; white-space: nowrap; }
.ep-checkout .cart__summary--total__list td { padding: .8rem 0; border-bottom: 1px dashed var(--ep-line); font-size: 1.4rem; }
.ep-checkout .cart__summary--total__title { color: var(--ep-muted); }
.ep-checkout .cart__summary--amount { font-weight: 700; color: var(--ep-ink); }
.ep-checkout .ep-total-label { color: var(--ep-ink) !important; font-weight: 700; }
.ep-checkout .ep-total-label + td { font-size: 2rem; color: var(--ep-accent); border-bottom: 0; }
.ep-checkout .cart__summary--footer ul { display: block !important; padding: 0; }
.ep-paybtn { width: 100%; min-height: 52px; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; border-radius: 999px !important; font-size: 1.6rem; font-weight: 700; }
.ep-paynote { margin: 1rem 0 0; font-size: 1.25rem; line-height: 1.5; color: var(--ep-muted); text-align: center; }
@media (max-width: 991px) { .ep-checkout .cart__summary { position: static; margin-top: 1.6rem; } }
@media (max-width: 767px) {
  .ep-checkout .cart__table--body__list { display: flex; justify-content: space-between; align-items: center; text-align: left !important; padding: .9rem 0 !important; }
  .ep-checkout .cart__table--body__list:first-child { justify-content: flex-start; }
  .ep-checkout .cart__table--body__list:nth-child(2)::before { content: "Plan"; }
  .ep-checkout .cart__table--body__list:nth-child(3)::before { content: "Format"; }
  .ep-checkout .cart__table--body__list:nth-child(4)::before { content: "Price"; }
  .ep-checkout .cart__table--body__list:nth-child(5)::before { content: "Your price"; }
  .ep-checkout .cart__table--body__list:not(:first-child)::before { font-size: 1.2rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ep-muted); }
  .ep-checkout .coupon__code--field { flex-wrap: wrap; }
  .ep-checkout .coupon__code--field > :first-child { flex: 1 1 100%; }
  .ep-checkout .coupon__code--field__input { width: 100%; }
  .ep-checkout .coupon__code--field__btn { width: 100%; }
  .ep-steps li { padding: 6px 12px 6px 6px; font-size: 1.25rem; }
}

/* ---------- Registration ---------- */
.ep-reg .account__login.register { padding: 2.8rem 2.6rem !important; }
.ep-reg .account__login--header__title { font-size: 2.4rem; }
.ep-reg .account__login--header__desc { color: var(--ep-muted); font-size: 1.45rem; }
.ep-field { margin-bottom: 1.4rem; }
.ep-field label { display: block; margin-bottom: .5rem; font-size: 1.35rem; font-weight: 600; color: var(--ep-ink); }
.ep-req { color: var(--ep-accent); }
.ep-field .account__login--input { margin-bottom: 0; }
.ep-field .account__login--input.is-invalid { border-color: #d63b3b !important; background: #fff6f6 !important; }
.ep-field-err { display: block; margin-top: .5rem; font-size: 1.25rem; color: #d63b3b; }
.ep-field-hint { display: block; margin-top: .5rem; font-size: 1.2rem; color: var(--ep-muted); }
.ep-pass { position: relative; }
.ep-pass .account__login--input { padding-right: 64px !important; }
.ep-pass__toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 1.25rem; font-weight: 700; color: var(--ep-accent); cursor: pointer; padding: 6px; }
.ep-reg .account__login--btn { width: 100%; min-height: 50px; border-radius: 999px !important; font-size: 1.6rem; font-weight: 700; }
.ep-reg .account__login--signup__text a { color: var(--ep-accent); font-weight: 700; }
.ep-reg-aside { position: sticky; top: 110px; padding: 2.8rem 2.6rem; border-radius: 16px; color: #dfe6f3; background: radial-gradient(120% 120% at 100% 0%, rgba(238, 39, 97, .45) 0%, rgba(238, 39, 97, 0) 55%), linear-gradient(140deg, #0b1d3f 0%, #2a1b4f 100%); box-shadow: 0 20px 40px rgba(6, 23, 56, .2); }
.ep-reg-aside h3 { margin: 0 0 1.8rem; font-size: 2.1rem; color: #fff; }
.ep-reg-aside ul { list-style: none; margin: 0; padding: 0; }
.ep-reg-aside li { position: relative; padding: 0 0 1.6rem 3.4rem; }
.ep-reg-aside li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f8456f, #c2185b); }
.ep-reg-aside li b { display: block; color: #fff; font-size: 1.5rem; }
.ep-reg-aside li span { font-size: 1.35rem; color: #c9d3e6; }
.ep-reg-aside__help { margin: .6rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 1.3rem; }
.ep-reg-aside__help a { color: #ff7aa2; font-weight: 600; }
@media (max-width: 991px) { .ep-reg-aside { position: static; } }

/* ---------- Contact page ---------- */
.ep-contact { grid-template-columns: minmax(300px, 400px) 1fr; }
.ep-contact__hours, .ep-contact__quick { margin-top: 14px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.ep-contact__hours small, .ep-contact__quick small { display: block; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; color: #9fb0cf; margin-bottom: 4px; }
.ep-contact__hours strong { display: block; color: #fff; font-size: 1.5rem; }
.ep-contact__hours span { display: block; margin-top: 4px; font-size: 1.3rem; color: #c7d1e4; }
.ep-contact__quick a { display: block; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; font-size: 1.4rem; font-weight: 500; }
.ep-contact__quick a:last-child { border-bottom: 0; }
.ep-contact__quick a::after { content: " \2192"; color: #ff7aa2; }
.ep-contact__quick a:hover { color: #ff7aa2; }
.ep-contact__form { padding: 0 !important; background: #fff; }
.ep-contact__form iframe { border-radius: 16px; }

/* ---------- Payment result ---------- */
.ep-result { background: radial-gradient(80% 60% at 50% 0%, #fdeef3 0%, rgba(253, 238, 243, 0) 70%); }
.ep-result__card { max-width: 640px; margin: 0 auto; padding: 4rem 3.2rem 3rem; text-align: center; background: #fff; border: 1px solid var(--ep-line); border-radius: 22px; box-shadow: 0 24px 60px rgba(6, 23, 56, .10); }
.ep-result__icon { width: 84px; height: 84px; margin: 0 auto 1.8rem; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.ep-result__icon svg { width: 44px; height: 44px; }
.ep-result__card--ok .ep-result__icon { background: linear-gradient(135deg, #2fbf8f, #128a63); box-shadow: 0 0 0 10px #e7f8f1; }
.ep-result__card--bad .ep-result__icon { background: linear-gradient(135deg, #f07171, #d63b3b); box-shadow: 0 0 0 10px #fdeaea; }
.ep-result__card--warn .ep-result__icon { background: linear-gradient(135deg, #f6b73c, #e08a00); box-shadow: 0 0 0 10px #fdf3e1; }
.ep-result__title { margin: 0 0 1rem; font-size: clamp(2.4rem, 2vw + 1.4rem, 3.2rem); font-weight: 700; color: var(--ep-ink); }
.ep-result__text { max-width: 480px; margin: 0 auto 2.4rem; font-size: 1.55rem; line-height: 1.6; color: var(--ep-muted); }
.ep-result__facts { margin: 0 0 2.4rem; padding: 1.4rem 1.8rem; text-align: left; background: #f7f8fb; border-radius: 14px; }
.ep-result__facts div { display: flex; justify-content: space-between; gap: 16px; padding: .8rem 0; border-bottom: 1px dashed #e1e4ea; }
.ep-result__facts div:last-child { border-bottom: 0; }
.ep-result__facts dt { font-size: 1.35rem; font-weight: 500; color: var(--ep-muted); }
.ep-result__facts dd { margin: 0; font-size: 1.4rem; font-weight: 700; color: var(--ep-ink); text-align: right; word-break: break-all; }
.ep-result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ep-result__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 2.2rem; border-radius: 999px; font-size: 1.5rem; font-weight: 700; color: #fff; background: linear-gradient(110deg, #f8456f 0%, #ee2761 40%, #c2185b 100%); box-shadow: 0 8px 20px rgba(238, 39, 97, .28); }
.ep-result__btn:hover { color: #fff; transform: translateY(-1px); }
.ep-result__btn--ghost { color: var(--ep-ink); background: #fff; border: 1px solid var(--ep-line); box-shadow: none; }
.ep-result__btn--ghost:hover { color: var(--ep-accent); border-color: var(--ep-accent); }
.ep-result__foot { margin: 2.4rem 0 0; font-size: 1.3rem; color: var(--ep-muted); }
.ep-result__foot a { color: var(--ep-accent); font-weight: 600; }
@media (max-width: 575px) { .ep-result__card { padding: 3rem 1.8rem 2.4rem; } .ep-result__btn { flex: 1 1 100%; } }

/* ---------- Deal of the Day ---------- */
.deals__banner--inner.ep-deal { position: relative; overflow: hidden; border-radius: 22px;
  background: radial-gradient(70% 120% at 85% 50%, rgba(238, 39, 97, .35) 0%, rgba(238, 39, 97, 0) 60%), url(../img/hero/hero-plate-globe.jpg) center / cover no-repeat, #0b1d3f !important; }
.deals__banner--inner.ep-deal::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 18, 48, .92) 0%, rgba(6, 18, 48, .7) 45%, rgba(6, 18, 48, .15) 100%); pointer-events: none; z-index: 0 !important; }
.ep-deal__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 2rem; padding: 4.4rem 5rem; }
.ep-deal__badge { display: inline-block; margin-bottom: 1.4rem; padding: .6rem 1.4rem; border-radius: 999px; font-size: 1.3rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(110deg, #f8456f, #c2185b); box-shadow: 0 8px 20px rgba(238, 39, 97, .4); }
.ep-deal__title { margin: 0 0 1.2rem; font-size: clamp(2.8rem, 2.4vw + 1.4rem, 4.4rem); font-weight: 800; line-height: 1.1; color: #fff; }
.ep-deal__text { max-width: 460px; margin: 0 0 1.6rem; font-size: 1.65rem; line-height: 1.6; color: #d6def0; }
.ep-deal__text strong { color: #ff7aa2; }
.ep-deal__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 2.4rem; padding: 0; }
.ep-deal__points li { position: relative; padding-left: 2.2rem; font-size: 1.35rem; color: #fff; }
.ep-deal__points li::before { content: "\2713"; position: absolute; left: 0; top: .1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; font-weight: 800; background: #2fbf8f; }
.ep-deal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.ep-deal__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 2.6rem; border-radius: 999px; font-size: 1.6rem; font-weight: 700; color: #fff; background: linear-gradient(110deg, #f8456f 0%, #ee2761 40%, #c2185b 100%); box-shadow: 0 12px 28px rgba(238, 39, 97, .45); transition: transform .15s ease, box-shadow .2s ease; }
.ep-deal__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(238, 39, 97, .55); }
.ep-deal__link { font-size: 1.45rem; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.ep-deal__link:hover { color: #ff7aa2; border-color: #ff7aa2; }

/* Fanned covers: always fully visible, spread on hover */
.ep-deal__fan { position: relative; display: block; height: 320px; }
.ep-deal__cover { --mid: calc((var(--n) - 1) / 2); --d: calc(var(--i) - var(--mid));
  position: absolute; left: 50%; top: 50%; width: 180px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 6px; background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%) translateX(calc(var(--d) * 74px)) translateY(calc(var(--d) * var(--d) * 6px)) rotate(calc(var(--d) * 5deg));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.ep-deal__fan:hover .ep-deal__cover { transform: translate(-50%, -50%) translateX(calc(var(--d) * 96px)) translateY(calc(var(--d) * var(--d) * 4px)) rotate(calc(var(--d) * 7deg)); }
.ep-deal__fan:hover .ep-deal__cover:hover { z-index: 30 !important; }

@media (max-width: 991px) {
  .ep-deal__grid { grid-template-columns: 1fr; padding: 3.6rem 2.8rem 2rem; text-align: center; }
  .ep-deal__text { margin-left: auto; margin-right: auto; }
  .ep-deal__points, .ep-deal__actions { justify-content: center; }
  .ep-deal__fan { height: 250px; }
  .ep-deal__cover { width: 140px; transform: translate(-50%, -50%) translateX(calc(var(--d) * 54px)) translateY(calc(var(--d) * var(--d) * 5px)) rotate(calc(var(--d) * 5deg)); }
  .deals__banner--inner.ep-deal::before { background: linear-gradient(180deg, rgba(6, 18, 48, .9) 0%, rgba(6, 18, 48, .75) 60%, rgba(6, 18, 48, .4) 100%); }
}
@media (max-width: 480px) {
  .ep-deal__grid { padding: 3rem 1.6rem 1.4rem; }
  .ep-deal__fan { height: 200px; }
  .ep-deal__cover { width: 112px; transform: translate(-50%, -50%) translateX(calc(var(--d) * 40px)) translateY(calc(var(--d) * var(--d) * 4px)) rotate(calc(var(--d) * 5deg)); }
}
@media (prefers-reduced-motion: reduce) { .ep-deal__cover, .ep-deal__btn { transition: none; } }

/* ---------- Home hero slider ---------- */
.ep-hero { position: relative; }
.ep-hero .hero__slider--items { min-height: clamp(460px, 40vw, 620px); display: flex; align-items: center; }
.ep-hero .hero__slider--items > .container-fluid { width: 100%; }
.ep-hero__content { position: relative; max-width: 560px; padding: 5rem 0 7rem; }
.ep-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.6rem; padding: .6rem 1.4rem; border-radius: 999px; font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ep-hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ep-accent); box-shadow: 0 0 0 4px rgba(238, 39, 97, .2); }
.ep-hero__title { margin: 0 0 1.6rem; font-size: clamp(3rem, 2.6vw + 1.6rem, 5.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
.ep-hero__text { margin: 0 0 2.6rem; max-width: 500px; font-size: clamp(1.5rem, .4vw + 1.3rem, 1.75rem); line-height: 1.6; }
.ep-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ep-hero__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 2.6rem; border-radius: 999px; font-size: 1.6rem; font-weight: 700; color: #fff; background: linear-gradient(110deg, #f8456f 0%, #ee2761 40%, #c2185b 100%); box-shadow: 0 12px 28px rgba(238, 39, 97, .38); transition: transform .15s ease, box-shadow .2s ease; }
.ep-hero__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(238, 39, 97, .5); }
.ep-hero__btn--ghost { background: transparent; box-shadow: none; border: 1.5px solid currentColor; }
.ep-hero__btn--ghost:hover { box-shadow: none; }
.ep-hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 3.2rem 0 0; padding: 2rem 0 0; border-top: 1px solid rgba(6, 23, 56, .12); }
.ep-hero__stats b { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--ep-ink); }
.ep-hero__stats span { font-size: 1.3rem; color: var(--ep-muted); }
.ep-hero__note { margin: 2.2rem 0 0; font-size: 1.45rem; }

/* Light slide */
.ep-hero__slide--light .ep-hero__eyebrow { color: var(--ep-accent-dark); background: #fff; box-shadow: 0 4px 14px rgba(6, 23, 56, .08); }
.ep-hero__slide--light .ep-hero__title { color: var(--ep-ink); text-shadow: none !important; }
.ep-hero__slide--light .ep-hero__text { color: #3d4658; }
.ep-hero__slide--light .ep-hero__btn--ghost { color: var(--ep-ink); }
/* Dark slides */
.ep-hero__slide--dark .ep-hero__eyebrow, .ep-hero__slide--spot .ep-hero__eyebrow { color: #fff; background: rgba(255, 255, 255, .1); }
.ep-hero__slide--dark .ep-hero__title, .ep-hero__slide--spot .ep-hero__title { color: #fff; }
.ep-hero__slide--dark .ep-hero__text, .ep-hero__slide--spot .ep-hero__text { color: #d6def0; }
.ep-hero__slide--dark .ep-hero__btn--ghost, .ep-hero__slide--spot .ep-hero__btn--ghost { color: #fff; }
.ep-hero__slide--dark .ep-hero__note { color: #c9d3e6; } .ep-hero__slide--dark .ep-hero__note b { color: #fff; }
.ep-hero__slide--dark .ep-hero__content::before { content: ""; position: absolute; inset: -40px -80px -40px -200px; z-index: -1; background: radial-gradient(60% 60% at 30% 50%, rgba(6, 18, 48, .75) 0%, rgba(6, 18, 48, 0) 70%); }

/* Latest-issue spotlight */
.ep-hero__slide--spot { background: radial-gradient(60% 90% at 78% 50%, rgba(238, 39, 97, .45) 0%, rgba(238, 39, 97, 0) 60%), linear-gradient(120deg, #071531 0%, #13285a 55%, #3a1550 100%); }
.ep-hero__spot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
.ep-hero__cover { display: flex; justify-content: center; perspective: 1200px; padding: 4rem 0 6rem; }
.ep-hero__cover img { width: min(320px, 70%); aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 6px; background: #fff;
  box-shadow: 0 40px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotateY(-14deg) rotateX(4deg); transition: transform .5s ease; }
.ep-hero__slide--spot:hover .ep-hero__cover img { transform: rotateY(-4deg) rotateX(1deg); }

/* Text entrance */
.ep-hero .swiper-slide .ep-hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.ep-hero .swiper-slide.ep-in .ep-hero__content > * { opacity: 1; transform: none; }
.ep-hero .swiper-slide.ep-in .ep-hero__content > *:nth-child(2) { transition-delay: .08s; }
.ep-hero .swiper-slide.ep-in .ep-hero__content > *:nth-child(3) { transition-delay: .16s; }
.ep-hero .swiper-slide.ep-in .ep-hero__content > *:nth-child(4) { transition-delay: .24s; }
.ep-hero .swiper-slide.ep-in .ep-hero__content > *:nth-child(5) { transition-delay: .32s; }
.ep-hero .swiper-slide.ep-in .ep-hero__cover img { animation: ep-cover-in .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ep-cover-in { from { opacity: 0; transform: rotateY(-30deg) translateX(40px); } }

/* Progress dots */
.ep-hero__dots { position: absolute; left: 50%; bottom: 26px; z-index: 5; transform: translateX(-50%); display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(6, 23, 56, .15); }
.ep-hero__dot { position: relative; overflow: hidden; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ep-muted); font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.ep-hero__dot.is-on { color: #fff; background: var(--ep-ink); }
.ep-hero__dot span { position: relative; z-index: 1; }
.ep-hero__dot i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--ep-accent); }
.ep-hero__dot.is-run i { animation: ep-hero-progress var(--ep-hero-delay, 6500ms) linear forwards; }
.ep-hero.is-paused .ep-hero__dot.is-run i { animation-play-state: paused; }
@keyframes ep-hero-progress { to { width: 100%; } }
.ep-hero .swiper__nav--btn { opacity: 0; transition: opacity .2s ease; }
.ep-hero:hover .swiper__nav--btn { opacity: 1; }

@media (max-width: 991px) {
  .ep-hero__spot { grid-template-columns: 1fr; gap: 0; }
  .ep-hero__cover { padding: 0 0 7rem; }
  .ep-hero__cover img { width: min(220px, 60%); }
  .ep-hero__slide--spot .ep-hero__content { padding-bottom: 2rem; }
}
@media (max-width: 767px) {
  .ep-hero .hero__slider--items { min-height: 0; }
  .ep-hero__content { padding: 4rem 0 8rem; }
  .ep-hero__title { font-size: 2.8rem; }
  .ep-hero__stats { gap: 10px 20px; }
  .ep-hero__stats b { font-size: 2.1rem; }
  .ep-hero__dot span { display: none; }
  .ep-hero__dot { width: 12px; height: 12px; padding: 0; background: #c9cfdb; }
  .ep-hero__dot.is-on { width: 34px; background: var(--ep-ink); }
  .ep-hero__dots { bottom: 18px; gap: 8px; padding: 8px 10px; }
  .ep-hero .swiper__nav--btn { display: none; }
  /* the spotlight has its own dark background: no extra shade needed */
  .ep-hero__slide--spot::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ep-hero .swiper-slide .ep-hero__content > * { opacity: 1; transform: none; transition: none; }
  .ep-hero .swiper-slide.ep-in .ep-hero__cover img { animation: none; }
  .ep-hero__dot.is-run i { animation: none; width: 100%; }
}
/* hero fixes: equal-height slides, dots clear of the "why subscribe" strip, arrows off the text */
.ep-hero .swiper-wrapper { align-items: stretch; }
.ep-hero .swiper-slide { height: auto; }
.ep-hero .swiper-slide > .hero__slider--items { height: 100%; }
.ep-hero .swiper__nav--btn { display: none !important; }
.ep-hero__dots { bottom: 64px; }
.ep-hero__content { padding-bottom: 10rem; }
.ep-hero__cover { padding-bottom: 9rem; }
@media (max-width: 767px) {
  .ep-hero__dots { bottom: 18px; }
  .ep-hero__content { padding-bottom: 7rem; }
  .ep-hero__cover { padding-bottom: 6rem; }
  .ep-hero__cover img { width: min(170px, 48%); }
  .ep-hero__slide--spot .ep-hero__content { padding-bottom: 1.6rem; }
}

/* ---------- Responsive fixes (audit 2026-10-15) ---------- */
/* Never scroll sideways: anything that pokes out is clipped at the page edge */
html, body { max-width: 100%; overflow-x: clip; }

/* Footer: link columns share the space instead of fixed widths (caused sideways scroll at ~768px) */
.footer__widget--menu__wrapper { flex-wrap: wrap; gap: 0 2rem; min-width: 0; }
.footer__widget--menu__wrapper .footer__widget { min-width: 0; }
.footer__widget--menu { width: auto !important; }
@media (min-width: 768px) and (max-width: 1199px) {
  .footer__widget--menu__wrapper .footer__widget { flex: 1 1 0; margin-right: 0 !important; }
  .footer__widget--width { width: 100% !important; }
}

/* Mobile bottom toolbar: label + badge fit, and each item is a comfortable tap target */
.offcanvas__stikcy--toolbar__btn { display: inline-flex; flex-direction: column; align-items: center; min-width: 48px; padding: 2px 4px; }
.offcanvas__stikcy--toolbar__btn .items__count { right: 2px; }

/* About page cover stacks: keep the side covers inside the column on tablets */
@media (max-width: 991px) {
  .ep-about-covers { max-width: 320px; margin: 40px auto 70px; }
  .ep-about-covers .di-small { left: -4%; }
}

/* Deal banner fan: scale the spread to the column width between tablet and desktop */
@media (min-width: 992px) and (max-width: 1279px) {
  .ep-deal__grid { padding: 3.6rem 3rem; }
  .ep-deal__cover { width: 150px; transform: translate(-50%, -50%) translateX(calc(var(--d) * 58px)) translateY(calc(var(--d) * var(--d) * 5px)) rotate(calc(var(--d) * 5deg)); }
  .ep-deal__fan:hover .ep-deal__cover { transform: translate(-50%, -50%) translateX(calc(var(--d) * 72px)) translateY(calc(var(--d) * var(--d) * 4px)) rotate(calc(var(--d) * 6deg)); }
}

/* Tap targets: small header/theme icon links get a 40px hit area on touch screens */
@media (hover: none) and (pointer: coarse) {
  .header__account--btn, .offcanvas__close--btn, .swiper__nav--btn, .product__items--action__btn:not(.add__to--cart) { min-width: 40px; min-height: 40px; }
}

/* Long words / URLs never force a page wider than the screen */
.ep-result__facts dd, .ep-chat__msg, .acc-facts dd, .cart__content--title, .product__items--content__title { overflow-wrap: anywhere; }

/* Embedded third-party forms and videos stay inside their column */
iframe { max-width: 100%; }
img, svg, video { max-width: 100%; }
.hero-covers__img, .ep-deal__cover { max-width: none; }   /* these are sized deliberately */

/* ---------- Footer social buttons ---------- */
.ep-socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ep-socials .social__shear--list { margin: 0 !important; }
.ep-social { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff !important; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s ease, transform .15s ease, border-color .2s ease; }
.ep-social:hover { transform: translateY(-2px); border-color: transparent; }
.ep-social--facebook:hover { background: #1877f2; }
.ep-social--x:hover { background: #000; }
.ep-social--linkedin:hover { background: #0a66c2; }
.ep-social--instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ep-social--youtube:hover { background: #ff0000; }
.ep-social:focus-visible { outline: 2px solid #ff7aa2; outline-offset: 2px; }
.social__title { margin-bottom: 1.2rem !important; }
/* hero dots on phones: same look, 24px touch area */
@media (max-width: 767px) {
  .ep-hero__dot { width: 24px; height: 24px; background: radial-gradient(circle, #c9cfdb 6px, transparent 6.5px); }
  .ep-hero__dot.is-on { width: 40px; background: linear-gradient(var(--ep-ink), var(--ep-ink)) center / 100% 12px no-repeat; }
  .ep-hero__dot i { top: 6px; bottom: auto; height: 12px; border-radius: 6px; opacity: .55; }
  .ep-hero__dots { gap: 2px; padding: 4px 8px; }
}

/* ---------- Footer (rebuilt) ---------- */
.ep-footer { padding: 0 0 2.4rem; color: #b8c3d9; }
.ep-footer a { color: #d6def0; transition: color .15s ease; }
.ep-footer a:hover { color: #ff7aa2; }
.ep-footer h3 { margin: 0 0 1.4rem; font-size: 1.35rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.ep-footer__cta { position: relative; top: -1px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin: 0 0 5rem; padding: 3rem 3.4rem; border-radius: 0 0 20px 20px;
  background: radial-gradient(60% 140% at 100% 0%, rgba(238, 39, 97, .55) 0%, rgba(238, 39, 97, 0) 60%), linear-gradient(110deg, #13285a 0%, #2a1b4f 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.ep-footer__cta h2 { margin: 0 0 .4rem; font-size: clamp(2.2rem, 1.4vw + 1.4rem, 3rem); font-weight: 800; color: #fff; }
.ep-footer__cta p { margin: 0; font-size: 1.45rem; color: #d6def0; }
.ep-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ep-footer__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 2.4rem; border-radius: 999px; font-size: 1.5rem; font-weight: 700; color: #fff !important;
  background: linear-gradient(110deg, #f8456f 0%, #ee2761 40%, #c2185b 100%); box-shadow: 0 10px 24px rgba(238, 39, 97, .4); }
.ep-footer__btn:hover { transform: translateY(-1px); }
.ep-footer__btn--ghost { background: transparent; box-shadow: none; border: 1.5px solid rgba(255, 255, 255, .5); }
.ep-footer__btn--ghost:hover { border-color: #fff; }

.ep-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.6fr; gap: 3rem 3.6rem; padding-bottom: 4rem; }
.ep-footer__brand p { margin: 1.6rem 0 2rem; max-width: 320px; font-size: 1.4rem; line-height: 1.65; }
.ep-footer__logo img { display: block; width: 130px; height: auto; filter: brightness(0) invert(1); }
.ep-footer__col ul, .ep-footer__contact, .ep-footer__legal { list-style: none; margin: 0; padding: 0; }
.ep-footer__col li { margin-bottom: 1rem; }
.ep-footer__col a { font-size: 1.45rem; }
.ep-footer__news p { margin: 0 0 1.4rem; font-size: 1.4rem; line-height: 1.6; }
.ep-footer__form { display: flex; gap: 8px; flex-wrap: wrap; }
.ep-footer__form .newsletter__subscribe--input { flex: 1 1 180px; min-width: 0; height: 46px; padding: 0 1.4rem; font-size: 1.4rem; }
.ep-footer__form .newsletter__subscribe--button { flex: none; height: 46px; padding: 0 2rem; font-size: 1.45rem; font-weight: 700; border-radius: 10px !important; }
.ep-footer__form #msg_newsletter { flex-basis: 100%; font-size: 1.3rem; }
.ep-footer__contact { margin-top: 1.8rem; }
.ep-footer__contact li { margin-bottom: .6rem; font-size: 1.4rem; }
.ep-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 2.2rem; border-top: 1px solid rgba(255, 255, 255, .12); text-align: left; }
.ep-footer__bottom .copyright__content { font-size: 1.3rem; color: #9fb0cf !important; }
.ep-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 1.3rem; }
.ep-footer__secure { display: inline-flex; align-items: center; gap: 6px; color: #9fb0cf; }

@media (max-width: 1199px) {
  .ep-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ep-footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.2rem 3rem; }
  .ep-footer__brand p { margin: 0; max-width: none; }
  .ep-footer__brand .ep-socials { grid-column: 1 / -1; }
  .ep-footer__news { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 767px) {
  .ep-footer__cta { margin-bottom: 3.6rem; padding: 2.4rem 1.8rem; border-radius: 0 0 16px 16px; }
  .ep-footer__cta-actions, .ep-footer__btn { width: 100%; justify-content: center; }
  .ep-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.8rem 2rem; }
  .ep-footer__brand { grid-template-columns: 1fr; }
  .ep-footer__col:last-of-type { grid-column: 1 / -1; }
  .ep-footer__bottom { flex-direction: column; text-align: center; padding-bottom: 7rem; }   /* clear of the mobile toolbar */
  .ep-footer__legal { justify-content: center; }
}
.ep-footer p, .ep-footer__brand p, .ep-footer__news p { color: #b8c3d9 !important; }
.ep-footer__form .newsletter__subscribe--button { flex: 1 1 100%; }

/* ---------- Format picker (built by enhancements.js from the "Choose Type" select) ---------- */
.product__items--content h5 .custom-select.ep-seg__native,
.ep-seg__native {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  opacity: 0; pointer-events: none;
  clip: rect(0 0 0 0); overflow: hidden;
}
.ep-seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: #f2f3f6;
  letter-spacing: 0;
  text-transform: none;
}
.ep-seg__btn {
  min-height: 34px;
  padding: 0 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ep-muted);
  font: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.ep-seg__btn:hover { color: var(--ep-ink); background: rgba(255, 255, 255, .6); }
.ep-seg__btn.is-on {
  background: #fff;
  color: var(--ep-accent);
  box-shadow: 0 1px 2px rgba(6, 23, 56, .08), 0 2px 8px rgba(6, 23, 56, .08);
}
.ep-seg__btn:focus-visible { outline: 2px solid var(--ep-accent); outline-offset: 1px; }
.ep-seg.is-missing { animation: ep-nudge .4s ease; box-shadow: 0 0 0 2px var(--ep-accent); }
@keyframes ep-nudge {
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) { .ep-seg.is-missing { animation: none; } }

/* Price line under the format picker (filled by enhancements.js) */
.ep-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  row-gap: 2px;
  margin: -2px 0 12px;
  color: var(--ep-ink);
  text-transform: none;
  letter-spacing: 0;
}
.ep-price__from { font-size: 1.25rem; color: var(--ep-muted); font-weight: 500; }
.ep-price__amt { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ep-price__note { flex-basis: 100%; font-size: 1.15rem; color: var(--ep-muted); }
.ep-price__note--inline { flex-basis: auto; font-size: 1.25rem; }
