/* ============================================================
   ENDLESS DREAMS RP — TEBEX STORE THEME
   Upload this file as an Asset named: style.css
   Reference in layout.html: /template-assets/style.css?updated=bdcbfbae64cf12d4fb895a2be3fdb2675ba466aeec0b579e69e95c4282fc5eb3
============================================================ */

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --gold:         #c9a84c;
  --gold-light:   #e8c96a;
  --gold-dim:     #7a6030;
  --gold-glow:    rgba(201, 168, 76, 0.18);
  --gold-glow-lg: rgba(201, 168, 76, 0.28);
  --black:        #0a0a0a;
  --charcoal:     #111111;
  --charcoal2:    #161616;
  --charcoal3:    #1e1e1e;
  --charcoal4:    #222222;
  --text:         #d4d0c8;
  --text-muted:   #fff2de;
  --text-dim:     #4a4642;
  --white:        #f5f2ec;
  --danger:       #c0392b;
  --success:      #27ae60;
  --border:       rgba(201, 168, 76, 0.12);
  --border-hover: rgba(201, 168, 76, 0.3);

  --radius:       2px;
  --radius-md:    4px;
  --nav-h:        72px;
  --transition:   all 0.25s ease;

  --font-display: 'Cinzel', serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body:not(.page-index) {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%),
    var(--ed-hero-city-image) center top / cover fixed no-repeat,
    var(--black);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   GRAIN OVERLAY
============================================================ */
.ed-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.ed-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ed-label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.6rem;
}

.ed-gold { color: var(--gold); }
.ed-gold-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 2rem;
}

.ed-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ed-icon--sm { width: 14px; height: 14px; }

/* ============================================================
   BUTTONS
============================================================ */
/* .ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.62rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
} */


/* .ed-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
} */

/* .ed-btn--outline {
  background: rgba(201,168,76,.08);
  color: #f1d88f;
} */

/* .ed-btn--outline:hover {
  border-color: rgba(201,168,76,.36);
  color: #f7e8b6;
  box-shadow: 0 0 16px var(--gold-glow);
  transform: translateY(-1px);
} */

.ed-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2.2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ed-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.06);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
}


.ed-btn:hover::before { transform: translateX(0); }

/* .ed-btn--primary {
  background: linear-gradient(135deg, #957126 0%, #f1d88f 52%, #9d7828 100%);
  color: #1a1203;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
} */

/* .ed-btn--primary:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.32), 0 0 18px rgba(201,168,76,0.24);
  transform: translateY(-1px);
} */

.ed-btn--primary {
  background: linear-gradient(135deg, #b8922a 0%, #e8c96a 50%, #b8922a 100%);
  color: #0a0a0a;
  box-shadow: 0 0 30px rgba(201,168,76,0.3), 0 4px 20px rgba(0,0,0,0.5);
}

.ed-btn--primary:hover {
    box-shadow: 0 0 50px rgba(201,168,76,0.5), 0 6px 30px rgba(0,0,0,0.6);
    transform: translateY(-2px);
}

.ed-btn--outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
}

.ed-btn--outline:hover {
    border-color: var(--gold);
    color: var(--white);
    box-shadow: 0 0 20px var(--gold-glow);
    transform: translateY(-2px);
}

.ed-btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.08);
}
.ed-btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.ed-btn--sm { padding: 0.55rem 1.2rem; font-size: 0.75rem; }
.ed-btn--lg { padding: 1rem 2.5rem; font-size: 0.88rem; }
.ed-btn--full { width: 100%; }

/* ============================================================
   FORM ELEMENTS
============================================================ */
.ed-input {
  width: 100%;
  background: var(--charcoal2);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.ed-input::placeholder { color: var(--text-muted); }
.ed-input:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.ed-input--lg { padding: 1rem 1.2rem; font-size: 1rem; }
.ed-input--sm { padding: 0.5rem 0.8rem; font-size: 0.85rem; }

.ed-select {
  width: 100%;
  background: var(--charcoal2);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.25s;
}
.ed-select:focus { border-color: var(--gold-dim); }

.ed-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}
.ed-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.ed-checkbox__mark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold-dim);
  background: var(--charcoal2);
  flex-shrink: 0;
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}
.ed-checkbox input:checked + .ed-checkbox__mark {
  background: var(--gold);
  border-color: var(--gold);
}

.ed-form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.ed-form-label {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ed-form-hint { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   BADGES
============================================================ */
.ed-badge {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius);
}
.ed-badge--sale {
  background: var(--gold);
  color: var(--black);
}
.ed-badge--sub {
  background: var(--charcoal3);
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}
.ed-badge--owned {
  background: var(--success);
  color: #fff;
}

/* ============================================================
   NAVIGATION
============================================================ */
.ed-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  justify-content: center;
  align-items: center;
  --ed-nav-scroll-progress: 0;
  background: rgba(0, 0, 0, calc(0.92 * var(--ed-nav-scroll-progress)));
  backdrop-filter: blur(calc(12px - (12px * var(--ed-nav-scroll-progress))));
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid rgba(201, 168, 76, calc(0.12 * var(--ed-nav-scroll-progress)));
  box-shadow: 0 4px 40px rgba(0,0,0,calc(0.5 * var(--ed-nav-scroll-progress)));
}
.ed-nav.is-scrolled {
  --ed-nav-scroll-progress: 1;
}

.ed-header-spacer {
  height: var(--nav-h);
  width: 100%;
  flex-shrink: 0;
}

.ed-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 98%;
}

.ed-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
.ed-nav__logo-img {
  height: 48px;
  width: auto;
  transition: transform 0.3s;
}
.ed-nav__logo:hover .ed-nav__logo-img { transform: scale(1.05); }
.ed-nav__logo-text {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  display: none; /* shown only if logo image fails */
}

.ed-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.ed-nav__item { position: relative; }
.ed-nav__item--dropdown { position: relative; }

.ed-nav__link {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: var(--radius);
  position: relative;
}
.ed-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.ed-nav__link:hover,
.ed-nav__link.is-active { color: var(--gold); }
.ed-nav__link:hover::after,
.ed-nav__link.is-active::after { transform: scaleX(1); }

.ed-nav__caret {
  width: 8px; height: 5px;
  transition: transform 0.25s;
}
.ed-nav__item--dropdown:hover .ed-nav__caret { transform: rotate(180deg); }

.ed-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 180px;
  background: var(--charcoal2);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
}
.ed-nav__item--dropdown:hover .ed-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.ed-nav__dropdown-link {
  display: block;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.ed-nav__dropdown-link:hover,
.ed-nav__dropdown-link.is-active {
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.ed-nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.ed-nav__user,
.ed-nav__sign-in {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-cond);
  font-size: 0.73rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}
.ed-nav__sign-in:hover { color: var(--gold); }

.ed-basket-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--charcoal2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  position: relative;
}
.ed-basket-btn:hover {
  border-color: var(--gold-dim);
  background: var(--charcoal3);
  box-shadow: 0 0 16px var(--gold-glow);
}
.ed-basket-btn__count {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 0.65rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ed-basket-btn__price { color: var(--gold); }

.ed-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.ed-nav__hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

/* ============================================================
   MOBILE DRAWER
============================================================ */
.ed-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.ed-mobile-drawer.is-open { transform: translateX(0); }

.ed-mobile-drawer__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.3rem;
  color: var(--gold);
}

.ed-mobile-drawer__link {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  padding: 0.6rem 2rem;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}
.ed-mobile-drawer__link:hover,
.ed-mobile-drawer__link.is-active { color: var(--gold); }
.ed-mobile-drawer__link--sub {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* ============================================================
   FLASH MESSAGES
============================================================ */
.ed-flash {
  padding: 0.85rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 800;
  font-family: var(--font-cond);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}
.ed-flash--success { background: rgba(39,174,96,0.12); border-bottom: 1px solid rgba(39,174,96,0.25); color: #6fcf97; }
.ed-flash--error   { background: rgba(192,57,43,0.12); border-bottom: 1px solid rgba(192,57,43,0.25); color: #eb5757; }
.ed-flash .ed-container { display: flex; align-items: center; gap: 0.75rem; }
.ed-flash__icon { font-size: 1rem; }
.ed-flash__close {
  margin-left: auto;
  font-size: 1rem;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.ed-flash__close:hover { opacity: 1; }

/* ============================================================
   MAIN CONTENT OFFSET (nav height)
============================================================ */
.ed-main { min-height: calc(100vh - var(--nav-h)); }

.ed-nav-subnav-spacer {
  width: 100%;
  height: calc(var(--nav-h) + var(--subnav-h));
  flex-shrink: 0;
}

/* ============================================================
   HERO SECTION
============================================================ */
.ed-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 5rem;
  transition: opacity 0.3s ease;
}

.ed-hero.hero-hidden {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
}

.ed-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 70%, var(--black) 100%),
    radial-gradient(ellipse 120% 60% at 50% 80%, rgba(201,168,76,0.05) 0%, transparent 70%),
    var(--charcoal);
}

.ed-hero__city {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  /* background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 500' preserveAspectRatio='xMidYMax slice'%3E%3Crect x='40' y='160' width='60' height='340' fill='%230d0b06'/%3E%3Crect x='120' y='220' width='80' height='280' fill='%230e0c07'/%3E%3Crect x='220' y='140' width='100' height='360' fill='%230c0a05'/%3E%3Crect x='245' y='105' width='50' height='25' fill='%23c9a84c' opacity='0.12'/%3E%3Crect x='340' y='200' width='70' height='300' fill='%230d0b06'/%3E%3Crect x='430' y='110' width='120' height='390' fill='%230b0906'/%3E%3Crect x='460' y='80' width='60' height='25' fill='%23c9a84c' opacity='0.1'/%3E%3Crect x='570' y='180' width='80' height='320' fill='%230e0c07'/%3E%3Crect x='670' y='90' width='140' height='410' fill='%230a0806'/%3E%3Crect x='705' y='60' width='70' height='25' fill='%23c9a84c' opacity='0.15'/%3E%3Crect x='830' y='160' width='90' height='340' fill='%230d0b06'/%3E%3Crect x='940' y='120' width='110' height='380' fill='%230c0a06'/%3E%3Crect x='970' y='85' width='50' height='25' fill='%23c9a84c' opacity='0.12'/%3E%3Crect x='1070' y='200' width='75' height='300' fill='%230e0c07'/%3E%3Crect x='1165' y='150' width='95' height='350' fill='%230b0906'/%3E%3Crect x='1280' y='180' width='80' height='320' fill='%230d0b06'/%3E%3C/svg%3E") center bottom / cover no-repeat; */
  background: var(--ed-hero-city-image) center / cover no-repeat;
 
  opacity: 0.8;
}

.ed-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.ed-hero__glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 200px;
  background: radial-gradient(ellipse at bottom, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ed-hero__content.ed-container {
  position: relative;
  z-index: 2;
  text-align: center;
  /* width: 100%; */
  padding: 3rem 2rem;
  max-width: 1920px;
  background-color: #0a0a0a8f;
}

.ed-hero__logo {
  max-width: 380px;
  margin: 0 auto 2rem;
  animation: fadeUp 0.9s ease 0.2s both;
}
.ed-hero__logo img {
  filter: drop-shadow(0 0 30px rgba(201,168,76,0.22));
}

.ed-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1rem;
  animation: fadeUp 0.9s ease 0.35s both;
}

.ed-hero__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fadeUp 0.9s ease 0.5s both;
}

.ed-hero__cta {
  animation: fadeUp 0.9s ease 0.65s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  animation: fadeIn 1s ease 1.4s forwards;
}

.hero-scroll span {
  font-family: var(--font-cond);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #7a7670;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease infinite;
}

.ed-hero-categories {
  margin-top: 2.5rem;
  text-align: left;
  animation: fadeUp 0.9s ease 0.8s both;
}

.ed-hero-categories__header {
  margin-bottom: 0.8rem;
}

.ed-hero-categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.ed-hero-category-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 130px;
  padding: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: linear-gradient(180deg, rgba(18, 21, 29, 0.88) 0%, rgba(11, 13, 18, 0.92) 100%);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-hero-category-card:hover {
  border-color: rgba(255, 209, 107, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ed-hero-category-card__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--white);
  line-height: 1.2;
}

.ed-hero-category-card__desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  margin-bottom: auto;
}

.ed-hero-category-card__cta {
  font-family: var(--font-cond);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   CATEGORY PILLS
============================================================ */
.ed-cat-pills {
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
.ed-cat-pills__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.ed-cat-pills__inner::-webkit-scrollbar { display: none; }

.ed-cat-pill {
  flex-shrink: 0;
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.ed-cat-pill:hover {
  color: var(--gold);
  border-color: var(--border);
}
.ed-cat-pill.is-active {
  color: var(--gold);
  background: rgba(201,168,76,0.06);
  border-color: var(--border);
}

/* ============================================================
   PAGE HEADER (inner pages)
============================================================ */
.ed-page-header {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
}
.ed-page-header--category {
  padding: 5rem 0 3.5rem;
}
.ed-page-header__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
  border-bottom: 1px solid var(--border);
}
.ed-page-header__glow {
  position: absolute;
  left: 50%;
  bottom: -110px;
  width: min(840px, 85vw);
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.16) 0%, rgba(201,168,76,0.06) 38%, transparent 72%);
  pointer-events: none;
}
.ed-page-header__inner {
  position: relative;
  z-index: 1;
}
.ed-page-header__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.ed-page-header__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.5rem;
}

/* ============================================================
   BREADCRUMB
============================================================ */
.ed-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ed-breadcrumb__link {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.ed-breadcrumb__link:hover { color: var(--gold); }
.ed-breadcrumb__sep { color: var(--text-dim); font-size: 0.8rem; }
.ed-breadcrumb__current {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ============================================================
   PACKAGE SECTIONS
============================================================ */
.ed-packages-section {
  padding: 4rem 0;
}

.ed-categories-section {
  padding: 4rem 0 1rem;
}

.ed-category-block {
  margin-bottom: 5rem;
}
.ed-category-block__header {
  margin-bottom: 2.5rem;
}
.ed-category-block__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.ed-category-block__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.ed-category-block__footer {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

/* Homepage category list */
.ed-category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

.ed-category-list__item {
  margin-bottom: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(26, 30, 38, 0.95) 0%, rgba(18, 21, 29, 0.95) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ed-category-list__item:hover {
  border-color: rgba(255, 198, 87, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.ed-category-list .ed-category-block__header {
  margin-bottom: 1rem;
}
.ed-category-list .ed-category-block__title {
  margin-bottom: 0.6rem;
}
.ed-category-list .ed-category-block__desc {
  margin-bottom: 0;
  max-width: none;
}
.ed-category-list .ed-category-block__footer {
  margin-top: 1.25rem;
  justify-content: flex-start;
}

/* ============================================================
   PACKAGE GRID
============================================================ */
.ed-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ============================================================
   PACKAGE CARD
============================================================ */
.ed-package-card {
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.ed-package-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.ed-package-card:hover { background: var(--charcoal2); }
.ed-package-card:hover::after { transform: scaleX(1); }

.ed-package-card__img-wrap {
  position: relative;
  display: block;
  /* aspect-ratio: 16 / 9; */
  overflow: hidden;
  background: var(--charcoal2);
  height: 80%;
}
.ed-package-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ed-package-card:hover .ed-package-card__img { transform: scale(1.04); }
.ed-package-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}
.ed-package-card__img-placeholder svg { width: 40%; height: 40%; }

.ed-package-card__badges {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ed-package-card__body {
  flex: 1;
  padding: 0 1.5rem 0.8rem;
}
.ed-package-card__name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
  line-height: 1.3;
}
.ed-package-card__name:hover { color: var(--gold); }
.ed-package-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ed-package-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem 1.2rem;
  border-top: 1px solid rgba(201,168,76,0.05);
  gap: 0.75rem;
}
.ed-package-card__price-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.ed-package-card__price-old {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-decoration: line-through;
}
.ed-package-card__price {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
}
.ed-package-card__unavailable {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* In-basket card state */
.ed-package-card.is-in-basket .ed-package-card__img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(39,174,96,0.08);
  z-index: 1;
}

/* ============================================================
   PACKAGE DETAIL
============================================================ */
.ed-package-detail-section { padding: 4rem 0; }

.ed-package-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.ed-package-detail__image-wrap {
  position: relative;
  border: 1px solid var(--border);
  background: var(--charcoal2);
  overflow: hidden;
}
.ed-package-detail__image {
  width: 100%;
  display: block;
}
.ed-package-detail__image-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}
.ed-package-detail__image-placeholder svg { width: 25%; height: 25%; }

.ed-package-detail__badge {
  position: absolute;
  top: 1rem; left: 1rem;
}

.ed-package-detail__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.ed-package-detail__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.ed-package-detail__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
}
.ed-package-detail__price-original {
  font-family: var(--font-cond);
  font-size: 1rem;
  color: var(--text-dim);
  text-decoration: line-through;
}
.ed-package-detail__sub-label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.ed-package-detail__desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.ed-package-detail__desc p { margin-bottom: 0.8rem; }
.ed-package-detail__desc h1,
.ed-package-detail__desc h2,
.ed-package-detail__desc h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.ed-package-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-package-detail__in-basket {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--success);
}

/* ============================================================
   CHECKOUT
============================================================ */
.ed-checkout-section { padding: 3rem 0 5rem; }

.ed-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.ed-checkout-items__heading {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ed-basket-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.ed-basket-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--charcoal2);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.ed-basket-item:last-child { border-bottom: none; }
.ed-basket-item:hover { background: var(--charcoal3); }

.ed-basket-item__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.ed-basket-item__img--placeholder {
  background: var(--charcoal3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}

.ed-basket-item__info {
  flex: 1;
  min-width: 0;
}
.ed-basket-item__name {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--white);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ed-basket-item__type {
  font-family: var(--font-cond);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.ed-basket-item__price {
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ed-basket-item__remove {
  color: var(--text-dim);
  padding: 0.25rem;
  border-radius: var(--radius);
  transition: color 0.2s;
  flex-shrink: 0;
}
.ed-basket-item__remove:hover { color: var(--danger); }

.ed-coupon-form { margin-top: 1.5rem; }
.ed-coupon-form__label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.6rem;
}
.ed-coupon-form__row {
  display: flex;
  gap: 0.75rem;
}
.ed-coupon-form__input { flex: 1; }

.ed-applied-coupons { margin-top: 1rem; }
.ed-applied-coupon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--success);
  padding: 0.4rem 0;
}

/* Checkout summary card */
.ed-checkout-summary__card {
  background: var(--charcoal2);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.ed-checkout-summary__heading {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.ed-checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}
.ed-checkout-summary__row--total {
  color: var(--white);
  font-weight: 500;
}
.ed-checkout-summary__total-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
}
.ed-checkout-summary__divider {
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}
.ed-checkout-summary__card .ed-btn { margin-top: 1.5rem; }

.ed-checkout-summary__share {
  margin-top: 1.5rem;
}
.ed-checkout-summary__share-label {
  font-family: var(--font-cond);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}
.ed-checkout-summary__secure {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-cond);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1rem;
  justify-content: center;
}

/* ============================================================
   AUTH / USERNAME FORM
============================================================ */
.ed-form-section {
  padding: 4rem 0 6rem;
}
.ed-form-section__inner {
  max-width: 560px;
}

.ed-auth-card {
  background: var(--charcoal2);
  border: 1px solid var(--border);
  padding: 3rem;
  position: relative;
}
.ed-auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.ed-auth-card__icon {
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
}
.ed-auth-card__icon svg { width: 44px; height: 44px; }

.ed-auth-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.ed-auth-card__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.ed-auth-form .ed-btn { margin-top: 0.5rem; }

/* ============================================================
   OPTIONS CARD
============================================================ */
.ed-options-card {
  background: var(--charcoal2);
  border: 1px solid var(--border);
  padding: 2.5rem;
  max-width: 640px;
}
.ed-options-card__package-summary {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.ed-options-card__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.ed-options-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.ed-options-card__price {
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}
.ed-options-form__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
  justify-content: flex-end;
}

/* ============================================================
   CMS CONTENT
============================================================ */
.ed-cms-section { padding: 3rem 0 6rem; }
.ed-cms-section__inner { max-width: 800px; }
.ed-cms-body {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.85;
}
.ed-cms-body h1, .ed-cms-body h2, .ed-cms-body h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 2rem 0 0.75rem;
  line-height: 1.2;
}
.ed-cms-body h1 { font-size: 1.8rem; }
.ed-cms-body h2 { font-size: 1.4rem; }
.ed-cms-body h3 { font-size: 1.1rem; }
.ed-cms-body p { margin-bottom: 1rem; }
.ed-cms-body a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-dim); }
.ed-cms-body ul, .ed-cms-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.ed-cms-body li { margin-bottom: 0.4rem; }
.ed-cms-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ============================================================
   EMPTY STATES
============================================================ */
.ed-empty-state {
  text-align: center;
  padding: 6rem 2rem;
  max-width: 440px;
  margin: 0 auto;
}
.ed-empty-state__icon {
  color: var(--text-dim);
  margin: 0 auto 1.5rem;
  width: 64px;
}
.ed-empty-state__icon svg { width: 100%; }
.ed-empty-state__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.ed-empty-state__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ============================================================
   SIDEBAR MODULES (Tebex injected)
============================================================ */
.ed-sidebar-modules {
  padding: 2rem 0 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.ed-modules-section {
  padding: 0 0 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Module styling overrides (Tebex sidebar modules) */
.ed-sidebar-modules .panel,
.ed-modules-section .panel {
  background: var(--charcoal2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  padding: 1.5rem !important;
  color: var(--text) !important;
}
.ed-sidebar-modules .panel-heading,
.ed-modules-section .panel-heading {
  font-family: var(--font-cond) !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--gold-dim) !important;
  border-bottom: 1px solid var(--border) !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 1rem !important;
}

/* Sidebar category cards */
.ed-sidebar-modules .widget-categories {
  display: grid;
  gap: 0.65rem;
}
.ed-sidebar-modules .widget-categories__card {
  display: block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
  border-radius: 0;
  padding: 0.8rem 0.9rem;
  transition: var(--transition);
}
.ed-sidebar-modules .widget-categories__card:hover,
.ed-sidebar-modules .widget-categories__card.active {
  border-color: var(--border-hover);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.16), rgba(201, 168, 76, 0.04));
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.08);
  transform: translateY(-1px);
}
.ed-sidebar-modules .widget-categories__card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.ed-sidebar-modules .widget-categories__name {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--white);
}
.ed-sidebar-modules .widget-categories__cta {
  font-family: var(--font-cond);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   FOOTER
============================================================ */
.ed-footer {
  border-top: 1px solid var(--border);
  background: var(--black);
  padding-top: 4rem;
  margin-top: 4rem;
}

.ed-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.ed-footer__logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}
.ed-footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 240px;
}

.ed-footer__heading {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 1.2rem;
}
.ed-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ed-footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.ed-footer__links a:hover { color: var(--gold); }

.ed-footer__bottom {
  border-top: 1px solid rgba(201,168,76,0.06);
  padding: 1.5rem 0;
}
.ed-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.ed-footer__copy {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.ed-footer__tebex {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.ed-footer__tebex a {
  color: var(--gold-dim);
  transition: color 0.2s;
}
.ed-footer__tebex a:hover { color: var(--gold); }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50%      { transform: scaleY(1.3); opacity: 1; }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  .ed-package-detail { grid-template-columns: 1fr; gap: 2.5rem; }
  .ed-checkout-layout { grid-template-columns: 1fr; }
  .ed-checkout-summary__card { position: static; }
  .ed-footer__inner { grid-template-columns: 1fr 1fr; }
  .ed-footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .ed-container { padding: 0 1.25rem; }

  .ed-nav__links,
  .ed-nav__sign-in,
  .ed-nav__user { display: none; }

  .ed-nav__hamburger { display: flex; }

  .ed-nav__logo-img { height: 38px; }

  .ed-hero { padding: 4rem 0 3rem; }
  .ed-hero__logo { max-width: 260px; }
  .ed-page-header--category { padding: 4rem 0 2.75rem; }
  .ed-page-header__glow {
    height: 240px;
    bottom: -95px;
  }

  .ed-cat-pills { top: var(--nav-h); }

  .ed-package-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .ed-auth-card,
  .ed-options-card { padding: 2rem 1.5rem; }

  .ed-coupon-form__row { flex-direction: column; }

  .ed-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .ed-footer__brand { grid-column: auto; }

  .ed-cms-section__inner,
  .ed-form-section__inner { max-width: 100%; }

  .ed-options-form__actions { flex-direction: column; }
  .ed-options-form__actions .ed-btn { width: 100%; }
}

@media (max-width: 480px) {
  .ed-hero__title { font-size: 1.6rem; }
  .ed-package-grid { grid-template-columns: 1fr; }
}


/* ====== PREVIEW NOTICE ====== */
.preview-notice {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--charcoal2);
  border: 1px solid var(--gold-dim);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-cond);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  z-index: 9999;
}

/* Simulate staggered reveal for preview */
.ed-package-card {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes pulseGold {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); box-shadow: 0 0 10px rgba(201,168,76,0.5); }
}

/* ============================================================
   NAVIGATION OVERRIDE — MAIN SITE MATCH
============================================================ */
:root {
  --nav-h: 72px;
  --subnav-h: 44px;
}

body.ed-mobile-nav-open {
  overflow: hidden;
}

.ed-nav {
  z-index: 1000;
  --ed-nav-scroll-progress: 0;
  background-color: rgba(0, 0, 0, calc(0.95 * var(--ed-nav-scroll-progress)));
  border-bottom: 1px solid rgba(201, 168, 76, calc(0.12 * var(--ed-nav-scroll-progress)));
  backdrop-filter: blur(calc(12px - (12px * var(--ed-nav-scroll-progress))));
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

body:not(.ed-page-loaded) .ed-nav,
body.ed-page-loaded .ed-nav {
  opacity: 1;
  transform: none;
  animation: none;
}

.ed-nav.is-scrolled {
  --ed-nav-scroll-progress: 1;
}

.ed-nav__inner {
  max-width: 1200px;
  width: 100%;
  min-height: 72px;
  padding: 0 2rem;
  gap: 2rem;
}

.ed-nav__logo-img {
  height: 52px;
}

.ed-nav__links {
  gap: 2.5rem;
  flex: 1;
}

.ed-nav__link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff2de;
  padding: 0;
  border-radius: 0;
  position: relative;
}

.ed-nav__link::after {
  bottom: -3px;
  left: 0;
  right: 0;
  transform-origin: left;
}

.ed-nav__actions {
  gap: 0.9rem;
}

.ed-nav__sign-in,
.nav-signin {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff2de;
}

.ed-basket-btn,
.basket-btn {
  background: #161616;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 2px;
  padding: 0.38rem 0.72rem;
  min-height: 36px;
}

.ed-basket-btn:hover,
.basket-btn:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.18);
  background: #161616;
}

.ed-basket-btn__count {
  width: 18px;
  height: 18px;
  font-size: 0.66rem;
  font-weight: 700;
}

.ed-basket-btn__price {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.ed-subnav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  height: 44px;
  --ed-subnav-scroll-progress: 0;
  background-color: rgba(10, 10, 10, calc(0.94 + (0.03 * var(--ed-subnav-scroll-progress))));
  border-top: 1px solid rgba(201, 168, 76, 1);
  border-bottom: 1px solid rgba(201, 168, 76, calc(0.1 + (0.04 * var(--ed-subnav-scroll-progress))));
  display: flex;
  align-items: center;
  backdrop-filter: blur(calc(8px + (2px * var(--ed-subnav-scroll-progress))));
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  transform-origin: top center;
}

body:not(.ed-page-loaded) .ed-subnav,
body.ed-page-loaded .ed-subnav {
  opacity: 1;
  transform: none;
  animation: none;
}

.category-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d2cdc4;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.category-link:hover,
.category-link.active {
  color: var(--gold);
}

.category-link.active {
  border-bottom-color: var(--gold);
}

.category-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 242, 222, 0.45);
}

body.ed-nav-scrolled .ed-subnav,
.ed-subnav.is-scrolled {
  --ed-subnav-scroll-progress: 1;
}

.ed-subnav__inner {
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ed-subnav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow-x: auto;
  white-space: nowrap;
  min-width: 0;
}

.ed-subnav__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.ed-subnav__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7a7670;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.ed-subnav__link:hover,
.ed-subnav__link.is-active {
  color: var(--gold);
}

.ed-subnav__link.is-active {
  border-bottom-color: var(--gold);
}

.ed-nav__hamburger {
  display: none;
}

.ed-nav__hamburger span {
  background: #fff2de;
  width: 24px;
  height: 2px;
}

.ed-mobile-drawer {
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 0.25s ease;
}

.ed-mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ed-mobile-drawer__close {
  top: 1.4rem;
  right: 1.5rem;
  color: var(--gold);
  font-size: 1.5rem;
}

.ed-mobile-drawer__main-links,
.ed-mobile-drawer__sub-links {
  width: min(92vw, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.ed-mobile-drawer__link {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-align: center;
}

.ed-mobile-drawer__divider {
  width: min(92vw, 420px);
  margin: 1.1rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.ed-mobile-drawer__link--sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7a7670;
}

@keyframes edNavBootIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes edSubnavDropIn {
  0% {
    opacity: 0;
    transform: translateY(-16px) scaleY(0.96);
  }
  70% {
    opacity: 1;
    transform: translateY(2px) scaleY(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.ed-page-loaded) .ed-nav,
  body:not(.ed-page-loaded) .ed-subnav {
    opacity: 1;
    transform: none;
  }

  body.ed-page-loaded .ed-nav,
  body.ed-page-loaded .ed-subnav {
    animation: none;
  }
}

.hero-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 768px) {
  body {
    padding-top: 72px;
  }

  body.is-navigation-horizontal:not(.page-index) {
    padding-top: 0;
  }

  .ed-nav-subnav-spacer {
    height: var(--nav-h);
  }

  body.is-navigation-horizontal:not(.page-index) .ed-main {
    padding-top: 0;
  }

  .ed-nav {
    height: 72px;
  }

  .ed-nav__inner {
    min-height: 72px;
    padding: 0 1.25rem;
  }

  .ed-nav__links,
  .ed-nav__actions .ed-nav__sign-in,
  .ed-nav__actions .ed-basket-btn,
  .ed-subnav {
    display: none;
  }

  .ed-nav__hamburger {
    display: inline-flex;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
  }
}
