:root {
  --brand:        #ff5722;
  --brand-2:      #6a1b9a;
  --brand-3:      #00bcd4;
  --brand-4:      #ffc107;
  --brand-grad:   linear-gradient(90deg,#ff5722,#e91e63,#9c27b0);
  --soft:         #fff7f0;
}

body {
  font-family: 'Segoe UI', 'Noto Sans Tamil', 'Noto Sans Devanagari', Tahoma, sans-serif;
  background: var(--soft);
}

/* Banner carousel — keep banner-row geometry */
.banner-carousel { height: 240px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.08);}
.banner-carousel .carousel-inner, .banner-carousel .carousel-item { height: 100%; }
.banner-carousel .banner { height: 100%; border-radius: 0; box-shadow: none;}

.discount-corner {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: linear-gradient(135deg,#e91e63,#ff5722);
  color:#fff; font-weight:700; font-size:.75rem;
  padding: .25rem .55rem; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* ---------- Header ---------- */
.top-bar {
  background: var(--brand-grad);
  color: #fff;
  padding: .35rem 0;
  font-size: .85rem;
}
.top-bar a { color:#fff; text-decoration:none; margin: 0 .4rem;}
.top-bar a:hover { text-decoration: underline; }

.main-header {
  background: #fff;
  border-bottom: 3px solid var(--brand);
  padding: .75rem 0;
}
.brand-title {
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon-link { color:#444; text-decoration:none; margin-left: 1rem; font-weight:500;}
.icon-link:hover { color: var(--brand); }
.profile-pic-sm { width:34px; height:34px; border-radius:50%; object-fit:cover; border:2px solid var(--brand); }

/* ---------- Sidebar (categories) ---------- */
.cat-sidebar {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.cat-sidebar h5 {
  background: var(--brand-grad);
  color:#fff;
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: 1rem;
}
.cat-sidebar a {
  display:block;
  padding: .45rem .25rem;
  color:#333;
  text-decoration:none;
  border-bottom: 1px dashed #eee;
}
.cat-sidebar a:hover { color: var(--brand); padding-left: .5rem; transition: .2s;}

/* ---------- Banners ---------- */
.banner-row { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 12px; }
.banner-row .banner {
  height: 240px;
  border-radius: 12px;
  background-size: cover;
  background-position:center;
  background-color:#eee;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
@media (max-width: 768px) {
  .banner-row { grid-template-columns: 1fr; }
}

/* ---------- Marquees ---------- */
.marquee-strip {
  background: #fff;
  border: 1px solid #ffd6c2;
  color: var(--brand-2);
  padding: .5rem;
  border-radius: 8px;
  margin: .5rem 0;
  font-weight: 600;
}
.marquee-strip.alt { background: var(--brand); color:#fff; border-color: var(--brand);}

/* ---------- Product cards ---------- */
.product-card {
  background:#fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.product-card img.thumb { width:100%; height:180px; object-fit:cover; background:#fafafa;}
.product-card .body { padding: .75rem; }
.product-card .price { color: var(--brand); font-weight: 700; font-size:1.1rem;}
.product-card .strike { color:#999; text-decoration: line-through; font-size:.85rem; margin-left:.4rem;}
.product-card .discount-badge {
  background: var(--brand-4); color:#222; font-size:.75rem; font-weight:700;
  padding: .15rem .5rem; border-radius: 4px;
}
.product-card .supplier-tag { font-size:.75rem; color:#777; }

/* ---------- Sidebar dashboards ---------- */
.dash-shell { display:grid; grid-template-columns: 240px 1fr; gap:1rem; }
.dash-side {
  background:#fff; border-radius:10px; padding:1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.dash-side h4 { color: var(--brand-2); }
.dash-side a {
  display:block; padding:.55rem .75rem; color:#333; text-decoration:none;
  border-radius:6px; margin-bottom:.2rem;
}
.dash-side a:hover, .dash-side a.active {
  background: var(--brand-grad); color:#fff;
}
.dash-main {
  background:#fff; border-radius:10px; padding:1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
@media (max-width: 768px) { .dash-shell { grid-template-columns: 1fr; }}

/* ---------- Status pill ---------- */
.status-pill { padding: .2rem .7rem; border-radius: 20px; font-size:.78rem; font-weight:600; color:#fff;}
.status-ACCEPTED  { background: #2196f3;}
.status-PACKED    { background: #ff9800;}
.status-SHIPPED   { background: #9c27b0;}
.status-DELIVERED { background: #4caf50;}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, #2c0f4f, #ff5722);
  color: #fff;
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}
.site-footer a { color:#ffd; text-decoration:none; }
.site-footer a:hover { text-decoration: underline; }
