/*
Theme Name: Nille
Theme URI: https://nille.qodeinteractive.com
Description: Elegant eCommerce Theme
Author: Select Themes
Author URI: http://themeforest.net/user/select-themes
Text Domain: nille
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Requires at least: 6.3
Tested up to: 6.8.1
Requires PHP: 7.4
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

CSS changes can be made in files in the /css/ folder. This is a placeholder file required by WordPress, so do not delete it.

*/

/* SINGLE: oculta SKU, categorías y tags (bloque meta) */
.qodef-woo-single-page .product_meta { display:none !important; }

/* SINGLE: oculta el bloque de compartir del tema Nillé */
.qodef-woo-single-page .qodef-woo-social-share-holder { display:none !important; }
.cart { display:none !important; }
.qwfw-add-to-wishlist { display:none !important; }

.wp-post-image {
    position: relative;
    width: 0%;
    display: block;
}

.qodef-content-bottom { 
  display: none !important;
}
.price {
	display: none !important;
}
/* ===== Single product: layout general (achicar galería) ===== */
.single-product .qodef-single-product-content{
  display: flex;              /* asegura dos columnas */
  gap: 32px;
}
.single-product .qodef-single-product-content .woocommerce-product-gallery{
  flex: 0 0 320px;            /* ancho de la columna de fotos (ajustá 280–360) */
  max-width: 320px;
}
.single-product .qodef-single-product-summary{
  flex: 1 1 auto;
}

/* ===== Thumbnails debajo de la imagen principal, sin recortes ===== */
.single-product .woocommerce-product-gallery__wrapper{
  overflow: visible !important;
  display: block;             /* permite que las miniaturas salten a la línea de abajo */
}

/* imagen principal */
.single-product .woocommerce-product-gallery__image:first-child{
  width: 100% !important;
  display: block !important;
  margin: 0;
}

/* miniaturas (resto de imágenes) */
.single-product .woocommerce-product-gallery__image:not(:first-child){
  display: inline-block !important;
  width: 80px;                /* tamaño de cada thumbnail */
  margin: 10px 8px 0 0;
  vertical-align: top;
}
.single-product .woocommerce-product-gallery__image:not(:first-child) img{
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

/* ===== Responsive ===== */
@media (max-width: 767px){
  .single-product .qodef-single-product-content{
    flex-direction: column;
    gap: 20px;
  }
  .single-product .qodef-single-product-content .woocommerce-product-gallery{
    flex: 0 0 auto;
    max-width: 100%;
  }
  .single-product .woocommerce-product-gallery__image:not(:first-child){
    width: 64px;              /* thumbs un poco más chicas en móvil */
    margin-right: 6px;
  }
}
.pp_fade {
	background-color: white;
}
.qodef-new-product
{
	visibility:hidden!Important;
}
.qodef-woo-single-page.qodef-woo-single-description-full-width .qodef-content .qodef-content-inner .qodef-container .qodef-container-inner {
    width: 80%!important;
}


/*Boton LEER MAS*/
.qodef-woo-pl-info-below-image ul.products>.product .button {
    margin: 0;
    width: 100%;
    color: #9f2222 ! Important;
}
/*ancho sumario de prwoductos*/
.qodef-woo-single-page .qodef-single-product-summary {
    width: 65%;
	padding: 0 0 0 176px!important;
}
/* === Mostrar imagen completa sin recorte en galería de producto === */
.woocommerce-product-gallery__image img,
.qodef-single-product-content .woocommerce-product-gallery__image img,
.qodef-product-image img {
    object-fit: contain !important;  /* Muestra la imagen completa */
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 650px !important; /* ajusta si querés limitar altura */
    background-color: #fff; /* opcional para mantener fondo blanco */
    margin: 0 auto;
    display: block;
}

/* Asegurar que el contenedor se adapte al tamaño de la imagen */
.woocommerce-product-gallery__image,
.qodef-single-product-content .woocommerce-product-gallery__image {
    height: auto !important;
    min-height: unset !important;
    overflow: visible !important;
}

.qodef-woo-single-page.qodef-woo-single-thumb-on-left-side .qodef-single-product-content .images.woocommerce-product-gallery--columns-4 .woocommerce-product-gallery__image:nth-child(3n) {
        top: calc(45% + 8px)!important;
    }

 
 
ul.products > .product .qodef-pl-inner .qodef-pl-image{
  position: static !important;
  display: block !important;
  width: auto !important;
  vertical-align: baseline !important;
  overflow: visible !important;
}
ul.products>.product .qodef-pl-inner
 {
    position: relative;
    display: inline-block;
   width: auto !important;
    vertical-align: middle;
    overflow: hidden;
}
.page-id-7 .qodef-content .qodef-content-inner > .qodef-container > .qodef-container-inner 
{
	    padding: 0!Important;	
}

.qodef-woo-pl-info-on-image-hover ul.products>.product .button {
   
    color: #8f3636!Important;
}
 /* 1) Zoom fijo SOLO al video */
.vc_video-bg-container .vc_video-bg iframe {
  position: absolute!Important;;
    inset: 0!Important;;
    width: 100% !important;
    height: 100% !important;
    transform: scale(1.50);
    transform-origin: center top!Important;;
    will-change: transform!Important;;
    pointer-events: none!Important;;
    margin-top: -73px!Important;
}

.vc_video-bg iframe.inner{
  /* elegí UNA de estas dos líneas */
  opacity: 30%!important;           /* baja opacidad */
  /* filter: brightness(50%) !important; */ /* alternativa: oscurece sin transparencia */
}

/* Forzar que el título quede debajo de la imagen */
.woocommerce ul.products li.product-category a {
  display: block;
  text-align: center;
}
.woocommerce ul.products li.product-category img {
  display: block;
  margin: 0 auto;
}
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
  margin: 8px 0 0;
  position: static !important;   /* por si tu theme lo posiciona absoluto */
  opacity: 1 !important;         /* por si lo “apagan” */
  transform: none !important;    /* por si lo animan desde CSS */
}

/* Opcional: ocultar el contador (3), (10) */
.woocommerce ul.products li.product-category h2 .count {
  display: none;
color: #000!Important;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    line-height: 23px;
}
div.woocommerce>.products>.product-category .woocommerce-loop-category__title {
    text-align: center;
    font-size: 14px;
    line-height: 1.71em;
    letter-spacing: .07em;
    color: #000000!Important;
    margin-top: 24px;
    font-weight: 600;
}
div.woocommerce>.products>.product-category .woocommerce-loop-category__title .count {
     display: initial!Important; 
	background-color: white;
}

body,    h4, h5, h6, p, a {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif!Important;
}
.qodef-top-bar {
    background-color: rgba(39, 57, 95)!Important;
}
.page-id-176 #Whatsapp-0-channel {
    display: none !important;
}
ul.products>.product .qodef-pl-inner .qodef-pl-text {
visibility: hidden!Important;
}



.qodef-container-inner {
	width: 90%!Important;
}

@media only screen and (min-width: 1367px) {
	.qodef-grid-1200 .qodef-container-inner, .qodef-grid-1200 .qodef-grid, .qodef-grid-1200 .qodef-row-grid-section {
		width: 90%!Important;}
}
.qodef-logo-wrapper a img {
	height:Initial!important;
	width: 200px!Important;}

.qodef-header-nille .qodef-page-header .qodef-vertical-align-containers .qodef-position-right {
    padding-right: 54px!Important;;
    
	min-width: 0!Important;}

.woocommerce-ordering{display:none!Important;}


/* Grilla de categorías WooCommerce: todas las cajas iguales */
.woocommerce ul.products li.product-category {
  display: flex;
  flex-direction: column;
}

/* Área de imagen con alto fijo (ajustá este número a gusto) */
.woocommerce ul.products li.product-category a > img {
  width: 100% !important;
  height: 260px !important;      /* <-- probá 240 / 260 / 280 */
  object-fit: contain;           /* entra completa, sin cortar */
  object-position: center;
  display: block;
}


.woocommerce ul.products li.product-category a > img{
  width: 100% !important;
  height: 320px !important;     /* ajustá */
  object-fit: contain !important;
  object-position: center !important;
  display:block !important;
}

/* Marco parejo para las imágenes del listado (Qode) */
.qodef-pl-main-holder ul.products li.product .qodef-pl-image{
  height: 320px;                 /* ajustá 280/300/320 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;              /* mantiene la caja prolija */
}

/* La imagen entra completa */
.qodef-pl-main-holder ul.products li.product .qodef-pl-image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
} 

/* El overlay de zoom NO debe capturar clicks */
.woocommerce-product-gallery .zoomImg{
  pointer-events: none !important;
}

/* Asegura que el <a> de la imagen sea bloque y esté arriba */
.woocommerce-product-gallery__image > a{
  display:block !important;
  position:relative !important;
  z-index: 5 !important;
}
/* Thumbs: centrar y mostrar ENTERO (contain) */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a{
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* IMPORTANTE: que no "recorte" la imagen */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Si el cuadro del thumb no tiene altura fija, definila (ajustá el 160 a gusto) */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image{
  overflow: hidden;
}
/* Solo en single product */
.single-product .woocommerce div.product {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.single-product .woocommerce div.product .woocommerce-product-gallery {
  flex: 1 1 420px;
  max-width: 100%;
}

.single-product .woocommerce div.product .summary {
  flex: 1 1 360px;
  max-width: 100%;
}

.wc-cat-index{
text-transform: uppercase!Important;
}
/* SR7: evitar desborde/solapado al hacer zoom */
#SR7_31_1 {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

#SR7_31_1 sr7-adjuster,
#SR7_31_1 sr7-content {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
}

#SR7_31_1 sr7-mask,
#SR7_31_1 sr7-bg,
#SR7_31_1 canvas,
#SR7_31_1 img {
  max-width: 100% !important;
}

#SR7_31_1 canvas {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 1024px) {
  #SR7_31_1 sr7-txt {
    max-width: calc(100% - 40px) !important; /* evita que se salga */
    white-space: normal !important;          /* permite wrap */
  }
}
/* 1) SR7: que NO se desborde y NO pise el contenido */
#SR7_31_1,
#SR7_31_1 sr7-content,
#SR7_31_1 sr7-slide,
#SR7_31_1 sr7-mask {
  overflow: hidden !important;
}

#SR7_31_1 {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 1 !important;
}
/* ===== SR7 FIX: NO recortar productos ===== */
#SR7_31_1,
#SR7_31_1 sr7-content,
#SR7_31_1 sr7-slide,
#SR7_31_1 sr7-mask,
#SR7_31_1 sr7-bg{
  overflow: visible !important;
}

/* evitar scrollbar horizontal si algo se “sale” */
body{ overflow-x: hidden !important; }

#SR7_31_1 sr7-content {
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* evita “anchos fijos” internos (canvas, imgs) */
#SR7_31_1 canvas,
#SR7_31_1 img {
  max-width: 100% !important;
}
/* 2) “equivalente a zoom alto”: ocultar slider cuando el viewport se achica */
@media (max-width: 1100px) {
  #SR7_31_1 { display: none !important; }
}
@media (min-width: 1101px){
  #SR7_31_1,
  #SR7_31_1 sr7-adjuster,
  #SR7_31_1 sr7-content{
    height: 650px !important;   /* probá 600 / 650 / 700 */
  }
}
.qodef-content{margin-top:0!important;}

/* === CATEGORÍAS /SHOP: mismas alturas y apoyadas abajo === */
body.page-id-7 .woocommerce ul.products li.product-category > a{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* la clave: altura fija + object-position abajo */
body.page-id-7 .woocommerce ul.products li.product-category > a > img{
  width: 100% !important;
  height: 280px !important;              /* <-- ajustá este número */
  object-fit: contain !important;         /* no recorta */
  object-position: center bottom !important; /* APOYA ABAJO */
  display: block !important;
}

/* opcional: título prolijo */
body.page-id-7 .woocommerce ul.products li.product-category .woocommerce-loop-category__title{
  margin-top: 14px !important;
  text-align: center;
}
/* WooCommerce - Productos relacionados: igualar tamaño y alineación de imágenes */
.related.products ul.products li.product .qodef-pl-image{
  height: 320px;              /* <- ajustá este valor (280/300/340) según te guste */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* La imagen ocupa el "marco" y se centra */
.related.products ul.products li.product .qodef-pl-image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;        /* <- NO recorta (mantiene toda la foto) */
  display: block;
  margin: 0 auto;
}

/* Opcional: que el texto quede más parejo si algunos títulos saltan a 2 líneas */
.related.products ul.products li.product .qodef-product-list-title{
  min-height: 2.8em;
}
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img{
  width: auto !important;
  height: 100% !important;   /* o auto, según lo que busques */
  max-width: 100% !important;
}
.qodef-single-product-title {font-size:34px!important;    line-height: 40px!Important;}
.qodef-woo-single-page .qodef-single-product-summary {

	width: 65%!Important;}

.woocommerce-product-details__short-description{
	background: #fafafa;
    padding: 2rem;
    margin-top: 2rem;
	
}
/* Oculta el LI */
ul.product-categories > li.cat-item.cat-item-43,
.widget_product_categories ul > li.cat-item.cat-item-43,
.widget_categories ul > li.cat-item.cat-item-43{
  display: none !important;
}

/* Backup: si por alguna razón el LI se vuelve a mostrar, oculta el link */
li.cat-item.cat-item-43 > a{
  display: none !important;
}
/* Oculta completamente el item "Sin categorizar" (incluye la viñeta/marker) */
ul.wc-cat-index > li.cat-item-43{
  display: none !important;
}
