/* spawned-winter.css - Cool Professional Theme */
:root {
    /* Primary Colors - Cool Winter Blues */
    --bs-primary: #1e40af;
    --bs-primary-dark: #1e3a8a;
    --bs-secondary: #64748b;
    --bs-success: #0f766e;
    --bs-warning: #ca8a04;
    --bs-danger: #dc2626;
    
    /* Neutral Colors - Cool Grays and Blues */
    --bs-gray-50: #f8fafc;
    --bs-gray-100: #f1f5f9;
    --bs-gray-200: #e2e8f0;
    --bs-gray-300: #cbd5e1;
    --bs-gray-400: #94a3b8;
    --bs-gray-500: #64748b;
    --bs-gray-600: #475569;
    --bs-gray-700: #334155;
    --bs-gray-800: #1e293b;
    --bs-gray-900: #0f172a;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing & Layout */
    --container-max-width: 1320px;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--bs-gray-700);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-gray-900);
}

/* Header Styles */
.header-top {
    background: linear-gradient(135deg, var(--bs-gray-900) 0%, var(--bs-gray-800) 100%);
    color: white;
    font-size: 0.875rem;
}

.navbar-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--bs-gray-900) !important;
}

.navbar {
    padding: 1.4rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.nav-link {
    font-weight: 500;
    color: var(--bs-gray-700) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bs-primary) !important;
    background-color: rgba(30, 64, 175, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill="none"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--bs-primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--bs-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--bs-primary);
    border-color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow-off: var(--shadow-xl);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Product Cards */
.product-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bs-success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--bs-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--bs-primary);
    color: white;
    transform: scale(1.1);
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--bs-gray-600);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Stats Section */
.stats-section {
    background: var(--bs-gray-50);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bs-primary);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--bs-gray-600);
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bs-gray-900) 0%, var(--bs-gray-800) 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Shopping Cart */
.cart-button {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--bs-danger);
    color: white;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mini Cart Styles */
.mini-cart {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    padding: 1.5rem;
    display: none;
}

.mini-cart.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Additional styles for Wishlist and Quick View functionality */
/* Add these styles to your existing CSS files (spawned-summer.css, spawned-spring.css, spawned-autumn.css) */

/* Wishlist Button and Badge */
.wishlist-button {
    position: relative;
}

.wishlist-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--bs-danger);
    color: white;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    display: none;
}

/* Mini Wishlist Styles */
.mini-wishlist {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    padding: 1.5rem;
    display: none;
}

.mini-wishlist.show {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Product Action Button Enhancements */
.product-action-btn:hover {
    background: var(--bs-primary);
    color: white;
    transform: scale(1.1);
}

.product-action-btn.wishlist-active {
    background: var(--bs-danger);
    color: white;
}

/* Quick View Modal Enhancements */
.modal-lg {
    max-width: 800px;
}

#quickViewModal .modal-body img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

#quickViewModal .modal-body {
    padding: 2rem;
}

/* Wishlist Heart Animation */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.product-action-btn.adding-to-wishlist {
    animation: heartBeat 0.6s ease-in-out;
}

/* Toast Notification Enhancements */
.toast-notification .alert {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .mini-cart,
    .mini-wishlist {
        width: 300px;
        right: -20px;
    }
    
    #quickViewModal .modal-dialog {
        margin: 1rem;
    }
    
    #quickViewModal .modal-body {
        padding: 1rem;
    }
    
    #quickViewModal .row {
        flex-direction: column;
    }
    
    #quickViewModal .col-md-6:first-child {
        margin-bottom: 1rem;
    }
}