/* EZMORA — Complete storefront stylesheet
   Rebuilt for the current public/index.html structure.
   Includes the four-stage animated order timeline.
*/

:root {
  --purple: #6428c8;
  --purple-dark: #452080;
  --purple-deep: #281344;
  --purple-soft: #f5f0ff;
  --purple-pale: #faf8fe;
  --ink: #211a2e;
  --muted: #766f82;
  --line: #e9e2f2;
  --white: #fff;
  --shadow: 0 16px 45px rgba(45, 24, 77, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.announcement {
  padding: 8px 18px;
  background: var(--purple-deep);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 17px max(5vw, 24px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(233,226,242,.9);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--purple-dark);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.8px;
}
.bag {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: linear-gradient(145deg, #824be6, #5421b4);
  box-shadow: 0 6px 15px #6428c833;
  font-size: 20px;
  font-weight: 800;
}
.search {
  display: flex;
  align-items: center;
  flex: 1 1 300px;
  max-width: 470px;
  min-width: 160px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf9fc;
}
.search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.search button {
  width: 48px;
  height: 100%;
  border: 0;
  color: #fff;
  background: var(--purple);
  font-size: 25px;
}
.nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.nav a { color: #625a70; font-size: 13px; font-weight: 700; white-space: nowrap; }
.nav a:hover, .account-link:hover { color: var(--purple); }
.account-actions { display: flex; align-items: center; gap: 8px; }
.account-link {
  padding: 9px 13px;
  border: 1px solid #ded5f1;
  border-radius: 10px;
  color: #5424a7;
  background: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--purple);
  font-weight: 700;
  white-space: nowrap;
}
#cartCount {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 20px;
  color: var(--purple);
  background: #fff;
  font-size: 11px;
}

main { overflow: hidden; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
  min-height: 510px;
  padding: 75px max(8vw, 28px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(172,139,244,.28), transparent 28%),
    linear-gradient(115deg, #fbf9ff 0%, #f3edff 55%, #eee5ff 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 590px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 18px;
  color: #241638;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -2.7px;
}
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-copy p { max-width: 490px; margin: 0 0 27px; color: #70677e; font-size: 17px; }
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 21px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #7840dc, #5421b4);
  box-shadow: 0 8px 20px #6428c833;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 25px #6428c844; }
.primary span { font-size: 19px; }
.primary.full { width: 100%; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #665b78; font-size: 12px; font-weight: 700; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 300px; height: 300px; background: linear-gradient(145deg,#d7c5ff,#a98ae9); opacity: .55; }
.orb-two { width: 210px; height: 210px; transform: translate(95px,-85px); background: #fff; opacity: .48; }
.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(330px, 85%);
  min-height: 245px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(145deg, #7641d2, #32165f);
  box-shadow: 0 28px 60px #39205e35;
  transform: rotate(-5deg);
}
.hero-card span { margin-bottom: 18px; color: #e6d9ff; font-size: 48px; font-weight: 800; }
.hero-card strong { font-size: 25px; line-height: 1.2; }
.hero-card small { margin-top: 22px; color: #d8c6ff; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }

.section { width: min(1180px, 90%); margin: 0 auto; padding: 66px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2, .track-panel h2 { margin: 0; color: #281b3a; font-size: clamp(25px,3vw,34px); line-height: 1.2; letter-spacing: -.8px; }
.muted { color: var(--muted); }
.tiny { font-size: 11px; line-height: 1.5; }
.category-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; }
.category {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #5e536e;
  background: #fff;
  font-weight: 700;
  transition: .2s ease;
}
.category span { color: var(--purple); font-size: 19px; }
.category:hover, .category.active { border-color: #bca5e9; color: var(--purple-dark); background: var(--purple-soft); box-shadow: 0 5px 15px #6428c80d; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee9f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(37,20,60,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image, .product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f7f4fb;
}
.product-info, .product-details { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px; }
.product-info h3, .product-details h3, .product-card h3 { margin: 0; color: #302440; font-size: 15px; line-height: 1.4; }
.product-info p, .product-card p { margin: 0; color: var(--muted); font-size: 12px; }
.product-price, .price { color: var(--purple-dark); font-size: 19px; font-weight: 800; }
.product-info button, .product-card button, .add-to-cart {
  width: 100%;
  margin-top: auto;
  padding: 11px 13px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--purple);
  font-weight: 700;
}
.product-info button:hover, .product-card button:hover, .add-to-cart:hover { background: var(--purple-dark); }
.empty-products { grid-column: 1/-1; padding: 35px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }

.track-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 45px;
  width: min(1180px,90%);
  margin: 12px auto 75px;
  padding: 38px;
  border: 1px solid #e9e0f7;
  border-radius: 22px;
  background: linear-gradient(120deg,#faf8ff,#f2ecff);
}
.track-panel p { color: var(--muted); }
#trackForm { display: grid; grid-template-columns: 1fr; gap: 8px; }
label { color: #51465f; font-size: 12px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #ded7e8;
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: #9a75df; box-shadow: 0 0 0 3px #7045dc16; }
.form-message { min-height: 18px; margin: 8px 0 0; color: var(--purple-dark); font-size: 13px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(5vw,24px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fcfbfe;
  font-size: 12px;
}
footer .brand { font-size: 18px; }
footer .bag { width: 32px; height: 32px; font-size: 17px; }

/* Cart drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  visibility: hidden;
  opacity: 0;
  background: rgba(24,13,39,.5);
  transition: .25s ease;
}
.drawer-backdrop.open, .drawer-backdrop.active { visibility: visible; opacity: 1; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 501;
  display: flex;
  flex-direction: column;
  width: min(440px,100%);
  height: 100dvh;
  padding: 24px;
  background: #fff;
  box-shadow: -15px 0 45px #1d103322;
  transform: translateX(105%);
  transition: transform .28s ease;
}
.cart-drawer.open, .cart-drawer.active { transform: translateX(0); }
.drawer-head, .drawer-foot .total { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.drawer-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 23px; }
.drawer-head button, #checkoutClose { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #55466d; background: var(--purple-soft); font-size: 18px; }
.cart-items { flex: 1; overflow: auto; padding: 18px 0; }
.cart-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; background: #f6f2fb; }
.cart-item h3 { margin: 0 0 5px; font-size: 13px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 12px; }
.cart-item button { border: 0; color: #b42318; background: transparent; font-size: 12px; }
.drawer-foot { padding-top: 16px; border-top: 1px solid var(--line); }
.drawer-foot .total { margin-bottom: 12px; }
.drawer-foot .total strong { color: var(--purple-dark); font-size: 21px; }
.drawer-foot .primary { margin-top: 12px; }

/* Checkout dialog */
.checkout-overlay, .ez-auth-overlay, .ez-account-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(22,13,39,.64);
}
.checkout-overlay.open, .checkout-overlay.active,
.ez-auth-overlay.open, .ez-account-overlay.open { display: flex; }
.checkout-box {
  width: min(100%,650px);
  max-height: 94vh;
  overflow: auto;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 70px #170b2b55;
}
.checkout-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.checkout-heading h2 { margin: 0; font-size: 27px; }
#checkoutForm { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
#checkoutForm h3, #checkoutForm .checkout-summary, #checkoutForm .checkout-notice,
#checkoutForm button, #checkoutForm .form-message { grid-column: 1/-1; }
#checkoutForm h3 { margin: 14px 0 0; color: var(--purple-dark); font-size: 15px; }
#checkoutForm label { align-self: end; }
#checkoutForm input, #checkoutForm select { margin-bottom: 5px; }
.checkout-summary { padding: 14px; border-radius: 11px; background: var(--purple-pale); }
.checkout-notice { color: var(--muted); font-size: 12px; }

/* Customer sign-in */
.ez-auth-overlay { z-index: 1100; }
.ez-auth-box {
  position: relative;
  width: min(100%,460px);
  max-height: 92vh;
  overflow: auto;
  padding: 30px;
  border-radius: 20px;
  color: #29223d;
  background: #fff;
  box-shadow: 0 20px 70px #170b2b55;
}
.ez-auth-close { position: absolute; top: 13px; right: 17px; border: 0; color: #55466d; background: transparent; font-size: 28px; }
.ez-auth-brand { display: flex; align-items: center; gap: 9px; color: #5424a7; font-size: 18px; font-weight: 800; }
.ez-auth-brand .bag { width: 32px; height: 32px; border-radius: 10px; }
.ez-auth-box h2 { margin: 18px 0 6px; }
.ez-auth-intro { color: var(--muted); font-size: 14px; }
.ez-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; padding: 5px; border-radius: 12px; background: #f4f0fb; }
.ez-auth-tabs button { padding: 11px; border: 0; border-radius: 9px; color: #55466d; background: transparent; font-weight: 700; }
.ez-auth-tabs button.active { color: #fff; background: var(--purple); }
.ez-auth-form label { display: block; margin: 12px 0 5px; }
.ez-auth-form input { width: 100%; }
.ez-auth-form small { display: block; margin: 6px 0 12px; color: var(--muted); }
.ez-auth-form button { margin-top: 18px; }

/* Customer account dashboard */
.ez-account-overlay { z-index: 1100; }
.ez-account-box {
  display: grid;
  grid-template-columns: 215px minmax(0,1fr);
  width: min(1120px,100%);
  max-height: 94vh;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 25px 80px #170b2b55;
}
.ez-account-sidebar {
  display: flex;
  flex-direction: column;
  padding: 27px 20px;
  color: #fff;
  background: linear-gradient(165deg,#32165f,#5a2aa5);
}
.ez-account-logo { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 19px; font-weight: 800; }
.ez-account-logo .bag { width: 33px; height: 33px; color: var(--purple); background: #fff; }
.ez-sidebar-label { margin-top: 45px; color: #cbb8ed; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.ez-sidebar-current { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 12px; border-radius: 10px; color: #fff; background: #ffffff20; font-size: 13px; font-weight: 700; }
.ez-side-icon { font-size: 18px; }
.ez-sidebar-note { margin-top: 14px; color: #d9cbed; font-size: 12px; }
.ez-sidebar-bottom { display: flex; align-items: center; gap: 8px; margin-top: auto; color: #d9cbed; font-size: 11px; }
.ez-secure-dot, .ez-account-status span { width: 8px; height: 8px; border-radius: 50%; background: #55d6a2; }
.ez-account-main { min-width: 0; padding: 28px; overflow: auto; }
.ez-account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.ez-account-head h2 { margin: 0; color: #281b3a; font-size: 27px; }
.ez-account-head button { border: 0; color: #625575; background: transparent; font-size: 27px; }
.ez-account-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.ez-welcome-card { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 25px; padding: 22px 25px; border-radius: 15px; color: #fff; background: linear-gradient(110deg,#6530bd,#8b61dc); }
.ez-welcome-kicker { color: #e4d7ff; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.ez-welcome-card h3 { margin: 5px 0; font-size: 21px; }
.ez-welcome-card p { margin: 0; color: #eee6ff; font-size: 12px; }
.ez-welcome-mark { color: #ffffff35; font-size: 75px; font-weight: 800; line-height: 1; }
.ez-account-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 20px 0 12px; }
.ez-account-section-heading .eyebrow { margin: 0; font-size: 9px; }
.ez-account-section-heading h3 { margin: 3px 0 0; font-size: 17px; }
.ez-account-status { display: inline-flex; align-items: center; gap: 7px; color: #24845f; font-size: 11px; font-weight: 700; }
.ez-account-profile { margin: 12px 0 22px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fcfbfe; }
.ez-account-orders { display: grid; gap: 12px; }
.ez-account-order { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.ez-account-order p { margin: 6px 0; color: var(--muted); font-size: 12px; }
.ez-account-loading { padding: 20px; color: var(--muted); text-align: center; }
.ez-order-count-label { color: #8b8199; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.ez-account-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.ez-account-footer div { display: grid; gap: 3px; }
.ez-account-footer strong { font-size: 12px; }
.ez-account-footer span { color: var(--muted); font-size: 11px; }
.ez-signout { padding: 10px 14px; border: 1px solid #d8cbea; border-radius: 9px; color: #5424a7; background: #fff; font-weight: 700; }

/* Order timeline */
.ez-order-timeline { width: 100%; }
.ez-timeline-track {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(44px,.9fr) minmax(0,1fr) minmax(44px,.9fr) minmax(0,1fr) minmax(44px,.9fr) minmax(0,1fr);
  align-items: start;
  column-gap: 8px;
  row-gap: 12px;
  width: 100%;
}
.ez-timeline-step { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 9px; }
.ez-timeline-dot {
  display: flex; width: 44px; height: 44px; flex: 0 0 44px;
  align-items: center; justify-content: center;
  border: 2px solid #e4dcef; border-radius: 50%; background: #fff;
  font-size: 21px; line-height: 1; transition: .25s ease;
}
.ez-timeline-step.is-complete .ez-timeline-dot,
.ez-timeline-step.is-current .ez-timeline-dot,
.ez-timeline-step.is-delivered .ez-timeline-dot {
  border-color: #7045dc; background: #7045dc; box-shadow: 0 4px 12px #7045dc33;
}
.ez-timeline-step.is-current .ez-timeline-dot { animation: ezmoraStagePulse 1.8s ease-in-out infinite; }
.ez-timeline-step.is-delivered .ez-timeline-dot { animation: ezmoraDeliveredPulse 2s ease-in-out infinite; }
.ez-timeline-label { color: #827991; font-size: 14px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ez-timeline-step.is-complete .ez-timeline-label,
.ez-timeline-step.is-current .ez-timeline-label,
.ez-timeline-step.is-delivered .ez-timeline-label { color: #34205f; }
.ez-timeline-connector { position: relative; display: block; height: 4px; min-width: 24px; margin-top: 20px; overflow: visible; border-radius: 99px; background: #e8e1f2; }
.ez-timeline-connector::before {
  position: absolute; inset: 0; width: 100%; content: ""; border-radius: inherit;
  background: #7045dc; transform: scaleX(0); transform-origin: left center;
  animation: ezmoraLineTravel 7.2s ease-in-out infinite;
}
.ez-timeline-connector::after {
  position: absolute; z-index: 2; top: 50%; left: 0; content: attr(data-emoji);
  font-size: 19px; line-height: 1; white-space: nowrap;
  transform: translate(-2px,-50%); filter: drop-shadow(0 2px 2px #2b174522);
  animation: ezmoraEmojiTravel 7.2s linear infinite;
}
.ez-timeline-connector[data-sequence="1"]::before,.ez-timeline-connector[data-sequence="1"]::after { animation-delay: 0s; }
.ez-timeline-connector[data-sequence="2"]::before,.ez-timeline-connector[data-sequence="2"]::after { animation-delay: 2.4s; }
.ez-timeline-connector[data-sequence="3"]::before,.ez-timeline-connector[data-sequence="3"]::after { animation-delay: 4.8s; }
@keyframes ezmoraLineTravel { 0%,3% { transform:scaleX(0); } 27%,100% { transform:scaleX(1); } }
@keyframes ezmoraEmojiTravel { 0%,3% { left:0;opacity:0; } 6% { opacity:1; } 27% { left:calc(100% - 21px);opacity:1; } 30%,100% { left:calc(100% - 21px);opacity:0; } }
@keyframes ezmoraStagePulse { 0%,100% { box-shadow:0 0 0 0 #7045dc33; } 50% { box-shadow:0 0 0 7px #7045dc12; } }
@keyframes ezmoraDeliveredPulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.08); } }
.ez-timeline-note { width:100%; box-sizing:border-box; margin:18px 0 0; padding:11px 14px; border:1px solid #eee7f8; border-radius:10px; background:#faf8fe; color:#756b86; font-size:12px; line-height:1.55; text-align:left; }
.ez-order-timeline.is-cancelled .ez-timeline-step.is-cancelled .ez-timeline-dot { border-color:#d92d20; background:#fff1f0; color:#d92d20; }

@media (max-width: 900px) {
  .header { gap: 14px; padding-right: 4%; padding-left: 4%; }
  .nav { gap: 13px; }
  .nav a { font-size: 12px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero { padding-right: 6%; padding-left: 6%; }
}
@media (max-width: 760px) {
  .header { position: relative; flex-wrap: wrap; gap: 12px; padding: 13px 5%; }
  .brand { font-size: 19px; }
  .brand .bag { width: 34px; height: 34px; }
  .search { order: 3; flex: 1 0 100%; max-width: none; }
  .nav { order: 4; flex: 1; justify-content: space-between; gap: 8px; }
  .account-actions { order: 5; }
  .cart-button { order: 6; }
  .hero { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding: 55px 7% 38px; }
  .hero h1 { font-size: clamp(40px,11vw,58px); letter-spacing: -1.8px; }
  .hero-copy p { font-size: 15px; }
  .hero-art { min-height: 245px; }
  .orb-one { width: 220px; height: 220px; }
  .orb-two { width: 150px; height: 150px; }
  .hero-card { width: 245px; min-height: 190px; padding: 24px; }
  .hero-card span { font-size: 36px; }
  .hero-card strong { font-size: 21px; }
  .section { width: 90%; padding: 45px 0; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category:last-child { grid-column: 1/-1; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-info, .product-details { padding: 12px; }
  .product-info h3, .product-card h3 { font-size: 13px; }
  .product-price, .price { font-size: 17px; }
  .track-panel { grid-template-columns: 1fr; gap: 18px; width: 90%; margin-bottom: 48px; padding: 24px; }
  footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  #checkoutForm { grid-template-columns: 1fr; }
  #checkoutForm > * { grid-column: 1 !important; }
  .checkout-box { padding: 20px; }
  .ez-auth-box { padding: 23px; }
  .ez-account-box { display: block; width: min(100%,620px); overflow: auto; }
  .ez-account-sidebar { display: none; }
  .ez-account-main { padding: 21px; overflow: visible; }
  .ez-account-head h2 { font-size: 22px; }
  .ez-welcome-card { padding: 17px; }
  .ez-welcome-mark { font-size: 55px; }
  .ez-account-footer { align-items: flex-start; }
  .ez-timeline-track { grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr); row-gap: 18px; column-gap: 8px; }
  .ez-timeline-step:nth-of-type(1) { grid-column:1;grid-row:1; }
  .ez-timeline-connector[data-sequence="1"] { grid-column:2;grid-row:1; }
  .ez-timeline-step:nth-of-type(2) { grid-column:3;grid-row:1; }
  .ez-timeline-connector[data-sequence="2"] { grid-column:1;grid-row:2; }
  .ez-timeline-step:nth-of-type(3) { grid-column:1;grid-row:3; }
  .ez-timeline-connector[data-sequence="3"] { grid-column:2;grid-row:3; }
  .ez-timeline-step:nth-of-type(4) { grid-column:3;grid-row:3; }
  .ez-timeline-connector { margin-top:20px; }
  .ez-timeline-note { font-size:11px; }
}
@media (max-width: 420px) {
  .nav { order: 7; flex-basis: 100%; }
  .account-actions { margin-left: auto; }
  .category { font-size: 12px; }
  .product-grid { gap: 9px; }
  .product-info button, .product-card button { padding: 9px 7px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .ez-timeline-connector::before { transform:scaleX(1);opacity:.45; }
  .ez-timeline-connector::after { display:none; }
}

/* =========================================================
   EZMORA COMPATIBILITY FIXES
   Match the actual product markup and cart state in store.js
   ========================================================= */

/* Product cards generated by store.js use .product, not .product-card */
.product-grid > .product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee9f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(37,20,60,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-grid > .product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Current product data contains icon symbols, not photo URLs.
   Give the placeholder art a deliberate, polished presentation. */
.product-art {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 210px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  color: #7045c7;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.98), rgba(255,255,255,.18) 42%, transparent 68%),
    linear-gradient(145deg, #f8f4ff 0%, #eee5ff 52%, #e5d9fb 100%);
  font-size: clamp(54px, 7vw, 88px);
  line-height: 1;
}
.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}
.product-info > small {
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.product-info h3 {
  margin: 0;
  color: #302440;
  font-size: 15px;
  line-height: 1.4;
}
.product-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 9px;
}
.product-bottom .price {
  color: var(--purple-dark);
  font-size: 19px;
  font-weight: 800;
}
.product-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.product-actions button {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--purple);
  font-size: 12px;
  font-weight: 700;
}
.product-actions button:hover { background: var(--purple-dark); }

/* store.js toggles body.cart-open; it does not add .open to the drawer */
body.cart-open { overflow: hidden; }
body.cart-open .drawer-backdrop {
  visibility: visible;
  opacity: 1;
}
body.cart-open .cart-drawer {
  transform: translateX(0);
}
.cart-drawer[aria-hidden="true"] { pointer-events: none; }
.cart-drawer[aria-hidden="false"] { pointer-events: auto; }

/* Keep the product and drawer layout comfortable on phones */
@media (max-width: 760px) {
  .product-art { min-height: 150px; font-size: 58px; }
  .product-info { padding: 12px; }
  .product-info h3 { font-size: 13px; }
  .product-bottom .price { font-size: 17px; }
  .product-actions { flex-direction: column; }
  .product-actions button { width: 100%; }
}
@media (max-width: 420px) {
  .product-art { min-height: 125px; font-size: 48px; }
  .cart-drawer { padding: 18px; }
}

/* International delivery selector and shipping estimates */
.announcement{position:relative;display:flex;align-items:center;justify-content:center;min-height:42px;padding:6px 220px 6px 12px}.delivery-selector{position:absolute;right:5%;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:7px;padding:3px 9px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:rgba(255,255,255,.10);white-space:nowrap}.delivery-selector label{font-size:11px;color:#fff;font-weight:700}.delivery-selector select{max-width:150px;border:0;outline:0;background:transparent;color:#fff;font-size:12px;font-weight:700;padding:2px 3px;cursor:pointer}.delivery-selector select option{color:#211a2e;background:#fff}.shipping-estimate{display:block;margin-top:5px;color:#625a70;font-size:11px;line-height:1.45}.shipping-estimate strong{color:var(--purple-dark)}.shipping-estimate.unavailable{color:#9b5b20}.cart-shipping-line{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:13px;color:#625a70}.cart-shipping-line strong{color:var(--ink)}
@media(max-width:900px){.announcement{padding-right:12px;padding-bottom:43px}.delivery-selector{top:auto;bottom:5px;right:12px;transform:none}.search{order:4;max-width:none}.nav{order:5;margin-left:0}.account-actions{order:6}.cart-button{order:7}}

/* EZMORA full product page — normal in-site page, not a popup */
.ez-product-page[hidden]{display:none!important}
.ez-product-page{display:block;min-height:70vh;background:#fff}
.ez-product-page-inner{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:26px 0 70px}
.ez-product-back{display:inline-flex;align-items:center;gap:8px;padding:9px 0;border:0;background:transparent;color:var(--purple-dark);font-size:14px;font-weight:700;cursor:pointer}
.ez-product-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:12px 0 28px;color:#81788d;font-size:12px}
.ez-product-breadcrumb a{color:#655b73;text-decoration:none}.ez-product-breadcrumb strong{color:#302440;font-weight:600}
.ez-product-page-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:start}
.ez-product-page-main-image{display:grid;place-items:center;min-height:480px;max-height:650px;border:1px solid #eee8f5;border-radius:16px;background:#faf8fe;overflow:hidden}
.ez-product-page-main-image img{display:block;width:100%;height:100%;max-height:650px;object-fit:contain}
.ez-product-thumbnails{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}
.ez-product-thumb{width:76px;height:76px;padding:5px;border:1px solid #e8e1f0;border-radius:10px;background:#fff;cursor:pointer;overflow:hidden}
.ez-product-thumb.active,.ez-product-thumb:hover{border:2px solid var(--purple)}.ez-product-thumb img{width:100%;height:100%;object-fit:contain}
.ez-product-page-info{padding:12px 0}.ez-product-page-info h1{margin:10px 0 14px;color:#281b3a;font-size:clamp(27px,3vw,38px);line-height:1.2}.ez-product-detail-price{margin:16px 0;color:var(--purple-dark);font-size:30px;font-weight:800}
.ez-product-page-delivery{padding:12px 14px;border:1px solid #eee8f5;border-radius:10px;background:#fcfaff;color:#625a70;font-size:13px}.ez-product-page-description{margin:22px 0;color:#625a70;font-size:15px;line-height:1.8;white-space:normal}
.ez-product-specs{margin:22px 0;padding:16px;border:1px solid #eee8f5;border-radius:13px;background:#fcfbfe}.ez-product-specs h3{margin:0 0 10px;color:var(--purple-dark)}.ez-product-specs div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #eee8f5;font-size:13px}.ez-product-specs div span{color:#81788d}.ez-product-specs div strong{text-align:right}
.ez-product-page-actions{display:flex;gap:12px;margin-top:24px}.ez-product-page-actions button{flex:1;min-height:48px;border:0;border-radius:10px;background:var(--purple);color:#fff;font-weight:700;cursor:pointer}.ez-product-page-actions .buy-now{background:var(--purple-dark)}
body.ez-product-page-open{overflow-x:hidden}
@media(max-width:760px){.ez-product-page-inner{width:calc(100% - 28px);padding-top:18px}.ez-product-page-layout{grid-template-columns:1fr;gap:26px}.ez-product-page-main-image{min-height:300px;max-height:430px}.ez-product-page-main-image img{max-height:430px}.ez-product-page-info h1{font-size:27px}.ez-product-page-actions{flex-direction:column}}

/* Final override: product title is a text link, not a purple action button */
.product-info h3 .product-title-link,
.product-details h3 .product-title-link,
.product-card h3 .product-title-link {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #302440;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.product-info h3 .product-title-link:hover,
.product-details h3 .product-title-link:hover,
.product-card h3 .product-title-link:hover {
  color: var(--purple);
  background: transparent;
  text-decoration: underline;
}
.product-art.product-view-trigger {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f7f4fb;
  box-shadow: none;
}


/* EZMORA product detail page: gallery, full description and related products */
.ez-product-page-gallery{min-width:0}
.ez-product-page-main-image{min-height:420px;height:520px;background:#fff}
.ez-product-page-main-image img{width:100%;height:100%;object-fit:contain}
.ez-product-page-info{position:sticky;top:112px}
.ez-product-page-info .ez-product-page-actions{margin-top:22px}
.ez-product-quick-info{margin-top:24px;padding:16px;border:1px solid #eee8f5;border-radius:12px;background:#fcfbfe;display:grid;gap:6px;color:#625a70;font-size:13px;line-height:1.6}
.ez-product-quick-info strong{color:#302440;font-size:14px}
.ez-product-long-description{margin-top:58px;padding:28px 30px;border:1px solid #eee8f5;border-radius:16px;background:#fff}
.ez-product-long-description h2,.ez-related-products h2{margin:0 0 14px;color:#302440;font-size:24px}
.ez-product-long-description>div{color:#625a70;font-size:15px;line-height:1.9}
.ez-product-page .ez-product-specs{margin-top:22px;padding:24px 28px}
.ez-product-page .ez-product-specs h2{margin:0 0 12px;color:#302440;font-size:21px}
.ez-related-products{margin-top:54px}
.ez-related-products>p{margin:-5px 0 22px;color:#81788d;font-size:14px}
.ez-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ez-related-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:14px;border:1px solid #eee8f5;border-radius:14px;background:#fff}
.ez-related-image{height:210px;width:100%;display:grid;place-items:center;padding:8px;border:0;border-radius:10px;background:#faf8fe;cursor:pointer}
.ez-related-image img{width:100%;height:100%;object-fit:contain}
.ez-related-image span{font-size:34px;color:var(--purple)}
.ez-related-name{padding:0;border:0;background:transparent;color:#302440;text-align:left;font:inherit;font-weight:700;line-height:1.45;cursor:pointer}
.ez-related-name:hover{color:var(--purple);text-decoration:underline}
.ez-related-card>strong{color:var(--purple-dark);font-size:19px}
.ez-related-open{min-height:40px;border:0;border-radius:9px;background:var(--purple);color:#fff;font-weight:700;cursor:pointer}
@media(max-width:900px){.ez-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ez-product-page-info{position:static}}
@media(max-width:600px){.ez-product-page-main-image{height:340px;min-height:280px}.ez-product-long-description{margin-top:34px;padding:20px}.ez-product-page .ez-product-specs{padding:18px}.ez-related-grid{gap:12px}.ez-related-card{padding:10px}.ez-related-image{height:155px}.ez-related-products{margin-top:36px}}


/* Shipping estimate and country flag presentation */
.delivery-selector select{min-width:170px;max-width:210px;font-variant-emoji:emoji}
.shipping-estimate{font-size:12px;line-height:1.5}
.shipping-estimate strong,.ez-product-page-delivery strong{color:var(--purple-dark);font-weight:800}
.ez-product-page-delivery{display:block;line-height:1.6}
@media(max-width:900px){.delivery-selector select{min-width:155px;max-width:190px}}


/* EZMORA searchable country picker with visible flags */
.delivery-selector{gap:8px}
.delivery-selector select.ez-country-native-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ez-country-picker{position:relative;min-width:168px;color:#211a2e;font-size:12px}
.ez-country-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:30px;padding:4px 7px;border:0;border-radius:6px;color:#fff;background:transparent;font-size:12px;font-weight:700;text-align:left;cursor:pointer}
.ez-country-trigger:hover,.ez-country-trigger:focus-visible{background:rgba(255,255,255,.12);outline:0}
#ezCountryCurrent{display:flex;align-items:center;gap:7px;min-width:0}
.ez-country-flag{display:inline-flex;align-items:center;justify-content:center;min-width:26px;flex:0 0 26px}.ez-country-flag-image{display:inline-block;width:24px;height:18px;object-fit:cover;border-radius:2px;vertical-align:middle;box-shadow:0 0 0 1px rgba(0,0,0,.10)}
.ez-country-chevron{font-size:13px;opacity:.85}
.ez-country-menu{position:absolute;top:calc(100% + 9px);right:0;z-index:10000;width:270px;max-width:min(88vw,320px);padding:9px;border:1px solid #e7def2;border-radius:12px;background:#fff;box-shadow:0 14px 38px rgba(26,13,46,.22);color:#211a2e}
.ez-country-menu[hidden]{display:none!important}
.ez-country-search{display:block;width:100%;height:38px;margin:0 0 8px;padding:8px 11px;border:1px solid #e5deee;border-radius:8px;background:#fbfaff;color:#211a2e;font-size:13px;outline:none}
.ez-country-search:focus{border-color:#8b61d4;box-shadow:0 0 0 3px rgba(100,40,200,.10)}
.ez-country-list{max-height:300px;overflow-y:auto;overscroll-behavior:contain}
.ez-country-option{display:flex;align-items:center;gap:9px;width:100%;min-height:36px;padding:6px 8px;border:0;border-radius:7px;background:#fff;color:#302440;font-size:13px;text-align:left;cursor:pointer}
.ez-country-option:hover,.ez-country-option:focus-visible{background:#f4effc;outline:0}
.ez-country-option.selected{background:#eee6fb;font-weight:700}
.ez-country-empty{margin:10px 5px;color:#766f82;font-size:12px}
#country option{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Arial,sans-serif}
@media(max-width:900px){.ez-country-picker{min-width:160px}.ez-country-menu{right:0;left:auto}}
@media(max-width:420px){.ez-country-menu{width:250px;max-width:calc(100vw - 28px)}}


/* EZMORA desktop country dropdown layering fix */
.announcement {
  position: relative !important;
  z-index: 200 !important;
  overflow: visible !important;
}
.delivery-selector {
  z-index: 201 !important;
  overflow: visible !important;
}
#ezDeliveryCountryPicker {
  position: relative !important;
  z-index: 202 !important;
}
#ezCountryMenu {
  z-index: 203 !important;
}

/* EZMORA destination-inclusive shipping label */
.ez-free-shipping{color:#16803c;font-weight:700}
.ez-product-shipping-label{margin:.35rem 0;color:#16803c;font-size:.82rem}

/* EZMORA compatibility fixes — current storefront markup */

/* Shopping cart: match the JavaScript body.cart-open state */
body.cart-open .cart-drawer {
  transform: translateX(0);
}

body.cart-open .drawer-backdrop {
  visibility: visible;
  opacity: 1;
}

/* Current product cards generated by store.js */
.product-grid > .product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee9f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(37,20,60,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-grid > .product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(45,24,77,.09);
}

.product-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f4fb;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-grid .product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
}

.product-grid .product-info small {
  color: #766f82;
  font-size: 11px;
}

.product-grid .product-info h3 {
  margin: 0;
  color: #302440;
  font-size: 15px;
  line-height: 1.4;
}

.product-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-actions button {
  min-width: 0;
  padding: 10px 8px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #6428c8;
  font-size: 12px;
  font-weight: 700;
}

.product-actions button:hover {
  background: #452080;
}

.product-actions .buy-now {
  color: #5424a7;
  border: 1px solid #ded5f1;
  background: #f5f0ff;
}

.product-actions .buy-now:hover {
  color: #fff;
  background: #5424a7;
}

/* Current cart item markup */
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e9e2f2;
}

.cart-line > div:last-child {
  flex: 0 0 auto;
  text-align: right;
}

.cart-line strong {
  color: #302440;
  overflow-wrap: anywhere;
}

.cart-line button {
  margin-top: 5px;
  padding: 4px 0;
  border: 0;
  color: #b42318;
  background: transparent;
  font-size: 12px;
}

/* Make checkout and account overlays fit smaller screens */
.checkout-overlay,
.ez-auth-overlay,
.ez-account-overlay {
  overscroll-behavior: contain;
}

.checkout-box,
.ez-auth-box,
.ez-account-box {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 760px) {
  .product-grid > .product {
    border-radius: 13px;
  }

  .product-grid .product-info {
    padding: 11px;
  }

  .product-grid .product-info h3 {
    font-size: 13px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-actions button {
    padding: 10px 6px;
  }
}
