/* Promedics Professional Medical Pharmacy - Brand Colors */
:root {
    --primary-teal: #4A8B8B;
    --secondary-teal: #5FA5A5;
    --dark-teal: #2E6A6A;
    --light-teal: #E8F4F4;
    --accent-teal: #6BC4C4;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --border-color: #D1E5E5;
    --success: #28A745;
    --warning: #FFC107;
}

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(74, 139, 139, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-teal);
}

.navbar {
    padding: 0.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-img {
    height: 45px;
    width: auto;
    flex-shrink: 0;
}

.logo h1, .logo-text {
    display: none;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-menu a:hover {
    color: var(--primary-teal);
    background: var(--light-teal);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(46, 106, 106, 0.95) 0%, rgba(74, 139, 139, 0.92) 100%),
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&q=80') center/cover no-repeat;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.02) 10px,
            rgba(255,255,255,0.02) 20px
        );
    opacity: 0.4;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.6rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero-sub {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.92;
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    max-width: 560px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    line-height: 1.6;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-teal);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    font-size: 1.1rem;
    padding: 16px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    background: #f8f9fa;
}

.hero-trust-line {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: var(--primary-teal);
    color: white;
    border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
    background: var(--dark-teal);
    border-color: var(--dark-teal);
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
    background: linear-gradient(to bottom, #f8fafb 0%, var(--light-teal) 100%);
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 3px solid var(--primary-teal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.badge-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(74, 139, 139, 0.2);
}

.badge-icon {
    font-size: 2.8rem;
    color: var(--primary-teal);
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 2px 4px rgba(74, 139, 139, 0.3));
}

.badge-item h4 {
    color: var(--dark-teal);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: white;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(74, 139, 139, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1.5px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 139, 139, 0.2);
    border-color: var(--primary-teal);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    background: var(--light-teal);
    padding: 0.5rem;
}

.product-card h3 {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.product-card p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.88rem;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 1.5rem;
}

.product-badge {
    display: inline-block;
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Discount badge (red, top-right corner of card) */
.product-card {
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #e53935;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* Wishlist button */
.wishlist-btn {
    position: absolute;
    top: 42px;
    right: 14px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s, border-color 0.2s;
    line-height: 1;
}

.wishlist-btn:hover {
    color: #e53935;
    border-color: #e53935;
}

/* Price row with sale and original price */
.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-teal);
}

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

/* Add to cart button */
.btn-add {
    width: 100%;
    text-align: center;
}

/* Product card h3/h4 links */
.product-card h3 a,
.product-card h4 a {
    color: var(--primary-teal);
    text-decoration: none;
}

.product-card h3 a:hover,
.product-card h4 a:hover {
    text-decoration: underline;
}

.product-card h4 {
    color: var(--primary-teal);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* OTC section styling */
.otc-section {
    background: var(--light-teal);
    padding: 4rem 0;
}

.otc-category-title {
    font-size: 1.6rem;
    color: var(--dark-teal);
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.otc-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.1rem;
}

.otc-card {
    padding: 1.1rem;
}

.otc-img-placeholder {
    width: 100%;
    height: 130px;
    object-fit: contain;
    background: white;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
}

/* OTC product card image fallback - show a teal background when image fails */
.otc-card img[src=""],
.otc-card img:not([src]) {
    background: var(--light-teal);
    border: 2px dashed var(--border-color);
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--light-teal);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
    font-weight: 700;
}

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

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(74, 139, 139, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(74, 139, 139, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--dark-teal);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: var(--white);
}

.info-section h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.info-section h3 {
    color: var(--dark-teal);
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.info-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.info-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.info-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Product Detail Page */
.product-detail {
    padding: 3rem 0;
    background: var(--white);
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.product-image {
    background: var(--light-teal);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

.product-info h1 {
    color: var(--primary-teal);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-tagline {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.price-box {
    background: var(--light-teal);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-teal);
}

.price-from {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-teal);
}

.dosage-options {
    margin-bottom: 2rem;
}

.dosage-options h2, .dosage-options h3 {
    color: var(--dark-teal);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.dosage-options ul {
    list-style: none;
    padding: 0;
}

.dosage-options li {
    padding: 0.8rem 1rem;
    background: var(--light-teal);
    margin-bottom: 0.5rem;
    border-radius: 6px;
    color: var(--text-dark);
}

.product-details-section {
    padding: 4rem 0;
    background: var(--light-teal);
}

.related-products {
    padding: 4rem 0;
    background: var(--white);
}

.related-products h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-teal);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--white);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border-left: 4px solid var(--primary-teal);
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    background: var(--light-teal);
    border-radius: 0 8px 8px 0;
}

.faq-item h3 {
    color: var(--dark-teal);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.faq-item p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.faq-item a {
    color: var(--primary-teal);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Related Articles Section */
.related-articles-section {
    padding: 4rem 0;
    background: var(--light-teal);
}

.related-articles-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-teal);
    font-weight: 700;
}

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

.rel-article-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rel-article-card:hover {
    border-color: var(--primary-teal);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(74, 139, 139, 0.15);
}

.rel-article-tag {
    display: inline-block;
    background: var(--light-teal);
    color: var(--primary-teal);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.rel-article-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.rel-article-read {
    font-size: 0.9rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-top: auto;
}

/* Footer */
footer {
    background: var(--dark-teal);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-teal);
    font-size: 1.2rem;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo h3 {
    color: var(--accent-teal);
    font-size: 1.8rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Icons (Using Unicode/Text) */
.icon-shield::before { content: "🛡️ "; }
.icon-truck::before { content: "🚚 "; }
.icon-lock::before { content: "🔒 "; }
.icon-check::before { content: "✓ "; }

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(74, 139, 139, 0.2);
    min-width: 220px;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px 0 0.4rem 0;
    border: 1px solid var(--border-color);
    z-index: 1001;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-teal) var(--light-teal);
}

.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--light-teal);
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--dark-teal);
}

/* Desktop: Show dropdown on hover */
@media (min-width: 969px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    gap: 5px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: var(--light-teal);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-teal);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        box-shadow: 0 6px 20px rgba(74, 139, 139, 0.15);
        border-top: 2px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 20px;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--light-teal);
        padding: 0;
        min-width: 100%;
    }

    .dropdown-menu li a {
        padding: 10px 32px;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .logo h1 {
        font-size: 1.5rem;
    }
}

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

    .hero h2 {
        font-size: 1.6rem;
    }

    .products-section h2,
    .benefits h2 {
        font-size: 1.8rem;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Accessibility */
a:focus, button:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card, .benefit-item {
    animation: fadeIn 0.6s ease-out;
}

/* Footer Contact Styling */
.footer-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

/* Social Links */
.social-links {
    color: rgba(255, 255, 255, 0.7);
}


/* ===== Hero Contact Form ===== */
.hero-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    line-height: 1.6;
}

.hero-form-wrapper {
    flex: 0 0 380px;
}

.hero-contact-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: var(--text-dark);
}

.hero-contact-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 0.5rem;
}

.hero-contact-card > p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    opacity: 1;
    text-shadow: none;
}

.hcf-group {
    margin-bottom: 0.85rem;
}

.hcf-group input,
.hcf-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
}

.hcf-group input:focus,
.hcf-group textarea:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(74, 139, 139, 0.15);
}

.hcf-group textarea {
    resize: vertical;
    min-height: 80px;
}

.hcf-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234A8B8B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.hcf-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(74, 139, 139, 0.15);
}

.hcf-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-family: inherit;
}

.hcf-btn:hover {
    background: linear-gradient(135deg, var(--dark-teal), #1e4f4f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

@media (max-width: 968px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-form-wrapper {
        flex: none;
        width: 100%;
        max-width: 480px;
    }
}



/* ===== Related Blog Articles Section ===== */
.related-blog-articles {
    background: var(--light-teal);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.related-blog-articles h2 {
    text-align: center;
    color: var(--dark-teal);
    margin-bottom: 0.5rem;
}

.blog-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.blog-link-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    text-decoration: none;
    color: var(--text-dark);
    border: 1.5px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.blog-link-card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 6px 20px rgba(74,139,139,0.15);
    transform: translateY(-3px);
    color: var(--text-dark);
}

.blc-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-teal);
}

.blog-link-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.blc-read {
    font-size: 0.85rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-top: auto;
}


/* ===== Homepage Blog Section ===== */
.home-blog-section {
    padding: 4rem 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.home-blog-section h2 {
    text-align: center;
    color: var(--dark-teal);
    margin-bottom: 0.5rem;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.home-blog-card {
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.25s ease;
}

.home-blog-card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 8px 24px rgba(74,139,139,0.15);
    transform: translateY(-4px);
    color: var(--text-dark);
}

.hbc-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary-teal);
    background: var(--light-teal);
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
}

.home-blog-card h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--text-dark);
}

.home-blog-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.hbc-read {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-top: 0.4rem;
}

@media (max-width: 968px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-blog-grid {
        grid-template-columns: 1fr;
    }
}



/* Key Benefits heading — product pages */
.key-benefits-title {
    color: var(--primary-teal);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Product CTA section */
.product-cta-section {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: white;
    text-align: center;
}

.product-cta-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.product-cta-section p {
    font-size: 1rem;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.product-cta-section .btn-primary {
    background: white;
    color: var(--dark-teal);
    display: inline-block;
    margin-top: 1.5rem;
}

.product-cta-section .btn-primary:hover {
    background: var(--light-teal);
}


/* ============================================================
   PRODUCT PAGE REDESIGN — Content Placement & Visual Hierarchy
   ============================================================ */

/* ── Product Hero Layout ─────────────────────────────────── */
.product-detail {
    padding: 2rem 0 3rem;
    background: #fff;
}

.product-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
    margin-bottom: 0;
}

.product-image {
    background: linear-gradient(135deg, #f0f8f8 0%, var(--light-teal) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    position: sticky;
    top: 80px;
    box-shadow: 0 6px 30px rgba(74, 139, 139, 0.13);
    border: 1px solid var(--border-color);
}

.product-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.12));
    border-radius: 8px;
}

.product-image p {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-light);
    font-style: italic;
}

.product-info h1 {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    color: var(--dark-teal);
    font-weight: 800;
    letter-spacing: -0.3px;
}

.product-tagline {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.price-box {
    background: linear-gradient(to right, var(--light-teal) 0%, #fff 100%);
    border-left: 4px solid var(--primary-teal);
    padding: 1.2rem 1.5rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(74,139,139,0.07);
}

.price-from {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--dark-teal);
    display: block;
}

/* Benefits box — replaces inline style */
.product-info > div[style*="light-teal"],
.benefits-box {
    background: var(--light-teal) !important;
    padding: 1.4rem !important;
    border-radius: 10px !important;
    margin-bottom: 1.5rem !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: inset 0 1px 3px rgba(74,139,139,0.05) !important;
}

.key-benefits-title {
    color: var(--dark-teal);
    margin-bottom: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.key-benefits-title::before {
    content: '★';
    color: var(--primary-teal);
    font-size: 0.9rem;
}

.product-info > div[style*="light-teal"] ul li,
.benefits-box ul li {
    padding: 0.4rem 0;
    color: var(--text-dark);
    font-size: 0.93rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(74,139,139,0.12);
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.product-info > div[style*="light-teal"] ul li:last-child,
.benefits-box ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Order button */
.product-info > a.btn-primary,
.product-info .btn-primary {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    font-size: 1.05rem;
    padding: 15px 32px;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(74,139,139,0.35);
    border-radius: 10px;
    display: block;
}

.product-info > a.btn-primary:hover,
.product-info .btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-teal), #1e5050);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(74,139,139,0.45);
    color: white;
}

/* Dosage options */
.dosage-options {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.5rem;
}

.dosage-title, .dosage-options h2, .dosage-options h3 {
    color: var(--dark-teal);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.dosage-options ul {
    list-style: none;
    padding: 0;
}

.dosage-options li {
    padding: 0.6rem 0.8rem 0.6rem 2rem;
    background: var(--light-teal);
    margin-bottom: 0.4rem;
    border-radius: 7px;
    color: var(--text-dark);
    font-size: 0.93rem;
    position: relative;
    border-left: 3px solid var(--primary-teal);
}

.dosage-options li::before {
    content: '💊';
    position: absolute;
    left: 0.4rem;
    font-size: 0.8rem;
}

/* ── Product Details Section ─────────────────────────────── */
.product-details-section {
    padding: 4rem 0;
    background: #f6fafa;
    border-top: 3px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-details-section > .container {
    max-width: 860px;
}

.product-details-section .container > h2:first-child {
    font-size: 1.75rem;
    color: var(--dark-teal);
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.product-details-section h3 {
    font-size: 1.1rem;
    color: var(--dark-teal);
    font-weight: 700;
    margin: 2rem 0 0.65rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border-left: 4px solid var(--primary-teal);
    border-radius: 0 6px 6px 0;
    line-height: 1.4;
    box-shadow: 0 1px 4px rgba(74,139,139,0.06);
}

.product-details-section p {
    color: var(--text-dark);
    line-height: 1.85;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

.product-details-section ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.5rem;
    display: grid;
    gap: 0.35rem;
}

.product-details-section ul li {
    padding: 0.6rem 0.75rem 0.6rem 2.75rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s;
}

.product-details-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-teal);
    font-weight: 800;
    font-size: 1rem;
    background: var(--light-teal);
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
}

.product-details-section ul li:hover {
    border-color: var(--primary-teal);
}

/* Inline FAQ paragraphs in content section */
.product-details-section p > strong:first-child {
    display: block;
    color: var(--dark-teal);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

/* ── Related Products ────────────────────────────────────── */
.related-products {
    padding: 4rem 0;
    background: white;
}

.related-products h2 {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 2.5rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.related-products .product-card {
    text-align: left;
    padding: 1.5rem;
}

.related-products .product-card h3 {
    font-size: 1.1rem;
    color: var(--dark-teal);
    margin-bottom: 0.4rem;
}

.related-products .product-card .price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 1rem;
    display: block;
}

.related-products .btn-secondary {
    display: block;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.related-products .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .related-products .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ── FAQ Section ─────────────────────────────────────────── */
.faq-section {
    padding: 4rem 0;
    background: #f6fafa;
    border-top: 1px solid var(--border-color);
}

.faq-section > .container {
    max-width: 860px;
}

.faq-section h2 {
    text-align: center;
    font-size: 1.85rem;
    margin-bottom: 2.5rem;
    color: var(--dark-teal);
    font-weight: 800;
    letter-spacing: -0.2px;
}

.faq-item {
    border-left: 4px solid var(--primary-teal);
    padding: 1.4rem 1.5rem 1.4rem 1.6rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 8px rgba(74,139,139,0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(74,139,139,0.13);
    border-left-color: var(--dark-teal);
}

.faq-item h3 {
    color: var(--dark-teal);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-dark);
    line-height: 1.75;
    margin: 0;
    font-size: 0.95rem;
}

/* ── Related Articles Section ────────────────────────────── */
.related-articles-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid var(--border-color);
}

.related-articles-section h2 {
    text-align: center;
    font-size: 1.85rem;
    margin-bottom: 2rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.rel-article-card {
    background: #f8fbfb;
    padding: 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rel-article-card:hover {
    border-color: var(--primary-teal);
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 139, 139, 0.14);
    color: var(--text-dark);
}

.rel-article-tag {
    display: inline-block;
    background: var(--light-teal);
    color: var(--primary-teal);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 9px;
    border-radius: 20px;
    width: fit-content;
}

.rel-article-card h3 {
    font-size: 0.97rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

.rel-article-read {
    font-size: 0.88rem;
    color: var(--primary-teal);
    font-weight: 700;
    margin-top: auto;
}

/* ── Responsive Overrides ─────────────────────────────────── */
@media (max-width: 968px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .product-image {
        position: static;
        max-width: 380px;
        margin: 0 auto;
    }

    .product-info h1 {
        font-size: 1.55rem;
    }

    .product-details-section > .container,
    .faq-section > .container {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .product-info h1 {
        font-size: 1.35rem;
    }

    .price-from {
        font-size: 1.3rem;
    }

    .product-details-section h3 {
        font-size: 1rem;
    }
}

/* ── CTA Section (product pages) ─────────────────────────── */
.product-cta-section {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-teal) 100%);
    color: white;
    text-align: center;
}

.product-cta-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
    letter-spacing: -0.2px;
}

.product-cta-section p {
    font-size: 0.97rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.product-cta-section .btn-primary {
    background: white;
    color: var(--dark-teal);
    display: inline-block;
    font-size: 1rem;
    padding: 14px 36px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    margin-top: 0;
}

.product-cta-section .btn-primary:hover {
    background: var(--light-teal);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}


/* ============================================================
   CART ICON (Navbar)
   ============================================================ */
#cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-teal);
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    margin-right: 0.5rem;
}

#cart-icon-btn:hover {
    background: var(--light-teal);
}

#cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e53935;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ============================================================
   CART OVERLAY + DRAWER
   ============================================================ */
#cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1998;
}

#cart-overlay.visible {
    display: block;
}

#cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1999;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0,0,0,0.18);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

#cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    border-bottom: 2px solid var(--border-color);
    background: var(--white);
}

.cart-drawer-header h3 {
    font-size: 1.2rem;
    color: var(--dark-teal);
    font-weight: 700;
    margin: 0;
}

#cart-close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

#cart-close-btn:hover {
    color: var(--dark-teal);
    background: var(--light-teal);
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.4rem;
}

.cart-empty {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
    font-size: 0.95rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--light-teal);
    padding: 4px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 0.3rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1.5px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-size: 1rem;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    padding: 0;
    line-height: 1;
}

.qty-btn:hover {
    background: var(--light-teal);
    border-color: var(--primary-teal);
}

.cart-item-qty span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: #e53935;
}

.cart-drawer-footer {
    padding: 1rem 1.4rem 1.4rem;
    border-top: 2px solid var(--border-color);
    background: #fafafa;
}

.cart-footer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 0.6rem;
}

.cart-rx-note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.85rem;
    text-align: center;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cart-checkout-btn:hover {
    background: linear-gradient(135deg, var(--dark-teal), #1e5050);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74,139,139,0.35);
    color: white;
}

.cart-checkout-btn[disabled] {
    opacity: 0.5;
    pointer-events: none;
}


/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-page {
    padding: 2.5rem 0 4rem;
    background: #f6fafa;
    min-height: calc(100vh - 120px);
}

.checkout-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-header h2 {
    font-size: 1.8rem;
    color: var(--dark-teal);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.checkout-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.checkout-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.checkout-empty a {
    color: var(--primary-teal);
    font-weight: 600;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.checkout-form-col {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(74,139,139,0.08);
    border: 1px solid var(--border-color);
}

.checkout-section {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-section:last-child {
    border-bottom: none;
}

.checkout-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label,
.section-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.optional {
    font-weight: 400;
    color: var(--text-light);
    text-transform: none;
    letter-spacing: 0;
}

.form-group input,
.form-group select,
.checkout-section textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border-color);
    border-radius: 7px;
    font-size: 0.93rem;
    color: var(--text-dark);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.checkout-section textarea:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(74,139,139,0.12);
}

.input-readonly {
    background: #f4f4f4 !important;
    color: var(--text-light) !important;
    cursor: not-allowed;
}

.checkout-section textarea {
    resize: vertical;
    min-height: 80px;
    margin-top: 0.5rem;
}

/* Payment Grid */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s;
    cursor: pointer;
    background: white;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--primary-teal);
    background: var(--light-teal);
    color: var(--dark-teal);
}

.payment-icon {
    font-size: 1.1rem;
}

/* Place Order Button */
.place-order-btn {
    display: block;
    width: calc(100% - 3.5rem);
    margin: 0 1.75rem 1rem;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: center;
    letter-spacing: 0.3px;
}

.place-order-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--dark-teal), #1e5050);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74,139,139,0.4);
}

.place-order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Status messages */
.co-status {
    margin: 0 1.75rem 1rem;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 0.9rem;
}

.co-status-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.co-status-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Trust bar */
.checkout-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.75rem 1.25rem;
    font-size: 0.78rem;
    color: var(--text-light);
}

/* OTP Step */
.otp-section {
    text-align: center;
}

.otp-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.otp-section h3 {
    font-size: 1.2rem;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
}

.otp-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.otp-input {
    font-size: 1.5rem !important;
    text-align: center !important;
    letter-spacing: 8px !important;
    font-weight: 700 !important;
}

.otp-resend {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-light);
    text-align: center;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--primary-teal);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.88rem;
    padding: 0 4px;
    font-family: inherit;
}

.resend-btn:hover:not(:disabled) {
    text-decoration: underline;
}

.resend-btn:disabled {
    color: var(--text-light);
    cursor: not-allowed;
}

.resend-timer {
    font-size: 0.82rem;
    color: var(--text-light);
}

.back-btn {
    display: block;
    margin: 1rem auto 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 8px;
}

.back-btn:hover {
    color: var(--primary-teal);
    text-decoration: underline;
}

/* Success Step */
.success-section {
    text-align: center;
    padding: 2.5rem 1.75rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
}

.success-section h3 {
    color: var(--dark-teal);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
}

.success-section p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Order Summary Card */
.order-summary-col {
    position: sticky;
    top: 80px;
}

.order-summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(74,139,139,0.08);
    border: 1px solid var(--border-color);
}

.order-summary-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.summary-items {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--light-teal);
    padding: 4px;
    flex-shrink: 0;
}

.summary-item-info {
    flex: 1;
    min-width: 0;
}

.summary-item-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-item-qty {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
}

.summary-item-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-teal);
    flex-shrink: 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.4rem 0;
}

.summary-total-line {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-teal);
    border-top: 2px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
}

/* Checkout Responsive */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .order-summary-col {
        position: static;
        order: -1;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .payment-grid {
        grid-template-columns: 1fr 1fr;
    }
    .checkout-section {
        padding: 1.2rem 1.2rem;
    }
    .place-order-btn {
        width: calc(100% - 2.4rem);
        margin-left: 1.2rem;
        margin-right: 1.2rem;
    }
    .co-status {
        margin-left: 1.2rem;
        margin-right: 1.2rem;
    }
    .checkout-trust-bar {
        flex-wrap: wrap;
        gap: 0.3rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}


/* ===== FOOTER TRUST BAR (Payment Logos + LegitScript) ===== */
.footer-trust-bar {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 1.4rem 0 1rem;
    margin-bottom: 1rem;
}
.footer-trust-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.legitscript-wrap { flex-shrink: 0; }
.payment-logos-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    padding: 0 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    white-space: nowrap;
    line-height: 1.2;
}
.visa-badge {
    background: #fff;
    color: #1a1f71;
    font-size: 1rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0;
    min-width: 52px;
}
.mc-badge {
    background: #252525;
    padding: 0 8px;
    min-width: 46px;
    position: relative;
}
.mc-circle {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: relative;
}
.mc-red { background: #eb001b; margin-right: -7px; z-index: 1; }
.mc-orange { background: #f79e1b; z-index: 0; }
.discover-badge {
    background: #fff;
    color: #231f20;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    border-right: 18px solid #f76f20;
    padding-right: 4px;
    min-width: 72px;
}
.amex-badge {
    background: #2e77bc;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.25;
    min-width: 48px;
    padding: 0 7px;
}
.gpay-badge {
    background: #fff;
    border: 1px solid #dadce0;
    padding: 0 8px;
}
.gpay-badge span {
    background: linear-gradient(90deg, #4285f4 0%, #34a853 33%, #fbbc05 66%, #ea4335 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.78rem;
    font-weight: 800;
}
.unionpay-badge {
    background: linear-gradient(135deg, #c0392b 50%, #fff 50%);
    color: #c0392b;
    font-size: 0.48rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    border: 1px solid #c0392b;
    min-width: 46px;
    padding: 0 6px;
}
.jcb-badge {
    background: #fff;
    padding: 0;
    overflow: hidden;
    min-width: 36px;
    height: 34px;
}
.jcb-badge span {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.jcb-inner {
    display: flex;
    height: 100%;
}
.jcb-b { display:inline-block; width:12px; height:100%; display:flex; align-items:center; justify-content:center; font-size:0.6rem; font-weight:900; color:#fff; }
.jcb-b1 { background:#003087; }
.jcb-b2 { background:#cc0000; }
.jcb-b3 { background:#009f6b; }
.diners-badge {
    background: #fff;
    min-width: 42px;
    border: 1px solid #ccc;
}
.diners-circles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 100%;
}
.dc-left, .dc-right {
    display: inline-block;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid #5699c5;
}
.dc-left { margin-right: -5px; }
@media (max-width: 600px) {
    .footer-trust-inner { gap: 0.8rem; }
    .pay-badge { height: 28px; font-size: 0.6rem; }
    .mc-circle { width: 14px; height: 14px; }
}

/* ===== ABOUT THE MEDICAL REVIEWER SECTION ===== */
.medical-reviewer-section {
    background: #f8fafc;
    border-top: 3px solid #0d8080;
    padding: 3rem 0;
}
.reviewer-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(13,128,128,0.10);
    padding: 2.5rem 2.5rem 2rem;
    max-width: 860px;
    margin: 0 auto;
}
.reviewer-heading {
    font-size: 1.6rem;
    color: #0a5c5c;
    margin-bottom: 1.8rem;
    text-align: center;
    font-weight: 700;
}
.reviewer-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.reviewer-photo-wrap {
    flex-shrink: 0;
}
.reviewer-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid #0d8080;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.reviewer-content { flex: 1; }
.reviewer-name {
    font-size: 1.2rem;
    color: #0a5c5c;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.reviewer-title {
    font-size: 0.9rem;
    color: #0d8080;
    font-weight: 600;
    margin-bottom: 0.9rem;
    font-style: italic;
}
.reviewer-content p {
    color: #444;
    line-height: 1.8;
    font-size: 0.97rem;
}
@media (max-width: 600px) {
    .reviewer-layout { flex-direction: column; align-items: center; text-align: center; }
    .reviewer-card { padding: 1.5rem 1.2rem; }
    .reviewer-heading { font-size: 1.3rem; }
}

/* ===== TRUST CERTIFICATIONS SECTION (Homepage) ===== */
.trust-certs-section {
    background: #fff;
    border-top: 1px solid #e8f0f0;
    border-bottom: 1px solid #e8f0f0;
    padding: 1.8rem 0;
}
.trust-certs-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
/* TRUSTe Badge */
.truste-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #c8d8c8;
    border-radius: 8px;
    padding: 10px 16px;
    background: #fff;
    text-decoration: none;
    transition: box-shadow 0.2s;
    min-width: 200px;
}
.truste-badge:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.truste-icon {
    width: 42px;
    height: 42px;
    background: #3a7d3a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 900;
    font-family: serif;
    flex-shrink: 0;
    position: relative;
}
.truste-icon::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #3a7d3a;
}
.truste-text { line-height: 1.3; }
.truste-text strong { display: block; font-size: 0.88rem; color: #1a1a1a; }
.truste-text span { font-size: 0.72rem; color: #555; }
.truste-text .trustarc { color: #0066cc; font-weight: 600; }

/* TAG Badge */
.tag-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
    min-width: 90px;
}
.tag-badge:hover { opacity: 0.85; }
.tag-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2.5px solid #9b6faf;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.tag-circle-inner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #c49fd4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5eef8;
}
.tag-circle-inner span {
    font-size: 0.75rem;
    font-weight: 800;
    color: #7b4fa0;
    font-style: italic;
    letter-spacing: -0.5px;
}
.tag-badge small {
    font-size: 0.6rem;
    font-weight: 700;
    color: #7b4fa0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* @TRUST Badge */
.atrust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e8eef8 0%, #dde8f5 100%);
    border: 1.5px solid #b0c4de;
    border-radius: 30px;
    padding: 8px 18px 8px 14px;
    text-decoration: none;
    transition: box-shadow 0.2s;
    min-width: 180px;
}
.atrust-badge:hover { box-shadow: 0 2px 10px rgba(0,0,80,0.13); }
.atrust-at {
    font-size: 1.6rem;
    font-weight: 900;
    color: #2255aa;
    line-height: 1;
    font-family: Arial, sans-serif;
}
.atrust-text { line-height: 1.25; }
.atrust-text strong { display: block; font-size: 1rem; color: #1a3a7a; font-weight: 900; letter-spacing: 0.03em; }
.atrust-text .aaci { font-size: 0.62rem; color: #445; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.atrust-flag {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
    margin-left: 6px;
}
.atrust-flag span {
    display: block;
    width: 22px;
    height: 4px;
    border-radius: 1px;
}
.af1 { background: #cc0000; }
.af2 { background: #0033aa; }
.af3 { background: #cc0000; }
@media (max-width: 600px) {
    .trust-certs-inner { gap: 1rem; }
    .truste-badge, .atrust-badge { min-width: 160px; }
}

/* Payment logo links */
.pay-badge { cursor: pointer; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.pay-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.legitscript-wrap a { text-decoration: none; }
.legitscript-wrap a:hover svg { opacity: 0.88; }

/* ===== TRUST CERTS SLIDER ===== */
.trust-certs-section {
    overflow: hidden;
    padding: 1.6rem 0;
    background: #fff;
    border-top: 1px solid #e8f0f0;
    border-bottom: 1px solid #e8f0f0;
}
.trust-slider-wrap {
    overflow: hidden;
    width: 100%;
}
.trust-slider-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: trustSlide 14s linear infinite;
}
.trust-slider-track:hover {
    animation-play-state: paused;
}
@keyframes trustSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
