@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

    * {
      box-sizing: border-box;
    }

    body, html {
      margin: 0;
      padding: 0;

    }

    /* Modal Overlay */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    /* Modal Content */
    .modal-content {
      width: 90%;
      max-width: 400px;
      border-radius: 8px;
    }

    .tabs {
        display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    background: #ffffff;
    padding: 5px;
    border-radius: 10rem;
    margin-top: -36px;
    width: 75%;
    margin: -46px auto;
    margin-bottom: 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }

    .tab {
      padding: 10px;
      flex: 1;
      text-align: center;
      cursor: pointer;
      border-bottom: 2px solid transparent;
    }

    .tab.active {
      /* border-bottom: 2px solid #007BFF; */
      font-weight: bold;
          background: #E7EAFF;
    border-radius: 10rem;
    }

    .tab-content {
      display: none;
    }

    .tab-content.active {
      display: block;
    }

    form {
      display: flex;
      flex-direction: column;
    }

    label {
      margin: 8px 0 4px;
      font-weight: bold;
    }

    input {
      padding: 13px;
      margin-bottom: 12px;
        border-radius: 10rem;
    border: none;
    background: #F8F8F8;
    color: #686868;
    }

    #logincnt {
      padding: 10px;
      background-color: #F2592C;
      color: white;
      border: none;
      border-radius: 10rem;
      cursor: pointer;
    }

    #logincnt:hover {
      background-color: #FFFFFF;
      border: 1px solid #F2592C;
      transition: 0.3s ease;
      color: #F2592C;

    }

    /* Responsive */
    @media (max-width: 600px) {
      .tabs {
        flex-direction: row;
      }
    }

       .modal-header {
    background: #D2DD4A;
    text-align: center;
    padding:  50px 15px;
    }

    .modal-header img {
      max-width: 100%;
      margin-bottom: 10px;
    }

    .modal-header h2 {
      margin: 0;
      font-size: 1.5em;
      color: #333;
    }
    .modal-item {
        padding: 20px;
            background: #fff;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            margin-top: -18px;
            box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }

    .tab-content {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.tab-content.active {
  display: block; /* Keep this for fallback */
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.tab-container{
    position: relative; min-height: 280px;
}
.form-row-item{
    position: relative;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}
.info{
        position: absolute;
    /* margin-bottom: revert-layer; */
    margin-top: 75px;
    font-size: 14px;
    color: red;
}
.fixed-container{
    max-width:1980px;
    width:95%;
    margin: 0 auto;
}
#home-page-main{
    width:100%;
    float:left;

}
.banner-image{
    max-width:100%;
}

/* products */
.products{
    width: 100%;
    float:left;
    padding:45px 0px;
    background-color: #ffffff;
}

.product-container-lists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 3 per row, responsive */
  gap: 20px;
  padding: 20px;
}

.product-card {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.product-card .product-info{
      font-family: "Nunito", sans-serif;
      font-size: 24px;
}
.product-card:hover {
  transform: translateY(-4px);
}

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

.product-image {
  flex-shrink: 0;
}

.product-info {
  padding: 10px 15px;
  display: flex;
  align-items: center;
}

.product-info h3 {
  font-size: 16px;
  margin: 0;
}

.product-info a {
  text-decoration: none;
  color: #333;
}

@media screen and (max-width: 768px) {
  .product-container-lists {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .product-image img {
    width: 80px;
    height: 80px;
  }
}

@media screen and (max-width: 480px) {
  .product-container-lists {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-direction: row;
  }

  .product-info {
    padding: 10px;
  }
}
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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


/* Product Details */
/* .product-details-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
} */

.accordion-item {
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.accordion-toggle {
  width: 100%;
  background: #f9f9f9;
  border: none;
  text-align: left;
  padding: 5px 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-toggle .arrow {
  transition: transform 0.3s ease;
}

.accordion-toggle.active .arrow {
  transform: rotate(180deg); /* makes arrow go up */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: #f7f7f7;
  padding: 0 15px;
  text-align: left;
}

.accordion-content.open {
  padding: 0px 15px;
  max-height: 1000px; /* enough to allow content to expand */
}

@media (max-width: 600px) {
  .accordion-toggle {
    font-size: 14px;
    padding: 12px;
  }

  .accordion-content {
    font-size: 14px;
  }
}

#Products-detail-section{
    width:100%;
    padding:45px 0px;
    width:70%;
    margin: 0 auto;
       text-align: center;
}
#Products-detail-section h1{
     font-family: "Nunito", sans-serif;
     font-weight: 700;
     font-size: 46px;
     margin: 15px 0px;
}
.accordion-toggle h3{
   font-family: "Nunito", sans-serif;
  font-weight: 600;
    font-size: 26px;
    margin: 15px 0px;
}
.accordion-content p{
     font-family: "Nunito", sans-serif;
     font-weight: 300;
     font-size: 16px;
}
.accordion-content h4{
     font-family: "Nunito", sans-serif;
     font-weight: 400;
     font-size: 24px;
}
.accordion-content ul li {
    padding-bottom: 8px;
     font-family: "Nunito", sans-serif;
     font-weight: 300;
      font-size: 16px;
}
.accordion-content ol li {
    padding-bottom: 8px;
     font-family: "Nunito", sans-serif;
     font-weight: 300;
      font-size: 16px;
}

.Dosage-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.styled-table {
  border-spacing: 0;
  border-collapse: separate;
  width: 100%;
  min-width: 600px; /* Allows horizontal scroll on small devices */
  background: white;
  margin-bottom: 25px;
}

.styled-table th,
.styled-table td {
  border: 1px solid #ccc;
  padding: 14px 18px;
  text-align: left;
  background-color: #fff;
}



.styled-table tbody tr:hover td {
  background-color: #f9f9f9;
}

/* Optional: space between rows */
.styled-table tbody tr + tr td {
  border-top: 4px solid #f8f8f8;
}

/* Optional: space between columns */
.styled-table td + td,
.styled-table th + th {
  border-left: 4px solid #f8f8f8;
}
.styled-table thead th{
      background-color: #f2f2f2;
     font-family: "Nunito", sans-serif;
     font-weight: 600;
     font-size:16px
}
.styled-table tbody tr {
     font-family: "Nunito", sans-serif;
     font-weight: 300;
     font-size:16px
}
@media(max-width:998px){
    #Products-detail-section {
        width: 100%;
    }
}

@media(max-width:600px){
    #Products-detail-section h1 {
        font-size:26px
    }
    .accordion-toggle h3 {
        font-size:22px;
    }
}
#Products-detail-section img{
    max-width: 100%;
}


/* Snackbar container */
#snackbar {
    visibility: hidden; /* Hidden by default */
    min-width: 250px;
    background-color: #323232;
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 14px 20px;
    position: fixed;
    z-index: 9999;
    right: 20px;
    bottom: 20px;
    font-size: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Show class to make it visible */
#snackbar.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}


#modal{
     font-family: "Nunito", sans-serif;
}

#products h1{
    font-family: "Nunito", sans-serif;
    font-size: 32px;
    margin: 25px 0px;
}

#back-to-home {
  display: block;
  text-align: left;
  margin: 25px 0px;
}

@media(max-width:660px){
  #Products-detail-section img{
    border-radius: 8px;
    width:100%;
  }
}