/* =====================================================================
   Sam Topup — Dark Luxury Store
   Design tokens
   ===================================================================== */
:root{
  /* Color */
  --bg-void:        #07080b;
  --bg-midnight:     #0d0f14;
  --bg-panel:        #14161d;
  --bg-panel-raised: #191c25;
  --border-soft:     rgba(255,255,255,0.08);
  --border-softer:   rgba(255,255,255,0.05);
  --gold:            #d4af37;
  --gold-bright:     #f2cd5c;
  --gold-dim:        rgba(212,175,55,0.14);
  --text-primary:    #f3f2ee;
  --text-secondary:  #a3a5ad;
  --text-muted:      #6d707a;
  --success:         #4ade80;
  --danger:          #f87171;
  --warning:         #fbbf24;

  /* Type */
  --font-display: 'Tajawal', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Layout */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 0 1px rgba(212,175,55,0.25), 0 12px 30px rgba(212,175,55,0.08);
  --header-h: 76px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body{
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* حل مشكلة إخفاء العناصر والنوافذ الحاملة لخاصية hidden */
[hidden],
.modal-overlay[hidden]{
  display: none !important;
}

a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }

::selection{ background: var(--gold-dim); color: var(--gold-bright); }

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Decorative ambient glows */
.bg-glow{
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.bg-glow--1{
  width: 520px; height: 520px;
  top: -220px; inset-inline-end: -160px;
  background: radial-gradient(circle, rgba(212,175,55,0.35), transparent 70%);
}
.bg-glow--2{
  width: 460px; height: 460px;
  bottom: -220px; inset-inline-start: -160px;
  background: radial-gradient(circle, rgba(212,175,55,0.18), transparent 70%);
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7,8,11,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-softer);
}

.header-inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand{ display: flex; align-items: center; gap: 10px; }
.brand-mark{
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold) 60%, #8a6f1f);
  color: #171006;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(212,175,55,0.35);
}
.brand-name{
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}

.main-nav{ display: flex; align-items: center; gap: 4px; }
.nav-link{
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover{ color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.is-active{ color: var(--gold-bright); background: var(--gold-dim); }

.header-actions{ display: flex; align-items: center; gap: 10px; }

.balance-pill{
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color .2s ease, transform .15s ease;
}
.balance-pill:hover{ border-color: rgba(212,175,55,0.4); transform: translateY(-1px); }
.icon-coin{ width: 18px; height: 18px; flex-shrink: 0; }

.hamburger{
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hamburger span{
  width: 18px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.mobile-nav{
  display: none;
  flex-direction: column;
  padding: 8px 20px 16px;
  border-bottom: 1px solid var(--border-softer);
  background: rgba(7,8,11,0.96);
}
.mobile-nav.is-open{ display: flex; }
.mobile-nav-link{
  padding: 12px 8px;
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid var(--border-softer);
}
.mobile-nav-link:last-child{ border-bottom: none; }
.mobile-nav-link.is-active{ color: var(--gold-bright); }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn:disabled{ opacity: 0.5; cursor: not-allowed; transform: none; }

.btn--primary{
  background: linear-gradient(145deg, var(--gold-bright), var(--gold) 65%);
  color: #171006;
  box-shadow: 0 10px 26px rgba(212,175,55,0.25);
}
.btn--primary:hover:not(:disabled){ box-shadow: 0 12px 30px rgba(212,175,55,0.4); transform: translateY(-1px); }

.btn--ghost{
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-soft);
}
.btn--ghost:hover:not(:disabled){ border-color: rgba(212,175,55,0.4); color: var(--gold-bright); }

.btn--icon{
  width: 46px; height: 46px;
  padding: 0;
  border-radius: 14px;
  background: var(--bg-panel-raised);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  flex-shrink: 0;
}
.btn--icon:hover{ color: var(--gold-bright); border-color: rgba(212,175,55,0.35); }

.icon-refresh{ width: 18px; height: 18px; }
.icon-refresh.is-spinning{ animation: spin 0.9s linear infinite; }

@keyframes spin{ to{ transform: rotate(360deg); } }

.spinner{
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(23,16,6,0.25);
  border-top-color: #171006;
  animation: spin 0.7s linear infinite;
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero{
  position: relative;
  z-index: 1;
  padding: 76px 24px 56px;
  text-align: center;
}
.hero-inner{ max-width: 760px; margin: 0 auto; }

.hero-eyebrow{
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 22px;
  background: var(--gold-dim);
}

.hero-title{
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 18px;
}
.hero-title-accent{
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, #b98f22);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc{
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 34px;
}

.hero-actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stat{ display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-stat__num{ font-size: 1.4rem; font-weight: 800; color: var(--gold-bright); }
.hero-stat__label{ font-size: 0.82rem; color: var(--text-muted); }
.hero-stat-divider{ width: 1px; height: 34px; background: var(--border-soft); }

/* =====================================================================
   Wallet section
   ===================================================================== */
.wallet-section{
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

.wallet-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-panel-raised), var(--bg-panel));
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.wallet-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(212,175,55,0.1), transparent 60%);
  pointer-events: none;
}

.wallet-card__label{
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.wallet-card__value-row{ display: flex; align-items: baseline; gap: 8px; }
.wallet-card__value{
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-bright);
  font-family: var(--font-mono);
}
.wallet-card__value.is-loading{ font-size: 1.05rem; color: var(--text-muted); font-family: var(--font-display); }
.wallet-card__currency{ color: var(--text-secondary); font-weight: 600; font-size: 0.95rem; }

/* =====================================================================
   Section heads
   ===================================================================== */
.section-head{ text-align: center; margin-bottom: 30px; }
.section-title{ font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 8px; }
.section-sub{ color: var(--text-secondary); margin: 0; font-size: 0.98rem; }

.products-section, .orders-section{
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}

/* =====================================================================
   Toolbar: search + filters
   ===================================================================== */
.products-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.search-box{
  flex: 1 1 280px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  transition: border-color .2s ease;
}
.search-box:focus-within{ border-color: rgba(212,175,55,0.4); }
.icon-search{ width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.search-box input{
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
}
.search-box input:focus{ outline: none; }
.search-box input::placeholder{ color: var(--text-muted); }

.filter-chips{ display: flex; gap: 8px; flex-wrap: wrap; }
.chip{
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all .2s ease;
}
.chip:hover{ color: var(--text-primary); }
.chip.is-active{
  background: var(--gold-dim);
  border-color: rgba(212,175,55,0.4);
  color: var(--gold-bright);
}

/* =====================================================================
   Products grid & card
   ===================================================================== */
.products-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card{
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
}
.product-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.3);
  box-shadow: var(--shadow-gold);
}

.product-card__top{ display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.product-card__name{ font-size: 1.08rem; font-weight: 700; margin: 0; }

.stock-badge{
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.stock-badge--in{ background: rgba(74,222,128,0.12); color: var(--success); }
.stock-badge--out{ background: rgba(248,113,113,0.12); color: var(--danger); }

.product-card__desc{
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 18px;
  flex-grow: 1;
}

.product-card__price-row{
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.product-card__price{ font-size: 1.35rem; font-weight: 800; color: var(--gold-bright); font-family: var(--font-mono); }
.product-card__currency{ color: var(--text-muted); font-size: 0.85rem; }

.product-card__stock-line{ color: var(--text-muted); font-size: 0.82rem; margin-bottom: 18px; }

.qty-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.qty-stepper{
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-panel-raised);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
}
.qty-btn{
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  transition: background .15s ease;
}
.qty-btn:hover:not(:disabled){ background: var(--gold-dim); color: var(--gold-bright); }
.qty-btn:disabled{ opacity: 0.35; cursor: not-allowed; }
.qty-value{
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-mono);
}

.product-card__buy-btn{ width: 100%; }

/* Skeleton loading */
.skeleton-card{
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
}
.skeleton-line{
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bg-panel-raised) 25%, rgba(255,255,255,0.06) 37%, var(--bg-panel-raised) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  margin-bottom: 12px;
}
@keyframes shimmer{ 0%{ background-position: 100% 50%; } 100%{ background-position: 0 50%; } }

.empty-state{
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

/* =====================================================================
   Orders section
   ===================================================================== */
.orders-table-wrap{
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: var(--bg-panel);
}
.orders-table{ width: 100%; border-collapse: collapse; }
.orders-table th{
  text-align: start;
  padding: 16px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-soft);
}
.orders-table td{
  padding: 16px 18px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-softer);
}
.orders-table tbody tr:last-child td{ border-bottom: none; }
.orders-table tbody tr{ transition: background .15s ease; cursor: pointer; }
.orders-table tbody tr:hover{ background: rgba(255,255,255,0.02); }
.order-id-cell{ font-family: var(--font-mono); color: var(--text-secondary); font-size: 0.85rem; }
.order-total-cell{ color: var(--gold-bright); font-weight: 700; font-family: var(--font-mono); }

.orders-cards{ display: none; flex-direction: column; gap: 14px; }
.order-card{
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
}
.order-card__top{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.order-card__name{ font-weight: 700; }
.order-card__id{ font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.order-card__row{ display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--text-secondary); padding: 4px 0; }
.order-card__row strong{ color: var(--text-primary); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer{
  position: relative; z-index: 1;
  border-top: 1px solid var(--border-softer);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner{ max-width: 1200px; margin: 0 auto; }
.brand--footer{ justify-content: center; margin-bottom: 12px; }
.footer-tagline{ color: var(--text-secondary); margin: 0 0 6px; font-size: 0.92rem; }
.footer-copy{ color: var(--text-muted); margin: 0; font-size: 0.82rem; }

/* =====================================================================
   Modals
   ===================================================================== */
.modal-overlay{
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(4,5,7,0.72);
  backdrop-filter: blur(6px);
  padding: 0;
  animation: fadeIn .18s ease;
}
@media (min-width: 640px){
  .modal-overlay{ align-items: center; padding: 24px; }
}
@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }

.modal{
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(165deg, var(--bg-panel-raised), var(--bg-panel));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 30px 26px 26px;
  position: relative;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
  animation: slideUp .22s cubic-bezier(.22,.9,.32,1);
}
@media (min-width: 640px){
  .modal{ border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
}
@keyframes slideUp{ from{ transform: translateY(24px); opacity: 0; } to{ transform: translateY(0); opacity: 1; } }

.modal-close{
  position: absolute;
  top: 18px; inset-inline-end: 18px;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: grid; place-items: center;
}
.modal-close:hover{ color: var(--text-primary); }

.modal-title{ font-size: 1.25rem; font-weight: 800; margin: 0 0 22px; padding-inline-end: 30px; }
.modal-title--center{ text-align: center; padding-inline-end: 0; }

.success-check{
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(74,222,128,0.12);
  color: var(--success);
  display: grid; place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
}

.modal-summary{ display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.modal-row{ display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.modal-row__label{ color: var(--text-muted); font-size: 0.9rem; }
.modal-row__value{ font-weight: 700; font-size: 0.95rem; text-align: end; }
.modal-row__value--accent{ color: var(--gold-bright); font-family: var(--font-mono); }
.modal-row__value--mono{ font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-secondary); }
.modal-row--total{ padding-top: 14px; }
.modal-row--total .modal-row__label{ color: var(--text-primary); font-weight: 700; }
.modal-row--total .modal-row__value{ font-size: 1.25rem; }
.modal-divider{ height: 1px; background: var(--border-soft); margin: 6px 0; }

.modal-actions{ display: flex; gap: 12px; }
.modal-actions .btn{ flex: 1; }

.delivered-codes{ margin-bottom: 22px; }
.delivered-codes__title{ font-size: 0.92rem; color: var(--text-secondary); margin: 0 0 12px; font-weight: 600; }
.delivered-codes__list{ display: flex; flex-direction: column; gap: 8px; }
.code-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
}
.code-row__text{
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--gold-bright);
  overflow-x: auto;
  white-space: nowrap;
  flex: 1;
}
.code-copy-btn{
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
}
.code-copy-btn:hover{ background: rgba(212,175,55,0.24); }

/* =====================================================================
   Toasts
   ===================================================================== */
.toast-container{
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(100% - 32px);
  max-width: 380px;
  align-items: center;
}
.toast{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--bg-panel-raised);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  font-weight: 600;
  animation: toastIn .25s cubic-bezier(.22,.9,.32,1);
}
@keyframes toastIn{ from{ transform: translateY(12px); opacity: 0; } to{ transform: translateY(0); opacity: 1; } }
.toast.is-leaving{ animation: toastOut .2s ease forwards; }
@keyframes toastOut{ to{ transform: translateY(8px); opacity: 0; } }

.toast--success{ border-color: rgba(74,222,128,0.3); color: var(--success); }
.toast--error{ border-color: rgba(248,113,113,0.3); color: var(--danger); }
.toast--warning{ border-color: rgba(251,191,36,0.3); color: var(--warning); }
.toast--info{ border-color: rgba(212,175,55,0.3); color: var(--gold-bright); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 860px){
  .main-nav{ display: none; }
  .hamburger{ display: flex; }
}

@media (max-width: 720px){
  .orders-table-wrap{ display: none; }
  .orders-cards{ display: flex; }
}

@media (max-width: 480px){
  .header-inner{ padding: 0 16px; }
  .brand-name{ font-size: 1.02rem; }
  .balance-pill__value{ display: none; }
  .balance-pill{ padding: 10px; }
  .hero{ padding: 52px 16px 40px; }
  .hero-actions{ flex-direction: column; width: 100%; }
  .hero-actions .btn{ width: 100%; }
  .wallet-section, .products-section, .orders-section{ padding-left: 16px; padding-right: 16px; }
  .wallet-card{ flex-direction: row; padding: 20px; }
  .wallet-card__value{ font-size: 1.5rem; }
  .products-toolbar{ flex-direction: column; align-items: stretch; }
  .search-box{ max-width: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
