/*
Theme Name: Xtreme
Theme URI: https://therootsons.com
Description: Child theme de GeneratePress para Xtreme.
Author: The Rootsons
Author URI: https://therootsons.com
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xtreme
*/
.product-template-default .entry-content {
    max-width: var(--gb-container-width);
    margin: auto;
    padding-bottom: min(max(4rem, calc(4rem + ((1vw - 0.32rem) * 2.5))), 6rem);
    padding-top: min(max(2rem, calc(2rem + ((1vw - 0.32rem) * 2.5))), 3rem);
    padding-left: 20px;
    padding-right: 20px;
}
.summary.entry-summary {
    background: white;
    padding: 22px;
    border-radius: 8.96px;
}
body.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: flex;
    height: 100%;
    flex-direction: column;
}
body.woocommerce ul.products li.product a.woocommerce-loop-product__link .price{    margin-top: auto;}
body.woocommerce.archive div#content {
	 flex-wrap: wrap;
	 padding-left: 20px;
	 padding-right: 20px;
	 max-width: var(--gb-container-width);
	 margin: auto;
	padding-bottom: min(max(2rem, calc(2rem + ((1vw - 0.32rem) * 2.5))), 3rem);
    padding-top: min(max(2rem, calc(2rem + ((1vw - 0.32rem) * 2.5))), 3rem);
}
 body.woocommerce.archive .shop-heading {
	width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
	padding: 8px 0;
    border-top: 1px solid #DADADA;
    border-bottom: 1px solid #DADADA;
    margin-bottom: 24px;
}
.woocommerce .shop-heading form.woocommerce-ordering{
	margin-bottom: 0;
}
 body.woocommerce.archive .shop-heading header.woocommerce-products-header {
	 margin-right: auto;
}
 body.woocommerce.archive h1 {
	 font-style: normal;
	 font-weight: 800;
	 font-size: 16px;
	 line-height: 100%;
	 color: var(--paragraph-color);
	 margin-bottom: 24px;
	 text-transform: uppercase;
}
 body.woocommerce.archive .inside-left-sidebar {
	 background-color: #fff;
	 padding: 20px;
}
 body.woocommerce.archive .inside-left-sidebar h2 {
	 font-family: "Montserrat";
	 font-style: normal;
	 font-weight: 600;
	 font-size: 20px;
	 color: var(--dark-color);
}
 body.woocommerce.archive .inside-left-sidebar h3.wp-block-heading {
	 font-family: "Montserrat";
	 font-style: normal;
	 font-weight: 600;
	 font-size: 14px;
	 line-height: 100%;
	 display: flex;
	 align-items: center;
	 text-transform: uppercase;
	 color: var(--dark-color);
}
 body.woocommerce.archive .inside-left-sidebar .widget {
	 padding: 0;
}
 body.woocommerce.archive .wc-columns-container .products {
	 grid-gap: 20px;
}
 body.woocommerce.archive .inside-wc-product-image {
	 overflow: hidden;
}
 body.woocommerce.archive ul.products li.product a img {
	 height: 100%;
}
 body.woocommerce.archive .filter-button {
	 box-sizing: border-box;
	 display: flex;
	 flex-direction: row;
	 align-items: center;
	 padding: 8px;
	 gap: 6px;
	 color: var(--paragraph-color);
	 background: transparent;
	 border: none;
	 font-style: normal;
	 font-weight: 500;
	 font-size: 16px;
	 letter-spacing: 0.05em;
	 height: fit-content;
	 min-width: fit-content;
	 text-transform: uppercase;
}
 body.woocommerce.archive .filter-button img {
	 width: 24px;
	 height: 16px;
	 border-left: 1px solid var(--light-color);
	 padding-left: 8px;
}
 body.woocommerce.archive .woocommerce-ordering select {
	 color: var(--paragraph-color);
	 background: transparent;
	 border: none;
	 font-style: normal;
	 font-weight: 500;
	 font-size: 16px;
	 line-height: 20px;
	 letter-spacing: 0.05em;
}
 body.woocommerce.archive .woocommerce-ordering::after {
	 content: "";
	 padding-left: 8px;
	 background: url("/wp-content/uploads/2026/07/order.svg") no-repeat right center;
	 background-size: 16px;
	 display: inline-block;
	 width: 24px;
	 height: 16px;
	 top: 50%;
     transform: translateY(-50%);
}
.woocommerce div.product span.onsale {
    position: absolute;
    top: 15px;
    left: 125px;
}
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    min-width: 76px;
}
.woocommerce div.product form.cart div.quantity, .woocommerce form .quantity .qty {
    display: none !important;
}
.woocommerce button.button.alt {
	width: 100%;}
 @media (max-width: 991px) {
	 body.woocommerce.archive button.filter-button {
		 display: flex;
	}
	 div#left-sidebar {
		 order: -1;
		 display: none;
	}
	 .lg-flex {
		 display: flex !important;
	}
	 .inside-wc-product-image {
		 width: 100%;
	}
	 .inside-wc-product-image img {
		 width: 100% !important;
	}
	 .site-content .content-area {
		 width: 100%;
	}
	 .site-content .content-area main#main {
		 margin: 0;
	}
}
@media (min-width: 992px) {

	.woocommerce.single-product div.product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
		overflow: clip;
  }
	body.woocommerce #content div.product div.images, body.woocommerce #content div.product div.summary{
		width: 100%;
	}
}
@media (max-width: 991px) {
	body.woocommerce #content div.product div.images {
        margin-right: 0;
        width: 100%;
    }
	body.woocommerce #content div.product div.summary{
		width: 100%;
	}
}


/* Aplica flex-column únicamente al <form> de login */
.woocommerce-form.login {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* separación entre filas */
  max-width: 320px; /* tu ancho */
  margin: auto; /* centrado */
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Asegura que cada fila de formulario ocupe todo el ancho */
.woocommerce-form.login .form-row,
.woocommerce-form.login .form-row-wide {
  width: 100%;
}

/* Botón y checkbox siguen agrupados en su propia fila, pero ocupando todo el ancho */
.woocommerce-form-login__submit {
  text-transform: uppercase;
  width: 100%;
  padding: 0.75em;
  font-weight: bold;
}

.woocommerce-form-login__rememberme {
  margin: 0.5rem 0 0; /* un poco de espacio encima */
}
.wc-product-image .inside-wc-product-image{
	display:flex;
}
.wc-product-image img{
	width: 100%;
}
.wpgb-facet.wpgb-facet-5{display:flex;}
.wpgb-facet.wpgb-facet-5 button.wpgb-button{
	margin: auto;
}
/* Shop: filters sidebar + product grid */
#wc-column-container {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 30px;
}

/* these stay full-width above the two columns */
#wc-column-container .woocommerce-notices-wrapper,
#wc-column-container .shop-heading,
#wc-column-container .woocommerce-result-count {
	flex: 0 0 100%;
}

/* left sidebar (filters) */
.shop-sidebar {
	flex: 0 0 250px;
	max-width: 250px;
}

/* grid takes the remaining width */
#wc-column-container ul.products {
	flex: 1 1 0%;
	width: auto;
	margin-left: 0;
	margin-right: 0;
}

/* mobile: stack */
@media (max-width: 768px) {
	.shop-sidebar {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.cuidados-producto-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.cuidados-producto-lista li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
    color: #333;
}

.cuidados-producto-lista li::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.inside-wc-product-image { position: relative; }
.product-image-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
/* --- Your uploaded PNGs --- */
.cuidados-producto-lista .maximo_30::before {
    background-image: url('/wp-content/uploads/2026/07/maximo-30.png');
}

.cuidados-producto-lista .no_lejia::before {
    background-image: url('/wp-content/uploads/2026/07/no-lejia.png');
}

.cuidados-producto-lista .planchar_frio::before {
    background-image: url('/wp-content/uploads/2026/07/planchar-frio.png');
}
.cuidados-producto-lista .no_secadora::before {
    background-image: url("/wp-content/uploads/2026/07/no-secadora.png");
}
.cuidados-producto-lista .no_planchar::before {
    background-image: url("/wp-content/uploads/2026/07/no-planchar.png");
}
.cuidados-producto-lista .no_seco::before {
    background-image: url("/wp-content/uploads/2026/07/no-seco.png");
}