/*
Theme Name: hello-elementor Child
Theme URI:  https://www.wpserveur.net
Author:     WPServeur
Author URI: https://www.wpserveur.net
Template:   hello-elementor
Version:    1.0
License:    GNU General Public License v2 or later
*/

:root {
    --brand-navy: #13264A;
    --brand-navy-dark: #0E1C37;
    --brand-navy-card: #FFFFFF;
    --brand-navy-hover: #19315E;
    --brand-slate: #7C7E80;
    --brand-slate-light: #9EA0A3;
    --brand-accent: #13264A;
    --brand-accent-hover: #0E1C37;
    --brand-accent-glow: rgba(19, 38, 74, 0.15);
    --brand-border: rgba(124, 126, 128, 0.2);
    --brand-text: #13264A;
}

html, body, p, a, h1, h2, h3, h4, h5, h6, span, button, input, select, textarea, .elementor, .elementor * {
    font-family: 'Roboto', sans-serif !important;
}

body {
    background-color: #FFFFFF !important;
    color: #13264A !important;
}

.added_to_cart {
    display: inline-block !important;
    text-align: center !important;
    color: #13264A !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    background-color: rgba(19, 38, 74, 0.08) !important;
    border: 1px solid rgba(19, 38, 74, 0.2) !important;
    transition: all 0.2s ease !important;
    margin-top: 8px !important;
    box-sizing: border-box !important;
}
.added_to_cart:hover {
    background-color: #13264A !important;
    border-color: #13264A !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(19, 38, 74, 0.2) !important;
}

/* Force outer theme containers to be full width on WooCommerce/custom templates, allowing our 1440px containers to expand */
.single-product #primary,
.single-product #content,
.single-product .site-main,
.single-product .site-content,
.single-product .elementor,
.single-product .elementor-inner,
.single-product .elementor-section,
.page-template-page-shops #primary,
.page-template-page-shops #content,
.page-template-page-shops .site-main,
.page-template-page-shops .site-content,
.page-template-page-shops .elementor,
.page-template-page-shops .elementor-inner,
.page-template-page-shops .elementor-section,
.post-type-archive-product #primary,
.post-type-archive-product #content,
.post-type-archive-product .site-main,
.post-type-archive-product .site-content,
.post-type-archive-product .elementor,
.post-type-archive-product .elementor-inner,
.post-type-archive-product .elementor-section,
.tax-product_cat #primary,
.tax-product_cat #content,
.tax-product_cat .site-main,
.tax-product_cat .site-content,
.tax-product_cat .elementor,
.tax-product_cat .elementor-inner,
.tax-product_cat .elementor-section {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================================================
   PREMIER PEPTIDES Shopping Cart Page Styling (Light Theme)
   ========================================================================== */

/* Cart Wrapper */
.custom-cart-wrapper {
    max-width: 1440px !important;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.custom-cart-header {
    margin-bottom: 40px;
}
.custom-cart-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #13264A;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}
.custom-cart-header p {
    font-size: 16px;
    color: #7C7E80;
    margin: 0;
}

/* Two-Column Grid */
.custom-cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .custom-cart-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Left Column: Cart items */
.custom-cart-left {
    background-color: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(124, 126, 128, 0.2);
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .custom-cart-left {
        padding: 15px;
        border-radius: 16px;
    }
}

/* Cart Table Layout styling */
.woocommerce-cart-form table.cart {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.woocommerce-cart-form table.cart th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #7C7E80;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(124, 126, 128, 0.2);
    padding: 15px 10px;
    text-align: left;
}
.woocommerce-cart-form table.cart td {
    padding: 20px 10px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(124, 126, 128, 0.15);
}

/* Remove button */
.woocommerce-cart-form table.cart a.remove {
    font-size: 24px !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 28px !important;
    border-radius: 50% !important;
    color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.woocommerce-cart-form table.cart a.remove:hover {
    color: #ffffff !important;
    background-color: #ef4444 !important;
}

/* Thumbnail */
.woocommerce-cart-form table.cart td.product-thumbnail img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 10px !important;
    background-color: #F8FAFC !important;
    padding: 4px !important;
    border: 1px solid rgba(124, 126, 128, 0.2) !important;
    object-fit: contain !important;
}

/* Product Name */
.woocommerce-cart-form table.cart td.product-name a {
    color: #13264A !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    transition: color 0.2s ease !important;
}
.woocommerce-cart-form table.cart td.product-name a:hover {
    color: #7C7E80 !important;
}

/* Price & Subtotal */
.woocommerce-cart-form table.cart td.product-price,
.woocommerce-cart-form table.cart td.product-subtotal {
    color: #13264A !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}
.woocommerce-cart-form table.cart td.product-subtotal {
    color: #13264A !important;
}

/* Quantity input wrapper override */
.woocommerce-cart-form table.cart td.product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
}
.woocommerce-cart-form table.cart td.product-quantity .quantity input.qty {
    width: 50px !important;
    height: 38px !important;
    background-color: #FFFFFF !important;
    border: 1px solid rgba(124, 126, 128, 0.3) !important;
    color: #13264A !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Coupon & Actions Bar styling */
.woocommerce-cart-form table.cart td.actions {
    padding: 24px 0 0 0 !important;
    border-bottom: none !important;
}
.woocommerce-cart-form table.cart td.actions .coupon {
    display: flex !important;
    gap: 10px !important;
    float: left !important;
}
@media (max-width: 600px) {
    .woocommerce-cart-form table.cart td.actions .coupon {
        width: 100% !important;
        flex-direction: column !important;
        margin-bottom: 15px !important;
    }
}
.woocommerce-cart-form table.cart td.actions .coupon input.input-text {
    height: 44px !important;
    background-color: #FFFFFF !important;
    border: 1px solid rgba(124, 126, 128, 0.3) !important;
    color: #13264A !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    width: 160px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}
@media (max-width: 600px) {
    .woocommerce-cart-form table.cart td.actions .coupon input.input-text {
        width: 100% !important;
    }
}

/* Buttons */
.woocommerce-cart-form table.cart td.actions button.button {
    height: 44px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(124, 126, 128, 0.25) !important;
    background-color: #13264A !important;
    color: #ffffff !important;
}
.woocommerce-cart-form table.cart td.actions button.button:hover {
    background-color: #0E1C37 !important;
    border-color: #13264A !important;
    color: #ffffff !important;
}

/* Update Cart Button alignment */
.woocommerce-cart-form table.cart td.actions button.update-cart-btn {
    float: right !important;
}
@media (max-width: 600px) {
    .woocommerce-cart-form table.cart td.actions button.update-cart-btn {
        width: 100% !important;
        float: none !important;
    }
}

/* Right Column: Cart Totals card */
.custom-cart-right {
    position: sticky;
    top: 100px;
}
.custom-cart-totals-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(124, 126, 128, 0.2);
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
}
.cart-collaterals .cart_totals h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #13264A !important;
    margin: 0 0 24px 0 !important;
    letter-spacing: -0.5px !important;
    border-bottom: 1px solid rgba(124, 126, 128, 0.2) !important;
    padding-bottom: 12px !important;
}

/* Totals table */
.cart-collaterals .cart_totals table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 24px !important;
}
.cart-collaterals .cart_totals table.shop_table tr th,
.cart-collaterals .cart_totals table.shop_table tr td {
    padding: 12px 0 !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(124, 126, 128, 0.15) !important;
    text-align: left !important;
    font-size: 14px !important;
}
.cart-collaterals .cart_totals table.shop_table tr th {
    color: #7C7E80 !important;
    font-weight: 500 !important;
    width: 35% !important;
}
.cart-collaterals .cart_totals table.shop_table tr td {
    color: #13264A !important;
    font-weight: 700 !important;
    text-align: right !important;
}
.cart-collaterals .cart_totals table.shop_table tr.order-total td {
    color: #13264A !important;
    font-size: 18px !important;
}

/* Proceed to Checkout Button */
.cart-collaterals .cart_totals .wc-proceed-to-checkout {
    padding: 0 !important;
}
.cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 50px !important;
    background: #13264A !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    box-shadow: 0 4px 15px rgba(19, 38, 74, 0.2) !important;
}
.cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: #0E1C37 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(19, 38, 74, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Header Search Trigger Button Fix (Light Theme) */
.custom-search-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(124, 126, 128, 0.25) !important;
    border-radius: 12px !important;
    color: #13264A !important;
    background-color: #FFFFFF !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.custom-search-trigger svg {
    stroke: #13264A !important;
    transition: stroke 0.2s ease !important;
}

.custom-search-trigger:hover {
    border-color: #13264A !important;
    color: #ffffff !important;
    background-color: #13264A !important;
}

.custom-search-trigger:hover svg {
    stroke: #ffffff !important;
}

/* Live Search Modal Controls Bar & Keyboard Badges Fix */
.search-controls-bar {
    color: rgba(255, 255, 255, 0.75) !important;
}

.control-right,
.control-right span {
    color: rgba(255, 255, 255, 0.85) !important;
}

.control-right kbd {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 6px !important;
    padding: 3px 7px !important;
    font-family: inherit !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Single Product Comparison Table Responsive Fix */
@media (max-width: 768px) {
    .table-responsive {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .comparison-table {
        min-width: 100% !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px !important;
        font-size: 13px !important;
    }

    .comparison-table th {
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        padding-left: 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 11.5px !important;
    }

    .comparison-table th {
        font-size: 10px !important;
        letter-spacing: 0.2px !important;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        padding-left: 10px !important;
        font-size: 11px !important;
    }
}

/* Verification Grid & Lab Specs Card Grid Layout */
.validation-specs-table-wrap {
    background-color: #FFFFFF !important;
    border-radius: 20px !important;
    border: 1px solid rgba(124, 126, 128, 0.2) !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.specs-grid-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}

.spec-row-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    background-color: #F8FAFC !important;
    border: 1px solid rgba(124, 126, 128, 0.12) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.spec-row-card.full-width {
    grid-template-columns: 1fr !important;
}

.spec-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.spec-label {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #7C7E80 !important;
    letter-spacing: 0.8px !important;
}

.spec-value {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #13264A !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
}

.spec-value.green-text {
    color: #13264A !important;
    font-weight: 800 !important;
}

@media (max-width: 768px) {
    .validation-summary-card {
        padding: 28px 20px !important;
        border-radius: 16px !important;
    }

    .val-purity-big {
        font-size: 44px !important;
    }

    .validation-summary-card h3 {
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }

    .validation-specs-table-wrap {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    .specs-grid-container {
        gap: 10px !important;
    }

    .spec-row-card {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    .spec-label {
        font-size: 10px !important;
        letter-spacing: 0.6px !important;
    }

    .spec-value {
        font-size: 12.5px !important;
    }
}

@media (max-width: 480px) {
    .validation-summary-card {
        padding: 22px 16px !important;
    }

    .val-purity-big {
        font-size: 38px !important;
    }

    .val-verify-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 16px !important;
        box-sizing: border-box !important;
    }

    .spec-row-card {
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    .spec-label {
        font-size: 9.5px !important;
    }

    .spec-value {
        font-size: 12px !important;
    }
}