
    /* ====================
       Mobile-first base
       ==================== */

    :root{
      --brand: #0f6cff;
      --muted: #666;
      --card-bg: #fff;
      --page-bg: #f5f7fb;
      --accent: #ff6b6b;
      --radius: 12px;
      --shadow: 0 6px 18px rgba(20,20,50,0.06);
      --max-width: 1200px;
      --gap: 12px;
      --container-pad: 16px;
    }
   
    html,body{
      height:100%;
      margin:0;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      background:var(--page-bg);
      color:#111;
      font-size:16px; /* base for rem calculations */
    }

    a { color: inherit; text-decoration: none; }

    /* Constraining container */
    .wrap {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 var(--container-pad);
    }

/* ===========================
   Flipkart Style Header - Mercury Green
=========================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 99999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.site-header .topbar {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 6px 10px;
}

.site-header,
.site-header .wrap,
.site-header .topbar {
  overflow: visible !important;
}


/* Logo */
.brand .logo {
  font-size: 20px;
  font-weight: 900;
  color: #f2f6ff;
  text-decoration: none;
}

.site-logo{
    height:46px;
    width:auto;
    object-fit:contain;
    transition:0.3s ease;
}

.site-logo:hover{
    transform:scale(1.03);
}
@media(max-width:768px){

.site-logo{
    height:34px;
}

}

/* Search */
.search-bar {
  flex: 1;
}

.search-bar input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f7f9fc;
  outline: none;
}

.search-bar input:focus {
  border-color: #00a884;
  box-shadow: 0 0 0 3px rgba(0,168,132,0.18);
}

/* Right side menu */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Buttons */
.header-btn {
  font-weight: 700;
  color: #111;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.header-btn:hover {
  background: #f2f6ff;
}

/* Become seller */
.header-link {
  font-weight: 700;
  color: #111;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
}

.header-link:hover {
  background: #f2f6ff;
}

/* Cart */
.cart-btn {
  font-weight: 800;
  color: #111;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.cart-btn:hover {
  background: #f2f6ff;
}

/* Dropdown Wrap */
.dropdown-wrap {
  position: relative;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 240px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: block;
  z-index: 99999;
  overflow: hidden;
   opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:0.25s ease;
}

.dropdown-menu.show-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 15px;
  font-size: 14px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #f2f2f2;
}

.dropdown-menu a:hover {
  background: #f7faff;
  color: #00a884;
}

/* Dropdown Top */
.dropdown-top {
  padding: 12px 15px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  background: #f9fbff;
}

.signup-link {
  color: #00a884;
  font-weight: 900;
}

/* Dropdown Login Button */
.dropdown-login-btn {
  padding: 12px;
  background: #fff;
}

.dropdown-login-btn a {
  display: block;
  text-align: center;
  background: #00a884;
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-weight: 800;
}

.dropdown-login-btn a:hover {
  background: #00806a;
}



/* ===========================
   Flipkart Style Category Bar (FIXED)
=========================== */

.category-bar {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 70px;
  z-index: 9998;
}

/* ===========================
   CATEGORY CONTAINER
=========================== */

.category-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  gap: 18px;
  padding: 12px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-container::-webkit-scrollbar {
  display: none;
}

/* ===========================
   CATEGORY ITEM
=========================== */

.category-item {
  text-align: center;
  flex: 0 0 auto;
  min-width: 90px;
  position: relative;
}

/* hover safe zone */
.category-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

/* ===========================
   LINK STYLE
=========================== */

.category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #111;
  text-decoration: none;
}

/* ===========================
   ICON
=========================== */

.category-icon{
    width:45px;
    height:45px;

    object-fit:contain;

    border:none;
    border-radius:0;

    background:transparent;

    transition:transform 0.25s ease;
}

.category-item:hover .category-icon {
  transform: scale(1.08);
}

.category-item:hover .cat-name {
  color: #00a884;
}

/* ===========================
   CATEGORY NAME
=========================== */

.cat-name {
  font-weight: 600;
  font-size: 14px;
    color:#212121;
    line-height:1.3;
  white-space: nowrap;
}

/* ===========================
   DROPDOWN (DESKTOP)
=========================== */

.category-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: 0.25s ease;
  z-index: 99999;
}

/* SHOW DROPDOWN */
.category-item.show-dropdown .category-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* DROPDOWN LINKS */
.category-dropdown a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  text-align: left;
}

.category-dropdown a:hover {
  background: #f2f6ff;
  color: #00a884;
}

/* ===========================
   ACTIVE STATE
=========================== */

.category-item.active .cat-name {
  color: #00a884;
}

.category-item.active .category-icon {
  border: 2px solid #00a884;
}

/* ===========================
   COMPACT MODE
=========================== */

.category-bar.compact .category-container {
  padding: 6px 16px;
}

.category-bar.compact .category-icon {
  display: none;
}

.category-bar.compact .cat-name {
  font-size: 14px;
  font-weight: 900;
}

.category-bar.compact .category-dropdown {
  top: 100%;
}

/* ===========================
   MOBILE RESPONSIVE FIX
=========================== */

@media (max-width: 768px) {

  .category-container {
    gap: 14px;
    padding: 10px 12px;
  }

  .category-item {
       min-width:95px;
    text-align:center;
  }

  .category-icon {
    width: 48px;
    height: 48px;
  }

  .cat-name {
    font-size: 12px;
  }

  /* MOBILE DROPDOWN FIX */
  .category-dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    padding: 0;

    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .category-item.show-dropdown .category-dropdown {
    display: block;
  }
}
/* ====================
   Account Hover Dropdown (Flipkart Style)
==================== */

.account-hover-wrap {
  position: relative;
  display: inline-block;
  z-index: 10001;
}

/* Hover button */
.account-hover-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-decoration: none;
  color: #111;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

.account-hover-btn:hover {
  background: #f2f6ff;
}

/* User Icon Circle */
.account-icon {
  width: 32px;
  height: 32px;
  background: #ff6a00;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.account-arrow {
  font-size: 12px;
  color: #444;
}

/* ====================
   Overlay (BELOW DROPDOWN)
==================== */
.account-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  z-index: 9999;   /* below dropdown */
}

.account-overlay.active {
  display: block;
}

/* ====================
   Dropdown (ABOVE OVERLAY)
==================== */
.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  width: 280px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000;  /* above overlay */
  display: none;
}

.account-dropdown.active {
  display: block;
}

/* Dropdown top */

.account-dropdown-top {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.account-signup-link{
  color: #00a884;
  font-weight: bold;
  text-decoration: none;
}

/* Dropdown links */
.account-dropdown-links a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #f3f3f3;
}

.account-dropdown-links a:hover {
  background: #f8faff;
}

/* Login button at bottom */
.account-dropdown-login-btn {
  padding: 12px 15px;
  text-align: center;
  background: #fff;
}

.account-dropdown-login-btn a {
  display: block;
  background: #00a884;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
}
.account-dropdown-login-btn a:hover {
   background : #b9c5e7;
  }

   /* IMPORTANT BODY GAP */
body {
  padding-top: 175px; /* adjust based on header+category height */
}
/* ====================
       Hero / Carousel
       ==================== */

 .banner-container {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 10px;
}

/* MULTI SLIDER */

.multi-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.multi-track {
    display: flex;
    gap: 15px;
    touch-action: pan-y;
    transition: transform 0.6s ease-in-out;
}

.multi-item {
    flex: 0 0 calc(33.33% - 10px); /* 3 banners */
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.multi-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Buttons */
.multi-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
}

.multi-btn.prev {
    left: 10px;
}

.multi-btn.next {
    right: 10px;
}

.multi-btn:hover {
    background: rgba(0,0,0,0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .multi-item {
        flex: 0 0 calc(50% - 10px); /* 2 banners on tablet */
    }
    .multi-item img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .multi-item {
        flex: 0 0 100%; /* 1 banner on mobile */
    }
    .multi-item img {
        height: 140px;
    }
}
   .hero-carousel {
    position: relative;
    width: 100%;
    height: 220px;   /* Flipkart-like small banner */
    overflow: hidden;
    border-radius: 10px;
    margin-top: 15px;
    background: #fff;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 5;
}

.hero-btn.prev {
    left: 10px;
}

.hero-btn.next {
    right: 10px;
}

.hero-btn:hover {
    background: rgba(0,0,0,0.7);
}

/* ====================
    Multi Dots / Caraousel Indicators
    ==================== */

.multi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.multi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c7c7c7;
    cursor: pointer;
    transition: 0.3s;
}

.multi-dot.active {
    background: #00a884; /* Flipkart Blue */
    width: 22px;
    border-radius: 8px;
}
/* ===========================
   PRODUCT GRID (Flipkart Style)
=========================== */

.products {
  margin: 20px 0 50px;
}

.products .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.products .section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #111;
}

.products .section-head a {
  font-size: 14px;
  font-weight: 700;
  color: #00a884;
  text-decoration: none;
}

.products .section-head a:hover {
  text-decoration: underline;
}

/* MAIN GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 per row */
  gap: 18px;
  margin-top: 20px;
}

/* CARD */
.product-card {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  padding: 12px;
  transition: 0.2s ease;
  box-sizing: border-box;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
}

/* PRODUCT LINK */
.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* IMAGE */
.product-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 12px;
  padding: 10px;
}

/* TITLE */
.product-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 10px 0 5px;
  height: 40px;
  overflow: hidden;
  line-height: 1.3;
  color: #111;
}

/* PRICE */
.retail-price {
  font-size: 18px;
  font-weight: 900;
  color: #00a884;
  margin: 6px 0;
}

/* STOCK */
.stock-text {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #555;
}

/* BUTTONS */
.retail-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.retail-actions a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s ease;
}

/* CART BUTTON */
.btn-cart {
  background: #ff9f00;
  color: white;
}

.btn-cart:hover {
  background: #e48d00;
}

/* BUY BUTTON */
.btn-buy {
  background: #fb641b;
  color: white;
}

.btn-buy:hover {
  background: #e85a12;
}

/* ===========================
   WHOLESALE BOX (B2B View)
=========================== */

.wholesale-box {
  margin-top: 10px;
  background: #f9fffd;
  border: 1px solid #d8f4eb;
  border-radius: 12px;
  padding: 10px;
}

.wholesale-title {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
  color: #00806a;
}

.tier-pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 0;
  border-bottom: 1px dashed #d7e7e2;
}

.tier-row:last-child {
  border-bottom: none;
}

/* MOQ */
.moq-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.moq-row label {
  font-size: 13px;
  font-weight: 800;
}

.moq-input {
  width: 80px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-weight: 700;
}

/* WHOLESALE BUTTONS */
.b2b-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.b2b-actions a {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-quote {
  background: #00a884;
  color: white;
}

.btn-quote:hover {
  background: #00806a;
}

.btn-net {
  background: #2874f0;
  color: white;
}

.btn-net:hover {
  background: #1e5dc7;
}

/* ===========================
   RESPONSIVE GRID
=========================== */

@media (max-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ===========================
   Flipkart Style Profile Page
=========================== */

.profile-page {
  display: flex;
  gap: 18px;
  margin-top: 25px;
  margin-bottom: 30px;
}

/* Sidebar */
.profile-sidebar {
  width: 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 15px;
  height: fit-content;
}

.profile-userbox {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
}

.profile-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #00a884;
  color: white;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-userinfo .hello {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.profile-userinfo h3 {
  margin: 2px 0;
  font-size: 16px;
  font-weight: 900;
}

/* Role Badge */
.role-badge {
  display: inline-block;
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 30px;
  font-weight: 900;
  margin-top: 4px;
}

.role-badge.customer {
  background: #f2f6ff;
  color: #2874f0;
}

.role-badge.business {
  background: #eafff8;
  color: #00a884;
}

.role-badge.seller {
  background: #fff6e6;
  color: #ff9f00;
}

.role-badge.admin {
  background: #ffe6e6;
  color: #d10000;
}

/* Sidebar Menu */
.profile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
  transition: 0.2s;
}

.profile-menu a:hover {
  background: #f2f6ff;
  color: #00a884;
}

.profile-menu a.active {
  background: #00a884;
  color: white;
}

.logout-link {
  background: #ffecec;
  color: #d10000 !important;
}

.logout-link:hover {
  background: #ffdada !important;
}

/* Right Content */
.profile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.profile-card h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 900;
  color: #111;
}

/* Overview Grid */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.overview-item {
  background: #f9fffd;
  border: 1px solid #d8f4eb;
  padding: 14px;
  border-radius: 12px;
}

.overview-item .label {
  font-size: 12px;
  font-weight: 700;
  color: #666;
  margin: 0 0 6px;
}

.overview-item .value {
  font-size: 14px;
  font-weight: 900;
  margin: 0;
  color: #111;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.quick-btn {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f7f9fc;
  padding: 14px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.quick-btn:hover {
  background: #eafff8;
  transform: translateY(-2px);
}

.quick-btn span {
  font-size: 22px;
}

.quick-btn b {
  font-size: 14px;
  font-weight: 900;
}

.quick-btn p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #666;
}

/* Wholesale Warning Card */
.warning-card {
  border: 2px dashed #00a884;
  background: #f3fffb;
}

.warning-card p {
  font-size: 14px;
  color: #333;
  margin-top: 6px;
}

.upgrade-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 16px;
  background: #00a884;
  color: white;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
}

.upgrade-btn:hover {
  background: #00806a;
}

/* Responsive */
@media(max-width: 992px){
  .profile-page {
    flex-direction: column;
  }

  .profile-sidebar {
    width: 100%;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Flipkart Style Orders Page
=========================== */

.orders-page {
  margin-top: 25px;
  margin-bottom: 40px;
}

.orders-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
}

/* Empty Orders */
.orders-empty {
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.orders-empty h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.orders-empty p {
  margin-top: 8px;
  color: #555;
}

.btn-shop {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #00a884;
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.btn-shop:hover {
  background: #00806a;
}

/* Order Card */
.order-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  margin-bottom: 18px;
  overflow: hidden;
}

/* Order Head */
.order-head {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #f9fffd;
}

.order-id {
  margin: 0;
  font-size: 14px;
}

.order-date {
  margin: 5px 0 0;
  font-size: 13px;
  color: #666;
}

/* Status Badges */
.order-status {
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 900;
}

.badge-processing {
  background: #eaf1ff;
  color: #2874f0;
}

.badge-shipped {
  background: #fff6e6;
  color: #ff9f00;
}

.badge-delivered {
  background: #eafff8;
  color: #00a884;
}

.badge-cancelled {
  background: #ffecec;
  color: #d10000;
}

/* Order Body */
.order-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.order-img img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  border-radius: 12px;
  background: #f7f7f7;
  padding: 8px;
}

.order-info h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}

.order-info p {
  margin: 5px 0;
  font-size: 13px;
  color: #444;
}

.order-info .price {
  font-size: 15px;
  font-weight: 900;
  color: #00a884;
}

/* Footer */
.order-footer {
  padding: 14px 16px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-total {
  margin: 0;
  font-size: 15px;
}

/* Actions */
.order-actions {
  display: flex;
  gap: 10px;
}

.btn-action {
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  color: white;
  transition: 0.2s ease;
}

.btn-action.track {
  background: #2874f0;
}

.btn-action.invoice {
  background: #00a884;
}

.btn-action.cancel {
  background: #d10000;
}

.btn-action:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Responsive */
@media(max-width: 768px) {

  .order-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .order-actions {
    flex-wrap: wrap;
  }
}

/* ===========================
   Track Order Page
=========================== */

.track-page {
  margin-top: 25px;
  margin-bottom: 40px;
}

.track-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.track-head p {
  margin: 6px 0;
  font-size: 14px;
}

.track-status h3 {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 900;
}

.status-text {
  color: #00a884;
}

.track-steps {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  padding: 12px;
  border-radius: 12px;
  background: #f7f7f7;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  color: #666;
}

.step.active {
  background: #eafff8;
  color: #00a884;
}

.step.cancelled {
  background: #ffecec;
  color: #d10000;
}

.btn-back {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #2874f0;
  color: white;
  font-weight: 900;
  text-decoration: none;
}

    /* ====================
       Footer
       ==================== */

    footer.site-footer{
      padding:18px 0 30px;
      background: #fff;
      border-top:1px solid rgba(0,0,0,0.04);
    }
    .footer-grid {
      display:grid;
      grid-template-columns: 1fr;
      gap:12px;
    }
    .footer-grid h4 { margin:0 0 8px 0; font-size:0.95rem; }
    .footer-grid a { display:block; padding:6px 0; color:var(--muted); font-size:0.95rem; }

    .socials {
      display:flex;
      gap:10px;
      margin-top:8px;
    }

    /* ====================
       Utilities
       ==================== */
    .row { display:flex; gap:10px; align-items:center; }
    .muted { color:var(--muted); font-size:0.95rem; }

    /* ====================
       Media Queries — Tablet & Desktop
       ==================== */

    @media (min-width: 768px) {
      body { font-size:16px; }
      .wrap { padding: 0 24px; }

      /* show nav inline instead of mobile drawer */
     

      .hero .hero-slide { padding:28px; min-height:180px; }
      .hero h1 { font-size:1.4rem; }

      /* product grid: 2 columns */
      .products .grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }

   @media(max-width:768px){
  .category-row {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 18px;
    padding: 10px;
    white-space: nowrap;
  }

   .category-icon{
        width:52px;
        height:52px;
    }

    .cat-name{
        font-size:12px;
    }

  .category-row a {
    flex: 0 0 auto;
  }
} 
    @media (min-width: 1024px) {
      :root { --container-pad: 32px; }
      body { font-size:17px; }
      .wrap { padding: 0 36px; }

      .topbar { padding:14px 0; }
      .logo { font-size:1.2rem; }
      .search-bar input[type="search"]{ font-size:1rem; }

      /* product grid: 4 columns */
      .products .grid {
        grid-template-columns: repeat(4, 1fr);
      }

      .hero .hero-slide { min-height:220px; gap:24px; }
      .hero h1 { font-size:1.6rem; }

      .footer-grid { grid-template-columns: repeat(4, 1fr); }
    }

    /* Accessibility focus styles */
    .icon-btn:focus, .btn-buy:focus, .hamburger:focus, .search-bar input:focus {
      outline: 3px solid rgba(15,108,255,0.12);
      outline-offset:3px;
    }

    /* small screen tweaks for hamburger: hide inline nav icons if necessary (we show nav via mobile drawer) */
    @media (max-width:767px){
      nav.mobile-nav { display:none; } /* start hidden; toggled via JS */
    }
  @media (max-width: 768px) {
    .hero-carousel {
        height: 160px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 130px;
    }
}
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.auth-box {
    width: 380px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    text-align: center;
}

.auth-box h2 {
    margin-bottom: 10px;
    color: #2874F0;
}

.auth-box p {
    font-size: 14px;
    color: #555;
}

.auth-box input {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.btn-auth {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: none;
    background: #fb641b;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

.btn-auth:hover {
    background: #e85a12;
}

.auth-link {
    margin-top: 15px;
    font-size: 14px;
}
.auth-link a {
    color: #2874F0;
    font-weight: bold;
}
.seller-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.seller-menu a {
    width: auto;
    text-decoration: none;
    display: inline-block;
}
.product-form {
    max-width: 600px;
    margin-top: 20px;
}

.product-form input,
.product-form textarea,
.product-form select {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}
/* ====================
   Dropdown Pages (Login  / Signup)
==================== */

/* ====================
   Login Page
==================== */


 /* ==============================
   ADVAITAA Flipkart Style Login
   Mercury Green Theme
================================ */

.login-page {
  background: #f1f3f6;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  padding: 30px 15px;
}

.login-box {
  width: 900px;
  display: flex;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
}

/* LEFT PANEL */
.login-left {
  width: 40%;
  background: linear-gradient(180deg, #2f7d4c, #1f5f38);
  color: white;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-left h2 {
  font-size: 34px;
  margin: 0;
}

.login-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
  opacity: 0.9;
}

.login-illustration {
  margin-top: 30px;
  text-align: center;
}

.login-illustration img {
  max-width: 240px;
  width: 100%;
  opacity: 0.95;
}

/* RIGHT PANEL */
.login-right {
  width: 60%;
  padding: 45px 45px;
  background: white;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  font-size: 13px;
  color: #555;
  display: block;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 10px 5px;
  border: none;
  border-bottom: 2px solid #ddd;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

.form-group input:focus {
  border-bottom: 2px solid #2f7d4c;
}

/* PASSWORD SHOW BUTTON */
.password-group {
  position: relative;
}

.show-pass {
  position: absolute;
  right: 5px;
  top: 35px;
  font-size: 14px;
  cursor: pointer;
  color: #2f7d4c;
  font-weight: 600;
}

/* TERMS */
.terms {
  font-size: 12px;
  color: #777;
  margin-bottom: 18px;
}

.terms a {
  color: #2f7d4c;
  font-weight: 600;
  text-decoration: none;
}

/* LOGIN BUTTON */
.btn-login {
  width: 100%;
  padding: 14px;
  border: none;
  background: #2f7d4c;
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #25683f;
}

/* DIVIDER */
.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider span {
  background: white;
  padding: 0 12px;
  font-size: 13px;
  color: #888;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  background: #ddd;
  z-index: -1;
}

/* OTP BUTTON */
.btn-otp {
  width: 100%;
  padding: 14px;
  border: 2px solid #2f7d4c;
  background: white;
  color: #2f7d4c;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-otp:hover {
  background: #2f7d4c;
  color: white;
}

/* NEW ACCOUNT */
.new-account {
  margin-top: 22px;
  font-size: 14px;
  text-align: center;
  color: #444;
}

.new-account a {
  color: #2f7d4c;
  font-weight: 700;
  text-decoration: none;
}

/* ERROR MESSAGE */
.login-error {
  background: #ffe0e0;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  color: #c00000;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .login-box {
    flex-direction: column;
    width: 100%;
    max-width: 450px;
  }

  .login-left, .login-right {
    width: 100%;
  }

  .login-left {
    text-align: center;
    padding: 30px;
  }
}

/* ====================
   Dropdown Pages (Login  / Signup)
==================== */

/* ====================
   Signup Page
==================== */


 /* ==============================
   ADVAITTAA Flipkart Style Signup
   Mercury Green Theme
================================ */


.auth-page {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: #f2f4f7;
}

.auth-wrapper {
  width: 100%;
  max-width: 980px;
  margin: 60px auto;
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0px 10px 40px rgba(0,0,0,0.12);
  background: white;
}

/* LEFT PANEL (Mercury Green Theme) */
.auth-left {
  width: 40%;
  background: linear-gradient(180deg, #2d8b57, #1e6a42);
  padding: 45px 35px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-left h1 {
  font-size: 34px;
  margin: 0;
  font-weight: 700;
}

.auth-left p {
  font-size: 16px;
  margin-top: 12px;
  line-height: 1.5;
  opacity: 0.95;
}

.auth-illustration {
  margin-top: 25px;
  text-align: center;
}

.auth-illustration img {
  max-width: 100%;
  height: auto;
  opacity: 0.95;
}

/* RIGHT PANEL */
.auth-right {
  width: 60%;
  padding: 50px 50px;
  background: #fff;
}

.auth-form h2 {
  margin: 0 0 25px 0;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;
  font-weight: 600;
}

.input-group input {
  width: 100%;
  padding: 12px 10px;
  font-size: 15px;
  border: none;
  border-bottom: 2px solid #ddd;
  outline: none;
  transition: 0.2s;
}

.input-group input:focus {
  border-bottom: 2px solid #2d8b57;
}

/* PASSWORD GROUP */
.password-group {
  position: relative;
}

.show-btn {
  position: absolute;
  right: 0;
  top: 35px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #2d8b57;
  user-select: none;
}

/* TERMS TEXT */
.terms-text {
  font-size: 12px;
  color: #666;
  margin: 20px 0;
  line-height: 1.5;
}

.terms-text a {
  color: #2d8b57;
  font-weight: 700;
  text-decoration: none;
}

/* BUTTONS */
.auth-btn {
  width: 100%;
  padding: 14px;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.primary-btn {
  background: #2d8b57;
  color: white;
  box-shadow: 0px 4px 12px rgba(45,139,87,0.25);
}

.primary-btn:hover {
  background: #237246;
}

/* BOTTOM TEXT */
.auth-bottom {
  margin-top: 25px;
  text-align: center;
  font-size: 14px;
  color: #444;
}

.auth-bottom a {
  color: #2d8b57;
  font-weight: 700;
  text-decoration: none;
}

/* ALERT MESSAGE */
.auth-alert {
  background: #ffe5e5;
  border-left: 4px solid red;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .auth-wrapper {
    flex-direction: column;
    margin: 20px;
  }

  .auth-left,
  .auth-right {
    width: 100%;
  }

  .auth-right {
    padding: 30px;
  }
}
/* ===================================
   PREMIUM TOP STRIP
=================================== */

.premium-top-strip{
    position:sticky;
    top:0;
    z-index:99999;

    width:100%;
    background:#111827;

    border-bottom:1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(12px);
}

/* WRAP */

.premium-strip-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;

    min-height:38px;
}

/* ===================================
   BRAND TABS
=================================== */

.brand-tabs{
    display:flex;
    align-items:center;
    gap:14px;
}

/* EACH TAB */

.brand-tab{
    position:relative;

    display:flex;
    align-items:center;
    gap:10px;

    padding:2px 6px;

    text-decoration:none;

    border-radius:10px;

    transition:0.28s ease;
}

/* HOVER */

.brand-tab:hover{
    background:rgba(255,255,255,0.06);
}

/* ACTIVE */

.active-brand{
    background:rgba(40,116,240,0.16);
}

/* ICON */

.brand-icon-circle{
    width:38px;
    height:38px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#2874f0;

    font-size:18px;

    flex-shrink:0;
}

/* MEDIA ICON */

.media-icon{
    background:#ec4899;
}

/* DETAILS */

.brand-details{
    display:flex;
    flex-direction:column;
}

/* ROW */

.brand-title-row{
    display:flex;
    align-items:center;
    gap:8px;
}

/* TITLE */

.brand-name{
    color:#fff;
    font-size:15px;
    font-weight:700;
    letter-spacing:0.2px;
}

/* SUBTITLE */

.brand-subtitle{
    color:#cbd5e1;
    font-size:11px;
    margin-top:2px;
}

/* PREMIUM BADGE */

.premium-badge{
    background:linear-gradient(135deg,#facc15,#f59e0b);

    color:#111827;

    font-size:10px;
    font-weight:700;

    padding:2px 6px;

    border-radius:30px;

    letter-spacing:0.5px;
}

/* ===================================
   UNDERLINE ANIMATION
=================================== */

.active-line{
    position:absolute;

    bottom:0;
    left:14px;

    width:0%;
    height:2px;

    background:#2874f0;

    transition:0.35s ease;
}

.brand-tab:hover .active-line{
    width:80%;
}

.active-brand .active-line{
    width:80%;
}

/* ===================================
   RIGHT LINKS
=================================== */

.premium-right-links{
    display:flex;
    align-items:center;
    gap:18px;
}

.top-mini-link{
    color:#d1d5db;
    text-decoration:none;

    font-size:13px;
    font-weight:500;

    transition:0.25s ease;
}

.top-mini-link:hover{
    color:#fff;
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:768px){

    .premium-strip-wrap{
        flex-direction:column;
        align-items:flex-start;

        padding:8px 0;
    }

    .brand-tabs{
        width:100%;
        overflow-x:auto;

        padding-bottom:6px;
    }

    .premium-right-links{
        width:100%;

        justify-content:flex-start;

        padding-top:4px;
    }

    .brand-tab{
        min-width:220px;
    }

}
.seller-page{

    background:#fff;

    padding:40px;

    border-radius:12px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    margin:25px auto;

    text-align:center;

}
