/* ===========================
   GLOBAL STYLES & RESET
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Heavenly Theme */
    --primary-color: #C9A66B; /* Heavenly Gold */
    --secondary-color: #8B6F47; /* Dark Gold */
    --accent-color: #F4E4C1; /* Cream */
    --text-primary: #2C2C2C;
    --text-secondary: #666666;
    --bg-light: #FAFAFA;
    --white: #FFFFFF;
    --border-color: #E5E5E5;
    --success-color: #28A745;
    --discount-color: #FF6B6B;
    
    /* Typography */
    --font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 60px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===========================
   STICKY HEADER
=========================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* Top Info Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
}

.top-bar marquee {
    font-weight: 500;
}

/* Main Header */
.main-header {
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.logo span {
    display: block;
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: -5px;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 600px;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--font-family);
    transition: var(--transition);
    outline: none;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.1);
}

.search-bar input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

.search-icon {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-icon {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.header-icon:hover {
    transform: translateY(-2px);
}

.icon-wrapper {
    position: relative;
}

.icon {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    stroke-width: 2;
    fill: none;
}

.header-icon:hover .icon {
    stroke: var(--primary-color);
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--discount-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.icon-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===========================
   CATEGORY NAVIGATION
=========================== */
.category-nav {
    background: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--white));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 3px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    font-size: 32px;
}

.category-item:hover .category-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 6px 20px rgba(201, 166, 107, 0.3);
    transform: scale(1.05);
}

.category-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 100px;
}

/* ===========================
   HERO SLIDER
=========================== */
.hero-section {
    padding: 30px 0;
}

.hero-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    animation: fadeIn 0.5s ease-in;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 600px;
    color: var(--text-primary);
    z-index: 2;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201, 166, 107, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(201, 166, 107, 0.4);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ===========================
   GIFT FINDER WIDGET
=========================== */
.gift-finder {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--accent-color), var(--bg-light));
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.finder-widget {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.finder-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.1);
}

.finder-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.finder-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 166, 107, 0.3);
}

/* ===========================
   PRODUCT GRID
=========================== */
.products-section {
    padding: var(--section-padding);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: var(--bg-light);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
}

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

.badge-delivery {
    background: var(--success-color);
    color: white;
}

.badge-bestseller {
    background: var(--primary-color);
    color: white;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    transform: scale(1.1);
    background: var(--primary-color);
}

.wishlist-btn:hover .heart-icon {
    stroke: white;
    fill: white;
}

.heart-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    stroke-width: 2;
    fill: none;
    transition: var(--transition);
}

/* Quick View Overlay */
.quick-view {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.product-card:hover .quick-view {
    bottom: 0;
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.stars {
    color: #FFC107;
    font-size: 14px;
}

.rating-count {
    font-size: 12px;
    color: var(--text-secondary);
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.original-price {
    font-size: 16px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 166, 107, 0.3);
}

/* ===========================
   TRENDING NOW SECTION
=========================== */
.trending-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.trending-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.trending-scroll::-webkit-scrollbar {
    display: none;
}

.trending-card {
    flex-shrink: 0;
    width: 280px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: rotate(-2deg);
    transition: var(--transition);
    border: 8px solid white;
    border-bottom-width: 40px;
}

.trending-card:nth-child(even) {
    transform: rotate(2deg);
}

.trending-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.trending-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.trending-name {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: linear-gradient(135deg, #2C2C2C, #1A1A1A);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-family);
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    transform: scale(1.05);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.payment-icon {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 1024px) {
    .hero-content {
        left: 40px;
    }

    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    /* Header */
    .header-content {
        flex-wrap: wrap;
    }

    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
    }

    .logo h1 {
        font-size: 22px;
    }

    .header-icons {
        gap: 15px;
    }

    .icon-label {
        display: none;
    }

    /* Category Navigation */
    .category-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .category-name {
        font-size: 12px;
    }

    /* Hero */
    .hero-slide {
        min-height: 350px;
    }

    .hero-content {
        left: 30px;
        right: 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-name {
        font-size: 14px;
    }

    .current-price {
        font-size: 18px;
    }

    /* Section Titles */
    .section-title {
        font-size: 28px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

    .hero-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .finder-widget {
        padding: 25px;
    }

    .finder-form {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
/* ===========================
    SHOP PAGE SPECIFIC STYLES
=========================== */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb .separator {
    margin: 0 10px;
}

.shop-header {
    padding: 40px 0 20px;
    text-align: center;
}

.shop-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.filter-section {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 130px; /* Header + Nav ke niche stick hoga */
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
}

.filter-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: var(--font-family);
}

.no-products {
    text-align: center;
    padding: 100px 0;
}

.no-products-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

/* Category Link Style */
.category-item-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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