/*
Theme Name: RBP React
Theme URI: https://radiantbliss.com
Author: Radiant Bliss Pharma
Author URI: https://radiantbliss.com
Description: Hybrid WordPress-React theme with Framer Motion scrolltelling. Modern, immersive landing page for Radiant Bliss Pharma.
Version: 1.0.0
License: Proprietary
Text Domain: rbp-react
Tags: react, framer-motion, scrolltelling, pharmaceutical, modern

This theme uses React for the frontend with WordPress handling routing and SEO.
*/

/* ==================== BASE RESET ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    background: #ffffff;
    overflow-x: hidden;
}

/* Ensure common text elements inherit or explicitly use this size */
p,
li,
ul,
ol {
    font-size: 16px;
    line-height: 1.6;
}

/* ==================== HOMEPAGE BODY TEXT OVERRIDES ==================== */
/* Target React app paragraphs specifically for the homepage */
/* Exclude carousel cards which need white text on dark overlay */
#root p:not(.carousel-card__desc),
#root .about-text,
#root .strategy-text,
#root .innovation-card p,
#root .tab-content p,
#root .hero-description,
#root section p:not(.carousel-card__desc) {
    font-size: 16px !important;
    font-weight: 200 !important;
    line-height: 1.6 !important;
    color: #000000;
}

/* ==================== WORDPRESS ADMIN BAR FIX ==================== */
body.admin-bar #react-home-root {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar #react-home-root {
        margin-top: 46px;
    }
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== UTILITY CLASSES ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Minimal Product Page CSS - Updated Design ===== */

.product-page-minimal {
        font-family: 'Inter', sans-serif;
        background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 50%);
        color: #1a1a1a;
        min-height: 100vh;
    }

    /* Layout Utility - Matches header width exactly */
    .product-page-minimal .container {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 40px;
    }

    @media (max-width: 768px) {
        .product-page-minimal .container {
            padding: 0 20px;
        }
    }

    /* Hero */
    .product-page-minimal .product-hero {
        padding: 80px 0 60px;
    }

    .product-page-minimal .product-hero__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    /* Gallery Card */
    .product-page-minimal .product-gallery__card {
        background: transparent;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    .product-page-minimal .product-gallery__main {
        text-align: center;
        margin-bottom: 20px;
    }

    .product-page-minimal .product-gallery__image {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: contain;
    }

    .product-page-minimal .product-gallery__thumbnails {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    .product-page-minimal .product-gallery__thumb {
        width: 60px;
        height: 60px;
        border: 2px solid transparent;
        border-radius: 12px;
        background: #f5f5f5;
        padding: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .product-page-minimal .product-gallery__thumb.active {
        border-color: #005594;
        background: #ffffff;
    }

    .product-page-minimal .product-gallery__thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Product Info */
    .product-page-minimal .product-info {
        padding-top: 10px;
    }

    .product-page-minimal .product-info__category {
        display: block;
        font-size: 0.875rem;
        color: #666;
        margin-bottom: 12px;
    }

    .product-page-minimal .product-info__category a {
        color: #005594;
        text-decoration: none;
        font-weight: 500;
    }

    .product-page-minimal .product-info__title {
        font-size: 2.25rem;
        font-weight: 600;
        line-height: 1.2;
        color: #005594;
        margin-bottom: 16px;
    }

    .product-page-minimal .product-info__price {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 20px;
    }

    .product-page-minimal .product-info__description {
        font-size: 1rem;
        line-height: 1.6;
        color: #4a4a4a;
        margin-bottom: 24px;
    }

    /* Feature Bullets with Color Labels */
    .product-page-minimal .product-info__bullets {
        list-style: none;
        margin: 0 0 24px 0;
        padding: 0;
    }

    .product-page-minimal .product-info__bullets li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .product-page-minimal .product-info__bullets li::before {
        content: '✓';
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e8f4fd;
        color: #005594;
        border-radius: 50%;
        font-size: 0.7rem;
        font-weight: 700;
        margin-top: 2px;
    }

    .product-page-minimal .bullet-label {
        font-weight: 600;
    }

    .product-page-minimal .bullet-label--teal {
        color: #00a5a5;
    }

    .product-page-minimal .bullet-label--blue {
        color: #0066cc;
    }

    .product-page-minimal .bullet-label--green {
        color: #2e8b57;
    }

    .product-page-minimal .bullet-text {
        color: #4a4a4a;
    }

    /* Discover More Link */
    .product-page-minimal .product-info__more-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #005594;
        font-size: 0.9375rem;
        font-weight: 500;
        text-decoration: none;
        margin-bottom: 24px;
        transition: color 0.2s;
    }

    .product-page-minimal .product-info__more-link:hover {
        color: #003d6e;
    }

    .product-page-minimal .more-link-icon {
        font-size: 1rem;
    }

    /* Icon Tags */
    .product-page-minimal .product-info__icon-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 28px;
    }

    .product-page-minimal .icon-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.8125rem;
        padding: 8px 14px;
        background: #ffffff;
        border: 1px solid #d0dbe5;
        border-radius: 99px;
        color: #005594;
        font-weight: 500;
    }

    .product-page-minimal .icon-tag svg {
        stroke: #005594;
    }

    /* Actions / Add to Cart */
    .product-page-minimal .product-info__actions {
        margin-top: 8px;
    }

    .product-page-minimal .quantity-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* WooCommerce Quantity Overrides */
    .product-page-minimal .quantity {
        display: flex;
        align-items: center;
        border: 1px solid #d0dbe5;
        border-radius: 8px;
        overflow: hidden;
    }

    .product-page-minimal .quantity input {
        width: 50px;
        text-align: center;
        border: none;
        font-size: 1rem;
        font-weight: 500;
        padding: 12px 0;
        -moz-appearance: textfield;
    }

    .product-page-minimal .quantity input::-webkit-outer-spin-button,
    .product-page-minimal .quantity input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .product-page-minimal .add-to-cart-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 40px;
        background: #005594;
        color: #ffffff;
        border: none;
        border-radius: 8px;
        font-size: 0.9375rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        cursor: pointer;
        transition: all 0.2s ease;
        text-transform: uppercase;
    }

    .product-page-minimal .add-to-cart-btn:hover {
        background: #004480;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0, 85, 148, 0.25);
    }

    .product-page-minimal .add-to-cart-btn svg {
        stroke: #ffffff;
    }

    /* Product Benefits Section */
    .product-page-minimal .product-benefits {
        padding: 80px 0;
        background: #ffffff;
    }

    .product-page-minimal .product-benefits__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .product-page-minimal .benefit-card {
        background: transparent;
        border-radius: 0;
        padding: 40px 32px;
        text-align: center;
        transition: none;
    }

    .product-page-minimal .benefit-card:hover {
        transform: none;
        box-shadow: none;
    }

    .product-page-minimal .benefit-card__icon {
        display: block;
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .product-page-minimal .benefit-card__title {
        font-size: 1.25rem;
        font-weight: 500;
        color: #000000;
        margin-bottom: 12px;
    }

    .product-page-minimal .benefit-card__description {
        font-size: 1rem;
        line-height: 1.6;
        color: #4a4a4a;
    }

    /* Product Tabs Section */
    .product-page-minimal .product-tabs {
        padding: 80px 0 120px;
        background: #ffffff;
    }

    .product-page-minimal .product-tabs__nav {
        display: flex;
        gap: 8px;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 40px;
    }

    .product-page-minimal .product-tabs__button {
        background: none;
        border: none;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 400;
        padding: 16px 24px;
        color: #666;
        cursor: pointer;
        border-bottom: 2px solid transparent;
        transition: color 0.2s ease;
    }

    .product-page-minimal .product-tabs__button:hover {
        color: #005594;
    }

    .product-page-minimal .product-tabs__button.active {
        color: #005594;
        font-weight: 500;
        border-bottom-color: #005594;
    }

    .product-page-minimal .product-tabs__content {
        max-width: 800px;
    }

    .product-page-minimal .product-tabs__panel p {
        font-size: 1.125rem;
        line-height: 1.8;
        color: #4a4a4a;
        margin-bottom: 16px;
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .product-page-minimal .product-hero__grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .product-page-minimal .product-benefits__grid {
            grid-template-columns: 1fr;
            gap: 24px;
        }
    }

    @media (max-width: 768px) {
        .product-page-minimal .product-hero {
            padding: 60px 0 40px;
        }

        .product-page-minimal .product-info__title {
            font-size: 1.75rem;
        }

        .product-page-minimal .quantity-wrapper {
            flex-direction: column;
            align-items: stretch;
        }

        .product-page-minimal .add-to-cart-btn {
            width: 100%;
        }
    }