:root {
  /* Colores principales */
  --tph-gris: #c1c3d1;
  --tph-negro: #000000;
  --tph-blanco: #ffffff;

  /* Colores Botones */
  --tph-azul-marino:#1f328f;
  --tph-rojo: #db271c;

  /* Textos */
  --tph-kiwi: #94815d;
  --tph-marron: #46351e;
  --tph-crema: #fff7de; 


  /* Tipografías */
  --tph-font-arial: 'arial_black', sans-serif;
  --tph-font-testNacional: 'TestNational2-ExtraBold';
  --tph-font-gothic: 'Gothic', sans-serif;
  --tph-font-BOD_BLAR: 'BOD_BLAR', sans-serif;
  --tph-font-centra: 'Centra', sans-serif;
  --tph-font-bodoni: 'bodoni-mt-bold', sans-serif;
  /************* countdown *************/

  --tph-countdown-time: #000000;
  --tph-countdown-label: #000000;
  --tph-countdown-text: #000000;
  --tph-countdown-font: 'Centra', sans-serif;

  /************* VARIABLES DE TAMAÑO *************/
  /* Ancho de las celdas del carrusel */
  --tph-carousel-cell-width: 600px;
  /* Altura de las celdas del carrusel */
  --tph-carousel-cell-height: 443px;
  /* Margen derecho de las celdas */
  --tph-carousel-cell-margin-right: 10px;
  /* Bordes redondeados de las celdas */
  --tph-carousel-border-radius: 5px;
}

/********************************************************************* fuentes *********************************************************/

@font-face {
  font-family: 'arial_black';
  src: url('../../../fonts/arial_black.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BOD_BLAR';
  src: url('../../../fonts/bod_blar-webfont.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TestNational2-ExtraBold';
  src: url('../../../fonts/testnational2-extrabold-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gothic';
  src: url('../../../fonts/gothic-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Centra';
  src: url('../../../fonts/centra_no2_black-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'bodoni-mt-bold';
  src: url('../../../fonts/bodoni-mt-bold.woff2') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}






/********************************************************************* estilos globales *********************************************************/

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--tph-font-body);
  color: var(--tph-negro);
  background-color: var(--main-tph-color);
}

img,
iframe {
  max-width: 100%;
}

.cursor-blocked {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}


.cookies {
  z-index: 99999;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/********************************************************************* Botones *********************************************************/

.btn-formulario {
  background-color: var(--tph-rojo);
  color: var(--tph-blanco);
  font-family: var(--tph-font-gothic);
  /*font-size: 2rem;*/
  font-weight: 600;
  border: none;
  /*padding: 0.25rem 1rem;*/
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 89, 65, 0.3);
  /*margin-bottom: 4rem;*/
  font-size: 1.6vw;
  border-radius: 20px;
  padding: 1vh 27.5vw;  
  cursor: pointer;
}

/* Anula hover/focus de Bootstrap (.btn:hover) para este botón */
button.btn.btn-formulario:hover,
button.btn.btn-formulario:focus,
button.btn.btn-formulario:focus-visible,
button.btn.btn-formulario:active,
.btn-formulario:hover,
.btn-formulario:focus,
.btn-formulario:focus-visible,
.btn-formulario:active {
  background-color: var(--tph-negro) !important;
  color: var(--tph-blanco) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(0, 89, 65, 0.3) !important;
  transform: none !important;
}



/*.btn-formulario:hover {
  background-color: var(--tph-verde);
  color: var(--tph-blanco);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 89, 65, 0.4);
}*/

.btn-formulario:active {
  transform: translateY(0);
}

.btn-promo {
  background-color: rgb(0, 0, 0);
  color: #fff;
}

.btn-promo:hover {
  background-color: rgb(255, 255, 255);
  color: white;
}

.btn-promo:focus {
  background-color: rgb(255, 255, 255);
  color: white;
}







/********************************************************************* scrollbar css *********************************************************/
/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: white;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--tph-dorado);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: black;
}

.alert {
  font-family: var(--tph-font-body);
}

/********************************************************************************** MENU  *******************************************************************************/

.navbar-brand {
  max-width: 180px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img.logo {
  max-width: 160px;
  max-height: 44px;
  width: auto;
  flex: 0 0 auto;
}

#mainMenu,
#containerMenu,
#mainMenu .navbar-brand,
#mainMenu .container {
  overflow: visible;
}

#mainMenu .navbar-brand img.logo {

  position: relative;
  top: 16px;
  z-index: 1;
}
.logoGarciaBaquero{ 
   position: absolute;
    width: 8%;
    top: -38%;
    left: 0%;
}
.logoMiCasaMiQueso{
  position: absolute;
    width: 10%;
    top: 7%;
    left: 14%;
}


@media (max-width: 991px) {
  /* Nav más compacto en móvil */
  #mainMenu {
    padding: 0.25rem 0;
  }

  #mainMenu .navbar-toggler {
    padding: 0.25rem;
  }

  #mainMenu .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .navbar-brand {
    max-width: none;
  }

  .navbar-brand img.logo {
    max-width: 120px;
		max-height: 40px;
  }

  #mainMenu .navbar-brand img.logo {
    top: 10px;
  }

  /* Alinea los dos logos en móvil (evita absolute) */
  #mainMenu .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 32px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  #mainMenu .navbar-brand .logoGarciaBaquero {
    position: static;
    width: auto;
    height: 60px;
    max-height: 60px;
    object-fit: contain;
    display: block;
    margin: 0;
    margin-left: 10%;
  }

  #mainMenu .navbar-brand .logoMiCasaMiQueso {
    position: static;
    width: auto;
    height: 40px;
    max-height: 40px;
    object-fit: contain;
    display: block;
    margin: 0;
    margin-left: 13%;
  }
}

#accesoMicuenta {
  z-index: 99999;
  font-family: var(--tph-font-gothic);
}

/* Estilos personalizados para el modal del área personal */
.modal-area-personal {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  background-color: var(--tph-crema);
}

.modal-area-personal .modal-header {
  background: var(--tph-rojo);
  padding: 1rem;
  position: relative;
}

.modal-area-personal .btn-close-custom {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 1;
  width: 35px;
  height: 35px;
  padding: 0;
  transition: all 0.3s ease;
}

.modal-area-personal .btn-close-custom:hover {
  background-color: white;
  transform: rotate(90deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: var(--tph-azul-marino);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(31, 50, 143, 0.3);
  animation: pulse-icon 2s infinite;
}

.modal-icon-wrapper i {
  font-size: 2.5rem;
  color: var(--tph-blanco);
}

@keyframes pulse-icon {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(31, 50, 143, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(31, 50, 143, 0.4);
  }
}

.modal-title-custom {
  font-family: var(--tph-font-BOD_BLAR);
  color: var(--tph-marron);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.modal-subtitle {
  font-family: var(--tph-font-gothic);
  color: var(--tph-marron);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.form-group-custom {
  position: relative;
}

.form-label-custom {
  font-family: var(--tph-font-gothic);
  color: var(--tph-marron);
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.form-control-custom {
  border: 2px solid var(--tph-marron);
  border-radius: 5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--tph-font-gothic);
  transition: all 0.3s ease;
  background-color: var(--tph-blanco);
}

.form-control-custom:focus {
  border-color: var(--tph-azul-marino);
  box-shadow: 0 0 0 0.2rem rgba(31, 50, 143, 0.15);
  background-color: white;
  outline: none;
}

.form-control-custom::placeholder {
  color: #999;
  font-size: 0.9rem;
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--tph-marron);
  transition: all 0.3s ease;
  z-index: 10;
}

.password-toggle:hover {
  color: var(--tph-rojo);
  transform: translateY(-50%) scale(1.1);
}

.recuperar-pass-link {
  color: var(--tph-azul-marino);
  font-family: var(--tph-font-gothic);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.recuperar-pass-link:hover {
  color: var(--tph-rojo);
  text-decoration: underline;
}

.btn-acceso-custom {
  background: var(--tph-rojo);
  color: var(--tph-blanco);
  font-family: var(--tph-font-gothic);
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  padding: 0.9rem 2rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(219, 39, 28, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-acceso-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--tph-negro);
  transition: left 0.3s ease;
  z-index: 0;
}

.btn-acceso-custom:hover::before {
  left: 0;
}

.btn-acceso-custom .btn-text,
.btn-acceso-custom i {
  position: relative;
  z-index: 1;
}

.btn-acceso-custom:hover {
  color: var(--tph-blanco);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-acceso-custom:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(219, 39, 28, 0.3);
}

.btn-cancelar-custom {
  background-color: transparent;
  color: var(--tph-marron);
  font-family: var(--tph-font-gothic);
  font-size: 0.95rem;
  border: 2px solid var(--tph-marron);
  border-radius: 20px;
  padding: 0.7rem 2rem;
  transition: all 0.3s ease;
}

.btn-cancelar-custom:hover {
  background-color: var(--tph-marron);
  border-color: var(--tph-marron);
  color: var(--tph-crema);
  transform: translateY(-2px);
}

.alert-custom {
  border-radius: 15px;
  font-family: var(--tph-font-gothic);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación de entrada del modal */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 576px) {
  .modal-title-custom {
    font-size: 1.5rem;
  }

  .modal-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .modal-icon-wrapper i {
    font-size: 2rem;
  }

  .modal-area-personal .modal-body,
  .modal-area-personal .modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

#userIcon {
  max-width: 20px;
  margin-left: 8px;
}

#mainMenu {
  font-family: var(--tph-font-body);
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--tph-crema);

}

#mainMenu .container {
  min-height: 4rem;
}

@media (min-width: 992px) {
  #mainMenu .container {
    display: flex;
    align-items: center;
  }
}

/* Para pantallas entre 992px y 1199px (tablets/intermedias) */
@media (min-width: 992px) and (max-width: 1199px) {
  #mainMenu .nav-link {
    display: flex;
    align-items: center;
  }
}

#mainMenu .nav-link {
  font-family: var(--tph-font-arial);
  color: var(--tph-marron);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}


#mainMenu .nav-link:hover {
  color: var(--tph-rojo);
}

#mainMenu .nav-link.active {
  color: var(--tph-rojo);
  font-weight: 700;
}

#mainMenu .navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.5rem;
}

#mainMenu .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c70011' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.8rem;
  height: 1.8rem;
}

@media (max-width: 991px) {
  #mainMenu {
    padding: 0.25rem 0;
  }

  #mainMenu .container {
    min-height: 3rem;
  }

  #mainMenu .navbar-toggler {
    padding: 0.25rem;
  }

  #mainMenu .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .navTitle{
   padding-top: 1.5rem;
  }
}

#mainMenu .navbar-toggler:hover .navbar-toggler-icon,
#mainMenu .navbar-toggler:focus .navbar-toggler-icon {
  opacity: 0.8;
}

.fixed-top {
  position: fixed !important;
}



/********************************************************************************** BANNER PROMOCIONAL  *******************************************************************************/

#banner-promo {
  background-color: var(--tph-gris);
  padding: 0.5rem 0;
}

.banner-promo-titulo {
  font-family: var(--tph-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--tph-crema);
  line-height: 1.4;
}

.banner-promo-titulo sup {
  font-size: 0.6em;
  top: -0.5em;
}

@media (min-width: 768px) {
  .banner-promo-titulo {
    font-size: 1.25rem;
  }
}

@media (min-width: 992px) {
  .banner-promo-titulo {
    font-size: 1.5rem;
  }
}



/********************************************************************************** INICIO  *******************************************************************************/

#inicio .divTitulo {
    position: absolute;
    bottom: 23%;
    left: 22%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    height: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.pNegroParticipar{
      color: white;
    background: black;
    padding: 1vh 3vh;
    margin: 0;
    margin-bottom: 2vh; /* Espacio entre el párrafo y las líneas */
}

.contenedor-lineas {
  position: relative;
  width: 100%;
}

.contenedor {
  position: relative;
  width: 600px;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

.fondo {
    width: 100%;
    height: 29px;
    /*background-image: url('../assets/img/template/mi-casa-mi-queso-26/barra formulario@2x.webp');*/
    background-repeat: repeat-x;
    background-size: contain;
    background-position: top left;
    background-color: white;
    
}

img.prueba {
  display: block;
  width: 100%;
  height: auto;
}

/* Evita artefactos bajo la imagen y cualquier background repetido en el hero */
#inicio picture {
  display: block;
  line-height: 0;
}

#inicio,
#inicio * {
  background-repeat: no-repeat;
}


.heroMarca-logo{
  width: 14%;
  height: unset;
}

/* Bloque "MI CASA / logo / MI QUESO" dentro de la foto (hero) */
#inicio .heroMedia {
  position: relative;
}

.heroMarca-text{
  font-family: var(--tph-font-testNacional);
  color: var(--tph-crema);
  font-size: clamp(18px, 6vw, 34px);
  line-height: 1;
} 

@media (max-width: 575px) {
  .heroMarca-text {
    font-size: 4vh;
  }
}

@media (min-width: 1024px) {
  .heroMarca-text {
    font-size: 9vh;
  }
}
#inicio .heroMarca {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  z-index: 3;
}

/* Slot para colocar el botón sobre la imagen en móvil */
@media (max-width: 991px) {
  #inicio .btnParticiparHeroSlot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4%;
    display: flex;
    justify-content: center;
    z-index: 6;
    pointer-events: none;
  }

  #inicio .btnParticiparHeroSlot .btnParticiparRed,
  #inicio .btnParticiparRed.btnParticiparRed--overHero {
      pointer-events: auto;
      font-size: 35px;
        padding: 5px 55px;
        line-height: 1;
  }
}

/* Hero Content */
.hero-content {
  padding: 2rem 1rem;
  text-align: center;
  background-color: var(--tph-oscuro);
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: var(--tph-font-testNacional);
  color: var(--tph-crema);
}

.hero-title1{
  font-size: 74px;
}
.hero-title2{
  font-size: 44px;
}
.hero-title3{
  font-size: 29px;
} 
.hero-title4{
  font-size: 44px;
}
.btnParticiparRed{
      font-size: 1.6vw;
    background-color: red;
    color: white;
    border-radius: 20px;
    padding: 1vh 3.5vw;   
    border: none;
    cursor: pointer;
    font-family: var(--tph-font-testNacional);
    text-decoration: none;
}
.pFecha{
   margin-top: 0.5em;
    font-size: 1.2vw;
    color: var(--tph-crema);
}


/* Botón Hero */
.btn-hero {
  background-color: var(--tph-azul);
  color: var(--tph-blanco);
  font-family: var(--tph-font-body);
  font-size: 2rem;
  font-weight: 600;
  border: none;
  border-radius: 0;
  padding: 0.25rem 1rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 89, 65, 0.3);
}

.btn-hero:hover {
  background-color: var(--tph-verde);
  color: var(--tph-blanco);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 89, 65, 0.4);
}

.btn-hero:active {
  transform: translateY(0);
}

/* Producto Hero */
.hero-product {
  margin-top: 2rem;
}

/* Responsive */
@media (min-width: 768px) {
  .hero-titulo {
    font-size: 2rem;
  }
}

@media (min-width: 992px) {
  .hero-content {
    padding: 2rem 3rem 2rem 2rem;
  }

  .hero-titulo {
    font-size: 2.5rem;
    line-height: 1.3;
  }

  .btn-hero {
    font-size: 1.2rem;
  }

  .hero-product {
    margin-top: 3rem;
  }
}

@media (min-width: 1200px) {
  .hero-titulo {
    font-size: 2.8rem;
  }
}

/********************************************************************************** info  *******************************************************************************/



/********************************************************************************** mecánica  *******************************************************************************/

.btn-big {
  font-size: 2rem;
}

#mecanica {
  background-color: var(--tph-crema);

}

#mecanica .img-flecha {
  max-width: 200px;
  margin-bottom: 3rem;
}

#mecanica .legenda {
  font-family: var(--tph-font-body);
  font-size: 0.9rem;
  color: var(--tph-negro);
}

#mecanica .titulo {
  font-family: var(--tph-font-display);
  font-size: 3rem;
  color: var(--tph-naranja);
  text-transform: uppercase;
  font-weight: bold;
}
#mecanica .subtitulo {
  font-family: var(--tph-font-body);
  font-size: 1rem;
  color: var(--tph-negro);
}
#mecanica .logo-bizum-mecanica {
  position: relative;
}

/*#mecanica h2 {
  font-family: var(--tph-font-special-secundaria-bold);
  color: #000000;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: bold;
}

/*#mecanica p {
  color: #000000;
  font-size: 3vw;
}*/

#mecanica .row.mb-4 {
  transition: transform 0.3s ease;
}

#mecanica .row.mb-4:hover {
  transform: translateX(10px);
}

.part3{
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  width: 100%; 
}
.imgNevera {
    padding-bottom: 6.5vh;
    max-width: 63%;
    width: 100%;
    height: auto;
}
.txtParticipar{
    font-size: 3vw;
    font-family:var(--tph-font-BOD_BLAR);
    color:var(--tph-kiwi);
}
.txtComoParticiparBlue{
      font-family: var(--tph-font-bodoni);
    font-size: 3rem;
    color: var(--tph-crema);
    padding: 1vh 3.7vw;
    display: inline-block;
    background-color: var(--tph-azul-marino);
    width: 50%;
    margin: 0 auto;
}
.txtPromo2{
  font-size: 1.3vw;
  padding-top: 5.5vh;
  font-family: var(--tph-font-centra);
  font-weight: bold;
  color:var(--tph-marron);
}

.part4 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  /* width: 100vw; */
  /* padding: 5vh 0; */
  box-sizing: border-box;
  overflow-x: hidden;
  gap: 5vw; 
}
.divRuedaQueso {
    max-width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.h2Rueda{
  font-family: var(--tph-font-centra);
  color: var(--tph-marron);
  font-size: 3vh;
  margin: 10px;
}
.txtRueda{
    color: var(--tph-marron);
    margin: 0;
    font-size:1.5vh;
    font-family: var(--tph-font-gothic);
}

.imgNeveraVintaje{
  padding-top: 23%;
}

/********************************************************************************** premio  *******************************************************************************/

#premio {
  background-color: var(--tph-crema);
}

#premio .titulo {
    font-family: var(--tph-font-display);
    color: var(--tph-crema);
    background-color: var(--tph-azul-marino);
    width: 70%;
    margin: 0 auto;
}

#premio .premio-item {
  transition: transform 0.3s ease;
}

#premio .premio-item:hover {
  transform: translateX(10px);
}

#premio .icono-premio {
  max-width: 80px;
  height: auto;
}

#premio p {
  font-family: var(--tph-font-body);
  font-size: 1rem;
  color: var(--tph-negro);
  line-height: 1.6;
}

#premio strong {
  color: var(--tph-negro);
}

.premioProductos {
  display: none;
}

@media (max-width: 991px) {
  .premioProductos {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
  }
}

/********************************************************************************** divisor de secciones  *******************************************************************************/

.divisor-superior , .divisor-superior-inverso{
  width: 100%;
  height: 50px;
  background-image: url('../../../img/template/mi-casa-mi-queso-26/barra_formulario@2x.avif');
  background-repeat: repeat-x;
  background-position: top left;
  background-size: auto 100%;    /* opcional: ajusta altura */
  line-height: 0;
  overflow: hidden;
}


.divisor-superior img {
    padding-bottom: 20px;
    height: auto; 
}
.divisor-superior-inverso{
  transform: scaleY(-1);
}

.divisor-inferior {
  margin: -1rem 0 0 0;
  padding: 0;
  line-height: 0;
  display: block;
  overflow: hidden;
  background-color: var(--tph-rojo);
}

.divisor-inferior img {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  height: auto;
}

/********************************************************************************** countdown  *******************************************************************************/

#countdown {
  font-family: var(--tph-countdown-font) !important;
  font-size: 2rem;
}

#countdown .wrapper {
  text-align: center;
}

#countdown .time {
  font-family: var(--tph-countdown-font);
  color: var(--tph-countdown-time);
  font-size: 3rem;
  padding: 0.25rem;
}

#countdown .label {
  font-family: var(--tph-countdown-font);
  font-size: 1.8rem;
  display: block;
  color: var(--tph-countdown-label);
}

#countdown svg {
  font: bold 5rem;
  width: 100%;
  height: 120px;
}

#countdown text {
  fill: none;
  stroke: var(--tph-countdown-text);
  stroke-width: 6px;
  stroke-linejoin: round;
  animation: 2s pulsate infinite;
}

@keyframes pulsate {
  50% {
    text-shadow: 4px 4px #fff;
  }
}

/* Tarjeta de cuenta atrás en sección participa */

.countdown-card {
  font-family: var(--tph-countdown-font);
  background-color: var(--tph-blanco);
  border-radius: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: var(--tph-countdown-text);
}


@media (min-width: 768px) {
  .countdown-title {
    font-size: 1.8rem;
  }
}

/********************************************************************************** participa  *******************************************************************************/

#participa {
  padding-top: 2rem;
 
}

#participa .titulo {
  font-size: 3rem;
  color: var(--tph-crema);
  font-weight: bold;
  padding: 1vh 3.7vw;   
  display: inline-block;
  background-color: var(--tph-azul-marino);
  width: 50%;
  margin: 0 auto;
}

#participa .subtitulo {
  font-family: var(--tph-font-gothic);
  font-size: 1rem;
  color: var(--tph-marron);
  padding-top: 3%;
}

/* Centra el botón del formulario en la sección participa */
#participa .btn-formulario {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#participa .legenda {
  font-family: var(--tph-font-body);
  color: var(--tph-crema);
  font-size: 0.9rem;
  line-height: 1.4;
  padding-top: 1rem;
  margin-top: 3rem;
}

.imgProductoParticipantes{
  max-width: 62%;
  width: 100%;
  margin-left: 18%;
}

@media (min-width: 992px) {
  #participa .titulo {
    font-size: 2.5rem;
  }
  
  #participa .subtitulo {
    font-size: 1.1rem;
  }
}

form#formReg_l label {
  display: block;
  font-family: var(--tph-font-gothic);
}

form#formReg_l input {
  border-radius: 5rem;
  border-color: var(--tph-marron);
  font-family: var(--tph-font-gothic);
}#contacto .titulo

form#formReg_l .form-control {
  color: var(--tph-form-input);
  background-color: var(--tph-form-bg);
  font-size: 1rem;
  font-family: var(--tph-font-gothic);
}

form#formReg_l .form-select {
  border-color: var(--tph-form-border);
  background-color: var(--tph-form-bg);
  font-family: var(--tph-font-gothic);
  border-radius: 5rem;
  color: black;
}

form#formReg_l label.custom-control-label {
  display: block !important;
  color: var(--tph-form-label);
  font-size: 1rem;
}

form#formReg_l .form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--tph-form-placeholder);
  opacity: 1;
  /* Firefox */
}

form#formReg_l .form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--tph-form-placeholder);
}

form#formReg_l .form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--tph-form-placeholder);
}

form#formReg_l .form-select::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--tph-form-placeholder);
  opacity: 1;
  /* Firefox */
}

form#formReg_l .form-select:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--tph-form-placeholder);
}

form#formReg_l .form-select::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--tph-form-placeholder);
}

form#formReg_l a {
  color: var(--tph-form-label);
}

form option {
  color: #000000;
  font-size: 1rem;
}

form option:hover {
  background-color: var(--tph-blanco);
}

form .input-group-text {
  background: transparent;
  color: var(--tph-negro);
  border: none;
}


form#formReg_l .form-check {
  font-size: 0.8rem;
}

form .form-check-input:checked {
  background-color: var(--tph-amarillo);
  border-color: var(--tph-amarillo);
}

form#formReg_l input:checked {
  background-color: var(--tph-rojo);
  border-color: var(--tph-rojo);
}



.form-check-input {
  --bs-form-check-bg: var(--tph-blanco);
}

.bg-azul-participa {
  background-color: var(--tph-azul);
  position: relative;
  min-height: 200px;
}

.bg-azul-participa .flecha {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: auto;
}

/********************************************************************************** premios  *******************************************************************************/

.premioProductos{
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/********************************************************************************** contacto  *******************************************************************************/
/********************************************************************************** contacto  *******************************************************************************/

#contacto {
  width: 100%;
  background-color: var(--tph-crema);
  text-align: center;
}

#contacto .logo-contacto {
     width: 31%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#contacto .titulo {
  font-family: var(--tph-font-BOD_BLAR);
  font-size: 5rem;
  color: var(--tph-marron);
  text-transform: uppercase;
  
}

#contacto .subtitulo {
  font-family: var(--tph-font-gothic);
  color: var(--tph-marron);
  font-size: 1rem;
  line-height: 1.6;
}

#contacto .contacto-info {
  margin-top: 2rem;
}

#contacto .tel_promo {
  font-family: var(--tph-font-body);
  color: var(--tph-marron);
  font-size: 1.5rem;
  font-weight: 600;
}

#contacto .tel_promo a {
  text-decoration: none;
  color: var(--tph-marron);
  transition: color 0.3s ease;
}

/*#contacto .tel_promo a:hover {
  color: var(--tph-marron);
  font-family: var(--tph-font-BOD_BLAR) ;
}*/

#contacto .email_contacto {
  font-family: var(--tph-font-BOD_BLAR);
  color: var(--tph-marron);
  font-size: 1.3rem;
  
}

#contacto .email_contacto a {
  font-family: var(--tph-font-gothic);
  text-decoration: none;
  color: var(--tph-marron);
}

#contacto .email_contacto a:hover {
  color: var(--tph-marron);
}

#contacto .horario {
  font-family: var(--tph-font-gothic);
  color: var(--tph-marron);
  font-size: 1rem;
  line-height: 1.8;
}

@media (min-width: 992px) {
  #contacto .titulo {
    font-size: 3.5rem;
  }
  
  #contacto .subtitulo {
    font-size: 1.1rem;
  }
  
  #contacto .tel_promo {
    font-size: 1.8rem;
  }
  
  #contacto .email_contacto {
    font-size: 1.5rem;
  }
}

/********************************************************************************** BBLL (BASES LEGALES) *******************************************************************************/

.bbll-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-family: var(--tph-font-gothic);
  color: var(--tph-negro);
  background-color: var(--tph-blanco);
  line-height: 1.8;
}

/* Índice navegable */
.bbll-nav {
  margin: 2rem 0 3rem;
  padding: 1.25rem 1.25rem;
  background-color: var(--tph-crema);
  border: 2px solid var(--tph-marron);
  border-radius: 12px;
}

.bbll-nav-title {
  font-family: var(--tph-font-BOD_BLAR);
  color: var(--tph-marron);
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
}

.bbll-toc {
  margin: 0;
  padding-left: 1.25rem;
}

.bbll-toc li {
  margin-bottom: 0.5rem;
}

.bbll-toc a {
  color: var(--tph-azul-marino);
  text-decoration: underline;
  font-weight: 600;
}

.bbll-toc a:hover {
  color: var(--tph-rojo);
}

.bbll-content a:focus-visible {
  outline: 2px solid var(--tph-rojo);
  outline-offset: 2px;
}

.bbll-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.75rem;
  border-radius: 999px;
  background-color: var(--tph-rojo);
  color: var(--tph-blanco);
  font-family: var(--tph-font-BOD_BLAR);
  font-size: 1rem;
  line-height: 1;
}

.bbll-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 3px solid var(--tph-rojo);
}

.bbll-title {
  font-family: var(--tph-font-BOD_BLAR);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--tph-rojo);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 0;
  text-transform: uppercase;
}

.bbll-title em {
  font-style: normal;
  color: var(--tph-azul-marino);
}

.bbll-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--tph-blanco);
  border-radius: 12px;
  border: 2px solid var(--tph-marron);
  border-left: 6px solid var(--tph-rojo);
  transition: all 0.3s ease;
}

.bbll-section:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.bbll-subtitle {
  font-family: var(--tph-font-bodoni);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--tph-marron);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--tph-rojo);
  padding-bottom: 0.5rem;
}

.bbll-subtitle-small {
  font-family: var(--tph-font-gothic);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--tph-azul-marino);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.bbll-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: justify;
  hyphens: auto;
}

.bbll-text strong {
  color: var(--tph-rojo);
  font-weight: 700;
}

.bbll-text a {
  color: var(--tph-azul-marino);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.bbll-text a:hover {
  color: var(--tph-rojo);
}

.bbll-list,
.bbll-ordered-list {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.bbll-list li,
.bbll-ordered-list li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.bbll-list li::marker {
  color: var(--tph-rojo);
}

.bbll-ordered-list li::marker {
  color: var(--tph-azul-marino);
  font-weight: 700;
}

.bbll-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bbll-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--tph-blanco);
}

.bbll-table thead {
  background: linear-gradient(135deg, var(--tph-azul-marino) 0%, var(--tph-marron) 100%);
  color: var(--tph-blanco);
}

.bbll-table th {
  padding: 1rem;
  text-align: left;
  font-family: var(--tph-font-gothic);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bbll-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--tph-marron);
}

.bbll-table tbody tr:nth-child(even) {
  background-color: var(--tph-crema);
}

.bbll-table tbody tr:hover {
  background-color: var(--tph-blanco);
  transition: background-color 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .bbll-content {
    padding: 2rem 1rem;
  }

  .bbll-nav {
    padding: 1rem;
  }

  .bbll-section {
    padding: 1.5rem;
  }

  .bbll-table th,
  .bbll-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }

  .bbll-list,
  .bbll-ordered-list {
    padding-left: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .bbll-content {
    padding: 4rem 2rem;
  }

  .bbll-text {
    font-size: 1.1rem;
  }
}

/********************************************************************************** footer  *******************************************************************************/

footer {
  background-color: var(--tph-negro);
  position: sticky;
  font-family: var(--tph-font-gothic);
  color: var(--tph-blanco, #fff);
  border-top: solid var(--tph-lila) 1px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

footer nav {
  justify-content: center;
}

footer .ms-auto {
  margin-left: 0 !important;
}/***/

footer ul {
  list-style: none;
}

footer a {
  color: var(--tph-blanco);
  font-size: 1.1rem;
  text-decoration: none;
  transition: 0.3s color;
}

footer a:hover {
  color: var(--tph-blanco);
}

footer a:focus,
footer a:active {
  color: var(--tph-blanco);
}

footer .small {
  color: var(--tph-blanco);
  font-size: 0.9rem;
}

footer img .small {
  max-width: 1.5rem;
}



/********************************************************************************** Area personal  *******************************************************************************/
.card-width {
  min-width: 10rem;
}

.flex-adapt {
  flex-direction: column !important;
}

/********************************************************************************** textos  *******************************************************************************/

/********************************************************************************** media query  *******************************************************************************/

/* Removed empty media query block for min-width: 536px */

@media (min-width: 636px) {
      #inicio h1 {
        font-size: 3rem;
        font-weight: bold;
    }
}

@media (min-width: 768px) {
      #inicio h1 {
        font-size: 3rem;
        font-weight: bold;
    }
}

@media (min-width: 992px) {}

@media (min-width: 1024px) {}

@media (min-width: 1200px) {
  .btn-hero {
    font-size: 1.2rem;
  }
  .hero-product {
    margin-top: 0rem;
  }

  #inicio h1 {
    font-size: 1.5rem;
        line-height: 1;
  }

  .imgen-bolsa-producto-hero {
    max-width: 178px;
  }

  #premio .titulo {
    font-size: 3.5rem;
  }
  
  #premio p {
    font-size: 1.1rem;
  }

}

@media (min-width: 1400px) {
  .hero-product {
    margin-top: 0rem;
  }

  #inicio h1 {
    font-size: 1.5rem;
        line-height: 1;
  }

  .imgen-bolsa-producto-hero {
    max-width: 257px;
  }
  #premio .titulo {
    font-size: 3rem;
  }
  
  #premio p {
    font-size: 1.1rem;
  }
}

/* ============================================
   SEO: Clase para textos ocultos (White-Hat)
   Oculta visualmente pero mantiene accesible 
   para lectores de pantalla y bots de búsqueda
   ============================================ */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 1600px) {

  #mainMenu,
  section,
  header,
  footer {
    max-width: 1920px;
    margin: 0 auto;
  }

  .hero-product {
    margin-top: 0rem;
  }

  #inicio h1 {
    font-size: 2.2rem;
        line-height: 1;
  }

  .imgen-bolsa-producto-hero {
    max-width: 286px;
  }

  .hero-content {
    padding: 2rem;
  }

  #premio .titulo {
    font-size: 3.5rem;
  }
  
  #premio p {
    font-size: 1.1rem;
  }

}

@media(min-width:1800px) {
   .hero-product {
    margin-top: 0rem;
  }

  #inicio h1 {
    font-size: 2.5rem;
        line-height: 1;
  }

  .imgen-bolsa-producto-hero {
    max-width: 358px;
  }
  #mecanica .titulo {
    font-size: 5rem;
  }

  #premio .titulo {
    font-size: 5rem;
  }
  
  #premio p {
    font-size: 1.1rem;
  }
}
@media (max-width: 1200px) {
  #inicio .divTitulo {
    
    font-size: 20px;
    padding: 20px;
    bottom: 13%;
  }
  #inicio .hero-title1{
    font-size: 60px;
  }
  #inicio .hero-title2{
    font-size: 36px;
  }
  #inicio .hero-title3{
    font-size: 24px; 
  }
  #inicio .hero-title4{
    font-size: 36px;
  }
  #inicio .pFecha{
    font-size: 14px;
  }
  .imgNeveraVintaje {
    padding-top: 33%;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .imgNeveraVintaje {
    padding-top: 11%;
  }

  #inicio .divTitulo {
    font-size: 20px;
    padding: 20px;
    bottom: -7%;
  }

  .logoMiCasaMiQueso {
    top: 25%;
    left: 10%;
  }
  .logoGarciaBaquero {
    top: -7%;
}

}

@media (max-width: 991px) {
  #mecanica .hero-title1{
    font-size: 96px;
    line-height: 1;
  }
  #mecanica .hero-title2{
    font-size: 58px;
    line-height: 1;
  }
  #mecanica .hero-title3{
    font-size: 37px;
    line-height: 1;
  }
  #mecanica .hero-title4{
    font-size: 56px;
    margin-bottom: 0;
    line-height: 1;
  }
}

@media (max-width: 991px) {
  #mecanica #divTituloMobileSlot {
    display: flex;
    justify-content: center;
    margin-top: -16px;
  }

  #mecanica .divTitulo.divTitulo--moved {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 auto 1.5rem;
    text-align: center;
  }

  /* Orden en móvil dentro de mecánica: botón -> título -> fecha */
  #mecanica .divTitulo.divTitulo--moved .btnParticiparRed {
    order: 1;
    font-size: 18px;
    padding: 8px 18px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  #mecanica .divTitulo.divTitulo--moved .hero-title {
    order: 2;
    color:var(--tph-rojo);
    gap: 0;
    line-height: 1;
  }

  #mecanica .divTitulo.divTitulo--moved .pFecha {
    order: 3;
    color:var(--tph-marron);
    padding:8%;
    font-size: unset;
  }
  #mecanica .imgNevera {
    padding-bottom: 6.5vh;
    max-width: none;
    width: 100%;
    height: auto;
  }

  .imgNeveraVintaje {
    padding-top: 0%;
    max-width: 100%;
  }
  .txtParticipar {
    font-size: 5vw;
  }
  .txtPromo2{
    font-size: 5vw;
    padding: 5% 0%;
  }
  .txtComoParticiparBlue {
           font-size: 5vw;
        /* padding: 2% 0%; */
        width: 86%;
  }
  .txtPromo2{
    padding: 10% 0%;
  }

  /* Pasos en columna en móvil */
  .part4 {
    flex-direction: column;
    gap: 24px;
  }

  .divRuedaQueso {
    max-width: none;
    width: 100%;
  }
  #participa .btn-formulario{
    padding: 0vh 17.5vw;
    font-size: 7.6vw;
    margin-left: auto;
    margin-right: auto;
  }

  /* En móvil, centra la imagen que estaba desplazada por margin-left fijo */
  .imgProductoParticipantes{
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  #premio .titulo{
    font-size: 3vh;
    padding: 1%;
  }
  .Contact-logo-contacto{
    width: 82%;
    height: 31%;
  }
  #contacto .titulo{
    font-size: 3rem;
  }
}
@media (min-width: 1025px) and (max-width: 1299px){
  .logoGarciaBaquero{
    top: -26%;
  }
  .logoMiCasaMiQueso {
    top: 12%;
    left: 13%;
  }

     #inicio .hero-title1 {
        font-size: 44px;
    }
  #inicio .hero-title2 {
    font-size: 27px;
  }
  #inicio .hero-title3 {
    font-size: 18px;
  } 
  #inicio .hero-title4 {
    font-size: 27px;
  } 
  #inicio .divTitulo {
    bottom: 5%;
  }
  .btnParticiparRed{
    padding: 0vh 3.5vw;
  }
  .txtComoParticiparBlue {
    font-size: 2.5rem;
    padding: 0vh 3.7vw;
  }
}

/* Responsive para 1300px+ */
@media (min-width: 1300px) {
  .logoGarciaBaquero{
    top: -31%;
  }

  .logoMiCasaMiQueso {
    top: 12%;
    left: 15%;
  }

  #inicio .divTitulo {
    bottom: 10%;
  }

  .imgNeveraVintaje {
    padding-top: 16%;
  }
  .imgRuedaQueso{
    padding-top: 8%;
  }

  .txtComoParticiparBlue {
    padding: 0;
  }
}