/* ============ Naturelle Santé — design premium nature ============ */
:root {
  --forest: #1b4332;
  --forest-2: #2d6a4f;
  --green: #40916c;
  --green-light: #95d5b2;
  --mint: #e7f3ec;
  --beige: #f7f3ec;
  --beige-2: #efe8db;
  --gold: #c9a227;
  --gold-soft: #e6d9a8;
  --ink: #1f2a24;
  --muted: #5f6f66;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 67, 50, 0.10);
  --shadow-lg: 0 18px 50px rgba(27, 67, 50, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--beige);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; color: var(--forest); line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: var(--forest-2); text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .kicker, .kicker {
  display: inline-block; letter-spacing: 3px; text-transform: uppercase;
  font-size: 0.72rem; font-weight: 700; color: var(--gold);
  margin-bottom: 10px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  font: 600 0.95rem "Inter", sans-serif; transition: all 0.25s ease; text-align: center;
}
.btn-primary { background: var(--forest-2); color: #fff; box-shadow: 0 8px 20px rgba(45, 106, 79, 0.35); }
.btn-primary:hover { background: var(--forest); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(120deg, var(--gold), #ac8a1d); color: #fff; }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--forest); border: 1.5px solid var(--forest-2); }
.btn-outline:hover { background: var(--forest-2); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-danger { background: #b3372f; color: #fff; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- En-tête ---------- */
.topbar { background: var(--forest); color: #dff2e6; font-size: 0.8rem; }
.topbar a { color: var(--gold-soft); font-weight: 600; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); box-shadow: 0 2px 18px rgba(27,67,50,0.08); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-leaf { color: var(--forest-2); width: 40px; height: 40px; }
.brand-leaf svg { width: 40px; height: 40px; }
.brand-text { font-family: "Playfair Display", serif; font-size: 1.35rem; color: var(--ink); line-height: 1; }
.brand-text b { color: var(--forest-2); }
.brand-text small { display: block; font-family: "Inter", sans-serif; font-size: 0.58rem; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { font-weight: 600; font-size: 0.93rem; color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.25s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--forest-2); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link { position: relative; color: var(--forest); display: flex; padding: 6px; }
.cart-badge {
  position: absolute; top: -2px; right: -4px; background: var(--gold); color: #fff;
  font-size: 0.66rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--forest); cursor: pointer; }

/* ---------- Héro ---------- */
.hero {
  position: relative; color: #fff; padding: 110px 0 130px; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(201,162,39,0.28), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(149,213,178,0.25), transparent 60%),
    linear-gradient(135deg, #143726 0%, #1b4332 45%, #2d6a4f 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.10; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M40 90c-6-22 4-52 38-64 12 23 8 52-17 64-8 4-15 2-21 0Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 130px;
}
.hero-in { position: relative; z-index: 1; max-width: 700px; }
.hero .kicker { color: var(--gold-soft); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 18px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p { font-size: 1.08rem; color: #d8eadf; max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 1.6rem; font-family: "Playfair Display", serif; color: var(--gold-soft); }
.hero-stats span { font-size: 0.85rem; color: #cfe5d8; }

/* ---------- Cartes produit ---------- */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; display: block; aspect-ratio: 1 / 0.85; overflow: hidden; background: var(--mint); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative;
  background: linear-gradient(140deg, var(--mint), #d3eadd); }
.ph-leaf { color: var(--green); opacity: 0.9; }
.ph-leaf svg { width: 84px; height: 84px; }
.ph-letter { position: absolute; font-family: "Playfair Display", serif; font-size: 5.4rem; color: rgba(27,67,50,0.10); font-weight: 700; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #fff; }
.badge-promo { background: #c0392b; }
.badge-new { background: var(--gold); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.card-title { margin: 0; font-size: 1.02rem; font-family: "Inter", sans-serif; font-weight: 600; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--forest-2); }
.card-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.card-price strong { color: var(--forest-2); font-size: 1.12rem; }
.card-price s { color: #b0463c; font-size: 0.88rem; }
.out-of-stock { color: #b3372f; font-weight: 600; font-size: 0.86rem; }

/* ---------- Sections accueil ---------- */
.section-alt { background: #fff; }
.section-forest { background: linear-gradient(135deg, #143726, #1b4332); color: #e3f1e9; }
.section-forest h2, .section-forest h3 { color: #fff; }
.cats-grid a.cat-tile {
  background: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center;
  box-shadow: var(--shadow); font-weight: 600; color: var(--forest); transition: all 0.25s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-tile .cat-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--mint); color: var(--forest-2); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.cats-grid a.cat-tile:hover { background: var(--forest-2); color: #fff; transform: translateY(-4px); }
.cats-grid a.cat-tile:hover .cat-ico { background: rgba(255,255,255,0.18); color: #fff; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .f-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--mint); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; }
.section-forest .feature .f-ico { background: rgba(255,255,255,0.12); }
.feature h3 { margin: 2px 0 6px; font-size: 1.06rem; font-family: "Inter", sans-serif; }
.feature p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.section-forest .feature p { color: #c9ddd1; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.testimonial::before { content: "“"; position: absolute; top: 6px; right: 20px; font-family: Georgia, serif; font-size: 4rem; color: var(--gold-soft); line-height: 1; }
.testimonial p { margin: 12px 0 16px; font-size: 0.95rem; }
.testimonial .t-name { font-weight: 700; color: var(--forest); }
.testimonial .t-city { font-size: 0.8rem; color: var(--muted); }
.stars .star { color: #d8d3c6; } .stars .star.on { color: var(--gold); }
.cta-band { text-align: center; padding: 70px 0; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* ---------- Boutique ---------- */
.shop-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.shop-tools input[type="search"], .shop-tools select {
  padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--beige-2);
  background: #fff; font: 500 0.92rem "Inter", sans-serif; color: var(--ink); outline: none;
}
.shop-tools input[type="search"] { flex: 1; min-width: 220px; }
.shop-tools input:focus, .shop-tools select:focus { border-color: var(--green); }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { padding: 8px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--beige-2); cursor: pointer; font: 600 0.85rem "Inter", sans-serif; color: var(--muted); transition: all 0.2s; }
.chip.active, .chip:hover { background: var(--forest-2); border-color: var(--forest-2); color: #fff; }

/* ---------- Fiche produit ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.product-gallery .main-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/0.9; background: var(--mint); box-shadow: var(--shadow); }
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs img, .thumbs .ph { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; cursor: pointer; border: 2px solid transparent; }
.thumbs img.sel { border-color: var(--gold); }
.p-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 10px; }
.p-price { display: flex; align-items: baseline; gap: 14px; margin: 14px 0; }
.p-price strong { font-size: 1.7rem; color: var(--forest-2); }
.p-price s { color: #b0463c; }
.stock-ok { color: var(--green); font-weight: 600; }
.stock-ko { color: #b3372f; font-weight: 600; }
.qty-box { display: inline-flex; border: 1.5px solid var(--beige-2); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-box button { width: 42px; border: none; background: none; font-size: 1.1rem; cursor: pointer; color: var(--forest); }
.qty-box input { width: 52px; border: none; text-align: center; font: 600 1rem "Inter", sans-serif; outline: none; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 2px solid var(--beige-2); margin: 40px 0 20px; }
.tabs button { border: none; background: none; padding: 12px 18px; font: 600 0.92rem "Inter", sans-serif; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs button.active { color: var(--forest); border-color: var(--gold); }
.tab-panel ul { padding-left: 20px; }
.tab-panel li { margin: 6px 0; }

/* ---------- Panier / commande ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th, .cart-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--beige-2); }
.cart-table th { background: var(--forest); color: #fff; font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; }
.cart-prod { display: flex; align-items: center; gap: 12px; }
.cart-prod .mini { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; background: var(--mint); }
.cart-prod .mini img, .cart-prod .mini .ph { width: 100%; height: 100%; object-fit: cover; }
.summary-box { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.summary-box .row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-box .row.total { border-top: 2px solid var(--beige-2); margin-top: 8px; padding-top: 14px; font-size: 1.15rem; font-weight: 700; color: var(--forest); }
.pay-option { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--beige-2); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color 0.2s; }
.pay-option:hover { border-color: var(--green-light); }
.pay-option.sel { border-color: var(--forest-2); background: var(--mint); }
.pay-dot { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.pay-line { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.pay-line i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; gap: 16px; }
label.f { display: block; font-weight: 600; font-size: 0.88rem; color: var(--forest); margin-bottom: 6px; }
input.f, textarea.f, select.f {
  width: 100%; padding: 12px 15px; border-radius: 12px; border: 1.5px solid var(--beige-2);
  font: 500 0.95rem "Inter", sans-serif; background: #fff; outline: none; color: var(--ink);
}
input.f:focus, textarea.f:focus, select.f:focus { border-color: var(--green); }
textarea.f { resize: vertical; min-height: 110px; }

/* ---------- Blog ---------- */
.post-card .card-body h3 { font-size: 1.15rem; margin: 0; }
.post-meta { font-size: 0.8rem; color: var(--muted); }
.article-body { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 5vw, 56px); max-width: 820px; margin: 0 auto; }
.article-body h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.article-body .content p { margin: 0 0 16px; }

/* ---------- Divers ---------- */
.page-hero { background: linear-gradient(135deg, #143726, #2d6a4f); color: #fff; padding: 64px 0; text-align: center; }
.page-hero h1 { color: #fff; margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: #cfe5d8; margin: 0; }
.breadcrumb { font-size: 0.84rem; color: var(--muted); margin-bottom: 18px; }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45); animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 26px rgba(37,211,102,0.45); } 50% { box-shadow: 0 10px 26px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0.12); } }
.toast {
  position: fixed; bottom: 96px; left: 50%; transform: translate(-50%, 20px); z-index: 100;
  background: var(--forest); color: #fff; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: all 0.3s;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .big { font-size: 3rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: #10281c; color: #b9cfc2; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 36px; padding: 56px 0 40px; }
.site-footer h4 { color: var(--gold-soft); font-family: "Inter", sans-serif; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { display: block; color: #b9cfc2; padding: 4px 0; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.brand-footer .brand-text { color: #fff; }
.brand-footer .brand-text small { color: #8fae9d; }
.brand-footer .brand-leaf { color: var(--green-light); }
.site-footer p { font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 0.82rem; text-align: center; }

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; background: var(--beige); }
.admin-side { background: var(--forest); color: #dcefe4; padding: 24px 0; }
.admin-side .brand { padding: 0 22px 22px; }
.admin-side .brand-text { color: #fff; font-size: 1.1rem; }
.admin-side .brand-text small { color: #9fc3af; }
.admin-side .brand-leaf { color: var(--green-light); width: 32px; height: 32px; }
.admin-side .brand-leaf svg { width: 32px; height: 32px; }
.admin-side nav a { display: flex; gap: 10px; align-items: center; padding: 12px 22px; color: #cfe5d8; font-weight: 600; font-size: 0.92rem; border-left: 3px solid transparent; }
.admin-side nav a:hover { background: rgba(255,255,255,0.06); }
.admin-side nav a.active { background: rgba(255,255,255,0.1); border-color: var(--gold); color: #fff; }
.admin-main { padding: 30px clamp(18px, 3vw, 44px); }
.admin-main h1 { margin-top: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.stat-card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.stat-card b { display: block; font-size: 1.7rem; font-family: "Playfair Display", serif; color: var(--forest); }
.stat-card span { font-size: 0.82rem; color: var(--muted); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 0.9rem; }
.admin-table th, .admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--beige-2); text-align: left; vertical-align: middle; }
.admin-table th { background: var(--mint); color: var(--forest); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }
.admin-table tr:hover td { background: #fbfaf6; }
.pill { padding: 3px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; }
.pill-green { background: #def4e7; color: #1b7a45; }
.pill-red { background: #fde5e2; color: #b3372f; }
.pill-gold { background: #f6ecc9; color: #8a6d0f; }
.pill-gray { background: #e8e8e3; color: #555; }
.admin-panel { background: #fff; border-radius: 14px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-btn { border: none; background: var(--mint); color: var(--forest); border-radius: 8px; padding: 7px 12px; cursor: pointer; font-weight: 600; font-size: 0.8rem; }
.icon-btn:hover { background: var(--green-light); }
.icon-btn.danger { background: #fde5e2; color: #b3372f; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #143726, #2d6a4f); }
.login-card { background: #fff; border-radius: 20px; padding: 44px 40px; width: min(400px, 92%); text-align: center; box-shadow: var(--shadow-lg); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-topmob { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 44px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 10px 0; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; }
  .topbar-in { justify-content: center; text-align: center; }
  .hero { padding: 70px 0 80px; }
  .cart-table thead { display: none; }
  .cart-table tr { display: block; border-bottom: 8px solid var(--beige); }
  .cart-table td { display: flex; justify-content: space-between; align-items: center; border: none; padding: 8px 14px; }
  .cart-table td::before { content: attr(data-l); font-weight: 700; color: var(--forest); font-size: 0.8rem; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .admin-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .admin-topmob { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
  .admin-topmob a { background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 0.8rem; font-weight: 600; box-shadow: var(--shadow); }
  .form-row-2 { grid-template-columns: 1fr; }
}
