* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding: 6px;
}

.sound-bar {
    width: 3px;
    background: white;
    border-radius: 2px;
    animation: soundWave 1s ease-in-out infinite;
}

.sound-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.sound-bar:nth-child(2) { height: 20px; animation-delay: 0.2s; }
.sound-bar:nth-child(3) { height: 14px; animation-delay: 0.4s; }
.sound-bar:nth-child(4) { height: 18px; animation-delay: 0.6s; }
.sound-bar:nth-child(5) { height: 10px; animation-delay: 0.8s; }

@keyframes soundWave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.blue {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.black {
    color: #1f2937;
}

.logo-text p {
    font-size: 0.5rem;
    color: #1e40af;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #1e40af;
}

/* Breadcrumb */
.breadcrumb {
    background: #f9fafb;
    padding: 1rem 2rem;
}

.breadcrumb-content {
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb-content a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb-content a:hover {
    color: #1e40af;
}

/* Product Hero */
.product-hero {
    padding: 3rem 2rem;
    background: white;
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

 /* Image Gallery */
.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.thumbnail {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    aspect-ratio: 1;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #f97316;
    transform: translateY(-2px);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details */
.product-badges-inline {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge-new,
.badge-exclusive {
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.badge-new {
    background: #3b82f6;
}

.badge-exclusive {
    background: #1f2937;
}

.product-details h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.25rem;
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: #f59e0b;
    font-size: 1.25rem;
    letter-spacing: 3px;
}

.rating-count {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Price Box */
.price-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.current-price {
    font-size: 3rem;
    font-weight: 800;
    color: #1e40af;
}

.original-price {
    font-size: 1.25rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.discount-badge {
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Key Highlights */
.key-highlights {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.key-highlights h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.key-highlights ul {
    list-style: none;
}

.key-highlights li {
    padding: 0.5rem 0;
    color: #4b5563;
    line-height: 1.6;
}

/* Shipping Info */
.shipping-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.shipping-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shipping-item .icon {
    font-size: 1.5rem;
}

.shipping-item span:last-child {
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 600;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-buy-now {
    flex: 1;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-buy-now:hover {
    transform: translateY(-2px);
}

.btn-whatsapp {
    flex: 1;
    background: #22c55e;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
}

/* Guarantee Box */
.guarantee-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #92400e;
}

/* Content Sections */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Deity Section */
.about-deity {
    padding: 4rem 2rem;
    background: #f9fafb;
}

.about-deity h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #4b5563;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.fact-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 6rem;
}

.fact-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1.5rem;
    text-align: center;
}

.fact-list {
    list-style: none;
}

.fact-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

.fact-list li:last-child {
    border-bottom: none;
}

/* Mantra List Section */
.mantra-list-section {
    padding: 4rem 2rem;
    background: white;
}

.mantra-list-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.mantra-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mantra-card {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s;
}

.mantra-card:hover {
    transform: translateX(8px);
}

.mantra-card.featured {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #1e40af;
}

.mantra-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.mantra-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.mantra-subtitle {
    color: #1e40af;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.mantra-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.mantra-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #bfdbfe;
    color: #1e3a8a;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 2rem;
    background: #f9fafb;
}

.benefits-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
}

.disclaimer-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.disclaimer-box p {
    color: #92400e;
    line-height: 1.7;
}

/* How to Use */
.how-to-use {
    padding: 4rem 2rem;
    background: white;
}

.how-to-use h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

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

.step-card {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: #1e3a8a;
    line-height: 1.6;
}

/* Perfect For Section */
.perfect-for-section {
    padding: 4rem 2rem;
    background: #f9fafb;
}

.perfect-for-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

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

.perfect-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.perfect-card strong {
    display: block;
    color: #1e40af;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.perfect-card p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background: white;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #4b5563;
    line-height: 1.7;
}

/* Related Products */
.related-products {
    padding: 4rem 2rem;
    background: #f9fafb;
}

.related-products h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-8px);
}

/* FIXED: Proper image handling for related products */
.related-image {
    height: 290px;
    padding: 0.5rem;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.08);
}

/* Fallback gradient backgrounds (only if images don't load) */
.hanuman-bg {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.ganesh-bg {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.krishna-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.guruji-bg {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.related-card h4 {
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.related-price {
    padding: 0 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 1rem;
}

.btn-view {
    display: block;
    background: #1e40af;
    color: white;
    padding: 0.75rem;
    margin: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-view:hover {
    background: #1e3a8a;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.footer-section p {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
    color: white;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
    }

    .product-images {
        position: static;
    }

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

    .fact-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-details h1 {
        font-size: 2rem;
    }

    .price-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .main-nav {
        display: none;
    }

    .about-deity h2,
    .mantra-list-section h2,
    .benefits-section h2,
    .how-to-use h2,
    .perfect-for-section h2,
    .faq-section h2,
    .related-products h2 {
        font-size: 1.75rem;
    }
}