/* ============================================
   DESIGN TOKENS — "devmarket" light theme
   Clean, friendly marketplace look: white surfaces,
   a deep-green hero band, mint-green accent, dark
   navy footer. Single-page structure.
   ============================================ */
:root{
  --bg:            #F6F8FB;
  --surface:       #FFFFFF;
  --surface-alt:   #F1F4F8;
  --border:        #E6EAF0;
  --border-soft:   #EEF1F5;

  --hero-bg:       #16321F;
  --hero-bg-2:     #1E4029;

  --navy:          #0E1526;
  --navy-2:        #141C30;

  --text:          #101828;
  --text-dim:      #5B6472;
  --text-faint:    #98A2B3;
  --text-on-dark:  #F5F7FA;
  --text-on-dark-dim: #AEB8C4;

  --green:         #33C77F;
  --green-dark:    #1FA867;
  --green-tint:    #E7F9EF;

  --amber:         #F5A524;
  --red:           #EF4444;
  --cyan:          #2AAFC7;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Poppins', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(16,24,40,0.04), 0 8px 24px rgba(16,24,40,0.06);
  --shadow-pop:  0 12px 32px rgba(16,24,40,0.12);
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
img{ max-width:100%; display:block; }
::selection{ background:var(--green); color:#fff; }
:focus-visible{ outline:2px solid var(--green); outline-offset:2px; }

.container{ max-width:1180px; margin:0 auto; padding:0 24px; }
.grid-bg{ background:var(--bg); }

/* ---------- Utility ---------- */
.eyebrow{
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  color:var(--green);
  letter-spacing:0.02em;
  text-transform:uppercase;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 26px;
  border-radius:var(--radius-pill);
  font-family:var(--sans);
  font-size:14.5px;
  font-weight:600;
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(0.97); }

.btn-primary{
  background:var(--green);
  color:#fff;
  box-shadow:0 6px 16px rgba(51,199,127,0.35);
}
.btn-primary:hover{ background:var(--green-dark); }

.btn-ghost{
  background:var(--surface);
  color:var(--text);
  border:1.5px solid var(--border);
}
.btn-ghost:hover{ border-color:var(--text-faint); background:var(--surface-alt); }

.btn-dark{
  background:var(--navy);
  color:#fff;
}
.btn-dark:hover{ background:var(--navy-2); }

.btn-danger{
  background:transparent;
  color:var(--red);
  border:1.5px solid rgba(239,68,68,0.3);
}
.btn-danger:hover{ background:rgba(239,68,68,0.06); }

.btn-block{ width:100%; }
.btn-sm{ padding:9px 18px; font-size:13px; }

.tag{
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  padding:6px 14px;
  border-radius:var(--radius-pill);
  border:1px solid rgba(255,255,255,0.16);
  color:var(--text-on-dark);
  background:rgba(255,255,255,0.06);
}

/* ---------- Navbar ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-soft);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.logo{
  font-family:var(--display);
  font-weight:700;
  font-size:20px;
  color:var(--text);
  display:flex; align-items:center; gap:3px;
}
.logo .dot{ color:var(--green); font-size:24px; line-height:0; }
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{ font-size:14px; font-weight:500; color:var(--text-dim); transition:color .15s; }
.nav-links a:hover{ color:var(--text); }
.nav-actions{ display:flex; align-items:center; gap:14px; }

.icon-btn{
  position:relative;
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  border:1.5px solid var(--border);
  color:var(--text-dim);
  background:var(--surface);
}
.icon-btn:hover{ color:var(--text); border-color:var(--text-faint); }
.cart-count{
  position:absolute; top:-4px; right:-4px;
  background:var(--green); color:#fff;
  font-family:var(--sans); font-size:10px; font-weight:700;
  min-width:17px; height:17px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  padding:0 3px; border:2px solid var(--surface);
}

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(160deg, var(--hero-bg), var(--hero-bg-2));
  padding:90px 0 100px;
  position:relative;
  overflow:hidden;
  color:var(--text-on-dark);
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(600px 300px at 85% 10%, rgba(51,199,127,0.16), transparent);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.hero h1{
  font-family:var(--display);
  font-size:52px;
  line-height:1.1;
  font-weight:700;
  margin-bottom:20px;
  letter-spacing:-0.01em;
}
.hero p{
  color:var(--text-on-dark-dim);
  font-size:16.5px;
  max-width:480px;
  margin-bottom:28px;
}

.hero-feature-card{
  display:flex; align-items:center; gap:16px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius-md);
  padding:16px 18px;
  margin-bottom:26px;
  max-width:460px;
}
.hero-feature-icon{
  width:46px; height:46px; border-radius:12px;
  background:var(--surface);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; flex-shrink:0;
}
.hero-feature-text{ flex:1; }
.hero-feature-text b{ display:block; font-size:14.5px; color:#fff; }
.hero-feature-text span{ font-size:12.5px; color:var(--text-on-dark-dim); }

.hero-ctas{ display:flex; gap:12px; margin-bottom:32px; flex-wrap:wrap; }
.hero-badges{ display:flex; gap:10px; flex-wrap:wrap; }

.hero-visual{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:16/10.4;
  background:linear-gradient(135deg, #0F2A1B, #1E4029);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:var(--shadow-pop);
}
.hero-visual-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:32px 32px;
}
.hero-visual-content{
  position:relative; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:32px;
}
.play-btn{
  width:76px; height:76px; border-radius:50%;
  background:var(--green);
  display:flex; align-items:center; justify-content:center;
  font-size:26px; color:#fff;
  box-shadow:0 10px 30px rgba(51,199,127,0.5);
  margin-bottom:20px;
  transition:transform .2s;
}
.hero-visual:hover .play-btn{ transform:scale(1.06); }
.hero-visual-content h3{ font-family:var(--display); font-size:19px; color:#fff; margin-bottom:8px; }
.hero-visual-content p{ font-size:13.5px; color:var(--text-on-dark-dim); max-width:320px; }
.visual-pill{
  position:absolute; top:18px; left:18px;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.18);
  padding:6px 12px; border-radius:var(--radius-pill);
  font-size:11.5px; font-weight:600; color:#fff;
  display:flex; align-items:center; gap:6px;
}
.visual-pill .live-dot{ width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 6px var(--green); }

/* ---------- Section heading ---------- */
.section{ padding:80px 0; }
.section-head{ margin-bottom:44px; text-align:center; }
.section-head h2{ font-family:var(--display); font-size:32px; font-weight:700; margin-bottom:10px; color:var(--text); }
.section-head p{ color:var(--text-dim); font-size:15.5px; }

/* ---------- Search bar ---------- */
.search-bar{
  display:flex; align-items:center; gap:12px;
  background:var(--surface);
  border:1.5px solid var(--border);
  border-radius:var(--radius-pill);
  padding:16px 24px;
  box-shadow:var(--shadow-card);
  margin-bottom:36px;
}
.search-bar span{ color:var(--text-faint); font-size:16px; }
.search-bar input{ border:none; outline:none; flex:1; font-size:15px; background:transparent; color:var(--text); }
.search-bar input::placeholder{ color:var(--text-faint); }

/* ---------- Service cards (grid) ---------- */
.svc-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
.svc-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  transition:transform .18s ease, box-shadow .18s ease;
  display:flex; flex-direction:column;
}
.svc-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-pop); }

.svc-thumb{
  position:relative;
  aspect-ratio:16/10;
  background:linear-gradient(135deg, var(--cat-color-1, #16321F), var(--cat-color-2, #1E4029));
  display:flex; align-items:flex-end; padding:16px;
}
.svc-thumb::before{
  content:attr(data-ext);
  position:absolute; top:16px; left:16px;
  font-family:var(--mono); font-weight:700; font-size:12px; color:#fff;
  background:rgba(255,255,255,0.16); border:1px solid rgba(255,255,255,0.25);
  padding:4px 10px; border-radius:var(--radius-pill);
}
.thumb-badge{
  position:absolute; top:16px; right:16px;
  background:#fff; color:var(--text);
  font-size:11px; font-weight:700; letter-spacing:0.02em;
  padding:6px 12px; border-radius:var(--radius-pill);
  text-transform:uppercase;
}
.thumb-duration{
  background:rgba(15,20,30,0.55);
  color:#fff; font-size:12px; font-weight:600;
  padding:6px 12px; border-radius:var(--radius-pill);
  display:inline-flex; align-items:center; gap:6px;
}

.svc-body{ padding:22px; display:flex; flex-direction:column; flex:1; }
.svc-body h3{ font-family:var(--display); font-size:18px; font-weight:600; margin-bottom:8px; }
.svc-body p{ color:var(--text-dim); font-size:13.5px; line-height:1.6; flex:1; margin-bottom:18px; }
.svc-foot{
  display:flex; align-items:center; justify-content:space-between;
  border-top:1px solid var(--border-soft); padding-top:16px;
}
.svc-foot .price-label{ font-size:11.5px; color:var(--text-faint); display:block; margin-bottom:2px; }
.svc-foot .price{ font-family:var(--display); font-size:22px; font-weight:700; color:var(--text); }
.svc-arrow{
  width:42px; height:42px; border-radius:50%;
  background:var(--green-tint); color:var(--green-dark);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:700;
  transition:background .15s, color .15s;
}
.svc-arrow:hover{ background:var(--green); color:#fff; }

/* ---------- Why choose / feature grid ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feature-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:26px 22px;
  box-shadow:var(--shadow-card);
}
.feature-icon{
  width:44px; height:44px; border-radius:12px;
  background:var(--green-tint);
  display:flex; align-items:center; justify-content:center;
  font-size:19px; margin-bottom:16px;
}
.feature-card h3{ font-family:var(--display); font-size:16px; font-weight:600; margin-bottom:8px; }
.feature-card p{ color:var(--text-dim); font-size:13.5px; line-height:1.6; }

/* ---------- Footer ---------- */
.footer{
  background:var(--navy);
  color:var(--text-on-dark-dim);
  padding:56px 0 26px;
  margin-top:0;
}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px;
  padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-logo{ font-family:var(--display); font-weight:700; font-size:20px; color:#fff; margin-bottom:12px; }
.footer-logo .dot{ color:var(--green); }
.footer-grid p{ font-size:13.5px; line-height:1.7; max-width:280px; }
.footer-col h4{ color:#fff; font-size:14px; font-weight:600; margin-bottom:16px; }
.footer-col a{ display:block; font-size:13.5px; margin-bottom:10px; color:var(--text-on-dark-dim); transition:color .15s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  padding-top:22px; text-align:center; font-size:12.5px; color:var(--text-faint);
}

/* ---------- Cards / panels (cart, checkout, profile, admin) ---------- */
.panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
}
.panel-head{
  padding:20px 26px;
  border-bottom:1px solid var(--border-soft);
  display:flex; align-items:center; justify-content:space-between;
}
.panel-head h2{ font-family:var(--display); font-size:16.5px; font-weight:600; }
.panel-body{ padding:26px; }

/* ---------- Page header (non-hero pages) ---------- */
.page-head{ padding:52px 0 8px; }
.page-head .eyebrow{ margin-bottom:10px; display:block; }
.page-head h1{ font-family:var(--display); font-size:30px; font-weight:700; }

/* ---------- Cart page ---------- */
.cart-layout{ display:grid; grid-template-columns:1.7fr 1fr; gap:28px; align-items:start; }
.cart-item{
  display:grid; grid-template-columns:auto 1fr auto auto;
  gap:16px; align-items:center;
  padding:20px 26px;
  border-bottom:1px solid var(--border-soft);
}
.cart-item:last-child{ border-bottom:none; }
.cart-item-name b{ display:block; font-size:14.5px; margin-bottom:4px; }
.cart-item-name span{ font-size:12px; color:var(--text-faint); }
.qty-stepper{
  display:flex; align-items:center; gap:0;
  border:1px solid var(--border); border-radius:var(--radius-pill);
  background:var(--surface-alt); overflow:hidden;
}
.qty-stepper button{
  width:30px; height:30px; display:flex; align-items:center; justify-content:center;
  font-size:15px; font-weight:700; color:var(--text-dim);
  transition:background .15s, color .15s;
}
.qty-stepper button:hover{ background:var(--surface); color:var(--text); }
.qty-stepper button:active{ transform:scale(0.94); }
.qty-stepper .qty-num{
  min-width:26px; text-align:center; font-size:13px; font-weight:700; color:var(--text);
}
.cart-item-price{ font-family:var(--display); font-weight:600; font-size:15px; white-space:nowrap; }
.remove-btn{ color:var(--text-faint); font-size:12.5px; }
.remove-btn:hover{ color:var(--red); }

.summary-row{ display:flex; justify-content:space-between; font-size:14px; color:var(--text-dim); padding:9px 0; }
.summary-row.total{
  color:var(--text); font-family:var(--display); font-weight:700; font-size:18px;
  border-top:1px solid var(--border-soft); margin-top:8px; padding-top:18px;
}
.empty-state{ text-align:center; padding:70px 24px; color:var(--text-dim); }
.empty-state .glyph{ font-size:40px; margin-bottom:14px; }

/* ---------- Checkout page ---------- */
.checkout-layout{ display:grid; grid-template-columns:1.5fr 1fr; gap:28px; align-items:start; }
.form-group{ margin-bottom:18px; }
.form-group label{ display:block; font-size:13px; font-weight:600; color:var(--text-dim); margin-bottom:8px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
input, select{
  width:100%;
  background:var(--surface-alt);
  border:1.5px solid var(--border);
  border-radius:var(--radius-sm);
  padding:12px 14px;
  color:var(--text);
  font-family:var(--sans);
  font-size:14px;
  transition:border-color .15s, background .15s;
}
input::placeholder{ color:var(--text-faint); }
input:focus, select:focus{ border-color:var(--green); outline:none; background:var(--surface); }

.pay-methods{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px; }
.pay-method{
  border:1.5px solid var(--border); border-radius:var(--radius-sm);
  padding:14px; display:flex; align-items:center; gap:10px;
  cursor:pointer; transition:border-color .15s, background .15s;
  font-size:13.5px; font-weight:500;
}
.pay-method.active{ border-color:var(--green); background:var(--green-tint); }
.pay-method input{ width:auto; }

.order-line{ display:flex; justify-content:space-between; font-size:13.5px; padding:10px 0; border-bottom:1px solid var(--border-soft); }
.order-line:last-of-type{ border-bottom:none; }
.trust-note{ display:flex; gap:8px; align-items:flex-start; font-size:12.5px; color:var(--text-faint); margin-top:16px; line-height:1.6; }

/* ---------- Auth pages ---------- */
.auth-wrap{ min-height:calc(100vh - 76px); display:flex; align-items:center; justify-content:center; padding:40px 20px; background:var(--bg); }
.auth-card{ width:100%; max-width:400px; }
.auth-card h1{ font-family:var(--display); font-size:24px; font-weight:700; margin-bottom:6px; }
.auth-card > p{ color:var(--text-dim); font-size:13.5px; margin-bottom:28px; }
.divider{ display:flex; align-items:center; gap:12px; color:var(--text-faint); font-size:12px; margin:20px 0; }
.divider::before, .divider::after{ content:""; flex:1; height:1px; background:var(--border); }
.google-btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; padding:13px; border-radius:var(--radius-pill);
  border:1.5px solid var(--border); background:var(--surface);
  font-size:14px; font-weight:600; color:var(--text);
  transition:border-color .15s, background .15s;
}
.google-btn:hover{ border-color:var(--text-faint); background:var(--surface-alt); }
.auth-foot{ text-align:center; font-size:13.5px; color:var(--text-dim); margin-top:22px; }
.auth-foot a{ color:var(--green-dark); font-weight:600; }

/* ---------- Profile page ---------- */
.profile-layout{ display:grid; grid-template-columns:240px 1fr; gap:28px; align-items:start; }
.profile-nav{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:12px; box-shadow:var(--shadow-card); }
.profile-nav a{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:var(--radius-sm); font-size:14px; font-weight:500; color:var(--text-dim); }
.profile-nav a:hover{ background:var(--surface-alt); color:var(--text); }
.profile-nav a.active{ background:var(--green-tint); color:var(--green-dark); }
.profile-user{ display:flex; align-items:center; gap:12px; padding:14px; margin-bottom:8px; border-bottom:1px solid var(--border-soft); }
.avatar{
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(135deg, var(--green), var(--cyan));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:700; color:#fff; font-size:14px;
}
.profile-user b{ display:block; font-size:14px; }
.profile-user span{ font-size:11.5px; color:var(--text-faint); }

.order-row{ display:grid; grid-template-columns:auto 1.6fr 1fr 1fr auto; align-items:center; gap:14px; padding:18px 26px; border-bottom:1px solid var(--border-soft); }
.order-row:last-child{ border-bottom:none; }
.status-pill{ font-size:11px; font-weight:700; padding:5px 12px; border-radius:var(--radius-pill); display:inline-block; white-space:nowrap; }
.status-pending{ background:#FEF3E2; color:var(--amber); }
.status-progress{ background:#E7F6FA; color:var(--cyan); }
.status-delivered{ background:var(--green-tint); color:var(--green-dark); }

/* ---------- Admin ---------- */
.admin-shell{ display:grid; grid-template-columns:240px 1fr; min-height:100vh; background:var(--bg); }
.admin-sidebar{ background:var(--surface); border-right:1px solid var(--border-soft); padding:22px 14px; position:sticky; top:0; height:100vh; }
.admin-logo{ font-family:var(--display); font-weight:700; font-size:16px; display:flex; align-items:center; gap:4px; padding:10px 10px 26px; }
.admin-logo .dot{ color:var(--green); }
.admin-nav a{ display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:var(--radius-sm); font-size:14px; color:var(--text-dim); margin-bottom:2px; font-weight:500; }
.admin-nav a:hover{ background:var(--surface-alt); color:var(--text); }
.admin-nav a.active{ background:var(--green-tint); color:var(--green-dark); }
.admin-nav .section-label{ font-size:11px; color:var(--text-faint); text-transform:uppercase; letter-spacing:0.06em; padding:18px 12px 6px; font-weight:600; }

.admin-main{ padding:36px 40px; }
.admin-topbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.admin-topbar h1{ font-family:var(--display); font-size:24px; font-weight:700; }
.admin-topbar p{ color:var(--text-dim); font-size:13.5px; margin-top:4px; }

.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:28px; }
.stat-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:20px 22px; box-shadow:var(--shadow-card); }
.stat-card .label{ font-size:12px; color:var(--text-faint); font-weight:600; text-transform:uppercase; letter-spacing:0.04em; }
.stat-card .value{ font-family:var(--display); font-size:26px; font-weight:700; margin-top:8px; }
.stat-card .delta{ font-size:12px; margin-top:6px; font-weight:600; }
.delta.up{ color:var(--green-dark); }
.delta.down{ color:var(--red); }

.data-table{ width:100%; border-collapse:collapse; }
.data-table th{ text-align:left; font-size:11.5px; color:var(--text-faint); font-weight:700; text-transform:uppercase; letter-spacing:0.04em; padding:14px 26px; border-bottom:1px solid var(--border-soft); background:var(--surface-alt); }
.data-table td{ padding:16px 26px; border-bottom:1px solid var(--border-soft); font-size:13.5px; }
.data-table tr:last-child td{ border-bottom:none; }
.data-table tr:hover td{ background:var(--surface-alt); }

.row-actions{ display:flex; gap:8px; }
.row-actions button{ font-size:12.5px; font-weight:600; }
.status-select{ font-size:12.5px; background:var(--surface-alt); border:1.5px solid var(--border); border-radius:var(--radius-sm); padding:7px 10px; color:var(--text); font-weight:500; }

.modal-overlay{ position:fixed; inset:0; background:rgba(14,21,38,0.55); display:flex; align-items:center; justify-content:center; z-index:100; }
.modal{ width:100%; max-width:440px; }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero h1{ font-size:38px; }
  .svc-grid{ grid-template-columns:1fr; }
  .feature-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .cart-layout, .checkout-layout, .profile-layout{ grid-template-columns:1fr; }
  .nav-links{ display:none; }
  .form-row{ grid-template-columns:1fr; }
  .pay-methods{ grid-template-columns:1fr; }
  .order-row{ grid-template-columns:1fr; text-align:left; }
  .admin-shell{ grid-template-columns:1fr; }
  .admin-sidebar{ position:static; height:auto; }
  .stat-grid{ grid-template-columns:1fr 1fr; }
  .admin-main{ padding:20px; }
}
