*{margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    scroll-behavior: smooth;
}
:root {
  --theme-light-blue: #e6f0ff;
  --theme-medium-blue: #4a90e2;
  --theme-dark-blue: #1a365d;
  --theme-accent-blue: #2c5282;
  --theme-white: #ffffff;

  --primary-dark: var(--theme-dark-blue);
  --primary-accent: var(--theme-accent-blue);
  --light-background: var(--theme-light-blue);
  --soft-background: var(--theme-white);
  --subtle-border: var(--theme-medium-blue);

  --dark-text: var(--theme-dark-blue);
  --white: var(--theme-white);
  --light-grey: var(--theme-light-blue);
  --medium-grey: var(--theme-medium-blue);
  --dark-grey: var(--theme-dark-blue);
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark-text);
  width: 100%;
  background-color: var(--light-background);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4rem;
    background-color: var(--soft-background); /* White background for header */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border-bottom: solid 1px var(--subtle-border);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
#header img{
  width: 30%;
  max-width: 150px;
  height: auto;
}
#navbar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#navbar li{
  list-style: none;
  padding: 0 1rem;
  position: relative;
}
#navbar li a{
  text-decoration: none;
  color: var(--dark-text);
  transition: all 0.3s ease;
  font-size: 1rem;
}
#navbar li a:hover,
#navbar li a.active{
  transform: none;
  font-size: 1rem;
  color: var(--primary-dark); 
  cursor: pointer;
}
#navbar li a.active::after{
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--primary-dark); /* Use primary-dark for underline */
}

#hero{
  background-color: var(--light-background);
  align-items: center;
  padding: 10rem 5rem 5rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 100%;
}
#hero-text{
  background-color: var(--soft-background); /* White background for hero text container */
  border-radius: 8px;
  padding: 3rem;
  width: 70%;
  max-width: 800px;
  height: fit-content;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); /* Subtle shadow */
}
#hero h1{
  font-size: 3rem;
  color: var(--dark-text);
  padding: 1rem 0;
  text-align: center;
  font-family: 'Playfair Display', serif; /* Keep Playfair Display for hero heading */
}
#hero p{
  color: var(--dark-text);
  font-size: 1.1rem;
  text-align: center;
  padding:1rem 3rem;
  line-height: 1.6;
}
#hero button{
  display: inline-block;
  align-items: center;
  justify-self: center;
  margin-top: 2rem;
  width: auto;
  padding: 0.8rem 2rem;
  height: auto;
  border-radius: 5px;
  background-color: var(--primary-dark); /* Grey-blue button */
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}
#hero button:hover{
  background-color: var(--primary-accent); /* Dark grey on hover */
  color: var(--white);
  border: none;
  transform: none;
}
#hero button a{
  text-decoration: none;
  color: var(--white);
  font-size: 1rem;
}
#hero button a:hover{
  color: var(--white);
}

.login,
.forget-container{
  width: 90%;
  max-width: 450px;
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10rem;
  margin-bottom: 3rem;
  padding: 40px;
  border-radius: 8px;
  background-color: var(--soft-background); /* White background for cards */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  flex-direction: column;
  box-sizing: border-box;
  gap: 20px;
}

.image-form{
    display: flex;
    flex-direction: row;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    background-color: var(--medium-grey);
    border: 3px solid var(--subtle-border);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.image-form img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-container,
.forget-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
    padding: 0;
    box-sizing: border-box;
    flex-grow: 1;
    align-self: center;
}

#loginform {
    width: 100%;
    text-align: center;
}

.login-container h2,
.forget-content h2 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif; /* Keep Playfair Display for these headings */
    text-align: center;
}

.forget-content p {
    font-size: 1rem;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
    font-family: 'Lato', sans-serif; /* Changed to Lato */
}

.login-container .formgroup,
.forget-content .formgroup {
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
}

.login-container label,
.forget-content label {
    font-size: 0.9rem;
    color: var(--dark-text);
    margin-bottom: 5px;
    display: block;
    font-family: 'Lato', sans-serif; /* Changed to Lato */
    font-weight: 500;
}

.login-container label i,
.forget-content label i {
    margin-right: 8px;
    color: var(--dark-text);
}

.login-container input[type="email"],
.login-container input[type="text"],
.login-container input[type="password"],
.forget-content input[type="email"],
.forget-content input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid var(--subtle-border);
    background-color: var(--soft-background); /* White background for input fields */
    color: var(--dark-text);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Lato', sans-serif; /* Changed to Lato */
}

.login-container input[type="email"]:focus,
.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus,
.forget-content input[type="email"]:focus,
.forget-content input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-dark); /* Grey-blue on focus */
    box-shadow: 0 0 4px rgba(149, 176, 181, 0.6);
}

.login-container input::placeholder,
.forget-content input::placeholder {
    color: var(--dark-grey);
    font-style: normal;
    font-weight: 400;
    font-family: 'Lato', sans-serif; /* Changed to Lato */
}

.login-container .btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.login-container .btn-form,
.forget-content .btn-form {
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--primary-dark); /* Grey-blue button */
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    margin-top: 0;
    font-family: 'Lato', sans-serif; /* Changed to Lato */
}

.login-container .btn-form a,
.forget-content .btn-form a {
     text-decoration: none;
     color: var(--white);
     font-family: 'Lato', sans-serif; /* Changed to Lato */
}

.login-container .btn-form:hover,
.forget-content .btn-form:hover {
     background-color: var(--primary-accent); /* Dark grey on hover */
     opacity: 0.9;
}

.login-container .btn-form a:hover,
.forget-content .btn-form a:hover {
     color: var(--white);
}

.login-container .forgot-password {
    width: 100%;
    text-align: center;
    margin-top: 0;
}

.login-container .forgot-password a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'Lato', sans-serif; /* Changed to Lato */
}

.login-container .forgot-password a:hover {
    color: var(--primary-dark); /* Grey-blue on hover */
    text-decoration: underline;
}

.forget-content .go-back-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: 'Lato', sans-serif; /* Changed to Lato */
}

.forget-content .go-back-link:hover {
    color: var(--primary-dark); /* Grey-blue on hover */
    text-decoration: underline;
}

/* Features Section Styles */
#features {
    padding: 5rem 4rem;
    background-color: var(--soft-background); /* White background for the section */
    text-align: center;
}

#features h2 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
}

.feature-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow items to wrap */
    gap: 3rem; /* Space between feature boxes */
}

.feature-box {
    flex: 1 1 250px; /* Flex-grow, flex-shrink, basis */
    max-width: 300px; /* Maximum width for a feature box */
    padding: 2rem;
    border: 1px solid var(--subtle-border);
    border-radius: 8px;
    background-color: var(--light-background); /* Light grey background for boxes */
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.feature-box:hover {
    transform: translateY(-10px); /* Subtle hover effect */
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-dark); /* Use primary-dark for icons */
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--dark-text);
    line-height: 1.6;
}

.shop-link {
    margin-top: 4rem;
    text-align: center;
}

.shop-link a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-dark); /* Use primary-dark for the link */
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.shop-link a i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.shop-link a:hover {
    color: var(--primary-accent); /* Use primary-accent on hover */
}

@media (max-width: 880px) {
    #header{
        padding: 1rem 2rem;
    }
    #header img{
        width: auto; /* Adjusted logo size */
        max-width: 100px;
    }
    #navbar{
         /* Adjust navbar for smaller screens, maybe stack or use a collapse menu */
         /* For now, let's adjust padding */
    }
    #navbar li{
        padding: 0 0.5rem; /* Adjusted navbar padding */
    }
    #navbar li a{
        font-size: 0.9rem;
    }
    
    #hero{
        padding: 8rem 2rem 3rem; /* Adjusted hero padding */
        min-height: 70vh; /* Adjusted min-height */
    }
    #hero-text{
        width: 90%; /* Adjusted width */
        padding: 2rem;
    }
    #hero h1{
        font-size: 2.2rem;
    }
    #hero p{
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    #hero button{
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .login,
    .forget-container{
        width: 95%;
        max-width: 400px;
        margin-top: 8rem;
        padding: 30px;
        gap: 15px;
    }
    
    .login-container,
    .forget-content{
        max-width: 300px;
    }

    .login-container h2,
    .forget-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    .forget-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .login-container label,
    .forget-content label {
        font-size: 0.85rem;
    }

    .login-container input[type="email"],
    .login-container input[type="text"],
    .login-container input[type="password"],
    .forget-content input[type="email"],
    .forget-content input[type="text"] {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .login-container .btn-container {
        gap: 10px;
        margin-top: 15px;
        margin-bottom: 10px;
    }
     .login-container .btn-form,
     .forget-content .btn-form {
        padding: 8px 15px;
        font-size: 0.9rem;
     }

     .login-container .forgot-password a,
     .forget-content .go-back-link {
        font-size: 0.85rem;
     }

    /* Features Section Responsive */
    #features {
        padding: 4rem 2rem; /* Adjusted padding */
    }
    #features h2 {
        margin-bottom: 2rem; /* Adjusted margin */
    }
    .feature-container {
        gap: 2rem; /* Adjusted gap */
    }
    .feature-box {
        flex-basis: 45%; /* Use percentage for more flexible sizing */
        max-width: none; /* Remove max-width constraint */
        padding: 1.5rem; /* Adjusted padding */
    }
     .feature-box i {
        font-size: 2rem;
     }
     .feature-box h3 {
        font-size: 1.1rem;
     }
     .feature-box p {
        font-size: 0.85rem;
     }
     .shop-link {
        margin-top: 3rem;
     }
     .shop-link a {
        font-size: 1.1rem;
     }
     .shop-link a i {
        font-size: 1.3rem;
     }
}

@media (max-width: 480px) {
    #header{
        padding: 0.8rem 1rem;
    }
    #header img{
        width: auto; /* Adjusted logo size */
        max-width: 80px;
    }
    #navbar{
         /* Navbar might need collapsing into a menu */
    }
    #navbar li{
        padding: 0 0.3rem; /* Further adjusted navbar padding */
    }
    #navbar li a{
        font-size: 0.7rem;
    }
    
    #hero{
        padding: 6rem 1rem 3rem; /* Adjusted hero padding */
        min-height: 60vh; /* Adjusted min-height */
    }
    #hero-text{
        width: 100%; /* Full width on small screens */
        padding: 1.5rem;
    }
     #hero h1{
        font-size: 1.8rem;
    }
    #hero p{
        font-size: 0.9rem;
        padding: 1rem;
    }
     #hero button{
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
     }

    .login,
    .forget-container{
        width: 100%;
        max-width: none;
        margin-top: 6rem;
        padding: 20px;
        gap: 10px;
    }

     .login-container,
    .forget-content{
        max-width: none;
    }

    .login-container h2,
    .forget-content h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
     .forget-content p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    .login-container label,
    .forget-content label {
        font-size: 0.8rem;
    }
    .login-container input[type="email"],
    .login-container input[type="text"],
    .login-container input[type="password"],
    .forget-content input[type="email"],
    .forget-content input[type="text"] {
        padding: 6px 8px;
        font-size: 0.85rem;
    }

    .login-container .btn-container {
        gap: 8px;
        margin-top: 10px;
        margin-bottom: 8px;
        flex-direction: column;
    }
     .login-container .btn-form,
     .forget-content .btn-form {
        padding: 6px 12px;
        font-size: 0.8rem;
     }

     .login-container .forgot-password a,
     .forget-content .go-back-link {
        font-size: 0.8rem;
     }

     /* Features Section Responsive */
     #features {
        padding: 3rem 1rem;
     }
     #features h2 {
        font-size: 1.6rem; /* Adjusted heading size */
        margin-bottom: 1.5rem;
     }
     .feature-container {
        gap: 1rem; /* Further reduced gap */
        flex-direction: column; /* Stack features vertically */
        align-items: center; /* Center stacked feature boxes */
     }
      .feature-box {
        flex-basis: auto; /* Auto basis when stacked */
        width: 90%; /* Adjusted width for stacked boxes */
        max-width: 300px; /* Keep a max-width for stacked boxes */
        padding: 1rem; /* Adjusted padding */
     }
      .feature-box i {
        font-size: 1.6rem; /* Adjusted icon size */
      }
      .feature-box h3 {
        font-size: 1rem;
      }
      .feature-box p {
        font-size: 0.8rem;
      }
      .shop-link {
        margin-top: 2rem;
     }
      .shop-link a {
        font-size: 0.9rem;
      }
      .shop-link a i {
        font-size: 1.1rem;
      }
}

/* Shop Page Styles */
.shop-page-header {
    text-align: center;
    padding: 10rem 4rem 3rem; /* Adjusted padding to account for fixed header */
    background-color: var(--light-background);
}

.shop-page-header h1 {
    font-size: 3rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.shop-page-header p {
    font-size: 1.1rem;
    color: var(--dark-text);
    padding: 0 3rem;
    line-height: 1.6;
}

.shop-page-buttons {
    text-align: center;
    margin-bottom: 3rem;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-container .btn-form {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-container .btn-form a {
    text-decoration: none;
    color: var(--white);
}

.btn-container .btn-form:hover {
    background-color: var(--primary-accent);
}

.btn-container .btn-form a:hover {
    color: var(--white);
}

#navbar-shop {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 1rem 0;
    background-color: var(--soft-background); /* White background for navbar */
    border-bottom: 1px solid var(--subtle-border);
    margin-bottom: 3rem;
}

#navbar-shop li {
    padding: 0 1.5rem;
}

#navbar-shop li a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 1rem;
    transition: color 0.3s ease;
}

#navbar-shop li a:hover,
#navbar-shop li a.active {
    color: var(--primary-dark);
    text-decoration: underline;
}

.women-section,
.men-section {
    padding: 3rem 4rem;
    background-color: var(--light-background);
}

.women-section h2,
.men-section h2 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.women-section > p,
.men-section > p { /* Target the paragraph directly within the section */
    font-size: 1rem;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 2rem;
}

.image-card {
    border: 1px solid var(--subtle-border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background-color: var(--soft-background);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Needed for absolute positioning of cart icon */
    overflow: hidden; /* Hide overflowing parts of the image */
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease; /* Add transition for smooth effect */
}

.image-card img:hover {
    transform: scale(1.2); /* Enlarge image more on hover */
}

.image-card span { /* For price */
    display: block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.image-card a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.image-card a i {
    margin-right: 8px;
}

.image-card a:hover {
    background-color: var(--primary-accent);
}

/* Responsive adjustments for shop page */
@media (max-width: 880px) {
     .shop-page-header{
        padding: 8rem 2rem 2rem;
     }
     .shop-page-header h1{
        font-size: 2.5rem;
     }
     .shop-page-header p{
        font-size: 1rem;
        padding: 0 1.5rem;
     }
     .shop-page-buttons .btn-container{
        gap: 15px;
     }
      .shop-page-buttons .btn-form{
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
      }

     #navbar-shop{
        padding: 0.8rem 0;
        margin-bottom: 2rem;
     }
     #navbar-shop li{
        padding: 0 1rem;
     }
      #navbar-shop li a{
        font-size: 0.9rem;
     }

     .women-section,
     .men-section {
        padding: 2rem;
     }
     .women-section h2,
     .men-section h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
     }
     .women-section > p,
     .men-section > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
     }
     .image-card{
        padding: 0.8rem;
     }
     .image-card img {
        height: 180px;
        margin-bottom: 0.8rem;
     }
      .image-card span {
        font-size: 1rem;
        margin-bottom: 0.8rem;
     }
      .image-card a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
     }
      .image-card a i {
        margin-right: 6px;
     }
}

@media (max-width: 480px) {
     .shop-page-header{
        padding: 6rem 1rem 1.5rem;
     }
     .shop-page-header h1{
        font-size: 2rem;
     }
     .shop-page-header p{
        font-size: 0.9rem;
        padding: 0 1rem;
     }
     .shop-page-buttons .btn-container{
        gap: 10px;
        flex-direction: column;
     }
      .shop-page-buttons .btn-form{
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
      }

     #navbar-shop{
        padding: 0.5rem 0;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        justify-content: flex-start;
        padding-left: 1rem;
        padding-right: 1rem;
     }
     #navbar-shop li{
        padding: 0;
     }
      #navbar-shop li a{
        font-size: 0.8rem;
     }

     .women-section,
     .men-section {
        padding: 1rem;
     }
     .women-section h2,
     .men-section h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
     }
     .women-section > p,
     .men-section > p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
     }
     .image-card{
        padding: 0.6rem;
     }
     .image-card img {
        height: 150px;
        margin-bottom: 0.6rem;
     }
      .image-card span {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
     }
      .image-card a {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
     }
      .image-card a i {
        margin-right: 4px;
     }
}

/* New grid styles */
.product-grid {
    display: grid;
    /* Default grid for smaller screens (1 or 2 columns) */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .product-grid {
        /* 3 columns on medium screens */
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        /* 4 columns on large screens */
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.collection-section {
    margin-bottom: 4rem;
    padding: 2rem;
}

.collection-section h2 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.collection-section > p {
    font-size: 1rem;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold; /* Make the text bold */
    color: var(--primary-accent); /* Change color to be more obvious */
}

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

.see-more-btn {
    display: block;
    margin: 2rem auto;
    padding: 0.8rem 2rem;
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.see-more-btn:hover {
    background-color: var(--primary-accent);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 880px) {
    .collection-section {
        padding: 1.5rem;
    }
    
    .collection-section h2 {
        font-size: 1.8rem;
    }
    
    .product-grid {
        gap: 1.5rem;
    }
    
    .see-more-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .collection-section {
        padding: 1rem;
    }
    
    .collection-section h2 {
        font-size: 1.6rem;
    }
    
    .product-grid {
        gap: 1rem;
    }
    
    .see-more-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Add keyframes for typing animation */
@keyframes fadeInWord {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Style for the words in the h1 */
#hero h1 .word, .shop-page-header h1 .word {
    opacity: 0;
    animation: fadeInWord 0.6s ease-in-out forwards;
    display: inline-block; /* Needed for the animation to work correctly */
}

/* Add staggered delay for each word */
#hero h1 .word:nth-child(1), .shop-page-header h1 .word:nth-child(1) { animation-delay: 0.1s; }
#hero h1 .word:nth-child(2), .shop-page-header h1 .word:nth-child(2) { animation-delay: 0.2s; }
#hero h1 .word:nth-child(3), .shop-page-header h1 .word:nth-child(3) { animation-delay: 0.3s; }
#hero h1 .word:nth-child(4), .shop-page-header h1 .word:nth-child(4) { animation-delay: 0.4s; }
#hero h1 .word:nth-child(5), .shop-page-header h1 .word:nth-child(5) { animation-delay: 0.5s; }
#hero h1 .word:nth-child(6), .shop-page-header h1 .word:nth-child(6) { animation-delay: 0.6s; }
#hero h1 .word:nth-child(7), .shop-page-header h1 .word:nth-child(7) { animation-delay: 0.7s; }
#hero h1 .word:nth-child(8), .shop-page-header h1 .word:nth-child(8) { animation-delay: 0.8s; }
#hero h1 .word:nth-child(9), .shop-page-header h1 .word:nth-child(9) { animation-delay: 0.9s; }
#hero h1 .word:nth-child(10), .shop-page-header h1 .word:nth-child(10) { animation-delay: 1.0s; }
/* Add more delays if you have more words in your h1 */

#special-offers {
    padding: 3rem 2rem;
    margin: 2rem 0;
    background-color: var(--light-background);
    width: 100%;
    text-align: center;
}

#special-offers h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
}

.offers-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0 2rem;
}

.offer-item {
    background-color: var(--primary-dark);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 400px;
    max-width: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    border-bottom: none;
}

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

.offer-item:hover {
    transform: translateY(-5px);
}

.offer-item i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
    min-width: auto;
}

.offer-item h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.offer-item p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    opacity: 0.9;
}

@media (max-width: 880px) {
    #special-offers {
        padding: 2rem 1rem;
        margin: 1.5rem 0;
    }
    
    #special-offers h2 {
        font-size: 2rem;
    }
    
    .offers-container {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .offer-item {
        padding: 1.5rem;
        flex-basis: calc(50% - 0.75rem);
        gap: 0.8rem;
    }
    
    .offer-item i {
        font-size: 2rem;
    }
    
    .offer-item h3 {
        font-size: 1.1rem;
    }
    
    .offer-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #special-offers {
        padding: 1.5rem 0.5rem;
        margin: 1rem 0;
    }
    
    #special-offers h2 {
        font-size: 1.6rem;
    }
    
    .offers-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        padding: 0 0.5rem;
    }
    
    .offer-item {
        padding: 1rem;
        width: 100%;
        max-width: none;
        gap: 0.5rem;
    }
    
    .offer-item i {
        font-size: 1.8rem;
    }
    
    .offer-item h3 {
        font-size: 1rem;
    }
    
    .offer-item p {
        font-size: 0.8rem;
    }
}

#cont {
    padding: 5rem 4rem;
    background-color: var(--soft-background);
    width: 100%;
    text-align: center;
}

#cont h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    flex: 0 0 auto;
    text-align: center;
}

.contact-item a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.phone-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-text);
    font-size: 1.1rem;
}

.phone-item i {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0;
}

@media (max-width: 880px) {
    #cont {
        padding: 4rem 2rem;
    }
    
    #cont h2 {
        font-size: 2rem;
    }
    
    .contact-container {
        gap: 1.5rem;
    }
    
    .social-icons {
        gap: 2rem;
    }
    
    .contact-item a,
    .phone-item {
        font-size: 1rem;
    }
    
    .contact-item i {
        font-size: 1.8rem;
    }

    .phone-item i {
         font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    #cont {
        padding: 3rem 1rem;
    }
    
    #cont h2 {
        font-size: 1.6rem;
    }
    
    .contact-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        width: 80%;
        max-width: 250px;
    }
    
     .phone-item {
        width: 80%;
        max-width: 250px;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
     }

    .contact-item a,
    .phone-item {
        font-size: 0.9rem;
    }
    
     .contact-item i {
        font-size: 1.6rem;
     }

     .phone-item i {
        font-size: 1.1rem;
     }

    .contact-item a {
        flex-direction: row;
        justify-content: center;
     }
}

footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 4rem 0;
    font-family: 'Lato', sans-serif;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 2rem;
}

.footer-brand,
.footer-links,
.footer-contact,
.footer-social {
    flex: 1 1 200px;
    max-width: 300px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--light-grey);
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--light-grey);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--light-grey);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-dark);
}

.footer-social .social-icons {
    display: flex; /* Use flexbox */
    flex-direction: row; /* Arrange icons horizontally */
    align-items: center; /* Vertically align icons */
    justify-content: center; /* Center the icons horizontally */
    /* Existing gap and margin styles will handle spacing */
}

.footer-social .social-icons a {
    color: var(--light-grey);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
    /* Removed flex-direction: column and gap here as it's not needed for just icons */
}

.footer-social .social-icons a:last-child {
    margin-right: 0; /* Remove margin from the last icon */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-grey);
    font-size: 0.8rem;
    padding: 2rem;
}

/* Responsive styles */
@media (max-width: 880px) {
    footer {
        padding: 3rem 0;
    }

    .footer-content {
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-brand,
    .footer-links,
    .footer-contact,
    .footer-social {
        flex-basis: calc(50% - 1rem);
        max-width: none;
    }

    .footer-brand h3 {
        font-size: 1.6rem;
    }

    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
        font-size: 1.1rem;
    }

    .footer-brand p,
    .footer-links a,
    .footer-contact p,
    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-social .social-icons {
        /* Ensure horizontal layout on medium screens */
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem; /* Adjust gap */
    }
    
    .footer-social .social-icons a {
        font-size: 1.3rem;
        margin-right: 0; /* Use gap for spacing instead of margin-right */
    }

    .footer-bottom {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .footer-brand,
    .footer-links,
    .footer-contact,
    .footer-social {
        flex-basis: 100%;
        max-width: none;
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-social .social-icons {
        /* Ensure horizontal layout on small screens */
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem; /* Adjust gap */
    }

    .footer-social .social-icons a {
         font-size: 1.2rem;
         margin: 0; /* Use gap for spacing */
     }

    .footer-brand h3 {
        font-size: 1.4rem;
    }

    .footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1rem;
}

    .footer-brand p,
    .footer-links a,
    .footer-contact p,
    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-contact i {
        margin-right: 0.3rem;
    }
    
    .footer-bottom {
        padding: 1rem 1rem;
    }
}

/* Cart Styles */
#cart {
    padding: 10rem 2rem 2rem;
}

.cart-container {
    overflow-x: auto;
}

#cart table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    white-space: nowrap;
}

#cart table thead {
    border: 1px solid #e2e9e1;
    border-left: none;
    border-right: none;
}

#cart table thead td {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 18px 0;
}

#cart table tbody tr td {
    padding-top: 15px;
}

#cart table tbody tr td img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

#cart table tbody tr td {
    font-size: 13px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid #e2e9e1;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
}

.quantity-controls span {
    width: 30px;
    text-align: center;
}

.remove-btn {
    background: #ff0000;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.remove-btn:hover {
    background: #cc0000;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.coupon {
    width: 50%;
    margin-bottom: 30px;
}

.coupon h3,
.subtotal h3 {
    padding-bottom: 15px;
}

.coupon input {
    padding: 10px 20px;
    outline: none;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #e2e9e1;
}

.subtotal {
    width: 50%;
    margin-bottom: 30px;
    border: 1px solid #e2e9e1;
    padding: 30px;
}

.subtotal table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

.subtotal table td {
    width: 50%;
    border: 1px solid #e2e9e1;
    padding: 10px;
    font-size: 13px;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-dark);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    display: none;
}

/* Responsive Cart */
@media (max-width: 799px) {
    .cart-summary {
        flex-direction: column;
    }
    
    .coupon,
    .subtotal {
        width: 100%;
    }
}

@media (max-width: 477px) {
    .coupon input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .coupon button,
    .subtotal button {
        width: 100%;
    }
}

/* Product Catalog Styles */
#product-catalog {
    padding: 5rem 4rem;
    background-color: var(--soft-background); /* White background */
    text-align: center;
}

#product-catalog h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.filter-controls {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-controls label {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-right: 0.5rem;
}

.filter-controls select {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid var(--subtle-border);
    border-radius: 4px;
    color: var(--dark-text);
    background-color: var(--light-background);
    cursor: pointer;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 2rem; /* Space between product cards */
    max-width: 1200px;
    margin: 0 auto;
}

/* Basic Product Card Styling (will be applied to dynamically created divs) */
.product-card {
    border: 1px solid var(--subtle-border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    background-color: var(--light-background); /* Light grey background */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: 180px; /* Fixed image height */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

.product-card .price {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-card button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.product-card button:hover {
    background-color: var(--primary-accent);
}

/* Responsive styles for Product Catalog */
@media (max-width: 880px) {
    #product-catalog {
        padding: 4rem 2rem;
    }

    #product-catalog h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .filter-controls {
        margin-bottom: 1.5rem;
    }

    .filter-controls label,
    .filter-controls select {
        font-size: 1rem;
    }

    .product-container {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust grid */
    }

    .product-card {
        padding: 1rem;
    }

    .product-card img {
        height: 150px;
        margin-bottom: 0.8rem;
    }

    .product-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

     .product-card p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
     }

    .product-card .price {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .product-card button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
     #product-catalog {
        padding: 3rem 1rem;
     }

     #product-catalog h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
     }

     .filter-controls {
        margin-bottom: 1rem;
     }

     .filter-controls label,
     .filter-controls select {
        font-size: 0.9rem;
     }

     .product-container {
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust grid */
     }

      .product-card {
        padding: 0.8rem;
     }

     .product-card img {
        height: 120px;
        margin-bottom: 0.5rem;
     }

     .product-card h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
     }

      .product-card p {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
      }

     .product-card .price {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
     }

     .product-card button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
     }
}

.product-item .description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.product-item {
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.coupon button.normal {
    padding: 10px 20px;
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.coupon button.normal:hover {
    background-color: var(--primary-accent);
}

#cart table tbody .quantity-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--subtle-border);
    background: var(--soft-background);
    color: var(--dark-text);
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#cart table tbody .quantity-controls button:hover {
    background-color: var(--light-background);
    border-color: var(--primary-dark);
}

.subtotal button.normal {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.subtotal button.normal:hover {
    background-color: var(--primary-accent);
}
