/*
Theme Name: Russian Heritage
Theme URI: 
Author: You
Author URI: 
Description: A barebones custom theme optimized for Elementor.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: russian-heritage
*/

/* Add your custom CSS here */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.woocommerce-page .site-main {
    padding: 10px 0 40px;
}

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

/* ==========================================================================
   WooCommerce Styles (Matching Target Reference Designs)
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.woocommerce-loop-product__title,
.product_title {
    font-family: Merriweather, Georgia, serif;
    color: #364f75;
}

/* Global WooCommerce Button Styling */
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce input.button {
    background-color: #193BB6 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 13px 32px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: none !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    transition: background-color 0.25s ease, transform 0.15s ease !important;
    cursor: pointer !important;
}

.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button:hover {
    background-color: #112a86 !important;
    color: #ffffff !important;
}

.woocommerce button.button:disabled,
.woocommerce button.button[disabled],
.woocommerce button.button:disabled:hover,
.woocommerce button.button[disabled]:hover {
    background-color: #193BB6 !important;
    color: #ffffff !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

/* Standard notices */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #193BB6;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #193BB6;
}

/* --------------------------------------------------------------------------
   IMAGE 1: Empty Cart Page Design
   -------------------------------------------------------------------------- */
.woocommerce-page .cart-empty,
.woocommerce-cart .cart-empty,
.woocommerce-page .woocommerce-info.cart-empty,
.woocommerce-info.cart-empty {
    border: 1px solid #ebebeb !important;
    background-color: #ffffff !important;
    color: #888888 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: center !important;
    padding: 26px 30px !important;
    margin: 30px auto 35px auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Hide default WooCommerce info icon for empty cart */
.woocommerce-page .cart-empty::before,
.woocommerce-cart .cart-empty::before,
.woocommerce-page .woocommerce-info.cart-empty::before,
.woocommerce-info.cart-empty::before {
    display: none !important;
    content: none !important;
}

/* Centered RETURN TO SHOP button */
.woocommerce-page .return-to-shop,
.woocommerce-cart .return-to-shop {
    text-align: center !important;
    margin: 0 auto 50px auto !important;
}

.woocommerce-page .return-to-shop .button,
.woocommerce-cart .return-to-shop .button,
.woocommerce-page .return-to-shop a.button.wc-backward,
.woocommerce-cart .return-to-shop a.button.wc-backward {
    background-color: #193BB6 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 38px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    border: none !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    transition: background-color 0.25s ease !important;
}

.woocommerce-page .return-to-shop .button:hover,
.woocommerce-cart .return-to-shop .button:hover,
.woocommerce-page .return-to-shop a.button.wc-backward:hover,
.woocommerce-cart .return-to-shop a.button.wc-backward:hover {
    background-color: #112a86 !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   IMAGE 3: Active Cart Page Table & Totals Design
   -------------------------------------------------------------------------- */
.woocommerce-cart .woocommerce-cart-form {
    margin-bottom: 20px;
}

/* Table general layout */
.woocommerce-cart table.shop_table.cart,
.woocommerce-cart table.woocommerce-cart-form__contents {
    border: none !important;
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* Table Header */
.woocommerce-cart table.shop_table.cart thead,
.woocommerce-cart table.woocommerce-cart-form__contents thead {
    border-bottom: 1px solid #eef1f5 !important;
}

.woocommerce-cart table.shop_table.cart thead th,
.woocommerce-cart table.woocommerce-cart-form__contents thead th {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    padding: 16px 10px 16px 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eef1f5 !important;
    background: transparent !important;
    vertical-align: middle !important;
}

.woocommerce-cart table.shop_table.cart thead th.product-name,
.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-name {
    text-align: left !important;
}

.woocommerce-cart table.shop_table.cart thead th.product-price,
.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-price {
    text-align: left !important;
}

.woocommerce-cart table.shop_table.cart thead th.product-quantity,
.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-quantity {
    text-align: center !important;
}

.woocommerce-cart table.shop_table.cart thead th.product-subtotal,
.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-subtotal {
    text-align: right !important;
}

/* Table Rows & Cells */
.woocommerce-cart table.shop_table.cart tbody tr.cart_item,
.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.cart_item,
.woocommerce-cart table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item,
.woocommerce-cart table.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item {
    border-bottom: 1px solid #eef1f5 !important;
    border-top: none !important;
    background: transparent !important;
}

.woocommerce-cart table.shop_table.cart tbody td,
.woocommerce-cart table.woocommerce-cart-form__contents tbody td {
    padding: 22px 10px 22px 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eef1f5 !important;
    vertical-align: middle !important;
    background: transparent !important;
}

/* Remove button cell */
.woocommerce-cart table.shop_table.cart td.product-remove,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-remove {
    width: 28px !important;
    padding-right: 10px !important;
    text-align: center !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-remove a.remove {
    color: #888888 !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-remove a.remove:hover {
    color: #193BB6 !important;
    background: transparent !important;
}

/* Thumbnail cell */
.woocommerce-cart table.shop_table.cart td.product-thumbnail,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail {
    width: 70px !important;
    padding-right: 18px !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail img,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-thumbnail img {
    width: 65px !important;
    height: 65px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

/* Product title cell */
.woocommerce-cart table.shop_table.cart td.product-name,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-name {
    text-align: left !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-name a {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-cart table.shop_table.cart td.product-name a:hover,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-name a:hover {
    color: #193BB6 !important;
}

/* Price & Subtotal cells */
.woocommerce-cart table.shop_table.cart td.product-price,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-price {
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #777777 !important;
    text-align: left !important;
}

.woocommerce-cart table.shop_table.cart td.product-subtotal,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal {
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #777777 !important;
    text-align: right !important;
}

.woocommerce-cart table.shop_table.cart td.product-price .amount,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-price .amount,
.woocommerce-cart table.shop_table.cart td.product-subtotal .amount,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal .amount {
    color: #777777 !important;
    font-weight: 400 !important;
    font-family: Montserrat, sans-serif !important;
}

/* Quantity Cell & Stepper (+ / - circular buttons) */
.woocommerce-cart table.shop_table.cart td.product-quantity,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity {
    text-align: center !important;
}

.woocommerce .quantity,
.woocommerce-cart .quantity,
.woocommerce-page .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    gap: 0 !important;
}

.woocommerce .quantity .quantity-button,
.woocommerce .quantity .quantity-minus,
.woocommerce .quantity .quantity-plus,
.woocommerce .quantity .qodef-quantity-minus,
.woocommerce .quantity .qodef-quantity-plus {
    width: 34px !important;
    height: 34px !important;
    line-height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid #e0e0e0 !important;
    background-color: #ffffff !important;
    color: #777777 !important;
    font-size: 17px !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.woocommerce .quantity .quantity-button:hover,
.woocommerce .quantity .quantity-minus:hover,
.woocommerce .quantity .quantity-plus:hover,
.woocommerce .quantity .qodef-quantity-minus:hover,
.woocommerce .quantity .qodef-quantity-plus:hover {
    border-color: #364f75 !important;
    color: #364f75 !important;
    background-color: #ffffff !important;
}

.woocommerce .quantity input.qty,
.woocommerce .quantity input.custom-quantity-input,
.woocommerce .quantity input.qodef-quantity-input {
    width: 44px !important;
    height: 34px !important;
    line-height: 34px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #555555 !important;
    padding: 0 !important;
    margin: 0 4px !important;
    outline: none !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
}

.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Actions Row: Update Cart & Coupon */
.woocommerce-cart table.shop_table.cart tbody td.actions,
.woocommerce-cart table.woocommerce-cart-form__contents tbody td.actions {
    padding: 28px 0 0 0 !important;
    border-bottom: none !important;
    background: transparent !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon,
.woocommerce-cart table.woocommerce-cart-form__contents td.actions .coupon {
    float: left !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon input#coupon_code,
.woocommerce-cart table.woocommerce-cart-form__contents td.actions .coupon input#coupon_code {
    border-radius: 30px !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 22px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    color: #555 !important;
    outline: none !important;
    width: 180px !important;
    height: auto !important;
    line-height: 1.4 !important;
    background: #fff !important;
}

.woocommerce-cart table.shop_table.cart td.actions .coupon button,
.woocommerce-cart table.woocommerce-cart-form__contents td.actions .coupon button {
    border-radius: 50px !important;
    padding: 12px 26px !important;
    font-size: 13px !important;
}

/* Right-aligned UPDATE CART button */
.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"],
.woocommerce-cart table.woocommerce-cart-form__contents td.actions button[name="update_cart"] {
    float: right !important;
    background-color: #193BB6 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 13px 32px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: none !important;
    transition: background-color 0.25s ease !important;
}

.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"]:hover,
.woocommerce-cart table.woocommerce-cart-form__contents td.actions button[name="update_cart"]:hover {
    background-color: #112a86 !important;
    color: #ffffff !important;
}

/* Clearfix for actions */
.woocommerce-cart table.shop_table.cart td.actions::after,
.woocommerce-cart table.woocommerce-cart-form__contents td.actions::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* --------------------------------------------------------------------------
   Cart Totals Section
   -------------------------------------------------------------------------- */
.woocommerce-cart .cart-collaterals {
    margin-top: 45px;
    clear: both;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    max-width: 600px !important;
    float: left !important;
    text-align: left !important;
}

.woocommerce-cart .cart-collaterals .cart_totals>h2 {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    margin: 0 0 25px 0 !important;
    text-align: left !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
    margin-bottom: 25px !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr {
    border-bottom: 1px solid #eef1f5 !important;
    border-top: none !important;
    background: transparent !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    text-align: left !important;
    padding: 18px 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eef1f5 !important;
    background: transparent !important;
    width: 35% !important;
    vertical-align: middle !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #777777 !important;
    text-align: left !important;
    padding: 18px 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eef1f5 !important;
    background: transparent !important;
    vertical-align: middle !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td .amount {
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #777777 !important;
}

/* Total row */
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total th {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total td {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total td strong,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total td b,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total td .amount {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    font-family: Montserrat, sans-serif !important;
}

/* Proceed to Checkout button */
.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    text-align: left !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: inline-block !important;
    background-color: #193BB6 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 34px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
    transition: background-color 0.25s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background-color: #112a86 !important;
    color: #ffffff !important;
}

/* PayPal Button alignment */
.woocommerce-cart #ppc-button,
.woocommerce-cart .ppc-button-wrapper,
.woocommerce-cart .cart-collaterals #ppc-button {
    max-width: 360px !important;
    margin: 12px 0 20px 0 !important;
    text-align: left !important;
}

/* Floating Back to Top Button */
.custom-back-to-top {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 44px !important;
    height: 44px !important;
    background-color: #193BB6 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease !important;
    transform: translateY(10px);
    box-shadow: 0 4px 12px rgba(25, 59, 182, 0.25) !important;
}

.custom-back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.custom-back-to-top:hover {
    background-color: #112a86 !important;
    color: #ffffff !important;
}

.custom-back-to-top svg {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-cart table.shop_table.cart td.actions .coupon {
        float: none !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .woocommerce-cart table.shop_table.cart td.actions .coupon input#coupon_code {
        flex: 1 !important;
        width: auto !important;
    }

    .woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        max-width: 100% !important;
        float: none !important;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* --------------------------------------------------------------------------
   GLOBAL WOOCOMMERCE FORM CONTROLS & INPUTS
   -------------------------------------------------------------------------- */
.woocommerce form .form-row {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.woocommerce form .form-row label {
    display: block !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #364f75 !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
}

.woocommerce form .form-row label .required {
    color: #193BB6 !important;
    text-decoration: none !important;
}

.woocommerce form .form-row .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
}

.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce select,
.woocommerce textarea,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #ebebeb !important;
    border-radius: 4px !important;
    padding: 14px 18px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #555555 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease !important;
    line-height: 1.5 !important;
}

.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce textarea:focus,
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout textarea:focus {
    border-color: #193BB6 !important;
    background-color: #ffffff !important;
}

.woocommerce input::placeholder,
.woocommerce textarea::placeholder,
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #bbbbbb !important;
    opacity: 1 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
}

.woocommerce textarea,
.woocommerce-checkout textarea {
    min-height: 160px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

/* Select2 / Dropdowns in WooCommerce Forms */
.woocommerce .select2-container .select2-selection--single,
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 52px !important;
    line-height: 50px !important;
    border: 1px solid #ebebeb !important;
    border-radius: 26px !important;
    background-color: #fcfcfc !important;
    padding: 0 20px !important;
    outline: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #888888 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    line-height: normal !important;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 18px !important;
    top: 0 !important;
}

.woocommerce .select2-dropdown,
.woocommerce-checkout .select2-dropdown {
    border: 1px solid #ebebeb !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
}

/* --------------------------------------------------------------------------
   CHECKOUT PAGE DESIGN (Matching Image 2 Reference)
   -------------------------------------------------------------------------- */
.woocommerce-checkout .woocommerce {
    margin-top: 10px;
}

/* Notice/Toggle boxes on checkout */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    border: 1px solid #ebebeb !important;
    background-color: #ffffff !important;
    color: #777777 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    padding: 18px 25px !important;
    margin-bottom: 30px !important;
    border-radius: 4px !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #193BB6 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Checkout form 2-column layout */
.woocommerce-checkout form.checkout #customer_details {
    display: flex !important;
    gap: 60px !important;
    margin-bottom: 50px !important;
}

.woocommerce-checkout form.checkout #customer_details .col-1,
.woocommerce-checkout form.checkout #customer_details .col-2 {
    flex: 1 1 50% !important;
    max-width: 50% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Billing & Additional info headings */
.woocommerce-checkout form.checkout #customer_details h3 {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    margin: 0 0 25px 0 !important;
    line-height: 1.3 !important;
}

/* First & Last name columns side by side */
.woocommerce-checkout form.checkout .form-row-first,
.woocommerce-checkout form.checkout .form-row-last {
    width: 48% !important;
    float: left !important;
}

.woocommerce-checkout form.checkout .form-row-last {
    float: right !important;
}

.woocommerce-checkout form.checkout .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

/* Additional information / Order notes */
.woocommerce-checkout .woocommerce-additional-fields p {
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #364f75 !important;
    font-weight: 500 !important;
    margin-bottom: 15px !important;
}

.woocommerce-checkout .woocommerce-additional-fields label {
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    color: #364f75 !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
}

/* Your Order Review Section */
.woocommerce-checkout #order_review_heading {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    margin: 40px 0 20px 0 !important;
    clear: both !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
    margin-bottom: 30px !important;
    background: transparent !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    padding: 16px 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eef1f5 !important;
    background: transparent !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th.product-total {
    text-align: right !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td {
    padding: 18px 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eef1f5 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    color: #777777 !important;
    background: transparent !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td.product-name {
    font-family: Merriweather, Georgia, serif !important;
    color: #364f75 !important;
    font-weight: 600 !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td.product-total {
    text-align: right !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    padding: 16px 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eef1f5 !important;
    background: transparent !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    color: #777777 !important;
    padding: 16px 0 !important;
    text-align: right !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eef1f5 !important;
    background: transparent !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td strong {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
    margin-top: 10px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
    list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    position: relative !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #eef1f5 !important;
    list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin-right: 12px !important;
    vertical-align: middle !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    cursor: pointer !important;
    display: inline !important;
    vertical-align: middle !important;
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    background-color: #f9f9f9 !important;
    color: #666666 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding: 16px 20px !important;
    border-radius: 4px !important;
    margin-top: 12px !important;
    border: 1px solid #eeeeee !important;
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box::before {
    display: none !important;
}

/* Place Order button */
.woocommerce-checkout #payment #place_order {
    background-color: #193BB6 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 15px 42px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background-color 0.25s ease !important;
    float: none !important;
    margin-top: 15px !important;
}

.woocommerce-checkout #payment #place_order:hover {
    background-color: #112a86 !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   SHOP / PRODUCT CATALOG ARCHIVE (Matching Image 3 Reference)
   -------------------------------------------------------------------------- */
.woocommerce-shop .site-main,
.woocommerce-archive .site-main {
    padding-top: 20px;
}

/* Top bar: Result Count & Ordering Dropdown */
.woocommerce .woocommerce-result-count,
.qodef-woo-results p {
    font-family: Montserrat, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #777777 !important;
    float: left !important;
    margin: 12px 0 35px 0 !important;
}

.woocommerce .woocommerce-ordering,
.qodef-woo-results .woocommerce-ordering {
    float: right !important;
    margin: 0 0 35px 0 !important;
}

.woocommerce .woocommerce-ordering select {
    border-radius: 25px !important;
    background-color: #f7f7f7 !important;
    border: 1px solid #e5e5e5 !important;
    padding: 10px 24px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #777777 !important;
    outline: none !important;
    cursor: pointer !important;
    width: auto !important;
    min-width: 200px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22%23777777%22%20d%3D%22M5%206L0%200h10z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
}

/* Clearfix for top bar */
.woocommerce-shop .woocommerce::before,
.woocommerce-archive .woocommerce::before,
.woocommerce-shop .woocommerce::after,
.woocommerce-archive .woocommerce::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* 3-Column Product Grid */
.woocommerce ul.products,
.qodef-woo-product-list ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px 30px !important;
    padding: 0 !important;
    margin: 0 0 50px 0 !important;
    list-style: none !important;
    clear: both !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

/* Individual Product Card */
.woocommerce ul.products li.product,
.qodef-woo-product-list ul.products>.product {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    background: transparent !important;
    text-align: left !important;
}

/* Product Image Link & Container */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .qodef-woo-product-image {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    text-decoration: none !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product .qodef-woo-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    transition: transform 0.4s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-LoopProduct-link img,
.woocommerce ul.products li.product:hover .qodef-woo-product-image img {
    transform: scale(1.03) !important;
}

/* Slide-up "ADD TO CART" button on product image hover */
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce ul.products li.product a.added_to_cart,
.qodef-woo-product-list .qodef-woo-product-image-inner .button,
.qodef-woo-product-list .qodef-woo-product-image-inner a.added_to_cart {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 0 !important;
    border-radius: 0 !important;
    background-color: #193BB6 !important;
    color: #ffffff !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    border: none !important;
    line-height: 1 !important;
    z-index: 5 !important;
    transform: translateY(100%) !important;
    transition: transform 0.35s ease, background-color 0.2s ease !important;
}

.woocommerce ul.products li.product:hover a.button.add_to_cart_button,
.woocommerce ul.products li.product:hover a.added_to_cart,
.qodef-woo-product-list .qodef-woo-product-inner:hover .qodef-woo-product-image-inner .button,
.qodef-woo-product-list .qodef-woo-product-inner:hover .qodef-woo-product-image-inner a.added_to_cart {
    transform: translateY(0) !important;
    clip-path: inset(0 0 0 0) !important;
}

.woocommerce ul.products li.product a.button.add_to_cart_button:hover,
.qodef-woo-product-list .qodef-woo-product-image-inner .button:hover {
    background-color: #112a86 !important;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.qodef-woo-product-list .qodef-woo-product-title {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.35 !important;
    margin: 18px 0 6px 0 !important;
    padding: 0 !important;
    transition: color 0.2s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title {
    color: #193BB6 !important;
}

/* Product Price */
.woocommerce ul.products li.product .price,
.qodef-woo-product-list .price {
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #777777 !important;
    margin: 0 !important;
    display: block !important;
}

.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price ins .amount {
    color: #777777 !important;
    font-weight: 400 !important;
    font-family: Montserrat, sans-serif !important;
}

.woocommerce ul.products li.product .price del .amount {
    color: #aaaaaa !important;
    margin-right: 8px !important;
}

/* Sale Flash Badge */
.woocommerce span.onsale,
.qodef-woo-product-mark {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    background-color: #193BB6 !important;
    color: #ffffff !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
    z-index: 4 !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    margin: 50px 0 30px 0 !important;
    text-align: center !important;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 8px !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #364f75 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 1px solid #ebebeb !important;
    transition: all 0.2s ease !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #193BB6 !important;
    border-color: #193BB6 !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   SINGLE PRODUCT DETAILS PAGE
   -------------------------------------------------------------------------- */
.single-product .site-main {
    padding-top: 30px;
}

/* Product two-column wrapper */
.single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 50px !important;
    margin-bottom: 60px !important;
    position: relative !important;
}

/* Gallery Column (Left 50%) */
.single-product div.product .woocommerce-product-gallery {
    flex: 1 1 calc(50% - 25px) !important;
    max-width: calc(50% - 25px) !important;
    min-width: 320px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.single-product div.product .woocommerce-product-gallery figure {
    margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 0 !important;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    z-index: 9 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    gap: 12px !important;
    margin-top: 15px !important;
    padding: 0 !important;
    list-style: none !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    opacity: 0.7 !important;
    transition: opacity 0.2s ease !important;
    border-radius: 2px !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
    opacity: 1 !important;
}

/* Product Summary Column (Right 50%) */
.single-product div.product .entry-summary {
    flex: 1 1 calc(50% - 25px) !important;
    max-width: calc(50% - 25px) !important;
    min-width: 320px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Product Title */
.single-product div.product .entry-summary h1.product_title {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.25 !important;
    margin: 0 0 15px 0 !important;
}

/* Product Price */
.single-product div.product .entry-summary p.price,
.single-product div.product .entry-summary span.price {
    font-family: Montserrat, sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    color: #364f75 !important;
    margin: 0 0 20px 0 !important;
    display: block !important;
}

.single-product div.product .entry-summary p.price .amount {
    color: #364f75 !important;
    font-weight: 500 !important;
}

.single-product div.product .entry-summary p.price del .amount {
    color: #aaaaaa !important;
    font-size: 18px !important;
    margin-right: 10px !important;
}

/* Short Description */
.single-product div.product .entry-summary .woocommerce-product-details__short-description {
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #777777 !important;
    margin: 0 0 30px 0 !important;
}

.single-product div.product .entry-summary .woocommerce-product-details__short-description p {
    margin: 0 0 15px 0 !important;
}

/* Add to cart form */
.single-product div.product .entry-summary form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    margin: 30px 0 40px 0 !important;
    flex-wrap: wrap !important;
}

.single-product div.product .entry-summary form.cart .button {
    background-color: #193BB6 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 40px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background-color 0.25s ease !important;
}

.single-product div.product .entry-summary form.cart .button:hover {
    background-color: #112a86 !important;
    color: #ffffff !important;
}

/* Variations */
.single-product div.product .entry-summary form.cart table.variations {
    width: 100% !important;
    margin-bottom: 20px !important;
    border: none !important;
}

.single-product div.product .entry-summary form.cart table.variations th.label {
    width: 25% !important;
    font-family: Merriweather, Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    padding: 10px 0 !important;
}

.single-product div.product .entry-summary form.cart table.variations td.value {
    padding: 10px 0 !important;
}

.single-product div.product .entry-summary form.cart table.variations select {
    border-radius: 25px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    width: 100% !important;
}

/* Product Meta */
.single-product div.product .entry-summary .product_meta {
    border-top: 1px solid #eef1f5 !important;
    padding-top: 25px !important;
    margin-top: 35px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    color: #777777 !important;
}

.single-product div.product .entry-summary .product_meta>span {
    display: block !important;
    margin-bottom: 8px !important;
}

.single-product div.product .entry-summary .product_meta strong,
.single-product div.product .entry-summary .product_meta .qodef-woo-meta-label {
    font-family: Merriweather, Georgia, serif !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    margin-right: 6px !important;
}

.single-product div.product .entry-summary .product_meta a {
    color: #777777 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.single-product div.product .entry-summary .product_meta a:hover {
    color: #193BB6 !important;
}

/* Product Tabs */
.single-product div.product .woocommerce-tabs {
    width: 100% !important;
    margin-top: 50px !important;
    clear: both !important;
}

.single-product div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 35px !important;
    padding: 0 0 15px 0 !important;
    margin: 0 0 35px 0 !important;
    border-bottom: 1px solid #eef1f5 !important;
    list-style: none !important;
}

.single-product div.product .woocommerce-tabs ul.tabs::before,
.single-product div.product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li a {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #888888 !important;
    text-decoration: none !important;
    padding: 0 0 15px 0 !important;
    position: relative !important;
    display: block !important;
    transition: color 0.2s ease !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li.active a,
.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #364f75 !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li.active a::after {
    content: "" !important;
    position: absolute !important;
    bottom: -16px !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-color: #193BB6 !important;
}

.single-product div.product .woocommerce-tabs .panel {
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #666666 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-product div.product .woocommerce-tabs .panel h2 {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    margin: 0 0 20px 0 !important;
}

/* Related Products Section */
.single-product .related.products,
.single-product .upsells.products {
    width: 100% !important;
    margin-top: 70px !important;
    clear: both !important;
}

.single-product .related.products>h2,
.single-product .upsells.products>h2 {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    letter-spacing: -0.015em !important;
    margin: 0 0 35px 0 !important;
}

/* --------------------------------------------------------------------------
   GLOBAL RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px 20px !important;
    }

    .woocommerce-checkout form.checkout #customer_details {
        gap: 40px !important;
    }

    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .entry-summary {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .woocommerce-checkout form.checkout #customer_details {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .woocommerce-checkout form.checkout #customer_details .col-1,
    .woocommerce-checkout form.checkout #customer_details .col-2 {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .woocommerce-checkout form.checkout .form-row-first,
    .woocommerce-checkout form.checkout .form-row-last {
        width: 100% !important;
        float: none !important;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }

    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    .woocommerce .woocommerce-ordering select {
        width: 100% !important;
    }
}

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.single_post_cls p a {
    color: #364f75;
    text-decoration: none;
    -webkit-transition: color .2s ease-out;
    -o-transition: color .2s ease-out;
    transition: color .2s ease-out;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
}

.single-post h3,
.single_post_cls h3 a {
    font-family: Merriweather, serif;
    font-weight: 700;
    letter-spacing: -.015em;
    color: #364f75;
    font-size: 25px;
    line-height: 1.28em;
    margin: 25px 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.single_post_cls h2 {
    font-family: Merriweather, serif;
    font-weight: 700;
    letter-spacing: -.015em;
    color: #364f75;
    font-size: 34px;
    line-height: 1.235em;
    margin: 25px 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

/* Custom Sidebar Widget Styles */
.custom-sidebar-wrapper {
    max-width: 350px;
    font-family: Merriweather, serif;
    color: #777;
}

.custom-sidebar-wrapper .sidebar-search {
    margin-bottom: 40px;
}

.custom-sidebar-wrapper .search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-sidebar-wrapper .search-field {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    font-size: 15px;
    color: #999;
    outline: none;
    box-shadow: none;
    background: #fff;
}

.custom-sidebar-wrapper .search-field::placeholder {
    color: #b5b5b5;
}

.custom-sidebar-wrapper .search-submit {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #b5b5b5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-sidebar-wrapper .search-submit svg {
    width: 18px;
    height: 18px;
}

.custom-sidebar-wrapper .sidebar-widget {
    margin-bottom: 40px;
}

.custom-sidebar-wrapper .widget-title {
    font-family: Merriweather, serif;
    color: #364f75;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

.custom-sidebar-wrapper .categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-sidebar-wrapper .categories-widget li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #777;
}

.custom-sidebar-wrapper .categories-widget li a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-sidebar-wrapper .categories-widget li a:hover {
    color: #2b3a4a;
}

.custom-sidebar-wrapper .news-widget p {
    color: #777;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.custom-sidebar-wrapper .bottom-search {
    margin-top: 50px;
    margin-bottom: 50px;
}

.custom-sidebar-wrapper .sidebar-social-icons {
    display: flex;
}

.custom-sidebar-wrapper .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: opacity 0.3s ease;
}

.custom-sidebar-wrapper .social-icon:hover {
    opacity: 0.8;
    color: #fff;
}

.custom-sidebar-wrapper .social-icon.facebook {
    background-color: #3b5998;
}

.custom-sidebar-wrapper .social-icon.twitter {
    background-color: #5ea9dd;
}

.custom-sidebar-wrapper .social-icon.linkedin {
    background-color: #b80000;
}

.custom-sidebar-wrapper .news-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-sidebar-wrapper .news-widget li {
    margin-bottom: 15px;
    font-size: 16px;
}

.custom-sidebar-wrapper .news-widget li a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-sidebar-wrapper .news-widget li a:hover {
    color: #2b3a4a;
}

/* Pagination Styles */
.elementor-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.elementor-pagination .page-numbers {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #b5b5b5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.elementor-pagination .page-numbers.current,
.elementor-pagination .page-numbers:hover {
    color: #777;
}

.elementor-pagination .elementor-screen-only {
    display: none;
}

/* Custom Archive Post Styles */
.custom-archive-post {
    margin-bottom: 50px;
}

.custom-archive-post .archive-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.custom-archive-post .archive-post-category {
    margin-bottom: 10px;
}

.custom-archive-post .archive-post-category a {
    font-family: Caveat, cursive;
    font-style: italic;
    color: #1f3ec1;
    font-size: 26px;
    text-decoration: none;
}

.custom-archive-post .entry-title {
    font-family: Merriweather, serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.custom-archive-post .entry-title a {
    color: #364f75;
    text-decoration: none;
}

.custom-archive-post .entry-summary {
    color: #777;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 20px;

}

.custom-archive-post .entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0a0a0;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.custom-archive-post .post-date {
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.custom-archive-post .post-date svg {
    color: #c0c0c0;
}

.custom-archive-post .post-author {
    color: #a0a0a0;
}

/* Archive Layout with Sidebar */
.archive-layout-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.archive-main-content {
    flex: 1;
    min-width: 60%;
}

.archive-sidebar {
    width: 350px;
    max-width: 100%;
}

@media (max-width: 991px) {
    .archive-layout-wrapper {
        flex-direction: column;
    }

    .archive-sidebar {
        width: 100%;
    }
}

/* Search Results Layout */
.search-hero-section {
    position: relative;
    padding: 100px 20px;
    background-color: #5b2361;
    background-image: linear-gradient(135deg, rgba(82, 12, 102, 0.8), rgba(28, 6, 38, 0.8));
    background-size: cover;
    background-position: top center;
    text-align: center;
    color: #fff;
}

.search-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.search-hero-section .container {
    position: relative;
    z-index: 2;
}

.search-hero-title {
    font-family: Merriweather, serif;
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.search-container {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* New Search Box */
.search-new-search-box {
    margin-bottom: 60px;
}

.new-search-heading {
    font-family: Merriweather, serif;
    color: #364f75;
    font-size: 22px;
    margin-bottom: 20px;
}

.search-form-full {
    display: flex;
    max-width: 100%;
}

.search-form-full .search-field {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #eaeaea;
    border-right: none;
    font-size: 15px;
    outline: none;
    color: #777;
    font-family: Montserrat, sans-serif;
}

.search-form-full .search-submit {
    background-color: #52c5b6;
    color: #fff;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-form-full .search-submit:hover {
    background-color: #42ab9d;
}

.search-form-full .search-submit svg {
    width: 20px;
    height: 20px;
}

/* Search Results List */
.search-result-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.search-result-thumb {
    flex-shrink: 0;
    width: 150px;
}

.search-result-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-family: Merriweather, serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.search-result-title a {
    color: #364f75;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result-title a:hover {
    color: #4a6cce;
}

.search-result-excerpt {
    color: #777;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
}

.search-result-excerpt p {
    margin: 0;
}

@media (max-width: 768px) {
    .search-result-item {
        flex-direction: column;
        gap: 15px;
    }

    .search-result-thumb {
        width: 100px;
    }
}

/* ==========================================================================
   HEADER NAVIGATION MENU (Matching Reference 1st Image)
   ========================================================================== */

/* Header Container */
/* --- Desktop Layout (min-width: 1025px) --- */
@media (min-width: 1025px) {

    /* Header Container: Fixed 80px architectural bar */
    .custom_header_menu,
    .elementor-element.custom_header_menu {
        background-color: #193BB6 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
        position: relative !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Architectural Horizontal Line running across right section above the menu */
    .custom_header_menu:after {
        content: '' !important;
        position: absolute !important;
        top: 24px !important;
        left: 0 !important;
        right: 0 !important;
        height: 1px !important;
        background-color: rgba(255, 255, 255, 0.22) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    /* Left: Logo Container with Full-Height Vertical Divider */
    .custom_header_menu>.elementor-element-dfac23a,
    .custom_header_menu>.e-child:first-child {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-right: 1px solid rgba(255, 255, 255, 0.22) !important;
        padding: 0 32px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        align-self: stretch !important;
        height: 100% !important;
        background-color: #193BB6 !important;
        position: relative !important;
        z-index: 2 !important;
        box-sizing: border-box !important;
    }

    .custom_header_menu .elementor-element-dfac23a img,
    .custom_header_menu .elementor-widget-image img {
        height: 44px !important;
        max-height: 48px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* Center: Navigation Menu Container (Vertically centered below horizontal line) */
    .custom_header_menu>.elementor-element-a399a0f {
        display: flex !important;
        align-items: center !important;
        flex: 1 !important;
        margin-top: 24px !important;
        height: 56px !important;
        max-height: 56px !important;
        padding: 0 0 0 15px !important;
        position: relative !important;
        z-index: 3 !important;
        box-sizing: border-box !important;
    }

    .custom_header_menu>.elementor-element-a399a0f .elementor-widget-nav-menu,
    .custom_header_menu>.elementor-element-a399a0f .elementor-nav-menu--main,
    .custom_header_menu>.elementor-element-a399a0f ul.elementor-nav-menu {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
        list-style: none !important;
        gap: 0 !important;
    }

    .custom_header_menu ul.elementor-nav-menu>li {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
    }

    /* Menu Item Links: Crisp, Centered, White, Letter-spaced */
    .custom_header_menu .elementor-nav-menu a.elementor-item,
    .custom_header_menu .elementor-nav-menu a.elementor-item-anchor {
        font-family: Montserrat, sans-serif !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        letter-spacing: 0.12em !important;
        text-transform: uppercase !important;
        color: #ffffff !important;
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        line-height: 1 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        transition: color 0.2s ease !important;
    }

    /* Right: Search Widget Container with Vertical Divider */
    .custom_header_menu>.elementor-element-0ffa08d {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 24px !important;
        height: 56px !important;
        max-height: 56px !important;
        margin-left: auto !important;
        border-right: 1px solid rgba(255, 255, 255, 0.22) !important;
        padding: 0 25px !important;
        margin-right: 25px !important;
        position: relative !important;
        z-index: 3 !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Intermediate Laptop / Desktop Screens (1025px - 1280px): Compact spacing */
@media (min-width: 1025px) and (max-width: 1280px) {

    .custom_header_menu>.elementor-element-dfac23a,
    .custom_header_menu>.e-child:first-child {
        padding: 0 18px !important;
    }

    .custom_header_menu .elementor-nav-menu a.elementor-item,
    .custom_header_menu .elementor-nav-menu a.elementor-item-anchor {
        padding: 0 8px !important;
        font-size: 12px !important;
        letter-spacing: 0.08em !important;
    }

    .custom_header_menu>.elementor-element-0ffa08d {
        padding: 0 16px !important;
        margin-right: 15px !important;
    }
}

/* ==========================================================================
   DESKTOP NAV STATES & DROPDOWNS (Desktop Only: min-width: 1025px)
   ========================================================================== */
@media (min-width: 1025px) {

    /* Hover & Active States */
    .custom_header_menu .elementor-nav-menu a.elementor-item:hover,
    .custom_header_menu .elementor-nav-menu a.elementor-item:focus {
        color: rgba(255, 255, 255, 0.75) !important;
    }

    .custom_header_menu .elementor-nav-menu a.elementor-item.elementor-item-active,
    .custom_header_menu .elementor-nav-menu li.current-menu-item>a,
    .custom_header_menu .elementor-nav-menu li.current-menu-ancestor>a {
        color: #ffffff !important;
    }

    /* Remove Elementor Underlines & Icons */
    .custom_header_menu .elementor-nav-menu--layout-horizontal.e--pointer-underline .elementor-item:before,
    .custom_header_menu .elementor-nav-menu--layout-horizontal.e--pointer-underline .elementor-item:after,
    .custom_header_menu .elementor-item:before,
    .custom_header_menu .elementor-item:after {
        display: none !important;
        content: none !important;
        height: 0 !important;
        border: none !important;
    }

    .custom_header_menu .elementor-nav-menu .sub-arrow,
    .custom_header_menu .elementor-item .sub-arrow,
    .custom_header_menu .elementor-nav-menu svg.e-fas-caret-down {
        display: none !important;
    }

    /* Submenu Dropdowns */
    .custom_header_menu .elementor-nav-menu--dropdown,
    .custom_header_menu .elementor-nav-menu ul.sub-menu {
        background-color: #ffffff !important;
        border-radius: 2px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
        border: none !important;
        padding: 22px 24px !important;
        margin-top: 0 !important;
        list-style: none !important;
        min-width: 230px !important;
        overflow: visible !important;
    }

    .custom_header_menu .elementor-nav-menu--dropdown li,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li {
        padding: 4px 0 !important;
        margin: 0 !important;
        position: relative !important;
        background: transparent !important;
        list-style: none !important;
    }

    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-sub-item,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li a {
        font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-size: 14px !important;
        line-height: 24px !important;
        font-weight: 400 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        color: #777777 !important;
        padding: 2px 0 !important;
        display: block !important;
        position: relative !important;
        background: transparent !important;
        background-color: transparent !important;
        text-decoration: none !important;
        transition: transform 0.3s ease, color 0.3s ease !important;
    }

    /* Red / Coral Dot on the Left */
    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-sub-item:before,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li a:before {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        width: 5px !important;
        height: 5px !important;
        top: 50% !important;
        left: 0 !important;
        transform: translate(-15px, -50%) !important;
        border-radius: 50% !important;
        background-color: #f15b43 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease-in, transform 0.3s ease-in !important;
    }

    /* Hover and Active: Slide text right & reveal red dot */
    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-sub-item:hover,
    .custom_header_menu .elementor-nav-menu--dropdown li.current-menu-item>a.elementor-sub-item,
    .custom_header_menu .elementor-nav-menu--dropdown li.current-menu-ancestor>a.elementor-sub-item,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li a:hover,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li.current-menu-item>a,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li.current-menu-ancestor>a {
        background: transparent !important;
        background-color: transparent !important;
        color: #333333 !important;
        transform: translateX(15px) !important;
    }

    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-sub-item:hover:before,
    .custom_header_menu .elementor-nav-menu--dropdown li.current-menu-item>a.elementor-sub-item:before,
    .custom_header_menu .elementor-nav-menu--dropdown li.current-menu-ancestor>a.elementor-sub-item:before,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li a:hover:before,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li.current-menu-item>a:before,
    .custom_header_menu .elementor-nav-menu ul.sub-menu li.current-menu-ancestor>a:before {
        opacity: 1 !important;
    }

    /* Search Icon Styling */
    .custom_header_menu .elementor-widget-search-form,
    .custom_header_menu .elementor-search-form,
    .custom_header_menu .elementor-search-form__toggle,
    .custom_header_menu button.elementor-search-form__toggle,
    .custom_header_menu div.elementor-search-form__toggle {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: opacity 0.2s ease !important;
    }

    .custom_header_menu .elementor-search-form__toggle:hover {
        opacity: 0.8 !important;
    }

    .custom_header_menu .elementor-search-form__toggle svg,
    .custom_header_menu .elementor-search-form__toggle i,
    .custom_header_menu .elementor-search-form__toggle .e-font-icon-svg {
        fill: #ffffff !important;
        color: #ffffff !important;
        width: 17px !important;
        height: 17px !important;
        font-size: 17px !important;
        display: block !important;
    }
}

/* ==========================================================================
   STICKY HEADER MENU (Desktop Only: min-width: 1025px)
   ========================================================================== */
@media (min-width: 1025px) {

    /* Sticky Header Container: Fixed at top, Pure White Background, Sleek 65px Height, Subtle Shadow */
    .custom_header_menu.is-sticky,
    .custom_header_menu.elementor-sticky--effects,
    .custom_header_menu.elementor-sticky--active,
    .elementor-sticky--effects .custom_header_menu,
    .elementor-sticky--active .custom_header_menu,
    body.qodef-header--sticky-display .custom_header_menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background-color: #ffffff !important;
        border-bottom: 1px solid #ebeef2 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        height: 65px !important;
        min-height: 65px !important;
        max-height: 65px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        transition: background-color 0.3s ease, height 0.3s ease, box-shadow 0.3s ease !important;
    }

    /* Offset sticky menu below WordPress admin bar when logged in */
    body.admin-bar .custom_header_menu.is-sticky,
    body.admin-bar .custom_header_menu.elementor-sticky--effects,
    body.admin-bar .custom_header_menu.elementor-sticky--active {
        top: 32px !important;
    }

    /* Hide Top Architectural Line in Sticky Mode */
    .custom_header_menu.is-sticky:after,
    .custom_header_menu.elementor-sticky--effects:after,
    .custom_header_menu.elementor-sticky--active:after,
    .elementor-sticky--effects .custom_header_menu:after,
    .elementor-sticky--active .custom_header_menu:after,
    body.qodef-header--sticky-display .custom_header_menu:after {
        display: none !important;
    }

    /* Sticky Logo: Compact Left Column, Perfectly Centered Vertically & Horizontally */
    .custom_header_menu.is-sticky>.elementor-element-dfac23a,
    .custom_header_menu.is-sticky>.e-child:first-child,
    .custom_header_menu.elementor-sticky--effects>.elementor-element-dfac23a,
    .custom_header_menu.elementor-sticky--effects>.e-child:first-child {
        border-right: none !important;
        background-color: transparent !important;
        height: 100% !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: fit-content !important;
        flex: 0 0 auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        padding: 0 16px 0 25px !important;
        margin: 0 !important;
    }

    .custom_header_menu.is-sticky .elementor-element-dfac23a .elementor-widget,
    .custom_header_menu.is-sticky .elementor-element-dfac23a .elementor-widget-image,
    .custom_header_menu.is-sticky .elementor-element-dfac23a .elementor-widget-container,
    .custom_header_menu.is-sticky .elementor-element-dfac23a a,
    .custom_header_menu.elementor-sticky--effects .elementor-element-dfac23a .elementor-widget,
    .custom_header_menu.elementor-sticky--effects .elementor-element-dfac23a .elementor-widget-image,
    .custom_header_menu.elementor-sticky--effects .elementor-element-dfac23a .elementor-widget-container,
    .custom_header_menu.elementor-sticky--effects .elementor-element-dfac23a a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .custom_header_menu.is-sticky .elementor-element-dfac23a img,
    .custom_header_menu.elementor-sticky--effects .elementor-element-dfac23a img,
    .custom_header_menu.elementor-sticky--active .elementor-element-dfac23a img,
    .elementor-sticky--effects .custom_header_menu .elementor-element-dfac23a img,
    .elementor-sticky--active .custom_header_menu .elementor-element-dfac23a img,
    .custom_header_menu.is-sticky .elementor-widget-image img,
    .custom_header_menu.elementor-sticky--effects .elementor-widget-image img {
        height: 24px !important;
        max-height: 25px !important;
        width: auto !important;
        object-fit: contain !important;
        margin: auto 0 !important;
        padding: 0 !important;
        display: block !important;
        align-self: center !important;
        vertical-align: middle !important;
        filter: brightness(0) saturate(100%) invert(31%) sepia(21%) saturate(1478%) hue-rotate(178deg) brightness(96%) contrast(89%) !important;
        transition: filter 0.3s ease, height 0.3s ease !important;
    }

    /* Sticky Nav Menu Container: Starts Immediately Next to Logo & Expands to Fill Space */
    .custom_header_menu.is-sticky>.elementor-element-a399a0f,
    .custom_header_menu.elementor-sticky--effects>.elementor-element-a399a0f,
    .custom_header_menu.elementor-sticky--active>.elementor-element-a399a0f,
    .elementor-sticky--effects .custom_header_menu>.elementor-element-a399a0f,
    .elementor-sticky--active .custom_header_menu>.elementor-element-a399a0f {
        margin-top: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
        height: 65px !important;
        max-height: 65px !important;
        flex: 1 1 auto !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .custom_header_menu.is-sticky>.elementor-element-a399a0f .elementor-widget-nav-menu,
    .custom_header_menu.is-sticky>.elementor-element-a399a0f .elementor-nav-menu--main,
    .custom_header_menu.is-sticky>.elementor-element-a399a0f ul.elementor-nav-menu {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    /* Sticky Menu Links: Prominent, Big, Crisp Typography Matching 2nd Reference Image */
    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item,
    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item-anchor,
    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item span,
    .custom_header_menu.elementor-sticky--effects .elementor-nav-menu a.elementor-item,
    .custom_header_menu.elementor-sticky--effects .elementor-nav-menu a.elementor-item-anchor,
    .custom_header_menu.elementor-sticky--effects .elementor-nav-menu a.elementor-item span,
    .custom_header_menu.elementor-sticky--active .elementor-nav-menu a.elementor-item,
    .elementor-sticky--effects .custom_header_menu .elementor-nav-menu a.elementor-item,
    .elementor-sticky--active .custom_header_menu .elementor-nav-menu a.elementor-item {
        font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        letter-spacing: 0.12em !important;
        text-transform: uppercase !important;
        color: #3b5177 !important;
        line-height: 1 !important;
        transition: color 0.2s ease !important;
    }

    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item,
    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item-anchor,
    .custom_header_menu.elementor-sticky--effects .elementor-nav-menu a.elementor-item,
    .custom_header_menu.elementor-sticky--effects .elementor-nav-menu a.elementor-item-anchor {
        height: 65px !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 0 14px !important;
        background: transparent !important;
        text-decoration: none !important;
    }

    /* Sticky Menu Hover & Active */
    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item:hover,
    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item:focus,
    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item:hover span,
    .custom_header_menu.elementor-sticky--effects .elementor-nav-menu a.elementor-item:hover,
    .custom_header_menu.elementor-sticky--active .elementor-nav-menu a.elementor-item:hover {
        color: #193BB6 !important;
        background: transparent !important;
    }

    .custom_header_menu.is-sticky .elementor-nav-menu a.elementor-item.elementor-item-active,
    .custom_header_menu.elementor-sticky--effects .elementor-nav-menu a.elementor-item.elementor-item-active,
    .custom_header_menu.is-sticky .elementor-nav-menu li.current-menu-item>a,
    .custom_header_menu.elementor-sticky--effects .elementor-nav-menu li.current-menu-item>a {
        color: #3b5177 !important;
        background: transparent !important;
    }

    /* Sticky Search Container & Centered Vertical Line (Matching Reference Image) */
    .custom_header_menu.is-sticky>.elementor-element-0ffa08d,
    .custom_header_menu.is-sticky>.e-child:last-child,
    .custom_header_menu.is-sticky>div:last-child,
    .custom_header_menu.elementor-sticky--effects>.elementor-element-0ffa08d,
    .custom_header_menu.elementor-sticky--effects>.e-child:last-child,
    .custom_header_menu.elementor-sticky--effects>div:last-child {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
        height: 65px !important;
        max-height: 65px !important;
        margin-left: auto !important;
        margin-right: 25px !important;
        padding: 0 22px 0 15px !important;
        border-right: none !important;
        position: relative !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    /* Subtle Centered Vertical Line | to the right of search icon (26px height, vertically centered) */
    .custom_header_menu.is-sticky>.elementor-element-0ffa08d:after,
    .custom_header_menu.is-sticky>.e-child:last-child:after,
    .custom_header_menu.is-sticky>div:last-child:after,
    .custom_header_menu.elementor-sticky--effects>.elementor-element-0ffa08d:after,
    .custom_header_menu.elementor-sticky--effects>.e-child:last-child:after,
    .custom_header_menu.elementor-sticky--effects>div:last-child:after {
        content: '' !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        height: 26px !important;
        width: 1px !important;
        background-color: rgba(59, 81, 119, 0.28) !important;
        pointer-events: none !important;
    }

    /* Frameless Search Toggle in Sticky Mode: Completely Remove button box, background & borders */
    .custom_header_menu.is-sticky .elementor-element-0ffa08d,
    .custom_header_menu.is-sticky .elementor-element-0ffa08d *,
    .custom_header_menu.is-sticky .elementor-widget-search-form,
    .custom_header_menu.is-sticky .elementor-widget-search-form *,
    .custom_header_menu.is-sticky .elementor-search-form,
    .custom_header_menu.is-sticky .elementor-search-form__toggle,
    .custom_header_menu.is-sticky button.elementor-search-form__toggle,
    .custom_header_menu.is-sticky div.elementor-search-form__toggle,
    .custom_header_menu.elementor-sticky--effects .elementor-element-0ffa08d,
    .custom_header_menu.elementor-sticky--effects .elementor-element-0ffa08d *,
    .custom_header_menu.elementor-sticky--effects .elementor-widget-search-form,
    .custom_header_menu.elementor-sticky--effects .elementor-widget-search-form *,
    .custom_header_menu.elementor-sticky--effects .elementor-search-form,
    .custom_header_menu.elementor-sticky--effects .elementor-search-form__toggle,
    .custom_header_menu.elementor-sticky--effects button.elementor-search-form__toggle,
    .custom_header_menu.elementor-sticky--effects div.elementor-search-form__toggle {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
    }

    .custom_header_menu.is-sticky .elementor-search-form__toggle,
    .custom_header_menu.elementor-sticky--effects .elementor-search-form__toggle {
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        height: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }

    /* Clean Line Search Icon in Russian Heritage Navy Blue */
    .custom_header_menu.is-sticky .elementor-search-form__toggle svg,
    .custom_header_menu.is-sticky .elementor-search-form__toggle i,
    .custom_header_menu.is-sticky .elementor-search-form__toggle .e-font-icon-svg,
    .custom_header_menu.elementor-sticky--effects .elementor-search-form__toggle svg,
    .custom_header_menu.elementor-sticky--effects .elementor-search-form__toggle i,
    .custom_header_menu.elementor-sticky--effects .elementor-search-form__toggle .e-font-icon-svg {
        fill: #3b5177 !important;
        color: #3b5177 !important;
        width: 16px !important;
        height: 16px !important;
        font-size: 16px !important;
        stroke: none !important;
        transition: fill 0.2s ease, color 0.2s ease !important;
    }

    .custom_header_menu.is-sticky .elementor-search-form__toggle:hover svg,
    .custom_header_menu.is-sticky .elementor-search-form__toggle:hover i {
        fill: #193BB6 !important;
        color: #193BB6 !important;
    }
}

/* ==========================================================================
   HEADER SEARCH COVER BAR (Matching Reference 2nd Image)
   ========================================================================== */

/* Search Active Cover Container: Pure White Bar Replacing/Covering the Header */
.elementor-search-form--skin-full_screen .elementor-search-form__container,
.custom_header_menu .elementor-search-form--skin-full_screen .elementor-search-form__container {
    background-color: #ffffff !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    padding: 0 45px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out !important;
}

/* Adjust for WordPress Admin Bar */
body.admin-bar .elementor-search-form--skin-full_screen .elementor-search-form__container {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .elementor-search-form--skin-full_screen .elementor-search-form__container {
        top: 46px !important;
    }
}

/* Hidden state */
.elementor-search-form--skin-full_screen .elementor-search-form__container:not(.elementor-search-form--full-screen) {
    opacity: 0 !important;
    transform: translateY(-100%) !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Open state */
.elementor-search-form--skin-full_screen .elementor-search-form__container.elementor-search-form--full-screen {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
    visibility: visible !important;
}

/* Search Form wrapper */
.elementor-search-form--skin-full_screen .elementor-search-form,
.elementor-search-form--skin-full_screen form {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Search Input: Script Caveat Font, Blue, Left Aligned, No Underline */
.elementor-search-form--skin-full_screen .elementor-search-form input[type=search].elementor-search-form__input,
.elementor-search-form--skin-full_screen input.elementor-search-form__input {
    font-family: 'Caveat', cursive, 'Brush Script MT', Georgia, serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #364f75 !important;
    text-align: left !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: calc(100% - 60px) !important;
    max-width: 90% !important;
    caret-color: #364f75 !important;
}

.elementor-search-form--skin-full_screen input.elementor-search-form__input::placeholder,
.elementor-search-form--skin-full_screen input.elementor-search-form__input::-webkit-input-placeholder {
    font-family: 'Caveat', cursive, 'Brush Script MT', Georgia, serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    opacity: 0.9 !important;
}

/* Hide Search Submit Button in Cover Mode */
.elementor-search-form--skin-full_screen .elementor-search-form__submit {
    display: none !important;
}

/* Close Button: Clean Blue "✕" Perfectly Centered Vertically */
.elementor-search-form--skin-full_screen .dialog-lightbox-close-button,
.elementor-search-form--skin-full_screen .dialog-close-button,
.elementor-lightbox .dialog-lightbox-close-button {
    position: absolute !important;
    top: 50% !important;
    right: 35px !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    -webkit-transform: translateY(-50%) !important;
    color: #364f75 !important;
    fill: #364f75 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
    transition: color 0.2s ease, fill 0.2s ease !important;
}

.elementor-search-form--skin-full_screen .dialog-lightbox-close-button:hover,
.elementor-search-form--skin-full_screen .dialog-close-button:hover,
.elementor-lightbox .dialog-lightbox-close-button:hover {
    color: #f15b43 !important;
    fill: #f15b43 !important;
}

.elementor-search-form--skin-full_screen .dialog-lightbox-close-button svg,
.elementor-search-form--skin-full_screen .dialog-close-button svg,
.elementor-search-form--skin-full_screen .dialog-lightbox-close-button i,
.elementor-search-form--skin-full_screen .dialog-close-button i,
.elementor-lightbox .dialog-lightbox-close-button svg {
    fill: currentColor !important;
    color: inherit !important;
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* --- Mobile & Tablet Responsive Layout (max-width: 1024px) --- */
@media (max-width: 1024px) {

    /* Mobile Header Bar: Clean White, 70px height, royal blue bottom line, sticky disabled */
    .custom_header_menu,
    .elementor-element.custom_header_menu {
        position: relative !important;
        background-color: #ffffff !important;
        height: 70px !important;
        min-height: 70px !important;
        max-height: 72px !important;
        padding: 0 20px !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-bottom: 2px solid #2855a4 !important;
        box-shadow: none !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* Prevent Elementor inner container / columns from wrapping into multiple rows */
    .custom_header_menu>.elementor-container,
    .custom_header_menu>.e-con-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 70px !important;
        max-height: 72px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Seamless transition when menu overlay is opened */
    .custom_header_menu.is-menu-open,
    body.mobile-menu-active .custom_header_menu {
        border-bottom-color: transparent !important;
    }

    /* Completely Disable Sticky Header on Mobile & Tablet */
    .custom_header_menu.is-sticky,
    .custom_header_menu.elementor-sticky--effects,
    .custom_header_menu.elementor-sticky--active,
    .elementor-sticky--effects .custom_header_menu,
    .elementor-sticky--active .custom_header_menu,
    body.qodef-header--sticky-display .custom_header_menu {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: 70px !important;
        min-height: 70px !important;
        max-height: 72px !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
        border-bottom: 2px solid #2855a4 !important;
        transform: none !important;
        z-index: 99999 !important;
    }

    .custom_header_menu.is-sticky.is-menu-open,
    body.mobile-menu-active .custom_header_menu.is-sticky {
        border-bottom-color: transparent !important;
    }

    .custom-header-spacer {
        display: none !important;
        height: 0 !important;
    }

    /* Hide the desktop architectural line on mobile */
    .custom_header_menu:after {
        display: none !important;
    }

    /* Column 1 (Logo): Left aligned, inline, no wrap */
    .custom_header_menu>.elementor-element-dfac23a,
    .custom_header_menu>.e-child:first-child,
    .custom_header_menu .elementor-container>.elementor-column:first-child,
    .custom_header_menu .elementor-container>.elementor-element-dfac23a,
    .custom_header_menu .e-con-inner>.elementor-element-dfac23a,
    .custom_header_menu .e-con-inner>.e-child:first-child {
        border-right: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 100% !important;
        width: auto !important;
        max-width: 80% !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        background-color: transparent !important;
    }

    .custom_header_menu .elementor-element-dfac23a .elementor-widget-container,
    .custom_header_menu .elementor-element-dfac23a .elementor-widget-image,
    .custom_header_menu .elementor-element-dfac23a a,
    .custom_header_menu .elementor-column:first-child a,
    .custom_header_menu .e-child:first-child a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 100% !important;
    }

    .custom_header_menu .elementor-element-dfac23a img,
    .custom_header_menu .elementor-widget-image img,
    .custom_header_menu .elementor-column:first-child img,
    .custom_header_menu .e-child:first-child img {
        height: 50px !important;
        max-height: 52px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 !important;
        filter: brightness(0) saturate(100%) invert(31%) sepia(21%) saturate(1478%) hue-rotate(178deg) brightness(96%) contrast(89%) !important;
    }

    /* Column 2 (Menu & Toggle): Right aligned, inline next to logo */
    .custom_header_menu>.elementor-element-a399a0f,
    .custom_header_menu>.e-child:nth-child(2),
    .custom_header_menu .elementor-container>.elementor-column:nth-child(2),
    .custom_header_menu .elementor-container>.elementor-element-a399a0f,
    .custom_header_menu .e-con-inner>.elementor-element-a399a0f,
    .custom_header_menu .e-con-inner>.e-child:nth-child(2) {
        margin: 0 0 0 auto !important;
        height: 100% !important;
        max-height: 72px !important;
        padding: 0 !important;
        width: auto !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    /* Column 3 (Search): Hide completely on mobile */
    .custom_header_menu>.elementor-element-0ffa08d,
    .custom_header_menu .elementor-container>.elementor-column:last-child,
    .custom_header_menu .elementor-container>.elementor-element-0ffa08d,
    .custom_header_menu .e-con-inner>.elementor-element-0ffa08d {
        display: none !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Mobile Hamburger & Close Toggle Button */
    .custom_header_menu .elementor-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #364f75 !important;
        fill: #364f75 !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        padding: 6px !important;
        margin: 0 0 0 auto !important;
        cursor: pointer !important;
    }

    .custom_header_menu .elementor-menu-toggle svg,
    .custom_header_menu .elementor-menu-toggle i,
    .custom_header_menu .elementor-menu-toggle span {
        fill: #364f75 !important;
        color: #364f75 !important;
        stroke: #364f75 !important;
    }

    .custom_header_menu .elementor-menu-toggle svg {
        width: 32px !important;
        height: 32px !important;
    }

    .custom_header_menu .elementor-menu-toggle i {
        font-size: 32px !important;
        line-height: 1 !important;
    }

    /* Close Icon state when menu is opened */
    .custom_header_menu .elementor-menu-toggle.elementor-active svg {
        fill: #364f75 !important;
        color: #364f75 !important;
        stroke: #364f75 !important;
        width: 28px !important;
        height: 28px !important;
    }

    .custom_header_menu .elementor-menu-toggle.elementor-active i {
        font-size: 28px !important;
        line-height: 1 !important;
    }

    /* Mobile Dropdown Panel: Full-width pure white overlay below header */
    .custom_header_menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 70px) !important;
        max-height: calc(100vh - 70px) !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 22px 28px 40px 28px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 99998 !important;
        box-sizing: border-box !important;
    }

    /* Adjust for WP Admin Bar on mobile */
    body.admin-bar .custom_header_menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        top: 111px !important;
        height: calc(100vh - 111px) !important;
    }

    @media (min-width: 783px) and (max-width: 1024px) {
        body.admin-bar .custom_header_menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
            top: 97px !important;
            height: calc(100vh - 97px) !important;
        }
    }

    /* Hide dropdown when closed */
    .custom_header_menu .elementor-nav-menu--dropdown[aria-hidden="true"],
    .custom_header_menu .elementor-nav-menu--dropdown.elementor-nav-menu__container[aria-hidden="true"] {
        display: none !important;
    }

    /* Navigation list */
    .custom_header_menu .elementor-nav-menu--dropdown ul.elementor-nav-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        background: transparent !important;
    }

    .custom_header_menu .elementor-nav-menu--dropdown ul.elementor-nav-menu>li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        position: relative !important;
    }

    /* Top-Level Menu Items: Montserrat, Uppercase, Navy Blue, Clean Spacing */
    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-item,
    .custom_header_menu .elementor-nav-menu--dropdown ul.elementor-nav-menu>li>a {
        font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        letter-spacing: 0.12em !important;
        text-transform: uppercase !important;
        color: #364f75 !important;
        padding: 13px 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: auto !important;
        line-height: 1.4 !important;
        border: none !important;
        border-bottom: none !important;
        background: transparent !important;
        background-color: transparent !important;
        text-decoration: none !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-item:hover,
    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-item:focus,
    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-item.elementor-item-active,
    .custom_header_menu .elementor-nav-menu--dropdown ul.elementor-nav-menu>li.current-menu-item>a,
    .custom_header_menu .elementor-nav-menu--dropdown ul.elementor-nav-menu>li.current-menu-ancestor>a {
        color: #364f75 !important;
        background: transparent !important;
        background-color: transparent !important;
        transform: none !important;
    }

    /* Hide any broken font icons, default carets, and pseudo-elements */
    .custom_header_menu .elementor-nav-menu--dropdown a i,
    .custom_header_menu .elementor-nav-menu--dropdown a svg,
    .custom_header_menu .elementor-nav-menu--dropdown .sub-arrow,
    .custom_header_menu .elementor-nav-menu--dropdown a:before,
    .custom_header_menu .elementor-nav-menu--dropdown li:before {
        display: none !important;
        content: none !important;
    }

    /* Default: hide :after on regular items */
    .custom_header_menu .elementor-nav-menu--dropdown a:after {
        display: none;
        content: none;
    }

    /* Sleek Right Chevron '>' for Parent Items with Submenus */
    .custom_header_menu .elementor-nav-menu--dropdown .mobile-menu-arrow,
    .custom_header_menu .elementor-nav-menu--dropdown a.has-submenu:after,
    .custom_header_menu .elementor-nav-menu--dropdown li.menu-item-has-children>a:after,
    .custom_header_menu .elementor-nav-menu--dropdown li.elementor-item-has-children>a:after,
    .custom_header_menu .elementor-nav-menu--dropdown li.has-children-menu>a:after,
    .custom_header_menu .elementor-nav-menu--dropdown a.has-children-link:after,
    .custom_header_menu .elementor-nav-menu--dropdown li:has(> ul)>a:after {
        content: '' !important;
        display: inline-block !important;
        width: 7px !important;
        height: 7px !important;
        border-top: 1.5px solid #364f75 !important;
        border-right: 1.5px solid #364f75 !important;
        transform: rotate(45deg) !important;
        transition: transform 0.25s ease !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
    }

    /* Hide pseudo-element if .mobile-menu-arrow is rendered to prevent duplicate */
    .custom_header_menu .elementor-nav-menu--dropdown a.has-arrow-span:after,
    .custom_header_menu .elementor-nav-menu--dropdown a:has(.mobile-menu-arrow):after {
        display: none !important;
        content: none !important;
    }

    /* Rotated Down Chevron 'v' when Submenu is Expanded */
    .custom_header_menu .elementor-nav-menu--dropdown li.is-open>a .mobile-menu-arrow,
    .custom_header_menu .elementor-nav-menu--dropdown a.is-open .mobile-menu-arrow,
    .custom_header_menu .elementor-nav-menu--dropdown li.is-open>a:after,
    .custom_header_menu .elementor-nav-menu--dropdown a.is-open:after,
    .custom_header_menu .elementor-nav-menu--dropdown li.menu-item-has-children.is-open>a:after,
    .custom_header_menu .elementor-nav-menu--dropdown a.has-submenu.is-open:after,
    .custom_header_menu .elementor-nav-menu--dropdown a.highlighted:after,
    .custom_header_menu .elementor-nav-menu--dropdown a[aria-expanded="true"]:after {
        transform: rotate(135deg) !important;
    }

    /* Mobile Submenu Container */
    .custom_header_menu .elementor-nav-menu--dropdown ul.sub-menu {
        display: none;
        padding: 4px 0 10px 18px !important;
        margin: 0 !important;
        list-style: none !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        background-color: transparent !important;
        min-width: 0 !important;
    }

    .custom_header_menu .elementor-nav-menu--dropdown ul.sub-menu li {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        border: none !important;
        background: transparent !important;
    }

    /* Mobile Submenu Items: Title Case, Muted Grey, Regular weight, No dots */
    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-sub-item,
    .custom_header_menu .elementor-nav-menu--dropdown ul.sub-menu li a {
        font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
        font-size: 13.5px !important;
        font-weight: 400 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        color: #777777 !important;
        padding: 7px 0 !important;
        display: block !important;
        line-height: 1.4 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        text-decoration: none !important;
        transform: none !important;
    }

    /* Remove red dots and transforms from mobile sub-items */
    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-sub-item:before,
    .custom_header_menu .elementor-nav-menu--dropdown ul.sub-menu li a:before {
        display: none !important;
        content: none !important;
    }

    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-sub-item:hover,
    .custom_header_menu .elementor-nav-menu--dropdown a.elementor-sub-item:focus,
    .custom_header_menu .elementor-nav-menu--dropdown ul.sub-menu li a:hover,
    .custom_header_menu .elementor-nav-menu--dropdown ul.sub-menu li.current-menu-item>a {
        color: #364f75 !important;
        transform: none !important;
        background: transparent !important;
        background-color: transparent !important;
    }
}

/* ==========================================================================
   PRODUCT LINK TO DETAILS PAGE (Shop Page Interaction)
   ========================================================================== */
.woocommerce ul.products li.product .product-image-wrapper,
.woocommerce ul.products li.product .qodef-woo-product-image {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .product-image-wrapper a.woocommerce-LoopProduct-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 1 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #364f75 !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title a {
    color: #193BB6 !important;
}

/* Ensure Add to Cart button stays clickable on top */
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce ul.products li.product .product-hover-button-wrapper a.button {
    z-index: 10 !important;
}