:root {
    --white: #ffffff;
    --black: #232020;
    --black2: #1d1413;
    --black3: #1d1214;
  
    --rojo: #e1011f;
    --amarillo: #ffd304;
    --amarillo2: #ecc402;
    --amarillo3: #fbefae;
    --gris-oscuro: #231f1f;
  
    --azul: rgba(33, 150, 243, 0.5);
    --red-300: #ee0000;
    --red-400: #cb0404;
    --blue-100: #eff6f9;
    --blue-300: #36b7c0;
    --primary-color: var(--red-300);
    --primary-darken-color: var(--red-400);
    --secondary-color: var(--black);
    --tertiary-color: var(--gray-300);
    --c-error: hsl(6, 70%, 55%);
    --c-success: hsl(126, 60%, 50%);
    --wrapper-max-width: 90rem;
  }
  
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: black;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--amarillo);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: red;
  }
  
  /* USER SELECT NONE TAP MOBILE	*/
  body * {
    -webkit-tap-highlight-color: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  }
  /* FIN USER SELECT NONE TAP MOBILE	*/
  
  #smooth-wrapper {
    overflow: hidden !important;
  }
  
  body {
    min-height: 100vh;
    margin: 0;
    text-align: left;
    color: white;
    background-color: white;
    font-family: "Montserrat", sans-serif;
    /*font-family: 'PlayfairDisplayRegular', sans-serif;*/
  }
  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-rendering: geometricPrecision;
    white-space: normal;
    /*white-space: nowrap;*/
  }
  
  :focus {
    outline: none !important;
  }
  .anim {
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.25s linear;
  }
  
  .anim-long {
    -webkit-transition: all 0.7s linear;
    -moz-transition: all 0.7s linear;
    -ms-transition: all 0.7s linear;
    -o-transition: all 0.7s linear;
    transition: all 0.75s linear;
  }
  .w100 {
    width: 100%;
  }
  .h100 {
    min-height: 100vh;
  }
  .bg-white {
    background-color: white;
  }
  .bg-white * {
    /*    color: black;*/
  }
  .absolute {
    position: absolute;
  }
  .relative {
    position: relative !important;
  }
  .full {
    width: 100vw;
    height: 100vh;
  }
  .full-relative {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .div-center {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /*     ESTILOS/FX      */
  
  .boton {
    position: relative;
    cursor: pointer;
  }
  /*.over,.touched{
      color: red;
      background: white;
  }*/
  .xxxxxxxxxxxx.over,
  .xxxxxxxxxx.touched {
    background-color: aliceblue;
  }
  .center {
    text-align: center;
  }
  .centered {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .centeredX {
    left: 50%;
    position: relative;
    transform: translateX(-50%);
  }
  .highlight-container:hover .img {
    transform: scale(1.1);
  }
  
  /*     CONTAINERS      */
  
  .c {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 110px;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .c2 {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .c2.col {
    flex-direction: column;
  }
  
  .c2 .el {
    box-sizing: border-box;
    margin: 10px;
    width: 50%;
  }
  .c2.col .el {
    width: 100%;
    margin: 0px;
  }
  
  .c2 .el .img {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    padding: 10px;
  }
  .c3 {
    align-items: flex-start;
    margin-bottom: 30px !important;
  }
  
  .grfx,
  .txt {
    opacity: 0;
    /*display: none;*/
  }
  
  .mb-0 {
    margin-bottom: 0;
  }
  .mb-3 {
    margin-bottom: 3rem;
  }
  .mb-5 {
    margin-bottom: 5rem;
  }
  .mb-6 {
    margin-bottom: 6rem;
  }
  .mt-1 {
    margin-top: 1rem !important;
  }
  
  .mt-1-5 {
    margin-top: 1.5rem !important;
  }
  
  .mt-2-5 {
    margin-top: 2.5rem !important;
  }
  
  .mt-3-5 {
    margin-top: 3.5rem !important;
  }
  
  .pt-1 {
    padding-top: 1rem !important;
  }
  
  .pt-1-5 {
    padding-top: 1.5rem !important;
  }
  
  .pt-2-5 {
    padding-top: 2.5rem !important;
  }
  
  .pt-3-5 {
    padding-top: 3.5rem !important;
  }
  
  .prod_container {
    position: relative;
  }
  
  .prod_container.space-citricos {
    padding: 20px 0;
  }
  
  .prod_container .anillo {
    position: absolute;
    top: 30%;
    left: 100%;
    transform: translate(-50%, -50%);
  }

  .prod_container .anillo-nuevo {
    position: absolute;

    top: 68%;

    left: 90%;

    transform: translate(-50%, -50%);

    width: 320px;

}

.prod_container:hover .anillo-nuevo {
    position: absolute;

    top: 68%;

    left: 90%;

    transform: translate(-50%, -50%);

    width: 320px;

}
  
  .flex {
    display: flex !important;
    flex-flow: row;
  }
  .flexrow {
    display: flex !important;
    flex-direction: row;
  }
  .flexcol {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
  }
  .flexrow.reverse {
    flex-direction: row-reverse;
  }
  .flex-item {
  }
  .f-jc-center {
    justify-content: center;
  }
  .f-jc-sb {
    justify-content: space-between;
  }
  .f-jc-sa {
    justify-content: space-around;
  }
  .f-ai-stretch {
    align-items: stretch;
  }
  .f-ai-center {
    align-items: center;
  }
  .f-center {
    align-items: center;
    justify-content: center;
    align-content: center;
    justify-items: center;
  }
  .f-center-h {
    justify-content: center;
    justify-items: center;
  }
  .f-center-v {
    align-items: center;
    align-content: center;
  }
  .f-wrap {
    flex-wrap: wrap;
  }
  .no_overflow,
  .no-overflow {
    overflow: hidden !important;
  }
  .overflow {
    overflow: visible !important;
  }
  .no-margin {
    margin: 0px !important;
  }
  .no-padding {
    padding: 0px !important;
  }
  .nopointers,
  .no-pointers {
    pointer-events: none !important;
  }
  .white {
    color: white;
  }
  .blanco {
    color: white !important;
  }
  .blanco h4 {
    color: white !important;
  }
  .blanco p {
    color: white !important;
  }
  .blanco b {
    color: white !important;
  }
  .black {
    color: black;
  }
  .bg-white {
    background-color: white;
  }
  .bg-black {
    background-color: black;
  }
  .bg-black2 {
    background-color: var(--black2);
  }
  .bg-black3 {
    background-color: var(--black3);
  }
  .ta-left {
    text-align: left;
  }
  .ta-right {
    text-align: right;
  }
  .ta-center {
    text-align: center;
  }
  .breadcrumbs {
    list-style: none;
    display: flex;
    color: black;
    height: 20px;
    line-height: 20px;
    /* margin-bottom: 20px; */
    margin: 20px;
    text-transform: capitalize;
    & li {
      display: flex;
      align-content: center;
      align-items: center;
      padding: 0 5px;
      text-decoration: none;
    }
    &:visited,
    &:link {
      color: black;
      text-decoration: none;
    }
    & li > a {
      color: rgb(157, 157, 157) !important;
      font-size: 15px;
      text-decoration: none;
      font-family: "Futura PT Book";
    }
    & li > a:hover {
      font-weight: bold;
    }
  }
  .breadcrumbs_black {
    list-style: none;
    display: flex;
    background-color: black !important;
    color: white;
    height: 20px;
    line-height: 20px;
    margin-bottom: 20px;
    text-transform: capitalize;
    & li {
      display: flex;
      align-content: center;
      align-items: center;
      padding: 0 5px;
      text-decoration: none;
    }
    &:visited,
    &:link {
      color: black;
      text-decoration: none;
    }
    & li > a {
      color: rgb(157, 157, 157);
      font-size: 18px;
      text-decoration: none;
    }
    & li > a:hover {
      color: rgb(84, 84, 84);
      font-size: 18px;
      text-decoration: underline;
    }
  }
  .migas-product {
    position: absolute;
    top: 45%;
    left: -10%;
  }
  .crumbs-mixing-listado {
    background-color: black;
    height: 0px;
    margin-top: -10px;
    padding: 10px 0;
  }
  .edad {
    position: fixed;
  
    z-index: 9999999999999999999;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    /* opacity: 0.8; */
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  
  .wrapper-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .edad-boton {
    width: 70%;
    display: flex;
    justify-content: space-around;
  }
  
  .wrapper-txt p:nth-child(1) {
    font-size: min(3.5vw, 37px);
    font-weight: 300;
    font-family: "Dashiell" !important;
    line-height: min(4vw, 0px);
  }
  
  .edad p:nth-child(2) {
    margin-top: 10px;
    margin-bottom: 50px;
    font-size: 23px;
    font-size: min(4vw, 37px);
  }
  @media screen and (max-aspect-ratio: 1/1) and (orientation: portrait) {
    .c2 {
      flex-direction: column;
    }
    .c2 .el {
      width: 100%;
    }
  }
  
  @media (max-width: 850px) {
    .edad-boton {
      display: flex;
      width: 100%;
      flex-direction: column;
      align-items: center;
    }
    .migas-product {
      position: absolute;
      top: 22%;
      left: 0;
    }
    .crumbs-mixing-listado {
      height: auto;
    }
    .flexcol {
      flex-flow: column;
    }
    .column {
      max-width: 100%;
    }
  }

  
  @media (min-width: 0px) and (max-width: 767px){
    .prod_container .anillo {
        position: absolute;
        top: 20%;
        left: 80%;
        transform: translate(-50%, -50%);
        width: 200px;
    }
    .prod_container .anillo-nuevo {
        position: absolute;
        top: 78%;
        left: 90%;
        transform: translate(-50%, -50%);
        width: 140px;
    }
    .prod_container:hover .anillo-nuevo{
        position: absolute;
        top: 78%;
        left: 90%;
        transform: translate(-50%, -50%);
        width: 140px;
    }
}

/* ===== OVERLAY ===== */
.popup-overlay {
    position: fixed !important;
    inset: 0;
    background: rgba(0,0,0,0.4);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 99999;
    padding: 20px; /* ✅ prevents edge cut on small screens */
}

.popup-overlay.active {
    display: flex;
}

/* ===== CARD ===== */
.popup-card {
    background: #efefef;
    width: 520px;
    max-width: 100%;

    padding: 40px;
    border-radius: 12px;

    position: relative;

    box-shadow: 0 20px 40px rgba(0,0,0,0.2);

    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s ease;

    max-height: 80vh;           /* ✅ prevents overflow */
    overflow-y: auto;           /* ✅ scroll inside if content long */
}

.popup-overlay.active .popup-card {
    transform: translateY(0);
    opacity: 1;
}

/* ===== CLOSE BUTTON ===== */
.popup-btn {
    display: flex;
    justify-content: flex-end;
}

.popup-close {
    background: #e5d58f;
    width: 120px;
    height: 50px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
}

/* ===== TEXT ===== */
.popup-body {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* ===================================== */
/* 📱 TABLET (<= 768px) */
/* ===================================== */
@media (max-width: 768px) {

    .popup-card {
        width: 100%;
        padding: 30px;
        border-radius: 10px;
    }

    .popup-close {
        width: 100px;
        height: 45px;
        font-size: 14px;
    }

    .popup-body {
        font-size: 15px;
    }
}

/* ===================================== */
/* 📱 MOBILE (<= 480px) */
/* ===================================== */
@media (max-width: 480px) {

    .popup-overlay {
        align-items: flex-end; /* ✅ bottom sheet feel */
    }

    .popup-card {
        width: 100%;
        padding: 20px;

        border-radius: 16px 16px 0 0; /* ✅ bottom modal style */
        max-height: 90vh;
    }

    .popup-close {
        width: 90px;
        height: 40px;
        font-size: 13px;
    }

    .popup-body {
        font-size: 14px;
        line-height: 1.6;
    }
}