/*
Theme Name: Vino Child
Theme URI: https://vino.qodeinteractive.com/
Description: A child theme of Vino Theme
Author: Elated Themes
Author URI: https://themeforest.net/user/elated-themes
Version: 1.0.2
Text Domain: vino
Template: vino
*/
.yith-ywraq-add-button .add-request-quote-button.button {
    font-size: 11px !important;
    padding: 0 25px !important;
    height: 56px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 10px 0 0 10px !important; 
    vertical-align: middle !important;
    position: relative !important;
    top: 6px !important;             
}
.yith-ywraq-add-to-quote {
    display: inline-block !important;
    vertical-align: middle !important;
}

#yith-ywrq-table-list {
  margin-top: 40px !important;
}
@media (max-width: 768px) {
  #yith-ywrq-table-list {
    margin: 40px auto 0 auto !important;
    width: 95% !important;
    display: block;
  }

  #yith-ywrq-table-list th,
  #yith-ywrq-table-list td {
    text-align: center !important;
  }

}
.yith-ywraq-mail-form-wrapper form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%; 
  gap: 10px;
}

.yith-ywraq-mail-form-wrapper .form-row {
  flex: 0 0 48%;
  box-sizing: border-box;
}
.yith-ywraq-mail-form-wrapper .form-row-wide,
.yith-ywraq-mail-form-wrapper .ywraq-privacy-wrapper,
.yith-ywraq-mail-form-wrapper .form-row:last-child {
  flex: 0 0 100%;
}
.yith-ywraq-mail-form-wrapper .raq-send-request {
  display: block;
  margin: 25px auto 0;
}
@media (max-width: 768px) {
  .yith-ywraq-mail-form-wrapper .form-row {
    flex: 0 0 100%;
  }
}
.eltdf-breadcrumbs-holder{
	display:none !important;
}

.eltdf-mobile-logo-wrapper a {
    height: auto !important;
    max-height: 70px !important;
}

.eltdf-mobile-logo-wrapper img {
    max-height: 70px !important;
    width: auto !important;
}
.eltdf-eh-item-inner[style*="ChatGPT_Image_15_oct_2025__14_28_10-removebg-preview"] {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: 55% center !important; 
    min-height: 280px !important;
}

.eltdf-eh-custom-148929 {
    padding: 4% 0% !important;
}

textarea[name="your-message"] {
    height: 216px !important;
    min-height: 216px !important;
    max-height: 216px !important;
    resize: none !important; 
}

.eltdf-three-columns-inner {
  display: flex !important;
  justify-content: center !important;  
  align-items: flex-start !important;
  gap: 70px !important;             
  flex-wrap: wrap !important;           
}


.eltdf-three-columns .eltdf-column {
  flex: 0 0 310px !important;
  max-width: 310px !important;
  text-align: left !important;
}


@media (min-width: 1025px) {
  .eltdf-three-columns .eltdf-column:nth-child(2) {
    margin-left: 70px !important;   
    margin-right: 10px !important; 
  }
}
.single_variation_wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important; 
  flex-wrap: wrap !important;
}

@media (max-width: 768px) {


  #yith-ywrq-table-list thead {
    display: none !important;
  }

  #yith-ywraq-form {
    display: flex !important;
    justify-content: center !important;
  }

  #yith-ywrq-table-list {
    display: block !important;
    width: 302px !important;
    margin: 0 auto !important;
    border-collapse: separate !important;
    text-align: center !important;
  }

  #yith-ywrq-table-list tr.cart_item {
    display: block !important;
    width: 100% !important;
    border: 1px solid #e0e0e0 !important;
    background: #fff !important;
    margin-bottom: 15px !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
  }

  #yith-ywrq-table-list td {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 5px 0 !important;
    text-align: center !important;
  }


  #yith-ywrq-table-list .product-thumbnail img {
    width: 120px !important; 
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 10px auto !important;
  }

  #yith-ywrq-table-list .product-name {
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #333 !important;
  }

  #yith-ywrq-table-list .product-quantity,
  #yith-ywrq-table-list .product-subtotal {
    font-size: 14px !important;
    color: #555 !important;
  }
  #yith-ywrq-table-list .actions,
  #yith-ywraq-form input.button[name="update_raq"] {
    display: block !important;
    text-align: center !important;
    margin: 15px auto !important;
  }
	.eltdf-content,
  .eltdf-content-inner {
    overflow-x: visible !important;
  }
}



.woocommerce div.product div.images img {
  max-width: 350px !important;  
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;   
  object-fit: contain !important;
}

.woocommerce div.product div.woocommerce-product-gallery {
  display: flex !important;
  justify-content: center !important;
}

.eltdf-single-product-content .woocommerce-product-gallery__wrapper {
  justify-content: center !important;
}

#yith-ywrq-table-list .product-thumbnail img {
  width: 120px !important;     
  height: auto !important;   
  display: block !important;  
  margin: 0 auto !important;  
  object-fit: contain !important;
}
#yith-ywrq-table-list .product-thumbnail {
  text-align: center !important;
  vertical-align: middle !important;
}
#yith-ywrq-table-list td {
  vertical-align: middle !important; 
}


#yith-ywrq-table-list td {
  text-align: center !important;
}
#yith-ywrq-table-list .product-thumbnail,
#yith-ywrq-table-list .product-name,
#yith-ywrq-table-list .product-quantity,
#yith-ywrq-table-list .product-subtotal {
  vertical-align: middle !important;
}



.eltdf-eh-item-inner[style*="/wp-content/uploads/2025/11/Contorno-de-Castilla-y-Leon-1.png"] {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  min-height: 600px !important;
}
/* Mejora contraste del texto blanco sobre fondos de imagen */
.eltdf-slider-inner .rs-layer[data-type="text"],
.eltdf-slider-inner h1.rs-layer,
.eltdf-slider-inner h2.rs-layer {
  color: #ffffff !important; /* se ve blanco */
  text-shadow:
    0 0 6px rgba(0,0,0,0.9),
    0 2px 8px rgba(0,0,0,0.7) !important; /* sombra sutil negra */
  background: none !important;
  -webkit-text-stroke: 0.2px rgba(0,0,0,0.6); /* refuerzo apenas visible */
}
/* Nombres de producto */
.eltdf-product-list-title a {
  color: #2b2b2b !important; /* gris muy oscuro, contraste 12:1 sobre blanco */
}

/* Categorías (Tintos, Blancos) */
.eltdf-product-list-category a {
  color: #444444 !important; /* tono más oscuro pero sigue elegante */
  font-weight: 500 !important;
}

/* Precios normales */
.eltdf-pl-price,
.eltdf-pl-price span,
.woocommerce-Price-amount {
  color: #1e1e1e !important; /* casi negro, contraste AA y AAA */
}

/* Precio tachado (oferta anterior) */
.eltdf-pl-price del {
  color: #777777 !important; /* gris medio con contraste 4.8:1 */
}

/* Precio actual (oferta activa) */
.eltdf-pl-price ins {
  color: #000000 !important; /* negro para máximo contraste */
}

/* Etiqueta “Oferta” */
.eltdf-onsale {
  background-color: #c41200 !important; /* rojo vino accesible */
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 3px !important;
  padding: 2px 6px !important;
}

/* Texto del selector de orden (Select2) */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #222222 !important; /* gris muy oscuro, contraste 12:1 */
}

/* Placeholder o texto deshabilitado */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #444444 !important;
}

/* Borde y fondo del desplegable */
.select2-container--default .select2-selection--single {
  background-color: #ffffff !important;
  border: 1px solid #777777 !important;
}

/* Flecha del selector */
.select2-container--default .select2-selection__arrow b {
  border-color: #222222 transparent transparent transparent !important;
}

/* Título principal del producto */
.eltdf-single-product-title {
  color: #1e1e1e !important; /* gris casi negro, contraste alto sobre blanco */
}

/* Precio (normal y oferta) */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #111111 !important;
  font-weight: 600 !important;
}
.woocommerce div.product p.price del {
  color: #777777 !important; /* gris medio accesible */
}
.woocommerce div.product p.price ins {
  color: #000000 !important;
  font-weight: 700 !important;
}

/* Botón principal “Añadir al carrito” */
.single_add_to_cart_button {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: none !important; /* SIN BORDE */
}
.single_add_to_cart_button:hover {
  background-color: #333333 !important;
}


.yith-ywraq-add-to-quote .add-request-quote-button:hover {
  background-color: #333333 !important;
}

/* SKU y metadatos */
.sku_wrapper,
.posted_in,
.product_meta a {
  color: #222222 !important;
  font-weight: 500 !important;
}

/* Encabezado “Información adicional” */
.eltdf-tab-title {
  color: #111111 !important;
  font-weight: 700 !important;
}

/* Tabla de atributos del producto */
.woocommerce-product-attributes-item__label {
  color: #1c1c1c !important; /* etiquetas (Bodega, Tipo…) */
  font-weight: 600 !important;
}
.woocommerce-product-attributes-item__value p {
  color: #2b2b2b !important; /* valores (Tintos, 2020…) */
}

/* Etiqueta “Oferta” */
.eltdf-onsale {
  background-color: #b51a00 !important; /* rojo vino con contraste AA */
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
}

/* ===== SKU ===== */
.sku {
  color: #1a1a1a !important;  /* gris oscuro accesible (AA y AAA) */
  font-weight: 500 !important;
  letter-spacing: 0.3px;
}

/* ===== Cantidad del producto ===== */
.eltdf-quantity-buttons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Botones + y − */
.eltdf-quantity-minus,
.eltdf-quantity-plus {
  color: #000000 !important;
  border: 1px solid #777777 !important;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.eltdf-quantity-minus:hover,
.eltdf-quantity-plus:hover {
  background-color: #333333 !important;
  color: #ffffff !important;
  border-color: #333333 !important;
}

/* Input numérico */
.eltdf-quantity-input {
  color: #111111 !important;
  border: 1px solid #777777 !important;
}
.eltdf-quantity-input:focus {
  outline: 2px solid #000000 !important;
}
.ocultar{
	display:none;
}

@media (min-width: 1024px) {
    .eltdf-pl-image img {
        height: 800px;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
}
/* Reducir tamaño del logo */
.eltdf-logo-wrapper a {
    height: 85px !important; 
}

.eltdf-logo-wrapper img {
    max-height: 850px; 
    width: auto;
    height: auto;
}

.variations_form {
	display: none !important;
}
