/* Explore Page Styles - Clean Modern Design */

:root {
    --primary: #1a1a1a;
    --secondary: #4a4a4a;
    --accent: #d4af37;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --border: #e5e5e5;
    --text-dark: #2c2c2c;
    --text-light: #6b6b6b;
    --success: #4caf50;
    --sale-red: #e74c3c;
    --shadow-light: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Hero Section */
.explore-hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--border);
}

.explore-hero::before,
.hero-overlay {
    display: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Products Section */
.products-section {
    padding: 4rem 0 5rem;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

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

/* Product Image */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--light-bg);
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-main-image {
    transform: scale(1.08);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge.best-seller {
    background: var(--accent);
    color: var(--primary);
}

.badge.sale {
    background: var(--sale-red);
    color: var(--white);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    background: var(--white);
    color: var(--primary);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.overlay-btn:hover {
    transform: scale(1.15);
    background: var(--primary);
    color: var(--white);
}

/* Product Info */
.product-info {
    padding: 1.8rem;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.6rem;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* Product Features */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.3rem;
    padding-bottom: 1.3rem;
    border-bottom: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--secondary);
}

.feature-item i {
    color: var(--success);
    font-size: 0.85rem;
}

/* Product Bottom */
.product-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-size: 1.15rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
}

.discount-percent {
    background: var(--sale-red);
    color: var(--white);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 0.8rem;
}

.btn {
    padding: 0.95rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-view {
    flex: 1;
    background: var(--primary);
    color: var(--white);
}

.btn-view:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-cart {
    width: 50px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-cart:hover {
    background: var(--primary);
    color: var(--white);
}

/* Loading State */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    gap: 1.5rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* No Products State */
.no-products-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    text-align: center;
}

.no-products-icon {
    width: 100px;
    height: 100px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.no-products-icon i {
    font-size: 2.5rem;
    color: var(--text-light);
}

.no-products-container h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.no-products-container p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Trust Section */
.trust-section {
    background: var(--primary);
    padding: 4rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.trust-item {
    text-align: center;
    color: var(--white);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.trust-icon i {
    font-size: 2rem;
    color: var(--white);
}

.trust-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .explore-hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .product-card {
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-title {
        font-size: 1.25rem;
    }

    .current-price {
        font-size: 1.6rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }
}
