@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #0077be 0%, #00a8e8 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand h1 {
    color: white;
    font-size: 1.5rem;
}

.nav-links {
    display: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.8;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb a {
    color: #0077be;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: calc(100vh - 300px);
}

/* Wishlist Wrapper */
.wishlist-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.wishlist-items-section h1 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.wishlist-info {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Wishlist Items Grid */
.wishlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.5s ease;
}

.wishlist-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    border-color: #0077be;
}

.wishlist-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
    position: relative;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.05);
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #607d8b;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.stock-very-high {
    background: #00796b;
    color: white;
}

.stock-high {
    background: #2e7d32;
    color: white;
}

.stock-medium {
    background: #ef6c00;
    color: white;
}

.stock-low {
    background: #6a1b9a;
    color: white;
}

.stock-critical {
    background: #c62828;
    color: white;
}

.stock-out {
    background: #455a64;
    color: white;
}

.wishlist-item-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wishlist-item-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.wishlist-item-category {
    color: #0077be;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.wishlist-item-price {
    font-size: 1.2rem;
    color: #0077be;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.wishlist-item-rating {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.wishlist-item-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-add-to-cart {
    flex: 1;
    padding: 10px 12px;
    background: linear-gradient(135deg, #0077be, #00a8e8);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #0066a1, #0088c9);
    transform: translateY(-2px);
}

.btn-remove {
    width: 44px;
    height: 44px;
    padding: 0;
    background: #f5f5f5;
    color: #0077be;
    border: 2px solid #0077be;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: #0077be;
    color: white;
}

/* Empty Wishlist */
.empty-wishlist {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-wishlist i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-wishlist h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.empty-wishlist p {
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #0077be, #00a8e8);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 190, 0.3);
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #a8d8ff;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ddd;
}

.footer-section a {
    color: #a8d8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00a8e8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }

    .wishlist-wrapper {
        padding: 1.5rem;
    }

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

    .wishlist-item-image {
        height: 180px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .wishlist-wrapper {
        padding: 1rem;
    }

    .wishlist-items-section h1 {
        font-size: 1.4rem;
    }

    .wishlist-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wishlist-item-actions {
        flex-direction: column;
    }

    .btn-add-to-cart,
    .btn-remove {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Static UI mode */
html {
    scroll-behavior: auto;
}

*,
*::before,
*::after {
    animation: none !important;
    transition: none !important;
}
