/**
* Theme Name: Ziggy Child
* Description: This is a child theme of Ziggy, generated by Merlin WP.
* Author: <a href="http://themelexus.com/">ThemeLexus</a>
* Template: ziggy
* Version: 1.3.4
*/


.perfil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.perfil-bloque {
    background: #f9f9f9;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.perfil-bloque h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.perfil-bloque p {
    margin: 0 0 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}

.perfil-bloque .button {
    align-self: flex-start;
    background-color: #FF782C;
    color: white;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 14px;
    text-decoration: none;
}






/* =========================================
   BOTÓN "Añadir a cotización"
========================================= */
.yith-ywraq-add-to-quote .add-request-quote-button {
    display: inline-block;
    font-size: 15px;
    padding: 10px 22px;
    background-color: #FF782C; /* Color corporativo Ludipek */
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    text-transform: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.yith-ywraq-add-to-quote .add-request-quote-button:hover {
    background-color: #e26720;
    color: #ffffff;
}

.yith-ywraq-add-to-quote {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Oculta botones duplicados en producto individual */
.single-product .summary .yith-ywraq-add-to-quote:not(:first-of-type) {
    display: none !important;
}


/* =========================================
   MENSAJE: Producto ya está en cotización
========================================= */
[class^="yith_ywraq_add_item_response-"],
[class*=" yith_ywraq_add_item_response-"] {
    background: #e67e22;
    color: white;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    text-align: center;
    margin: 20px auto 0;
    max-width: 380px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}


/* =========================================
   MENSAJES: Producto añadido y Ver mi cotización
========================================= */

/* Mensaje verde: Producto añadido */
.yith_ywraq_add_item_product_message {
  background: #27ae60;
  color: white;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
  text-align: center;
  margin: 20px auto 0;
  max-width: 380px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* Mensaje naranja: Ya está en cotización */
.yith_ywraq_add_item_response_message {
  background: #e67e22;
  color: white;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
  text-align: center;
  margin: 20px auto 0;
  max-width: 380px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.yith_ywraq_add_item_product_message.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}



/* Botón: Ver mi cotización */
.yith_ywraq_add_item_browse_message {
  background: white;
  padding: 12px 0;
  border-radius: 0 0 10px 10px;
  text-align: center;
  max-width: 380px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  border-top: 1px solid #ffd5b0;
}

.yith_ywraq_add_item_browse_message a {
  color: #FF782C;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.yith_ywraq_add_item_browse_message a:hover {
  color: #d6500e;
}







/*Estilos formulario de cotizacion*/
/* ===============================
   ESTILOS LUDIPEK - FORMULARIO DE COTIZACIÓN
================================*/

/* Contenedor general */
.ywraq-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  font-family: "Inter", sans-serif;
}

/* Botón volver a tienda */
.yith-ywraq-before-table .button.wc-backward {
  background-color: #ff782c;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: background 0.3s ease;
}
.yith-ywraq-before-table .button.wc-backward:hover {
  background-color: #e26720;
}

/* Tabla de productos */
#yith-ywrq-table-list {
  width: 100%;
  margin-bottom: 30px;
  border-collapse: collapse;
}
#yith-ywrq-table-list thead th {
  background: #f7f7f7;
  font-weight: 700;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #ddd;
}
#yith-ywrq-table-list td {
  padding: 16px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
.product-thumbnail img {
  border-radius: 12px;
  max-width: 80px;
}

/* Título producto */
.product-name a {
  font-weight: 600;
  color: #333;
  text-decoration: none;
}
.product-name small {
  display: block;
  font-size: 13px;
  color: #888;
}

/* Input de cantidad */
.quantity input {
  width: 70px;
  padding: 8px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Formulario de envío */
.yith-ywraq-mail-form-wrapper h3 {
  font-size: 22px;
  color: #ff782c;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Campos del formulario */
.yith-ywraq-mail-form-wrapper .form-row {
  margin-bottom: 20px;
}
.yith-ywraq-mail-form-wrapper label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}
.yith-ywraq-mail-form-wrapper input[type="text"],
.yith-ywraq-mail-form-wrapper input[type="email"],
.yith-ywraq-mail-form-wrapper input[type="tel"],
.yith-ywraq-mail-form-wrapper textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}
.yith-ywraq-mail-form-wrapper textarea {
  resize: vertical;
  min-height: 90px;
}

/* Botón Enviar */
.raq-send-request-row .raq-send-request {
  background: #ff782c;
  color: white;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}
.raq-send-request-row .raq-send-request:hover {
  background: #d65f1e;
}

/* Responsivo */
@media (max-width: 768px) {
  .ywraq-wrapper {
    padding: 20px;
  }
  .product-thumbnail img {
    max-width: 60px;
  }
  .raq-send-request {
    width: 100%;
    text-align: center;
  }
}

/* Oculta el ítem "Mis pedidos" y "Mis pagos" de la lista account-dashboard */
.account-dashboard li a[href*="/orders/"],
.account-dashboard li a[href*="/pagos/"] {
  display: none !important;
}

.show-password-input {
  margin-top: 10px;
}

/* estado por defecto: ojo + Mostrar */
.show-password-input::before {
  content: 'Mostrar/Ocultar';
}




