@import url('../fonts/custom-fonts.css');

:root {
  --primary-color: #2b4d3e;
  --accent-color: #e8c547;
  --text-color: #333;
  --bg-color: #ffffff;
  --font-primary: 'Poppins', 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #1f382e;
}

.page-content {
  padding-top: 100px;
  min-height: 70vh;
}

.home-banner {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(180deg, #f3f8f6, #ffffff);
}

.home-banner h1 {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.home-banner p {
  color: #555;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.site-footer {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
  font-size: 0.9rem;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   CART & WISHLIST PAGE
   ------------------------------------------------------------ */

.cart-page, .wishlist-page {
  padding: 60px 20px;
}

.cart-grid, .wishlist-grid {
  display: grid;
  gap: 20px;
}

.cart-item, .wishlist-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cart-item img, .wishlist-item img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-right: 20px;
  object-fit: cover;
}

.cart-details, .wishlist-details {
  flex-grow: 1;
}

.remove-btn {
  background: transparent;
  border: 1px solid #c00;
  color: #c00;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.remove-btn:hover {
  background: #c00;
  color: #fff;
}

.empty-msg {
  text-align: center;
  padding: 60px;
  color: #555;
}

/* small badge next to header icons */
.nav-icons { position: relative; display:flex; gap:18px; align-items:center; }
.icon-link { position:relative; display:inline-block; color:inherit; text-decoration:none; }
.count-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #e6b95c; /* subtle gold accent */
  color: #0b2b22;      /* dark green text */
  font-weight: 600;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  line-height:1;
}

/* ====== Universal Button Style for Cart & Wishlist ====== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #214d35; /* Navyoga green tone */
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #173b27;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #214d35;
  color: #214d35;
  background-color: transparent;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background-color: #214d35;
  color: #fff;
  transform: translateY(-1px);
}

/* For icons inside buttons */
.btn-primary i,
.btn-outline i {
  margin-right: 6px;
  font-size: 16px;
}

/* Responsive centering */
.product-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

@media (max-width: 600px) {
  .product-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
  }
}

.remove-btn {
  background: none;
  border: none;
  color: #d9534f;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s ease;
}

.remove-btn:hover {
  color: #a94442;
  text-decoration: underline;
}

/* === Restore Elegant Red Outline Remove Button === */
.remove-btn {
  background-color: transparent;
  border: 1px solid #d9534f;
  color: #d9534f;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.remove-btn i {
  font-size: 13px;
}

.remove-btn:hover {
  background-color: #d9534f;
  color: #fff;
  transform: scale(1.05);
}



