/* =========================================================
   FASALCART - ULTIMATE MASTER STYLESHEET (Storefront + Admin)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* --- 1. VARIABLES & RESET --- */
:root {
  --primary: #176b3a;
  --primary-dark: #104f2b;
  --primary-soft: #e9f4eb;
  --secondary: #e49a2f;
  --danger: #ef4444;
  --bg: #f4f7f4;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif; -webkit-tap-highlight-color: transparent; }
body { background: var(--bg); color: var(--text); line-height: 1.5; padding-bottom: 75px; overflow-x: hidden; /* For Mobile Bottom Nav */ }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; outline: none; }
a { text-decoration: none; color: inherit; }
input, textarea, select { font: inherit; }

/* =========================================================
   PART A: STOREFRONT (Mobile-First & Farmi Style)
   ========================================================= */

/* --- Header --- */
.top-bar { display: none; }
header.site-header { 
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: 10px 15px; background: var(--white); 
  box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; 
  gap: 10px; 
}
.logo { order: 1; }
.logo-img { height: 30px; }
.header-actions { order: 2; display: flex; align-items: center; gap: 8px; }
.search-box { 
  order: 3; width: 100%; display: flex;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f3f4f6; 
}
.search-box input { flex: 1; padding: 10px 12px; border: none; outline: none; background: transparent; font-size: 0.85rem; }
.search-box button { background: transparent; color: var(--primary); padding: 0 12px; font-size: 0.9rem; }
.lang-select, .app-dl-btn { display: none; }
.cart-btn { background: var(--primary-soft); color: var(--primary); padding: 8px 12px; border-radius: 6px; font-weight: 600; display: flex; align-items: center; gap: 5px; font-size: 0.85rem; }
.login-btn-header { background: var(--white); color: var(--primary); border: 1px solid var(--line); padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: 0.85rem; }

/* --- Banner Carousel --- */
.banner-carousel { width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-bottom: 15px; padding-bottom: 5px; }
.banner-carousel::-webkit-scrollbar { display: none; }
.banner-track { display: flex; width: max-content; padding: 0 15px; }
.banner-item { scroll-snap-align: start; width: 85vw; max-width: 400px; margin-right: 15px; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.banner-item img { width: 100%; height: 160px; object-fit: cover; }
.banner-text { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%); color: white; padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.banner-text .banner-logo { height: 35px; margin-bottom: 12px; object-fit: contain; }
.banner-text h2 { font-size: 1.1rem; line-height: 1.2; margin-bottom: 8px; }
.banner-text span { font-size: 0.75rem; background: var(--secondary); padding: 4px 10px; border-radius: 4px; width: max-content; font-weight: 600; cursor: pointer; }

/* --- Trust Badges --- */
.trust-badges { display: flex; justify-content: space-around; padding: 10px 15px; background: var(--white); margin-bottom: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.trust-item i { font-size: 1.2rem; color: var(--primary); }
.trust-item span { font-size: 0.65rem; font-weight: 600; color: var(--text); }

/* --- Sections General --- */
.categories-sec, .combo-sec, .brands-sec, .products-sec, .how-section { padding: 0 15px 20px; }
.section-title { font-size: 1.1rem; color: var(--text); margin-bottom: 12px; font-weight: 700; }

/* --- Categories (4 Columns Grid List) --- */
.categories-sec { padding: 10px 15px 15px 15px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px 10px; padding: 5px 0; }
.cat-card { text-align: center; cursor: pointer; width: 100%; display: flex; flex-direction: column; align-items: center; }
.cat-img-wrap { background: var(--white); width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.08); border: 2px solid transparent; padding: 6px; transition: 0.2s; }
.cat-card.active .cat-img-wrap { border-color: var(--primary); background: var(--primary-soft); }
.cat-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.cat-card h3 { font-size: 0.7rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }

/* --- Combo Offers --- */
.combo-grid { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 5px; }
.combo-card { flex: 0 0 200px; background: linear-gradient(145deg, #ffffff, #fff9f0); border: 1.5px solid #ffedd5; border-radius: var(--radius-lg); padding: 12px; position: relative; display: flex; flex-direction: column; }
.combo-badge { position: absolute; top: -8px; right: 10px; background: var(--danger); color: white; font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 12px; box-shadow: 0 2px 5px rgba(239, 68, 68, 0.3); z-index: 2; }
.combo-card img { width: 100%; height: 110px; object-fit: contain; margin-bottom: 8px; background: #fff; border-radius: var(--radius); }
.combo-info h3 { font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 36px; }
.combo-card .price-box { justify-content: flex-start; margin-bottom: 10px; }
.combo-card .add-btn { background: var(--danger); color: white; border: none; border-radius: 6px; padding: 8px; font-size: 0.8rem; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: auto; }

/* --- Brands --- */
.brand-grid { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.brand-card { flex: 0 0 auto; padding: 6px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; font-weight: 500; font-size: 0.8rem; }
.brand-card.active { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Products --- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.product-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; position: relative; }
.badge-slot { position: absolute; top: 8px; left: 8px; z-index: 2; }
.badge { background: var(--danger); color: white; font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; font-weight: 700; }
.badge-oos { background: #6b7280; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 8px; }
.brand-text { font-size: 0.6rem; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
.product-card h3 { font-size: 0.8rem; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
.size-select { width: 100%; padding: 5px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 6px; font-size: 0.7rem; background: #f9fafb; outline: none; }
.price-box { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.price { font-size: 1rem; font-weight: 700; color: var(--text); }
.old-price { font-size: 0.75rem; color: var(--muted); text-decoration: line-through; }

/* Mobile Product Actions (Add to Cart & Buy Now) */
.card-actions { display: flex; flex-direction: row; gap: 5px; margin-top: auto; }
.add-btn { flex: 1; padding: 8px; border-radius: 4px; font-weight: 700; font-size: 0.75rem; background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary); display: flex; justify-content: center; align-items: center; gap: 4px; }
.buy-now-btn { flex: 1; display: flex; padding: 8px; border-radius: 4px; font-weight: 700; font-size: 0.75rem; background: var(--primary); color: white; border: 1px solid var(--primary); justify-content: center; align-items: center; }
.oos-btn { width: 100%; padding: 8px; background: #f3f4f6; color: #9ca3af; border-radius: 4px; font-weight: 600; font-size: 0.75rem; }

/* --- How to Order --- */
.how-section { background: var(--white); margin: 10px 15px; border-radius: var(--radius-lg); padding: 15px; box-shadow: var(--shadow-sm); }
.how-grid { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; }
.how-card { flex: 0 0 150px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-align: center; }
.how-card i { font-size: 1.4rem; color: var(--primary); margin-bottom: 8px; }
.how-card h3 { font-size: 0.8rem; margin-bottom: 4px; font-weight: 600; }
.how-card p { font-size: 0.7rem; color: var(--muted); line-height: 1.3; }

/* --- Floating WA & Bottom Nav --- */
.floating-wa { position: fixed; bottom: 85px; right: 15px; width: 50px; height: 50px; background: #25d366; color: white; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4); z-index: 90; }
.mobile-bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); box-shadow: 0 -2px 10px rgba(0,0,0,0.05); z-index: 95; padding: 8px 0 10px 0; border-top: 1px solid var(--line); }
.mobile-bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); font-size: 0.65rem; font-weight: 600; gap: 4px; }
.mobile-bottom-nav a i { font-size: 1.3rem; }
.mobile-bottom-nav a.active { color: var(--primary); }

/* --- Cart & Modals --- */
.overlay-dim { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; }
.overlay-dim.show { display: block; }
.cart-sidebar { position: fixed; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100%; background: var(--white); z-index: 200; display: flex; flex-direction: column; transition: right 0.3s ease; }
.cart-sidebar.open { right: 0; }
.cart-header { padding: 15px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
#cart-items { flex: 1; overflow-y: auto; padding: 15px; padding-bottom: 80px; /* Space for checkout button */ }
.cart-item { display: flex; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.cart-item img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; border: 1px solid var(--line); }
.cart-item-info h4 { font-size: 0.85rem; margin-bottom: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; margin-top: 5px; }
.qty button { width: 26px; height: 26px; background: var(--bg); border: none; font-weight: bold; }
.qty span { padding: 0 10px; font-size: 0.8rem; font-weight: 600; }
.cart-footer { padding: 15px; border-top: 1px solid var(--line); background: var(--white); position: absolute; bottom: 0; width: 100%; }
.cart-footer strong { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 1.1rem; }
.checkout { width: 100%; padding: 14px; background: var(--primary); color: white; border-radius: 8px; font-weight: 700; font-size: 1rem; }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 300; align-items: flex-end; justify-content: center; }
.modal-overlay.show { display: flex; }
.modal { background: var(--white); width: 100%; max-width: 500px; border-radius: 16px 16px 0 0; padding: 20px; position: relative; max-height: 90vh; overflow-y: auto; padding-bottom: 30px; }
.close-btn { position: absolute; top: 15px; right: 15px; background: #f3f4f6; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 0.9rem; }
.submit-btn { width: 100%; padding: 12px; background: var(--primary); color: white; border-radius: 6px; font-weight: 700; font-size: 0.95rem; margin-top: 10px; }

footer.site-footer { display: none; }


/* =========================================================
   PART B: ADMIN PANEL
   ========================================================= */
.login-screen { min-height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 16px; width: 100%; }
.login-box { background: var(--white); padding: 30px; border-radius: 15px; width: 100%; max-width: 400px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.login-box h2 { color: var(--primary); margin-bottom: 8px; }
.login-box p.sub { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.login-box input { width: 100%; padding: 12px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; }
.error-msg { color: var(--danger); font-size: .9rem; margin-bottom: 10px; display: none; }
#dashboard { width: 100%; min-height: 100vh; display: block; }
.admin-header { background: var(--white); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--line); width: 100%; }
.admin-header h1 { font-size: 1.3rem; color: var(--primary); margin: 0; display: flex; align-items: center; gap: 10px; }
.admin-brand .logo-img { height: 35px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-nav a { color: var(--primary); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 6px; font-size: 0.9rem; }
.admin-nav a.current, .admin-nav a:hover { background: var(--primary-soft); }
.logout-btn { background: #fee2e2; color: var(--danger); border: none; padding: 8px 15px; border-radius: 6px; cursor: pointer; font-weight: 600; }
.container { padding: 24px 20px; max-width: 1100px; margin: 0 auto; width: 100%; display: block; }
.panel { background: var(--white); border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(0,0,0,.03); padding: 20px; margin-bottom: 24px; width: 100%; }
.panel h2, .panel h3 { color: var(--primary); margin-bottom: 16px; font-size: 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; width: 100%; }
.stat-card { background: var(--white); padding: 18px; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(0,0,0,.03); display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; justify-content: center; align-items: center; font-size: 1.3rem; }
.stat-info h3 { font-size: .85rem; color: var(--muted); font-weight: 500; margin: 0 0 4px 0; }
.stat-info p { font-size: 1.5rem; font-weight: 700; margin: 0; color: var(--text); }
.table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--line); width: 100%; }
table { width: 100%; border-collapse: collapse; min-width: 800px; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.85rem; }
th { background: #f9fafb; color: #4b5563; font-weight: 600; white-space: nowrap; }
td { color: var(--text); }
.status-badge { background: #fef3c7; color: #b45309; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; white-space: nowrap; display: inline-block; }
.status-badge.done { background: #d1fae5; color: #047857; }
.status-badge.cancelled { background: #fee2e2; color: #b91c1c; }
.small-btn { background: var(--primary); color: white; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: .8rem; font-weight: 600; }
.small-btn.danger { background: var(--danger); }
.small-btn.ghost { background: #e5e7eb; color: #374151; }
.bulk-section { border: 2px dashed var(--primary); background: #f0fdf4; text-align: center; }
.product-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.product-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; background: #f3f4f6; border: 1px solid var(--line); }
.product-item .meta { display: flex; gap: 12px; align-items: center; min-width: 0; }
.pack-head, .pack-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.2fr 34px; gap: 8px; align-items: center; }
.pack-head { font-size: .8rem; color: var(--muted); margin: 6px 0 4px; }
.pack-row { margin-bottom: 8px; }
.pack-row input, .pack-row select { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; min-width: 0; }
.pack-row .remove-btn { width: 30px; height: 30px; background: #fee2e2; color: var(--danger); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cms-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.cms-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.cms-field input:not([type="checkbox"]):not([type="radio"]), .cms-field textarea, .cms-field select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font: inherit; }
.cms-field input[type="checkbox"] { width: auto; margin-right: 8px; vertical-align: middle; }
.cms-languages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.cms-section { margin-bottom: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 16px; }
.cms-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.cms-row { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cms-row:last-child { border-bottom: 0; }
.cms-label { font-weight: 600; font-size: .9rem; }
.cms-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cms-category { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr 1.4fr auto; gap: 8px; align-items: end; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cms-category input { min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 8px; }
.cms-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.color-field { height: 44px!important; padding: 4px!important; }
.cms-preview { margin: 0 0 16px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); font-size: .9rem; }
.cms-preview .pv-bar { padding: 9px 14px; }
.cms-preview .pv-hero { padding: 26px 18px; background: #2b4a36 center/cover; position: relative; color: #fff; }
.cms-preview .pv-hero>div { position: relative; }
.cms-preview .pv-btn { display: inline-block; margin-top: 10px; padding: 8px 16px; font-weight: 600; }
.cms-preview .pv-how { padding: 18px; }
.cms-sub { font-size: .8rem; color: var(--muted); margin: 2px 0 12px; }
.cms-opt-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.cms-opt { min-width: 0; }
.cms-opt>label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 5px; }
.cms-opt input[type=text], .cms-opt input[type=url], .cms-opt select { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; }
.cms-opt input[type=color] { width: 100%; height: 40px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.cms-opt input[type=range] { width: 100%; }
.cms-opt .cms-switch { display: flex; align-items: center; gap: 8px; font-weight: 500; padding: 9px 0; cursor: pointer; }
.cms-opt .cms-switch input { width: 18px; height: 18px; }
.cms-range-val { font-size: .78rem; color: var(--muted); float: right; }
.rec-product-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.rec-product-row label { font-weight: 600; font-size: .88rem; }
.rec-product-row select { width: 100%; min-height: 86px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; }

/* =========================================================
   PART C: RESPONSIVE (Desktop Layout)
   ========================================================= */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .top-bar { display: block; background: var(--primary-dark); color: white; text-align: center; padding: 6px; font-size: 0.8rem; }
  header.site-header { padding: 15px 5%; flex-wrap: nowrap; }
  .logo { order: 1; }
  .search-box { order: 2; max-width: 500px; margin: 0 20px; border-radius: 30px; }
  .header-actions { order: 3; }
  .lang-select, .app-dl-btn { display: flex; align-items: center; padding: 8px 15px; border-radius: 30px; font-weight: 600; font-size: 0.9rem; }
  .lang-select { border: 1px solid var(--line); background: white; }
  .app-dl-btn { background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary); }
  .banner-track { padding: 0; margin: 0 auto; }
  .banner-item { width: 600px; margin: 0 10px; }
  .banner-item img { height: 250px; }
  .banner-text h2 { font-size: 1.8rem; }
  .banner-text .banner-logo { height: 45px; }
  .cat-grid { grid-template-columns: repeat(8, 1fr); gap: 20px; }
  .cat-img-wrap { width: 75px; height: 75px; }
  .cat-card h3 { font-size: 0.8rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
  .product-card { padding: 15px; border-radius: var(--radius-lg); }
  .add-btn, .buy-now-btn { padding: 10px; font-size: 0.9rem; }
  .floating-wa { bottom: 20px; right: 20px; display: flex; }
  .mobile-bottom-nav { display: none; }
}

@media (max-width: 768px) {
  .admin-header { padding: 12px 15px; flex-direction: column; align-items: flex-start; }
  .admin-nav { width: 100%; overflow-x: auto; padding-bottom: 5px; flex-wrap: nowrap; }
  .admin-nav a { white-space: nowrap; }
  .container { padding: 15px; }
  .panel { padding: 15px; }
  .cms-grid { grid-template-columns: 1fr; }
  .cms-languages { grid-template-columns: 1fr; }
  .cms-row { grid-template-columns: 1fr; gap: 7px; }
  .cms-category { grid-template-columns: 1fr 1fr; }
  .pack-head, .pack-row { grid-template-columns: 1fr 1fr; }
  .cms-opt-grid { grid-template-columns: 1fr; }
  .rec-product-row { grid-template-columns: 1fr; }
}