/* MENUBE_SOMMELIER_PRODUCT_PILL_CSS_003_FAST_CUP
   MENUBE_SOMMELIER_MODAL_CLOSE_CENTER_001
   MENUBE_SOMMELIER_NATIVE_MODAL_NO_DELAY_CSS_001
   CSS limpio del product pill editorial.
*/

.msp2-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 26px;
  margin: 6px 0 6px;
  padding: 5px 11px;
  border: 1px solid rgba(196, 154, 83, .28);
  border-radius: 999px;
  background: rgba(246, 239, 225, .92);
  color: #6f4c16;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.msp2-pill:hover,
.msp2-pill:focus {
  background: #efe2c5;
  color: #1b2233;
  outline: none;
}

.msp2-lock {
  overflow: hidden;
}

.msp2-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.msp2-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .54);
  backdrop-filter: blur(7px);
}

.msp2-sheet {
  position: relative;
  z-index: 2;
  width: min(430px, 94vw);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(196, 154, 83, .28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(196, 154, 83, .10), transparent 34%),
    #fffaf0;
  color: #111827;
  padding: 26px 22px 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.msp2-sheet::before {
  content: "";
  position: absolute;
  top: -88px;
  left: 50%;
  width: 220px;
  height: 164px;
  border: 1px solid rgba(196, 154, 83, .16);
  border-top: 0;
  border-radius: 0 0 120px 120px;
  transform: translateX(-50%);
  pointer-events: none;
}

.msp2-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(246, 239, 225, .95);
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.msp2-close:hover,
.msp2-close:focus {
  background: #efe2c5;
  outline: none;
}

.msp2-top {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  margin: 0 auto 8px;
}

.msp2-cup {
  width: 54px;
  height: 54px;
  margin: 0 auto -8px;
  border-radius: 999px;
  background: rgba(196, 154, 83, .13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a6a20;
  font-size: 24px;
  line-height: 1;
}

.msp2-curve {
  width: min(292px, 80vw);
  height: 46px;
  display: block;
  pointer-events: none;
}

.msp2-curve svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.msp2-curve path {
  fill: none;
  stroke: none;
}

.msp2-curve text {
  fill: #9a6a20;
  font-size: 13.2px;
  font-weight: 950;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.msp2-title {
  max-width: 94%;
  margin: 2px auto 16px;
  color: #111827;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
  text-align: center;
}

.msp2-wine-card {
  border: 1px solid rgba(196, 154, 83, .24);
  border-radius: 20px;
  background: rgba(255, 255, 255, .62);
  padding: 18px 18px 17px;
}

.msp2-kicker {
  margin-bottom: 8px;
  color: #7a520e;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.msp2-wine-name {
  color: #111827;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
}

.msp2-wine-meta {
  margin-top: 8px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.35;
}

.msp2-price {
  display: inline-flex;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(246, 239, 225, .96);
  color: #6f4c16;
  font-size: 13px;
  font-weight: 950;
}

.msp2-why {
  margin-top: 22px;
}

.msp2-why h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
}

.msp2-why p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.55;
}

.msp2-wine-target {
  outline: 2px solid rgba(196, 154, 83, .45);
  outline-offset: 4px;
  box-shadow: 0 0 0 8px rgba(196, 154, 83, .12);
}

@media (max-width: 640px) {
  .msp2-modal {
    align-items: end;
    padding: 0;
  }

  .msp2-sheet {
    width: 100%;
    max-height: 86vh;
    border-radius: 28px 28px 0 0;
    padding: 26px 24px 28px;
  }

  .msp2-close {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .msp2-cup {
    width: 58px;
    height: 58px;
    font-size: 25px;
  }

  .msp2-curve {
    width: min(286px, 84vw);
    height: 45px;
  }

  .msp2-curve text {
    font-size: 12.8px;
    letter-spacing: .095em;
  }

  .msp2-title {
    margin-top: 2px;
    margin-bottom: 16px;
    font-size: 25px;
    line-height: 1.12;
  }

  .msp2-wine-card {
    border-radius: 21px;
    padding: 18px;
  }

  .msp2-kicker {
    font-size: 11.5px;
    letter-spacing: .20em;
  }

  .msp2-wine-name {
    font-size: 25px;
  }

  .msp2-wine-meta,
  .msp2-why p {
    font-size: 18px;
  }

  .msp2-why h3 {
    font-size: 18px;
  }
}

/* MENUBE_SOMMELIER_CUP_UP_CURVE_UNDER_LINE_001
   Ajuste fino visual:
   - La copa sube por encima de la línea.
   - El texto curvo queda por debajo de la línea.
   - Solo CSS visual del modal premium.
*/
.msp2-modal .msp2-cup-hero,
.msp2-modal .msp2-cup-stack,
.msp2-modal .msp2-hero-stack,
.msp2-modal .msp2-top-hero {
  position: relative;
}

/* Línea/copa */
.msp2-modal .msp2-cup-line,
.msp2-modal .msp2-hero-line,
.msp2-modal .msp2-cup-outline {
  position: relative;
  z-index: 1;
}

/* Icono copa: subirlo */
.msp2-modal .msp2-cup-icon,
.msp2-modal .msp2-cup-badge,
.msp2-modal .msp2-hero-badge,
.msp2-modal .msp2-top-icon {
  position: relative;
  z-index: 3;
  transform: translateY(-20px);
  margin-bottom: -4px;
}

/* Texto curvo: debajo de la línea */
.msp2-modal .msp2-curve,
.msp2-modal .msp2-curved-text,
.msp2-modal .msp2-curve-text,
.msp2-modal .msp2-hero-curve {
  position: relative;
  z-index: 2;
  margin-top: -8px;
  transform: translateY(6px);
  font-size: 17px;
  letter-spacing: 0.12em;
  font-weight: 800;
}

/* Móvil */
@media (max-width: 768px) {
  .msp2-modal .msp2-cup-icon,
  .msp2-modal .msp2-cup-badge,
  .msp2-modal .msp2-hero-badge,
  .msp2-modal .msp2-top-icon {
    transform: translateY(-28px);
    margin-bottom: -10px;
  }

  .msp2-modal .msp2-curve,
  .msp2-modal .msp2-curved-text,
  .msp2-modal .msp2-curve-text,
  .msp2-modal .msp2-hero-curve {
    margin-top: -16px;
    transform: translateY(10px);
    font-size: 18px;
    letter-spacing: 0.10em;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .msp2-modal .msp2-cup-icon,
  .msp2-modal .msp2-cup-badge,
  .msp2-modal .msp2-hero-badge,
  .msp2-modal .msp2-top-icon {
    transform: translateY(-32px);
  }

  .msp2-modal .msp2-curve,
  .msp2-modal .msp2-curved-text,
  .msp2-modal .msp2-curve-text,
  .msp2-modal .msp2-hero-curve {
    margin-top: -20px;
    transform: translateY(12px);
    font-size: 18px;
  }
}


/* MENUBE_SOMMELIER_PRODUCT_PILL_TITLE_CHILD_DIRECT_CSS_20260612
 * Copa compacta dentro del título del producto.
 */
[data-menube-sommelier-title-host="1"] .msp2-pill.msp2-pill--compact-glass,
[data-menube-sommelier-title-host="1"] .msp2-pill[data-menube-sommelier-compact-glass="1"],
.msp2-pill.msp2-pill--compact-glass,
.msp2-pill[data-menube-sommelier-compact-glass="1"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 25px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  padding: 0 !important;
  margin: 0 7px 0 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(190,150,72,.62) !important;
  background:
    radial-gradient(circle at 72% 22%, rgba(255,255,255,.96) 0 10%, rgba(255,255,255,0) 11%),
    linear-gradient(180deg, #fffaf0 0%, #f2eadb 100%) !important;
  color: #b98728 !important;
  box-shadow: 0 5px 14px rgba(136,99,34,.13) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  position: relative !important;
  top: -1px !important;
  z-index: 3 !important;
  -webkit-tap-highlight-color: transparent !important;
}

.msp2-pill.msp2-pill--compact-glass::before,
.msp2-pill.msp2-pill--compact-glass::after,
.msp2-pill[data-menube-sommelier-compact-glass="1"]::before,
.msp2-pill[data-menube-sommelier-compact-glass="1"]::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 768px) {
  [data-menube-sommelier-title-host="1"] .msp2-pill.msp2-pill--compact-glass,
  [data-menube-sommelier-title-host="1"] .msp2-pill[data-menube-sommelier-compact-glass="1"],
  .msp2-pill.msp2-pill--compact-glass,
  .msp2-pill[data-menube-sommelier-compact-glass="1"] {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin-left: 8px !important;
    margin-right: 6px !important;
    font-size: 12px !important;
    top: -1px !important;
  }
}

