/**
Theme Name: Gema Herrerías
Author: Juan Jiménez-Castellanos Carmona - Mintuicion
Author URI: https://mintuicion.com/es
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gema-herrerias
Template: astra
*/

/*Quitar padding de sección carrusel*/
.elementor-element-57e8557{
    padding: 0 !important;
}

.product_title a{
	font-weight: 400 !important;
}


/*Modificar fondo productos*/
ul.products li, img.wp-post-image{
    background: linear-gradient(135deg, #EAEAEA 0%, #FFF 70%) !important;
}
.astra-shop-summary-wrap{
    padding: 2rem !important;
}
.woocommerce-product-gallery__image.flex-active-slide{
    pointer-events: none !important;
}
a:focus, button:focus{
    outline: 0 !important;
    border-style: none!important;
}

/*Switcher Día/Noche en productos https://www.youtube.com/watch?v=vnq1aVWRnck*/
:root {
/* Customizable Variables */
--dd-toggle-height: 2rem;
--dd-toggle-width: 4rem;
--dd-toggle-padding: 0.25rem;
--dd-toggle-bg: #EAEAEA;
--dd-toggle-active: #000;
--dd-toggle-item2-active: #EAEAEA;
--dd-toggle-handle: #ffffff;
--dd-text-inactive: #EAEAEA;
--dd-text-active: #000;

}
.dd-wrapper {
font-family: system-ui, -apple-system, sans-serif;
max-width: min(800px, 90vw);
margin: 2rem auto;
padding: 0 1rem;
}
.dd-toggle-fieldset {
border: none;
padding: 0;
margin: 0 0 2rem 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.dd-legend {
font-size: clamp(1rem, 2vw, 1.125rem);
color: var(--dd-text-active);
margin-bottom: 0.5rem;
text-align: center;
}
.dd-toggle-container {
display: flex;
align-items: center;
gap: 1rem;
}
.dd-toggle-label {
font-size: clamp(0.875rem, 1.5vw, 1rem);
font-weight: 500;
color: var(--dd-text-inactive);
transition: color 0.2s ease;
cursor: pointer;
}
.dd-toggle-label.active {
color: var(--dd-text-active);
}
.dd-toggle-switch {
background: var(--dd-toggle-bg);
border-radius: 100vmax;
padding: var(--dd-toggle-padding);
position: relative;
width: var(--dd-toggle-width);
height: var(--dd-toggle-height);
cursor: pointer;
transition: background-color 0.3s ease;
}
.dd-toggle-switch.item2 {
background-color: var(--dd-toggle-item2-active);
}
.dd-switch-container {
position: relative;
height: 100%;
}
.dd-switch-option input {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.dd-switch-slider {
--dd-slider-size: calc(var(--dd-toggle-height) - (var(--dd-toggle-padding) * 2));
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
width: calc(var(--dd-toggle-width) / 2 - var(--dd-toggle-padding));
height: var(--dd-slider-size);
background-color: var(--dd-toggle-handle);
border-radius: 100vmax;
transition: transform 0.3s ease, background-color 0.3s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
pointer-events: none;
}
.dd-toggle-switch.item2 .dd-switch-slider {
transform: translate(100%, -50%);
background-color: var(--dd-toggle-active);
}
.dd-toggle-switch:focus-within {
outline: 2px solid var(--dd-focus-color);
outline-offset: 2px;
}
/* Content Toggle Styles */
.dd-content-section {
display: none;
opacity: 0;
transition: opacity 0.3s ease;
}
.dd-content-section.active {
display: block;
opacity: 1;
}
/* Responsive adjustments */
@media (max-width: 480px) {
.dd-toggle-container {
gap: 0.5rem;
}
:root {
--dd-toggle-width: 3.5rem;
--dd-toggle-height: 1.75rem;
}
}
.solluna{
    font-size: 15px !important;
}

/*Quitar borde botón filtro categorías*/
.filtrocategoria{
    border-width: 0!important;
}

/* Evitar scroll horizontal */
html, body {
max-width: 100% !important;
overflow-x: hidden !important;
}

/*Ocultar mensajes de lista de deseos*/
.yith-wcwl-feedback-messages-container{
    display:none !important;
}

/*Carrito*/
.woocommerce-js a.remove:before{
    border: 0 !important;
}

.woocommerce-js .quantity .qty{
    padding: 0 !important;
}
.elementor-widget-woocommerce-cart .woocommerce .input-text.qty, .woocommerce .woocommerce-cart-form__cart-item .quantity .qty:focus{
    border: 0 !important;
    margin: 0 !important;
}

tr.woocommerce-cart-form__cart-item.cart_item button{
    display:none !important;
}

/*Pagina de carrito*/
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents,
.woocommerce .quantity .plus, .woocommerce .quantity .minus, .woocommerce .quantity .qty, .wgb-product-item-cnt{
   border: 0 !important;
}

table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents thead {
     background-color: transparent !important;
}

.woocommerce-js table.shop_table td, .woocommerce-page table.shop_table td{
    border-top: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-cart .cart-collaterals .cross-sells{
    border-width: 0 !important;
}
.cart_totals  h2, .wgb-header-cnt h2, .cross-sells h2{
    font-weight: 700 !important;
    font-size: 1rem !important;
    border-bottom: 0 !important;
    background-color: transparent !important;
}

#pwgc-redeem-gift-card-number{
    width: 100% !important;
}
#pwgc-redeem-gift-card-container label, .wgb-header-cnt:before, .wgb-header-cnt:after{
    display: none !important;
}

#pwgc-redeem-button, #ast-apply-coupon, .wgb-add-gift-btn{
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    font-weight: 400 !important;
}
#pwgc-redeem-button:hover, #ast-apply-coupon:hover, .wgb-add-gift-btn:hover{
    background-color: #000 !important;
    color: #fff !important;
}
#pwgc-redeem-button, #ast-apply-coupon, a.checkout-button.button.alt.wc-forward, .wgb-add-gift-btn, a.button.wc-backward{
    border: 1px solid #000 !important;
    border-radius: 5px !important;
}
#pwgc-redeem-button{
    margin-top: 1rem !important;
    width: 100% !important;
}

input:focus, input[type="text"]:focus, #ast-coupon-code:focus{
    border-style: solid !important;
    border-color: var(--ast-border-color);
}

h2.wgb-item-title.font-weight-bold a{
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.cross-sells .woocommerce-loop-product__title, .cross-sells .price{
    font-weight: var(--e-global-typography-secondary-font-weight) !important;
    font-size: 1em !important;
    color: #000 !important;
}
.order-total span.woocommerce-Price-amount.amount bdi{
    font-weight: 700 !important;
}

.cart-empty.woocommerce-info{
    margin-top: 2rem !important;
}
a.button.wc-backward{
    width: 100% !important;
    text-align: center !important;
}

#ast-cart-wrapper .cross-sells{
    display: none !important;
}

@media(max-width: 920px){
    table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td{
        border-bottom: 1px solid #D1D5DB !important;
    }
    tr.woocommerce-cart-form__cart-item.cart_item .product-thumbnail{
        display: none !important;
    }
}

/*Gravity Forms y formularios de Wordpress y Elementor*/
.gfield input[type=text], .gfield input[type=email], .gfield input[type=password], .gfield input[type=select], .gfield select, .gfield select:focus, .gfield textarea, .gfield textarea:focus, .gfield input[type=checkbox], .gfield input[type=number], .gfield input[type=tel], .ginput_container_fileupload input, .ginput_container_fileupload input:focus, .gform_button, .gform_button:focus, .elementor-field-type-text input, .login form .input{
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.gfield input[type=text]::placeholder, .gfield input[type=email]::placeholder, .gfield input[type=password]::placeholder, .gfield input[type=select]::placeholder, .gfield select::placeholder, .gfield textarea::placeholder, .elementor-field-type-text::placeholder{
    color: grey !important;
    font-size: 14px !important;
}

.gfield input[type=radio], input#elementor-login-remember-me{
    border: 1px solid #000 !important;
    box-shadow: none !important;
}

.gfield input[type=radio]::before, .gfield input[type=checkbox]::before, input#elementor-login-remember-me, input#terms{
    color: #000 !important;
    background-color: #000 !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 0 !important;
}

.gform-datepicker{
    display: block !important;
    width: 100% !important;
}

.gform_button, .elementor-field-type-submit button, #wp-submit{
    display: block !important;
    width: 100% !important;
    background-color: #000 !important;
    border-radius: 0 !important;
}

.gform_drop_area button{
    background-color: #fff !important;
    border-radius: 0 !important;
    border: 1px solid #000 !important;
    color: #000 !important;
}

.gform_drop_area button:hover{
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
}

.gform_button:hover, .elementor-field-type-submit button:hover, #wp-submit:hover{
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

.gform_fields {
  grid-row-gap: 15px !important;
}

.gform .gfield_select{
    font-size: 17px !important;
}

.gform_drop_area::before{
    color: #000 !important;
}

/*Menu en smartphone*/
.menu-toggle:focus, .ast-menu-toggle, .ast-menu-toggle:focus{
    border: none !important;
    outline: none !important;
}


/*Mi cuenta*/
.woocommerce-MyAccount-navigation-link{
    background-color: white !important;
}
.woocommerce-MyAccount-navigation-link--downloads{
    display:none !important;
}

button{
    box-shadow: none; !important;
}

.elementor-element-10f60296{
    padding: 0 !important;
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link{
    border-bottom-width: 0 !important;
}

.astra-cart-drawer-close:hover{
    border-width:0 !important;
}

.ast-menu-toggle{
    background-color: white !important;
}

.ast-shop-product-out-of-stock, .ast-shop-product-out-of-stock:hover{
    background-color: transparent !important;
}

/*Botones de banner cookies*/
.cky-accordion-btn:hover, .cky-btn-close:hover{
    border-width: 0px !important;
}

.wc-proceed-to-checkout br{
    display: none !important;
}

#content{
    padding-top: 5.5rem !important;
}
@media (max-width: 920px){
    #content{
        padding-top: 0 !important;
    }
}