/* ============================================================
   assets/css/style.css — ARIKE THRIFT & MORE (ATM)
   Theme: White + Navy Blue (#070329)
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #070329;
  --navy2:  #0d0550;
  --gold:   #c9a84c;
  --white:  #ffffff;
  --light:  #f4f6fb;
  --gray:   #6b7280;
  --border: #e2e8f0;
  --red:    #dc2626;
  --green:  #16a34a;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(7,3,41,.10);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--light);
  color: #1a1a2e;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

/* ── Utility ── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.d-flex { display: flex; }
.gap-1  { gap: .5rem; }
.gap-2  { gap: 1rem; }
.hidden { display: none !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.4rem;
  border: none;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary   { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-outline   { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold      { background: var(--gold); color: var(--white); }
.btn-gold:hover { opacity: .9; }
.btn-danger    { background: var(--red); color: var(--white); }
.btn-danger:hover { opacity: .85; }
.btn-success   { background: var(--green); color: var(--white); }
.btn-sm        { padding: .4rem .9rem; font-size: .85rem; }
.btn-full      { width: 100%; justify-content: center; }

/* ── Forms ── */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .92rem; color: var(--navy); }
.form-control {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  background: var(--white);
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--navy); }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control   { cursor: pointer; }

/* ── Alerts ── */
.alert {
  padding: .9rem 1.2rem;
  border-radius: 8px;
  font-size: .93rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.alert-success { background: #dcfce7; border-left: 4px solid var(--green); color: #14532d; }
.alert-error   { background: #fee2e2; border-left: 4px solid var(--red);   color: #7f1d1d; }
.alert-info    { background: #dbeafe; border-left: 4px solid #2563eb;      color: #1e3a8a; }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-pending    { background: #fef3c7; color: #92400e; }
.badge-processing { background: #dbeafe; color: #1e40af; }
.badge-delivered  { background: #dcfce7; color: #14532d; }
.badge-cancelled  { background: #fee2e2; color: #7f1d1d; }

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  background: var(--navy);
  color: var(--white);
  padding: 0 1.25rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo .brand   { font-size: 1.15rem; font-weight: 800; letter-spacing: .03em; color: var(--white); }
.nav-logo .tagline { font-size: .7rem; color: var(--gold); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-size: .93rem; font-weight: 500; opacity: .88; transition: opacity var(--transition); }
.nav-links a:hover { opacity: 1; color: var(--gold); }

.cart-btn {
  position: relative;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: var(--transition);
}
.cart-btn:hover { background: rgba(255,255,255,.2); }
.cart-count {
  background: var(--gold);
  color: var(--navy);
  border-radius: 99px;
  min-width: 20px;
  height: 20px;
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a0a6b 60%, #2d1b8e 100%);
  color: var(--white);
  padding: 5rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.hero h1 { margin-bottom: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero p  { font-size: 1.1rem; opacity: .85; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: .25rem .8rem;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADINGS
══════════════════════════════════════════════════════════ */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { color: var(--navy); }
.section-head p  { color: var(--gray); margin-top: .5rem; }
.section-head .divider {
  width: 50px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: .75rem auto 0;
}

/* ══════════════════════════════════════════════════════════
   PRODUCT GRID
══════════════════════════════════════════════════════════ */
.products-section { padding: 4rem 0; }

.product-filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: .88rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}
.filter-btn.active,
.filter-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(7,3,41,.14); }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-featured-tag {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.product-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.product-price { font-size: 1.2rem; font-weight: 800; color: var(--gold); margin-bottom: .8rem; }
.product-desc  { font-size: .85rem; color: var(--gray); margin-bottom: .9rem; flex: 1; }

.product-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.product-actions .btn { flex: 1; font-size: .85rem; padding: .55rem .7rem; }

/* Out of stock */
.product-card.out-of-stock .product-img-wrap::after {
  content: 'Out of Stock';
  position: absolute;
  inset: 0;
  background: rgba(7,3,41,.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
}

/* ══════════════════════════════════════════════════════════
   CART DRAWER
══════════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(400px, 100vw);
  background: var(--white);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 30px rgba(0,0,0,.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem;
  background: var(--navy); color: var(--white);
}
.cart-header h3 { font-size: 1.05rem; }
.cart-close { background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; line-height: 1; }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--gray); }
.cart-empty span { font-size: 3rem; display: block; margin-bottom: 1rem; }

.cart-item {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.cart-item img {
  width: 65px; height: 65px; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
  background: var(--light);
}
.cart-item-info { flex: 1; }
.cart-item-name  { font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.cart-item-price { color: var(--gold); font-weight: 700; font-size: .95rem; }
.cart-item-qty {
  display: flex; align-items: center; gap: .5rem;
  margin-top: .4rem;
}
.qty-btn {
  width: 26px; height: 26px; border-radius: 6px;
  border: 1.5px solid var(--border); background: var(--light);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.qty-val { font-weight: 600; font-size: .9rem; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--red); cursor: pointer; font-size: 1rem; padding: .2rem; }

.cart-footer { padding: 1.2rem 1.4rem; border-top: 1px solid var(--border); background: var(--white); }
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem;
}
.cart-total-amount { color: var(--gold); font-size: 1.2rem; }

/* ══════════════════════════════════════════════════════════
   MODAL (Checkout)
══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%; max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95);
  transition: transform var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal-header h3 { font-size: 1.05rem; }
.modal-close { background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
.modal-body  { padding: 1.5rem; }

.order-summary-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: .9rem; }
.order-summary-table th,
.order-summary-table td { padding: .6rem .8rem; border-bottom: 1px solid var(--border); text-align: left; }
.order-summary-table th { background: var(--light); color: var(--navy); font-weight: 700; }
.order-summary-total { font-weight: 800; font-size: 1rem; text-align: right; padding-top: .75rem; color: var(--navy); }
.order-summary-total span { color: var(--gold); font-size: 1.15rem; }

/* ══════════════════════════════════════════════════════════
   ORDER TRACKING
══════════════════════════════════════════════════════════ */
.tracking-section { padding: 5rem 1.25rem; min-height: calc(100vh - 68px); }
.tracking-box {
  max-width: 500px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
}
.tracking-result { margin-top: 1.5rem; }
.tracking-status {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 10px;
  margin-bottom: 1rem;
}
.tracking-icon { font-size: 2.5rem; }
.tracking-timeline {
  display: flex; justify-content: space-between;
  position: relative; margin: 1.5rem 0;
}
.tracking-timeline::before {
  content: '';
  position: absolute; top: 16px; left: 10%; right: 10%;
  height: 3px; background: var(--border); z-index: 0;
}
.timeline-step {
  display: flex; flex-direction: column; align-items: center;
  gap: .4rem; z-index: 1; flex: 1;
}
.step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: var(--gray);
}
.step-dot.active   { border-color: var(--navy); background: var(--navy); color: var(--white); }
.step-dot.done     { border-color: var(--green); background: var(--green); color: var(--white); }
.step-label { font-size: .72rem; font-weight: 600; color: var(--gray); text-align: center; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 3rem 1.25rem 1.5rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; margin-bottom: 2.5rem;
}
.footer-brand .brand-name { color: var(--white); font-size: 1.2rem; font-weight: 800; margin-bottom: .5rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; }
.footer ul li { margin-bottom: .5rem; font-size: .88rem; }
.footer ul li a { opacity: .75; transition: opacity var(--transition); }
.footer ul li a:hover { opacity: 1; color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  font-size: .82rem;
}
.footer-bottom a { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   ADMIN STYLES
══════════════════════════════════════════════════════════ */
.admin-body { background: #f0f2f5; }

.admin-layout { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: 250px; flex-shrink: 0;
  background: var(--navy);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.sidebar-logo {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-logo .brand { color: var(--white); font-size: 1rem; font-weight: 800; }
.sidebar-logo .sub   { color: var(--gold);  font-size: .72rem; margin-top: .2rem; }

.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-nav a {
  display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1.25rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem; font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-left-color: var(--gold);
}
.sidebar-nav a .nav-icon { width: 18px; text-align: center; font-size: 1rem; }

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* Admin Main */
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.admin-topbar h2 { font-size: 1.1rem; color: var(--navy); }
.topbar-right { display: flex; align-items: center; gap: 1rem; font-size: .88rem; color: var(--gray); }

.admin-content { padding: 1.5rem; flex: 1; }

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2rem; margin-bottom: 2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .4rem;
  border-left: 4px solid var(--navy);
}
.stat-card.gold-accent  { border-left-color: var(--gold); }
.stat-card.green-accent { border-left-color: var(--green); }
.stat-card.red-accent   { border-left-color: var(--red); }
.stat-label { font-size: .8rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--navy); }

/* Admin Table */
.admin-table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.admin-table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--border);
}
.admin-table-header h3 { font-size: 1rem; color: var(--navy); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th,
.admin-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
.admin-table th { background: var(--light); color: var(--navy); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8faff; }

.product-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; background: var(--light); }

/* Admin form panel */
.admin-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 1.5rem;
}
.admin-panel-header {
  padding: 1rem 1.3rem;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-panel-header h3 { font-size: 1rem; }
.admin-panel-body { padding: 1.5rem; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links  { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy2); padding: 1rem; gap: .5rem; }
  .nav-links.open { display: flex; }
  .navbar { position: relative; }

  .hero { padding: 3rem 1.25rem; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .product-actions { flex-wrap: wrap; }

  .sidebar { display: none; position: fixed; z-index: 9999; left: 0; top: 0; height: 100vh; }
  .sidebar.open { display: flex; }
  .admin-layout { flex-direction: column; }
  .admin-main { min-height: 100vh; }
  .admin-topbar { position: relative; }
  .mob-menu-btn { display: flex !important; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .tracking-box { padding: 1.5rem 1rem; }
  .modal { max-width: 100%; border-radius: var(--radius) var(--radius) 0 0; align-self: flex-end; }
  .modal-overlay { align-items: flex-end; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-btns    { flex-direction: column; align-items: center; }
}

/* ── Success page ── */
.success-page { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.success-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 3rem 2rem;
  text-align: center; max-width: 480px; width: 100%;
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-card h2 { color: var(--navy); margin-bottom: .75rem; }
.success-card p  { color: var(--gray); margin-bottom: 1.5rem; }
.success-ref { background: var(--light); border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1.5rem; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
