* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #212121;
}

body {
    background-color: #F5F5F5;
    overflow-x: hidden;
    padding-bottom: 60px;
}

.header {
    background: linear-gradient(to bottom, #007BFF, #FFFFFF);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .logo-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #212121;
}

.header #logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
    cursor: pointer;
}

.header #logo:hover {
    opacity: 0.8;
}

.header .search-bar {
    flex: 1;
    margin: 0 10px;
}

.header .search-bar input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #212121;
    border-radius: 20px;
    font-size: 12px;
    outline: none;
    background-color: #F5F5F5;
    transition: border-color 0.3s ease;
}

.header .search-bar input:focus {
    border-color: #333333;
}

.header .cart {
    font-size: 0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.header .cart img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.header .cart span {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FFC107;
    color: #212121;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 12px;
}

.slideshow {
    margin-top: 60px;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    background-color: #F5F5F5;
}

.slides {
    display: flex;
    width: 300%;
    height: auto;
    transition: transform 0.5s ease;
}

.slide {
    width: 33.33%;
    height: auto;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slideshow .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #F5F5F5;
    background: rgba(33, 33, 33, 0.5);
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
}

.slideshow .left-arrow {
    left: 10px;
}

.slideshow .right-arrow {
    right: 10px;
}

.categories {
    display: flex;
    overflow-x: auto;
    padding: 15px 7px;
    background-color: #F5F5F5;
    margin: 10px 0;
    border-top: 1px solid #007BFF;
    border-bottom: 1px solid #007BFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 500;
}

.categories::-webkit-scrollbar {
    height: 5px;
}

.categories::-webkit-scrollbar-thumb {
    background: #212121;
    border-radius: 10px;
}

.category {
    flex: 0 0 auto;
    text-align: center;
    margin: 0 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid #007BFF;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    width: 65px;
    height: 65px;
}




.category:hover {
    transform: scale(1.1) translateY(-3px);
}

.category img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(rgba(0, 123, 255, 0.4), rgba(245, 245, 245, 0.8)), 
                #4682B4;
    background-size: cover;
}

.category .status {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFC107;
    color: #212121;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    z-index: 600;
}

.category.trending .status {
    background-color: #007BFF;
    color: #F5F5F5;
}

.category.bose-hacker .status {
    background-color: #28A745;
    color: #F5F5F5;
}

.spacer {
    height: 40px;
}
.spacer2 {
    height: 50px;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    padding: 15px 12px;
    background-color: #F5F5F5;
}

.product {
    background-color: #F5F5F5;
    padding: 8px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    border-top: 1px solid #007BFF;
    border-bottom: 1px solid #007BFF;
}

.product:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}

.product .image-container {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 123, 255, 0.4), rgba(245, 245, 245, 0.8)), 
                #4682B4;
    background-size: cover;
    border-radius: 5px;
    margin-bottom: 6px;
    overflow: hidden;
}

.product .image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product h3 {
    font-size: 15.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin: 0 0 4px 0;
    color: #212121;
}

.product .price-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product .original-price {
    font-size: 14px;
    color: red;
    text-decoration: line-through;
    font-weight: 500;
}

.product .discounted-price {
    font-size: 13px;
    color: green;
    font-weight: 600;
}

.no-products {
    text-align: center;
    padding: 20px;
    color: #212121;
    font-size: 14px;
}

.action-buttons {
    padding: 15px 12px;
    text-align: center;
    background-color: #F5F5F5;
    border-top: 1px solid #007BFF;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1259;
}

.action-buttons button {
    padding: 10px 41px;
    font-size: 14px;
    background-color: #4e82fc;
    color: #ffffff;
    border:groove;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 5px;
}

.action-buttons button:hover {
    background-color: #ffcb00;
    color: black;
    border: ridge
}

.modal, .whats-new-modal, .feedback-modal, .checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #454545C7; /* Changed to solid white */
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content, .whats-new-modal-content, .feedback-modal-content, .checkout-modal-content {
    background-color: #FFFFFF;
    width: 90%;
    max-width: 400px; /* Added max-width for mobile */
    max-height: 80%;
    padding: 20px 17px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.modal-content .close, .whats-new-modal-content .close, .feedback-modal-content .close, .checkout-modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #212121;
    z-index: 2100;
    user-select: none;
}

.modal-content .close:hover, .whats-new-modal-content .close:hover, .feedback-modal-content .close:hover, .checkout-modal-content .close:hover {
    color: #FFC107;
}

.modal-content .product-images {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.modal-content .product-slides {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease;
}

.modal-content .product-slide {
    width: 25%;
    height: 100%;
}

.modal-content .product-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.modal-content .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #0B9B30;
    background: rgba(33, 33, 33, 0);
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
}

.modal-content .left-arrow {
    left: 10px;
}

.modal-content .right-arrow {
    right: 10px;
}

.modal-content .product-details h2 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
}

.modal-content .product-details .price-container {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0;
}

.modal-content .product-details .original-price {
    font-size: 14px;
    color: red;
    text-decoration: line-through;
}

.modal-content .product-details .discounted-price {
    font-size: 14px;
    color: green;
    font-weight: 600;
}

.modal-content .product-details p.description {
    font-size: 14px;
    margin: 8px 0;
    color: #212121;
}

.modal-content .actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.modal-content .actions button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart {
    background-color: #FFC107;
    color: #212121;
    flex: 1;
}

.add-to-cart:hover {
    background-color: #FFB300;
}

.buy-now {
    background-color: #FFC107;
    color: #212121;
    flex: 1;
}

.buy-now:hover {
    background-color: #FFB300;
}

.cart-slide {
    display: none;
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100%;
    background-color: #F5F5F5;
    border-left: 1.7px solid #212121;
    transition: right 0.3s ease;
    z-index: 1500;
}

.cart-slide.open {
    right: 0;
}

.cart-slide .cart-header {
    padding: 15px;
    border-bottom: 1px solid #007BFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F5F5F5;
}

.cart-slide .cart-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #212121;
}

.cart-slide .cart-header .close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #212121;
    z-index: 1600;
    user-select: none;
}

.cart-slide .cart-header .close-cart:hover {
    color: #FFC107;
}

.cart-slide .cart-items {
    height: calc(100% - 150px);
    overflow-y: auto;
    background-color: #F5F5F5;
}

.cart-slide .cart-items .cart-slides {
    display: flex;
    flex-direction: column;
}

.cart-slide .cart-items .cart-item {
    padding: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #007BFF;
}

.cart-slide .cart-items .cart-item .item-image {
    width: 60px;
    height: 80px;
    object-fit: contain;
    margin-right: 10px;
}

.cart-slide .cart-items .cart-item .item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cart-slide .cart-items .cart-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 5px;
}

.cart-slide .cart-items .cart-item .price-container {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.cart-slide .cart-items .cart-item .original-price {
    font-size: 12px;
    color: red;
    text-decoration: line-through;
}

.cart-slide .cart-items .cart-item .discounted-price {
    font-size: 12px;
    color: green;
    font-weight: 600;
}

.cart-slide .cart-items .cart-item .remove-item {
    font-size: 12px;
    color: #007BFF;
    cursor: pointer;
}

.cart-slide .cart-items .cart-item .remove-item:hover {
    color: #0056b3;
}

.cart-slide .cart-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    border-top: 1px solid #007BFF;
    background-color: #F5F5F5;
    text-align: center;
}

.cart-slide .cart-footer .cart-total {
    font-size: 14px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #007BFF;
    border-radius: 5px;
    background-color: #FFFFFF;
}

.cart-slide .cart-footer .buy-now {
    padding: 8px 15px;
    font-size: 12px;
    width: 100%;
    background-color: #FFC107;
    color: #212121;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cart-slide .cart-footer .buy-now:hover {
    background-color: #FFB300;
}

.whats-new-modal-content h2, .feedback-modal-content h2, .checkout-modal-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 15px;
}

.whats-new-modal-content .update {
    margin-bottom: 20px;
}

.whats-new-modal-content .update h3 {
    font-size: 16px;
    font-weight: 600;
    color: #007BFF;
    margin-bottom: 5px;
}

.whats-new-modal-content .update p {
    font-size: 14px;
    color: #212121;
    line-height: 1.5;
}

.feedback-modal-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feedback-modal-content form label {
    font-size: 14px;
    font-weight: 500;
    color: #212121;
}

.feedback-modal-content form input,
.feedback-modal-content form textarea {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #007BFF;
    border-radius: 5px;
    outline: none;
    background-color: #F5F5F5;
    color: #212121;
}

.feedback-modal-content form button {
    padding: 10px;
    background-color: #FFC107;
    color: #212121;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.feedback-modal-content form button:hover {
    background-color: #FFB300;
}

.checkout-modal-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-modal-content form label {
    font-size: 14px;
    font-weight: 500;
    color: #212121;
}

.checkout-modal-content form input, 
.checkout-modal-content form textarea {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #007BFF;
    border-radius: 5px;
    outline: none;
    background-color: #F5F5F5;
    color: #212121;
}

.checkout-modal-content form button {
    padding: 10px;
    background-color: #007BFF;
    color: #F5F5F5;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-modal-content form button:hover {
    background-color: #0056b3;
}

.payment-section {
    margin-top: 15px;
    padding: 15px;
    background-color: #F5F5F5;
    border-radius: 5px;
    display: none;
}

.payment-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #212121;
}

.payment-section label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    color: #212121;
}

.payment-section input[type="radio"] {
    margin-right: 10px;
}

.payment-section button {
    width: 100%;
    padding: 10px;
    background-color: #FFC107;
    color: #212121;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-section button:hover {
    background-color: #FFB300;
}

#helpButton {
    position: fixed;
    bottom: 27px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 8px rgba(100,100,100,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
    touch-action: none;
}

#helpButton img {
    width: 75%;
    height: 75%;
    pointer-events: none;
}

#helpButton:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.15); }
    60%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.bounce {
    animation: bounce 0.4s ease;
}

/* Mobile Optimizations */
@media (max-width: 600px) {
    .category:hover {
        transform: scale(1.05) translateY(-2px); /* Reduced scale for mobile */
    }

    .product:hover {
        transform: scale(1.02) translateY(-3px); /* Reduced scale for mobile */
    }

    .modal-content, .whats-new-modal-content, .feedback-modal-content, .checkout-modal-content {
        padding: 15px; /* Reduced padding for mobile */
        width: 90%;
        max-width: 400px;
    }

    .modal-content .product-details h2,
    .whats-new-modal-content h2,
    .feedback-modal-content h2,
    .checkout-modal-content h2 {
        font-size: 18px; /* Smaller headings on mobile */
    }

    .modal-content .product-details p.description,
    .whats-new-modal-content .update p,
    .feedback-modal-content form label,
    .checkout-modal-content form label {
        font-size: 12px; /* Smaller text on mobile */
    }

    .modal-content .product-images {
        height: 120px; /* Reduced height for mobile */
    }

    .cart-slide {
        width: 80%; /* Wider cart slide on mobile for better usability */
    }

    .cart-slide .cart-header h2 {
        font-size: 16px; /* Smaller header on mobile */
    }

    .cart-slide .cart-items .cart-item h3 {
        font-size: 12px; /* Smaller item title on mobile */
    }

    .cart-slide .cart-footer .cart-total {
        font-size: 12px; /* Smaller total text on mobile */
    }
    .ttttt{color: aqua}
    
}
