/* ======================================
   SARVASVA NATURALS – COMPONENTS CSS
   ====================================== */

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  background: white;
  outline: none;
  color: var(--text);
}
.form-control:focus { border-color: var(--forest); }
.form-control.error { border-color: #ef5350; }
.form-error { font-size: 12px; color: #ef5350; margin-top: 4px; }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}
.auth-visual {
  background: linear-gradient(160deg, var(--forest), #243b16);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.auth-visual::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,168,83,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.auth-visual-logo {
  font-family: var(--font-display);
  font-size: 30px;
  color: white;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.auth-visual-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  font-style: italic;
  font-family: var(--font-elegant);
  position: relative;
}
.auth-visual-facts {
  position: relative;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-fact {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.auth-fact-icon {
  width: 32px; height: 32px;
  background: rgba(212,168,83,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 14px;
}
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}
.auth-form-box { width: 100%; max-width: 400px; }
.auth-form-box h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--forest);
  margin-bottom: 8px;
}
.auth-form-box p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}
.auth-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin: 20px 0;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.auth-link {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
}
.auth-link a { color: var(--forest); font-weight: 600; }

/* ===== CART PAGE ===== */
.cart-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.cart-table { width: 100%; background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table-head {
  background: var(--warm);
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 40px;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cart-item-row {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 40px;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.cart-item-row:last-child { border-bottom: none; }
.cart-item-info { display: flex; align-items: center; gap: 16px; }
.cart-item-img {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-variant { font-size: 12px; color: var(--text-muted); }
.qty-control {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--forest);
  background: white;
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--warm); }
.qty-input {
  width: 40px; height: 32px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
.cart-item-price { font-weight: 600; font-size: 16px; }
.cart-remove-btn { color: var(--text-muted); font-size: 16px; transition: color 0.2s; }
.cart-remove-btn:hover { color: #ef5350; }
.cart-summary {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 24px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.summary-line.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--forest);
  border-top: 1.5px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
}
.shipping-note {
  background: rgba(90,122,58,0.1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sage);
  margin-bottom: 20px;
}
.coupon-form {
  display: flex; gap: 8px;
  margin-bottom: 20px;
}
.coupon-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}
.coupon-form input:focus { border-color: var(--forest); }
.coupon-form button {
  padding: 10px 16px;
  background: var(--warm);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  transition: background 0.2s;
}
.coupon-form button:hover { background: var(--cream-dk); }

/* ===== CHECKOUT ===== */
.checkout-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.checkout-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.checkout-section h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-section h3 span {
  width: 28px; height: 28px;
  background: var(--forest);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.address-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.address-card:hover, .address-card.selected {
  border-color: var(--forest);
  background: rgba(26,46,15,0.02);
}
.address-card input[type="radio"] { margin-top: 4px; accent-color: var(--forest); }
.address-label { font-size: 11px; font-weight: 600; color: var(--sage); text-transform: uppercase; letter-spacing: 1px; }
.address-text { font-size: 14px; line-height: 1.6; margin-top: 4px; }
.add-address-btn {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.add-address-btn:hover { border-color: var(--forest); color: var(--forest); }
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}
.payment-option:hover, .payment-option.selected {
  border-color: var(--forest);
  background: rgba(26,46,15,0.02);
}
.payment-option input[type="radio"] { accent-color: var(--forest); }
.payment-option-icon { font-size: 24px; }
.payment-option-info strong { display: block; font-size: 15px; margin-bottom: 2px; }
.payment-option-info span { font-size: 12px; color: var(--text-muted); }
.payment-option-badge {
  margin-left: auto;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(90,122,58,0.1);
  color: var(--sage);
  font-weight: 600;
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.success-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  max-width: 560px;
  box-shadow: var(--shadow-xl);
}
.success-icon {
  width: 80px; height: 80px;
  background: rgba(76,175,80,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  color: #4caf50;
}
.success-card h1 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--forest);
  margin-bottom: 12px;
}
.success-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.order-number-badge {
  background: var(--warm);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 32px;
  font-weight: 600;
}
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-gallery { position: sticky; top: calc(var(--nav-h) + 24px); }
.main-image {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--warm);
  margin-bottom: 16px;
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbnails { display: flex; gap: 12px; flex-wrap: wrap; }
.thumbnail {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.thumbnail.active { border-color: var(--forest); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 8px; }
.product-detail-origin {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 10px;
}
.product-detail-name {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 16px;
}
.product-detail-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.product-detail-price { font-size: 32px; font-weight: 700; color: var(--forest); }
.product-detail-original { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.product-detail-discount {
  background: rgba(196,98,45,0.1);
  color: var(--spice);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}
.product-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.p-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--forest);
  background: white;
}
.p-badge .icon { color: var(--gold); }
.product-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
}
.weight-selector { margin-bottom: 24px; }
.weight-selector label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.weight-options { display: flex; gap: 10px; flex-wrap: wrap; }
.weight-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}
.weight-btn.active, .weight-btn:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}
.add-to-cart-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}
.add-to-cart-large {
  flex: 1;
  padding: 16px;
  background: var(--forest);
  color: white;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.add-to-cart-large:hover { background: var(--forest-lt); }
.wishlist-btn {
  width: 52px; height: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
  transition: var(--transition);
}
.wishlist-btn:hover { border-color: #ef5350; color: #ef5350; }
.product-specs {
  background: var(--warm);
  border-radius: var(--radius-md);
  padding: 20px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--text-muted); }
.spec-value { font-weight: 600; color: var(--forest); }

/* ===== SHOP FILTERS ===== */
.shop-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
.shop-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.filter-section { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.filter-section h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 16px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s;
}
.filter-option:hover { color: var(--forest); }
.filter-option input { accent-color: var(--forest); }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-size: 14px; color: var(--text-muted); }
.sort-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: white;
  cursor: pointer;
}
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.page-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}

/* ===== ACCOUNT ===== */
.account-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.account-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.account-user {
  padding: 24px;
  background: var(--forest);
  color: white;
  text-align: center;
}
.account-avatar {
  width: 64px; height: 64px;
  background: rgba(212,168,83,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  color: var(--gold);
}
.account-name { font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.account-email { font-size: 12px; opacity: 0.7; }
.account-nav { padding: 8px; }
.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--transition);
}
.account-nav a:hover, .account-nav a.active {
  background: var(--warm);
  color: var(--forest);
}
.account-nav a.active { font-weight: 600; }
.account-main { display: flex; flex-direction: column; gap: 24px; }
.account-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.account-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.status-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.status-pending   { background: #fff8e1; color: #f57f17; }
.status-confirmed { background: #e8f5e9; color: #1b5e20; }
.status-shipped   { background: #e3f2fd; color: #0d47a1; }
.status-delivered { background: #e8f5e9; color: #1b5e20; }
.status-cancelled { background: #ffebee; color: #b71c1c; }

/* ===== ADMIN ===== */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--forest);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-logo {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  text-align: center;
  padding: 16px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--transition);
  margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.1);
  color: white;
}
.admin-nav a.active { color: var(--gold); }
.admin-main { padding: 32px; background: #f8f9fa; }
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.admin-header h1 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--forest);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.stat-value { font-family: var(--font-display); font-size: 32px; color: var(--forest); font-weight: 700; }
.stat-icon { float: right; font-size: 28px; opacity: 0.15; }
.data-table {
  width: 100%;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--warm);
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(245,240,232,0.5); }
.action-btns { display: flex; gap: 8px; }
.btn-sm {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-sm.edit { background: var(--warm); color: var(--forest); }
.btn-sm.delete { background: #ffebee; color: #c62828; }
.btn-sm.view { background: #e3f2fd; color: #1565c0; }
.btn-sm:hover { opacity: 0.8; }

/* ===== PROCESS PAGE ===== */
.process-hero {
  background: linear-gradient(135deg, #f5f0e8, #ede6d8);
  padding: 80px 24px;
  text-align: center;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.process-step {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: -10px; right: 16px;
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(26,46,15,0.04);
  font-weight: 700;
  line-height: 1;
}
.step-icon {
  width: 52px; height: 52px;
  background: var(--warm);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 12px;
}
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.advisor-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.advisor-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(30%); }
.advisor-info { padding: 20px; }
.advisor-name { font-family: var(--font-display); font-size: 18px; color: var(--forest); margin-bottom: 4px; }
.advisor-title { font-size: 12px; color: var(--sage); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.advisor-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .cart-page { grid-template-columns: 1fr; }
  .checkout-page { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .advisory-grid { grid-template-columns: 1fr; }
  .cart-table-head, .cart-item-row {
    grid-template-columns: 1fr auto;
  }
}
/* ===== ADMIN MOBILE DRAWER ===== */
.admin-topbar, .admin-overlay { display: none; }
@media (max-width: 768px) {
  .admin-topbar {
    display: flex; align-items: center; gap: 12px;
    position: sticky; top: 0; z-index: 900;
    background: var(--forest); color: var(--gold);
    padding: 12px 16px; font-family: var(--font-display); font-size: 16px;
  }
  .admin-menu-btn {
    background: none; border: 0; color: #fff; font-size: 22px;
    padding: 4px 8px; cursor: pointer; line-height: 1;
  }
  .admin-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 260px; max-width: 80vw; height: 100%;
    z-index: 1001; transform: translateX(-100%);
    transition: transform .25s ease; -webkit-overflow-scrolling: touch;
  }
  body.admin-menu-open .admin-sidebar { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,.35); }
  .admin-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,.45);
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
  }
  body.admin-menu-open .admin-overlay { display: block; opacity: 1; pointer-events: auto; }
  body.admin-menu-open { overflow: hidden; }
  .admin-main { padding: 16px; min-width: 0; }
  .admin-header { flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .admin-header h1 { font-size: 22px; }
  .admin-main table { display: block; overflow-x: auto; white-space: nowrap; max-width: 100%; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
