/* 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; }
}
