/* =====================
   SHOP SECTION
===================== */

.shop-section {
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1080px;
}

.shop-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

/* =====================
   SHOP CARD (BANNER STYLE)
===================== */

.shop-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: linear-gradient(145deg, #1b1207, #2a1a0a);
  border: 1px solid rgba(255, 180, 100, 0.15);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
margin-top: 20px;
}

.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  background: linear-gradient(145deg, #24170a, #3a220f);
}

/* Imagen lateral */
.shop-thumb {
  width: 38%;
  object-fit: cover;
  height: auto;
  aspect-ratio: 4/3;
  border-right: 1px solid rgba(255, 180, 100, 0.15);
}

/* Contenido derecho */
.shop-card .content {
  width: 62%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.8rem 2.4rem;
  gap: 1rem;
  color: #fff;
  font-family: "Quicksand", sans-serif;
}

/* Título */
.shop-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0;
  color: #ffe8b8;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Descripción */
.shop-desc {
  font-size: 1.4rem;
  color: #f5e0c0;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Meta info */
.shop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 200, 140, 0.15);
}

.shop-cost {
  font-weight: 700;
  color: #ffb84e;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Botón Redeem */
.shop-btn {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, #ff7b00, #ff3c00);
  color: white;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 4px 12px rgba(255, 100, 0, 0.3);
}

.shop-btn:hover {
  background: linear-gradient(135deg, #ff9628, #ff5533);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 120, 0, 0.35);
}

/* =====================
   Responsive
===================== */

@media (max-width: 720px) {
  .shop-card {
    flex-direction: column;
  }

  .shop-thumb {
    width: 100%;
    height: 220px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 200, 140, 0.15);
  }

  .shop-card .content {
    width: 100%;
    padding: 1.4rem 1.6rem;
  }

  .shop-title {
    font-size: 1.3rem;
  }

  .shop-desc {
    font-size: 0.95rem;
  }
}


/* =====================
   MODAL (sin cambios)
===================== */

.redeem-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.redeem-modal[aria-hidden="false"] {
  display: block;
}

.redeem-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.redeem-dialog {
  position: relative;
  max-width: 860px;
  background: #fff;
  color: #111;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
  margin: 5vh auto;
  overflow: hidden;
  animation: pop 0.18s ease;
}

@keyframes pop {
  from {
    transform: scale(0.98);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.redeem-close {
  position: absolute;
  right: 10px;
  top: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.redeem-hero img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.redeem-body {
  padding: 18px 18px 22px;
}

.redeem-cost-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 14px;
}

.redeem-cost-value {
  font-size: 1.05rem;
}

.redeem-label {
  display: block;
  font-weight: 600;
  margin: 10px 0 6px;
}

.redeem-text {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
  font: inherit;
}

.redeem-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.redeem-confirm {
  background: #111;
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.redeem-cancel {
  background: #f1f1f1;
  color: #111;
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.redeem-hint {
  color: #777;
  font-size: 0.92rem;
  margin-top: 10px;
}


/* ══ KEYS QUANTITY SELECTOR ══ */
.cf-keys-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.cf-keys-qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(150, 100, 255, 0.3);
  background: rgba(150, 100, 255, 0.08);
  color: #6b3fd4;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.cf-keys-qty-btn:hover {
  background: rgba(150, 100, 255, 0.18);
  border-color: rgba(150, 100, 255, 0.5);
  transform: scale(1.08);
}

.cf-keys-qty-input {
  width: 70px;
  height: 40px;
  text-align: center;
  border: 1.5px solid rgba(150, 100, 255, 0.3);
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #6b3fd4;
  background: rgba(150, 100, 255, 0.05);
  font-family: "Quicksand", sans-serif;
  outline: none;
}

.cf-keys-qty-input:focus {
  border-color: #9b6dff;
}

.cf-keys-qty-input::-webkit-inner-spin-button,
.cf-keys-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.cf-keys-qty-note {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #7a5aaa;
  font-weight: 600;
}

.cf-keys-qty-note strong {
  color: #6b3fd4;
}
