:root {
  --brand-primary: #ff5722;   /* vivid orange - CTA */
  --brand-dark: #1a1f36;      /* deep navy - header/footer */
  --brand-accent: #00b894;    /* teal - badges/success */
  --brand-light: #fff7f4;
}

* { font-family: 'Poppins', sans-serif; }

body { background: #fafafa; color: #222; }

.brand-mobile { color: var(--brand-dark); }
.brand-bazaar { color: var(--brand-primary); }

.top-strip {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.82rem;
  padding: 6px 0;
}

.search-input { border-radius: 6px 0 0 6px; }
.btn-brand, .btn-brand:hover, .btn-brand:focus {
  background: var(--brand-primary);
  color: #fff;
  border-radius: 0 6px 6px 0;
  border: none;
}

.category-bar { gap: 8px; }
.category-bar .nav-link {
  color: #444;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 4px 10px;
  border-radius: 20px;
}
.category-bar .nav-link:hover { background: var(--brand-light); color: var(--brand-primary); }

.cart-badge {
  position: absolute;
  top: -2px;
  right: -10px;
  font-size: 0.65rem;
}

/* Hero banner */
.hero-banner {
  background: linear-gradient(120deg, var(--brand-dark) 0%, #33395a 100%);
  border-radius: 16px;
  color: #fff;
  padding: 50px 40px;
  overflow: hidden;
  position: relative;
}
.hero-banner h1 { font-weight: 700; font-size: 2.4rem; }
.hero-banner p { opacity: .85; font-size: 1.05rem; }

/* Category cards */
.cat-card {
  border-radius: 14px;
  text-align: center;
  padding: 18px 10px;
  background: #fff;
  border: 1px solid #eee;
  transition: all .2s ease;
  text-decoration: none;
  color: #222;
  display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: var(--brand-primary); }
.cat-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 8px; }
.cat-card span { display: block; font-weight: 500; font-size: .88rem; }

/* Product card */
.product-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  transition: all .2s ease;
  height: 100%;
  position: relative;
}
.product-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.09); transform: translateY(-3px); }
.product-card .img-wrap { background: #f7f7f7; aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-card .body { padding: 12px 14px; }
.product-card .title { font-size: .92rem; font-weight: 500; height: 2.6em; overflow: hidden; color:#222; text-decoration:none; }
.product-card .price { font-weight: 700; color: var(--brand-dark); font-size: 1.05rem; }
.product-card .mrp { text-decoration: line-through; color: #999; font-size: .82rem; margin-left:6px; }
.product-card .off { color: var(--brand-accent); font-size: .8rem; font-weight: 600; margin-left:6px; }
.badge-cod {
  background: var(--brand-light);
  color: var(--brand-primary);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-block;
}
.badge-featured {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand-primary); color: #fff;
  font-size: .68rem; padding: 3px 9px; border-radius: 20px; font-weight: 600; z-index: 2;
}
.wishlist-btn { position:absolute; top:10px; right:10px; background:#fff; border-radius:50%; width:32px; height:32px; display:flex; align-items:center; justify-content:center; border:1px solid #eee; z-index:2; }

.section-title { font-weight: 700; font-size: 1.5rem; margin-bottom: 4px; }
.section-sub { color: #777; margin-bottom: 24px; }

/* Product detail page */
.pd-gallery-main { border: 1px solid #eee; border-radius: 14px; aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; background:#f7f7f7; overflow:hidden; }
.pd-gallery-main img { width:100%; height:100%; object-fit: contain; padding: 20px; }
.pd-thumb { border: 2px solid #eee; border-radius: 8px; width: 64px; height: 64px; object-fit: contain; background:#f7f7f7; cursor:pointer; padding:4px; }
.pd-thumb.active { border-color: var(--brand-primary); }

.qty-box { width: 110px; }

.site-footer { background: var(--brand-dark); }
.footer-links a { color: #cfd2dd; text-decoration: none; font-size: .9rem; line-height: 2.1; }
.footer-links a:hover { color: var(--brand-primary); }

/* Cart page */
.cart-item-img { width: 80px; height: 80px; object-fit: contain; background:#f7f7f7; border-radius:8px; padding:6px; }

/* Checkout */
.order-summary-box { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 20px; }
.payment-option {
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all .15s ease;
}
.payment-option.selected { border-color: var(--brand-primary); background: var(--brand-light); }

/* Buttons */
.btn-primary-brand {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  font-weight: 600;
}
.btn-primary-brand:hover { background: #e64a19; border-color: #e64a19; color: #fff; }
.btn-outline-brand { border-color: var(--brand-primary); color: var(--brand-primary); font-weight: 600; }
.btn-outline-brand:hover { background: var(--brand-primary); color: #fff; }

@media (max-width: 576px) {
  .hero-banner h1 { font-size: 1.6rem; }
  .hero-banner { padding: 30px 20px; }
}
