body{
  margin: 0;
  padding: 0;
  font-family: Questrial, sans-serif;
  overflow-x: hidden;
}



.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}  
  .announcement {
    padding: 1.5rem;
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: black;
    letter-spacing: 1.11px;
    font-family: 'Questrial', sans-serif;
  }



  .styled-form {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 80px;
    background-color:#f5f5f5;;
    border-radius: 40px;
    overflow: hidden;
    margin-top: 1.5rem; /* Adjusted margin */
  }

  .styled-form input {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    border: 3px solid #373737;
    border-radius: 40px;
    background: transparent;
    outline: 0;
    padding: 0.4em 0.3em;
    color: #373737;
    font-size: 1em;
    transition: background 0.35s ease-out, border-color 0.3s ease-out;
  }

  .styled-form input:focus {
    background: #f5f5fa;
    border-color: #373737;
  }

  .styled-form input:focus + label {
    transform: translateY(-15px) scale(0.8);
    color: #373737;
  }

  .styled-form label {
    position: absolute;
    left: 1em;
    top: 50%;
    margin-top: -8px;
    color: #373737;
    text-transform: capitalize;
    transform-origin: left center;
    transition: transform 0.25s ease-out, color 0.25s ease-out;
  }

  .styled-form button {
    position: absolute;
    right: 0;
    width: 80px; /* Adjusted width */
    height: 100%;
    border: 0;
    border-radius: 40px;
    font-size: 1.5em; /* Adjusted font size */
    background: blue;
    color: #373737;
    cursor: pointer;
    visibility: hidden;
    outline: none;
    transition: visibility 0.35s ease-out, width 0.5s ease-out, background 0.25s ease-out;
  }

  .styled-form button.is-active {
    background: rgba(92, 148, 205, 0.7);
    color: #373737;
    visibility: visible;
  }

  .styled-form button.is-done {
    width: 100%;
    visibility: visible;
    opacity: 1;
  }



  .section-container{
    max-width: 60%;
  }


  .section-container{
    font-size: 1.2rem;
  }
  p{
    white-space: pre-line;
  }

.announcement {
    padding: 1.5rem;
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: black;
    letter-spacing: 1.11px;
    font-family: 'Questrial', sans-serif;
  }



.quantity-input {
    position: relative;
    display: flex;
    align-items: center;
}

.quantity-btn-left,
.quantity-btn-right {
    color: black;
    background-color: white;
    border: 2px solid black; /* Increased border width */
    padding: 8px; /* Adjust padding */
    margin: 0;
    cursor: pointer;
}

.quantity-btn-left {
    border-right: none;
    border-top-left-radius: 50%; /* Half of the height */
    border-bottom-left-radius: 50%; /* Half of the height */
}

.quantity-btn-right {
    border-left: none; /* Remove right border */
    border-top-right-radius: 50%; /* Half of the height */
    border-bottom-right-radius: 50%; /* Half of the height */
}

input[type="number"] {
    width: 4rem;
    padding: 9.5px; /* Adjust padding */
    margin: 0;
    border: 2px solid black; /* Increased border width */
    border-left: none; /* Remove left border */
    border-right: none; /* Remove right border */
    border-radius: 0;
    font-size: 14px;
    text-align: center;
    outline: none; /* Remove default input focus outline */
}

/* Optional: Add some transition effect for a smoother appearance */
input[type="number"]:focus {
    border-color: #007bff;
    border: 4px solid #007bff;
}

.no-scroll {
            overflow: hidden;
        }

/* Add your other styles as needed */

.cart-table {
    width: 95%;
    border-collapse: collapse;
    margin-top: 20px;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cart-item-image {
    max-width: 100px;
    height: autopx;
}

.cart-table tbody td {
    vertical-align: middle;
}

.total-row {
    margin-top: 20px;
    text-align: right;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.fa-trash {
    color: #ff0000;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fa-trash:hover {
    color: #cc0000;
}

 header {
            font-family: Archivo, serif;
            padding:2.5rem;
            position: sticky;
            z-index: 2;
        }


h1,h2,h3,h4,h5,h6 {
            font-family: Archivo, serif;
        }        


   .cart-bar {
      height: 100%;
      width: 0;
      position: fixed;
      z-index: 5;
      top: 0;
      right: 0;
      background-color: rgba(255, 255, 255, 1.0);;
      overflow-x: hidden;
      transition: 0.5s;
      padding-top: 60px;
  }


 .cart-header-title{
     position: absolute;
      z-index: 5;
      top: 0;
      left: 0;
 }
  

  .cart-header-icon{
     position: absolute;
      z-index: 5;
      top: 0;
      right: 0;
 }   


   .overlay-cart {
            height: 100%;
            width: 0;
            position: fixed;
            top: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 4;
            cursor: pointer;
            transition: 0.5s;
            display: none;
        }     

 

 .cart-bar a {
      padding: 8px 8px 8px 32px;
      text-decoration: none;
      font-size: 18px;
      color: #818181;
      transition: 0.3s;
  }

 .cart-bar .close-btn {
    display: none;
    color: black; 
    cursor: pointer;
 }



.announcement{
   padding: 1.5rem 1.5rem;
   color:white;
   background: black;
}
 .sidebar {
            padding-top: 10rem;
            height: 100%;
            width: 0;
            position: fixed;
            scroll-behavior: none;
            z-index: 1;
            top: 0;
            left: 0;
            background-color: black;
            overflow-x: hidden;
            transition: 0.5s;
            flex-direction: column;
            justify-content: space-between;
            color: rgba(255, 255, 255, 1.0);
        }

.sidebar li{
   font-family: Questrial, sans-serif;
   display: flex;
   align-items: center;
}

.sidebar a {
            width: 100%;
            text-decoration: none;
            font-size: 1.2rem;
            color: white;
            display: block;
            transition: 0.3s;
            padding-left:2rem;
            padding-top:0.5rem;
            padding-bottom: 0.5rem;
        }



.sidebar a:hover {
    color: #f1f1f1;
}


.hidden{
    display: none;
}


.overlay-cart {
            height: 100%;
            width: 0;
            position: fixed;
            top: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 1;
            cursor: pointer;
            transition: 0.5s;
            display: none;
        }




  .overlay {
            height: 100%;
            width: 0;
            position: fixed;
            z-index: 1;
            top: 0;
            left: 0;
            background-color: rgba(255, 255, 255, 0.3);
            overflow-x: hidden;
            transition: 0.5s;
        }


  #closeMenu {
            color: white;
            cursor: pointer;
            position: absolute;
            top: 70px;
            left: 30px;
            z-index: 2;
        }
        

#openMenu {
    color: white;
    cursor: pointer;
}        


li:hover{
  background-color: rgba(255,255,255,.04);
}


.footer{
  list-style-type: none;
  letter-spacing: 0.06rem;
}


.footer-link{
  color:#373737;
  opacity:70%;
  text-decoration: none;
}

.footer-link:hover{
   opacity: 100%;
   color: #373737;
   text-decoration-line: underline;
}


.content-container{
  overflow-y: hidden;
}



.icon:hover{
  transform: scale(1.1);
}



 /* Base styles */
.product-header {
    font-size: 3.0rem;
    line-height: 4rem;
    letter-spacing: 0.75px;
}

.products-card {
    display: flex; /* Use flex to make all children have the same height */
    flex-direction: column; /* Stack children vertically */
    border: 1px solid black;
    border-radius: 1.8rem;
    color: #000000;
    overflow: hidden;
    position: relative;
    letter-spacing: 0.66px;
    line-height: 20.54px;
    font-size: 1.2rem;
    padding: 1.3rem; /* Add padding to the product card */
    box-sizing: border-box; /* Include padding in the total width and height */
}

.text-container {
    flex-grow: 1; /* Allow the text container to grow and take available space */
    padding: 10px; /* Adjust padding as needed */
}

.products-card img {
    width: 100%;
    height: 400px;
    object-fit: contain; /* Maintain aspect ratio and fit inside the container */
    transition: transform 0.3s ease;
}

.products-card:hover img {
    transform: scale(1.01);
}

.product-title {
    font-family: Archivo, serif;
    font-weight: 700;
    font-size: 1.0rem;
    margin: 0.2rem 0px;
}

.product-price {
    margin: 0px 0px;
    font-family: Questrial, sans-serif;
    line-height: 2rem; /* Set a fixed line height for the price */
}

.add-to-cart-btn {
    font-family: Questrial, sans-serif;
    width: 100%;
    padding: 0.8rem; /* Adjust padding */
    margin-top: 10px; /* Add margin to separate from other content */
    color: black;
    cursor: pointer;
    border-radius: 12px;
    font-size: 1rem;
    background-color: white;
    border: 2px solid grey;
    box-shadow: 0 0 0 2px grey inset; /* Grey border-like shadow */
}

.add-to-cart-btn:hover {
   box-shadow: 0 0 0 4px grey inset; /* Grey border-like shadow */
}

.product-title:hover {
    text-decoration-line: underline;
}

.header-row img {
    height: auto;
}


.heading-footer{
    font-size: 2rem;
}




/* Responsive Design */

@media only screen and (max-width: 768px) {
    /* Add styles for screens with a maximum width of 768px */
    header {
        padding: 1rem;
    }

    .header-row img {
        width: 150px;
        height: auto;
    }

    .quantity-btn-left,
    .quantity-btn-right {
        padding: 8px;
    }

    input[type="number"] {
        padding: 10px;
    }

     .content{
        overflow-x: hidden;
    } 

    .styled-form {
    width: 90%; /* Adjusted width for smaller screens */
  }   
}







@media only screen and (max-width: 600px) {
    /* Add styles for screens with a maximum width of 600px */
    .cart-table th,
    .cart-table td {
        padding: 10px;
    }

    .cart-item-image {
        max-width: 80px;
    }

    .total-row {
        font-size: 14px;
    }

    input[type="number"] {
        padding: 9.5px;
    }


  #closeMenu {
            top: 45px;
            left: 25px;
        }


    .content{
        overflow-x: hidden;
    } 

    .styled-form {
    width: 80%; /* Adjusted width for smaller screens */
  }  


}
