@import url('https://fonts.googleapis.com/css2?family=Gotu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=REM:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --color-primary: #4b544a;
  --color-secondary: #757575;
  --color-tertiary: #898f83;
  --color-light: #ffffff;
  --spacing: 1.5rem;
  font-family: "Manrope", sans-serif;
  --primary-color-1: #838e7d;
  --primary-color-2: hsl(30, 40%, 65%);
  --primary-color-3: hsl(232,16%,34%);
  --primary-color-4: hsl(0, 0%, 25%);
  --text-area-color: whitesmoke;
  --heading-secondary-color: hsl(0, 0%, 55%);
  --secondary-card-color: whitesmoke;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Gotu', sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  animation: fadeInPage 0.75s ease-in-out forwards;
  font-family: 'Manrope', sans-serif;
  color: black;
  background: var(--color-light);
  line-height: 1.6;
}
body.fade-in-active {
  opacity: 1;
}

body.fade-out-active {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body,
  body.fade-in-active,
  body.fade-out-active {
    animation: none;    /* Disable keyframe animations */
    transition: none;   /* Disable CSS transitions */
    opacity: 1;         /* Ensure content is visible immediately */
  }
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    /* Optional: slight upward movement */
    /* transform: translateY(20px); */
  }
  to {
    opacity: 1;
    /* transform: translateY(0); */
  }
}

/* Consider users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 70%;
  margin: 0 auto;
}
.flex {
  display: flex;
}
.flex-center {
  justify-content: center;
  align-items: center;
}
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
}


/* Header */
header {
  background: #a1ac9c;
  margin-bottom: 0rem;
  width: 100%;
}

.header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0;
  padding-right: 5rem;
  height: 6rem;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 0.2rem; /* space between icons */
}

.header-icons a {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 50px;
  display: block;
  margin-left: 3rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

nav a {
  font-weight: 400;
  color: #444;
  text-decoration: none;
}

/* Hamburger menu and responsive navigation fix */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: auto;

}

.hamburger span {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
}

.nav-menu {
  display: flex;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: #a1ac9c;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    display: none;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .header-inner {
    flex-direction: column;
    height: auto;
    gap: 1rem;
      position: relative;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul a {
    display: block;
    padding: 0.5rem 0;
  }

  .logo img {
    height: 40px;
  }

  nav, .cart-link {
    margin-top: 0.5rem;
    
  }
}



nav ul a.active {
  color: whitesmoke;
}

/* Keep the rest of your CSS as it is below this line… */


/* Mobile styles for Header - User's existing query */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    gap: 1rem;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%; /* Ensure nav takes full width if needed */
  }
  
  nav ul li { /* Ensure li takes full width for better tap targets */
    width: 100%;
    text-align: center;
  }

 

  .logo img {
    height: 40px;
  }

  nav, .insta-link, .cart-link {
    margin-top: 0.5rem;
  }


}

/* Header nav: hover underline + active state */
nav ul a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s;
}
nav ul a:hover {
  color: rgb(216, 215, 215);
}
nav ul a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  /* background-color: whitesmoke; Example color */
  transition: width 0.3s;
}


nav ul a.active {
  color: whitesmoke;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 4rem;
}
.hero-section { /* Added to ensure padding for the section itself */
    padding-top: 2rem; /* Adjust as needed */
    padding-bottom: 2rem; /* Adjust as needed */
}

.hero-text h1 {
font-family: Gotu, sans-serif;
font-size: 60px;
font-weight: 620;
line-height: 75px;
color: rgb(0, 0, 0);
padding-bottom: 1rem;
}
.hero-text p {
  margin-bottom: var(--spacing);
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
  color: rgb(68, 68, 68);
  padding-bottom: 1rem;
}
.hero-media video { /* Removed img as video is used */
  border-radius: 1rem; /* or 10px, or any value you like */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* optional */
  /* max-width: 100%; */ /* Already in global img, video */
  /* height: auto; */ /* Already in global img, video */
  /* display: block; */ /* Already in global img, video */
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-light);
  margin-right: 0.5rem; /* Add some space between buttons */
}
.btn-primary:hover {
  background: #444444;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: #444444;
  color: var(--color-light);
}

/* Sections */
section {
  padding: 4rem 0;
}
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Products Grid (global) */
.products-grid {
  display: grid;
  gap: var(--spacing);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.product-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--color-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.product-image {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 ratio for CSS-background use */
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
.product-image:hover {
  transform: scale(1.05);
}
.product-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}
.product-image:hover .overlay {
  opacity: 1;
}
.product-info {
  padding: var(--spacing);
  text-align: center;
}
.product-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.product-info p {
  color: var(--color-secondary);
  font-size: 0.9rem;
}
.product-image .btn {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background: var(--color-light);
  color: var(--color-primary);
  font-weight: 600;
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing);
  align-items: center;
  /* margin-bottom: 5rem; */ /* This might be too much with section padding */
  width: 90%; /* Consider if this is needed with .container */
  max-width: 1200px;
  margin-left: auto;  /* For centering if not using .container */
  margin-right: auto; /* For centering if not using .container */
}
.team-section{
  background-color: #E9E8E6;
}

.team-text h4 {
font-family: Gotu, sans-serif;
font-size: 30px;
font-weight: 600;
line-height: 34.5px;
color: rgb(0, 0, 0);
margin-bottom: 1rem;
}

.team-text p {
  margin-bottom: 1rem;
  font-family: Manrope, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 28.8px;
  color: rgb(68, 68, 68);
}
.team-image img {
  border-radius: 0.5rem;
}

/* Testimonials */
.testimonials-section {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--color-primary);
}

.testimonials-section .section-title {
  font-size: 2.5rem;
  font-family: 'Gotu', sans-serif;
  color: #525252;
}

.testimonials-section .section-subtitle {
  color: #535353;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.testimonial-card {
  background-color: #E9E8E6;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--color-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}



/* Our Impact */
.cover {
  position: relative;
  background: url('../uploads/farmerlady.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Default for desktop */
  padding: 4rem 1rem 4rem 0; /* Default for desktop */
}
.cover .container h1 { /* Ensure this .container is specific enough or remove if not needed */
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  
}
.cover .container p {
  font-size: 1.25rem;
  line-height: 1.5;
}
.cover .container { /* This is the text box */
  max-width: 600px;
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: left;
  color: black;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-right: 2rem; /* Give some space from the edge on desktop */
  /* margin: 0; */ /* Remove if you want specific margin */
}




/* Intro & Two-Column */
.intro-section {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}
.intro-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.intro-section p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-secondary);
}
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing);
  align-items: start;
  margin-bottom: 4rem;
  margin-top: 2rem;
}
.two-column .text-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 4rem;
}
.two-column .text-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.two-column .text-content p,
.two-column .text-content ul {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
    text-align: left;

}
.two-column .text-content ul li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.two-column .text-content ul li strong {
  color: var(--color-primary);
}
.two-column .image-content img {
  width: 100%;
  border-radius: 0.5rem;
  margin-top: 4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
  .two-column {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .two-column .text-content {
    margin-bottom: 2rem;
  }

  .two-column .image-content img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
  }
}



/* Footer */

footer {
  background: #a1ac9c;
  padding: var(--spacing);
  margin-top: 2rem;
  color: var(--color-primary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 40px;
  display: block;
}

.footer-contact {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-contact .contact-text p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-light);
}

.insta-link {
display: flex;
  align-items: center;
  position: relative;}

.insta-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Optional responsive behavior */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }
}


/* Cart link - this was near the footer styles before */
.cart-link {
  display: flex;
  align-items: center;
  position: relative;   /* margin-left: 1rem; /* Re-evaluate if this is needed or handled by flex in header */
}
.cart-icon { /* Assuming .cart-link contains .cart-icon */
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: white;
  color: grey;
  font-size: 0.65rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}


/* Our Products - User's existing styles with media queries */
input[type="radio"][name="product-colors-btn"] {
  display: none;
}

.products-container{
    margin: 0 auto;
    max-width: 60rem; 
    min-height: 30rem;
    padding: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.products-card-container{
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    border-radius: 0.8rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Added some shadow */
}

.product-area{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease-in-out;
    border-radius: 0.8rem 0 0 0.8rem;
    overflow: hidden; /* Added to contain floating elements if they exceed bounds */
}

.product-logo-div{
    margin: 2rem 0 0 1.5rem;
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0; /* Ensure it's behind content */
}

.product-logo-div img{
    width: 70%;
    opacity: 0.1;
}

.product-floating-div{
    height: 100%;
    width: 100%;
    display: grid;
    place-items: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
    box-sizing: border-box; 
    z-index: 1; /* Ensure it's above logo */
}

@keyframes float{
    0%{
        transform: translateY(0%);
    }
    50%{
        transform: translateY(-6%);
    }
    100%{
        transform: translateY(0%);
    }
}

.product-area :is(.chai-1, .chai-2, .chai-3, .chai-4) {
    position: absolute;
    width: 100%;
    transform: rotateZ(-30deg) scale(1.3) translateX(-10%);
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

:is(.chai-1, .chai-2, .chai-3, .chai-4) img{
    width: 100%;
    opacity: 0;
    /* transform: rotateZ(-15deg) scale(1.3) translateX(-10%); Removed, parent handles initial transform */
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

.product-text-area{
    background-color: var(--text-area-color);
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 0 0.8rem 0.8rem 0;
    justify-content: center; /* Center content vertically */
}

.product-text-area .product-heading-area{
    padding: 1rem;
}

.product-heading-area h2{
    font-weight: 800;
    font-size: 2.5rem;
    transition: color 0.3s ease-in-out;
    
}

.product-heading-area h4{
    margin: 0.25rem 0 0 0;
    color: rgb(68, 68, 68); /* Added for consistency */
}

.product-paragraph-area{
    margin: 1rem 1rem 1rem 1rem;
    font-size: 1rem;
    color: rgb(68, 68, 68); /* Added for consistency */
}

.product-price-and-buy-btn{
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align price and button */
    padding: 1.5rem 1rem;
}

.product-price-and-buy-btn :is(.price-1, .price-2, .price-3, .price-4){
    display: none;
    font-weight: 800;
    font-size: 2.5rem;
    transition: color 0.3s ease-in-out;
}

.product-buy-btn {
    padding: 1em 1.5em;
    font-family: Manrope, sans-serif;
    font-size: 1.2rem;
    border-radius: 2rem;
    border: none;
    color: whitesmoke;
    font-weight: 100;
    cursor: pointer;
    background-color: var(--primary-color-1); /* Ensure a base color is defined */
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

.product-buy-btn:hover {
    background-color: darken(var(--primary-color-1), 10%); /* If using SCSS */
    background-color: #3b463a; /* Or hardcoded slightly darker fallback */
    transform: scale(1.05);
}

/* ========== Product Themes (User's styles) ======== */
/* Theme 1 */
#product-color-1:checked ~ .product-text-area .product-color-selection .product-color-pick-div .product-color-1{
    outline:2px solid var(--primary-color-1);
    outline-offset: 2px;
}
#product-color-1:checked ~ .product-area{
    background-color: whitesmoke;
}
#product-color-1:checked ~ .product-text-area .product-heading-area h2{
    color: var(--primary-color-1)
}
#product-color-1:checked ~ .product-text-area .product-price-and-buy-btn .price-1{ /* Corrected selector */
    display: block;
    color: var(--primary-color-1);
}
#product-color-1:checked ~ .product-text-area .product-buy-btn{ /* More specific for buy button */
    background-color: var(--primary-color-1);
}

/* Theme 2 */
#product-color-2:checked ~ .product-text-area .product-color-selection .product-color-pick-div .product-color-2{
    outline: 2px solid var(--primary-color-2);
    outline-offset: 2px;
}
#product-color-2:checked ~ .product-area{
    background-color: var(--primary-color-2);
}
#product-color-2:checked ~ .product-text-area .product-heading-area h2{
    color: var(--primary-color-2)
}
#product-color-2:checked ~ .product-text-area .product-price-and-buy-btn .price-2{ /* Corrected selector */
    display: block;
    color: var(--primary-color-2);
}
#product-color-2:checked ~ .product-text-area .product-buy-btn{ /* More specific for buy button */
    background-color: var(--primary-color-2);
}

/* Theme 3 */
#product-color-3:checked ~ .product-text-area .product-color-selection .product-color-pick-div .product-color-3{
    outline: 2px solid var(--primary-color-3);
    outline-offset: 2px;
}
#product-color-3:checked ~ .product-text-area .product-price-and-buy-btn .price-3{ /* Corrected selector */
    display: block;
    color: var(--primary-color-3);
}
#product-color-3:checked ~ .product-area{
    background-color: var(--primary-color-3);
}
#product-color-3:checked ~ .product-text-area .product-heading-area h2{
    color: var(--primary-color-3)
}
#product-color-3:checked ~ .product-text-area .product-buy-btn{ /* More specific for buy button */
    background-color: var(--primary-color-3);
}

/* Theme 4 */
#product-color-4:checked ~ .product-text-area .product-color-selection .product-color-pick-div .product-color-4{
    outline: 2px solid var(--primary-color-4);
    outline-offset: 2px;
}
#product-color-4:checked ~ .product-area{
    background-color: var(--primary-color-4);
}
#product-color-4:checked ~ .product-text-area .product-price-and-buy-btn .price-4{
    display: block; /* Changed from unset to block for consistency */
    color: var(--primary-color-4);
}
#product-color-4:checked ~ .product-text-area .product-heading-area h2{
    color: var(--primary-color-4)
}
#product-color-4:checked ~ .product-text-area .product-buy-btn{ /* More specific for buy button */
    background-color: var(--primary-color-4);
}


/* Product Image transitions (User's styles) */
@media screen and (min-width: 62.5rem){ /* 1000px */
    #product-color-1:checked ~ .product-area .product-floating-div .chai-1 {
        transition-delay: 0.2s;
        animation-delay: 0.3s; /* Note: animation-delay is for @keyframes, not direct transform */
        transform: rotateZ(0) scale(1) translateX(0); /* Adjusted for clarity */
        z-index: 99;
        opacity: 1; /* Make sure image is visible */
    }
    #product-color-1:checked ~ .product-area .product-floating-div .chai-1 img{
        transition-delay: 0.2s;
        opacity: 1;
        transform: rotateZ(0) scale(1) translateX(0); /* Ensure it's also reset */
    }

    /* Theme 2 */
    #product-color-2:checked ~ .product-area .product-floating-div .chai-2 {
        transition-delay: 0.2s;
        transform: rotateZ(0) scale(1) translateX(0);
        z-index: 99;
        opacity: 1;
    }
    #product-color-2:checked ~ .product-area .product-floating-div .chai-2 img{
        transition-delay: 0.2s;  
        opacity: 1;
        transform: rotateZ(0) scale(1) translateX(0);
    }

    /* Theme 3 */
    #product-color-3:checked ~ .product-area .product-floating-div .chai-3 {
        transition-delay: 0.2s;  
        transform: rotateZ(0) scale(1) translateX(0);
        z-index: 99;
        opacity: 1;
    }
    #product-color-3:checked ~ .product-area .product-floating-div .chai-3 img{
        transition-delay: 0.2s;  
        opacity: 1;
        transform: rotateZ(0) scale(1) translateX(0);
    }

    /* Theme 4 */
    #product-color-4:checked ~ .product-area .product-floating-div .chai-4 {
        transition-delay: 0.2s;
        transform: rotateZ(0) scale(1) translateX(0);
        z-index: 99;
        opacity: 1;
    }
    #product-color-4:checked ~ .product-area .product-floating-div .chai-4 img{
        transition-delay: 0.2s;  
        opacity: 1;
        transform: rotateZ(0) scale(1) translateX(0);
    }
}

/* Product Responsive - User's existing media query */
@media screen and (max-width: 62.5rem){ /* 1000px */
    .products-container{ /* Renamed from product-container for consistency */
        padding: 1rem;  
    }
    .products-card-container{
        flex-direction: column;
    }
    .product-area{
        width: auto;
        height: 60vw; /* Adjusted from 40vw for potentially more space */
        padding: 1rem 0;
        border-radius: 0.8rem 0.8rem 0 0;
    }
    .product-area :is(.chai-1, .chai-2, .chai-3, .chai-4) {
        transform: rotateZ(0deg) translateY(-5%) scale(0.8); /* Adjusted for better visibility */
        width: 65%; /* Adjusted */
        margin-top: 3rem;
        opacity: 0; /* Start hidden, will be shown by checked state */
    }
    :is(.chai-1, .chai-2, .chai-3, .chai-4) img{
        transform: rotateZ(0) scale(1) ; /* Simpler transform */
        opacity: 1; /* Image itself is visible if parent is */
    }

    /* Show active chai image on mobile */
    #product-color-1:checked ~ .product-area .product-floating-div .chai-1,
    #product-color-2:checked ~ .product-area .product-floating-div .chai-2,
    #product-color-3:checked ~ .product-area .product-floating-div .chai-3,
    #product-color-4:checked ~ .product-area .product-floating-div .chai-4 {
        transition-delay: 0.2s;
        opacity: 1;
        transform: rotateZ(0) translateY(-5%) scale(0.8); /* Consistent transform */
    }

    .product-logo-div img{
        width: 40%;
    }
    .product-text-area{
        width: 100%;
        padding: 1.5rem; /* More padding */
        box-sizing: border-box;
        border-radius: 0 0 0.8rem 0.8rem;
    }
    .product-paragraph-area, .product-color-selection{
        margin: 1rem; /* Consistent margin */
    }
    .product-heading-area h2 { font-size: 2rem; } /* Adjust font size */
}

/* Product Responsive - Phone Size - User's existing media query */
@media screen and (max-width: 26.9rem){ /* approx 430px */
    .product-area {
        height: 60vw; /* Even more height for small screens */
    }
    .product-area :is(.chai-1, .chai-2, .chai-3, .chai-4) {
        width: 70%; /* Slightly larger image on very small screens */
    }
    .product-paragraph-area{
        margin: 0.7rem 1rem;
        font-size: 0.9rem; /* Slightly larger for readability */
    }
    .product-color-selection{
        display: flex;
        flex-direction: column; /* Already set, ensure styling is good */
        align-items: flex-start; /* Align items to start */
        row-gap: 0.8rem;
        margin: 0.7rem 1rem;
    }
    .product-price-and-buy-btn{
        padding: 1rem;
        flex-direction: column;
        row-gap: 1rem; /* More space */
        align-items: flex-start;
    }
    .product-price-and-buy-btn :is(.price-1, .price-2, .price-3, .price-4){
        font-size: 2rem; /* Adjust price font size */
    }
    .product-buy-btn {
    padding: 1em 1.5em;
    font-family: Manrope, sans-serif;
    font-size: 1.2rem;
    border-radius: 2rem;
    border: none;
    color: whitesmoke;
    font-weight: 100;
    cursor: pointer;
    background-color: var(--primary-color-1); /* Ensure a base color is defined */
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

.product-buy-btn:hover {
    background-color: darken(var(--primary-color-1), 10%); /* If using SCSS */
    background-color: #3b463a; /* Or hardcoded slightly darker fallback */
    transform: scale(1.05);
}
     .product-heading-area h2 { font-size: 1.8rem; }
}


/* Cart link badge */
.cart-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.cart-link {
  position: relative;
  margin-left: 1rem; /* Handled by social-media class now for footer */
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: white;
  color: grey;
  font-size: 0.65rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold; /* Make count more visible */
}


/* Cart page */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing);
}
.cart-table th,
.cart-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-tertiary);
  text-align: left;
  vertical-align: middle;
}
.cart-thumb {
  width: 60px; /* Fixed width for thumb */
  height: auto;
  object-fit: cover;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.cart-qty { /* Input field for quantity */
  width: 60px; /* Fixed width */
  padding: 0.25rem;
  text-align: center;
}
.remove-item {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--color-secondary);
}
.remove-item:hover {
    color: var(--color-primary);
}
.cart-summary {
  text-align: right;
  font-size: 1.25rem;
  margin-top: 1rem; /* Add some space above summary */
}

/* About Page Specific (if any, .about-hero was in original but not used in index.html directly) */
.about-hero {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(20%, 1fr)); This is likely too many columns or min too small */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Consistent with other sections */
  align-items: center;
  gap: var(--spacing);
  padding: 4rem 0;
}

.about-hero h2 {
  font-family: 'Gotu', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.about-hero p {
  margin-bottom: 2rem;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
  color: rgb(68, 68, 68);
}
.aboutus-image {
  width: 80%; /* Was 120%, usually not good to go over 100% */
  /* max-width: 120%; */
  height: auto;
  border-radius: 0.5rem;
  margin-top: 0; /* Removed default large margin, can be added per context */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* =============================================== */
/* Additional Responsive Styles (General)          */
/* =============================================== */

/* Medium devices (tablets, landscape phones, etc.) */
@media (max-width: 992px) { /* Approx. Bootstrap's 'lg' breakpoint */
  .container {
    max-width: 90%;
  }
  .hero-text h1 {
    font-size: 48px; /* Adjusted from 60px */
    line-height: 1.2;
  }
  .hero-text p {
    font-size: 17px;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .team-text h4 {
    font-size: 26px;
  }
  .cover .container h1 {
    font-size: 2.5rem;
  }
  .cover .container p {
    font-size: 1.1rem;
  }
  .intro-section h1 {
    font-size: 2.2rem;
  }
  .two-column .text-content h2 {
    font-size: 1.8rem;
  }
  .u-heading-font { /* For contact form title */
    font-size: 2rem;
  }
}

/* Small devices (portrait tablets, large phones) */
@media (max-width: 767px) { /* Approx. Bootstrap's 'md' breakpoint */
  .container {
    max-width: 95%;
    /* padding-left: 15px; */ /* Now handled by 100% width and padding below */
    /* padding-right: 15px; */
  }
  section {
    padding: 2.5rem 0; /* Adjusted section padding */
  }
  .hero {
    gap: 2rem;
    text-align: center; /* Center hero text when stacked */
  }
  .hero-text {
    order: 2; /* Optional: text below video on mobile */
  }
  .hero-media {
    order: 1; /* Optional: video above text on mobile */
  }
  .hero-text h1 {
    font-size: 32px; /* Further reduce h1 font size */
  }
  .hero-text p {
    font-size: 16px;
  }
  .hero-text .btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    width: fit-content; /* Or a specific width like 80% or 200px */
  }
  .hero-text .btn:last-of-type {
    margin-bottom: 0;
  }

  .team-text h4 {
    font-size: 22px;
  }
  .team-text p {
    font-size: 16px;
  }

  .cover {
    min-height: auto; /* Let content define height */
    justify-content: center;
    padding: 2rem;
  }
  .cover .container { /* The text box */
    max-width: 100%;
    padding: 1.5rem;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
  }
  .cover .container h1 {
    font-size: 2rem;
  }
  .cover .container p {
    font-size: 1rem;
  }

  .two-column .image-content img {
    margin-top: 2rem; /* Reduce top margin for stacked image */
  }
  .two-column .text-content {
    text-align: center; /* Optional: center text when stacked */
  }
   .two-column .text-content h2 {
    font-size: 1.6rem;
  }
  .two-column .text-content h3 {
    font-size: 1.3rem;
  }

  /* Contact Form Stacking */
  .u-layout-row { /* Assuming this is the flex container for form columns */
    flex-direction: column;
  }
  .u-size-30 { /* Target cells that were 50% */
    flex: 0 0 100%;
    max-width: 100%;
  }
  .u-section-1 { /* Reduce padding for the contact section */
    padding: 40px 0;
  }
  .u-image-default { /* Adjust image container in contact */
    padding: 20px 0 0 0; /* Remove excessive padding */
    margin-bottom: 1.5rem; /* Add some space below image when stacked */
  }
  .u-container-layout { /* Padding for contact form cells */
    padding: 15px;
  }
   .u-heading-font { /* For contact form title */
    font-size: 1.8rem;
  }

  /* Cart Table Adjustments */
  .cart-table th, .cart-table td {
    padding: 0.5rem;
    font-size: 0.9rem; /* Smaller text in table */
  }
  .cart-thumb {
    width: 50px;
  }
  .cart-qty {
    width: 45px;
    padding: 0.2rem;
  }
  .remove-item {
    font-size: 1.1rem;
  }

  .about-hero h2 { font-size: 2.5rem; }
  .aboutus-image { margin-top: 1.5rem; }
}

/* Extra small devices (phones) */
@media (max-width: 575px) { /* Approx. Bootstrap's 'sm' breakpoint */
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  section {
    padding: 2rem 0;
  }
  .hero-text h1 {
    font-size: 26px; /* Even smaller */
    line-height: 1.3;
  }
  .hero-text p {
    font-size: 15px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .team-text h4 {
    font-size: 20px;
  }
  .team-text p {
    font-size: 15px;
  }
  .testimonials-section {
    padding: 2rem 0.5rem; /* Less horizontal padding */
  }
  .testimonial-card {
    padding: 1.5rem 1rem;
  }
  .cover .container h1 { font-size: 1.8rem; }
  .cover .container p { font-size: 0.9rem; }
  .intro-section h1 { font-size: 1.8rem; }
  .intro-section p { font-size: 1rem; }
  .two-column .text-content h2 { font-size: 1.5rem; }
  .two-column .text-content h3 { font-size: 1.2rem; }
  .u-heading-font { font-size: 1.6rem; }


  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
  }
  .footer-logo img {
    margin-bottom: 0.5rem;
  }
  .footer-links ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  a.insta-link { /* Adjustments for the Instagram link on mobile */
    margin-left: 0; /* Remove left margin when stacked */
    margin-top: 0.5rem; /* Add some top margin if needed */
  }
 .cart-link { /* Adjust cart link margin if needed for mobile footer */
    margin-left: 1.5rem;
    margin-top: 0.5rem;
  }
}



