/* simplified from your original style, paths already point to assets/img/... */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f8f8;
  color: #333;
  scroll-behavior: smooth;
  padding-top: 85px;
}

/* navbar etc... (shortened) */
nav.navbar {
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  min-height: 75px;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 42px;
  width: 42px;
}

.nav-link { color:#333 !important; font-weight:500; transition:0.3s; }
.nav-link:hover { color:#0a8239 !important; }

.login-btn {
  background:#0a8239; color:#fff !important;
  padding:8px 20px; border-radius:25px; font-weight:600;
  text-decoration:none;
}
.login-btn:hover { background:#086c2f; }

/* hero */
#hero {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url("../img/banner.png") center/cover no-repeat;
  height:88vh;
  display:flex; justify-content:center; align-items:center;
}
.hero-content { text-align:center; color:#fff; max-width:700px; padding:0 20px; }
.hero-content h1 { font-size:3rem; font-weight:700; }
.hero-content span { color:#a6ce39; }
.hero-content button {
  background: linear-gradient(135deg,#0a8239,#19a74b);
  padding:14px 40px; border:none; border-radius:30px;
  color:#fff; font-weight:600; font-size:1rem; transition:0.3s;
}
.hero-content button:hover { background:#086c2f; transform:scale(1.05); }

/* cards */
.card { border:none; border-radius:14px!important; overflow:hidden;
  box-shadow:0 3px 10px rgba(0,0,0,0.07); transition:0.3s; }
.card:hover { transform:translateY(-5px); box-shadow:0 5px 15px rgba(0,0,0,0.12); }
.card img { height:210px; object-fit:cover; }
.card-body h5 { font-weight:600; color:#0a8239; }
.card-body button {
  background:#0a8239; color:#fff; border-radius:25px;
  padding:7px 18px; border:none;
}
.card-body button:hover { background:#086c2f; }

/* cart */
.cart-item {
  display:flex; gap:15px; margin-bottom:18px;
  background:#fff; padding:12px; border-radius:12px;
  box-shadow:0 3px 8px rgba(0,0,0,0.05);
}
.cart-item img { width:90px; height:90px; border-radius:10px; object-fit:cover; }
.quantity-box { display:flex; align-items:center; gap:10px; }
.quantity-btn {
  background:#0a8239; color:#fff; border:none;
  width:28px; height:28px; border-radius:50%;
}
.quantity-btn:hover { background:#086c2f; }
.remove-btn { color:red; font-weight:600; cursor:pointer; }

/* footer */
.site-footer {
  margin-top:40px; padding:16px 12px;
  border-top:1px solid #ddd; text-align:center; font-size:14px;
  background-color:#f8f8f8;
}
.site-footer .footer-links a { text-decoration:none; margin:0 4px; color:#0a8239; }
.site-footer .footer-links a:hover { text-decoration:underline; }
.footer-copy { color:#666; }

/* auth page */
.login-body {
  margin:0; padding:0; background:linear-gradient(135deg,#f3ffe8,#e6f6ff);
  min-height:100vh; display:flex; justify-content:center; align-items:center;
}
.auth-wrapper { width:100%; max-width:430px; padding:16px; }
.auth-card { background:#fff; border-radius:22px; box-shadow:0 18px 40px rgba(0,0,0,0.08); padding:26px 22px 24px; }
.auth-logo { display:flex; flex-direction:column; align-items:center; gap:6px; margin-bottom:12px; }
.auth-logo img { height:40px; width:40px; border-radius:50%; object-fit:cover; }
.auth-logo span { font-weight:600; font-size:1rem; color:#222; }
.tab-row { display:flex; gap:6px; margin-bottom:14px; }
.tab-btn { flex:1; border-radius:999px; border:none; padding:8px 0; font-size:0.9rem; font-weight:500;
  cursor:pointer; background:#f3f4f6; color:#6b7280; }
.tab-btn.active { background:#0a8239; color:#fff; }
.auth-title { text-align:center; font-size:1.25rem; font-weight:600; margin-bottom:4px; }
.auth-subtitle { text-align:center; font-size:0.9rem; color:#6b7280; margin-bottom:12px; }
.btn-google {
  width:100%; border-radius:999px; border:1px solid #e5e7eb; padding:10px 14px;
  font-size:0.95rem; font-weight:500; background:#fff;
  display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer;
}
.btn-google:hover { background:#f9fafb; }
.or-row { display:flex; align-items:center; justify-content:center; gap:8px; margin:16px 0 10px; font-size:0.8rem; color:#9ca3af; }
.or-row span.line { flex-grow:1; height:1px; background:#e5e7eb; }
.field-label { font-size:0.8rem; font-weight:500; margin-bottom:4px; color:#374151; }
.input-wrapper {
  border-radius:12px; border:1px solid #e5e7eb; display:flex; align-items:center;
  padding:0 12px; background:#f9fafb; margin-bottom:10px;
}
.input-wrapper input { border:none; outline:none; background:transparent; flex:1; font-size:0.9rem; padding:10px 0; }
.btn-primary-gt {
  width:100%; border-radius:999px; border:none; padding:11px 16px;
  font-size:0.95rem; font-weight:600; cursor:pointer; background:#0a8239; color:#fff; margin-top:4px;
}
.btn-primary-gt:hover { background:#08652e; }
.status-msg { min-height:18px; font-size:0.8rem; margin-top:6px; }
.small-note { font-size:0.75rem; color:#9ca3af; margin-top:10px; line-height:1.45; }
.bottom-row { margin-top:16px; font-size:0.8rem; text-align:center; color:#6b7280; }
.bottom-row a { color:#0a8239; font-weight:500; text-decoration:none; }
.bottom-row a:hover { text-decoration:underline; }

@media (max-width:768px){
  #hero { height:70vh; }
  .hero-content h1 { font-size:2.2rem; }
}
@media (max-width:480px){
  .hero-content h1 { font-size:1.8rem; }
  .card img { height:180px; }
}
.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: calc(25% - 16px);
  min-width: 230px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
}

.product-image-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 8px 10px;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 6px;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-price {
  color: #d32f2f;
  font-weight: 700;
}

.product-mrp {
  text-decoration: line-through;
  color: #999;
  font-size: 12px;
}

.product-off {
  color: #0a8d48;
  font-size: 11px;
  font-weight: 600;
}

.product-card-cart-btn {
  margin: 6px 10px 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .product-card {
    width: calc(33.333% - 16px);
  }
}
@media (max-width: 768px) {
  .product-card {
    width: calc(50% - 16px);
  }
}
@media (max-width: 480px) {
  .product-card {
    width: 100%;
  }
}
.product-page {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 16px;
}

.product-main {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.product-main-left {
  flex: 1;
}

.product-main-left img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

.product-main-right {
  flex: 1;
}

.prod-price-block {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
}

.prod-price {
  font-size: 24px;
  font-weight: 700;
  color: #d32f2f;
}

.prod-mrp {
  text-decoration: line-through;
  color: #999;
}

.prod-off {
  color: #0a8d48;
  font-weight: 600;
}

.prod-qty-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.prod-qty-row button {
  width: 32px;
  height: 32px;
}

.prod-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.product-desc-section,
.similar-products-section {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .product-main {
    flex-direction: column;
  }
}
/* ============ GLOBAL BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;            /* full round */
  border: none;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

/* main green button (Add to cart etc.) */
.btn-primary {
  background: #28a745;
  color: #fff;
}

/* secondary (Buy now / grey) */
.btn-secondary {
  background: #f44336;
  color: #fff;
}

/* small size buttons (card me) */
.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

/* hover effect */
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

/* focus */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25);
}
