/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://caggiatiby.by/
 Description:  Child theme for Caggiati (Hello Elementor).
 Author:       Caggiati
 Author URI:   https://caggiatiby.by/
 Template:     hello-elementor
 Version:      1.0.0
 Requires at least: 6.0
 Requires PHP: 7.4
 License:      GNU General Public License v3 or later
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  hello-elementor-child
*/

/* Child theme base — site styles live in assets/css/caggiati.css */

/* —— Classic cart (old look, same brand as previous block cart) —— */
body.woocommerce-cart .woocommerce {
  max-width: 920px;
  margin: 0 auto 60px;
  padding: 0 15px;
}

body.woocommerce-cart table.shop_table {
  width: 100%;
  border: 1px solid #ececec !important;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 2rem;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
  border: 0 !important;
  border-bottom: 1px solid #ececec !important;
  padding: 18px 14px !important;
  vertical-align: middle;
  background: transparent !important;
}

body.woocommerce-cart table.shop_table thead th {
  font-family: "OpenSansCondensed", "Open Sans Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #909090;
  letter-spacing: 0.03em;
}

body.woocommerce-cart table.shop_table .product-name a,
body.woocommerce-cart table.shop_table .product-name {
  font-size: 18px !important;
  text-decoration: none !important;
  color: #F15C22 !important;
  font-weight: 700;
}
body.woocommerce-cart table.shop_table .product-name a.caggiati-calc-edit-link{
  background: transparent!important;
  border: none!important;
}

body.woocommerce-cart table.shop_table .product-thumbnail img {
  width: 72px;
  height: auto;
  border: 1px solid #ececec;
}

body.woocommerce-cart table.shop_table .product-remove a {
  color: #909090 !important;
  font-size: 1.4rem;
}

body.woocommerce-cart table.shop_table .product-remove a:hover {
  color: #F15C22 !important;
}

body.woocommerce-cart .quantity .qty {
  width: 64px;
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

body.woocommerce-cart .actions {
  padding: 18px 14px !important;
}

body.woocommerce-cart .coupon {
  display: none !important;
}

body.woocommerce-cart button[name="update_cart"],
body.woocommerce-cart a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a.button {
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid #F15C22 !important;
  color: #F15C22 !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-family: "OpenSansCondensed", "Open Sans Condensed", sans-serif !important;
  border-radius: 0 !important;
  padding: 12px 22px !important;
  box-shadow: none !important;
}

body.woocommerce-cart button[name="update_cart"]:hover,
body.woocommerce-cart a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.button:hover {
  background: #F15C22 !important;
  color: #fff !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  text-align: center;
  padding: 10px 0 40px;
}

body.woocommerce-cart .cart_totals {
  width: 100%;
  float: none !important;
  margin: 0 auto;
}

body.woocommerce-cart .cart_totals > h2,
body.woocommerce-cart .cart_totals > table.shop_table {
  display: none !important;
}

body.woocommerce-cart .cart-empty,
body.woocommerce-cart .woocommerce-info {
  text-align: center;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

body.woocommerce-cart .return-to-shop {
  text-align: center;
  margin-bottom: 50px;
}

body.woocommerce-cart .return-to-shop .button {
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid #F15C22 !important;
  color: #F15C22 !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  border-radius: 0 !important;
  padding: 12px 22px !important;
}

body.woocommerce-cart .return-to-shop .button:hover {
  background: #F15C22 !important;
  color: #fff !important;
}

body.woocommerce-cart .cart_item dl.variation {
  font-size: 0.9rem;
  color: #555;
  margin: 8px 0 0;
}

body.woocommerce-cart .cart_item dl.variation dt {
  float: none;
  font-weight: 600;
  margin: 0;
}

body.woocommerce-cart .cart_item dl.variation dd {
  margin: 0 0 6px;
}

body.woocommerce-cart .caggiati-calc-cart-text-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  max-width: 100%;
}
body.woocommerce-cart .caggiati-calc-cart-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}
body.woocommerce-cart a.caggiati-calc-edit-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #F15C22 !important;
  background: #fff !important;
  color: #F15C22 !important;
  text-decoration: none !important;
  box-sizing: border-box;
}
body.woocommerce-cart a.caggiati-calc-edit-link:hover {
  background: #F15C22 !important;
  color: #fff !important;
}
body.woocommerce-cart a.caggiati-calc-edit-link .caggiati-calc-edit-icon {
  display: block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wc-block-cart-items__header-total, .wp-block-woocommerce-cart-order-summary-block{
  display: none!important;

}
.wc-block-cart{
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.woocommerce-table--order-details tfoot{
  display: none!important;
}
.woocommerce-table__product-name a{
  text-decoration: none!important;
  color: #F15C22!important;

}
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name{
    font-size: 18px!important;
    text-decoration: none!important;
    color: #F15C22!important;
}
.wc-block-components-button:not(.is-link){
    text-decoration: none!important;
    background: transparent!important;
    border: 1px solid #F15C22!important;
    color: #F15C22!important;
   text-transform: uppercase!important;
   font-weight: 700!important;
}
.wc-block-components-button:not(.is-link):hover{
    background: #F15C22!important;
    color: #fff!important;
}
.elementor-field-group-form_company .elementor-field-subgroup{
    width: 100%;
}
.elementor-sticky--active .hide{
    display: flex!important;
}
.elementor-sticky--active > .elementor-element  > .e-con-inner{
  justify-content: space-between!important;
}
.elementor-sticky--active .elementor-nav-menu .elementor-item{
    padding-left: 0!important;
    padding-right: 0!important;
}
.elementor-slide-heading{
    display: flex!important;
}

.woocs-style-1-dropdown{
    border: none!important;
    box-shadow: none!important;
  }
  .woocs-style-1-select i{
    display: none!important;
  }
  .woocs-style-1-dropdown .woocs-style-1-select{
    padding: 0!important;
  }  

  .aside-menu .menu-item {
    border-bottom: 1px solid #ececec;
  }
  .aside-menu .menu-item:last-child {
    border-bottom: none;
  }
  .aside-menu{
    max-width: 245px !important;
  }
  body.woocommerce-checkout #place_order{
    margin-bottom: 50px;
      color: #F15C22!important;
      background: transparent!important;
      border: 1px solid #F15C22!important;
  }
  @media screen and (max-width:1024px){
    .cag-header-nav .elementor-nav-menu--burger{
        position: absolute!important;
        top: -65px!important;
        right: 40px!important;
    }
    .elementor-sticky--active .hide{
        display: none!important;
    }
    
    .elementor-location-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9990;
      }
      .cag-header-top .elementor-menu-cart--cart-type-mini-cart.hide{
        display: flex!important;
      }
      .cag-header-top{
        padding-right: 70px!important;
      }
     
  }
  @media screen and (max-width:767px){
    .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle .elementor-button{
        padding-left: 0!important;
        padding-right: 0!important  ;
    }
    .cag-header-top {
        padding-right: 60px !important;
    }
    .cag-header-nav .elementor-nav-menu--burger{
        right: 20px !important;
        top: -60px!important;
    }
    .alignwide {
        margin-inline: 0;
    }
  
  }



  .elementor-36 .elementor-element.elementor-element-01fe5f6 .elementor-button--view-cart:hover,
  .elementor-36 .elementor-element.elementor-element-01fe5f6 .elementor-button--checkout:hover{
  background: #f15c22!important;
  color: #fff!important;
}

