/*
Theme Name: Presso Child
Template: presso
Author: OtroEnMoto
Version: 1.0
Text Domain: presso-child
	
*/
@import url("../presso/style.css");

.vw-menu-main .main-menu-link:hover{
  background-color: #bc9224 !important;
}
.vw-instagram-bar li img {
  max-height: 240px !important;
}
.vw-tags{
  text-transform:uppercase;
}
.su-gmap.su-responsive-media-yes {
  padding-bottom: 39.25%  !important;
}
#lang_sel_click{
  padding-top: 10px;
}
#lang_sel_click ul{
  list-style-type: none!important;
  display: inline;
  padding-left: 25px;
}
#lang_sel_click ul:first-child {
  padding-left: 0px;
}
#lang_sel_click ul li { display: inline; }

#lang_sel_click ul li a {
  text-decoration: none;
  color: #fff;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: #77a464;
  font-size: 2.25em;
  padding-top: 50px !important;
}
button.single_add_to_cart_button.button.alt {
  background-color: #fdc716 !important;
  opacity: 1 !important;
}
.notop{
  margin-top:0px !important;
}

.vw-post-content th, .vw-comment__content th, .no-touch button:hover, .no-touch input[type="button"]:hover, .no-touch input[type="reset"]:hover, .no-touch input[type="submit"]:hover, .no-touch .woocommerce a.button:hover, .no-touch .woocommerce button.button:hover, .no-touch .woocommerce input.button:hover, .no-touch .woocommerce #respond input#submit:hover, .no-touch .woocommerce-page a.button:hover, .no-touch .woocommerce-page button.button:hover, .no-touch .woocommerce-page input.button:hover, .no-touch .woocommerce-page #respond input#submit:hover, .no-touch .vw-button:hover, .vw-button--accent, .no-touch .vw-button--outline.vw-button:hover, .vw-top-bar .vw-social-icon:hover, .vw-title-area__nav-button:hover, .vw-menu-top .menu-item:hover, .vw-menu-main .menu-item:hover, .vw-menu-top .main-menu-link:hover, .vw-menu-main .main-menu-link:hover, .vw-pagination__links .page-numbers.current, .vw-post-box--block-d .vw-post-views, .vw-post-box--slide-1:hover .vw-post-box__read-more, .vw-categories a, .vw-page-links > span:not(:first-child), .vw-scroll-to-top, .vw-content-slider .slick-prev, .vw-content-slider .slick-next, .vw-dropcap-circle, .vw-dropcap-box, .vw-review--points .vw-review__item-score-bar, .vw-review--percentage .vw-review__item-score-bar, .vw-review-summary, .sk-folding-cube .sk-cube:before, #wp-calendar tbody td:hover, .widget_product_tag_cloud .tagcloud a:hover, .widget_tag_cloud .tagcloud a:hover, .vw-category-list__count, .widget #sb_instagram .sbi_follow_btn a {
  /* background-color: #FFF  !important; */
}

.vw-scroll-to-top{
 background: #bc9224  !important;
}
 
.vw-menu-main .main-menu-link:hover {
    color: #bc9224 !important;
    background: #FFF  !important;
}
/*
.vw-menu, .vw-menu ul, .vw-menu li {
    display: contents !important;
}
*/
/* JULIO */
.vw-footer h1 {
    text-align: left;
    color: #8e8e8e!important;
    font-weight: 300;
    font-size: 20px;
    padding-top: 8px;
   
}

.vw-post-header .vw-tagline {
    font-size: 15px;
}
.vw-tagline {
    font-weight: 300 !important;
    color: #484747;
    text-transform: none; 
}
.logos-supporting {
    width: 33%;
    display: table-cell;
    vertical-align: middle;
}
.logos-supporting img.aligncenter {
    max-width: 66%;
}
.vw-site-social-links {
    display: inline-flex;
}

.vw-footer-sidebars {
    padding-top: 20px;
    padding-bottom: 20px;
}
.vw-social-icons--large {
    font-size: 27px !important;
}
body .widget + .widget{
border-width: 1px;
}
.vw-footer-sidebar-3
{
    text-align: center;
}
.theiaStickySidebar {
    text-align: left;
}

.mc4wp-form-theme input {
    margin-bottom: 9px;
}

@media (max-width: 991px){
  .vw-footer-sidebar:not(:first-child) .widget:first-child {
    padding-top: 0px;
    margin-top: 0px;
    border-top: 0px;
  }
}

@media (max-width: 668px){
 .titulo404{
   font-family:"Open Sans";
   font-size:3.2em;
   font-weight:bold;
   position:relative;
   margin:0px;
  }
 .page-title {
    font-size: 3.2em;
    text-transform: uppercase;
  }
  .vw-logo__image {
    max-width: 100%;  
  }
/*
.vw-menu ul {overflow: hidden; background-color:red}
.vw-menu li, h1 {display: contents; color :blue}
.vw-menu li:nth-child(4):before {display: block; content: '';}
	*/
}


@media (min-width: 768px){
 .titulo404{
   font-family:"Open Sans";
   font-size:5em;
   font-weight:bold;
   position:relative;
   margin:0px 0px 30px;
  }

  .vw-logo__image {
    max-width: 60%;
  }
}


/* -----------------------------------------------------------------------------
 * 
 * REVIEW
 * 
 * -------------------------------------------------------------------------- */
 .vw-review {
  margin-top: 48px;
  margin-bottom: 48px;
  padding: 24px 0;
  border-top: 4px solid #EEEEEE;
  border-bottom: 4px solid #EEEEEE;
}

.vw-review--top-floating .vw-review__total,
.vw-review--top-floating .vw-review__summary,
.vw-review--top-floating .vw-review__pros-cons,
.vw-review--top-floating .vw-review__review-summary,
.vw-review--top-floating .vw-review__pros,
.vw-review--top-floating .vw-review__cons {
  display: block;
  width: auto;
}

.vw-review--top-floating .vw-review__total {
  margin-bottom: 24px;
}

.vw-review--top-floating .vw-review__cons {
  padding-left: 0;
}

.vw-review--top-floating .vw-review__pros-title,
.vw-review--top-floating .vw-review__cons-title {
  text-align: left;
}

@media (min-width: 992px) {
  .vw-review--top-floating.progreso {
      float: left;
      width: 100% !important;
      margin-right: 24px;
      margin-bottom: 24px;
  }
}

.vw-review--top-floating .vw-review__summary {
  display: block !important;
}

.vw-review--top-floating .vw-review__review-summary {
  font-size: 1em;
}

.vw-review--top-floating.vw-review--star .vw-review__total {
  float: none;
  text-align: left;
}
.vw-review--top-floating.vw-review--star .vw-review__total .vw-stars-icon,
.vw-review--top-floating.vw-review--star .vw-review__total .vw-stars-icon__full-star {
  background-size: 128px 48px;
  height: 24px;
}
.vw-review--top-floating.vw-review--star .vw-review__total .vw-stars-icon {
  width: 128px;
}

.vw-review--top-floating.vw-review--points .vw-review__total,
.vw-review--top-floating.vw-review--percentage .vw-review__total {
  margin-bottom: 0;
}

.vw-review--top-floating.vw-review--points .vw-review__review-summary,
.vw-review--top-floating.vw-review--percentage .vw-review__review-summary {
  padding-left: 0;
  padding-right: 0;
}

.vw-review__title {
  margin-top: 0;
  margin-bottom: 24px;
}

.vw-review__summary {
  margin-bottom: 24px;
}

.vw-review__review-summary {
  padding-right: 15px;
  vertical-align: top;
  font-style: italic;
  color: #B0B0B0;
}
@media (min-width: 992px) {
  .vw-review__review-summary {
      font-size: 16px;
  }
}

.vw-review__total {
  /* empty */
}

.vw-review__user-rating,
.vw-review__pros-cons,
.vw-review__items {
  border-top: 1px solid #EEEEEE;
}

.vw-review__items {
  padding: 24px 0;
}

.vw-review__item {
  position: relative;
}
.vw-review__item + .vw-review__item {
  margin-top: 24px;
}

.vw-review__item-title.progreso {
  color: #333333;
  text-align: left;
}
.vw-review__item-title span:first-child {
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.vw-review__item-title-score {
  display: inline-block;
  padding: 0px 6px;
  margin-left: 10px;
  font-size: 12px;
  line-height: 20px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #333333;
}

.vw-review__item-score {
  /* empty */
}

.vw-review__item-score-bar {
  /* empty */
}

.vw-review__item-title-separator {
  display: none;
  opacity: 0.25;
}


.vw-post-header hr {
    margin-top: 10px !important;
}

@media (min-width: 992px){
.vw-post-header .vw-post-title {
    font-size: 36px !important;
}}

h4.tem-part {
    margin-bottom: 0px;
}

.vw-author-list.tem-part {
    margin-top: -20px !important;
    margin-bottom: -20px !important;
}



p.tituloCTA {
    text-align: center;
	font-weight:bold;
}

.main-wrapper-patreon {
  width: 100%;
  max-width: 900px;
  margin: 0 0 1em auto;
  text-align: center;
  background-color: rgb(255 66 77);
}

.main-wrapper-patreon .patreon{
  color: white;
}

.main-wrapper-patreon .patreon a{
  font-weight: bold;
   color:white;
}

.main-wrapper-badgets {
  width: 100%;
  max-width: 900px;
  /*margin: 2em auto;*/
  text-align: center;
}


.badge, .badge-little {
  position: relative;
  width: 4em;
  height: 6.2em;
  border-radius: 10px;
  display: inline-block;
  top: 0;
  transition: all 0.2s ease;
}

.badge{
   margin: 1em 1em;
}

.badge-little {
	transform: scale(0.7);
    margin: -0.5em 1.5em;
}

.badge:before, .badge:after , .badge-little:before, .badge-little:after {
  position: absolute;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  background: inherit;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.badge:before , .badge-little:before {
  transform: rotate(60deg);
}
.badge:after, .badge-little:after  {
  transform: rotate(-60deg);
}
.badge:hover, .badge-little:hover  {
  top: -4px;
}
.badge .circle, .badge-little .circle {
  width: 60px;
  height: 60px;
  position: absolute;
  background: #fff;
  z-index: 10;
  border-radius: 50%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.badge .circle i.fa , .badge .circle i.fas, .badge-little .circle i.fa , .badge-little .circle i.fas {
  font-size: 2em;
  margin-top: 8px;
}
.badge .font, .badge-little .font {
  display: inline-block;
  margin-top: 1em;
}
.badge .ribbon, .badge-little .ribbon  {
  position: absolute;
  border-radius: 4px;
  padding:  0px 5px 8px;
  width: 100px;
  z-index: 11;
  color: #fff;
  bottom: 12px;
  left: 50%;
  margin-left: -55px;
  height: 15px;
  font-size: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.27);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  background: linear-gradient(to bottom right, #555 0%, #333 100%);
  cursor: default;
  font-weight: bold;
}

.yellow {
  background: linear-gradient(to bottom right, #ffeb3b 0%, #fbc02d 100%);
  color: #ffb300;
}

.orange {
  background: linear-gradient(to bottom right, #ffc107 0%, #f57c00 100%);
  color: #f68401;
}

.pink {
  background: linear-gradient(to bottom right, #F48FB1 0%, #d81b60 100%);
  color: #dc306f;
}

.red {
  background: linear-gradient(to bottom right, #f4511e 0%, #b71c1c 100%);
  color: #c62828;
}

.purple {
  background: linear-gradient(to bottom right, #ab47bc 0%, #4527a0 100%);
  color: #7127a8;
}

.teal {
  background: linear-gradient(to bottom right, #4DB6AC 0%, #00796B 100%);
  color: #34a297;
}

.blue {
  background: linear-gradient(to bottom right, #4FC3F7 0%, #2196F3 100%);
  color: #259af3;
}

.blue-dark {
  background: linear-gradient(to bottom right, #1976D2 0%, #283593 100%);
  color: #1c68c5;
}

.green {
  background: linear-gradient(to bottom right, #cddc39 0%, #8bc34a 100%);
  color: #7cb342;
}

.green-dark {
  background: linear-gradient(to bottom right, #4CAF50 0%, #1B5E20 100%);
  color: #00944a;
}

.silver {
  background: linear-gradient(to bottom right, #E0E0E0 0%, #BDBDBD 100%);
  color: #9e9e9e;
}

.gold {
  background: linear-gradient(to bottom right, #e6ce6a 0%, #b7892b 100%);
  color: #b7892b;
}



@media (max-width: 668px){
 
.badge {
    transform: scale(0.6);
	margin: 1.5em 0.3em;
 }
}
 
@media (min-width: 733px){
 
.badge {
    transform: scale(0.75);
	margin: 1.5em 1em;
 }
}
 


  

@media (min-width: 768px){

.badge {
    transform: scale(1);
	margin: 1em 1em;
 }
}

/* =======================================================================
   OVERRIDES PRODUCCIÓN · BADGES GRID + CAPAS + CENTRADOS (NO TOCA PROGRESO)
   (Se dejan TODAS las reglas del tema intactas para conservar la columna derecha)
======================================================================== */

/* 1) Grid estable para el contenedor real: <div class="main-wrapper-badgets badgets"> */
.main-wrapper-badgets.badgets{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 2.2em 1.6em;
  justify-items: center;
  align-items: start;
  text-align: center;
  padding-top: 1.5em; /* más margen superior en 1ª fila */
}

/* Desktop: 5 columnas fijas */
@media (min-width: 992px){
  .main-wrapper-badgets.badgets{
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 2) El espacio lo controla el grid: anulamos márgenes problemáticos */
.main-wrapper-badgets.badgets .badge{
  margin: 0 !important;
}
.main-wrapper-badgets.badgets .badge-little{
  margin: 0 !important;
}

/* 3) Orden de capas consistente (hex detrás, contenido delante) */
.main-wrapper-badgets.badgets .badge,
.main-wrapper-badgets.badgets .badge-little{
  z-index: 0;
}

.main-wrapper-badgets.badgets .badge:before,
.main-wrapper-badgets.badgets .badge:after,
.main-wrapper-badgets.badgets .badge-little:before,
.main-wrapper-badgets.badgets .badge-little:after{
  z-index: 0;
}

.main-wrapper-badgets.badgets .badge .circle,
.main-wrapper-badgets.badgets .badge-little .circle{
  z-index: 2;
}

/* 4) Centrado real del círculo (y un pelín más arriba para que no lo pise el ribbon) */
.main-wrapper-badgets.badgets .badge .circle,
.main-wrapper-badgets.badgets .badge-little .circle{
  top: calc(50% - 6px);
  left: 50%;
  right: auto;
  bottom: auto;
  margin: 0;
  transform: translate(-50%, -50%);
}

/* 5) Ribbon por delante del badge, más alto y con el TEXTO por encima del fondo */
.main-wrapper-badgets.badgets .badge .ribbon,
.main-wrapper-badgets.badgets .badge-little .ribbon{
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  text-align: center;

  height: 22px;
  line-height: 22px;
  padding: 0 10px;
  bottom: 10px;

  background: none; /* fondo va en ::before */
}

.main-wrapper-badgets.badgets .badge .ribbon::before,
.main-wrapper-badgets.badgets .badge-little .ribbon::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(to bottom right, #555 0%, #333 100%);
  z-index: -1; /* fondo detrás del texto */
}


/* =========================================================
   FIX · Grid de posts con imágenes de altura uniforme
========================================================= */

/* Contenedor de la imagen: fija la altura */
.vw-post-box__thumbnail-wrapper{
  height: 180px;          /* ajusta aquí el alto final */
  overflow: hidden;
}

/* Thumbnail ocupa todo el wrapper */
.vw-post-box__thumbnail{
  height: 100%;
}

/* Imagen: se recorta manteniendo proporción */
.vw-post-box__thumbnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* 6) Escalado: mantenemos tu comportamiento original */
@media (max-width: 668px){
  .main-wrapper-badgets.badgets .badge{
    margin: 0 !important; /* reafirmamos */
  }
}
@media (min-width: 733px){
  .main-wrapper-badgets.badgets .badge{
    margin: 0 !important;
  }
}
@media (min-width: 768px){
  .main-wrapper-badgets.badgets .badge{
    margin: 0 !important;
  }
}

/* =========================================================
   FIX · Imagen a ancho completo en móvil
========================================================= */
/* =========================================================
   FIX · Cards perfectas en móvil (ancho + alto uniforme)
========================================================= */

@media (max-width: 768px){

  /* Card completa ocupa todo el ancho */
  .vw-post-box{
    width: 100%;
  }

  /* Wrapper de la imagen con ratio fijo */
  .vw-post-box__thumbnail-wrapper{
    width: 100%;
    aspect-ratio: 4 / 3;   /* ⬅️ ratio recomendado */
    height: auto;
    overflow: hidden;
  }

  /* Contenedor interno ocupa todo el wrapper */
  .vw-post-box__thumbnail{
    width: 100%;
    height: 100%;
  }

  /* Imagen: recorte perfecto */
  .vw-post-box__thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 

  /* 5) Evita overflow horizontal global */
  html, body{
    overflow-x: hidden !important;
  }
}

/* =========================================================
   Menú móvil · 2º nivel visible al pulsar (colapsable)
   Sin depender de clases del JS: usa :focus-within (ideal móvil)
   Estructura: nav.vw-menu-mobile li.menu-item-has-children
              > .sub-menu-wrapper > ul.sub-menu
========================================================= */

@media (max-width: 768px){

  /* Submenú oculto por defecto */
  nav.vw-menu-mobile li.menu-item-has-children > .sub-menu-wrapper{
    display: none;
    position: static;
    margin: 0;
    padding: 0;
    height: auto;
    overflow: visible;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Mostrar submenú cuando el item está “en foco” (tap en móvil) */
  nav.vw-menu-mobile li.menu-item-has-children:focus-within > .sub-menu-wrapper{
    display: block;
  }

  /* También al hover (no molesta y ayuda en desktop emulado) */
  nav.vw-menu-mobile li.menu-item-has-children:hover > .sub-menu-wrapper{
    display: block;
  }

  /* Estilo del 2º nivel */
  nav.vw-menu-mobile .sub-menu-wrapper > ul.sub-menu{
    display: block;
    margin: 8px 0 14px 0;
    padding: 0;
  }

  nav.vw-menu-mobile .sub-menu-wrapper > ul.sub-menu > li > a{
    display: block;
    width: 100%;
    padding: 12px 0 12px 18px; /* sangría */
    font-size: 0.95em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}