* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    min-height: 100vh;
    color: #2c1810;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Golden Sacred Background Elements */
.golden-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.golden-mandala {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    background: 
        radial-gradient(circle, rgba(255,215,0,0.3) 1px, transparent 2px) center/60px 60px,
        radial-gradient(circle, rgba(255,165,0,0.2) 1px, transparent 2px) center/120px 120px,
        conic-gradient(from 0deg, transparent, rgba(255,215,0,0.1), transparent, rgba(255,215,0,0.1), transparent);
    animation: mandalaRotate 80s linear infinite;
    border-radius: 50%;
}

@keyframes mandalaRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.golden-light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(255,215,0,0.2) 0%, transparent 70%),
        linear-gradient(45deg, rgba(255,215,0,0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255,215,0,0.1) 0%, transparent 50%),
        repeating-linear-gradient(90deg, rgba(255,215,0,0.05) 0px, rgba(255,215,0,0.05) 2px, transparent 3px, transparent 6px);
    animation: goldenLightMove 20s ease-in-out infinite;
}

@keyframes goldenLightMove {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(30px); }
}

.floating-golden-petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.golden-petal {
    position: absolute;
    font-size: 28px;
    opacity: 0.8;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: goldenFloatUp 25s linear infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes goldenFloatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.golden-dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,215,0,0.6), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,215,0,0.6), transparent),
        radial-gradient(2px 2px at 60px 100px, rgba(255,215,0,0.6), transparent),
        radial-gradient(2px 2px at 80px 140px, rgba(255,215,0,0.6), transparent),
        radial-gradient(2px 2px at 100px 180px, rgba(255,215,0,0.6), transparent);
    background-repeat: repeat;
    animation: dustTwinkle 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes dustTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Main Content */
.brand-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(44, 24, 16, 0.2);
}

.brand-logo {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.brand-subtitle {
    color: rgba(44, 24, 16, 0.8);
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Back to Home Button */
.back-to-home-container {
    text-align: left;
    margin-bottom: 30px;
}

.back-to-home-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.back-to-home-button:hover {
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(118, 75, 162, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Store Hero Section */
.store-hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,240,0.95));
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border: 3px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

.hero-decoration {
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 2;
}

.golden-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0.8) 0%, rgba(255,165,0,0.6) 50%, rgba(255,215,0,0.3) 100%);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.sacred-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 48px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    transform: translate(-50%, -50%);
    animation: symbolRotate 10s linear infinite;
}

@keyframes symbolRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,240,0.95));
    color: #2c1810;
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 16px;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, rgba(255,248,240,0.98), rgba(255,255,255,0.98));
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.3);
}

/* Store Grid */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,248,240,0.98));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.product-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* FIXED: Product Image Section - Prevents cropping */
.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 320px; /* FIXED: Increased height for better image visibility */
    object-fit: contain; /* FIXED: Changed from cover to contain - shows full image */
    background: linear-gradient(135deg, rgba(255,248,240,0.9), rgba(255,255,255,0.9));
    transition: transform 0.3s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.02); /* FIXED: Reduced scale to prevent overflow */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.05), rgba(44, 24, 16, 0.2)); /* FIXED: Reduced opacity */
    opacity: 0.6; /* FIXED: Reduced opacity for better visibility */
    transition: opacity 0.3s ease;
}

.product-card:hover .image-overlay {
    opacity: 0.7; /* FIXED: Reduced hover opacity */
}

/* FIXED: Product Category and Price Positioning */
.product-category {
    position: absolute;
    top: 15px; /* FIXED: Adjusted position */
    left: 15px; /* FIXED: Adjusted position */
    background: rgba(44, 24, 16, 0.85); /* FIXED: Slightly reduced opacity */
    color: #ffd700;
    padding: 8px 14px; /* FIXED: Reduced padding */
    border-radius: 18px; /* FIXED: Reduced border radius */
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px); /* FIXED: Added blur effect */
}

.product-price {
    position: absolute;
    top: 15px; /* FIXED: Adjusted position */
    right: 15px; /* FIXED: Adjusted position */
    background: rgba(255, 255, 255, 0.95); /* FIXED: Increased opacity */
    color: #2c1810;
    padding: 8px 14px; /* FIXED: Reduced padding */
    border-radius: 18px; /* FIXED: Reduced border radius */
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255, 215, 0, 0.35); /* FIXED: Slightly increased border opacity */
}

/* FIXED: Product Content - Better text visibility */
.product-content {
    padding: 28px; /* FIXED: Increased padding */
}

.product-title {
    font-size: 26px; /* FIXED: Slightly increased font size */
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    transition: color 0.3s ease;
    word-wrap: break-word; /* FIXED: Prevents long words from breaking layout */
}

.product-card:hover .product-title {
    color: #667eea;
}

/* FIXED: Product Description - Better readability */
.product-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7; /* FIXED: Increased line height for better readability */
    text-align: justify; /* FIXED: Justified text for better appearance */
    hyphens: auto; /* FIXED: Better word wrapping */
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* FIXED: Increased gap between features */
    margin-bottom: 24px; /* FIXED: Increased margin */
}

.feature {
    background: linear-gradient(135deg, rgba(255,248,240,0.85), rgba(255,255,255,0.85)); /* FIXED: Slightly increased opacity */
    border-radius: 14px; /* FIXED: Increased border radius */
    padding: 10px 14px; /* FIXED: Increased padding */
    font-size: 12px;
    color: #2c1810;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.35); /* FIXED: Slightly increased border opacity */
    box-shadow: 0 3px 12px rgba(0,0,0,0.12); /* FIXED: Slightly increased shadow */
    transition: all 0.3s ease; /* FIXED: Added transition */
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.product-actions {
    display: flex;
    gap: 18px; /* FIXED: Increased gap between buttons */
    flex-wrap: wrap;
}

.buy-button {
    flex: 1;
    min-width: 220px; /* FIXED: Increased minimum width */
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 14px 28px; /* FIXED: Increased padding */
    border-radius: 28px; /* FIXED: Increased border radius */
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 30px rgba(118, 75, 162, 0.35); /* FIXED: Increased shadow */
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.35); /* FIXED: Slightly increased border opacity */
    display: inline-block;
    font-size: 16px; /* FIXED: Slightly increased font size */
}

.buy-button:hover {
    transform: translateY(-4px); /* FIXED: Increased hover effect */
    box-shadow: 0 14px 40px rgba(118, 75, 162, 0.45); /* FIXED: Increased shadow on hover */
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.quick-view-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(255,248,240,0.97)); /* FIXED: Increased opacity */
    color: #2c1810;
    border: 2px solid rgba(255, 215, 0, 0.35); /* FIXED: Slightly increased border opacity */
    padding: 14px 24px; /* FIXED: Increased padding */
    border-radius: 28px; /* FIXED: Increased border radius */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 18px rgba(0,0,0,0.12); /* FIXED: Increased shadow */
    font-size: 16px; /* FIXED: Slightly increased font size */
}

.quick-view-btn:hover {
    transform: translateY(-3px); /* FIXED: Increased hover effect */
    box-shadow: 0 8px 25px rgba(0,0,0,0.18); /* FIXED: Increased shadow on hover */
    background: linear-gradient(135deg, rgba(255,248,240,0.99), rgba(255,255,255,0.99));
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,240,0.95));
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border: 3px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 40px;
    text-align: center;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.newsletter-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px; /* FIXED: Increased gap */
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 22px; /* FIXED: Increased padding */
    border-radius: 14px; /* FIXED: Increased border radius */
    border: 2px solid rgba(255, 215, 0, 0.35); /* FIXED: Slightly increased border opacity */
    font-size: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,248,240,0.92)); /* FIXED: Slightly increased opacity */
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.25); /* FIXED: Increased shadow */
    transform: translateY(-3px); /* FIXED: Increased transform */
}

.subscribe-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px 45px; /* FIXED: Increased padding */
    font-size: 16px;
    font-weight: 700;
    border-radius: 55px; /* FIXED: Increased border radius */
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(118, 75, 162, 0.35); /* FIXED: Increased shadow */
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.subscribe-button:hover {
    transform: translateY(-4px); /* FIXED: Increased hover effect */
    box-shadow: 0 18px 45px rgba(118, 75, 162, 0.45); /* FIXED: Increased shadow on hover */
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.form-note {
    font-size: 12px;
    color: #666;
    margin-top: 12px; /* FIXED: Increased margin */
    font-style: italic;
}

/* Store Footer */
.store-footer {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,240,0.95));
    border-radius: 24px;
    padding: 45px; /* FIXED: Increased padding */
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border: 3px solid rgba(255, 215, 0, 0.3);
    text-align: center;
}

.footer-text {
    font-size: 18px;
    color: #555;
    font-style: italic;
    margin-bottom: 35px; /* FIXED: Increased margin */
    line-height: 1.7; /* FIXED: Increased line height */
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 18px; /* FIXED: Increased gap */
    flex-wrap: wrap;
}

.back-home-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    text-decoration: none;
    padding: 16px 40px; /* FIXED: Increased padding */
    font-size: 16px;
    font-weight: 700;
    border-radius: 55px; /* FIXED: Increased border radius */
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.35); /* FIXED: Increased shadow */
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.35); /* FIXED: Slightly increased border opacity */
}

.back-home-button:hover {
    transform: translateY(-3px); /* FIXED: Increased hover effect */
    box-shadow: 0 18px 45px rgba(76, 175, 80, 0.45); /* FIXED: Increased shadow on hover */
    background: linear-gradient(135deg, #45a049, #4CAF50);
}

.scroll-top-button {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #8B4513;
    border: none;
    padding: 16px 40px; /* FIXED: Increased padding */
    font-size: 16px;
    font-weight: 700;
    border-radius: 55px; /* FIXED: Increased border radius */
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(255, 165, 0, 0.35); /* FIXED: Increased shadow */
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.35); /* FIXED: Slightly increased border opacity */
}

.scroll-top-button:hover {
    transform: translateY(-3px); /* FIXED: Increased hover effect */
    box-shadow: 0 18px 45px rgba(255, 165, 0, 0.45); /* FIXED: Increased shadow on hover */
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* FIXED: Responsive Design - Better mobile experience */
@media (max-width: 768px) {
    .brand-logo {
        font-size: 28px;
    }
    
    .store-hero {
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-decoration {
        width: 150px;
        height: 150px;
        margin-top: 20px;
    }
    
    .store-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image img {
        height: 280px; /* FIXED: Adjusted height for mobile */
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .newsletter-section, .store-footer {
        padding: 35px 20px; /* FIXED: Adjusted padding for mobile */
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .footer-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* FIXED: Mobile-specific adjustments */
    .product-content {
        padding: 24px; /* FIXED: Reduced padding on mobile */
    }
    
    .product-title {
        font-size: 22px; /* FIXED: Smaller font on mobile */
    }
    
    .product-description {
        font-size: 15px; /* FIXED: Smaller font on mobile */
    }
    
    .buy-button, .quick-view-btn {
        min-width: 100%; /* FIXED: Full width buttons on mobile */
    }
}

/* Animation for filtering products */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:not(.hidden) {
    animation: fadeIn 0.5s ease;
}

/* FIXED: Additional improvements for image and text display */
@media (min-width: 1200px) {
    .store-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* FIXED: Wider cards on large screens */
    }
    
    .product-image img {
        height: 340px; /* FIXED: Taller images on large screens */
    }
}

/* FIXED: Better handling of long product titles */
.product-title {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* FIXED: Ensure images load properly */
.product-image img {
    object-position: center;
    background-size: cover;
    background-position: center;
}

/* FIXED: Improve text contrast and readability */
.product-description {
    color: #444; /* FIXED: Darker text for better contrast */
}

.feature {
    color: #333; /* FIXED: Darker text for features */
}