/* ============================================
   MANI MALIGAI — STYLESHEET
   A warm neighbourhood-market palette: turmeric,
   deep red, and market green on a soft cream base.
   ============================================ */

:root {
  --cream:      #FBF6EE;
  --sand:       #F1E9DC;
  --border:     #E4D8C8;
  --ink:        #2B2420;
  --ink-soft:   #6B5F52;
  --red:        #B3261E;
  --red-dark:   #8C1E17;
  --gold:       #E8A33D;
  --green:      #2F6F4E;
  --white:      #FFFFFF;
  --shadow:     0 2px 10px rgba(43, 36, 32, 0.08);
  --shadow-lg:  0 12px 32px rgba(43, 36, 32, 0.16);
  --radius:     10px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:  'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

a { color: var(--red); text-decoration: none; transition: 0.2s; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

img { max-width: 100%; display: block; }

button { cursor: pointer; border: none; font-family: inherit; }

input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

textarea { resize: vertical; min-height: 90px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }

.btn-primary { background-color: var(--red); color: var(--white); }
.btn-primary:hover { background-color: var(--red-dark); transform: translateY(-1px); }

.btn-green { background-color: var(--green); color: var(--white); }
.btn-green:hover { background-color: #245a3f; transform: translateY(-1px); }

.btn-outline { background-color: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.btn-tertiary { background-color: var(--sand); color: var(--ink); }
.btn-tertiary:hover { background-color: var(--border); }

.btn-danger { background-color: #fdeceb; color: var(--red); }
.btn-danger:hover { background-color: var(--red); color: var(--white); }

/* HEADER */
.site-header {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 20px;
}

.logo-section { display: flex; align-items: center; gap: 14px; }

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
}

.brand-text h1 {
  font-size: 22px;
  letter-spacing: 0.2px;
  margin: 0;
  color: var(--white);
  font-weight: 700;
}

.brand-text p {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin: 0;
}

.nav-menu { display: flex; gap: 6px; align-items: center; }

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 14.5px;
  padding: 9px 16px;
  border-radius: 7px;
  transition: 0.2s;
}

.nav-menu a:hover, .nav-menu a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

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

.header-actions .action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 14px;
  position: relative;
  transition: 0.2s;
}
.header-actions .action-btn:hover { background-color: rgba(255, 255, 255, 0.25); color: var(--white); }

.cart-badge {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  padding: 1px 6px;
  margin-left: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  font-size: 22px;
  color: var(--ink);
}

/* HERO */
.hero {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 100px 24px 130px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(232, 163, 61, 0.25), transparent 45%);
  pointer-events: none;
}

.hero-content { max-width: 640px; margin: 0 auto; text-align: center; position: relative; }

.hero h1 {
  color: var(--white);
  font-size: 46px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero .highlight { color: var(--gold); font-style: italic; }

.hero .tagline { font-size: 19px; margin-bottom: 10px; opacity: 0.95; }
.hero p { font-size: 15.5px; opacity: 0.85; margin-bottom: 34px; }

.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* scalloped divider under the hero — the one bold, memorable device */
.hero-scallop {
  position: relative;
  height: 40px;
  margin-top: -40px;
  background: var(--cream);
  -webkit-mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  mask-image: radial-gradient(circle at 20px 0, transparent 20px, black 21px);
  -webkit-mask-size: 40px 40px;
  mask-size: 40px 40px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}

/* OFFERS */
.offers-section { padding: 50px 24px 20px; }

.offers-header { text-align: center; margin-bottom: 26px; }
.offers-header h2 { font-size: 26px; }

.curtain-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 232px;
}

.curtain-valance {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 16px;
  background: var(--gold);
  z-index: 6;
  -webkit-mask-image: radial-gradient(circle at 18px 0, transparent 16px, black 17px);
  mask-image: radial-gradient(circle at 18px 0, transparent 16px, black 17px);
  -webkit-mask-size: 36px 32px;
  mask-size: 36px 32px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}

.curtain-leaf {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  z-index: 5;
  background:
    repeating-linear-gradient(90deg,
      var(--red) 0px, var(--red) 16px,
      var(--red-dark) 16px, var(--red-dark) 32px);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.28);
  transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}
.curtain-leaf.curtain-left { left: 0; transform-origin: left; border-radius: var(--radius) 0 0 var(--radius); }
.curtain-leaf.curtain-right { right: 0; transform-origin: right; border-radius: 0 var(--radius) var(--radius) 0; }

.curtain-wrap.open .curtain-left { transform: translateX(-101%); }
.curtain-wrap.open .curtain-right { transform: translateX(101%); }

.curtain-wrap .offers-carousel { padding: 8px; }

.offers-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.offer-card {
  min-width: 260px;
  background: var(--sand);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.offer-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 7px; margin-bottom: 12px; }
.offer-card h3 { font-size: 17px; margin-bottom: 6px; }
.offer-card p { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.offer-card .discount { font-size: 20px; font-weight: 700; color: var(--red); font-family: var(--font-display); }
.offer-card--empty { min-width: 100%; text-align: center; color: var(--ink-soft); padding: 30px; }

/* SECTION TITLE */
.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 34px;
  position: relative;
}

.empty-note { text-align: center; width: 100%; color: var(--ink-soft); padding: 20px; grid-column: 1/-1; }

/* CATEGORIES */
.categories-section { padding: 50px 24px; }

.categories-carousel { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; }

.category-card {
  min-width: 140px;
  text-align: center;
  cursor: pointer;
  background: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: 0.2s;
}
.category-card:hover { border-color: var(--red); transform: translateY(-3px); }
.category-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 7px; margin-bottom: 10px; }
.category-card p { font-weight: 600; font-size: 13.5px; }

/* FEATURES */
.features-section { padding: 50px 24px; background: var(--sand); }
.features-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card { text-align: center; padding: 10px; }
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  background: var(--white);
  border-radius: 50%;
  font-size: 22px;
  border: 1px solid var(--border);
}
.feature-card h4 { font-size: 15px; margin-bottom: 6px; letter-spacing: 0.3px; }
.feature-card p { font-size: 13px; color: var(--ink-soft); }

/* REGISTER SECTION (home page) */
.register-section { padding: 60px 24px; }
.register-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--sand);
  border-radius: 16px;
  padding: 46px;
}
.register-content h2 { font-size: 26px; margin-bottom: 10px; }
.register-content p { color: var(--ink-soft); margin-bottom: 22px; font-size: 14.5px; }

/* CTA */
.cta-section {
  background: var(--green);
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}
.cta-section h2 { color: var(--white); font-size: 26px; margin-bottom: 10px; }
.cta-section p { opacity: 0.9; margin-bottom: 26px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* LOCATIONS / MAP */
.locations-section { padding: 60px 24px; }
.locations-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: start;
}
.locations-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.locations-map iframe { width: 100%; display: block; border: 0; }
.locations-info { display: flex; flex-direction: column; gap: 16px; }
.location-card {
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.location-card h4 { font-size: 14px; letter-spacing: 0.4px; color: var(--red); margin-bottom: 6px; }
.location-card p { font-size: 14px; margin-bottom: 10px; }

/* FOOTER */
.site-footer { background: var(--ink); color: var(--cream); padding: 46px 24px 20px; margin-top: 40px; }
.footer-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px; margin-bottom: 30px;
}
.footer-col h5 { color: var(--gold); font-size: 13px; letter-spacing: 0.6px; margin-bottom: 14px; }
.footer-col p, .footer-col li { font-size: 13px; opacity: 0.85; line-height: 1.9; }
.footer-col ul { list-style: none; }
.footer-col a { color: var(--cream); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; opacity: 0.6;
}

/* CART FLOAT (order page only, shown when the layout stacks) */
.cart-float {
  display: none;
  align-items: center;
  gap: 8px;
  position: fixed;
  bottom: 22px;
  left: 22px;
  padding: 13px 20px;
  background: var(--red);
  color: var(--white);
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: 0.2s;
}
.cart-float:hover { background: var(--red-dark); transform: translateY(-1px); }
.cart-float .cart-badge { background: var(--white); color: var(--red); }

@media (max-width: 900px) {
  .cart-float { display: flex; }
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: #25D366; color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: var(--shadow-lg);
  z-index: 999; transition: 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* TOAST / NOTIFICATION (JS-driven, base kept minimal — see config.js) */
.toast { display: none; }

/* PAGE HEADER (about/order/register) */
.page-header {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 46px 24px;
}
.page-header h1 { color: var(--white); font-size: 30px; margin-bottom: 6px; }
.page-header p { opacity: 0.9; font-size: 14.5px; }

/* ORDER PAGE */
.filter-tabs { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 24px; padding-bottom: 4px; }
.filter-btn {
  padding: 9px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: 0.2s;
}
.filter-btn:hover { border-color: var(--red); }
.filter-btn.active { background: var(--red); color: var(--white); border-color: var(--red); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.2s;
}
.product-card:hover { box-shadow: var(--shadow); }
.product-image { width: 100%; height: 140px; object-fit: cover; }
.product-info { padding: 14px; }
.product-name { font-size: 15px; margin-bottom: 4px; }
.product-description { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; min-height: 18px; }
.product-price { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--red); margin-bottom: 10px; }
.product-unit { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft); font-weight: 400; }
.product-status { font-size: 12px; color: var(--ink-soft); padding: 8px 0; text-align: center; }
.product-actions { display: flex; align-items: center; gap: 8px; justify-content: space-between; }

.quantity-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 7px; }
.quantity-control button {
  width: 28px; height: 32px; background: var(--sand); font-size: 15px; color: var(--ink);
}
.quantity-control input {
  width: 34px; text-align: center; border: none; margin: 0; padding: 0; font-size: 13px;
}

/* ORDER PAGE LAYOUT FIX
   The left column (categories + products) sits in a CSS grid track.
   Grid tracks default to min-width:auto, which means their minimum size
   is the *unshrunk* content size — so a horizontally-scrollable row of
   category buttons was forcing the whole grid (and the cart column)
   wider than the viewport instead of scrolling within its own box.
   min-width:0 lets the column shrink to the track and lets
   .filter-tabs' own overflow-x:auto do the scrolling instead. */
.order-main { min-width: 0; }

/* CHECKOUT SIDEBAR */
.checkout-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 90px;
  /* Cap the sticky cart's height to the viewport so a long cart + form
     never extends past the visible screen with no way to reach the
     Place Order button — scroll inside the card instead. */
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scroll-margin-top: 90px;
}
.checkout-section h3 { font-size: 15px; letter-spacing: 0.4px; margin-bottom: 14px; color: var(--ink-soft); text-transform: uppercase; }

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cart-row-details h4 { font-size: 13.5px; margin-bottom: 2px; }
.cart-row-details p { font-size: 11.5px; color: var(--ink-soft); }
.cart-row-qty { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cart-row-qty button {
  width: 24px; height: 24px; border-radius: 6px; background: var(--sand); font-size: 14px;
}
.cart-row-remove { background: none; font-size: 14px; opacity: 0.6; }
.cart-row-remove:hover { opacity: 1; }

.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total {
  font-size: 17px; font-weight: 700; color: var(--red);
  border-top: 1.5px solid var(--border); padding-top: 12px; margin-top: 6px;
  font-family: var(--font-display);
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(43, 36, 32, 0.5);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  max-width: 440px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-box h3 { font-size: 19px; margin-bottom: 8px; }
.modal-box p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ADMIN */
.admin-container { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--ink); color: var(--cream);
  padding: 20px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-logo { text-align: center; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.admin-logo h2 { color: var(--white); font-size: 15px; }
.admin-menu { display: flex; flex-direction: column; gap: 3px; }
.admin-menu a { padding: 11px 14px; color: var(--cream); opacity: 0.8; border-radius: 7px; font-size: 13.5px; }
.admin-menu a:hover, .admin-menu a.active { background: var(--red); opacity: 1; }
.admin-main { padding: 30px; background: var(--sand); overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.admin-header h1 { font-size: 24px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 32px; }
.dashboard-card { background: var(--white); padding: 18px; border-radius: var(--radius); border-left: 4px solid var(--red); }
.dashboard-card h3 { color: var(--ink-soft); font-size: 11px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 8px; }
.dashboard-card .value { font-size: 28px; font-weight: 700; color: var(--red); font-family: var(--font-display); }
.table-container { background: var(--white); padding: 18px; border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--sand); padding: 10px 12px; text-align: left; font-size: 12.5px; font-weight: 700; border-bottom: 2px solid var(--border); }
td { padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
tr:hover td { background: var(--cream); }
.status-pill { color: var(--white); padding: 3px 9px; border-radius: 12px; font-size: 11px; font-weight: 600; }

/* SEARCH BAR */
.search-container {
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  transition: 0.2s;
}

.search-input::placeholder {
  color: var(--ink-soft);
}

.search-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.search-clear-btn {
  padding: 10px 14px;
  background: var(--sand);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.search-clear-btn:hover {
  background: var(--border);
  border-color: var(--ink-soft);
}

.search-result-count {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 0 2px;
}

.no-products-found {
  text-align: center;
  padding: 40px 20px;
}

.no-products-found p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.no-products-found img {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .register-container { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.active {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); padding: 16px; gap: 6px;
    box-shadow: var(--shadow); border-bottom: 1px solid var(--border);
  }
  /* The dropdown swaps to a light background, but .nav-menu a is styled
     white for the red header — without this override the links are
     nearly invisible against the cream dropdown. */
  .nav-menu.active a { color: var(--ink); }
  .nav-menu.active a:hover,
  .nav-menu.active a.active {
    background-color: var(--sand);
    color: var(--red);
  }
  .hamburger { color: var(--white); }
  .hamburger { display: flex; }
  .hero h1 { font-size: 32px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  section[style*="grid-template-columns:1fr 350px"] > div,
  section[style*="1fr 350px"] { display: block !important; }
  .checkout-section { position: static; margin-top: 24px; max-height: none; overflow-y: visible; }
  .admin-container { grid-template-columns: 1fr; }
  .admin-sidebar { height: auto; position: static; }
  .admin-menu { flex-direction: row; flex-wrap: wrap; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
}
