/* ============================================================
   OlympicGuru – order-tracking.css
   Shared UI + order‑tracking specific styles
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --surface: #ffffff;
  --text: #0a0a0a;
  --text-muted: #5b5b5b;
  --border: #e7e7e7;
  --accent: #ff5a1f;
  --accent-hover: #e64a10;
  --success: #16a34a;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 6px 18px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.18);
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1200px;
  --header-h: 70px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4 { font-family: 'Bebas Neue', 'Inter', sans-serif; letter-spacing: .5px; margin: 0 0 .5rem; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 .8rem; color: var(--text-muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== TOPBAR ===== */
.topbar { background: #0a0a0a; color: #fff; font-size: .82rem; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px 20px;
}
.topbar a { color: #fff; margin-right: 14px; opacity: .9; }
.topbar a:hover { opacity: 1; color: var(--accent); }
.topbar-center { color: #fff; }
@media (max-width: 820px) {
  .topbar-left a:nth-child(2), .topbar-right { display: none; }
  .topbar-inner { justify-content: space-between; }
}

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  padding: 14px 20px;
}
.logo-img { height: 42px; width: auto; }
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 1.5px;
  color: var(--text);
  display: inline-block;
}
.search {
  position: relative;
  width: 100%; max-width: 520px; justify-self: center;
}
.search input {
  width: 100%; padding: 12px 16px 12px 42px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #f5f5f5; color: var(--text); font-size: .95rem;
  transition: border .2s, background .2s, box-shadow .2s;
}
.search input:focus {
  outline: none; background: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,90,31,.15);
}
.search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.hdr-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px; position: relative;
  color: var(--text); font-weight: 500; font-size: .92rem;
  transition: background .2s, color .2s, transform .15s;
}
.hdr-action:hover { background: #f1f1f1; color: var(--accent); transform: translateY(-1px); }
.hdr-action i { font-size: 1.1rem; }
.badge-count {
  position: absolute; top: -2px; right: -2px;
  background: var(--accent); color: #fff; font-size: .7rem;
  padding: 2px 6px; border-radius: 999px; font-weight: 700;
  min-width: 18px; text-align: center;
}
.menu-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* Desktop nav */
.nav { border-top: 1px solid var(--border); background: #fff; }
.nav-list {
  display: flex; gap: 28px; justify-content: center;
  padding: 12px 20px;
}
.nav-link {
  font-size: .92rem; font-weight: 500; color: var(--text-muted);
  padding: 4px 0; position: relative; transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 0; background: var(--accent); transition: width .25s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed; top: 0; left: -100%; height: 100vh; width: 82%; max-width: 340px;
  background: #fff; z-index: 90; padding: 18px;
  transition: left .35s ease; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 18px;
}
.mobile-menu.open { left: 0; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-head button { font-size: 1.4rem; }
.mobile-nav li a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--border);
  font-weight: 500; font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600;
  font-size: .95rem; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255,90,31,.3); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Drawers ===== */
.drawer {
  position: fixed; top: 0; right: -110%; height: 100vh; width: 420px; max-width: 92vw;
  background: #fff; z-index: 95; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transition: right .4s cubic-bezier(.22,.61,.36,1);
}
.drawer.open { right: 0; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.drawer-head h3 { margin: 0; font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; }
.drawer-head h3 i { color: var(--accent); margin-right: 6px; }
.drawer-close {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #f4f4f4; color: var(--text); transition: background .2s, color .2s, transform .15s;
}
.drawer-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 20px; }

/* Auth pane */
.auth-pane { animation: fadeIn .3s ease both; }
.auth-pane.hidden { display: none; }
.auth-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; margin: 0 0 4px; }
.auth-sub { color: var(--text-muted); margin-bottom: 18px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--text); }
.field input {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: .95rem; background: #fafafa; transition: border .2s, background .2s, box-shadow .2s;
  font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(255,90,31,.15); }
.auth-row { display: flex; justify-content: flex-end; }
.link-muted { color: var(--text-muted); font-size: .85rem; }
.link-muted:hover { color: var(--accent); }
.link-strong { color: var(--accent); font-weight: 600; }
.auth-foot { text-align: center; margin-top: 18px; color: var(--text-muted); font-size: .9rem; }
.divider {
  display: flex; align-items: center; gap: 10px; color: var(--text-muted);
  font-size: .82rem; margin: 20px 0;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Cart drawer */
.cart-body { padding-bottom: 10px; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 40px 10px; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px;
  padding: 12px; border: 1px solid var(--border); border-radius: 10px;
  animation: fadeIn .25s ease both;
}
.cart-item-img {
  width: 64px; height: 64px; border-radius: 8px; background: #f4f4f4;
  display: grid; place-items: center; color: #b8b8b8; font-size: 1.6rem;
}
.cart-item-info h4 { font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 700; margin: 0 0 4px; }
.cart-item-info .price-now { font-size: .95rem; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 6px;
}
.qty button {
  width: 26px; height: 26px; display: grid; place-items: center;
  background: #fafafa; color: var(--text); font-weight: 700; transition: background .15s;
}
.qty button:hover { background: var(--accent); color: #fff; }
.qty span { min-width: 26px; text-align: center; font-size: .85rem; font-weight: 600; }
.cart-item-remove {
  align-self: start; color: var(--text-muted); font-size: 1rem; transition: color .2s;
}
.cart-item-remove:hover { color: var(--accent); }

.cart-footer {
  border-top: 1px solid var(--border); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 8px; background: #fafafa;
}
.cart-line { display: flex; justify-content: space-between; font-size: .92rem; color: var(--text); }
.cart-line.total { font-weight: 800; font-size: 1.1rem; padding-top: 8px; border-top: 1px dashed var(--border); margin-top: 4px; }
.cart-footer .btn { margin-top: 4px; }

/* Overlay */
.overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,.5);
  z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* Toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  z-index: 200; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Floating buttons */
.float-stack {
  position: fixed; bottom: 22px; left: 22px; z-index: 60;
  display: flex; flex-direction: column-reverse; gap: 12px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 1.3rem;
  box-shadow: var(--shadow); transition: transform .2s, background .2s;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.back-to-top {
  background: var(--text); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .2s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.whatsapp {
  background: var(--whatsapp);
  animation: waPulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(37,211,102,.6);
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Responsive header */
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px 14px; }
  .hdr-action-label { display: none; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: auto auto;
    grid-template-areas: "logo actions" "search search";
    row-gap: 10px;
  }
  .logo { grid-area: logo; }
  .header-actions { grid-area: actions; }
  .search { grid-area: search; max-width: 100%; }
}

/* ===== FOOTER ===== */
.footer { background: #0a0a0a; color: #d4d4d4; padding: 60px 0 20px; }
.footer h3, .footer h4 { color: #fff; }
.footer p, .footer a, .footer li { color: #b0b0b0; }
.footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 1.5px; margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col h4 { margin-bottom: 14px; font-family: 'Inter', sans-serif; font-size: 1rem; }
.footer-contact p { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.footer-contact i { color: var(--accent); margin-top: 4px; }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%; background: #1c1c1c;
  display: grid; place-items: center; transition: background .2s, transform .15s;
}
.social-links a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid #1c1c1c; margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: .85rem;
}
.legal-links { display: flex; gap: 16px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding: 20px 0 8px; font-size: .9rem; color: var(--text-muted); }
.breadcrumb ul { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 4px; }
.breadcrumb .sep { color: var(--text-muted); margin: 0 2px; }
.breadcrumb a { color: var(--text); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--text-muted); font-weight: 500; }

/* ============================================================
   TRACKING HEADER
   ============================================================ */
.tracking-header {
  padding: 8px 0 16px;
}
.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: .5px;
  margin: 0;
}

/* ============================================================
   TRACKING SECTION – Two-Column Layout
   ============================================================ */
.tracking-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 0 0 60px;
}

/* ===== LEFT COLUMN ===== */
.tracking-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Tracking Card */
.tracking-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.tracking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.tracking-id {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tracking-id .label {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tracking-id .value {
  font-weight: 700;
  font-size: 1.05rem;
}
.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: .85rem;
  padding: 2px 4px;
  transition: color .2s;
  cursor: pointer;
}
.copy-btn:hover {
  color: var(--accent);
}

.status-badge {
  padding: 4px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge.shipped {
  background: #f0f0f0;
  color: var(--text);
}
.status-badge.delivered {
  background: var(--success);
  color: #fff;
}
.status-badge.processing {
  background: #fff3e0;
  color: #e67e22;
}
.status-badge.confirmed {
  background: #e3f2fd;
  color: #1976d2;
}

.tracking-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.tracking-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tracking-detail .label {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tracking-detail .value {
  font-weight: 600;
  font-size: .95rem;
}
.tracking-detail .value.status-text {
  color: var(--accent);
}

/* Section Title */
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 16px;
}

/* Timeline */
.timeline-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: flex;
  gap: 16px;
  padding: 10px 0 10px 20px;
  border-left: 2px solid var(--border);
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  animation: timelineFade 0.5s ease forwards;
}
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }

@keyframes timelineFade {
  to { opacity: 1; transform: translateX(0); }
}

.timeline-item.completed {
  border-left-color: var(--text);
}
.timeline-item.completed .timeline-icon {
  background: var(--text);
  color: #fff;
}
.timeline-item.pending {
  border-left-color: var(--border);
}
.timeline-item.pending .timeline-icon {
  background: var(--border);
  color: var(--text-muted);
}
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 36px;
  width: 10px;
  height: calc(100% - 36px);
  border-left: 2px dashed var(--border);
}
.timeline-item.completed:not(:last-child)::after {
  border-left-color: var(--text);
}

.timeline-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  position: relative;
  z-index: 2;
}
.timeline-content {
  flex: 1;
}
.timeline-content .time {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.timeline-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  margin: 2px 0 2px;
}
.timeline-content p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}
.timeline-item.completed .timeline-content h4 {
  color: var(--text);
}
.timeline-item.pending .timeline-content h4 {
  color: var(--text-muted);
}

/* Delivery Address */
.delivery-address-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.address-card address {
  font-style: normal;
  line-height: 1.8;
  color: var(--text-muted);
  font-size: .95rem;
}

/* Support Section */
.support-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.support-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  font-size: .95rem;
}
.support-card i {
  color: var(--accent);
  width: 20px;
  text-align: center;
}
.support-card a {
  color: var(--text);
  transition: color .2s;
}
.support-card a:hover {
  color: var(--accent);
}

/* ===== RIGHT COLUMN ===== */
.tracking-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Ordered Products */
.ordered-products-section {
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
}
.ordered-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-product-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.order-product-item:last-child {
  border-bottom: 0;
}
.order-product-img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #b8b8b8;
}
.order-product-info .name {
  font-weight: 600;
  font-size: .88rem;
}
.order-product-info .meta {
  font-size: .78rem;
  color: var(--text-muted);
}
.order-product-price {
  font-weight: 600;
  font-size: .88rem;
}

/* Order Summary */
.order-summary-card {
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .95rem;
  color: var(--text);
  padding: 4px 0;
}
.summary-row span:last-child {
  font-weight: 500;
}
.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}
.summary-row.total {
  font-weight: 800;
  font-size: 1.15rem;
}
.summary-row.total span:last-child {
  color: var(--accent);
}

/* Actions */
.actions-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.actions-section .btn {
  padding: 12px 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tracking-section {
    grid-template-columns: 1fr 320px;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .tracking-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tracking-card-body {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .tracking-card {
    padding: 20px;
  }
  .tracking-card-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timeline-section,
  .delivery-address-section,
  .support-section {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .tracking-card {
    padding: 16px;
  }
  .tracking-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-item {
    gap: 12px;
    padding-left: 14px;
  }
  .timeline-icon {
    width: 24px;
    height: 24px;
    font-size: .7rem;
  }
  .timeline-content h4 {
    font-size: .88rem;
  }
  .order-product-item {
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
  }
  .order-product-img {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .order-product-info .name {
    font-size: .82rem;
  }
  .order-product-price {
    font-size: .82rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .tracking-card {
    padding: 14px;
  }
  .tracking-id .value {
    font-size: .95rem;
  }
  .timeline-section,
  .delivery-address-section,
  .support-section {
    padding: 16px;
  }
  .support-card p {
    font-size: .88rem;
  }
}

/* ===== UTILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
/* ===== Desktop Dropdown Navigation ===== */
.nav-list li {
  position: relative;
}
.nav-dropdown:hover > .dropdown-menu,
.dropdown-submenu:hover > .dropdown-submenu-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 8px 0;
  z-index: 1000;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  border: 1px solid var(--border);
  margin-top: 4px;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown-submenu-menu {
  top: 0;
  left: 100%;
  transform: translateY(10px);
  margin-top: 0;
  margin-left: 4px;
}
.dropdown-submenu:hover > .dropdown-submenu-menu {
  transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: left;
  text-decoration: none;
}
.dropdown-item:hover {
  background: #f8f8f8;
  color: var(--accent);
  padding-left: 24px;
}