/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #fff;
    line-height: 1.6;
}

/* Header styles */
header {
    background-color: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    padding: 5px;
    color: #fff;
    font-size: 1.5rem;
}

h1 a {
    color: #fff;
    text-decoration: none;
}

.search-container {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #333;
    border-radius: 20px;
    padding: 8px 15px;
}

.search-box svg {
    margin-right: 10px;
}

.search-box input {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
}

.search-box input::placeholder {
    color: #888;
}

.auth-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sell-button,
.login-button {
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sell-button {
    background-color: #ff6b00;
    color: #fff;
}

.sell-button:hover {
    background-color: #e05e00;
}

.login-button {
    background-color: #333;
    color: #fff;
}

.login-button:hover {
    background-color: #444;
}

/* Wishlist Section */
.wishlist {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.wishlist h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wishlist-item {
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s;
}

.wishlist-item:hover {
    transform: translateY(-5px);
}

.wishlist-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.wishlist-info {
    padding: 15px;
}

.wishlist-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.wishlist-info p {
    font-size: 1rem;
    color: #ff6b00;
    font-weight: bold;
    margin-bottom: 10px;
}

.add-to-cart-button {
    background-color: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.view-cart-button {
    position: fixed;
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        background-color: #ff6600;
        color: white;
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        border-radius: 5px;
        border: none;
        cursor: pointer;
        z-index: 1000; /* Ensures it's above other elements */
        transition: background-color 0.3s ease;
    .view-cart-button {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        background-color: #ff6600;
        color: white;
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        border-radius: 5px;
        border: none;
        cursor: pointer;
        z-index: 1000; /* Ensures it's above other elements */
        transition: background-color 0.3s ease;
    }
}    
.view-cart-button:hover {
    background-color: #e65c00;
}




/* .add-all-to-cart-button {
    background-color: #ff6b00;
    color: #fff;
    margin-left: 79%;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add-all-to-cart-button:hover {
    background-color: #e05e00;
} */


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

.remove-button {
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.remove-button:hover {
    background-color: #cc3d3d;
}

/* Responsive styles */
@media (max-width: 768px) {
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .wishlist h2 {
        font-size: 1.5rem;
    }

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