@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-regular.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-200.woff2") format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-300.woff2") format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-500.woff2") format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-600.woff2") format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-700.woff2") format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-800.woff2") format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-900.woff2") format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond/cormorant-garamond-latin-vf.woff2") format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'EB Garamond';
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/eb-garamond/eb-garamond-latin-vf.woff2") format('woff2-variations');
  
}

:root{
  /* Neutrals */
  --color-dark-grey: #4A4A4A;
  --color-mid-grey: #5F5F5F;
  --color-white: #FFFFFF;
  --color-beige: #E6D8C2;
  --color-tan: #C9A77A;

  --color-off-white: 245, 245, 240; /*rgba(245, 245, 240, 1)*/
  ;

  /* colores queso*/

  --color-bg-semi-past: 111, 27, 37;
  --color-bg-tierno: 219, 218, 209;

  --color-bg-semi-lc: 63,19,24;
  --color-bg-viejo: 102,82,59;
  --color-bg-curado-past: 70, 68, 65;
  --color-bg-curado-lc: 34,31,30;

  --color-txt-tierno: 130, 129, 124;

  /* Earth tones */
  --color-brown: #7A4F2A;
  --color-brown-2: #634D39;
  --color-fudge: #DFD4AD;
  --color-fudge-dark:#B38852;
  --color-mustard: #D2A63A;
  
  
  --color-bg-eggshell: #FFF7E4;
  --color-bg-prev-next: #DFD4AD;

  /* Greens */
  --color-forest: #2F5F3A;
  --color-light-green: #A8C87A;
  --color-lt-green: 26,119,62;

  /* fonts */
  --body-font-family: 'Poppins', var(--bs-font-sans-serif);
  --title-font-family: 'Cormorant Garamond', Georgia, serif;
  --number-font-family: 'EB Garamond',"Times New Roman", serif;
  
  --font-size-small: 0.75rem;
  --blur-5px: blur(5px);
  --bs-card-bg: var(--color-off-white);
}/* eo root */

/** { outline: 1px solid rgba(255,0,0,.15); }*/

body{
  color: var(--color-dark-grey);
  background-color: rgb(var(--color-off-white));
  font-family: var(--body-font-family);
  font-weight: 200;
  font-size: 1rem;
  font-size-adjust: 0.55;
}

.blur-5{
  filter: var(--blur-5px) !important;
}

.number-font {
  font-family: var(--number-font-family);
}

.prep-step-number{
  font-family: var(--number-font-family);
  font-size: 7rem;
  line-height: 1;
  margin-right: 1rem;
}

.bg-prev-next, .bg-prev-next-noticia{
  background-color: var(--color-bg-prev-next);
}

.bg-marron{
  background-color: var(--color-brown-2);
}

.bg-eggshell{
  background-color: var(--color-bg-eggshell);
}

.text-viejo{
  color: rgb(var(--color-bg-viejo));
}

.text-curado-past{
  color: rgb(var(--color-bg-curado-past));
}

.text-curado-lc{
  color: rgb(var(--color-bg-curado-lc));
}

.text-semi-past{
  color: rgb(var(--color-bg-semi-past));
}

.text-semi-lc{
  color: rgb(var(--color-bg-semi-lc));
}

.text-tierno{
  color: rgb(var(--color-txt-tierno));
}

.text-fudge-dark{
  color: var(--color-fudge-dark);
}

.bg-off-white{
  background-color: rgb(var(--color-off-white))
}

.bg-menta{
  background-color: #A4B8A1;
}

.bg-fudge{
  background-color: var(--color-fudge);
}

.fs-smaller{
  font-size: smaller;
}
.fs-small{
  font-size: small;
}

.card{
  --bs-card-bg: var(--color-off-white);
}
.ratio-5x7{
  aspect-ratio: 5 / 7;
}
.ratio-9x16{
  aspect-ratio: 9 / 16;
}

.ratio-3x2{
  aspect-ratio: 3 / 2;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--title-font-family);
  font-weight: 400;
  font-size-adjust: 0.43;
  /*text-transform: uppercase;*/
}

h1{
  font-size: clamp(1.875rem, 5.5vw, 2.3rem);
  text-transform: uppercase;
}

.font-title{
  font-family: var(--title-font-family);
  font-size-adjust: 0.43;
}

body>header.nav-row{
  background-color: rgba(var(--color-off-white),.8);
  /*position: sticky !important;*/
  /*top: -1px;*/
  backdrop-filter: var(--blur-5px);
  z-index: 3;
}

.bg-prep-step{
  background-color: #e0ddd7;
}


.fs-8{
  font-size: var(--font-size-small);
}
.flag {
  display: block;
  margin-left: -6px;
  width: 40px;
  height: 30px;
  object-fit: cover;
  object-position: 50%;
}
.flag-link {
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(1,1,1,0.1);
  overflow: hidden;
  line-height: 30px;
  width: 30px;
  height: 30px;
}
/* LINKS */
.footer-col-menu a{
  text-decoration: none;
  font-weight: 300;
  color: var(--color-mid-grey);
  transition: all ease-in-out 0.2s
}
.menu-offset-link {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  color: var(--color-mid-grey);
  transition: all ease-in-out 0.2s
}
.menu-offset-link.not-active{
  transition: none;
}

a.btn-visitanos{
  font-family: var(--title-font-family);
  background-color: var(--color-mustard);
  border-radius: 2rem;
  color: rgb(var(--color-off-white));
  padding-left: 2rem;
  padding-right: 2rem;
  transition: all ease-in-out 0.2s
}

a.btn-subscribe{
  border: 2px solid var(--color-mustard);
  color: var(--color-mustard);
  font-family: var(--title-font-family);
}
a.btn-social{
  color:white;
  background-color: var(--color-mustard);
  display: block;
  /*  border: 1px solid gray;*/
  border-radius: 0.9rem;
  line-height: 18px;
  /*color: gray;*/
  padding: 0.6rem;
}
a.btn-social.btn-tienda{
  background-color: var(--color-brown);
}

.btn-hm-descubre{
  border-radius: 2rem;
  border-width:  2px ;
  border-style: solid;
  min-width: 200px;
  /*solid transparent;*/
}

.btn-hm-compar{
  min-width: 200px;
  border-radius: 2rem;
  color: rgb(var(--color-off-white));
}

.btn-hm-descubre.viejo{
  border-color: rgb(var(--color-bg-viejo));
  color: rgb(var(--color-bg-viejo));
}

.btn-hm-compar.viejo{
  background-color: rgb(var(--color-bg-viejo));

}

.btn-hm-descubre.curado-past{
  border-color: rgb(var(--color-bg-curado-past));
  color: rgb(var(--color-bg-curado-past));
}

.btn-hm-compar.curado-past{
  background-color: rgb(var(--color-bg-curado-past));

}
.btn-hm-descubre.semi-past{
  border-color: rgb(var(--color-bg-semi-past));
  color: rgb(var(--color-bg-semi-past));
}

.btn-hm-compar.semi-past{
  background-color: rgb(var(--color-bg-semi-past));

}
.btn-hm-descubre.semi-lc{
  border-color: rgb(var(--color-bg-semi-lc));
  color: rgb(var(--color-bg-semi-lc));
}

.btn-hm-compar.semi-lc{
  background-color: rgb(var(--color-bg-semi-lc));

}
.btn-hm-descubre.curado-lc{
  border-color: rgb(var(--color-bg-curado-lc));
  color: rgb(var(--color-bg-curado-lc));
}

.btn-hm-compar.curado-lc{
  background-color: rgb(var(--color-bg-curado-lc));

}
.btn-hm-descubre.tierno{
  border-color: rgb(var(--color-txt-tierno));
  color: rgb(var(--color-txt-tierno));
}

.btn-hm-compar.tierno{
  background-color: rgb(var(--color-txt-tierno));

}


p>a, .footer-address a {
  color: var(--color-mustard);
  transition: all ease-in-out 0.2s
}

.breadcrumb-item>a{
  color: rgb(var(--color-lt-green));
  text-decoration: none;
  transition: all ease-in-out 0.2s
}


.text-off-white{
  color: rgb(var(--color-off-white));
}

.hm-finca{
  /*max-height: 80vh;*/
  overflow: hidden;
}

/*and ((pointer: fine) or (pointer: coarse))*/
@media (any-hover: hover){
  .menu-offset-link:hover{
    /*text-decoration: underline;*/
    color: var(--color-dark-grey);
    padding-left: 1rem;
    border-radius: 1rem;
    background-color: var(--bs-gray-100)
  }
  .menu-offset-link.not-active:hover{
    padding-left: initial;
    border-radius: initial;
    background-color: initial;
    color: initial;
  }
  
  .footer-col-menu a:hover{
    color: var(--color-dark-grey);
    text-decoration: underline;
    text-shadow: 1px 1px 3px rgba(0,0,0,.1);
  }
  a.btn-subscribe:hover{
    color: white;
    background-color: var(--color-mustard);
    text-decoration: none;
  }
  p>a:hover {
    font-weight: bolder;
  }
  .breadcrumb-item>a:hover{
    text-decoration: underline;
  }
  a.btn-visitanos:hover{
    background-color: rgb(var(--color-off-white));

    color:var(--color-mustard) ;
  }
  .btn-hm-compar:hover{

    color: rgb(var(--color-off-white));
  }
}


/* IMAGES */
img{
  transition:
    opacity 0.5s ease,
    filter 0.5s ease,
    transform 0.5s ease;
  will-change: opacity, transform, filter;
}
img[loading="lazy"]:not(.loaded) {
  opacity: 0;
  filter: blur(6px);
  transform: scale(1.03);

}

img[loading="lazy"].loaded {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

img.error {
  opacity: .5;
  filter: grayscale(1);
}

@media (prefers-reduced-motion: reduce) {
  img {
    transition: none;
  }
}
/*img[loading="lazy"].loading{
  opacity: 0;
  transform:scale(0.85);
  transition: opacity 300ms, transform 300ms;
}
img[loading="lazy"].loaded{
  opacity: 1;
  transform:scale(1);
}*/


/* arco KM0 */

.bg-medio-queso{
  background-image: url('/assets/img/home/km0-medio-queso.png');
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-y: bottom;
  /*background-size: 30cqw;*/
}

/* Contenedor del arco: cuadrado y responsive */
.arc-top{
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  position: relative;
  overflow: visible;

  /* ✅ variables SIEMPRE con unidades */
  --size: clamp(64px, 10vw, 180px);
  /*--r: clamp(120px, 18vw, 200px);*/
  --r: calc(30cqw - (var(--size) / 2) - 8px);
  --label-space: clamp(40px, 6vw, 90px);
  --k: 0.75;
  /* ✅ fallbacks por seguridad */
  /*  height: calc(
      var(--r, 180px) +
      var(--size, 80px) +
      var(--label-space, 70px)
    );*/
  height: calc((var(--r) * var(--k)) + var(--size) + var(--label-space));

  /* ✅ por si hay algo raro: asegura mínimo */
  min-height: 200px;

  /* debug opcional (quítalo luego) */
  outline: 1px dashed rgba(255,0,0,.5);
}

.arc-top .arc-item{
  position: absolute;
  overflow: visible;

  left: 50%;
  bottom: calc(var(--size) / 2);
  transform: translate(-50%, 50%) translate(var(--x), var(--y));
}

.arc-top .arc-media{
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  overflow: hidden;
  position: relative;

  /* si quieres margen interno para la imagen */
  padding: clamp(4px, 0.8vw, 10px);
  box-sizing: border-box;
  background: rgba(255,255,255,.85);
}

.arc-item{
  --size: clamp(135px, 10vw, 200px);
  
}

.arc-label{
  text-align: center;
  /*max-width: var(--size);*/
}
.arc-media{
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  overflow: hidden;
  position: relative;

  /* si quieres margen interno para la imagen */
  padding: clamp(4px, 0.8vw, 10px);
  box-sizing: border-box;
  background: rgba(255,255,255,.85);
}


/*.arc-top .arc-item{
  position: absolute;
  --size: clamp(64px, 10vw, 180px);
  overflow: visible;

  left: calc(50% + var(--x, 0%));
  top:  calc(50% + var(--y, 0%));
  transform: translate(-50%, -50%);
}*/


/*.arc-top .arc-media{
  width: var(--size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;  recorte circular 
  position: relative;
  padding: clamp(4px, 0.8vw, 10px);   👈 margen interno responsive 
  background-color: rgba(255,255,255,.95);
}*/

.arc-top .arc-media > img{
  width: 80%;
  height: 80%;
  object-fit: cover;
  display: block;
}


/* Label por encima, con top negativo */

.arc-top .arc-label{
  /*  position: absolute;
    left: 50%;
    top: calc(-1 * clamp(14px, 2.6vw, 26px));
    transform: translateX(-50%);*/
  z-index: 2;

  width: max-content;
  max-width: min(260px, 70vw);
  text-align: center;

  padding: .5rem .75rem;
  border-radius: 1rem;
  /*background: rgba(0,0,0,.35);*/
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  /*backdrop-filter: blur(6px);*/

  pointer-events: none;
}




/*
  Posiciones para un arco superior (∩) de 5 puntos:
  Ángulos: -180, -135, -90, -45, 0
  Aproximación: cos/sin con 0.707 -> 70.7%
*/

/* Radio del arco (en % del contenedor). Ajusta a tu gusto --r: 40%; --r: clamp(120px, 22vw, 220px); */
/*.arc-top{ --r: clamp(120px, 22vw, 100%); }*/

/* 1: izquierda */
.arc-top .arc-item:nth-child(1){
  --x: calc(-1 * var(--r));
  --y: -28%;
}

/* 2: arriba-izq */
.arc-top .arc-item:nth-child(2){
  --x: calc(-0.55 * var(--r));
  --y: calc(-0.9 * var(--r) * var(--k));
}

/* 3: arriba centro */
.arc-top .arc-item:nth-child(3){
  --x: 0%;
  --y: calc(-1.2 * var(--r) * var(--k));
}

/* 4: arriba-der */
.arc-top .arc-item:nth-child(4){
  --x: calc(0.53 * var(--r));
  --y: calc(-0.86 * var(--r) * var(--k));
}

/* 5: derecha */
.arc-top .arc-item:nth-child(5){
  --x: var(--r);
  --y: -28%;
}

/* Ajuste opcional para pantallas pequeñas */
@media (max-width: 576px){
  .arc-top{
    --r: 44%;
  }   /* abre un poco el arco en móvil */
}
.ratio-1x1-rct{
  --bs-aspect-ratio: calc(1 / 1 * 100%);
}
@media (min-width: 768px) {
  .ratio-1x1-rct {
    --bs-aspect-ratio: calc(9 / 16 * 100%);
  }
}

@media (min-width: 1921px) {
  .ratio-1x1-rct {
    --bs-aspect-ratio: calc(1 / 2.5 * 100%);
  }
}

/* flechas receta next */
.page-control{
  width: 3rem;
  height: 3rem;
  
}

/* Flecha derecha (NEXT) */
.page-next-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B38852'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
}

/* Flecha izquierda (PREV) */
.page-prev-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B38852'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e");
}


/* carousel arrows */

#carouselQuesos .carousel-control-next-icon, #carouselQuesos .carousel-control-prev-icon {
  
  width: 3.5rem;
  height: 3.5rem;
}

.splide__arrow {
  background: transparent;
  height: 3em;
  width: 3em;
}
.splide__arrow svg {
  fill: #000;
  height: 3em;
  width: 3em;
}
.splide__arrow--prev {
  left: 0em;
}
.splide__arrow--next {
  right: 0em;
}


.btn-play{
  color: rgb(var(--color-bg-off-white));
}

.btn-play.dark{
  color: rgb(var(--color-dark-grey));
}

.table{
  --bs-table-border-color: transparent;
  --bs-table-bg: transparent;
}

html {
  font-size: 100%; /* 16px */
}

@media (min-width: 1920px) {
  html {
    font-size: 112.5%; /* 18px */
  }
}