/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* WC Buttons */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    background-color: var(--e-global-color-secondary);
    color: white;
    border: solid 1px var(--e-global-color-secondary);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button:hover {
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    color: var(--e-global-color-secondary);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button:disabled[disabled] {
    background-color: var(--e-global-color-secondary) !important;
    color: white !important;
    border: solid 1px var(--e-global-color-secondary) !important;
}

/* Product's categories list */
ul.products li.product-category a {
    text-align: center;
}

ul.products li.product-category a img {
    max-width: 100px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* WC Search */
.woocommerce-product-search {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.woocommerce-product-search [type="submit"]{
    flex-shrink: 0;
}

/* Single Product */
.single .entry-title {
    border: 0;
}

.reset_variations {
    display: none !important;
}

/* WC Sidebar */
.sidebar-box .wc-block-product-categories-list--has-images .wc-block-product-categories-list-item {
    margin: 0 0 1rem; 
    line-height: 1.3;
}

.sidebar-box .wc-block-product-categories-list--has-images .wc-block-product-categories-list-item > a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.sidebar-box .wc-block-product-categories-list--has-images .wc-block-product-categories-list-item__image {
    margin: 0;
    flex-shrink: 0;
}

/* Mini cart */
.woocommerce-Price-amount, .elementor-menu-cart__subtotal {
    display: none;
}

/* Archive title */
.woocommerce-products-header {
    display: none;
}

/* Cart table - remove price */
.woocommerce .woocommerce-cart-form .woocommerce-cart-form__contents thead .product-price,
.woocommerce .woocommerce-cart-form .woocommerce-cart-form__contents thead .product-subtotal,
.woocommerce .woocommerce-cart-form .woocommerce-cart-form__contents tbody .cart_item .product-price,
.woocommerce .woocommerce-cart-form .woocommerce-cart-form__contents tbody .cart_item .product-subtotal {
    display: none;
}

/* Cart styling */
.cart_totals {
    text-align: right;
}

.woowholeover {
    text-align: left;
}

.cart_totals h2 {
    display: none;
}

.cart_totals .shop_table {
    display: none;
}