.holiday-notice {
  background-color: red;
  color: yellow;
  font-size: 20px;
  font-weight: bold;
  padding: 15px;
  margin-top: 30px;
  border-radius: 10px;
  animation: flash 1s infinite;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes flash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}



body {
    margin: 0;
    font-family: Poppins;
    background-color: #cbf3f0;
}

#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 50px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #396A62; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 9px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 20px; /* Increase font size */
    transition: background-color 0.3s ease;
}

#myBtn:hover {
    background-color: #F8BDC4; /* Add a dark-grey background on hover */
}

.container {
    max-width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 10px;
    transition: transform 0.5s;
}



svg {
    width: 30px;
}

header {
    display: flex;
    align-items: center;
    justify-content:space-between;
    padding: 20px 0;
    background-color: #396A62;
    font-family: Imprint MT Shadow;
    color: #c8ab2d;
    font-size: 30px;
}

.nav ul{
    display: flex;
    padding: 20px 0;
    background-color: #396A62;
    font-family: Imprint MT Shadow;
    color: #c8ab2d;
    font-size: 30px;
}

.title img {
    max-width: 100px; /* Ensure logo fits well */
}

.icon-cart {
    position: relative;
    cursor: pointer;
    padding-right:40px;
}

.icon-cart span {
    position: absolute;
    background-color: red;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: 50%;
    right: 20px;
    font-size: 20px;
}

.listProduct {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 80%; /* Set a max-width to control the container size */
    justify-content: center; /* Center items horizontally */
    gap: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto; /* Center the entire grid container */
}


.listProduct .product {
    background-color: #EEEEE6;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.listProduct .product img {
    width: 100%;
    aspect-ratio: 3 / 4; /* Adjust based on your layout */
    object-fit: cover;
    filter: drop-shadow(0 20px 10px #def6ca);
    border-radius: 10px;
}


.listProduct .product h3 {
    font-size: large;
    font-weight: 500;
    margin: 10px 0;
}

.listProduct .product p {
    font-size: medium;
}

.listProduct .product button {
    background-color: #2B4F49;
    color: #c8ab2d;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 20px;
    cursor: pointer;
}

footer {
    background-color: #2B4F49;
    display: grid;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 80px;
    font-size: 25px;
    color: #c8ab2d;
}

footer h4, footer h5 {
    margin: 0;
}

footer a {
    color: #c8ab2d;
    font-family: Imprint MT Shadow;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

.cartTab {
    width: 400px;
    background-color: #353432;
    color: white;
    position: fixed;
    top: 0;
    right: -400px;
    bottom: 90px;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    transition: .5s;
}

body.showCart .cartTab {
    right: 0;
}

body.showCart .container {
    transform: translateX(-250px);
}

.cartTab h1 {
    padding: 20px;
    margin: 0;
    font-weight: 300;
    text-align: center;
}

.cartTab .btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cartTab button {
    background-color: #c8ab2d;
    color: #396A62;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
}

.cartTab .remove-from-cart{
    padding:5px;
}

.cartTab .close {
    background-color: #396A62;
    color: #c8ab2d;
}

.listCart {
    overflow-y: auto;
    padding: 10px;
}

.listCart .item {
    display: grid;
    grid-template-columns: 70px 150px 50px 1fr;
    gap: 10px;
    text-align: center;
    align-items: center;
    background-color: rgba(238, 238, 238, 0.041);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
}

.listCart .item img {
    width: 100%;
    border-radius: 5px;
}

.listCart .item p {
    margin: 0;
}

.listCart .item button {
    background-color: #c8ab2d;
    color: #396A62;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
}

/* Mobile */
@media only screen and (max-width: 992px) {
    .listProduct {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .listProduct {
        grid-template-columns: 1fr;
    }

    .container {
        width: 100%;
    }

    .cartTab {
        width: 100%;
        right: -100%;
    }

    body.showCart .cartTab {
        right: 0;
    }

    .back-button {
        width: 100%;
        padding: 10px;
        font-size: 18px;
        border-radius: 10px;
        background-color: #2B4F49;
        color: white;
        border: none;
        cursor: pointer;
    }
}




/* Link Styles */
a:link, a:visited {
    color: #c8ab2d;
    font-family: Imprint MT Shadow;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: white;
    font-family: Imprint MT Shadow;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: #def6ca;
    font-family: Imprint MT Shadow;
    background-color: transparent;
    text-decoration: underline;
}

@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    font-size: 24px;
    padding: 10px;
  }

  .nav ul li {
    margin: 10px 0;
  }
}


