/* ==========================
   Reset & Base Styles
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

body {
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* ==========================
   Global Smooth Scroll
========================== */
html {
  scroll-behavior: smooth;
}

/* ==========================
   Container
========================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================
   Header / Navbar
========================== */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  gap: 10px;
}

.logo img {
  height: 50px;
}

/* Navigation (Desktop) */
.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #27ae60;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mini-cart a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
}

.mini-cart a:hover {
  color: #27ae60;
}

/* Hamburger Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

.menu-btn:hover {
  color: #27ae60;
}

/* ==========================
   Mobile Responsive
========================== */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .header-actions .auth-btn,
  .header-actions .mini-cart {
    margin: 0;
  }

  /* Mobile Auth Buttons in Nav */
  .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-auth .auth-btn {
    padding: 0.6rem 1.5rem;
    background: #27ae60;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
  }

  .mobile-auth .auth-btn:hover {
    background: #1e874b;
    transform: scale(1.05);
  }
}

/* ==========================
   Hero Section
========================== */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('../assets/images/farm-hero.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.hero-btn {
  display: inline-block;
  background: #27ae60;
  color: #fff;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.hero-btn:hover {
  background: #1e874b;
  transform: scale(1.05);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-btn {
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
  }
}

/* ==========================
   Products Section
========================== */
.section.products {
  padding: 4rem 0;
  background: #f9f9f9;
  text-align: center;
}

.section.products h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section.products p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #555;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card h3 {
  margin: 0.8rem 1rem 0.4rem;
  font-size: 1.2rem;
  color: #2c3e50;
}

.product-card p {
  margin: 0 1rem 1rem;
  font-size: 0.95rem;
  color: #555;
}

/* Quantity Controls */
.product-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.qty-btn {
  padding: 0.3rem 0.8rem;
  background: #27ae60;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 5px;
  font-size: 1rem;
}

.qty-btn:hover {
  background: #1e874b;
}

.qty {
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
  font-size: 1rem;
}

/* Product Footer */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem 1rem;
}

.price {
  font-weight: 600;
  color: #2c3e50;
}

.add-to-cart-btn {
  background: #27ae60;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.add-to-cart-btn:hover {
  background: #1e874b;
}

/* ==========================
   Auth Buttons (Sign In / Sign Up / Profile)
========================== */
.header-actions #authButtons {
  display: flex;
  gap: 10px;
}

.header-actions #authButtons .auth-btn {
  padding: 0.5rem 1.2rem;
  background: #27ae60;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.header-actions #authButtons .auth-btn:hover {
  background: #1e874b;
  transform: scale(1.05);
}

/* ==========================
   Footer
========================== */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}

/* ==========================
   Fade-up Animation (for future use)
========================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   Gallery / Other Pages (Optional - for future expansion)
========================== */
.gallery-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  background: #fff;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* =========================
   About Page Styles
   ========================= */
.about-page {
  background: #f2faf5;
  color: #222;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
}

/* Hero Section */
.about-hero {
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/farm-wide.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.about-hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Section Spacing */
.about-section {
  padding: 5rem 0;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-section h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 2.5rem;
}

/* Person Card */
.person-card {
  background: #fff;
  border-radius: 20px;
  padding: 70px 2rem 2rem; /* Extra top padding */
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

/* Image Container */
.person-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem; /* Space below image */
}

.person-image-container img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #27ae60;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.person-image-container img:hover {
  transform: scale(1.05);
}

/* Person Info */
.person-info {
  text-align: left;
  padding: 0 1.5rem;
}

.person-info h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 0 0 0.4rem;
}

.person-info .role {
  color: #27ae60;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.person-paragraphs p {
  margin-bottom: 1.2rem;
}

/* =========================
   Cart Page Styles
   ========================= */
.cart-page {
  background: #f9f9f9;
  padding: 4rem 0;
  min-height: 100vh;
}

.cart-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cart-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cart-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.cart-header p {
  color: #555;
  font-size: 1.1rem;
}

/* Cart Items */
.cart-items {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1.2rem;
  border-bottom: 1px solid #eee;
  gap: 1rem;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.item-details h4 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin: 0;
}

.item-details .price {
  color: #27ae60;
  font-weight: 600;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.qty-btn {
  width: 34px;
  height: 34px;
  background: #27ae60;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.qty-btn:hover {
  background: #1e874b;
  transform: scale(1.05);
}

.qty {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  color: #222;
}

.remove-btn {
  color: #e74c3c;
  background: none;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.remove-btn:hover {
  color: #c0392b;
  text-decoration: underline;
}

.item-total {
  font-weight: 600;
  color: #2c3e50;
  white-space: nowrap;
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
  color: #555;
}

.empty-cart img {
  max-width: 120px;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-cart p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Cart Summary */
.cart-summary {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 2rem;
  max-width: 350px;
  margin-left: auto;
}

.cart-summary h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.summary-row:last-child {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #27ae60;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

/* CTA Buttons */
.cart-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-outline {
  flex: 1;
  padding: 0.8rem 1.5rem;
  text-align: center;
  background: transparent;
  border: 2px solid #27ae60;
  color: #27ae60;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: #27ae60;
  color: #fff;
}

.btn-primary {
  flex: 1;
  padding: 0.8rem 1.5rem;
  text-align: center;
  background: #27ae60;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #1e874b;
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .cart-summary {
    max-width: 100%;
    margin: 0;
  }
  .cart-actions {
    flex-direction: column;
  }
  .cart-item {
    flex-wrap: wrap;
    text-align: center;
  }
  .item-total {
    margin-left: auto;
  }
}

/* ==========================
   Reset & Base Styles
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

body {
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* ==========================
   Global Smooth Scroll
========================== */
html {
  scroll-behavior: smooth;
}

/* ==========================
   Container
========================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================
   Header / Navbar
========================== */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  gap: 10px;
}

.logo img {
  height: 50px;
}

/* Navigation (Desktop) */
.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #27ae60;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mini-cart a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
}

.mini-cart a:hover {
  color: #27ae60;
}

/* Hamburger Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

.menu-btn:hover {
  color: #27ae60;
}

/* ==========================
   Mobile Responsive
========================== */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .header-actions .auth-btn,
  .header-actions .mini-cart {
    margin: 0;
  }

  /* Mobile Auth Buttons in Nav */
  .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-auth .auth-btn {
    padding: 0.6rem 1.5rem;
    background: #27ae60;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
  }

  .mobile-auth .auth-btn:hover {
    background: #1e874b;
    transform: scale(1.05);
  }
}

/* ==========================
   Hero Section
========================== */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('../assets/images/farm-hero.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.hero-btn {
  display: inline-block;
  background: #27ae60;
  color: #fff;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.hero-btn:hover {
  background: #1e874b;
  transform: scale(1.05);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-btn {
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
  }
}

/* ==========================
   Products Section
========================== */
.section.products {
  padding: 4rem 0;
  background: #f9f9f9;
  text-align: center;
}

.section.products h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section.products p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #555;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card h3 {
  margin: 0.8rem 1rem 0.4rem;
  font-size: 1.2rem;
  color: #2c3e50;
}

.product-card p {
  margin: 0 1rem 1rem;
  font-size: 0.95rem;
  color: #555;
}

/* Quantity Controls */
.product-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.qty-btn {
  padding: 0.3rem 0.8rem;
  background: #27ae60;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 5px;
  font-size: 1rem;
}

.qty-btn:hover {
  background: #1e874b;
}

.qty {
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
  font-size: 1rem;
}

/* Product Footer */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem 1rem;
}

.price {
  font-weight: 600;
  color: #2c3e50;
}

.add-to-cart-btn {
  background: #27ae60;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.add-to-cart-btn:hover {
  background: #1e874b;
}

/* ==========================
   Auth Buttons (Sign In / Sign Up / Profile)
========================== */
.header-actions #authButtons {
  display: flex;
  gap: 10px;
}

.header-actions #authButtons .auth-btn {
  padding: 0.5rem 1.2rem;
  background: #27ae60;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.header-actions #authButtons .auth-btn:hover {
  background: #1e874b;
  transform: scale(1.05);
}

/* ==========================
   Footer
========================== */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}

/* ==========================
   Fade-up Animation (for future use)
========================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   Gallery / Other Pages (Optional - for future expansion)
========================== */
.gallery-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  background: #fff;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* =========================
   About Page Styles
   ========================= */
.about-page {
  background: #f2faf5;
  color: #222;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
}

/* Hero Section */
.about-hero {
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/farm-wide.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.about-hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Section Spacing */
.about-section {
  padding: 5rem 0;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-section h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 2.5rem;
}

/* Person Card */
.person-card {
  background: #fff;
  border-radius: 20px;
  padding: 70px 2rem 2rem; /* Extra top padding */
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

/* Image Container */
.person-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem; /* Space below image */
}

.person-image-container img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #27ae60;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.person-image-container img:hover {
  transform: scale(1.05);
}

/* Person Info */
.person-info {
  text-align: left;
  padding: 0 1.5rem;
}

.person-info h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 0 0 0.4rem;
}

.person-info .role {
  color: #27ae60;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.person-paragraphs p {
  margin-bottom: 1.2rem;
}

/* =========================
   Cart Page Styles
   ========================= */
.cart-page {
  background: #f9f9f9;
  padding: 4rem 0;
  min-height: 100vh;
}

.cart-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cart-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cart-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.cart-header p {
  color: #555;
  font-size: 1.1rem;
}

/* Cart Items */
.cart-items {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1.2rem;
  border-bottom: 1px solid #eee;
  gap: 1rem;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.item-details h4 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin: 0;
}

.item-details .price {
  color: #27ae60;
  font-weight: 600;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.qty-btn {
  width: 34px;
  height: 34px;
  background: #27ae60;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.qty-btn:hover {
  background: #1e874b;
  transform: scale(1.05);
}

.qty {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  color: #222;
}

.remove-btn {
  color: #e74c3c;
  background: none;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.remove-btn:hover {
  color: #c0392b;
  text-decoration: underline;
}

.item-total {
  font-weight: 600;
  color: #2c3e50;
  white-space: nowrap;
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
  color: #555;
}

.empty-cart img {
  max-width: 120px;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-cart p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Cart Summary */
.cart-summary {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 2rem;
  max-width: 350px;
  margin-left: auto;
}

.cart-summary h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.summary-row:last-child {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #27ae60;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

/* CTA Buttons */
.cart-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-outline {
  flex: 1;
  padding: 0.8rem 1.5rem;
  text-align: center;
  background: transparent;
  border: 2px solid #27ae60;
  color: #27ae60;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: #27ae60;
  color: #fff;
}

.btn-primary {
  flex: 1;
  padding: 0.8rem 1.5rem;
  text-align: center;
  background: #27ae60;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #1e874b;
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .cart-summary {
    max-width: 100%;
    margin: 0;
  }
  .cart-actions {
    flex-direction: column;
  }
  .cart-item {
    flex-wrap: wrap;
    text-align: center;
  }
  .item-total {
    margin-left: auto;
  }
}

/* =========================
   Header Styles - Professional & Clean
========================== */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
}

.logo img {
  height: 60px; /* Larger logo */
  width: auto;
  transition: transform 0.3s ease;
}

.logo span {
  text-decoration: none;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.logo span:hover {
  color: #27ae60;
}

.nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav a:hover {
  color: #27ae60;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.mini-cart a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mini-cart a:hover {
  color: #27ae60;
}

.mini-cart i {
  color: #27ae60;
}

#cartCount {
  font-size: 0.9rem;
  font-weight: 600;
  background: #27ae60;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-left: 0.2rem;
}

.auth-btn {
  padding: 0.5rem 1.2rem;
  background: #27ae60;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.auth-btn:hover {
  background: #1e874b;
  transform: scale(1.05);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  color: #27ae60;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .header-actions .auth-btn,
  .header-actions .mini-cart {
    margin: 0;
  }

  .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-auth .auth-btn {
    padding: 0.6rem 1.5rem;
    background: #27ae60;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
  }

  .mobile-auth .auth-btn:hover {
    background: #1e874b;
    transform: scale(1.05);
  }
}

/* =========================
   Mini Cart Styling
   ========================= */
.mini-cart a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mini-cart i {
  color: #27ae60;
  font-size: 1.2rem;
}

#cartCount {
  font-size: 0.8rem;
  font-weight: 600;
  background: #27ae60;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   Cart Summary Fix - No Green Line
========================== */
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  color: #444;
}

.summary-row:last-child {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 2px solid #27ae60;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
}

/* Fix Total Alignment */
.summary-row:last-child span:first-child {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
}

.summary-row:last-child span:last-child {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
}

/* Buttons - Professional Look */
.cart-actions {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.btn-outline {
  flex: 1;
  padding: 0.9rem 1.6rem;
  text-align: center;
  background: transparent;
  border: 2px solid #27ae60;
  color: #27ae60;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #27ae60;
  color: #fff;
}

.btn-primary {
  flex: 1;
  padding: 0.9rem 1.6rem;
  text-align: center;
  background: #27ae60;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #1e874b;
  transform: scale(1.04);
}
