/*
Theme Name: Amfissa Child
Theme URI: https://amfissa.qodeinteractive.com
Description: A child theme of Amfissa
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: amfissa
Template: amfissa
*/


body #qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image, 
body #yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
    flex-grow: 0;
}

body #qodef-woo-page.qodef--single .woocommerce-tabs .wc-tabs li a:before, 
body #yith-quick-view-content.single-product .woocommerce-tabs .wc-tabs li a:before {
    background: #9DA451;
}

body #qodef-back-to-top .qodef-btn-fill-color,
body #qodef-woo-page.qodef--cart .shop_table td.actions > .button::after, 
body #qodef-woo-page.qodef--cart .shop_table th.actions > .button::after, 
body .yith-wcwl-form .shop_table td.actions > .button::after, 
body .yith-wcwl-form .shop_table th.actions > .button::after {
    background-color: #9DA451 !important;
}
body .widget_amfissa_core_woo_side_area_cart .qodef-widget-side-area-cart-inner .qodef-m-action-link.qodef-m-cart-link .qodef-btn-fill-color {
    background-color: #9DA451 !important;
}
/* butoane cart */
/*
body #qodef-woo-page .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple), 
body #yith-quick-view-modal .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple), 
body .qodef-woo-shortcode .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple),
#qodef-woo-page .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple):hover, 
#yith-quick-view-modal .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple):hover, 
.qodef-woo-shortcode .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple):hover {
	color: #fff;
	background-color: #5B8240;
}
body .widget.woocommerce .button, .widget.woocommerce .woocommerce-widget-layered-nav-dropdown__submit {
    background-color: #5B8240;
}
#qodef-woo-page .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple)::after, #yith-quick-view-modal .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple)::after, .qodef-woo-shortcode .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple)::after {
    opacity: 0.2;
    background-color: #fff;
}
*/

body .qodef-woo-product-category-list.qodef-item-layout--info-below .product-category a .qodef-product-category-image, 
body .qodef-woo-product-list .product-category a .qodef-product-category-image { 
    opacity: 0.7;
}
body .qodef-woo-product-category-list.qodef-item-layout--info-below .product-category a .qodef-product-category-image:hover, 
body .qodef-woo-product-list .product-category a .qodef-product-category-image:hover {
    opacity: 1;
}

[class*="amfissa"] .select2-container--default .select2-dropdown {
    box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.47);
    -webkit-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.47);
    -moz-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.47);
}

.qodef-product-attributes .att_label {
    padding-right: 20px;
}
.qodef-product-attributes .att_value {
    text-align: right;
}

.newsletter-form  {
    display: flex;
}
.newsletter-form input:not([type="submit"]) {
    background-color: #fff;
    margin-bottom: 0;
}
.mc4wp-form .mc4wp-response {
    color: #fff;
}

#qodef-page-footer-top-area .qodef-grid-item:last-child {
    text-align: center;
}

.wc-block-components-checkout-place-order-button {
    position: relative;
  display: inline-flex;
  vertical-align: middle;
  font-family: "DM Sans",sans-serif;
  font-size: 13px;
  letter-spacing: .2em;
  line-height: 1.3em;
  font-weight: 500;
  width: auto;
  margin: 0;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0;
  outline: 0;
  transition: color .2s ease-out,border-color .2s ease-out;
  padding: 20px 27px;
  cursor: pointer;
  z-index: 3;
  color: #fff;
  background-color: #000;
  border: 1px solid transparent;
  overflow: hidden;
  z-index: 3;
}
.wc-block-components-checkout-place-order-button::after {
    content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #3c3434;
  left: 0;
  top: 100%;
  z-index: -1;
  transition: top .3s cubic-bezier(.37,-.05,0,.79);
}
.wc-block-components-checkout-place-order-button:hover::after {
    top: 0;
}

@media only screen and (max-width:480px) {
  body section.qodef-elementor-content-grid>.elementor-container,
  body section.qodef-elementor-content-grid>.elementor-element {
    width:calc(100% - 40px)
  }
  body section.qodef-elementor-content-grid.qodef-extended-grid--right>.elementor-container,
  body section.qodef-elementor-content-grid.qodef-extended-grid--right>.elementor-element {
    padding-left:calc((100% - calc(100% - 40px))/ 2)
  }
  body section.qodef-elementor-content-grid.qodef-extended-grid--left>.elementor-container,
  body section.qodef-elementor-content-grid.qodef-extended-grid--left>.elementor-element {
    padding-right:calc((100% - calc(100% - 40px))/ 2)
  }
  body .qodef-content-grid {
    width:calc(100% - 40px)
  }
  body .qodef-content-grid.qodef-extended-grid--right {
    padding-left:calc((100% - calc(100% - 40px))/ 2)
  }
  body .qodef-content-grid.qodef-extended-grid--left {
    padding-right:calc((100% - calc(100% - 40px))/ 2)
  }
  body .qodef--boxed .qodef-content-grid {
    width:calc(calc(100% - 40px) + 60px)
  }
  #qodef-page-footer #qodef-page-footer-top-area-inner {
    padding:60px 0 0
  }
  .variations_form .variations tr {
    display: flex;
    flex-direction: column;
  }
  #qodef-woo-page.qodef--single .single_add_to_cart_button::before, 
  #yith-quick-view-content.single-product .single_add_to_cart_button::before {
    display: none;
  }
    #qodef-woo-page .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple), 
    #yith-quick-view-modal .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple), 
    .qodef-woo-shortcode .button:not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external):not(.product_type_variable):not(.product_type_simple) {
        padding: 12px 20px;
    }
    .woocommerce-error, .woocommerce-info, .woocommerce-message {
        flex-direction: column;
    }
    .woocommerce-error .button, .woocommerce-info .button, .woocommerce-message .button {
        margin-top: 20px !important;
    }
    .actions .coupon {
        padding-bottom: 20px;
    }
}
@media only screen and (max-width: 680px) {
    .newsletter-form  {
        display: block;
        text-align: center;
    }
    .newsletter-form input:not([type="submit"]) {
        margin-bottom: 20px;
    }


    .woocommerce-orders-table.shop_table_responsive  thead {
        display: none;   /* hide headers */
    }

    .woocommerce-orders-table.shop_table_responsive ,
    .woocommerce-orders-table.shop_table_responsive  tbody,
    .woocommerce-orders-table.shop_table_responsive  tr,
    .woocommerce-orders-table.shop_table_responsive  td {
        display: block;
        width: 100%;
    }

    .woocommerce-orders-table.shop_table_responsive  tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
    }

    .woocommerce-orders-table.shop_table_responsive  td {
        display: flex;
        justify-content: space-between;
        border: none;
        border-bottom: 1px solid #eee;
        text-align: right;
        padding-left: 0 !important;
    }

    .woocommerce-orders-table.shop_table_responsive td:last-child {
        border-bottom: none;
    }

    /* Add label before value */
    .woocommerce-orders-table.shop_table_responsive td::before {
        content: attr(data-title);
        font-weight: bold;
        text-align: left;
        color: #555;
    }

}

@media only screen and (max-width: 1024px) {
    #qodef-page-footer #qodef-page-footer-top-area .qodef-col-num--3 .qodef-grid-item:first-child {
       width: 100%; 
    }
    #qodef-page-footer #qodef-page-footer-top-area .qodef-col-num--3 .qodef-grid-item {
        width: 100%;
    }
}


form.wpcf7-form .wpcf7-submit {
    position: relative;
}

form.wpcf7-form.submitting .wpcf7-submit {
    pointer-events: none;
    opacity: 0.8;
}

form.wpcf7-form.submitting .wpcf7-submit span {
    opacity: 0.55;
}

form.wpcf7-form.submitting .wpcf7-submit::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: wpcf7-spin 0.7s linear infinite;
}

@keyframes wpcf7-spin {
    to {
        transform: rotate(360deg);
    }
}