/*
Theme Name: Hello Elementor Child
Description: Child theme for Hello Elementor
Template: hello-elementor
Version: 1.0
*/



/** 
* 1. Buscador 
* 2. Breadcrumb 
* 3. Página Producto Único
* 4. General
* 4.1. Reseñas en card de productos 
* 4.2. Botones
* 5. Página checkout
* 6. Popup Productos Sugeridos
* 7. Faqs página de producto
* 8. Enlaces
**/








/* 1. Buscador */
.dgwt-wcas-search-wrapp .dgwt-wcas-ico-magnifier-handler {
    max-width: 14px;
}


/* 2. Breadcrumb */
nav.rank-math-breadcrumb a {
    color: #85745C;
    font-size: 14px;
}

nav.rank-math-breadcrumb span.last {
    font-size: 14px;
}

@media (max-width: 575.98px) { 
    /* 1.BREADCRUMB */
nav.rank-math-breadcrumb a {
    font-size: 12px;
}

nav.rank-math-breadcrumb span.last {
    font-size: 12px;
}    
    
}



/* 3. Página Producto Único */
/* Bloque de valoración debajo del título */
.pfv-rating-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .35rem;
  font-family: 'Jost', sans-serif; /* Fuente aplicada a todo el bloque */
}

/* Estrellas con color personalizado */
.pfv-rating-wrap .star-rating span::before,
.pfv-rating-wrap .star-rating::before {
  color: #dc9202 !important; /* Color de las estrellas */
}

/* Número de valoración (ej: 4,7/5) */
.pfv-rating-average {
  color: #85745C;
  font-weight: bold;
  font-family: 'Jost', sans-serif;
}

/* Texto de "X opiniones" */
.pfv-rating-link {
  text-decoration: none;
  color: #1A1B18;             /* Color por defecto */
  font-family: 'Jost', sans-serif;
}

.pfv-rating-link:hover {
  color: #85745C;             /* Color al pasar el cursor */
  opacity: 1;                 /* Eliminamos la opacidad para mantener legibilidad */
}

/* Variaciones */
table.variations th.label.yith_wccl_layout_inline {
    background-color: #ffffff;
}
table.variations td.value.yith_wccl_layout_inline.yith_wccl_is_custom {
    background-color: #ffffff;
}

/* Margin tabla variaciones */
.woocommerce div.product form.cart .variations {
    margin-bottom: 0em;
}

/* Texto envío gratis */
.woocommerce-free-shipping-bar-message div#wfspb-main-content {
    text-align: left;
}

/* Texto limpiar */
a.reset_variations {
    color:#85745C;
}

/* Oculto por defecto "Mensaje capacidad limitada pedido" */
.mensaje-capacidad-limitada-pedido {
  display: none;
}

/* Visible solo en productos con capacidad limitada */
body.has-mensaje-capacidad-limitada .mensaje-capacidad-limitada-pedido {
  display: block;
}



/* 4. General */
/* 4.1. Reseñas en card de productos */
.yith-ywar-product-rating .total-reviews {
    color: #85745C;
}

/* 4.2. Botones */
/* Fuerza el <a> del botón a ocupar todo el ancho */
.btn-full .elementor-button {
  display: flex;
  width: 100%;
  justify-content: center; /* texto centrado */
}


/* 5. Página Checkout */
span.wc-block-components-address-card__edit:hover {
    background-color: #85745C;
}
button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained {
    color: #85745C;
    border-color: #85745C;
}
button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained:hover {
    color: #ffffff;
    border-color: #85745C;
    background-color: #85745C;
}


.wc-block-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator.wp-block-woocommerce-checkout-terms-block a {
    color: #85748C;
}
.wc-block-checkout button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    background-color: #85745C;
    color: #ffffff;
    border-color: #85745C;
}
.wc-block-checkout button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover {
    background-color: #ffffff;
    color: #85745C;
    border-color: #85745C;
}

/* 6.Popup Productos Sugeridos */
/* Aviso añadido */
.yith-wacp-message.default-icon h3 {
    font-family: 'Jost';
}


/* Titulo producto */
.yith-wacp-added-product h3.product-title a {
    color: #000000;
    font-family: 'Jost';
}


/* Info producto añadido */
.yith-wacp-added-product .product-info {
    font-family: 'Jost';
}


/* Precios producto */
.yith-wacp-cart-info {
    font-family: 'Jost';
}


/* Botones */
.yith-wacp-popup-actions.layout-3-buttons {
    font-family: 'Jost';
}
.yith-wacp-popup-actions.layout-3-buttons a.button:hover {
    border: 1px solid #85745C;
}
.yith-wacp-popup-actions.layout-3-buttons a.button {
    font-weight: 400;
    letter-spacing: 1px;
}

/* Otros productos */
.yith-wacp-content.ps.ps--active-y {
    font-family: 'Jost';
}


/* Productos relacionados */
.yith-wacp-related-products h2.woocommerce-loop-product__title {
    color: #000000;
}

.yith-wacp-related-products span.price {
    color: #000000 !important;
    font-size: 16px !important;
}



/* 7. Faqs página de producto */ 

section#faqs li {
    margin-bottom: 1rem;
}


/* 8. Enlaces */

.enlaces-pfv {
    color: #85745C;
    text-decoration: underline;
}
.enlace-pfv:hover {
    color: #6B1E2D;
    text-decoration: underline;
}



































