@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Marcellus&display=swap');

/* ==========================================================================
   ElaruNePlus storefront theme
   Palette from the logo: navy wordmark, gold "Plus" / leaves / orb.
   Sections: 1 Tokens · 2 Base · 3 Legacy (header, search, footer) · 4 Buttons
   5 Home · 6 Product cards · 7 Product page · 8 Cart · 9 Checkout · 10 Utilities
   ========================================================================== */

/* 1 · Tokens ------------------------------------------------------------- */
:root {
  --navy: #0b2a6b;
  --navy-dark: #071c4a;
  --blue: #0a4a9c;
  --gold: #f2b32f;
  --gold-dark: #d4900f;
  --gold-ink: #8a5d00;      /* gold that is readable as text on white */
  --gold-soft: #fdf3d6;
  --ice: #eef3fc;
  --mist: #f4f7fd;
  --line: #dde5f3;
  --ink: #1b2540;
  --muted: #5b6988;
  --bad: #b3261e;
  --r-lg: 20px;
  --r-md: 12px;
  --shadow-sm: 0 1px 2px rgb(11 42 107 / 6%), 0 4px 14px rgb(11 42 107 / 5%);
  --shadow-md: 0 14px 36px rgb(11 42 107 / 14%);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Legacy names, kept so older markup keeps working */
  --primaryColor: var(--gold);
  --primaryDark: var(--gold-dark);
  --secondarycolor: var(--navy);
  --secondaryDark: var(--navy-dark);
}

/* 2 · Base --------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: 'Marcellus', Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--navy); line-height: 1.15; letter-spacing: -.005em; }
.secondaryfonts { font-family: 'Marcellus', Georgia, serif; }
a { text-decoration: none; color: var(--blue); }
a:hover { color: var(--navy); }
img { max-width: 100%; }
a, button, .btn, input, select, textarea { transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
::selection { background: var(--gold); color: var(--navy-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 3 · Legacy: header, search, footer, misc ------------------------------- */
section { margin: 80px 0 }
header { padding: 20px 0 }
.fixed { position: fixed; top: 0; left: 0; width: 100%; background-color: #fff; border-bottom: 3px solid var(--gold); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 6px 13px rgb(11 42 107 / 12%); z-index: 50; }
.fixed img { max-height: 36px }
.text-primary { color: var(--navy) !important }
#navbarSupportedContent .btn { color: var(--navy-dark); }
.btn { border: 0 }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.bg-dark { background-color: var(--navy) !important; }
.bg-secondary { background-color: var(--navy) !important; color: #fff !important }
.bg-custom { background-color: var(--mist) }
.navbar-brand { color: var(--navy); }
.navbar-light .navbar-nav .nav-link { color: var(--navy); }
.navbar-light .navbar-nav .nav-link:hover { color: var(--gold-ink); }
.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show > .nav-link { font-weight: 700; color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); }
.navbar-light .dropdown-item { font-size: 12px; letter-spacing: 0; }
.navbar-light .dropdown-item:hover { background: var(--gold-soft); color: var(--navy); }
.navbar { font-size: 14px; }
.lightfont { font-weight: 300; }
.bannertitle { margin-bottom: 0; font-size: 70px; line-height: 74px; }
.prefooter a { color: var(--navy) }
.prefooter a:hover { color: var(--gold-ink) }
.mainfooter { background-color: var(--navy-dark); color: #fff; border-top: 4px solid var(--gold); }
.mainfooter a { color: #fff; }
.mainfooter a:hover { color: var(--gold); }
.mainfooter h1, .mainfooter h2, .mainfooter h3, .mainfooter h4, .mainfooter h5, .mainfooter h6 { color: var(--gold); }
.offer8 { background-image: url(../images/offer8.jpg); padding: 100px 0; background-size: cover; background-position: center; }
.facility-box { padding: 40px 30px; text-align: center; margin-bottom: 25px; background-color: #dce7fb; }
.facility-box img { margin-bottom: 18px; }
.facility-box h3 { font-size: 18px; margin-bottom: 0; }
.facility-box.bg-fed3d1 { background-color: #fdeec2; }
.facility-box.bg-a9d4d9 { background-color: #c9d9f5; }
.facility-box.bg-fef2d1 { background-color: var(--gold-soft); }
.customsearch { position: relative; }
.customsearch article { background-color: white; border-radius: 8px; position: absolute; z-index: 1; box-shadow: 0 8px 30px rgb(11 42 107 / 22%); width: 340px; left: 0; top: calc(100% + 2px); max-height: 450px; overflow-y: scroll; display: none }
.customsearch ul { list-style: none; margin: 0; padding: 0 }
.customsearch a { display: flex; color: var(--ink); font-size: 15px; text-decoration: none; padding: 8px 10px }
.customsearch a:hover { background-color: var(--gold-soft) }
.customsearch strong { color: var(--navy); }
.customsearch .imgBox { width: 35px; flex: 0 0 35px; margin-right: 15px }
.customsearch img { height: 35px; width: 35px; object-fit: contain; }
.customsearch input { padding-left: 32px; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); padding: 8px 8px 8px 32px; }
.customsearch input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(242 179 47 / 30%); }
.customsearch i { position: absolute; left: 10px; top: 12px; color: var(--navy) }
.box-offer { padding: 30px 20px; background: var(--navy); display: flex; align-items: center; height: 100%; flex-direction: column; color: #fff; border-top: 4px solid var(--gold); }
.box-offer a { text-transform: uppercase; color: var(--gold); text-decoration: none }
.box-offer a:hover { color: #fff }
.box-offer small a { text-transform: lowercase }
.box-offer i { font-size: 30px; margin-bottom: 15px; background-color: var(--gold); border-radius: 50%; width: 70px; height: 70px; display: flex; justify-content: center; align-items: center; color: var(--navy-dark); box-shadow: 0 0 12px 3px rgb(242 179 47 / 55%); }
.benefits img { margin: 30px 0; border-radius: 100px }
.upsale .btn-primary { background-color: var(--navy); border-color: var(--navy) }
.upsale .btn-primary:hover { background-color: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.priceShip { padding-left: 17px }
.offer { background: url(../images/offer-banner.png) no-repeat center/cover; padding: 50px 25px; border-radius: 7px }
.err_msg { background: #fdecea; border: 1px solid #f3b8b3; border-left: 4px solid var(--bad); padding: 14px 16px; border-radius: 10px; color: #7a1712; font-size: 14px; margin-bottom: 20px; }
.err_msg em { font-style: normal }
.E-Book .qtyPackage { display: none; }

/* 4 · Buttons ------------------------------------------------------------ */
.ep-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .65rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; font: 500 .95rem/1 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ep-btn--lg { min-height: 54px; padding: .8rem 1.9rem; font-size: 1rem; }
.ep-btn--block { width: 100%; }
.ep-btn--gold { background: var(--gold); color: var(--navy-dark); }
.ep-btn--gold:hover { background: #f7c24e; color: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgb(242 179 47 / 35%); }
.ep-btn--navy { background: var(--navy); color: #fff; }
.ep-btn--navy:hover { background: var(--navy-dark); color: #fff; }
.ep-btn--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.ep-btn--ghost:hover { background: var(--navy); color: #fff; }
.ep-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.ep-link { font-weight: 500; color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.ep-link:hover { color: var(--navy-dark); border-bottom-color: var(--navy); }

/* 5 · Home --------------------------------------------------------------- */
.ep-section { margin: 0; padding: clamp(52px, 7vw, 92px) 0; }
.ep-section--tight { padding-top: clamp(28px, 4vw, 48px); }
.ep-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ep-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0; }
.ep-lead { font-size: 1.125rem; line-height: 1.65; color: var(--muted); max-width: 54ch; }

.ep-hero { position: relative; overflow: hidden; margin: 0; background: var(--mist); padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.ep-hero__grid { display: grid; gap: 56px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .ep-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.ep-hero h1 { font-size: clamp(2.6rem, 5.8vw, 4.6rem); margin: 0 0 22px; max-width: 12ch; }
.ep-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ep-rise { animation: ep-rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes ep-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ep-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ep-stage { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; margin-inline: auto; }
.ep-stage__arch { position: absolute; inset: 9% 6% 0; border-radius: 999px 999px 28px 28px; background: var(--navy); }
.ep-stage__arch::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgb(242 179 47 / 55%); border-radius: inherit; }
.ep-stage__layer { position: absolute; transform: translate3d(var(--px, 0), var(--py, 0), 0); will-change: transform; pointer-events: none; }
.ep-stage__leaves { left: -10%; bottom: 24%; width: 120%; }
.ep-stage__leaves svg { display: block; width: 100%; height: auto; }
.ep-stage__orb { left: 50%; top: 0; width: 66px; height: 66px; margin-left: -33px; }
.ep-stage__orb span { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ffdc83, var(--gold) 55%, var(--gold-dark)); box-shadow: 0 12px 30px rgb(242 179 47 / 45%); animation: ep-float 6s ease-in-out infinite; }
.ep-stage__card { position: absolute; left: 50%; bottom: -2%; width: 62%; margin-left: -31%; transform: translate3d(var(--px, 0), var(--py, 0), 0); will-change: transform; display: block; background: #fff; border-radius: 20px; box-shadow: var(--shadow-md); padding: 10px 10px 14px; color: var(--ink); }
.ep-stage__card:hover { color: var(--ink); }
.ep-stage__img { display: block; aspect-ratio: 1 / 1; border-radius: 14px; background: var(--mist); overflow: hidden; }
.ep-stage__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.ep-stage__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 6px 0; font-size: .92rem; }
.ep-stage__meta strong { font-weight: 500; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-stage__meta span { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

.ep-trust { border-bottom: 1px solid var(--line); background: #fff; }
.ep-trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ep-trust__list { grid-template-columns: repeat(4, 1fr); } .ep-trust__list li + li { border-left: 1px solid var(--line); } }
.ep-trust__list li { display: flex; align-items: center; gap: 12px; padding: 22px 14px; font-weight: 500; color: var(--navy); }
.ep-trust .ep-i { width: 26px; height: 26px; flex: none; color: var(--gold-dark); }

.ep-about__grid { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .ep-about__grid { grid-template-columns: .8fr 1.2fr .8fr; gap: 56px; } }
.ep-about__copy { text-align: center; }
.ep-about__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 16px; }
.ep-about__copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 52ch; margin: 0 auto 26px; }
.ep-arch { margin: 0; aspect-ratio: 3 / 4; border-radius: 999px 999px 20px 20px; overflow: hidden; background: var(--ice); }
.ep-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-arch--b { border-radius: 20px 20px 999px 999px; }
@media (max-width: 991px) { .ep-arch--b { display: none; } .ep-arch { max-width: 260px; margin-inline: auto; } .ep-about__copy { order: -1; } }

.ep-cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; margin: 0; padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.ep-cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0 0 10px; }
.ep-cta p { color: rgb(255 255 255 / 78%); font-size: 1.15rem; margin: 0 0 28px; }
.ep-cta .ep-mark { position: absolute; right: -40px; bottom: -60px; width: 340px; opacity: .1; pointer-events: none; }
.ep-cta .container { position: relative; }

/* 6 · Product cards & listing ------------------------------------------- */
.ep-pagehead { margin: 0; background: var(--mist); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 52px) 0 clamp(24px, 3.5vw, 40px); }
.ep-pagehead h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 6px 0 10px; }
.ep-pagehead .ep-lead { margin: 0; }
.ep-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); }
.ep-crumbs a { color: var(--muted); }
.ep-crumbs a:hover { color: var(--navy); }
.ep-crumbs > * + *::before { content: "/"; margin-right: 8px; color: #b3bfd8; }

.ep-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ep-search { position: relative; flex: 1 1 260px; max-width: 420px; display: block; }
.ep-search .ep-i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.ep-search input { width: 100%; min-height: 48px; padding: .6rem 1rem .6rem 44px; border: 1.5px solid var(--line); border-radius: 999px; font: 400 1rem 'DM Sans', sans-serif; background: #fff; color: var(--ink); }
.ep-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(242 179 47 / 30%); }
.ep-sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.ep-sort select { min-height: 48px; padding: .5rem 2.2rem .5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 500 .95rem 'DM Sans', sans-serif; color: var(--navy); }
.ep-sort select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(242 179 47 / 30%); }
.ep-count { color: var(--muted); font-size: .9rem; margin: 0 0 24px; min-height: 1.4em; }

.ep-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.ep-grid--feature { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px)); justify-content: center; }
.ep-grid--rows { grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr)); }
.ep-stagger:not(.is-in) > * { opacity: 0; }
.ep-stagger.is-in > * { animation: ep-rise .65s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

.ep-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s var(--ease); }
.ep-card:hover { box-shadow: var(--shadow-md); border-color: #c5d3ee; transform: translateY(-3px); }
.ep-card__media { position: relative; display: block; background: var(--mist); aspect-ratio: 1 / 1; overflow: hidden; }
.ep-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 9%; transition: transform .6s var(--ease); }
.ep-card:hover .ep-card__media img { transform: scale(1.05); }
.ep-card__body { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; flex: 1; }
.ep-card__title { font-size: 1.35rem; margin: 0; }
.ep-card__title a { color: var(--navy); }
.ep-card__title a:hover { color: var(--blue); }
.ep-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.ep-card--row { flex-direction: row; }
.ep-card--row .ep-card__media { flex: 0 0 40%; aspect-ratio: auto; min-height: 280px; }
@media (max-width: 575px) { .ep-card--row { flex-direction: column; } .ep-card--row .ep-card__media { flex: none; aspect-ratio: 1 / 1; min-height: 0; } }
.ep-price { font-size: 1.4rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.ep-tag { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: var(--gold); color: var(--navy-dark); font-size: .78rem; font-weight: 700; }
.ep-tag--right { left: auto; right: 14px; }
/* Product label badges */
.ep-label { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; box-shadow: 0 2px 8px rgb(11 42 107 / 14%); }
.ep-label--hot { background: var(--gold); color: var(--navy-dark); }
.ep-label--cat { background: var(--navy); color: #fff; }
.ep-label--bundle { background: #1f5fd6; color: #fff; }
.ep-label--guide { background: #fff; color: var(--navy); border: 1px solid rgb(11 42 107 / 25%); }
.ep-label--lg { top: 18px; left: 18px; font-size: .8rem; padding: 7px 15px; }
.ep-pd__media { position: relative; }
.ep-tag--inline { position: static; display: inline-block; vertical-align: middle; }
.ep-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; color: var(--muted); line-height: 1.45; }
.ep-ticks li { position: relative; padding-left: 24px; }
.ep-ticks li::before { content: ""; position: absolute; left: 1px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(-45deg); }
.ep-imgph { display: grid; place-items: center; width: 100%; height: 100%; }
.ep-imgph .ep-mark { width: 38%; opacity: .5; }
.ep-empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.ep-empty h2 { font-size: 1.6rem; margin-bottom: 8px; }
.ep-empty .ep-btn { margin-top: 18px; }

/* 7 · Product page ------------------------------------------------------- */
.ep-pd { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 992px) { .ep-pd { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; } .ep-pd__media { position: sticky; top: 96px; } }
.ep-zoom { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--mist); aspect-ratio: 1 / 1; cursor: zoom-in; }
.ep-zoom img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 7%; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .3s var(--ease); }
.ep-zoom.is-zoomed img { transform: scale(1.9); }
.ep-pd__title { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 14px; }
.ep-pd__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 22px; }
.ep-pd__price .price { font-size: 2.1rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.ep-pd__price .price.is-bump { animation: ep-bump .35s var(--ease); }
@keyframes ep-bump { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ep-pd__ship { color: var(--muted); font-size: .95rem; }
.ep-ticks--lg { font-size: 1rem; gap: 10px; margin-bottom: 26px; }
.ep-pd__label { display: block; font-size: .9rem; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.ep-bundles { display: grid; gap: 10px; margin-bottom: 24px; }
.ep-bundle { position: relative; display: block; cursor: pointer; }
.ep-bundle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ep-bundle__body { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 14px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.ep-bundle__dot { grid-row: 1 / span 2; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b3bfd8; display: grid; place-items: center; transition: border-color .2s; }
.ep-bundle__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform .2s var(--ease); }
.ep-bundle__qty { font-weight: 500; color: var(--navy); }
.ep-bundle__each { grid-column: 2; font-size: .85rem; color: var(--muted); }
.ep-bundle__price { grid-column: 3; grid-row: 1 / span 2; text-align: right; font-weight: 700; color: var(--navy); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ep-bundle:hover .ep-bundle__body { border-color: #b3c3e4; }
.ep-bundle input:checked + .ep-bundle__body { border-color: var(--navy); background: var(--ice); box-shadow: 0 0 0 1px var(--navy); }
.ep-bundle input:checked + .ep-bundle__body .ep-bundle__dot { border-color: var(--navy); }
.ep-bundle input:checked + .ep-bundle__body .ep-bundle__dot::after { transform: scale(1); }
.ep-bundle input:focus-visible + .ep-bundle__body { outline: 3px solid var(--gold); outline-offset: 2px; }
.ep-bundle input:disabled + .ep-bundle__body { opacity: .55; cursor: not-allowed; }
.ep-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.ep-assure span { display: flex; align-items: center; gap: 8px; }
.ep-assure .ep-i { color: var(--gold-dark); flex: none; }
@media (max-width: 480px) { .ep-assure { grid-template-columns: 1fr; } }
.ep-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(11 42 107 / 10%); transform: translateY(110%); transition: transform .3s var(--ease); }
.ep-buybar.is-on { transform: none; }
.ep-buybar strong { display: block; font-size: 1.15rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.ep-buybar small { color: var(--muted); display: block; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) { .ep-buybar { display: none; } }

/* 8 · Cart ----------------------------------------------------------------- */
.ep-title { font-size: clamp(2rem, 4.2vw, 3rem); margin: 8px 0 6px; }
.ep-sub { color: var(--muted); margin: 0 0 28px; }
.ep-steps { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); counter-reset: s; }
.ep-steps li { display: flex; align-items: center; gap: 8px; counter-increment: s; }
.ep-steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #b3bfd8; font-size: .78rem; font-weight: 700; }
.ep-steps li + li::after { content: none; }
.ep-steps li[aria-current] { color: var(--navy); font-weight: 500; }
.ep-steps li[aria-current]::before { background: var(--navy); border-color: var(--navy); color: #fff; }
.ep-steps li + li { margin-left: 4px; }
.ep-steps a { color: var(--muted); }
.ep-steps a:hover { color: var(--navy); }
.ep-cart { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 992px) { .ep-cart { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; } }
.ep-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ep-line { display: grid; grid-template-columns: 84px 1fr auto; grid-template-areas: "img info remove" "img qty total"; gap: 10px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: opacity .2s, transform .2s; }
@media (min-width: 680px) { .ep-line { grid-template-columns: 96px 1fr 132px 100px 40px; grid-template-areas: "img info qty total remove"; gap: 16px; } }
.ep-line.is-leaving { opacity: 0; transform: translateX(26px); }
.ep-line__img { grid-area: img; display: block; aspect-ratio: 1 / 1; border-radius: var(--r-md); background: var(--mist); overflow: hidden; }
.ep-line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.ep-line__info { grid-area: info; min-width: 0; }
.ep-line__name { display: block; font-weight: 500; color: var(--navy); line-height: 1.3; }
.ep-line__each { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ep-line__total { grid-area: total; text-align: right; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.ep-line__remove { grid-area: remove; justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.ep-line__remove:hover { background: #fdecea; color: var(--bad); }
.ep-stepper { grid-area: qty; display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; width: max-content; }
.ep-stepper button { width: 38px; height: 38px; border: 0; background: transparent; color: var(--navy); border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.ep-stepper button:hover:not([disabled]) { background: var(--ice); }
.ep-stepper button[disabled] { color: #b3bfd8; cursor: not-allowed; }
.ep-stepper input { width: 34px; border: 0; background: transparent; text-align: center; font: 700 1rem 'DM Sans', sans-serif; color: var(--navy); padding: 0; }
.ep-stepper input:focus { outline: none; }
.ep-cart__back { display: inline-flex; margin-top: 22px; }
.ep-summary { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.ep-summary h2 { font-size: 1.5rem; margin: 0 0 14px; }
.ep-sum-row { display: flex; justify-content: space-between; margin: 0; padding: 10px 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.ep-sum-row--total { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: 1.25rem; }
.ep-summary .ep-btn { margin-top: 18px; }
.ep-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0 !important; font-size: .85rem; color: var(--muted); }
.ep-note .ep-i { color: var(--gold-dark); }
@media (min-width: 992px) { .ep-sticky { position: sticky; top: 96px; } }

/* 9 · Checkout ------------------------------------------------------------- */
.ep-co { display: grid; gap: 32px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 992px) { .ep-co { grid-template-columns: 1fr 400px; gap: 48px; align-items: start; } }
.ep-panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); background: #fff; margin-bottom: 20px; }
.ep-panel h2 { font-size: 1.4rem; margin: 0 0 18px; }
.ep-fields { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ep-field--full { grid-column: 1 / -1; }
@media (max-width: 520px) { .ep-fields { grid-template-columns: 1fr; } }
.ep-field label { display: block; font-size: .85rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.ep-field label sup { color: var(--bad); }
.ep-input { width: 100%; min-height: 50px; padding: .7rem .95rem; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; font: 400 1rem 'DM Sans', sans-serif; color: var(--ink); display: block; }
.ep-input:hover { border-color: #c1cfe9; }
.ep-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(242 179 47 / 30%); }
.ep-input:user-invalid { border-color: var(--bad); }
.ep-input[readonly] { background: var(--mist); color: var(--muted); }
textarea.ep-input { min-height: 96px; resize: vertical; }
select.ep-input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b2a6b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.ep-cardfield { position: relative; }
.ep-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .75rem; font-weight: 700; color: var(--navy); background: var(--ice); padding: 4px 9px; border-radius: 6px; }
.ep-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.ep-hint a { color: var(--blue); text-decoration: underline; }
.ep-badges { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: flex-start; margin-top: 18px; opacity: .85; }
.ep-badges img { display: block; height: 26px; width: auto; max-width: 100%; object-fit: contain; flex: 0 0 auto; }
.ep-terms { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.ep-terms input[type=checkbox] { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy); cursor: pointer; }
.ep-terms a { color: var(--blue); text-decoration: underline; }
.ep-mini { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); list-style: none; }
.ep-mini__img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 10px; background: var(--mist); overflow: visible; }
.ep-mini__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; border-radius: 10px; }
.ep-mini__qty { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; }
.ep-mini__name { font-size: .93rem; font-weight: 500; color: var(--navy); line-height: 1.3; }
.ep-mini__amt { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.ep-items { margin: 0 0 8px; padding: 0; }
.ep-edit { font-size: .88rem; }

/* 10 · Utilities ----------------------------------------------------------- */
.ep-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ep-i { display: inline-block; vertical-align: middle; }
[hidden] { display: none !important; }
body.ep-has-buybar { padding-bottom: 76px; }
@media (min-width: 768px) { body.ep-has-buybar { padding-bottom: 0; } }
