/* Lyon shop pages — aligned with home theme tokens (reset.css) */

/* ---------- Store layout (services listing) ---------- */
.ep-store,
.ep-store .container,
.ep-store .row {
  overflow: visible !important;
}
.ep-store > .container > .row {
  align-items: stretch;
}
.ep-store > .container > .row > aside {
  align-self: stretch;
}
.ep-store__sidebar-col {
  position: sticky;
  top: 110px;
  z-index: 30;
  width: 100%;
}
.ep-store__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding-right: 2px;
}
.ep-store__widget {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 20px;
  flex-shrink: 0;
}
.ep-store__widget-title {
  margin: 0 0 14px;
  font-family: var(--ep-font-family);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ep-secondary-color);
}
.ep-store__search {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--ep-border-color);
  border-radius: 42px;
  overflow: hidden;
  background: var(--ep-offwhite-color);
}
.ep-store__search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  height: 44px;
  padding: 0 16px;
  font-family: var(--ep-font-family);
  font-size: 14px;
  color: var(--ep-secondary-color);
}
.ep-store__search button {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--ep-primary-color-5);
  color: var(--ep-white-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ep-store__search button:hover {
  background: var(--ep-secondary-color);
}
.ep-store__cats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ep-store__cats li + li {
  border-top: 1px solid var(--ep-border-color);
}
.ep-store__cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--ep-secondary-color);
  font-family: var(--ep-font-family);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.ep-store__cats a span {
  line-height: 1.35;
}
.ep-store__cats a em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-offwhite-color);
  color: var(--ep-paragraph-color);
  border: 1px solid var(--ep-border-color);
}
.ep-store__cats a:hover,
.ep-store__cats a.is-active {
  color: var(--ep-primary-color-5);
}
.ep-store__cats a.is-active {
  font-weight: 700;
}
.ep-store__cats a.is-active em {
  background: var(--ep-primary-color-5);
  border-color: var(--ep-primary-color-5);
  color: var(--ep-white-color);
}
.ep-store__clear {
  display: block;
  text-align: center;
  color: var(--ep-primary-color-5);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.ep-store__clear:hover {
  text-decoration: underline;
}
.ep-store__widget--clear {
  padding: 14px 20px;
}
.ep-store__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
}
.ep-store__count {
  margin: 0;
  font-size: 14px;
  color: var(--ep-paragraph-color);
  font-family: var(--ep-font-family);
}
.ep-store__count strong {
  color: var(--ep-secondary-color);
  font-size: 16px;
}
.ep-store__sort {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ep-store__sort label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ep-paragraph-color);
  white-space: nowrap;
}
.ep-store__sort .ep-shop-select {
  min-width: 180px;
  height: 42px;
}

/* Store product cards */
.ep-store-card {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.ep-store-card:hover {
  box-shadow: 0 16px 40px rgba(3, 37, 75, 0.1);
  transform: translateY(-4px);
}
.ep-store-card__media {
  position: relative;
  width: 100%;
  height: 220px;
  flex: 0 0 220px;
  background: #f3f5f7;
  overflow: hidden;
}
.ep-store-card__media > a:not(.ep-store-card__quick) {
  display: block;
  width: 100%;
  height: 100%;
}
.ep-store-card__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.ep-store-card:hover .ep-store-card__media img {
  transform: scale(1.06);
}
.ep-store-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 28, 53, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}
.ep-store-card:hover .ep-store-card__media::after {
  opacity: 1;
}
.ep-store-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--ep-primary-color-5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 42px;
  font-family: var(--ep-font-family);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ep-store-card__quick {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -46%) scale(0.92);
  background: var(--ep-white-color);
  color: var(--ep-secondary-color);
  font-family: var(--ep-font-family);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 42px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.ep-store-card:hover .ep-store-card__quick {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.ep-store-card__quick:hover {
  background: var(--ep-primary-color-5);
  color: var(--ep-white-color);
}
.ep-store-card__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.ep-store-card__cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ep-primary-color-5);
  margin-bottom: 6px;
}
.ep-store-card__title {
  margin: 0 0 10px;
  font-family: var(--ep-font-family);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.ep-store-card__title a {
  color: var(--ep-secondary-color);
  text-decoration: none;
}
.ep-store-card__title a:hover {
  color: var(--ep-primary-color-5);
}
.ep-store-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.ep-store-card__price span {
  color: var(--ep-primary-color-5);
  font-weight: 700;
  font-size: 18px;
  font-family: var(--ep-font-family);
}
.ep-store-card__price del {
  color: var(--ep-paragraph-color);
  font-size: 13px;
  opacity: 0.7;
}
.ep-store-card__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 42px;
  background: var(--ep-primary-color-5);
  color: var(--ep-white-color) !important;
  font-family: var(--ep-font-family);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ep-store-card__btn:hover {
  background: var(--ep-secondary-color);
  color: var(--ep-white-color) !important;
}

@media (max-width: 991px) {
  .ep-store__sidebar-col {
    position: static;
    top: auto;
  }
  .ep-store__sidebar {
    max-height: none;
    overflow: visible;
  }
  .ep-store-card__media {
    height: 200px;
    flex-basis: 200px;
  }
}
@media (max-width: 767px) {
  .ep-store-card__quick {
    display: none;
  }
  .ep-store-card__media {
    height: 180px;
    flex-basis: 180px;
  }
  .ep-store__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .ep-store__sort {
    width: 100%;
  }
  .ep-store__sort .ep-shop-select {
    flex: 1;
    min-width: 0;
  }
}

/* ---------- Legacy listing helpers (kept for other pages) ---------- */
.ep-shop-listing .ep-product__card {
  margin-top: 0;
}
.ep-shop-listing__intro {
  margin-bottom: 28px;
  max-width: 720px;
}
.ep-shop-listing__lead {
  margin: 10px 0 0;
  color: var(--ep-paragraph-color);
  font-size: 16px;
  line-height: 1.65;
}
.ep-shop-listing__filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.ep-shop-listing__search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 42px;
  padding: 6px 6px 6px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ep-shop-listing__search-field:focus-within {
  border-color: var(--ep-primary-color-5);
  box-shadow: 0 0 0 3px rgba(255, 114, 58, 0.12);
}
.ep-shop-listing__search-field i {
  color: var(--ep-paragraph-color);
  font-size: 18px;
}
.ep-shop-listing__search-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  height: 42px;
  font-family: var(--ep-font-family);
  font-size: 15px;
  color: var(--ep-secondary-color);
  min-width: 0;
}
.ep-shop-listing__search-btn {
  border: none;
  background: var(--ep-primary-color-5);
  color: var(--ep-white-color);
  font-family: var(--ep-font-family);
  font-weight: 700;
  font-size: 14px;
  height: 42px;
  padding: 0 22px;
  border-radius: 42px;
  cursor: pointer;
  white-space: nowrap;
}
.ep-shop-listing__search-btn:hover {
  background: var(--ep-secondary-color);
}

/* ---------- Listing toolbar ---------- */
.ep-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}
.ep-shop-toolbar--card {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 16px 18px;
  align-items: center;
}
.ep-shop-toolbar__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.ep-shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 42px;
  border: 1px solid var(--ep-border-color);
  background: var(--ep-offwhite-color);
  color: var(--ep-secondary-color);
  font-family: var(--ep-font-family);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ep-shop-chip em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-white-color);
  color: var(--ep-paragraph-color);
  border: 1px solid var(--ep-border-color);
}
.ep-shop-chip:hover {
  border-color: var(--ep-primary-color-5);
  color: var(--ep-primary-color-5);
  background: var(--ep-white-color);
}
.ep-shop-chip.is-active {
  background: var(--ep-primary-color-5);
  border-color: var(--ep-primary-color-5);
  color: var(--ep-white-color);
}
.ep-shop-chip.is-active em {
  background: rgba(255, 255, 255, 0.22);
  border-color: transparent;
  color: var(--ep-white-color);
}
.ep-shop-toolbar .ep-btn.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
  height: auto;
  min-height: 42px;
}
.ep-shop-toolbar__sort {
  min-width: 200px;
}
.ep-shop-toolbar__sort-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ep-paragraph-color);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ep-shop-toolbar__sort select,
.ep-shop-select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--ep-border-color);
  border-radius: 42px;
  padding: 0 20px;
  font-family: var(--ep-font-family);
  font-size: 15px;
  color: var(--ep-secondary-color);
  background: var(--ep-white-color);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2303254b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}
.ep-shop-toolbar__sort select:focus,
.ep-shop-select:focus {
  border-color: var(--ep-primary-color-5);
}
.ep-shop-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--ep-paragraph-color);
  font-size: 14px;
}
.ep-shop-result-bar p {
  margin: 0;
}
.ep-shop-result-bar strong {
  color: var(--ep-secondary-color);
}
.ep-shop-result-bar__clear {
  margin-left: 10px;
  color: var(--ep-primary-color-5);
  font-weight: 600;
  text-decoration: none;
}
.ep-shop-result-bar__clear:hover {
  text-decoration: underline;
}

.ep-shop-listing .ep-shop-card {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.ep-shop-listing .ep-shop-card:hover {
  box-shadow: 0 18px 44px rgba(3, 37, 75, 0.1);
  transform: translateY(-5px);
  border-color: rgba(255, 114, 58, 0.35);
}
.ep-shop-listing .ep-shop-card__media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f6f8 0%, #eef1f4 100%);
  aspect-ratio: 4 / 3;
}
.ep-shop-listing .ep-shop-card__media-link {
  display: block;
  height: 100%;
}
.ep-shop-listing .ep-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ep-shop-listing .ep-shop-card:hover .ep-shop-card__media img {
  transform: scale(1.06);
}
.ep-shop-listing .ep-shop-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 28, 53, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.ep-shop-listing .ep-shop-card:hover .ep-shop-card__overlay {
  opacity: 1;
}
.ep-shop-listing .ep-shop-card__overlay .ep-btn {
  pointer-events: auto;
}
.ep-shop-listing .ep-shop-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ep-primary-color-5);
  color: var(--ep-white-color);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 42px;
  font-family: var(--ep-font-family);
  z-index: 3;
  box-shadow: 0 6px 16px rgba(255, 114, 58, 0.35);
}
.ep-shop-listing .ep-shop-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ep-shop-listing .ep-shop-card__cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ep-primary-color-5);
  margin-bottom: 8px;
}
.ep-shop-listing .ep-shop-card__title {
  text-decoration: none;
}
.ep-shop-listing .ep-shop-card__title h5 {
  color: var(--ep-secondary-color);
  font-family: var(--ep-font-family);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}
.ep-shop-listing .ep-shop-card__title:hover h5 {
  color: var(--ep-primary-color-5);
}
.ep-shop-listing .ep-shop-card__excerpt {
  margin: 0 0 16px;
  color: var(--ep-paragraph-color);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-shop-listing .ep-shop-card__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ep-border-color);
}
.ep-shop-listing .ep-product__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ep-shop-listing .ep-product__price span {
  color: var(--ep-primary-color-5);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}
.ep-shop-listing .ep-product__price del {
  color: var(--ep-paragraph-color);
  font-size: 14px;
  opacity: 0.7;
}
.ep-shop-listing .ep-shop-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ep-shop-listing .ep-shop-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  padding: 0;
  color: var(--ep-paragraph-color);
  font-weight: 600;
  font-family: var(--ep-font-family);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.ep-shop-listing .ep-shop-card__cta--primary {
  color: var(--ep-secondary-color);
}
.ep-shop-listing .ep-shop-card__cta:hover,
.ep-shop-listing .ep-shop-card__cta--primary:hover {
  color: var(--ep-primary-color-5);
}

.ep-product__card,
.ep-shop-card {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.ep-product__card:hover,
.ep-shop-card:hover {
  box-shadow: 0 16px 40px rgba(3, 37, 75, 0.08);
  transform: translateY(-4px);
}
.ep-product__img img,
.ep-shop-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ep-shop-card:hover .ep-shop-card__media img {
  transform: scale(1.04);
}
.ep-shop-card__media {
  position: relative;
  overflow: hidden;
  background: var(--ep-offwhite-color);
}
.ep-shop-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ep-primary-color-5);
  color: var(--ep-white-color);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 42px;
  font-family: var(--ep-font-family);
  z-index: 2;
}
.ep-product__info,
.ep-shop-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ep-shop-card__cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ep-primary-color-5);
  margin-bottom: 8px;
}
.ep-product__title {
  text-decoration: none;
}
.ep-product__title h5,
.ep-product__title h6 {
  color: var(--ep-secondary-color);
  font-family: var(--ep-font-family);
  margin: 0 0 12px;
  line-height: 1.35;
}
.ep-shop-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--ep-border-color);
}
.ep-product__price span {
  color: var(--ep-primary-color-5);
  font-weight: 700;
  font-size: 16px;
}
.ep-product__price del {
  color: var(--ep-paragraph-color);
  margin-right: 6px;
  font-size: 13px;
}
.ep-shop-card__cta,
.ep-product__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  padding: 0;
  color: var(--ep-secondary-color);
  font-weight: 600;
  font-family: var(--ep-font-family);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.ep-shop-card__cta:hover,
.ep-product__btn:hover {
  color: var(--ep-primary-color-5);
}
.ep-shop-empty__icon {
  display: block;
  font-size: 42px;
  color: var(--ep-primary-color-5);
  margin-bottom: 12px;
}

/* ---------- Product detail (PDP) ---------- */
.ep-pdp,
.ep-pdp .container,
.ep-pdp .row {
  overflow: visible !important;
}
/* Product stage: left gallery sticky, right buy scrolls — details below are normal */
.ep-pdp__stage {
  align-items: flex-start !important;
}
.ep-pdp__media-col,
.ep-pdp__info-col {
  align-self: flex-start !important;
}
.ep-pdp__media-col {
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  z-index: 1;
  height: fit-content;
  max-height: calc(100vh - 120px);
}
.ep-pdp__gallery {
  position: relative;
  top: auto;
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 16px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.ep-pdp__info-col {
  position: relative;
  z-index: 1;
}
body.no-smooth-scroll #smooth-wrapper,
body.no-smooth-scroll #smooth-content {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  transform: none !important;
}
.ep-pdp__main {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f7;
}
.ep-pdp__zoom-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  position: relative;
}
.ep-pdp__main img,
.ep-pdp__zoom-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
  background: #f3f5f7;
}
.ep-pdp__zoom-link:hover img {
  transform: scale(1.04);
}
.ep-pdp__zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(3, 37, 75, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.ep-pdp__main:hover .ep-pdp__zoom-hint {
  opacity: 1;
}
.ep-pdp__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #03254b;
  box-shadow: 0 4px 16px rgba(3, 37, 75, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.ep-pdp__main:hover .ep-pdp__nav,
.ep-pdp__nav:focus {
  opacity: 1;
}
.ep-pdp__nav:hover {
  background: var(--ep-primary-color-5);
  color: #fff;
}
.ep-pdp__nav--prev { left: 12px; }
.ep-pdp__nav--next { right: 12px; }
.ep-pdp__counter {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(3, 37, 75, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.ep-pdp__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.ep-pdp__thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f5f7;
  cursor: pointer;
  flex: 0 0 72px;
  line-height: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ep-pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ep-pdp__thumb.active,
.ep-pdp__thumb:hover {
  border-color: var(--ep-primary-color-5);
  box-shadow: 0 0 0 1px var(--ep-primary-color-5);
}
.ep-pdp__buy {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 28px;
}
.ep-pdp__cat {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 42px;
  background: rgba(255, 114, 58, 0.1);
  color: var(--ep-primary-color-5);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 12px;
}
.ep-pdp__title {
  margin: 0 0 12px;
  font-family: var(--ep-font-family);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ep-secondary-color);
}
.ep-pdp__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.ep-pdp__price .js-price-current {
  font-size: 28px;
  font-weight: 700;
  color: var(--ep-primary-color-5);
  font-family: var(--ep-font-family);
}
.ep-pdp__price del {
  color: var(--ep-paragraph-color);
  font-size: 16px;
  opacity: 0.7;
}
.ep-pdp__lead {
  margin: 0 0 16px;
  color: var(--ep-paragraph-color);
  line-height: 1.65;
  font-size: 15px;
}
.ep-pdp__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 114, 58, 0.08);
  border: 1px solid rgba(255, 114, 58, 0.22);
  color: var(--ep-secondary-color);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 20px;
}
.ep-pdp__note i {
  color: var(--ep-primary-color-5);
  margin-top: 1px;
}
.ep-pdp__options {
  margin-bottom: 18px;
  clear: both;
}
.ep-pdp__field {
  margin-bottom: 14px;
  clear: both;
  width: 100%;
}
.ep-pdp__field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ep-secondary-color);
}
/* niceSelect floats all selects — force full-width block on PDP */
.ep-pdp__field .nice-select,
.ep-pdp__options .nice-select,
.ep-pdp__buy .nice-select {
  float: none !important;
  display: flex !important;
  align-items: center;
  width: 100% !important;
  max-width: 100%;
  height: 48px;
  border: 1px solid var(--ep-border-color);
  border-radius: 42px;
  padding: 0 42px 0 18px;
  background: var(--ep-white-color);
  font-family: var(--ep-font-family);
  font-size: 15px;
  color: var(--ep-secondary-color);
  margin-bottom: 0;
}
.ep-pdp__field .nice-select:hover,
.ep-pdp__field .nice-select:focus,
.ep-pdp__field .nice-select.open {
  border-color: var(--ep-primary-color-5);
}
.ep-pdp__field .nice-select .list {
  width: 100%;
  border-radius: 14px;
  margin-top: 6px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 40;
}
.ep-pdp__field .nice-select .option {
  min-height: 40px;
  line-height: 40px;
  padding-left: 18px;
}
.ep-pdp__field select.ep-shop-select {
  width: 100%;
}
.ep-pdp__qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  clear: both;
  width: 100%;
  position: relative;
  z-index: 1;
}
.ep-pdp__qty-row > label {
  margin: 0;
  font-weight: 700;
  color: var(--ep-secondary-color);
  flex: 0 0 auto;
}
.ep-pdp__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ep-border-color);
  border-radius: 42px;
  overflow: hidden;
  background: var(--ep-white-color);
}
.ep-pdp__qty-btn {
  width: 42px;
  height: 46px;
  border: none !important;
  background: var(--ep-offwhite-color);
  color: var(--ep-secondary-color);
  font-size: 18px;
  cursor: pointer;
}
.ep-pdp__qty-btn:hover {
  color: var(--ep-primary-color-5);
}
.ep-pdp__qty input {
  width: 58px;
  height: 46px;
  border: none;
  border-left: 1px solid var(--ep-border-color);
  border-right: 1px solid var(--ep-border-color);
  text-align: center;
  font-weight: 700;
  font-family: var(--ep-font-family);
  outline: none;
}
.ep-pdp__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
  clear: both;
  width: 100%;
}
.ep-pdp__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border-radius: 42px !important;
  font-family: var(--ep-font-family);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ep-pdp__btn--primary {
  background: var(--ep-primary-color-5) !important;
  color: #fff !important;
  border: none !important;
}
.ep-pdp__btn--primary:hover {
  background: var(--ep-secondary-color) !important;
  color: #fff !important;
}
.ep-pdp__btn--ghost {
  background: var(--ep-white-color) !important;
  color: var(--ep-secondary-color) !important;
  border: 1px solid var(--ep-border-color) !important;
}
.ep-pdp__btn--ghost:hover {
  border-color: var(--ep-primary-color-5) !important;
  color: var(--ep-primary-color-5) !important;
}
.ep-pdp__links {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}
.ep-pdp__links a {
  color: var(--ep-paragraph-color);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.ep-pdp__links a:hover {
  color: var(--ep-primary-color-5);
}
.ep-pdp__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--ep-paragraph-color);
}
.ep-pdp__trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 6px;
}
.ep-pdp__trust-item {
  text-align: center;
  border: 1px solid var(--ep-border-color);
  border-radius: 12px;
  padding: 12px 6px;
  background: var(--ep-offwhite-color);
  font-size: 11px;
  color: var(--ep-paragraph-color);
  line-height: 1.3;
}
.ep-pdp__trust-item i {
  display: block;
  font-size: 20px;
  color: var(--ep-primary-color-5);
  margin-bottom: 6px;
}
.ep-pdp__details {
  margin-top: 36px;
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 22px 24px 26px;
}
.ep-pdp__tabs {
  border-bottom: 1px solid var(--ep-border-color);
  gap: 8px;
  flex-wrap: wrap;
}
.ep-pdp__tabs .nav-link {
  border: none;
  border-radius: 42px;
  color: var(--ep-paragraph-color);
  font-weight: 600;
  font-family: var(--ep-font-family);
  padding: 10px 18px;
}
.ep-pdp__tabs .nav-link.active {
  background: var(--ep-primary-color-5);
  color: #fff;
}
.ep-pdp__tab-content {
  padding-top: 20px;
  color: var(--ep-paragraph-color);
  line-height: 1.7;
}
.ep-pdp__related-head {
  margin: 48px 0 22px;
}
.ep-pdp__related-head h2 {
  margin: 0;
  font-family: var(--ep-font-family);
  font-size: 24px;
  color: var(--ep-secondary-color);
}

/* keep older single selectors for safety */
.ep-shop-single {
  background: var(--ep-offwhite-color);
}
.ep-shop-single__panel {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
}
.ep-shop-single__gallery {
  position: sticky;
  top: 100px;
  height: auto;
}
.ep-shop-single__main-wrap {
  background: var(--ep-offwhite-color);
  border-radius: 12px;
  overflow: hidden;
}
.ep-shop-single__main-img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: var(--ep-offwhite-color);
  border-radius: 12px;
}
.ep-shop-single__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 14px;
  padding-bottom: 4px;
}
.ep-shop-single__thumb-btn {
  border: 2px solid transparent;
  background: none;
  padding: 0;
  border-radius: 12px;
  cursor: pointer;
  flex: 0 0 auto;
  overflow: hidden;
  line-height: 0;
  transition: border-color 0.2s ease;
}
.ep-shop-single__thumb-btn.active,
.ep-shop-single__thumb-btn:hover {
  border-color: var(--ep-primary-color-5);
}
.ep-shop-single__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.ep-shop-single__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.ep-shop-single__cat-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 42px;
  background: rgba(255, 114, 58, 0.1);
  color: var(--ep-primary-color-5);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.ep-shop-single__title {
  font-family: var(--ep-font-family);
  color: var(--ep-secondary-color);
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.ep-shop-single__lead {
  color: var(--ep-paragraph-color);
  line-height: 1.7;
  margin-bottom: 18px;
}
.ep-shop-single__notice {
  margin-bottom: 20px;
}
.ep-shop-single__cat {
  color: var(--ep-paragraph-color);
  margin-bottom: 16px;
}
.ep-shop-single__cat a {
  color: var(--ep-primary-color-5);
  font-weight: 600;
}
.ep-shop-single__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.ep-shop-single__price .js-price-current {
  font-size: 28px;
  font-weight: 700;
  color: var(--ep-primary-color-5);
}
.ep-shop-single__price del {
  color: var(--ep-paragraph-color);
  font-size: 16px;
}
.ep-shop-single__block {
  padding-top: 8px;
  margin-bottom: 8px;
}
.ep-shop-single__field {
  margin-bottom: 16px;
}
.ep-shop-single__field label {
  display: block;
  font-weight: 600;
  color: var(--ep-secondary-color);
  margin-bottom: 8px;
  font-size: 14px;
}
.ep-shop-single__field .ep-shop-select {
  max-width: 100%;
}
.ep-shop-single__qty {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.ep-shop-single__qty label {
  font-weight: 700;
  margin: 0;
  color: var(--ep-secondary-color);
}
.ep-shop-single__qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ep-border-color);
  border-radius: 42px;
  overflow: hidden;
  background: var(--ep-white-color);
}
.ep-shop-single__qty-btn {
  width: 42px;
  height: 48px;
  border: none;
  background: var(--ep-offwhite-color);
  color: var(--ep-secondary-color);
  font-size: 18px;
  cursor: pointer;
}
.ep-shop-single__qty-btn:hover {
  color: var(--ep-primary-color-5);
}
.ep-shop-single__qty input,
.ep-shop-single__qty-wrap input {
  width: 64px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--ep-border-color);
  border-right: 1px solid var(--ep-border-color);
  text-align: center;
  font-family: var(--ep-font-family);
  font-weight: 600;
  outline: none;
}
.ep-shop-single__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.ep-shop-single__actions .ep-btn {
  border: none;
  cursor: pointer;
}
.ep-shop-single__aside-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.ep-shop-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ep-paragraph-color);
}
.ep-shop-single__meta a {
  color: var(--ep-primary-color-5);
}
.ep-shop-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ep-shop-trust__item {
  text-align: center;
  font-size: 12px;
  color: var(--ep-paragraph-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 12px;
  padding: 14px 8px;
  background: var(--ep-offwhite-color);
}
.ep-shop-trust__item i {
  display: block;
  font-size: 22px;
  color: var(--ep-primary-color-5);
  margin-bottom: 6px;
}
.ep-shop-details {
  margin-top: 40px;
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 28px;
}
.ep-shop-details__head {
  margin-bottom: 18px;
}
.ep-shop-details__sub {
  margin: 6px 0 0;
  color: var(--ep-paragraph-color);
  font-size: 14px;
}
.ep-shop-details .ep-section-head {
  margin-bottom: 20px;
}
.ep-shop-details .nav-tabs {
  border-bottom: 1px solid var(--ep-border-color);
  gap: 8px;
}
.ep-shop-details .nav-tabs .nav-link {
  border: none;
  border-radius: 42px;
  color: var(--ep-paragraph-color);
  font-weight: 600;
  padding: 10px 18px;
  font-family: var(--ep-font-family);
}
.ep-shop-details .nav-tabs .nav-link.active {
  background: var(--ep-primary-color-5);
  color: var(--ep-white-color);
}
.ep-shop-details .tab-content {
  padding-top: 20px;
  color: var(--ep-paragraph-color);
  line-height: 1.7;
}
.ep-shop-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ep-shop-spec-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.ep-shop-spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ep-primary-color-5);
}
.ep-shop-related-head {
  margin-top: 50px;
  margin-bottom: 24px;
}

/* ---------- Cart / checkout CTAs → theme orange pills ---------- */
.ep-cart__checkout-button,
a.ep-cart__checkout-button,
button.ep-cart__checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-primary-color-5) !important;
  color: var(--ep-white-color) !important;
  border: none;
  border-radius: 42px !important;
  font-family: var(--ep-font-family);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s ease;
}
.ep-cart__checkout-button:hover {
  background: var(--ep-secondary-color) !important;
  color: var(--ep-white-color) !important;
}
.ep-cart__update-button {
  border-radius: 42px !important;
  border: 1px solid var(--ep-border-color);
  color: var(--ep-secondary-color);
  font-weight: 600;
  padding: 12px 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: var(--ep-white-color);
}
.ep-cart__update-button:hover {
  border-color: var(--ep-primary-color-5);
  color: var(--ep-primary-color-5);
}
.ep-cart__summary-body {
  border-radius: 16px !important;
  overflow: hidden;
}
.ep-cart__heading-title {
  color: var(--ep-secondary-color);
  font-family: var(--ep-font-family);
}
.ep-cart__totals-value {
  color: var(--ep-primary-color-5);
  font-weight: 700;
}
.ep-cart__product-name {
  color: var(--ep-secondary-color);
  font-weight: 600;
}
.ep-cart__product-name:hover {
  color: var(--ep-primary-color-5);
}
.ep-shop-alert {
  border-radius: 12px;
  border: none;
  font-family: var(--ep-font-family);
}
.ep-shop-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
}
.ep-shop-empty h4 {
  color: var(--ep-secondary-color);
  font-family: var(--ep-font-family);
  margin-bottom: 10px;
}
.ep-shop-empty p {
  color: var(--ep-paragraph-color);
  margin-bottom: 24px;
}
.ep-checkout__section-title {
  font-family: var(--ep-font-family);
  color: var(--ep-secondary-color);
}
.ep-checkout__input,
.ep-checkout__form-group input,
.ep-checkout__form-group textarea,
.ep-checkout__form-group select {
  border-radius: 12px !important;
  border-color: var(--ep-border-color) !important;
  font-family: var(--ep-font-family);
}
.ep-checkout__input:focus,
.ep-checkout__form-group input:focus,
.ep-checkout__form-group textarea:focus {
  border-color: var(--ep-primary-color-5) !important;
  box-shadow: 0 0 0 3px rgba(255, 114, 58, 0.15);
  outline: none;
}
.ep-checkout__label {
  color: var(--ep-secondary-color);
  font-weight: 600;
}
.ep-checkout__summary-item-name a {
  color: var(--ep-secondary-color);
  font-weight: 600;
}
.ep-checkout__summary-item-name a:hover {
  color: var(--ep-primary-color-5);
}
.ep-checkout__summary-item-price {
  color: var(--ep-primary-color-5);
  font-weight: 700;
}
.ep-shop-backlink {
  display: inline-block;
  margin-top: 14px;
  color: var(--ep-paragraph-color);
  font-weight: 600;
  text-decoration: none;
}
.ep-shop-backlink:hover {
  color: var(--ep-primary-color-5);
}

#js-cart-page .js-cart-qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ep-border-color);
  border-radius: 42px;
  overflow: hidden;
  background: var(--ep-white-color);
}
#js-cart-page .js-cart-qty-btn {
  background: var(--ep-offwhite-color);
  color: var(--ep-secondary-color);
  border: none;
  width: 40px;
  height: 42px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
#js-cart-page .js-cart-qty-btn:hover {
  color: var(--ep-primary-color-5);
}
#js-cart-page .js-cart-qty-input {
  width: 52px;
  height: 42px;
  border: none;
  border-left: 1px solid var(--ep-border-color);
  border-right: 1px solid var(--ep-border-color);
  text-align: center;
  font-weight: 600;
  outline: none;
}

.ep-cart__panel {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}
.ep-cart__panel-head {
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--ep-border-color);
}
.ep-cart__panel-head .ep-checkout__section-title {
  margin: 0;
  font-size: 22px;
}
.ep-cart__list {
  display: flex;
  flex-direction: column;
}
.ep-cart__row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--ep-border-color);
}
.ep-cart__row:last-child {
  border-bottom: none;
}
.ep-cart__row-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--ep-border-color);
}
.ep-cart__row-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ep-cart__row-title {
  color: var(--ep-secondary-color);
  font-weight: 600;
  font-family: var(--ep-font-family);
  text-decoration: none;
  line-height: 1.35;
}
.ep-cart__row-title:hover {
  color: var(--ep-primary-color-5);
}
.ep-cart__row-opts,
.ep-cart__row-unit {
  font-size: 13px;
  color: var(--ep-paragraph-color);
}
.ep-cart__row-subtotal {
  font-weight: 700;
  color: var(--ep-primary-color-5);
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
}
.ep-cart__row-remove {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ep-border-color);
  border-radius: 50%;
  background: var(--ep-white-color);
  color: var(--ep-paragraph-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ep-cart__row-remove:hover {
  color: #c0392b;
  border-color: #c0392b;
}
.ep-cart__panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--ep-border-color);
}
.ep-cart__table-wrapper {
  overflow-x: auto;
}
.ep-cart__summary--sticky {
  position: sticky;
  top: 100px;
}
.ep-cart__summary--sticky .ep-cart__summary-inside {
  margin-top: 0;
  min-width: 0;
  width: 100%;
  align-items: stretch;
}
.ep-cart__summary--sticky .ep-cart__checkout-button {
  width: 100%;
  margin-top: 16px;
  padding: 16px 24px;
}
.ep-cart__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ep-checkout {
  background: var(--ep-offwhite-color);
}
.ep-checkout__steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ep-checkout__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ep-paragraph-color);
  font-weight: 600;
  font-family: var(--ep-font-family);
  font-size: 14px;
}
.ep-checkout__step.is-active {
  color: var(--ep-secondary-color);
}
.ep-checkout__step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  font-size: 13px;
  font-weight: 700;
}
.ep-checkout__step.is-active .ep-checkout__step-num {
  background: var(--ep-primary-color-5);
  border-color: var(--ep-primary-color-5);
  color: var(--ep-white-color);
}
.ep-checkout__step-divider {
  width: 28px;
  height: 1px;
  background: var(--ep-border-color);
}
.ep-checkout__notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 114, 58, 0.08);
  border: 1px solid rgba(255, 114, 58, 0.25);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  color: var(--ep-secondary-color);
}
.ep-checkout__notice i {
  color: var(--ep-primary-color-5);
  font-size: 22px;
  margin-top: 2px;
}
.ep-checkout__notice p {
  margin: 4px 0 0;
  color: var(--ep-paragraph-color);
  font-size: 14px;
  line-height: 1.5;
}
.ep-checkout__section {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 28px;
}
.ep-checkout__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ep-border-color);
}
.ep-checkout__login-line {
  margin: 0;
  font-size: 14px;
  color: var(--ep-paragraph-color);
}
.ep-checkout__login-line a {
  color: var(--ep-primary-color-5);
  font-weight: 600;
  text-decoration: none;
}
.ep-checkout__block {
  padding-top: 22px;
}
.ep-checkout__block + .ep-checkout__block {
  margin-top: 8px;
  border-top: 1px solid var(--ep-border-color);
}
.ep-checkout__block-title {
  font-family: var(--ep-font-family);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ep-secondary-color);
  margin: 0 0 14px;
}
.ep-checkout__form-group {
  gap: 8px !important;
  margin-top: 0 !important;
}
.ep-checkout__label {
  margin-left: 0 !important;
  font-size: 14px;
}
.ep-checkout__label span {
  color: var(--ep-primary-color-5);
}
.ep-checkout__label em {
  font-style: normal;
  font-weight: 500;
  color: var(--ep-paragraph-color);
}
.ep-checkout__input,
.ep-checkout__form-group input,
.ep-checkout__form-group textarea,
.ep-checkout__form-group select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px !important;
  background: var(--ep-white-color);
}
.ep-checkout__textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.ep-checkout__account-box {
  background: var(--ep-offwhite-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 24px;
}
.ep-checkout__account-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 0;
}
.ep-checkout__account-toggle input {
  margin-top: 4px;
  accent-color: var(--ep-primary-color-5);
}
.ep-checkout__account-toggle span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ep-secondary-color);
}
.ep-checkout__account-toggle small,
.ep-checkout__hint {
  color: var(--ep-paragraph-color);
  font-size: 13px;
  line-height: 1.45;
}
.ep-checkout__aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ep-checkout__aside-card {
  background: var(--ep-white-color);
  border: 1px solid var(--ep-border-color);
  border-radius: 16px;
  padding: 22px;
}
.ep-checkout__aside-card .ep-checkout__section-title {
  margin-bottom: 16px;
  font-size: 20px;
}
.ep-checkout__summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--ep-border-color) !important;
}
.ep-checkout__summary-item:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.ep-checkout__summary-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--ep-border-color);
}
.ep-checkout__summary-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ep-checkout__summary-meta a {
  color: var(--ep-secondary-color);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}
.ep-checkout__summary-meta a:hover {
  color: var(--ep-primary-color-5);
}
.ep-checkout__summary-opts,
.ep-checkout__summary-qty {
  font-size: 12px;
  color: var(--ep-paragraph-color);
  line-height: 1.4;
}
.ep-checkout__summary-item-price {
  font-size: 14px;
  white-space: nowrap;
}
.ep-checkout__totals {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--ep-border-color);
}
.ep-checkout__totals-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ep-paragraph-color);
}
.ep-checkout__totals-muted {
  font-style: italic;
  font-size: 13px;
}
.ep-checkout__totals-row--total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--ep-border-color);
  font-size: 16px;
  font-weight: 700;
  color: var(--ep-secondary-color);
}
.ep-checkout__totals-row--total span:last-child {
  color: var(--ep-primary-color-5);
}
.ep-checkout__pay-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.ep-checkout__pay-option {
  margin: 0;
  cursor: pointer;
}
.ep-checkout__pay-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ep-checkout__pay-ui {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--ep-border-color);
  border-radius: 12px;
  background: var(--ep-offwhite-color);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ep-checkout__pay-option input:checked + .ep-checkout__pay-ui {
  border-color: var(--ep-primary-color-5);
  background: rgba(255, 114, 58, 0.06);
}
.ep-checkout__pay-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--ep-border-color);
  margin-top: 2px;
  flex: 0 0 auto;
  position: relative;
}
.ep-checkout__pay-option input:checked + .ep-checkout__pay-ui .ep-checkout__pay-radio {
  border-color: var(--ep-primary-color-5);
}
.ep-checkout__pay-option input:checked + .ep-checkout__pay-ui .ep-checkout__pay-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ep-primary-color-5);
}
.ep-checkout__pay-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ep-checkout__pay-copy strong {
  color: var(--ep-secondary-color);
  font-size: 14px;
}
.ep-checkout__pay-copy small {
  color: var(--ep-paragraph-color);
  font-size: 12px;
  line-height: 1.45;
}
.ep-checkout__submit {
  width: 100%;
  padding: 16px 22px;
  gap: 8px;
}
.ep-checkout__aside-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .ep-cart__summary--sticky,
  .ep-checkout__aside,
  .ep-shop-single__gallery,
  .ep-pdp__media-col,
  .ep-pdp__gallery {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .ep-cart__row {
    grid-template-columns: 64px 1fr auto;
    grid-template-areas:
      "img meta remove"
      "img qty sub";
    gap: 10px 12px;
  }
  .ep-cart__row-img { grid-area: img; width: 64px; height: 64px; }
  .ep-cart__row-meta { grid-area: meta; }
  .ep-cart__row-remove { grid-area: remove; }
  .ep-cart__row-qty { grid-area: qty; }
  .ep-cart__row-subtotal { grid-area: sub; text-align: left; }
  .ep-pdp__main { height: 360px; }
  .ep-pdp__nav { opacity: 1; }
  .ep-pdp__zoom-hint { opacity: 1; bottom: 12px; font-size: 11px; padding: 6px 12px; }
  .ep-pdp__actions { flex-direction: column; }
}

@media (max-width: 767px) {
  .ep-shop-single__main-img { height: 280px; }
  .ep-shop-trust,
  .ep-pdp__trust { grid-template-columns: repeat(2, 1fr); }
  .ep-shop-single__actions .ep-btn { width: 100%; }
  .ep-shop-single__title,
  .ep-pdp__title { font-size: 24px; }
  .ep-cart__panel { padding: 16px; }
  .ep-shop-toolbar--card { padding: 14px; }
  .ep-shop-toolbar__sort { min-width: 100%; width: 100%; }
  .ep-product__img img,
  .ep-shop-card__media img { height: 200px; }
  .ep-shop-listing .ep-shop-card__overlay { display: none; }
  .ep-shop-listing__search-field { padding-right: 6px; }
  .ep-shop-listing__search-btn { padding: 0 16px; }
  .ep-pdp__main { height: 280px; }
  .ep-pdp__buy { padding: 20px; }
}
