/* 
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
*/



/* General Layout */

html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main{
  flex: 1;
  min-height: 100vh;
}



/* Snap sections */

@media(min-width:768px){
  .snap-section{
  min-height: 100vh;
}

}



/* Add to cart */

button.single_add_to_cart_button.button.alt {
    flex: 1;
}

.elementor-add-to-cart.elementor-product-simple {
    width: 100%;
}

/* Wrapper general */
.cw-qty-cart{
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: #f3eee6;       /* crema */
  border-radius: 999px;
  padding: 10px 14px;
}

/* Bloque qty (los 3: - 1 +) */
.cw-qty-cart .quantity{
  display: flex;
  align-items: center;
  gap: 10px;
  
}

@media(max-width:767px){
  .cw-qty-cart {
    flex-direction: column;
    border-radius: 12px;
  }

  .quantity {
    width: 100%;
    justify-content: space-between;
  }

  button.single_add_to_cart_button.button.alt {
    flex: 1;
    width: 100%;
  }

}

/* Input del número */
.cw-qty-cart .quantity input.qty{
  width: 34px;
  min-width: 34px;
  text-align: center;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 600;
  font-size: 16px;
  padding: 0 !important;
}

button.cw-qty-btn.cw-qty-plus:hover, button.cw-qty-btn.cw-qty-plus:active {
    background: #606666;
    outline: none;
    border: none;
}

/* Oculta spinners */
.cw-qty-cart .quantity input.qty::-webkit-outer-spin-button,
.cw-qty-cart .quantity input.qty::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.cw-qty-cart .quantity input.qty{ -moz-appearance: textfield; }

/* Botones + / - redondos */
.cw-qty-btn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: #6c6f6c;       /* gris */
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Botón agregar al carrito (pill grande) */
.cw-qty-cart button.single_add_to_cart_button{
  border-radius: 999px !important;
  padding: 14px 26px !important;
  background: #6c6f6c !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  height: 52px;
}



.woocommerce-info,
.woocommerce-message {
    background: #EFEBE5;
    color: #606666;
    border-top-color: #606666;
    font-family: 'Poppins', sans-serif;
    border: none !important;
}

.woocommerce-info a,
.woocommerce-message a {
  color: #606666;
  font-weight: 600;
}

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