/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Global overrides */

a {
    color: #337ab7;
    /* text-decoration: none; */
}

a:hover {
    color: #35baf2;
}

ul {
    margin-bottom: 10px;
}

button, input, optgroup, select, textarea {
    line-height: 1;
}

.select2-selection__rendered {
    padding-top: 0 !important;
    color: black !important;
}

.select2-selection--single {
    color: black !important;
}

button[type="submit"] {
    background-color: #35baf2 !important;
    color: white !important;
}

[data-elementor-type=archive] > div,
[data-elementor-type=product-archive] > div,
[data-elementor-type=wp-post] > div,
[data-elementor-type=wp-page] > div {
    padding: 0 10px;
}

.woocommerce-cart table.cart img {
    width: 60px;
    padding: 0;
}

/* Fix product configurator layout */

table tbody>tr:nth-child(odd)>td,table tbody>tr:nth-child(odd)>th {
    background-color: transparent !important;
}

table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: transparent !important;
}

table td, table th {
    padding: 10px;
}

table.variations td {
    padding: 0;
}

table.variations th {
    padding: 10px 0 10px 0;
}

.single_variation_wrap .price {
     display: none !important;
}

.product_title {
    margin-bottom: 0;
}

.single_variation_wrap {
    margin-top: 10 !important;
}

.quantity {
    margin-right: 10px !important;
}

/* Fix account page layout */

.woocommerce-button {
    margin: 5px 10px 5px 0px !important;
}

.woocommerce table.shop_table {
    margin: 0 -1px 10px 0;
}

button[name="save_account_details"] {
    margin-top: 10px !important;
}

input.wp-element-button {
    padding-top: 0 !important;
}

.woocommerce-account .addresses .title .edit {
    float: none;
}

/* Call to action button */

button.single_add_to_cart_button,
.checkout-button,
button[name="woocommerce_checkout_place_order"] {
    background-color: #dd3333 !important;
}

.checkout-button,
button#place_order {
    padding: 17px 40px !important;
    font-size: 18px !important;
    line-height: 21px !important;
}


/* Fix site header background color */

.fusion-header {
    background-color: #121715 !important;
}

/* Table colors for onboarding excercises */

table .green {
    background-color: #8f8;
}

table .red {
    background-color: #f88;
}

/* Avada header widget country, currency selector tweaks */

.avada-header-wrapper {
    background-color: #eee;
    text-align: center;
}

.product-grid-view {
    border-bottom-width: 1px !important;
}

.single-product .product_meta {
    display: none;
}

.select2-selection {
    text-align: left;
}

.country_selector_form,
.country_selector_form > *,
.avada-header-widget .currency_switch_form,
.widget_wc_aelia_currencyswitcher_widget,
.widget_wc_aelia_country_selector_widget
{
    display: inline;
}

.avada-header-widget {
    display: inline-block;
}

.widget_wc_aelia_country_selector_widget,
.tax_exempt_wrapper,
.avada-header-wrapper .avada-header-widget:last-child
{
    padding-left: 20px;
}

.tax_exempt_wrapper {
    white-space: nowrap;
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
}

/* Shop style overrides */

.product-title {
    font-style: normal !important;
}

.widget_wc_aelia_currencyswitcher_widget button {
    background: #35baf2;
    color: white;
    border: none;
    cursor: pointer;
    margin: 0 2px;
    padding: 3px 7px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
}

.widget_wc_aelia_currencyswitcher_widget button.active {
    background: #35baf2;
    font-weight: 600;
}

.product-template-default .fusion-page-title-bar {
    display: none;
}

.product-template-default main {
    padding-top: 20px !important;
}

.avada-single-product-gallery-wrapper {
    margin-bottom: 0 !important;
}

.woocommerce-tabs {
    padding-top: 20px !important;
}

input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="submit"], .select2 .select2-selection, .select2-selection__rendered, .select2-selection__arrow {
    height: 30px !important;
    line-height: 30px !important;
}

.woocommerce-validated input,
.woocommerce-validated .select2-selection {
    border-color: black !important;
}

.wc_payment_method img,
.wc_payment_method a {
    display: none;
}

.widget_wc_aelia_currencyswitcher_widget .avada-header-widget {
    padding-right: 1px;
}

/* Visual product configurator */

.country_selector_form {
    position: relative;
    top: -3px;
}

select.country_selector { opacity: 0; }

.woocommerce-cart-form__cart-item.cart_item .product-info {
    margin-top: 0;
}

.woocommerce-table__product-name.product-name .product-info {
    margin-left: 0;
    margin-top: 0;
}

.wp-block-image {
    margin-bottom: 10px !important;
}

.wp-block-image figcaption {
    text-align: left !important;
}

.single-product-widget-name {
    color: black;
    margin: 10px 0;
}

.elementor-widget-woocommerce_single_product_widget .price {
    margin-bottom: 10px !important;
    font-size: 1em !important;
}

.single-navigation {
    margin-bottom: 20px;
}

.elementor-nav-menu--main .elementor-item:hover
{
    color: #35baf2 !important;
}

.elementor-item-active {
    font-weight: 400 !important;
}

.wp-block-embed-youtube {
    max-width: 640px;
    margin: 0;
}

.handsontable-container .wtHolder {
    width: initial !important;
    height: initial !important;
}

.products .fusion-product-wrapper {
    border-bottom-width: 1px !important;
}

.product .product-border {
    border: 0 !important;
    margin: 0 !important;
}

/* Deduct VAT text widget tweak */
.widget_wc_aelia_country_selector_widget, .tax_exempt_wrapper, .avada-header-wrapper .avada-header-widget .textwidget {
    margin-bottom: 10px;
}

/* Deduct VAT text widget tweak */
@media only screen and (max-width:622px) {
    .widget_wc_aelia_country_selector_widget, .tax_exempt_wrapper, .avada-header-wrapper .avada-header-widget .textwidget {
        margin-top: 10px;
    }
}

/* Swatch customizations */

.iconic-was-swatch--selected {
    pointer-events: none; /* prevent active swatches from being disabled */
}

.iconic-was-swatches {
    margin: 0;
}

.variations tr {
    margin-bottom: 5px;
}

.reset_variations {
    display: none !important;
}

.reset_variations:hover {
    background-color: #35baf2 !important;
}

.product-type-variable .price {
    margin-bottom: 10px !important;
}

.single_variation_wrap {
    margin: 0 !important;
}

.no-comments {
    display: none; /* Remove the "clear" link */
}

/* 3:2 product page image aspect ratio */

.fusion-image-wrapper,
.product-type-simple .woocommerce-product-gallery__image,
.product-type-variable .iconic-pc-image-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 66%; /* aspect ratio */
    overflow: hidden;
}

.fusion-image-wrapper img,
.woocommerce-product-gallery__image img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain; /* Maintain aspect ratio and add padding */
}

/* Product widget rules */

.single-product-widget {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.single-product-widget-image {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.single-product-widget-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.elementor-widget-woocommerce_single_product_widget .elementor-widget-container {
    border-radius: 5px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
}
