*  {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --background-color: rgb(180, 225, 255);
    --main-color: orange;
    --white-color: white;
    --black-color: black;
    --grey-color: #c9d1d1;
}

html {
font-size: 16px;
overflow-x: hidden;
}

body {
min-height: 100vh;
width: 100%;
overflow-x: hidden;
}

a {
text-decoration: none;
cursor: pointer;
}

.container {
    background-color: var(--background-color);
    width: 95%;
    margin: 3em auto;
    margin-bottom: 2em;
    padding: .5em;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 200px);
}

.alert-message {
  display: none !important; /* Hide old alert messages as they're replaced by toasts */
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* header .hero-header{
    background-image: url(banner.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    top: 50%;
} */

.header h1 {
    font-size: 4rem;
    text-align: center;
  }
  
@media (max-width: 600px) {
    .header {
    height: 30vh;
    }

    .header h1 {
    font-size: 3rem
    }
}

button {
  background-color: var(--main-color);
  border: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5em 1em;
  border-radius: 4px;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  z-index: 1;
}

button:hover {
  background-color: #e69500;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.section-title {
    text-align: center;
    background-color: var(--white-color);
    padding: .5em;
    display: flex;
    justify-content: space-between;
    padding: 0.5em 2em 0.5em 4em;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #ccc;
}





@media (min-width: 1600px) {
    body {
        background-color: #c9d1d1;
    }
    .body-container, .navbar{
        max-width: 1600px;
        margin: 0 auto;
    }


    .container {
        width: 100%;
    }
    
}

@media (max-width: 1200px) {
    .product-card  {
        width: 24%;
        margin: .5em auto 0 auto;
    }
}

@media (max-width: 1000px) {
    .product-card  {
        width: 32%;
        margin: .5em auto 0 auto;
    }
}
@media (max-width: 780px) {
    .product-card  {
        width: 49%;
    }
}

@media (max-width: 480px) {
    .product-card  {
        width: 100%;
    }
}
@media (max-width: 700px) {
    

    .header {
        height: 200px;
    }
}


@media (max-width: 768px) {
    .container {
        width: 100%;
        margin: 1em 0;
        padding: 0.5em;
        margin-top: 0.5em;
    }
    
    .section-title {
        flex-direction: column;
        align-items: center;
        padding: 1em;
        gap: 0.5rem;
    }
    
    .section-title h3 {
        margin: 0;
        font-size: 1.2rem;
    }
    
    .product-container {
        justify-content: center;
        gap: 1rem;
    }
    
    /* Ensure content doesn't overlap with fixed navbar */
    body {
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .container {
        width: 100%;
        margin: 0.5em 0;
        padding: 0.5em;
    }
    
    .section-title {
        padding: 0.75em;
    }
    
    .section-title h3 {
        font-size: 1.1rem;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    /* Improve touch targets for mobile */
    button {
        min-height: 48px;
        min-width: 48px;
        padding: 0.75em 1.25em;
        font-size: 1rem;
    }
    
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Better spacing for mobile */
    .product-container {
        gap: 1rem;
        padding: 0.5rem;
    }
    
    /* Improve readability */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Improve scrolling */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better spacing for mobile */
    .container {
        padding-bottom: 100px; /* Space for mobile footer */
        margin-bottom: 1em;
    }
    
    /* Ensure body container doesn't overlap with fixed footer */
    .body-container {
        padding-bottom: 80px;
        position: relative;
        z-index: 1;
    }
    
    /* Ensure container doesn't overlap with fixed footer */
    .container {
        margin-bottom: 80px;
        padding-bottom: 1em;
    }
}


.hideme {
    display: none !important;
}

.hideme.showme {
    display: flex;
}



  /* Simple Footer */
  .simple-footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-top: 40px;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #3498db;
  }
  
  .footer-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
  }
  
  .footer-contact span {
    color: #bdc3c7;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 14px;
  }
  
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      text-align: center;
      gap: 15px;
    }
    
    .footer-links {
      justify-content: center;
      gap: 20px;
    }
    
    .footer-contact {
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .footer-links {
      flex-direction: column;
      gap: 10px;
    }
    
    .footer-contact {
      flex-direction: column;
      gap: 10px;
    }
  }
  /* Fixed footer for mobile devices */
  
  .foot {
    background-color: white;
    font-size: 1rem;
    color: black;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
  }
  
  .foot .foot-menu {
    display: block;
  }
  
  .foot a {
    color: black;
  }
  
  .foot ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .foot li {
    padding: .8em 1.5em;
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .foot li svg {
    margin-bottom: 0.2em;
  }
  
  .foot-menu {
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .foot li:hover {
    background-color: orange;
    cursor: pointer;
  }
  
  .foot .foot-cart {
    position: relative;
  }
  
  .foot .cart-count {
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 1px 4px;
    position: absolute;
    margin: 0;
    top: 5px;
    right: 15px;
  }
  
  @media (max-width: 600px) {
    .foot {
      display: block;
      padding: 0.5em 0;
      z-index: 999;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: white;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .foot li {
      padding: 0.6em 1em;
      min-height: 55px;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }
    
    .foot-menu {
      font-size: 0.75rem;
    }
    
    /* Add padding to body to prevent content from being hidden behind fixed footer */
    body {
      padding-bottom: 70px;
    }
  }
  