/*
Theme Name: BIOVERA Child
Description: Custom child theme for BIOVERA e-commerce site
Template: astra
Version: 1.0
*/

/* BIOVERA Brand Colors */
:root {
    --biovera-teal: #3C8C95;
    --biovera-gold: #B1976B;
    --biovera-dark-grey: #4A4A4A;
    --biovera-white: #FFFFFF;
}

/* Typography */
body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--biovera-dark-grey);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--biovera-teal);
}

.site-title {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--biovera-teal) !important;
    letter-spacing: 2px;
}

/* Header Styling */
.main-header-bar {
    background-color: var(--biovera-white);
    border-bottom: 2px solid var(--biovera-teal);
    box-shadow: 0 2px 10px rgba(60, 140, 149, 0.1);
}

.ast-site-identity {
    display: flex;
    align-items: center;
}

/* Navigation */
.main-navigation ul li a {
    color: var(--biovera-dark-grey);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
    color: var(--biovera-teal);
}

.main-navigation ul li.current-menu-item a {
    color: var(--biovera-teal);
}

/* Buttons */
.ast-button,
.button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background-color: var(--biovera-teal);
    color: var(--biovera-white);
    border: 2px solid var(--biovera-teal);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.ast-button:hover,
.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background-color: var(--biovera-gold);
    border-color: var(--biovera-gold);
    color: var(--biovera-white);
}

/* WooCommerce Product Cards */
.woocommerce ul.products li.product {
    background: var(--biovera-white);
    border: 1px solid #e0e0e0;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(60, 140, 149, 0.15);
}

.woocommerce ul.products li.product h2 {
    color: var(--biovera-teal);
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .price {
    color: var(--biovera-gold);
    font-weight: 700;
    font-size: 1.2em;
}

/* Product Page */
.woocommerce div.product .product_title {
    color: var(--biovera-teal);
    font-size: 2.2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce div.product p.price {
    color: var(--biovera-gold);
    font-size: 1.8em;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--biovera-dark-grey);
    font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--biovera-teal);
    border-bottom-color: var(--biovera-teal);
}

/* Cart and Checkout */
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .col2-set {
    background: #f9f9f9;
    padding: 30px;
    border: 1px solid #e0e0e0;
}

.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce .checkout h3 {
    color: var(--biovera-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Research Use Only Banner */
.research-banner {
    background: var(--biovera-teal);
    color: var(--biovera-white);
    padding: 15px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Gold Accent Lines */
.gold-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--biovera-gold) 0%, transparent 100%);
    margin: 20px 0;
}

/* Footer */
.site-footer {
    background-color: var(--biovera-dark-grey);
    color: var(--biovera-white);
    padding: 40px 0;
}

.site-footer h3 {
    color: var(--biovera-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer a {
    color: var(--biovera-white);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--biovera-gold);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.5em;
    }

    .woocommerce div.product .product_title {
        font-size: 1.8em;
    }

    .main-navigation ul li a {
        padding: 10px 15px;
    }

    .woocommerce ul.products li.product {
        margin-bottom: 20px;
    }
}

/* Clinical/Laboratory Feel */
.clinical-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--biovera-teal);
    padding: 20px;
    margin: 20px 0;
}

.purity-badge {
    background: var(--biovera-gold);
    color: var(--biovera-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    display: inline-block;
    margin: 10px 0;
}

/* Product Specifications Table */
.product-specs table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

.product-specs th {
    background: var(--biovera-teal);
    color: var(--biovera-white);
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.product-specs td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.product-specs tr:nth-child(even) {
    background: #f9f9f9;
}
