/* FDCELVA Styles v2.1 */

/* Overlay */
#fdc {
  position: fixed;
  z-index: 9998;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fdcFadeIn 0.3s ease;
}
@keyframes fdcFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Card */
#fdc .fdc-holder {
  width: 90%;
  max-width: 480px;
  max-height: 75vh;
  background: #fffdf8;
  border-radius: 12px;
  padding: 2rem 1.5rem 1.5rem;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: fdcSlideUp 0.35s ease;
  box-sizing: border-box;
}
@keyframes fdcSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Close */
#fdc .fdc-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
  z-index: 2;
}
#fdc .fdc-close:hover { color: #333; }

/* Title */
#fdc .fdc-holder .title h2 {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  margin: 0 auto 1.5rem;
  color: #2a2a2a;
}
#fdc .fdc-holder .title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c5ab6b, transparent);
}

/* Dish rows */
#fdc .fdc-holder .platines {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e8e4dc;
  margin: 0;
}
#fdc .fdc-holder .platines:last-of-type { border-bottom: none; }

#fdc .fdc-holder .platines .platin {
  flex: 1;
  min-width: 0;
}
#fdc .fdc-holder .platines .platin .innpt {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #2a2a2a;
}
#fdc .fdc-holder .platines .platin .innpd {
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 300;
  color: #888;
  margin-top: 2px;
}
#fdc .fdc-holder .platines .precio {
  color: #c5ab6b;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  min-width: 65px;
}

/* Toggle button — inline */
#viewbtnelva {
  text-align: center;
  margin: 1.5rem auto 6rem;
  position: relative;
  z-index: 1;
}
#viewbtnelva .togglebtn {
  cursor: pointer;
  border: 2px solid #c5ab6b;
  padding: 0.75rem 2rem;
  background: transparent;
  color: #c5ab6b;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}
#viewbtnelva .togglebtn:hover {
  background: #c5ab6b;
  color: #fff;
}

/* Mobile */
@media screen and (max-width: 768px) {
  #fdc .fdc-holder {
    width: 94%;
    max-height: 70vh;
    padding: 1.5rem 1.2rem 1.2rem;
  }
  #fdc .fdc-holder .title h2 {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
  }
  #fdc .fdc-holder .platines .platin .innpt { font-size: 0.85rem; }
  #fdc .fdc-holder .platines .precio { font-size: 0.9rem; }
  #viewbtnelva { margin-bottom: 2rem; }
}

/* Scrollbar */
#fdc .fdc-holder::-webkit-scrollbar { width: 4px; }
#fdc .fdc-holder::-webkit-scrollbar-thumb { background: #c5ab6b; border-radius: 4px; }