/*
Theme Name: GeneratePress Child
Theme URI: https://lazarigueyadidactica.com
Description: Tema hijo de GeneratePress
Author: Moisés
Template: generatepress
Version: 1.0
Text Domain: generatepress-child
*/

/* A partir de aquí pegas TODO tu CSS */

ol, ul {
    margin: 0em;
}

/* Ocultar en móviles si se ve muy apretado (opcional) */
@media (max-width: 768px) {
    .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
        display: none; 
    }
}

span.wc-block-mini-cart__badge {
    background-color: #E3AAAA;
}

.productos-home {
    background-image: url('https://lazarigueyadidactica.com/wp-content/uploads/2026/04/268_Organic_White_Background-scaled.jpg');
/* 2. Evitamos que se repita */
    background-repeat: no-repeat;
    
    /* 3. Forzamos a que cubra todo el bloque */
    background-size: cover;
    
    /* 4. Centramos la imagen para que lo más importante se vea */
    background-position: center center;
}

 /* Flechas de carrusel home */
svg.wc-block-next-previous-buttons__icon {
    padding: 0px 0px;
    margin: 2px 4px 4px -2px;
}

svg.wc-block-next-previous-buttons__icon.wc-block-next-previous-buttons__icon--left {
    margin: 2px 4px 4px -5px;
    padding: 0px !important;
}

button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background) {
    color: #3f3f3f;
    background-color: #ffffff;
    border: solid 1px #3f3f3f;
}


/* CONTROL DE TAMAÑO DE BOTONES */
.wp-block-button__link, 
.button, 
.woocommerce-button {
	border-radius: 24px !important;
}

/* borde sidebar - TIENDA */
.sidebar {
 border-right: 1px solid #ddd;
}

span.price {
    font-size:16px !important;
    font-weight: 800 !important;
}

.wc-block-mini-cart__badge {
	background-color: #E3AAAA !important;
    color: white !important;
}


.wp-elements-baaf55885922f22f5f57e7baf65b9224 a:hover{
    color: #E3AAAA;
}

button.wc-block-mini-cart__button
 {
    border-radius: 100px;
}


/*Buscador*/
html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    background: #fff !important;
    box-shadow: 0 0 0 1px #ccc;
}

.subtitulos{
	font-style: normal !important;
	    font-family: lato, sans-serif;
}

/* FORMULARIO PERSONALIZAR CAJA */
/* CONTENEDOR */
.form-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

/* CAMPOS GRANDES */
.form-grid .full {
    grid-column: 1 / -1;
}

/* LABELS */
.form-grid label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
}

/* INPUTS */
.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #ffffff;
    font-size: 15px;
    color: #2c2c2c;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* FOCUS */
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: #f1b786;
    box-shadow: 0 0 0 4px rgba(241,183,134,0.2);
}

/* TEXTAREA */
.form-grid textarea {
    min-height: 90px !important;
    resize: vertical;
}

/* BOTÓN */
.form-grid input[type="submit"] {
    background: #E3AAAA;
    color: white;
    border: none;
    padding: 18px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

/* HOVER BOTÓN */
.form-grid input[type="submit"]:hover {
    background: #d96d3f;
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-grid textarea.wpcf7-form-control {
    height: 90px !important;
    min-height: 90px !important;
    resize: none;
}


.form-grid select {
    padding-right: 70px !important;
    background-position: right 25px center !important;
}



/* Ficha Tecnica */

.ficha-tecnica{
    width:100%;
    border-collapse:collapse;
    margin:40px 0;
    font-size:16px;
}

.ficha-tecnica th,
.ficha-tecnica td{
    padding:16px 20px;
    border:1px solid #e5e5e5;
}

.ficha-tecnica th{
    width:35%;
    background:#f8f8f8;
    text-align:left;
    font-weight:700;
}

.ficha-tecnica tr:nth-child(even){
    background:#fcfcfc;
}

/* Móvil */

@media (max-width:768px){

.ficha-tecnica,
.ficha-tecnica tbody,
.ficha-tecnica tr,
.ficha-tecnica th,
.ficha-tecnica td{
    display:block;
    width:100%;
}

.ficha-tecnica tr{
    margin-bottom:18px;
    border:1px solid #e5e5e5;
    border-radius:8px;
    overflow:hidden;
}

.ficha-tecnica th{
    border:none;
    border-bottom:1px solid #eee;
}

.ficha-tecnica td{
    border:none;
}

}

/* Limita el ancho del contenido exclusivamente de los posts individuales */
.single-post .inside-article {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================
   LISTAS DEL BLOG
   ========================== */

/* Espaciado general */
.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 2rem;
    margin: 1.6em 0;
}

/* Separación entre elementos */
.single-post .entry-content li {
    margin-bottom: 0.8em;
    padding-left: 0.35rem;
    line-height: 1.8;
}

/* Color de viñetas y números */
.single-post .entry-content ul li::marker,
.single-post .entry-content ol li::marker {
    color: #E3AAAA;
    font-weight: 700;
}

/* Sublistas */
.single-post .entry-content ul ul,
.single-post .entry-content ol ol,
.single-post .entry-content ul ol,
.single-post .entry-content ol ul {
    margin-top: 0.6em;
    margin-bottom: 0;
}


.related.products  {
    margin-top: 100px !important;
}

.joinchat__button {
    position: absolute;
    z-index: 2;
    bottom: 70px !important;
    right: 0px !important;
    height: var(--s);
    width: var(--s);
    background: #25d366 var(--joinchat-ico) 50% / 60% no-repeat;
    color: inherit;
    border-radius: 50%;
    box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, .24);
    cursor: pointer;
    transition: background-color .2s linear;
}

@media (max-width: 767px) {
.gb-element-35e380c0 {
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 100%;
}
}

.woocommerce-price-suffix{
	color: #111;
	font-weight: 300;
}


.box-home:hover{
	color: #e3aaaa !important;
}

/* ICONO PERSONALIZADO DE MI CUENTA */
.icon-mi-cuenta .wc-block-customer-account__link svg {
    display: none;
}

.icon-mi-cuenta .wc-block-customer-account__link::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;

    /* SVG personalizado */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M512.011 534.005c190.805 0 351.989 156.427 351.989 341.589v87.413c0 30.336-24.672 54.997-54.997 54.997h-593.995c-30.347 0-55.008-24.672-55.008-54.997v-87.413c0-185.163 161.184-341.589 351.989-341.589l0.021-0zM512.011 622.005c-140.64 0-264.011 118.507-264.011 253.589v54.421h528v-54.4c0-135.104-123.349-253.611-263.989-253.611zM511.979 6.005c133.483 0 242.037 108.565 242.037 242.016-0.011 133.419-108.587 241.984-242.037 241.984-133.419 0-241.963-108.565-241.963-241.995-0.011-133.451 108.523-242.016 241.963-242.005v0zM511.979 94.005c-84.885 0-153.963 69.088-153.963 154.005-0.021 84.917 69.077 153.995 153.963 153.995 84.928 0 154.016-69.077 154.016-153.984 0.011-84.928-69.077-154.016-154.016-154.016z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M512.011 534.005c190.805 0 351.989 156.427 351.989 341.589v87.413c0 30.336-24.672 54.997-54.997 54.997h-593.995c-30.347 0-55.008-24.672-55.008-54.997v-87.413c0-185.163 161.184-341.589 351.989-341.589l0.021-0zM512.011 622.005c-140.64 0-264.011 118.507-264.011 253.589v54.421h528v-54.4c0-135.104-123.349-253.611-263.989-253.611zM511.979 6.005c133.483 0 242.037 108.565 242.037 242.016-0.011 133.419-108.587 241.984-242.037 241.984-133.419 0-241.963-108.565-241.963-241.995-0.011-133.451 108.523-242.016 241.963-242.005v0zM511.979 94.005c-84.885 0-153.963 69.088-153.963 154.005-0.021 84.917 69.077 153.995 153.963 153.995 84.928 0 154.016-69.077 154.016-153.984 0.011-84.928-69.077-154.016-154.016-154.016z'/%3E%3C/svg%3E");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;

    background-color: #000;
}

/* HOVER */
.icon-mi-cuenta .wc-block-customer-account__link:hover::before {
    background-color: #e3aaaa;
}


ul.wc-block-product-template__responsive.columns-5.wc-block-product-template.wp-block-woocommerce-product-template.is-layout-flow.wp-block-woocommerce-product-template-is-layout-flow{
	 row-gap: 3em !important;
}

.wp-block-post-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    max-height: 3.2em !important;
    line-height: 1.5em !important;
}

.imagen-categoria:hover{
 	transform: scale(0.95);
}



  ul li::marker, ol li::marker {color: #e3aaaa; font-weight: bold;  }


.woocommerce-tabs {
    background-color: #fff8f8;
    padding: 30px;
    border-radius: 12px;
    margin-top: 50px;
}

.woocommerce-tabs .tabs {
    margin: 0 0 25px 0;
}

.woocommerce-tabs .tabs li {
    margin: 0;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 0;
}


.wc-block-product-template__responsive {
    grid-gap: 3.25em 1.25em;
    display: grid;
}


@media (max-width: 767px) {
.imagen-categoria.wp-block-image img  {

    max-width: 70%;
}
}

/* CAJA DIDÁCTICA */
.wc-block-components-product-price.wc-block-grid__product-price {
    font-size: 18px;
}

@media (max-width: 767px) {
.espacio-caja-didactica  {

  display: none;
}
}

/* SOMOS */

.wp-block-columns.alignwide.is-layout-flex.wp-container-core-columns-is-layout-2bfd0c50.wp-block-columns-is-layout-flex
 {
    padding: 0px 36px !important;
}


/* Filtro Lateral */
div#left-sidebar {
    padding: 0px 24px 0px 0px;
}


@media (max-width: 768px) {
  .titulo-somos-home {
    font-size: 3em !important;
  }
}
