﻿/* Hero Header */
.page-header-sunshine {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d2a5c 50%, #4a3f8f 100%);
    position: relative;
    overflow: hidden;
}

    .page-header-sunshine::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(240, 147, 251, 0.15), transparent 70%);
        border-radius: 50%;
        animation: floatOrb 8s ease-in-out infinite;
    }

    .page-header-sunshine::after {
        content: '';
        position: absolute;
        bottom: -50%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.15), transparent 70%);
        border-radius: 50%;
        animation: floatOrb 10s ease-in-out infinite reverse;
    }

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.text-gold {
    color: #ffd93d !important;
}

.text-gold-light {
    color: #ffe98a !important;
}

/* Section Tag */
.section-tag-sunshine {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(240, 147, 251, 0.15));
    color: #764ba2;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.golden-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    margin-top: 1.5rem;
}

/* Category Pills */
.category-pills-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

    .category-pill i {
        color: #667eea;
        transition: all 0.3s ease;
    }

    .category-pill:hover {
        border-color: #667eea;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
        color: #667eea;
    }

        .category-pill:hover i {
            transform: scale(1.15);
        }

    .category-pill.active {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #ffffff;
        border-color: transparent;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
        transform: translateY(-2px);
    }

        .category-pill.active i {
            color: #ffffff;
        }

/* Product Card */
.product-card-sunshine {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f5;
    position: relative;
}

    .product-card-sunshine:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
        border-color: rgba(102, 126, 234, 0.3);
    }

.product-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fc, #eef1f8);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-sunshine:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

    .product-badge.premium {
        background: linear-gradient(135deg, #ffd93d, #f0a500);
        color: #1a1a3e;
        box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
    }

    .product-badge.out-of-stock {
        background: #dc3545;
        color: #fff;
        top: auto;
        bottom: 15px;
        left: 15px;
    }

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a3e;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e9ecef;
}

    .product-specs span {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        padding: 4px 10px;
        background: #f8f9fc;
        border-radius: 6px;
        font-size: 0.75rem;
        color: #495057;
        font-weight: 500;
    }

    .product-specs i {
        color: #667eea;
        font-size: 0.7rem;
    }

.product-stock-info {
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.in-stock {
    color: #28a745;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.out-of-stock-text {
    color: #dc3545;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-add-cart {
    flex: 1;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .btn-add-cart:hover:not(.disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

    .btn-add-cart.disabled {
        background: #e9ecef;
        color: #6c757d;
        cursor: not-allowed;
    }

.btn-quick-view {
    width: 45px;
    height: 45px;
    background: #f8f9fc;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-quick-view:hover {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #fff;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

/* Modal */
.premium-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

    .premium-modal .modal-header {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #fff;
        border: none;
        padding: 1.25rem 1.5rem;
    }

    .premium-modal .modal-title {
        font-weight: 700;
        font-size: 1.2rem;
    }

    .premium-modal .btn-close {
        filter: brightness(0) invert(1);
        opacity: 0.8;
    }

    .premium-modal .modal-body {
        padding: 1.75rem;
    }

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

    .feature-list li {
        padding: 0.4rem 0;
        color: #495057;
        font-size: 0.9rem;
        display: flex;
        align-items: flex-start;
    }

    .feature-list i {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

.specifications-modal ul li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #495057;
    border-bottom: 1px dashed #f0f0f5;
}

    .specifications-modal ul li:last-child {
        border-bottom: none;
    }

.text-gold {
    color: #764ba2 !important;
    font-weight: 800;
}

.bg-gold-light {
    background: #f8f9fc;
    color: #1a1a3e;
    border-color: #e9ecef;
}

.premium-modal .modal-footer {
    border: none;
    padding: 1rem 1.75rem 1.5rem;
    background: #fafbff;
}

.btn-add-cart-modal {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-add-cart-modal:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #667eea;
}

.empty-state h3 {
    color: #1a1a3e;
    margin-bottom: 0.75rem;
}

.btn-gold {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .btn-gold:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

/* Responsive */
@media (max-width: 991.98px) {
    .category-pill {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
    }

        .category-pill i {
            font-size: 0.85rem;
        }

    .product-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .category-pills-top {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .category-pills-top::-webkit-scrollbar {
            display: none;
        }

    .category-pill {
        flex-shrink: 0;
    }

    .product-price {
        font-size: 1.35rem;
    }

    .btn-quick-view {
        width: 40px;
        height: 40px;
    }
}
