/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
/****************** general ******************/
.page .entry, .blog .entry {
    box-shadow: none;
}
/* Quitar línea y sombra del separador antes de la navegación de posts */
.entry {
  border-top: none !important;
  box-shadow: none !important;
}
/* forzamos precio antiguo tachado */
.woocommerce del {
  text-decoration: line-through !important;
  opacity: 0.6;
}

/****************** menu ******************/
/* ajustar dropDown idioma */
.menu-idi .wp-block-navigation__container {
    margin: 0;
    padding: 0 !important;
    min-width: 35px !important;
    margin-right: 12px;
}

.menu-idi .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
    stroke: white;
}

/****************** ficha de producto ******************/
/* estilos y orden de elementos internos */
.wrapper-price .price {
    font-weight: 700;
    font-size: 42px;
}
.wrapper-price del {
    font-size: 22px;
    margin-right: 10px;
}
.wrapper-price ins {
    font-size: 28px;
    font-weight: bold;
}

.wrapper-price .value {
    display: flex !important;
    flex-wrap: wrap !important;
}
.wrapper-price .kt-variation-label {
    flex: 100% !important;
}
.wrapper-price .reset_variations {
    display: none !important;
    margin-left: 20px !important;
}

.wrapper-price .woocommerce-Price-currencySymbol {
    font-size: 0.7em;
    font-weight: normal;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 0 !important;
}

/* Home prod destacados */
.home-products bdi {
    font-weight: 700 !important;
}

/* alineamos en mobile los elementos de cantidad + btn carrito */
form.cart {
    justify-content: flex-start !important;
}

.single-product .product-type-variable .kwt-price-wrap {
    display: none;
}

/* Fuera de stock */
.stock.out-of-stock {
    background-color: red;
    color: white !important;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
}
.cwginstock-subscribe-form .panel-primary {
    border-color: #00B426 !important;
}
.cwginstock-subscribe-form .panel-primary>.panel-heading {
    background-color: #00B426 !important;
    color: black !important;
    border-color: #00B426 !important;
    padding: 10px 30px !important;
}
.cwginstock-subscribe-form .panel-primary>.panel-heading h4 {
    text-align: left !important;
}
.cwginstock-subscribe-form .panel-body {
    padding: 30px 15px 15px 15px !important;
}

/* Añadimos glow al btn carrito*/
form.cart button.single_add_to_cart_button {
    position: relative;
    background: linear-gradient(180deg, #00ff5a, #00c853);
    color: #001b08;
    border-radius: 10px;
    padding: 14px 28px;
    border: none;
    font-weight: 700;
    box-shadow:
    0 0 10px rgba(0, 255, 90, 0.6),
    0 0 30px rgba(0, 255, 90, 0.35);
    transition: all 0.2s ease;
}
form.cart button.single_add_to_cart_button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 14px rgba(0, 255, 90, 0.8),
    0 0 40px rgba(0, 255, 90, 0.5);
}

/* Variations */
form.variations_form .kt-variation-label {
    text-transform: uppercase;
    font-size: 12px;
    color: white;
}

.kad_radio_variations label {
    font-size: 14px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid white !important;
    color: white;
}
.kad_radio_variations label.selectedValue {
    background: #99D392 !important;
    color: black !important;
    border: 1px solid #99D392 !important;
}

.woocommerce-variation-price bdi {
    font-size: 48px;
    color: white !important;
}

#wc-stripe-express-checkout-element {
    padding: 20px 20px 20px 20px !important;;
    border: 1px solid white !important;;
    border-radius: 6px !important;
    margin-top: 40px !important;
}


.btn-glow {
  background: #00c853; /* verde botón */
  color: #000;
  border-radius: 8px;
  padding: 12px 24px;
  border: none;
  box-shadow: 0 0 12px rgba(0, 255, 90, 0.6);
}

/****************** Slider productos ficha ******************/
ol.flex-control-thumbs {
    background: transparent !important;
    gap: 10px !important;
}
ol.flex-control-thumbs li {
    background: transparent !important;
}
ol.flex-control-thumbs li img {
    background: transparent !important;
    border: 1px solid white !important;
    border-radius: 6px !important;
}



/****************** Newsletter home ******************/
/* Quitamos el overflow hidden que viene por defecto para hacer que el isologo en 3d sobresalga */
.home-newsletter {
    overflow: visible !important;
}

/****************** Post Single ******************/
/* Navegación entre Posts */
.navigation.post-navigation {
    border: 1px solid black;
    padding: 20px;
    margin-top: 40px;
}

/* Damos padding al contenido general del post, menos a la IMG */
.single-post .content-area {
    margin-top: 40px !important;
}
.single-post .entry-header.post-title {
    padding: 30px 30px 5px 30px;
}
.single-post .entry-content.single-content {
    padding: 5px 30px 30px 30px;
}
.single-post .entry-content.single-content ul {
    margin-left: 30px;
}
.single-post footer.entry-footer {
    padding: 5px 30px 30px 30px;
}

/* eliminamos padding del sidebar */
.post-template-default #secondary {
    padding: 0;
}

/****************** Blog archive ******************/
.archive .kadence-breadcrumbs {
  margin-top: 40px;
}

/****************** Blog archive ******************/
.blog-archive--item figure {
    margin: 0;   
}
.blog-archive--item h2.wp-block-post-title {
    padding-bottom: 10px;
}

.blog-archive--item .wp-block-post-excerpt__more-text a {
    color: black !important;
    padding-top: 10px;
}

/****************** PreFooter Social *******************/
.prefooter-social li {
    margin: 0 !important;
} 

/****************** tienda index grid *******************/
/* Eliminamos el toggle de 2 tipos de visualización */
.kadence-shop-top-row .kadence-woo-toggle {
    display: none;
}

/* Damos estilos al select de ordenación */
.woocommerce-ordering {
  position: relative;
  display: inline-block;
  max-width: 260px;
}
.products.product-archive {
    margin: 60px 0 160px 0 !important;
}
.products.product-archive .taxonomy-product_cat {
    font-size: 14px !important;
    margin-bottom: 10px !important;
    opacity: 0.6 !important;
}

/* ficha IMG full width
.versiones-block img {
    width: 100% !important;
}*/

.versiones-block img {
    width: auto;
}

/* footer legal */
.site-bottom-footer-wrap .site-footer-bottom-section-1 {
    display: flex;
    justify-content: center;
    font-size: 14px;
}
.site-bottom-footer-wrap .site-footer-bottom-section-1 #nav_menu-5 {
    margin: 0;
    position: relative;
    top: 5px;
}
.site-bottom-footer-wrap .site-footer-bottom-section-1 ul#menu-footer-copyright,
.site-bottom-footer-wrap .site-footer-bottom-section-1 ul#menu-footer-copyright-ingles {
    display: flex !important;
    gap: 20px !important;
}


/* Select */
.woocommerce-ordering select.orderby {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 12px 44px 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  color: #00b426; /* verde shinyuden vibes */
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
/* Hover */
.woocommerce-ordering select.orderby:hover {
  border-color: #00b426;
  box-shadow: 0 0 0 2px rgba(0,255,90,0.15);
}
/* Focus */
.woocommerce-ordering select.orderby:focus {
  border-color: #00b426;
  box-shadow: 0 0 0 3px rgba(0,255,90,0.25);
}
/* Flecha custom */
.woocommerce-ordering::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #00b426;
  font-size: 14px;
}

/****************** footer ******************/
.footer-menu a {
    margin-bottom: -5px !important;
    display: flex !important;
}

.footer-nl {
    margin-top: 25px;
}
.footer-nl p {
    margin: 5px 0 15px 0 !important;
}
.footer-nl button.kb-button {
    margin: 0 0 5px 0;
    background: #00b426 !important;
    color: black !important;
}
.footer-nl button.kb-button:hover {
    background: #00D12D !important;
}
.footer-nl .kb-radio-check-item label {
    color: black !important;
}
.footer-nl .kb-radio-check-item label a {
    text-decoration: underline;
}

/****************** Botón hamburger móvil ******************/
#mobile-toggle {
  background: rgba(0, 0, 0, 0.75) !important;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 255, 90, 0.5);
  transition: all 0.25s ease;
}
/* Icono SVG del hamburger */
#mobile-toggle .kadence-svg-icon {
  color: #00ff5a !important;
  filter: drop-shadow(0 0 6px rgba(0, 255, 90, 0.7));
  transition: all 0.25s ease;
}
/* Hover */
#mobile-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(0, 255, 90, 0.5);
  background: rgba(0, 0, 0, 0.9) !important;
}
/* Hover icono */
#mobile-toggle:hover .kadence-svg-icon {
  filter: drop-shadow(0 0 10px rgba(0, 255, 90, 1));
}
/* Estado activo (cuando el menú está abierto) */
#mobile-toggle[aria-expanded="true"] {
  background: #00ff5a !important;
  border-color: #00ff5a;
}
#mobile-toggle[aria-expanded="true"] .kadence-svg-icon {
  color: #000 !important;
  filter: none;
}

/****************** Cards de productos relacionados en fondo oscuro ******************/
.relatedproduct-box .kwt-related-wrap .kb-row-layout-wrap {
  background: transparent !important;
  color: white;
  text-align: center;
}
.relatedproduct-box .price {
    display: flex !important;
    justify-content: center;
    margin-top: 10px;
}
.relatedproduct-box .taxonomy-product_cat {
    opacity: 0.6;
    font-size: 13px;
}
.relatedproduct-box bdi {
    color: #00ff5a;
    font-size: 16px;
    padding: 0 3px;
    font-weight: 700 !important;
}


/* Quitar zoom WooCommerce */
.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    pointer-events: none !important;
}

.woocommerce div.product div.images .flex-viewport {
    pointer-events: none !important;
}

.woocommerce-product-gallery__trigger {
    display: none !important;
}


/****************** legal ******************/
.legal-table {
    background: white;
    padding: 20px;
    text-align: left;
}


/******************footer ******************/
#colophon.site-footer {
    border-top: 1px solid #DEDEDE;
}


/****************** zona privada user ******************/
/* direcciones */
.woocommerce-Address-title.title {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
/* metodo de pago */
#wc-stripe-upe-form.wc-payment-form {
    border: none;
    padding: 0;
}
/* detalles de la cuenta */
.woocommerce-EditAccountForm.edit-account .woocommerce-form-row {
    margin-top: 10px;
    margin-bottom: 10px;
}
.woocommerce-EditAccountForm.edit-account fieldset {
    margin-top: 40px;
    margin-bottom: 10px;
}




/****************** cart page ******************/
/* SEPARACIÓN DEL TÍTULO */
.woocommerce-cart .cart {
  margin-top: 25px;
}

/* TABLA GENERAL */
.woocommerce table.shop_table {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

/* HEADER */
.woocommerce table.shop_table thead {
  background: #f7f7f7;
}

.woocommerce table.shop_table thead th {
  font-weight: 600;
  color: #333;
  padding: 16px;
  border-bottom: 1px solid #e5e5e5;
}

/* CELDAS */
.woocommerce table.shop_table td {
  padding: 18px 16px; /* más aire */
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

/* ÚLTIMA FILA SIN BORDE */
.woocommerce table.shop_table tr:last-child td {
  border-bottom: none;
}

/* SUBTOTAL DESTACADO */
.woocommerce .product-subtotal {
  font-weight: 700;
  color: #111;
}

/* NOMBRE PRODUCTO */
.woocommerce .product-name a {
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

/* INPUT CANTIDAD MÁS LIMPIO */
.woocommerce .quantity input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* BOTÓN ELIMINAR MÁS SUAVE */
.woocommerce a.remove {
  color: #cc0000 !important;
  font-size: 18px;
}

.woocommerce a.remove:hover {
  color: #ff0000 !important;
}

/* FILAS HOVER (detalle moderno sutil) */
.woocommerce table.shop_table tbody tr:hover {
  background: #fafafa;
}

/* cupon */
.coupon {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.coupon input {
    width: 60%;
}
.coupon button {
    flex: 1;
}
.coupon .coupon-error-notice {
    background-color: #fdecea; /* fondo rojo suave */
    border: 1px solid #f5c2c7; /* borde rojo claro */
    color: #842029; /* texto rojo oscuro */
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
    margin-top: 25px !important;
    width: 100%;
    text-align: left;
}

.woocommerce table.shop_table button[name="update_cart"],
.woocommerce table.shop_table button[name="update_cart"]:focus {
  margin-top: 20px;
  box-shadow: none !important;
}

.woocommerce table.shop_table button[name="apply_coupon"]:hover,
.woocommerce table.shop_table button[name="apply_coupon"]:focus {
  box-shadow: none !important;
  background-color: #a4a4a4 !important;
}
.woocommerce table.shop_table button[name="update_cart"]:hover {
  box-shadow: none !important;
}


.woocommerce .cart-collaterals {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #00B426;
}
.woocommerce-cart .cart-collaterals .cart_totals tr td {
    border: none;
}
.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    padding: 20px 0;
    font-size: 18px;
    font-weight: bold;
}
.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    box-shadow: none;
    opacity: 0.7;
}


/****************** página de login y registro user nuevo ******************/
#customer_login .u-column1 .lost_password {
    font-size: 14px;
    margin-bottom: 15px;
}
#customer_login .u-column2 p { 
    margin-bottom: 15px;
}
#customer_login .u-column2 .woocommerce-privacy-policy-text {
    font-size: 14px;
    margin-bottom: 15px;
}

#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-register__submit {
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
}
#customer_login .woocommerce-form-login__submit:hover,
#customer_login .woocommerce-form-register__submit:hover {
    box-shadow: none !important;
}
#customer_login .woocommerce-form-login__rememberme {
    padding-top: 10px !important;
}


.woocommerce-ResetPassword p:first-of-type {
    font-size: 28px;
    font-weight: bold;
}
.woocommerce-ResetPassword .button {
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
}
.woocommerce-ResetPassword .button:hover {
    box-shadow: none !important;
}

.woocommerce-SavedPaymentMethods-saveNew {
    display: flex !important;
    align-items: self-start !important;
}
.woocommerce-SavedPaymentMethods-saveNew input {
    margin: 3px 5px 0 0 !important;
}
.woocommerce-SavedPaymentMethods-saveNew label {
    line-height: 20px !important;
}

.form-row.validate-required label {
    margin-top: 20px;
}
.form-row.validate-required label {
    display: flex !important;
    align-items: self-start !important;
}
.form-row.validate-required input {
    margin: 3px 5px 0 0 !important;
}
.form-row.validate-required label {
    line-height: 20px !important;
}

.woocommerce-checkout-review-order p.woocommerce-privacy-policy-text {
    font-size: 16px;
}

#payment #place_order {
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
}
#payment #place_order:hover {
    box-shadow: none;
}

.woocommerce .woocommerce-order .woocommerce-notice--success {
    font-style: normal;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.5;
    font-family: Parkinsans, sans-serif;
}
.woocommerce .woocommerce-order ul.woocommerce-thankyou-order-details {
    padding: 20px;
    border: 1px solid #00b426;
    border-radius: 6px;
}


/* ficha de prod sticky slider */
.product-sticky {
    position: sticky;
    top: 170px;
}

p.stock.in-stock {
    display: none;
}


/****** mail tracking ******/
.provider_name {
    color: white;
}


.copy-ficha {
    color: white !important;
}

.wp-block-navigation__submenu-container li.wp-block-navigation-item  {
    line-height: 0 !important;
}


/***** FAV *****/
.yith-add-to-wishlist-button-block {
    margin: 20px 0 30px 0;
}
.yith-add-to-wishlist-button-block span {
    font-size: 14px;
}

.btn-menu-fav {
    background: none !important;
}
.btn-menu-fav span {
    color: #00b426;
    position: relative;
    top: -2px;
}


.list-merch {
    padding: 0 !important;
}

.wishlist-button-mobile .button {
    color: white !important;
    background: none !important;
}

.cart-custom-message__content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 32px 0;
    padding: 18px 22px;
    background: #fff8e8;
    border: 2px solid #ffd15c;
    border-left: 6px solid #00B426;
    border-radius: 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* banner alert top */
.site-ticker{
    background:#111;
    border-bottom:2px solid #00B426;
    color:#fff;
    padding:7px 20px;
    font-size:14px;
    font-weight:500;

    position: relative;
    z-index: 99999;
}

.site-ticker .site-container{
    display:flex;
    justify-content:center;
    align-items:center;
}

.site-ticker p{
    margin:0;
    text-align:center;
    line-height:1.3;
    font-size: 13px;
}
.body-site-ticker .site-header-upper-inner-wrap.child-is-fixed .site-main-header-wrap {
    position: relative;
}

.body-site-ticker #masthead {
    position: inherit !important;
}


@media (max-width: 1023px) {
.mobile-transparent-header #masthead{
    position: relative !important;
}
}

/* En mobile: ancho completo */
@media (max-width: 768px) {
    .woocommerce-ordering {
        max-width: 100%;
        width: 100%;
    }

    .woocommerce-ordering select.orderby {
        width: 100%;
    }

    /* ficha de prod sticky slider */
    .product-sticky {
        position: initial;
    }

    /* footer legal */
    .site-bottom-footer-wrap .site-footer-bottom-section-1 {
        flex-direction: column;
        align-items: self-start;
    }
    .site-bottom-footer-wrap .site-footer-bottom-section-1 .footer-widget-area {
        margin: 0 !important;
    }
    .site-bottom-footer-wrap .site-footer-bottom-section-1 ul#menu-footer-copyright {
        flex-direction: column;
        gap: 0 !important;
        text-align: left;
    }


}


@media (min-width: 768px) {

    .wp-block-kadence-repeatertemplate li:nth-child(even)
    .kt-row-column-wrap {
        direction: rtl;
    }

    .wp-block-kadence-repeatertemplate li:nth-child(even)
    .kt-row-column-wrap > div {
        direction: ltr;
    }

    /* PreFooter Social*/
    .prefooter-social li {
        margin: 0 20px !important;
    } 

    .footer-nl {
        margin-top: 85px;
    }


    #wc-stripe-express-checkout-element {
        padding: 10px 20px 20px 20px !important;;
    }

}