
/* External stylesheets used (linked in header.php) */
/* Bootstrap CSS: https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css */
/* Font Awesome: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css */

/* ============================== Index Page CSS Start ============================== */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Root Variables */
:root {
    --primary: #0A5C3E;
    --primary-light: #0E7D54;
    --primary-dark: #063D29;
    --secondary: #B8860B;
    --accent: #DAA520;
    --accent-light: #F4E4C1;
    --sage: #87A96B;
    --earth: #8B7355;
    --bg-cream: #FDFBF7;
    --bg-light: #F8F6F1;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-cream);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Success Banner */
.success-banner {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 15px; /* Reduced padding for smaller screens */
    text-align: center;
    border-radius: 5px;
    margin: 8px; /* Slightly reduced margin */
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.success-banner strong {
    font-size: clamp(14px, 3vw, 15px); /* Responsive font size */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: clamp(300px, 50vw, 500px); /* Responsive height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: clamp(60px, 10vw, 100px); /* Responsive clip height */
    background: var(--bg-cream);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
    padding: 0 clamp(0.8rem, 2vw, 1rem); /* Responsive padding */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3rem); /* Responsive font size */
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(0.9rem, 2.5vw, 1.2em); /* Responsive font size */
    margin-bottom: clamp(15px, 3vw, 20px); /* Responsive margin */
    color: rgba(255,255,255,0.95);
    font-weight: 400;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.2);
}

.hero-btn {
    background-color: #28a745;
    color: white;
    padding: clamp(10px, 2vw, 12px) clamp(24px, 4vw, 32px); /* Responsive padding */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(218,165,32,0.3);
    letter-spacing: 0.5px;
    display: inline-block;
    font-size: clamp(0.9rem, 2vw, 1rem); /* Responsive font size */
}

.hero-btn:hover {
    background-color: #218838;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(218,165,32,0.4);
}

/* Category Filter */
.concern-filter {
    background: white;
    padding: clamp(20px, 4vw, 30px) clamp(15px, 3vw, 20px); /* Responsive padding */
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin: clamp(-60px, -8vw, -50px) auto clamp(2rem, 4vw, 3rem); /* Responsive margin */
    position: relative;
    z-index: 10;
    max-width: 1200px;
    border: 1px solid #F0F0F0;
}

.concern-filter h4 {
    font-size: clamp(1.2rem, 3vw, 1.5rem); /* Responsive font size */
    color: var(--primary);
    margin-bottom: clamp(1rem, 2vw, 1.5rem); /* Responsive margin */
    font-weight: 600;
    text-align: center;
}

.category-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 0 clamp(30px, 5vw, 50px); /* Responsive padding */
}

.category-list {
    display: flex;
    gap: 50px; /* Responsive gap */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: clamp(8px, 2vw, 10px) 0;
    transition: transform 0.3s ease;
    scrollbar-width: none;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category-item {
    min-width: clamp(80px, 15vw, 120px); /* Responsive min-width */
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-img {
    width: clamp(60px, 15vw, 100px) !important; /* Responsive image size */
    height: clamp(60px, 15vw, 100px) !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block;
    margin: 0 auto clamp(0.5rem, 1vw, 0.8rem); /* Responsive margin */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--bg-light);
    transition: all 0.3s ease;
}

.category-item:hover .category-img {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-item span {
    font-size: clamp(0.7rem, 2vw, 0.85rem); /* Responsive font size */
    font-weight: 500;
    color: var(--text-primary);
    display: block;
    word-wrap: break-word;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #28a745;
    color: white;
    border: none;
    padding: clamp(6px, 1.5vw, 8px); /* Responsive padding */
    cursor: pointer;
    border-radius: 50%;
    width: clamp(30px, 6vw, 40px); /* Responsive width */
    height: clamp(30px, 6vw, 40px); /* Responsive height */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: all 0.3s ease;
}

.scroll-btn.left {
    left: 5px;
    display: none;
}

.scroll-btn.right {
    right: 5px;
}

.scroll-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.scroll-btn i {
    font-size: clamp(0.8rem, 2vw, 1rem); /* Responsive font size */
    color: white;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(180deg, var(--bg-light), var(--bg-cream));
    padding: clamp(2rem, 5vw, 3rem) 0; /* Responsive padding */
    margin-bottom: clamp(2rem, 4vw, 3rem); /* Responsive margin */
}

.trust-tagline {
    text-align: center;
    font-size: clamp(0.85rem, 2vw, 1rem); /* Responsive font size */
    color: var(--text-secondary);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem); /* Responsive margin */
    font-style: italic;
}

.trust-card {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem); /* Responsive padding */
    transition: all 0.4s ease;
    background: white;
    border-radius: 16px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid #F5F5F5;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.trust-icon {
    width: clamp(60px, 10vw, 70px); /* Responsive width */
    height: clamp(60px, 10vw, 70px); /* Responsive height */
    margin: 0 auto clamp(1rem, 2vw, 1.5rem); /* Responsive margin */
    background: linear-gradient(135deg, var(--bg-light), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 2px solid var(--accent-light);
}

.trust-card:hover .trust-icon {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-color: var(--accent);
    transform: scale(1.1);
}

.trust-icon i {
    font-size: clamp(1.5rem, 3vw, 2rem); /* Responsive font size */
    color: var(--primary);
    transition: all 0.4s ease;
}

.trust-card:hover .trust-icon i {
    color: var(--primary-dark);
}

.trust-card h5 {
    font-size: clamp(0.95rem, 2vw, 1.1rem); /* Responsive font size */
    color: var(--text-primary);
    margin-bottom: clamp(0.5rem, 1vw, 0.8rem); /* Responsive margin */
    font-weight: 600;
}

.trust-card p {
    font-size: clamp(0.7rem, 1.5vw, 0.85rem); /* Responsive font size */
    color: var(--text-secondary);
    margin: 0;
}

/* Products */
.category-section {
    margin: clamp(20px, 4vw, 30px) 0; /* Responsive margin */
    padding: 0 clamp(10px, 2vw, 15px); /* Responsive padding */
}

.category-section h3 {
    font-size: clamp(1.4em, 3vw, 1.8em); /* Responsive font size */
    color: #28a745;
    margin-bottom: clamp(15px, 3vw, 20px); /* Responsive margin */
    position: relative;
    display: inline-block;
}

.category-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: clamp(40px, 8vw, 60px); /* Responsive width */
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* ================ user side index page product section work start ============== */

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ===========================
   Product Grid
=========================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Prevent single product from stretching full width */
.product-card {
  max-width: 100%;
}

/* ===========================
   Product Card
=========================== */
.product-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-0.375rem);
}

/* ===========================
   Image Container
=========================== */
.img-container {
  position: relative;
  aspect-ratio: 4 / 3; /* Maintain consistent image ratio */
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 110%;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* ===========================
   Badges
=========================== */
.best-seller {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.best-seller::before { content: "🏆 "; }

/* Wishlist Heart */
.wishlist {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #777;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 3;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.wishlist:hover, .wishlist:focus { color: #ff4444; transform: scale(1.1); }
.wishlist.active { color: #ff4444; }

/* ===========================
   Product Info
=========================== */
.product-info { padding: 1.25rem; }

.product-category {
  color: #2d6a4f;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05rem;
}

.product-info h5 {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-description {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.stars { color: #ffa500; font-size: 0.9rem; letter-spacing: 0.05rem; }
.rating-count { font-size: 0.8rem; color: #777; font-weight: 600; }

/* ===========================
   Price Section
=========================== */
.price-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.price { font-size: clamp(1.2rem, 3vw, 0.938rem); color: #1a1a1a; font-weight: 900; }
.old-price { font-size: 0.9rem; color: #aaa; text-decoration: line-through; }

.discount-badge {
  background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(255,82,82,0.25);
}

.you-save {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff8e1;
  color: #e65100;
  padding: 0.35rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid #ffb300;
  box-shadow: 0 2px 6px rgba(255,193,7,0.2);
}

/* ===========================
   Action Buttons
=========================== */
.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-cart, .btn-buy {
  flex: 1;
  border: none;
  border-radius: 0.625rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  min-height: 2.75rem; /* Ensure touch-friendly size */
}

.btn-cart {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
  color: #fff;
}

.btn-cart i { font-size: 1.1rem; }

.btn-cart:hover, .btn-cart:focus {
  transform: translateY(-0.1875rem);
  box-shadow: 0 4px 15px rgba(45,106,79,0.45);
}

.btn-buy {
  background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
  color: #000;
}

.btn-buy:hover, .btn-buy:focus {
  background: linear-gradient(135deg, #f57c00 0%, #ffb300 100%);
  transform: translateY(-0.1875rem);
}

/* Category Section Title */
.category-title {
  margin: 3rem 0 1.5rem 0;
  color: #2d6a4f;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: left;
  padding-left: 1rem;
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 768px) {
  .product-grid { 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 1rem; 
  }
  .img-container { aspect-ratio: 3 / 2; }
  .product-info { padding: 1rem; }
  .product-info h5 { font-size: clamp(0.85rem, 2.2vw, 1rem); }
  .price { font-size: clamp(1.1rem, 2.8vw, 1.2rem); }
  .btn-cart, .btn-buy { font-size: 0.85rem; padding: 0.65rem; }
  .category-title { font-size: 1.5rem; margin: 2rem 0 1rem 0; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  body { padding: 1rem 0.5rem; }
  .img-container { aspect-ratio: 4 / 3; }
  .product-info { padding: 0.75rem; }
  .product-info h5 { font-size: 0.9rem; }
  .price { font-size: 1.1rem; }
  .old-price { font-size: 0.8rem; }
  .discount-badge, .you-save { font-size: 0.65rem; }
  .action-buttons { gap: 0.5rem; }
  .btn-cart, .btn-buy { padding: 0.6rem; min-height: 2.5rem; }
  .wishlist { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
  .best-seller { font-size: 0.6rem; padding: 0.3rem 0.6rem; }
  .category-title { font-size: 1.3rem; margin: 1.5rem 0 1rem 0; }
}
/* ================ user side index page product section work End ============== */

/* Ethos */
.ethos-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: clamp(3rem, 5vw, 4rem) 0; /* Responsive padding */
    position: relative;
    overflow: hidden;
}

.ethos-section h3 {
    color: white;
    font-size: clamp(1.8rem, 3.5vw, 2.2rem); /* Responsive font size */
    margin-bottom: clamp(0.8rem, 1.5vw, 1rem); /* Responsive margin */
    font-weight: 600;
}

.ethos-section > .container > p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.95rem, 2vw, 1.1rem); /* Responsive font size */
    margin-bottom: clamp(2rem, 4vw, 3rem); /* Responsive margin */
}

.ethos-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem); /* Responsive padding */
    transition: all 0.4s ease;
    height: 100%;
}

.ethos-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.ethos-icon {
    font-size: clamp(2.5rem, 4vw, 3rem); /* Responsive font size */
    color: var(--accent);
    margin-bottom: clamp(1rem, 2vw, 1.5rem); /* Responsive margin */
    display: inline-block;
}

.ethos-card h5 {
    color: white;
    font-size: clamp(1.1rem, 2vw, 1.3rem); /* Responsive font size */
    margin-bottom: clamp(0.8rem, 1.5vw, 1rem); /* Responsive margin */
    font-weight: 600;
}

.ethos-card p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem); /* Responsive font size */
    line-height: 1.6;
}

/* Responsive Styles */

/* Extra Large Devices (Desktops, 1200px and below) */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
    
    .category-section h3 {
        font-size: clamp(1.4em, 2.5vw, 1.6em);
    }

    .concern-filter {
        max-width: 90%; /* Slightly narrower for better fit */
    }
	
}

/* Large Devices (Tablets, 992px and below) */
@media (max-width: 992px) {
    .hero-section {
        height: clamp(350px, 45vw, 400px);
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    }
    
    .hero-content p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .hero-btn {
        padding: clamp(8px, 1.5vw, 10px) clamp(20px, 3vw, 24px);
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    }
    
    .concern-filter {
        margin: clamp(-50px, -6vw, -40px) 1rem clamp(1.5rem, 3vw, 2rem);
        padding: clamp(20px, 3vw, 25px) clamp(10px, 2vw, 15px);
    }
    
    .concern-filter h4 {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    }
    
    .category-slider {
        padding: 0 clamp(25px, 4vw, 40px);
    }
    
    .category-section h3 {
        font-size: clamp(1.3em, 2.5vw, 1.5em);
    }
    
    .ethos-section h3 {
        font-size: clamp(1.8rem, 3vw, 2rem);
    }
    
    .ethos-section > .container > p {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
    }
    
    .trust-section {
        padding: clamp(2rem, 4vw, 2.5rem) 0;
    }
}

/* Medium Devices (Landscape Phones, 768px and below) */
@media (max-width: 768px) {
    .hero-section {
        height: clamp(300px, 40vw, 350px);
    }
    
    .hero-content h1 {
        font-size: clamp(1.5rem, 3vw, 1.8rem);
    }
    
    .hero-content p {
        font-size: clamp(0.85rem, 1.8vw, 1rem);
    }
    
    .concern-filter {
        margin: clamp(-40px, -5vw, -30px) 1rem clamp(1.5rem, 3vw, 2rem);
        padding: clamp(15px, 2.5vw, 20px) clamp(8px, 1.5vw, 10px);
    }
    
    .concern-filter h4 {
        font-size: clamp(1rem, 2vw, 1.2rem);
        margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
    }
    
    .category-slider {
        padding: 0 clamp(20px, 3.5vw, 35px);
    }
    
    .category-img {
        width: clamp(70px, 12vw, 80px) !important;
        height: clamp(70px, 12vw, 80px) !important;
    }
    
    .category-item {
        min-width: clamp(80px, 12vw, 100px);
    }
    
    .category-item span {
        font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    }
    
    .scroll-btn {
        width: clamp(30px, 5vw, 35px);
        height: clamp(30px, 5vw, 35px);
        padding: clamp(5px, 1vw, 6px);
    }
    
    .scroll-btn i {
        font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    }
    
    .category-section {
        margin: clamp(15px, 3vw, 20px) 0;
    }
    
    .category-section h3 {
        font-size: clamp(1.2em, 2.5vw, 1.4em);
    }
    
    .product-image-wrapper {
        height: clamp(180px, 25vw, 220px);
    }
    
    .trust-section {
        padding: clamp(1.5rem, 3vw, 2rem) 0;
    }
    
    .trust-card {
        padding: clamp(1.2rem, 2vw, 1.5rem) clamp(0.8rem, 1.5vw, 1rem);
    }
    
    .trust-icon {
        width: clamp(50px, 8vw, 60px);
        height: clamp(50px, 8vw, 60px);
    }
    
    .trust-icon i {
        font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    }
    
    .ethos-section {
        padding: clamp(2rem, 4vw, 3rem) 0;
    }
    
    .ethos-section h3 {
        font-size: clamp(1.6rem, 3vw, 1.8rem);
    }
    
    .ethos-section > .container > p {
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    }
    
    .ethos-card {
        padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
    }
    
    .ethos-icon {
        font-size: clamp(2rem, 3.5vw, 2.5rem);
    }
}

/* Small Devices (Phones, 576px and below) */
@media (max-width: 576px) {
    .hero-section {
        height: clamp(250px, 35vw, 300px);
    }
    
    .hero-content h1 {
        font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    }

    .hero-content p {
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
        margin-bottom: clamp(10px, 2vw, 15px);
    }

    .hero-btn {
        padding: clamp(6px, 1.5vw, 8px) clamp(15px, 3vw, 20px);
        font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    }
    
    .success-banner {
        padding: clamp(10px, 2vw, 12px);
        margin: clamp(5px, 1vw, 8px);
    }
    
    .trust-section {
        padding: clamp(1rem, 2vw, 1.5rem) 0;
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }
    
    .trust-tagline {
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
        margin-bottom: clamp(1rem, 2vw, 1.5rem);
    }
    
    .trust-card {
        padding: clamp(1rem, 1.5vw, 1.2rem) clamp(0.6rem, 1vw, 0.8rem);
    }
    
    .trust-icon {
        width: clamp(40px, 7vw, 50px);
        height: clamp(40px, 7vw, 50px);
        margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
    }
    
    .trust-icon i {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
    }
    
    .trust-card h5 {
        font-size: clamp(0.85rem, 1.5vw, 0.95rem);
        margin-bottom: clamp(0.4rem, 0.8vw, 0.5rem);
    }
    
    .trust-card p {
        font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    }

    .ethos-section {
        padding: clamp(1.5rem, 3vw, 2rem) 0;
    }

    .ethos-section h3 {
        font-size: clamp(1.2rem, 2.5vw, 1.4rem);
        margin-bottom: clamp(0.6rem, 1vw, 0.8rem);
    }

    .ethos-section > .container > p {
        font-size: clamp(0.75rem, 1.5vw, 0.85rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }

    .ethos-card {
        padding: clamp(1rem, 2vw, 1.5rem) clamp(0.8rem, 1.5vw, 1rem);
    }

    .ethos-icon {
        font-size: clamp(1.8rem, 3vw, 2rem);
        margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
    }

    .ethos-card h5 {
        font-size: clamp(1rem, 1.8vw, 1.1rem);
        margin-bottom: clamp(0.6rem, 1vw, 0.8rem);
    }

    .ethos-card p {
        font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    }

    .product-actions {
        flex-direction: column; /* Stack buttons vertically */
        align-items: stretch;
    }

    .add-to-cart,
    .buy-now {
        width: 100%; /* Full width buttons */
    }
}

/* Extra Small Devices (Small Phones, 400px and below) */
@media (max-width: 400px) {
    .hero-section {
        height: clamp(220px, 30vw, 280px);
    }
    
    .hero-content h1 {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
    }
    
    .hero-content p {
        font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    }
    
    .hero-btn {
        padding: clamp(5px, 1vw, 7px) clamp(12px, 2vw, 16px);
        font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    }
    
    .concern-filter h4 {
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    }
    
    .category-img {
        width: clamp(50px, 10vw, 60px) !important;
        height: clamp(50px, 10vw, 60px) !important;
    }
    
    .category-item {
        min-width: clamp(60px, 10vw, 75px);
    }
    
    .category-item span {
        font-size: clamp(0.6rem, 1vw, 0.65rem);
    }
    
    .category-section h3 {
        font-size: clamp(1em, 2vw, 1.1em);
    }
    
    .product-image-wrapper {
        height: auto;
    }
    
    .product-card .card-title {
        font-size: clamp(0.75em, 1.5vw, 0.85em);
    }
    
    .product-card .card-text {
        font-size: clamp(0.6em, 1.2vw, 0.7em);
    }
    
    .current-price {
        font-size: clamp(12px, 2.5vw, 14px);
    }
    
    .original-price {
        font-size: clamp(10px, 2vw, 12px);
    }
    
    .buy-now {
        font-size: clamp(10px, 2vw, 12px);
        padding: clamp(5px, 1vw, 7px) clamp(8px, 1.5vw, 10px);
    }
    
    .add-to-cart {
        padding: clamp(5px, 1vw, 7px) clamp(7px, 1.2vw, 9px);
        font-size: clamp(12px, 2.5vw, 14px);
    }
}

/* Ultra Small Devices (320px and below) */
@media (max-width: 320px) {
    .hero-section {
        height: clamp(200px, 25vw, 250px);
    }
    
    .hero-content h1 {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
    }
    
    .hero-content p {
        font-size: clamp(0.65rem, 1vw, 0.75rem);
        margin-bottom: clamp(8px, 1.5vw, 12px);
    }
    
    .hero-btn {
        padding: clamp(4px, 0.8vw, 6px) clamp(10px, 1.5vw, 14px);
        font-size: clamp(0.65rem, 1vw, 0.75rem);
    }
    
    .concern-filter {
        margin: clamp(-30px, -4vw, -20px) 0.5rem clamp(1rem, 2vw, 1.5rem);
        padding: clamp(10px, 1.5vw, 15px) clamp(5px, 1vw, 8px);
    }
    
    .category-slider {
        padding: 0 clamp(15px, 2.5vw, 25px);
    }
    
    .category-img {
        width: clamp(45px, 8vw, 55px) !important;
        height: clamp(45px, 8vw, 55px) !important;
    }
    
    .category-item {
        min-width: clamp(55px, 8vw, 65px);
    }
    
    .category-item span {
        font-size: clamp(0.55rem, 0.8vw, 0.6rem);
    }
    
    .scroll-btn {
        width: clamp(25px, 5vw, 30px);
        height: clamp(25px, 5vw, 30px);
        padding: clamp(4px, 0.8vw, 5px);
    }
    
    .scroll-btn i {
        font-size: clamp(0.6rem, 1vw, 0.8rem);
    }
}

/* Ultra Small Devices (576px and below) */
@media (max-width: 576px) {
    /* Each product column takes 50% width (2 per row) */
    .col-lg-3.col-md-4.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Fix spacing between cards */
    .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }
    .row > [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* Product card look adjustment */
    .product-card {
        width: 100%;
        margin-bottom: 12px;
        border-radius: 10px;
        overflow: hidden;
    }

    .product-card img {
        width: 100%;
        height: auto;
    }

    .product-card h5,
    .product-card p {
        font-size: 0.9rem;
    }
}
/* ============================== Index Page CSS End ============================== */

/* ============================== Header Page CSS Start ============================== */

/* Navbar Base */
.navbar {
    padding: 0.8rem 0;
    transition: all 0.3s;
}

/* Brand */
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d6a4f !important;
    font-family: 'Georgia', serif;
}

.navbar-brand i {
    color: #d4af37;
}

/* Nav Links */
.nav-link {
    color: #555 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #2d6a4f !important;
}

/* Icon Buttons */
.nav-icon {
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    cursor: pointer;
}

.nav-icon:hover {
    color: #2d6a4f;
}

/* Badge Count */
.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}

/* Badge Dot (Mobile) */
.badge-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: #dc3545;
    border-radius: 50%;
    border: 2px solid white;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 220px;
    margin-top: 0.5rem !important;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.search-input-large {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    background: white;
}

.search-input-large:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.3);
}

.search-suggestions {
    text-align: center;
    margin-top: 1rem;
    color: #999;
}

/* Mobile Search */
.mobile-search input {
    border-radius: 25px;
    padding: 0.6rem 1rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cart-item-info p {
    font-size: 0.85rem;
    margin: 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-controls button {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.quantity-controls span {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.cart-item-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn-cart {
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    display: block;
    font-weight: 500;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-cart.primary {
    background: #2d6a4f;
    color: white;
    margin-bottom: 0.5rem;
}

.btn-cart.success {
    background: #52b788;
    color: white;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .nav-link {
        padding: 0.7rem 0 !important;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .list-group-item {
        padding: 0.8rem 0;
    }
    
    /* Align hamburger and user icon side by side on mobile */
    .navbar-toggler {
        margin-right: 0.5rem;
    }
    .d-flex.align-items-center .nav-icon {
        margin-left: 0.5rem;
    }
}

/* Remove default toggler */
.navbar-toggler:focus {
    box-shadow: none;
}

/* Menu opens LEFT to RIGHT */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        height: 100vh;
        background: #fff;
        box-shadow: 5px 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease-in-out;
        padding: 1.5rem;
        z-index: 9998;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        left: 0;
    }

    body.nav-open {
        overflow: hidden;
    }
}

/* ============================== Header Page CSS End ============================== */

/* ============================== Footer Page CSS Start ============================== */

/* Footer Styles */
footer {
    background: #1a3c34;
    color: white;
    padding: 3rem 0 1rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-brand h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-brand h4 i {
    color: #d4af37;
    margin-right: 0.5rem;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #d4af37;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #d4af37;
    transform: translateY(-3px);
}

.footer-section h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.payment-icons i {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: #d4af37;
}

/* Scroll-to-top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top i {
    font-size: 1.2rem;
}

.scroll-top:hover {
    background: #218838;
    transform: translateY(-3px);
}

/* Responsive Footer Styles */
@media (max-width: 991px) {
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-brand h4 {
        font-size: 1.4rem;
    }

    .footer-section h5 {
        font-size: 1.1rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-contact p {
        font-size: 0.85rem;
    }

    .social-icons a {
        font-size: 1.1rem;
    }

    .payment-icons i {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    .footer-brand h4 {
        font-size: 1.3rem;
    }

    .footer-section h5 {
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-contact p {
        font-size: 0.8rem;
    }

    .social-icons {
        margin-top: 1rem;
    }

    .payment-icons i {
        font-size: 1.4rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* ============================== Footer Page CSS End ============================== */
