/*
Theme Name: Dollar Store
Theme URI: https://www.dollarstore.com.ec/
Author: Your Name
Author URI: https://example.com
Description: Tema DollarStore
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: dollarstore
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust: none;
  touch-action: manipulation;
}
html, body{ overflow-x: hidden; }
body{margin:0;font-family:var(--font-body);line-height:1.6;color:#111}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
:root{
  --font-body: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
  /* Ajusta aquí tu ancho máximo deseado */
  --wpb-max-width: 1280px;
  /*Otras variables*/
  --bg:#ffffff;
  --text:#111111;
  --muted:#6F6F6F;
  --brand:#111111;
  --accent:#edcb57;
  --pill:#F4F4F4;
  --card:#FFFFFF;
  --stroke: #b7b7b7;
  --shadow: 0 2px 6px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.06);
  --radius-xxl: 28px;
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 12px;
  /*BÚSQUEDA*/
  --search-gap: 20px;
  --card-bg: #fff;
  --card-border: #e8e8e8;
  --card-radius: 14px;
  --card-shadow: 0 4px 14px rgba(0,0,0,.06);

  /* Tipografía */
  --text-search: #077528;
  --text-soft: #000;

  /* Verde principal */
  --accent-search: #0AA539;
  --accent-soft: rgba(10, 165, 57, .12);
}
input[name='s']:focus{
  border-left: none !important;
}
select[name='post_type']:focus{
  border-right: none !important;
}
input:focus, select:focus{
  outline: none !important; /* Removes the default outline */
  border:solid 2px var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 212, 72, 0.35), 0 0 12px rgba(255, 212, 52, 0.45) !important;
}
.wrap{
  width:min(100% - 48px, var(--wpb-max-width));
  margin-inline:auto;
}
/* Limita el ancho de los contenidos generados por WPBakery
   EXCEPTO si la fila contiene un Slider Revolution */
.vc_row:not(:has(.rev_slider_wrapper, .rev_slider))
> .wpb_column > .vc_column-inner > .wpb_wrapper,
.vc_row:not(:has(.rev_slider_wrapper, .rev_slider))
.wpb_content_element:not(.wpb_revslider_element) {
  max-width: var(--wpb-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Asegura que el slider quede a todo lo ancho */
.wpb_revslider_element,
.vc_row:has(.rev_slider_wrapper, .rev_slider) {
  max-width: none !important;
  width: 100%;
}
.container{width:min(1100px, 92%);margin-inline:auto}
.site-header,.site-footer{padding:1rem 0;border-bottom:1px solid #eee}
.site-footer{border-top:1px solid #eee;border-bottom:none;margin-top:2rem;padding:2rem 0;color:#444}
nav ul{list-style:none;padding:0;margin:0;display:flex;gap:.75rem;flex-wrap:wrap}
nav a{text-decoration:none;padding:.25rem .5rem;border-radius:.25rem}
nav a:focus,nav a:hover{background:#f3f4f6}
main{padding:2rem 0}
article{margin-bottom:2.5rem}
article h2{margin:.2rem 0 0}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wp-caption{max-width:100%}
.alignwide{margin-left:auto;margin-right:auto}
.alignfull{width:100vw;margin-left:50%;transform:translateX(-50%)}

p,span,h1,h2,h3,h4,h5,h6,strong,div,a,button,ul,li{
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
}
body{
  text-align: center;
  background: white;
}
html {
  scroll-behavior: smooth;
}
header.header-dollar{
  text-align: left;
  background: #04A539;
  background: linear-gradient(90deg, rgba(4, 165, 57, 1) 0%, rgba(10, 199, 13, 1) 100%);
  padding: 20px;
  box-sizing: border-box;
}
header.header-dollar img{
  max-width: 200px;
}
header.header-dollar .accesos{
  float: right;
}
.selector-locales,.accesos{
  display: inline-block;
}
.accesos{
  margin: 0;
  padding: 0;
  list-style: none;
}
.loc-cercano{
  font-size: 11px;
}
.accesos li,.loc-cercano{
  display: inline-block;
  vertical-align: middle;
  margin: 10px;
  color: white;
}
.accesos span{
  vertical-align: middle;
}
.accesos img,.dollar_sign{
  max-width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}
a{
  text-decoration: none;
}
img{
  display: inline-block;
  vertical-align: middle;
  width: 100%;
}
.dollar-bloc{
  max-width: 1200px;
  margin: auto;
}
.iso{
  max-width: 35px;
  margin: 0 15px;
}
.heading h4{
  display: inline-block;
  vertical-align: middle;
}
.featured-img img{
  width: auto !important;
  max-height: 200px;
  margin: 15px auto;
}
.product{
  min-height: 320px;
  vertical-align: top;
}
.info-product{
  text-align: left;
  padding: 0 30px;
}
.info-product p{
  margin: 3px 0;
  padding: 0;
}
.info-product h3{
  font-size: 14px;
  font-weight: bolder;
  line-height: 16px;
  margin: 0 auto;
}
.info-product .code{
  color: #666666;
  font-size: 12px;
}
.green_txt{
  color: #099132;
  font-size: 12px;
  font-weight: bolder;
}
.price{
  color: #808080;
  font-size: 13px;
}
.price strong{
  font-weight: bolder;
  font-size: 20px;
  color: #077528;
}

ul.page-numbers {
    width: 100%;
    text-align: center;
}
ul.page-numbers li{
  margin: 0 15px !important;
  color: #808080 !important;
  display: inline-block !important;
  text-decoration: none !important;
  width: 35px !important;
  height: 35px !important;
  line-height: 35px !important;
  font-weight: 500 !important;
  border-radius: 50% !important;
  background: #F5F5F5 !important;
  border: solid 1px #F5F5F5 !important;
  font-size: 12px !important;
  text-align: center !important;
  float: none !important;
}
.woocommerce-pagination ul.page-numbers li span,.woocommerce-pagination ul.page-numbers li a{
  border: none !important;
  background: initial !important;
  color: #808080 !important;
  line-height: initial !important;
  padding: 7px !important;
  text-align: center;
  border-radius: 50% !important;
}
.page-numbers{
  border: none !important;
  text-align: right;
}
.woocommerce-pagination .page-numbers.current,.woocommerce-pagination .page-numbers.next,.woocommerce-pagination .page-numbers.prev{
  font-weight: 800 !important;
  color: #13AF4B !important;
  background: white !important;
  border: solid 1px #13AF4B !important;
}
.paginador{
  margin: 25px auto;
  text-align: center;
  width: 100%;
  display: inline-block;
}
.foot-bloc .logo-color{
  max-width: 200px;
}
.contact{
  display: flex;
  align-content: center;
  height: 587px;
}
.contact .bloc-lft,.contact .bloc-rgt{
  background-repeat: no-repeat !important;
  box-sizing: border-box;
}
.contact .bloc-lft{
  width: 355px;
  background: url("/wp-content/themes/dollarstore/images/contact-bg-lft.png");
  padding: 10% 25px;
}
.contact .bloc-rgt{
  width: 845px;
  background: url("/wp-content/themes/dollarstore/images/contact-bg-rgt.png");
  padding: 5% 25px;
}
.contact .wpforms-container .wpforms-field, .contact .wp-core-ui div.wpforms-container .wpforms-field {
  padding: 0;
}
.contact .wpforms-field-label{
  text-align: left;
  margin: 0 0 5px 0 !important;
}
.contact input,.contact select{
  border-radius: 50px !important;
  border: none !important;
}
.contact .form{
  padding: 0 10%;
}
.contact .wpforms-field{
  margin: 10px 0;
}
.contact .auth label{
  font-size: 13px !important;
  text-align: left;
}
.contact button[type=submit]{
  background: #292929 !important;
  border-radius: 50px !important;
  border: none !important;
  float: right;
  margin: 20px 0;
}
.contact .wpforms-error{
  text-align: left;
  margin: 6px 0 !important;
}
.contact .auth legend{
  display: none !important;
}
footer{
  background: #FBFBFB;
  border-bottom: solid 12px #0AA539;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 50px;
}
.foot-bloc{
  display: inline-block;
  vertical-align: top;
  margin: 20px;
}
.footer-contact{
  text-align: left;
}
.footer-contact img{
  max-width: 16px !important;
  margin-right: 8px !important;
}
vl{
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 100px;
  background: #E6E6E6;
  margin: 0 20px;
}
.redes{
  margin-top: 10px;
}
.red{
  margin: 5px;
}
.red img{
  max-width: 28px !important;
}
.top-bar{
  background: #292929;
  /*position: relative;*/
  z-index: 2;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #099132 !important;
}
.owl-dots{
  margin: 10px auto;
}
.btn{
  display: inline-block;
  background: #04A539;
  background: linear-gradient(90deg, rgba(4, 165, 57, 1) 0%, rgba(10, 199, 13, 1) 100%);
  padding: 10px 20px;
  border-radius: 50px;
  color: white;
  margin: 20px auto;
}

.cf_api_woo_wrapper #sidebar {
    width: 230px !important;
    display: inline-block;
    vertical-align: top;
    margin: 0 20px 0 0;
    padding: 0 0 0 12px !important;
    box-sizing: border-box;
}

.cf_api_woo_wrapper #sidebar ul {
    padding: 0;
}

div.product div.woocommerce-product-gallery {
    float: left;
    width: 48%;
}

li.product {
    display: inline-block;
}
/* Layout principal */
.layout_archive{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:48px;
  align-items:start;
  padding-block: 20px 72px;
}

/* Sidebar */
.cat_sidebar{
  text-align: left;
  position:sticky;
  top:16px;
}
.search_archives_archives{
  position:relative;
  margin-bottom: 28px;
}
.search_archives__icon{
  position:absolute;
  left:22px;
  top:50%;
  transform: translateY(-50%);
  color:#888;
  pointer-events:none;
}
.search_archives__input{
  width:100%;
  height:50px;
  background:var(--pill);
  border:1px solid var(--pill);
  border-radius: 32px;
  padding: 0 24px 0 52px;
  font-size:16px;
  outline:none;
}
.search_archives__input::placeholder{ color:#9A9A9A; }

.cat_sidebar__title{
  margin: 12px 0 8px;
}

.filters{
  list-style:none;
  padding:0;
  margin: 8px 0 0;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.filters__item{}

.chk{
  --size:28px;
  display:flex;
  align-items:center;
  gap:16px;
  cursor:pointer;
  user-select:none;
}
.chk input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.chk__box{
  width:var(--size);
  height:var(--size);
  border-radius: 8px;
  border:2px solid var(--accent);
  background:#fff;
  display:inline-grid;
  place-items:center;
  transition: all .2s ease;
  box-shadow: inset 0 0 0 0px transparent;
}
.chk__label{
  font-size: 22px;
  line-height:1;
}
.chk input:focus-visible + .chk__box{
  outline: 3px solid #fef8e2;
}
.chk input:checked + .chk__box{
  border-color: var(--accent);
}
.chk input:checked + .chk__box::after{
  content:"";
  width:12px; height:12px;
  border-radius:4px;
  background: var(--accent);
  display:block;
}

/* Cards */
.content-archive{
  border-left: solid 1px #ccc;
  padding-left: 6%;
  min-height: 60vh;
}
.cards_archives{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:56px;
}
.card_archives{
  background:var(--card);
  border-radius: var(--radius-xxl);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.card_archives__media{
  display:block;
}
.card_archives__img,.single-tips .feat-img{
  width:100%;
  aspect-ratio: 16 / 9;
  background: #F0F0F0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  border-radius: 15px;
}
article.card_archive{
  text-align: left;
}
.card_archives__body{
  padding: 25px 0;
}
.card_archives__title{
  font-weight: 800;
  margin: 6px 0 8px;
  line-height: 25px;
}
.card_archives__date{
  text-align: left;
  display:block;
  color:var(--muted);
  font-size: 14x;
  margin-bottom: 14px;
}
.card_archives__excerpt{
  font-size: 18px;
  line-height: 1.7;
  color:#353535;
  margin:0;
}

/* Estado vacío */
.empty{
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
}
.titulo_tip{
  text-align: left;
  font-size: 28px;
  margin-bottom: 35px;
}
.wpb_text_column p{
  color: #077528;
}
.single-tips ul:not(.accesos){
  list-style: none;
  margin: 0;
  padding: 0;
}
.single-tips li:not(.accesos li){
  background: #f2f2f2;
  border-radius: 20px;
  padding: 20px 10px;
  margin: 20px 0;
}
.single-tips li p:not(.accesos li p),.single-tips li h3:not(.accesos li h3){
  display: inline-block;
  vertical-align: top;
  text-align: left;
  margin: 0;
}
.single-tips li p:not(.accesos li p){
  color: black;
  margin-left: 10px;
  max-width: 80%;
  line-height: 18px;
}
.single-tips li h3:not(.accesos h3){
  color: #0a9132;
  font-weight: bolder;
}
.select2-results__option{
  font-size: 12px !important;
}
.entry-header{
  display: none;
}
main {
  padding: 0;
}
.woocommerce-ordering{
  display: none;
}
/* Contenedor principal */
.contenedor-catalogo {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Bloque izquierdo fijo */
.bloque-menu{
  text-align: left;
  padding: 20px 5px;
  width: 230px;
  background: white;
  margin-top: 20px;
  /*display: none;
  position: absolute;
  z-index: 1;*/
  /*box-shadow: 2.5px 2.5px 5px rgba(0, 0, 0, 0.15);*/
}

/* Bloque derecho ocupa el resto */
.bloque-productos{
  flex: 1;
  padding: 20px;
  position: relative;
}
.opts-cat{
  text-align: center;
  margin: 25px auto;
  position: absolute;
  right: 25px;
}
.btn-filtro{
  background: #F2F2F2;
  border-radius: 25px;
  font-size: 12px;
  display: inline-block;
  padding: 15px;
  cursor: pointer;
}
.btn-filtro:hover{
  background: #d0d0d0;
}
.btn-filtro:after{
  content: "" !important;
  display: inline-block !important;
  vertical-align: middle;
  background-size: cover !important;
  margin-left: 10px;
  height: 13px;
}
.filtro-cat:after{
  width: 17px;
  background: url("/wp-content/themes/dollarstore/images/icons/filtercats.png");
}
.order-az:after{
  width: 14px;
  background: url("/wp-content/themes/dollarstore/images/icons/orderaz.png");
}
.order-price:after{
  width: 13px;
  background: url("/wp-content/themes/dollarstore/images/icons/orderprice.png");
}
.cf_api_available_local_icon{
  margin: 0 10px 3px 0 !important;
}
li.product{
  border: solid 1.5px #EBEDF3 !important;
  padding: 20px 12px !important;
  /*max-width: 270px;*/
  min-height: 350px !important;
}
.cf_api_barcode,.cf_api_brand{

}
.cf_api_loop_title{
  font-size: 16px;
  text-transform: lowercase;
}
.cf_api_loop_title::first-letter {
  text-transform: uppercase;
}
.carrusel_cards{
  text-align: center;
}
.products .product .product-available img, div.locales div.cf_api_available_local img.cf_api_available_local_icon{
  content:url("/wp-content/plugins/cf-products-brochure/images/icon-location-green.png") !important;
  width: 16px !important;
  height: 21px !important;
}
.product-available{
  margin: 5px auto;
}
.green_btn button,.green_btn a{
  background-image: auto;
  background: #0AA539;
  background: linear-gradient(90deg, rgba(10, 165, 57, 1) 0%, rgba(12, 199, 12, 1) 100%) !important;
  color: white !important;
  border-radius: 2em !important;
  border: none !important;
  margin: 20px auto;
}
.white_btn button,.white_btn a{
  background-image: auto;
  background: white !important;
  background-color: white !important;
  color: #0AA539 !important;
  border-radius: 2em !important;
  border: solid 2px #0AA539 !important;
  margin: 20px auto;
}
ul.products.columns-4{
  grid-template-columns: repeat(5, 1fr) !important;
}
li.product{
  max-width: 250px;
}
/*.select2-container .select2-dropdown, .select2-container .select2-selection{
  border-radius: 50px;
  position: relative;
}*/
.select2-container.select2-container--open .select2-dropdown--below{
  top: 32px;
}
.home .woocommerce{
  margin: 45px auto 0 auto;
}
.descubre-lo-ultimo .cf_api_product_price,.descubre-lo-ultimo .cf_api_products_cta,.home .woocommerce-result-count, .descubre-lo-ultimo .locales{
  display: none;
}
.descubre-lo-ultimo .woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
  float: none;
  min-height: 300px !important;
}
.descubre-lo-ultimo li.product{
  max-width: 30%;
}
.descubre-lo-ultimo ul.products.columns-4{
  display: inline-block !important;
}
.heading img{
  max-width: 35px;
}
.heading img,.heading p{
  display: inline-block;
  vertical-align: middle;
}
.heading p{
  color: black;
  font-size: 23px;
  font-weight: bold;
}
.dollartips .vc_gitem-zone-a,.dollartips .vc_grid-item-mini,.dollartips .vc_grid-item{
  max-width: 375px;
  position: relative;
}
.dollartips .vc_grid-item-mini{
  overflow: hidden;
  border-radius: 35px;
}
.dollartips .vc_gitem-post-data-source-post_excerpt{
  display: none;
}
.dollartips .vc_gitem-post-data-source-post_title{
  color: white;
}
.dollartips .vc_custom_heading h4{
  font-size: 30px;
  text-align: center !important;
  line-height: 30px;
}
.dollartips .vc_gitem-zone.vc_gitem-zone-c{
  position: absolute;
  background-color: transparent !important;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 50px;
}
.dollartips .vc_gitem-zone .vc_btn3{
  color: transparent !important;
  background: #FFD003 !important;
  border-radius: 50px;
  margin: auto;
  position: relative;
  padding: 10px 20px;
}
.dollartips .vc_gitem-zone .vc_btn3::after {
  content: "Ver info";   /* el texto que quieres mostrar */
  color: black;              /* color del texto visible */
  position: absolute;
  left: 0;
  top: 10px;
  width: 100%;
  text-align: center;
}
.dollartips .vc_btn3-container.vc_btn3-left{
  text-align: center;
}
.dollartips .vc-gitem-zone-height-mode-auto:before{
  /*background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));*/
  background: #B2B2B2;
  mix-blend-mode: multiply;
  padding-top: 0;
  min-height: 590px;
}
.cf_api_regular_price{
  color: #077528 !important;
  font-weight: bolder !important;
}
.cf_api_iva{
  color: #808080;
}
ul.products li.product h3, ul.products li.product h4, div.slide li.product h3, div.slide li.product h4, .summary.entry-summary h3, .summary.entry-summary h4, .slick-slide li.product h3, .slick-slide li.product h4, .promo_box li.product h3, .promo_box li.product h4{
  text-align: left;
}
.busqueda select{
  color: white;
  /*background: #077528;
  border: solid 1px #077528;*/
  background: #21b24c;
  border-radius: 10px 0 0 10px;
}
.busqueda input[type=text],.busqueda select{
  -webkit-appearance: none; /* elimina el estilo por defecto en Safari/Chrome */
  -moz-appearance: none;    /* elimina en Firefox */
  appearance: none;

  display: block;
  float: left;
  vertical-align: middle;
  border: none;
  padding: 15px;
}
.busqueda input[type=text]{
  background: white;
  border-radius: 0 10px 10px 0;
  width: 250px;
}
.optn-head{
  display: inline-block;
  vertical-align: middle;
  margin: 0 25px;
}
.busqueda form{
  position: relative;
}
.lupa{
  border: none;
  background: url("/wp-content/themes/dollarstore/images/icons/green-search.png");
  position: absolute;
  right: 15px;
  background-size: contain;
  width: 20px;
  height: 20px;
  padding: 0;
  top: 10px;
  cursor: pointer;
}
.optns-header{
  text-align: center;
}
.dscto-header{
  max-width: 140px !important;
}
.optn-head.acceso{
  color: white;
}
.tips-access{
  max-width: 17px !important;
}
.locales-access{
  max-width: 13px !important;
}
.icon-header{
  margin-right: 5px;
}
.btn-verde{
  background: #077528;
  border-radius: 50px;
  padding: 6px 20px;
}
.categorias-catalogo{
  text-align: center;
  margin: 20px auto;
}
.categorias-catalogo a{
  display: inline-block;
  background: #f5f5f5;
  color: #0a9132;
  padding: 20px;
  margin: 10px;
  border-radius: 20px;
}
.categorias-catalogo a:hover{
  background: #d2d2d2;
}
.categorias-catalogo a img{
  max-width: 25px;
  display: block;
  margin: auto;
}
.categorias-catalogo a span{
  display: block;
}
.cf_api_product_price{
  text-align: left;
}
h1.page-title{
  text-align: left;
}
.select2-container .select2-selection--single .select2-selection__arrow{
  top: 0;
}
.select2-container{
  margin: 10px 0;
}
/*RESULTADOS BÚSQEUDAA*/
/* ---------- Contenedor general ---------- */
.page-header, .search-grid{
  max-width: var(--wpb-max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Encabezado de resultados ---------- */
.page-header{
  margin: 28px auto 18px;
}
.page-header .page-title{
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 700;
  color: var(--text-search);
  line-height: 1.2;
  margin: 0;
}
.page-header .page-title span{
  color: var(--accent-search);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 8px;
}

/* ---------- Tarjeta de resultado ---------- */
article.type-product{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 18px 18px 16px;
  box-shadow: var(--card-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}
article.type-product:not(:last-child){
  margin-bottom: var(--search-gap);
}
article.type-product:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  border-color: #dcdcdc;
}

/* ---------- Título ---------- */
article.type-product .entry-title{
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.35;
  margin: 0 0 10px;
  font-weight: 700;
}
article.type-product .entry-title a{
  color: var(--text-search);
  text-decoration: none;
  outline: none;
  border-radius: 8px; /* para foco visible */
}
article.type-product .entry-title a:hover{
  color: var(--accent-search);
}
article.type-product .entry-title a:focus-visible{
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Extracto ---------- */
article.type-product .entry-excerpt{
  margin: 0;
}
article.type-product .entry-excerpt p{
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* truncar a 3 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Etiquetas utilitarias (opcional) ---------- */
article.type-product::after{
  /* ejemplo si quieres un “Producto” badge */
  content: attr(data-badge);
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  letter-spacing: .02em;
  background: #f3f4f6;
  color: #374151;
  padding: 4px 8px;
  border-radius: 999px;
  display: none; /* ponlo en block si vas a usar data-badge */
}

/* ---------- Layout en grid para listados largos ---------- */
/* Si tu listado de resultados imprime múltiples <article> consecutivos,
   puedes envolverlos en .search-grid (o el contenedor nativo del theme)
   para un layout de tarjetas. */
.search-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--search-gap);
  margin: 20px auto 40px;
}
.search-grid .product{
  min-height: auto;
  width: auto;
  margin: 5px !important;
}
.vc_row{
  margin-left: auto !important;
  margin-right: auto !important;
}
.banners_dollar_categorias{
  margin: 25px auto;
}
.banners_dollar_categorias .wpb_single_image{
  margin-bottom: 0;
}
.telegram_float{
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1;
}
.telgrm{
  position: relative;
  display: flex;
  align-items: center;
}
.telgrm img{
  max-width: 80px !important;
  position: relative;
  z-index: 1;
  width: auto;
  transition: all .5s ease !important;
}
.tlgrm-bar{
  opacity: 0;
  width: 0px;
  background: white;
  border-radius: 0 50px 50px 0;
  color: black;
  text-align: center;
  padding: 0;
  font-weight: bold;
  margin-left: -20px;
  border: solid .5px #ccc;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  transition: all .5s ease;
  display: inline-block;
  white-space: nowrap;
}
/* Hover → aparece suavemente */
.telgrm:hover .tlgrm-bar{
  opacity: 1;
  padding: 10px 15px;
  width: 165px;
}
/*LOCALES*/
button{
  cursor: pointer;
}
button[title~="Close"], button[title~="Cerrar"] {
  display: none !important;
}
.iso{
  max-width: 20px;
}
.closemap{
  width: 30px;
  height: 30px;
  position: absolute;
  right: 5px;
  top: 5px;
  color: #0AA539;
  font-size: 50px;
  text-align: center;
  line-height: 30px;
  font-weight: lighter;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}
.closemap:hover{
  color: #454545;
}
#mapa{
  width: 54%;
}
#map-canvas{
  width: 100%;
}
#modulo-locales{
  width: 45%;
  position: relative;
  overflow: hidden;
}
#mapa, #map-canvas, #modulo-locales{
  display: inline-block;
  height: calc(100vh - 160px);
  vertical-align: top;
}

.cities{
  height: calc(100vh - 296px);
}
#locales-info{
  height: calc(100vh - 296px);
}
#locales-info{
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  background: #fff;
}
.half{
  display: inline-block;
  vertical-align: top;
}
.half h1 span{
  color: #077528 !important;
}
.half h1{
  margin: 0;
}
.city{
  width: auto;
  display: block;
  height: 50px;
  font-size: 15px;
  color: black;
  padding-left: 18%;
  line-height: 50px;
  cursor: pointer;
  position: relative;
  text-align: left;
}
.city:hover, .city.active{
  background: var(--accent-search);
  color: #fff;
}
.cities{
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
.city i{
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--accent-search);
  position: absolute;
  top: 22px;
  right: 50px;
}

.notfound p{
  position: relative;
}
.notfound p i{
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #077528;
  position: absolute;
  top: 18px;
  right: 50px;
}
.local{
  min-height: 150px;
  cursor: pointer;
  margin: 0px auto;
  padding: 15px 10px 15px 25px;
  z-index: 3;
  position: relative;
  text-align: left;
}
.ver-horarios{
  z-index: 99;
  position: relative;
}
.local:hover:not(.notfound), .local.active{
  background: #ececec;
}
.back:hover i{
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #fff;
}
.city:hover i{
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #fff;
}
.local h3{
  color: #454545;
  font-size: 17px;
  font-weight: 700;
  margin: 0 auto;
}
.local h3 strong{
  font-weight: 700;
}
.local p{
  font-size: 14px;
  line-height: 18px;
  margin: 5px auto;
  position:relative;
}

.local span{
  color: #908a74;
  font-size: 12px;
  line-height: 14px;
  text-decoration: underline;
  margin: 10px auto;
  display: block;
}
.iw-content p{
  text-align: left;
  margin: 10px auto 10px 15px;
  font-size: 15px;
  line-height: 20px;
  position: relative;
}
.iw-title{
  font-size: 17px;
  margin: 10px 0;
  padding-right: 20px;
  line-height: 17px;
  font-weight:bold;
}
.iconos{
  max-width: 12px !important;
  display: block;
  margin: 0 5px;
  position: absolute;
  top: 5px;
  left: -20px;
}

.outside{
  left: -16px;
  margin: 0;
  float: none;
  top: 3px;
}
.off{
  display: none;
}
.gps{
  width: 50px;
  height: 50px;
  background: #f2f2f2;
  display: inline-block;
  margin: 0 5px;
  border-radius: 10px;
  cursor: pointer;
}
.waze:hover{
  background: #56cbe7;
}
.gmaps:hover{
  background: #4285f4;
}
.gps img{
  max-width: 70%;
  margin: 8px auto;
  display: block;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.w40{
  width: 39%;
}
.w60{
  width: 59%;
}

#busqueda{
  width: 90%;
  height: 40px;
  border: none;
  border-bottom: #cdcdcd solid 1px;
  padding: 0 0 0 35px !important;
  margin: 20px auto;
  display: block;
  background: #fff url("/wp-content/themes/dollarstore/images/icons/search.png") no-repeat left center;
  background-size: 20px;
}

.notfound ul li{
  margin: 0 0 5px 0;
  padding: 0;
}

.notfound ul{
  padding: 0 100px 0 35px;
}

.fullw{
  width: 90%;
  margin: auto;
  display: block;
}
.horarios{
  max-width: 100%;
  background: #ccc;
  border-radius: 5px;
  margin: 10px auto;
}
.horarios span, .closeplace span{
  color: #fff;
  text-decoration: none;
  padding: 3px;
  text-align: center;
  margin: 10px 0 0 0;
  font-size: 12px;
  display: block;
}
.horarios.abierto{
  background: #908a74;
}
.closeplace{
  background: #077528;
  max-width: max-content;
  padding: 0 8px;
  border-radius: 5px;
}
.horarios.cerrado{
  background: #077528;
}
.back{
  display: none;
  padding-left: 5%;
  line-height: 55px;
  width: auto;
  height: 50px;
  font-size: 15px;
  color: #fff;
  background: #077528;
  cursor: pointer;
  position: relative;
}
.back i{
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #fff;
  position: absolute;
  top: 22px;
  left: 50px;
}
.back:hover{
  color: #454545;
  background: #fff;
}

.back:hover i{
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #077528;
}
#ciudades{
  float: left;
  background: white;
}
/*LOCALES SIDEBAR*/
.locales-sidebar {
  width: 100%;
  height: 100%;
  position: fixed;
  display: none;
  z-index: 999999;
  top: 0;
  left: 0;
}
.locales-sidebar .background {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.locales-sidebar .content {
  width: 400px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  background: #ffffff;
}
.locales-sidebar .content .header {
  width: 100%;
  background: var(--accent-search);
  padding: 10px 20px;
  position: relative;
}
.locales-sidebar .content .header h2 {
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
}
.locales-sidebar .content .header button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  top: 18px;
  right: 20px;
}
.locales-sidebar .content .locales {
  padding: 10px 0;
}
.locales-sidebar .content .search {
  padding: 10px 20px;
}
.locales-sidebar .content .search input {
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #8a8a8a;
  border-radius: 20px;
}
.locales-sidebar .content .list {
  padding: 10px 0;
  height: calc(100vh - 160px);
  overflow-y: scroll;
}
.locales-sidebar .content .local {
  border-bottom: 1px solid #cfcfcf;
  padding: 10px 20px;
  background: #ffffff;
  cursor: pointer;
}
.locales-sidebar .content .local h3 {
  margin: 0 0 5px;
  font-size: 21px;
}
.loc-change{
  background: var(--accent);
  color: black;
  border-radius: 50px;
  padding: 2px 8px;
  border: none;
}
.loc-change,.hamburger{
  vertical-align: middle;
}
/* ====== Estilos generales menú ====== */
.accesos > li {
  position: relative;
}
/* ====== Submenú ====== */
.accesos .sub-menu{
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 5px 0;
  background: #fff;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.accesos .sub-menu li{
  width: 100%;
  position: relative;
  margin: 0 auto;
}

.accesos .sub-menu li a {
  display: block;
  padding: 10px 0;
  color: black;
  text-decoration: none;
  transition: background 0.2s ease;
}

.accesos .sub-menu li a:hover {
  background: #f5f5f5;
}

/* ====== Mostrar submenú al hover ====== */
.accesos li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*HAMBURGUESA*/
/* Ocultamos el checkbox */
#nav-toggle, .menu-mob{
  display: none;
}

/* Contenedor hamburguesa */
.hamburger {
  display: inline-block;
  width: 35px;
  height: 28px;
  position: relative;
  cursor: pointer;
  z-index: 2000; /* por si va sobre el menú */
  margin-left: 10px;
}

/* Barras */
.hamburger .bar,
.hamburger .bar::before,
.hamburger .bar::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  border-radius: 4px;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

/* Barra principal */
.hamburger .bar {
  top: 50%;
  transform: translateY(-50%);
}

/* Barra superior */
.hamburger .bar::before {
  top: -10px;
  position: absolute;
}

/* Barra inferior */
.hamburger .bar::after {
  top: 10px;
  position: absolute;
}

/* Estado abierto (cuando #nav-toggle está checked) */
#nav-toggle:checked + .hamburger .bar {
  background: transparent; /* barra central desaparece */
}

#nav-toggle:checked + .hamburger .bar::before {
  transform: rotate(45deg);
  top: 0;
}

#nav-toggle:checked + .hamburger .bar::after {
  transform: rotate(-45deg);
  top: 0;
}
.menu-mob{
  width: 100%;
  text-align: left;
  padding: 20px 0;
}
.dsktp{
  display: inline-block;
}
.mob{
  display: none;
}
.main-site-header{
  display: flex;
  flex-direction: column;
  width: 100%;
}
.woocommerce div.product{
  margin-top: 110px;
}
/* ====== Layout dos columnas (aside izquierda) ====== */
.tips-mini__body{
  text-align: left;
}
.cpt-tips{
  border-left: solid 1px #ccc;
  padding-left: 50px;
}
.tips-layout { padding: 2rem 0; }
.tips-grid {
  display: grid;
  grid-template-columns: 320px 1fr;  /* aside 320px, contenido auto */
  gap: 2rem;
  align-items: start;
  margin: 10px 50px;
}

/* ====== Aside "Lo más visto" ====== */
.tips-aside__title {
  text-align: left;
  font-size: clamp(1.4rem, 1.2vw + 1.1rem, 1.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
}
.tips-mini {
  display: grid;
  grid-template-columns: 120px 1fr; /* thumb + texto */
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}
.tips-mini:last-child { border-bottom: 0; }

.tips-mini__thumb img {
  display: block;
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px; /* esquinas redondeadas como la referencia */
}

.tips-mini__title {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}
.tips-mini__title a { text-decoration: none; color: inherit; }
.tips-mini__excerpt {
  margin: 0;
  color: #5a5a5a;
  line-height: 1.45;
  font-size: .98rem;
}

/* ====== Contenido del single (derecha) ====== */
.tips-main .entry-title { margin: 0 0 1rem; }
.tips-main .entry-thumb { margin: 1rem 0 1.25rem; }
ul.products li.product{
  background: white;
}
.quick-accesos{
  margin-right: 5px;
}
.searchMobile{

}
