
body {
    background: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    text-align: center;
}


.logo-container {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    z-index: 10; 
}

.click-text {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px); 
    transform: translateY(-50%);
    font-size: 14px;
    background: black; 
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); 
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}


.logo-container:hover .click-text {
    transform: scale(1.1);
    opacity: 1;
}

.logo {
    width: 130px; 
    height: auto;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 140px;
    gap: 15px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}





.filter-container label {
    font-size: 16px;
    font-weight: bold;
    color: rgb(255, 255, 255); 

}
.products-container {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px; 
    overflow-x: auto; 
    padding: 10px;
    width: 100%;
}


.product {
    flex: 0 0 auto;
    position: relative;
    width: 180px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


.product:hover {
    transform: scale(1.05);
}


.product .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


.product:hover .overlay {
    opacity: 1;
}

.product {
    position: relative;
    cursor: pointer;
}



.filter-container {
    width: 100%;
    background: #532d69;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.2);
}

.filter-container label {
    font-size: 16px;
    font-weight: bold;
}

.filter-container select {
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    box-shadow: 0px 2px 5px rgb(255, 255, 255);
}


.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.filters button {
    background: black;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.filters button:hover {
    background: gray;
}



.cart-container {
    position: fixed; 
    top: 60px;
    right: 10px;
    background: #532d69;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex; 
    align-items: center;
    cursor: pointer;
    z-index: 1000; 
}


.cart-content {
    position: absolute;
    top: 60px;
    right: 10px;
    width: 320px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: none; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    flex-direction: column;
    z-index: 1000; 
}

.cart-content.visible {
    display: block;
    opacity: 1;
}

.cart-icon {
    width: 40px;
    height: auto;
    margin-right: 8px;
}

.cart-text {
    font-size: 14px;
    font-weight: bold;
    color: white;
}


.cart-content {
    position: absolute;
    top: -10px;
    right: 50px;
    width: 240px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: none;
}

.cart-content h2 {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}

.cart-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300;
}

.cart-content li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.cart-content img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

.cart-content li:last-child {
    border-bottom: none;
}

.cart-container:hover .cart-content {
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

h1 {
    font-family: 'Zen Dots', sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
}


p {
    font-family: 'Zen Dots', sans-serif; 
    font-size: 15px;
    line-height: 1.5;
}


.support-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #532d69;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.2s ease-in-out;
}

.support-button:hover {
    transform: scale(1.1);
}


.support-menu {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.support-menu.active {
    display: flex;
}

.support-option {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    background: #f1f1f1;
    transition: background 0.3s ease-in-out;
}

.support-option:hover {
    background: #ddd;
}

.filter-menu {
    position: absolute;
    top: 150px;
    left: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    width: 150px;
    padding: 5px;
    z-index: 1000; 
}


.filter-menu.active {
    display: flex;
}

.filter-option {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease-in-out;
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option:hover {
    background: #532d69;
    color: white;
}


.search-bar {
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
    background: #532d69;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}


.search-bar input {
    width: 60%;
    max-width: 500px; 
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}


.search-bar button {
    background: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
}

.search-bar button:hover {
    background: #ddd;
}


.cart-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;  
    overflow-y: auto;
}

.cart-content li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cart-content img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}



.cart-content.visible .empty-cart-button {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.empty-cart {
    text-align: center;
    font-size: 1.2rem;
    color: #777;
    margin-top: 20px;
}

.cart-content .empty-cart-button {
    display: none;
    width: 100%;
    background: red;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease-in-out;
}

.empty-cart-button:hover {
    background: darkred;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
}


.modal {
    display: none;  
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);  
    justify-content: center;
    align-items: center;
    z-index: 1000;  
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
}

#modal-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#modal-title {
    font-size: 24px;
    margin: 10px 0;
}

#modal-price {
    font-size: 18px;
    margin: 10px 0;
}

#add-to-cart-button {
    background-color: #532d69;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

#add-to-cart-button:hover {
    background-color: #532d69;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

.close-btn:hover {
    color: #532d69;

}


.product {
    position: relative;
    cursor: pointer;
}

.product img {
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
}


.product {
    position: relative;
    cursor: pointer;
}

.add-to-cart-btn {
    display: none;  
    position: absolute;
    bottom: 10px;  
    left: 50%;
    transform: translateX(-50%);
    background-color: #532d69;  
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product:hover .add-to-cart-btn {
    display: block;  
    opacity: 1;  
    transform: translateX(-50%) scale(1.1);  
}

.add-to-cart-btn:active {
    transform: translateX(-50%) scale(1);  
}

.add-to-cart-btn {
    
    animation: bounce 0.6s ease-out;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}




.product-modal.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .products-container {
        flex-direction: column;
        gap: 10px;
    }
    .search-bar input {
        width: 80%;
    }
}
#cart-counter {
    color: #ffffff; 
    font-weight: bold;
    margin-left: 5px;
}

.auth-buttons {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 15px;
    z-index: 1001;
  }
  
  .auth-button {
    text-decoration: none;
    font-size: 16px;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: transparent;
  }
  
  .auth-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.6);
    color: #007bff;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
  }
  
  .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  form input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  form button {
    width: 90%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  form button:hover {
    background-color: #0056b3;
  }
  .auth-with-social {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  
  .social-btn {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  
  .social-logo {
    width: 30px;
    height: 30px;
  }
  
  .social-btn:hover {
    opacity: 0.8;
  }