/* Estilo de barra de scroll para el contenedor de las tarjetas en el modal */
.scrollable-content::-webkit-scrollbar {
  width: 4px;
}

.scrollable-content::-webkit-scrollbar-track {
  background: #2e2e2e;
}

.scrollable-content::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.main-content {
  padding-top: 30px;
}

.modal-content {
  background: #ffffff;
  border-radius: 8px;
  color: #333;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 0;
  background: #4b0082;
  color: #fff;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.modal-footer {
  align-items: center;
}

.close {
  color: #fff;
}

.modal-body {
  padding: 15px;
  background: #f9f9f9;
}

/* === UNIFICAR ALTURAS DE TARJETAS DE LA TIENDA === */
#tienda .row {
  align-items: stretch;                 /* Estira las columnas */
}

#tienda .col-lg-3,
#tienda .col-md-6 {
  display: flex;                        /* Cada columna es flex */
}

.card-store {
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: box-shadow 0.3s ease;

  /* Igualar alturas */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;                  /* Centrar icono/título */
  width: 100%;
  height: 100%;
  min-height: 240px;                    /* Ajustá a gusto (antes 200px) */
}

.card-store:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* El body crece para emparejar alturas */
.card-body {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;              /* Centrar texto */
  text-align: center;
}

.card-store i {
  color: #333;
  transition: color 0.3s ease;
  line-height: 1;
}

.card-store:hover i {
  color: #4b0082;
}

.card-title {
  font-weight: bold;
  font-size: 1.25rem;                   /* Consolidado (evito duplicado) */
  margin-bottom: 15px;
}

.modal-dialog {
  max-width: 80%;
  margin: 30px auto;
}

@media (max-width: 768px) {
  .modal-dialog {
    max-width: 90%;
  }
}

footer {
  background: linear-gradient(to right, #4b0082, #8a2be2);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .card img {
    height: 150px;
  }
}

.banner-title{
  color:#f9f9f9
}

.card-peds {
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: box-shadow 0.3s ease;
}
.card-peds:hover i {
  color: #f9f9f9;
}

.card-header-peds{
  margin-top: 20px;
  background-color: #009FFF;
  color: #fff;
  padding:10px;
  font-weight: 700;
  border-bottom: none;
}

.card-footer-peds {
  padding: 10px;
  border-top: 1px solid #eee;
  text-align: center;
  background-color: #f9f9f9;
}

.carousel-item img {
  max-height: 400px;
  width: auto;
  border-radius: 15px;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.carousel-control-prev {
  left: 10%;
}

.carousel-control-next {
  right: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100%, 100%;
  filter: invert(1);
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
}

.carousel-caption h5 {
  font-size: 1.2rem;
  margin: 0;
}

@media (max-width: 767.98px) {
  .carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px;
  }

  .carousel-caption h5 {
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px;
  }

  .carousel-caption h5 {
    font-size: 1.1rem;
  }
}

.btn-compra {
  display: inline-flex;
  align-items: center;
  background-color: #7289da; /* Color de Discord */
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn-compra i {
  margin-right: 5px;
}

.btn-paypal {
  background-color: #007bff; /* Ajusta según el diseño */
}

/*extras*/
.propiedad-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.propiedad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.price-label {
  font-size: 1.2rem;
  color: #333;
}

.price-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-usd, .price-ars {
  font-size: 1.1rem;
  margin: 0;
}

.price-usd {
  color: #007bff;
}

.price-ars {
  color: #28a745;
}

.card-footer {
  background-color: #f8f9fa;
  border-top: none;
}

.btn-outline-primary {
  width: 100%;
  font-weight: bold;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  color: white;
}

/*
====================================================
================ STORE MODERNA =====================
====================================================
*/

.main-content.ancho-tienda {
  padding-top: 34px;
}

#banner.banner {
  padding: 38px 32px;
  margin-bottom: 26px;
}

#banner .banner-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

#banner .banner-subtitle {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
}

#tienda .row {
  row-gap: 10px;
}

.card-store {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(28, 37, 58, 0.96), rgba(13, 18, 32, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 26px;
  box-shadow: 0 24px 55px rgba(2, 6, 23, 0.3);
  min-height: 250px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}

.card-store::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.card-store:hover {
  border-color: rgba(192, 132, 252, 0.42);
  box-shadow: 0 28px 65px rgba(2, 6, 23, 0.4);
}

.card-store:hover::before {
  opacity: 1;
}

.card-store i {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  font-size: 1.9rem !important;
  color: #f5d0fe;
  background: rgba(139, 92, 246, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-store:hover i {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.44), rgba(109, 40, 217, 0.62));
}

.card-store .card-body {
  padding: 18px 10px 4px;
}

.card-store .card-title {
  color: var(--text-primary);
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.card-store .card-text {
  color: var(--text-secondary) !important;
  font-size: 0.98rem;
  line-height: 1.55;
}

#propiedades-container .card-footer,
#extras-container .card-footer,
#sanciones-container .card-footer,
#armasContent .card-footer,
.pack-armas-card .card-footer,
.sancion-card .card-footer {
  background: transparent !important;
  border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
}

.modal-dialog {
  max-width: min(1100px, 92vw);
}

.modal-content {
  border-radius: 28px;
  padding: 12px;
}

.modal-body {
  background: transparent;
}

.modal-content .banner-contenedores {
  padding: 20px;
}

.modal-content .btn-danger {
  min-width: 150px;
}

.separator.separator-dashed {
  border-top: 1px dashed rgba(148, 163, 184, 0.28);
}

#propiedades,
#extras,
#sanciones {
  margin-top: 10px;
}

body.light-mode .card-store {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 255, 0.98));
  border-color: rgba(124, 58, 237, 0.14);
}

body.light-mode .card-store i {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
}

body.light-mode .card-store:hover i {
  color: #ffffff;
}

@media (max-width: 768px) {
  #banner.banner {
    padding: 30px 22px;
  }

  .card-store {
    min-height: 220px;
    border-radius: 22px;
  }
}

/*
====================================================
================= STORE MODALS =====================
====================================================
*/

.modal.show {
  backdrop-filter: blur(4px);
}

.modal-backdrop.show {
  opacity: 0.72;
}

.store-modal-shell {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.98), rgba(15, 23, 42, 0.98)) !important;
  border: 1px solid rgba(139, 92, 246, 0.18) !important;
  border-radius: 30px !important;
  padding: 18px !important;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.52) !important;
}

.store-modal-shell .modal-header {
  padding: 0 0 18px 0;
  background: transparent !important;
  align-items: flex-start;
}

.store-modal-shell .modal-header .banner-contenedores {
  border-radius: 26px;
  padding: 20px 24px;
}

.store-modal-shell .modal-header h2,
.store-modal-shell .modal-header h5,
.store-modal-shell .modal-header .banner-contenedores h2 {
  color: #f8fafc !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.store-modal-shell .close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  margin-left: 14px;
}

.store-modal-shell .close:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #ffffff !important;
}

.store-modal-shell .modal-body {
  background: transparent !important;
  color: #c7d2fe !important;
  padding: 8px 4px 12px !important;
}

.store-modal-shell .modal-footer {
  background: transparent !important;
  padding-top: 8px;
}

.store-modal-shell hr {
  border-color: rgba(148, 163, 184, 0.18) !important;
}

.store-modal-shell .card,
.store-modal-shell .vip-card,
.store-modal-shell .packs-card,
.store-modal-shell .organizaciones-card,
.store-modal-shell .negocios-card,
.store-modal-shell .faccion-card,
.store-modal-shell .sancion-card,
.store-modal-shell .pack-armas-card,
.store-modal-shell .ped-card,
.store-modal-shell .info-final {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.98)) !important;
  color: #e5eefc !important;
  border: 1px solid rgba(139, 92, 246, 0.16) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 50px rgba(2, 6, 23, 0.32) !important;
}

.store-modal-shell .card-body,
.store-modal-shell .vip-card,
.store-modal-shell .packs-card-body,
.store-modal-shell .organizaciones-card-body,
.store-modal-shell .negocios-card-body {
  color: #dbe7ff !important;
}

.store-modal-shell .card-title,
.store-modal-shell .vip-card h5,
.store-modal-shell .packs-card h5,
.store-modal-shell .organizaciones-card-title,
.store-modal-shell .negocio-card-title,
.store-modal-shell .ped-title,
.store-modal-shell strong,
.store-modal-shell h5,
.store-modal-shell h4 {
  color: #f8fafc !important;
}

.store-modal-shell .text-muted,
.store-modal-shell .card-text,
.store-modal-shell p,
.store-modal-shell li,
.store-modal-shell span,
.store-modal-shell div {
  color: #c7d2fe !important;
}

.store-modal-shell .text-primary,
.store-modal-shell .text-danger,
.store-modal-shell .text-success,
.store-modal-shell .precio,
.store-modal-shell .precio-descuento,
.store-modal-shell .precio-original {
  color: #f0abfc !important;
}

.store-modal-shell .price-details {
  gap: 18px;
  padding: 14px 0 2px;
}

.store-modal-shell .price-usd,
.store-modal-shell .price-ars {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 18px;
  padding: 12px 16px;
  flex: 1 1 0;
}

.store-modal-shell .card-footer,
.store-modal-shell .card-mp,
.store-modal-shell .packs-card-footer,
.store-modal-shell .card-footer.text-center {
  background: transparent !important;
  border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
  padding: 18px 12px 10px !important;
}

.store-modal-shell .mercado-pago-btn {
  min-width: 180px;
}

.store-modal-shell .img-fluid,
.store-modal-shell .organizaciones-card-img,
.store-modal-shell .packs-card-img,
.store-modal-shell .ped-card img {
  border-radius: 18px !important;
  border: 1px solid rgba(139, 92, 246, 0.14);
}

.store-modal-shell .ped-grid {
  gap: 18px;
}

.store-modal-shell .ped-card {
  padding: 14px !important;
}

.store-modal-shell .info-final {
  border-top: 1px solid rgba(239, 68, 68, 0.35) !important;
}

body.light-mode .store-modal-shell {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.98)) !important;
  border-color: rgba(124, 58, 237, 0.14) !important;
}

body.light-mode .store-modal-shell .modal-header h2,
body.light-mode .store-modal-shell .modal-header h5,
body.light-mode .store-modal-shell .modal-header .banner-contenedores h2,
body.light-mode .store-modal-shell .card-title,
body.light-mode .store-modal-shell .vip-card h5,
body.light-mode .store-modal-shell .packs-card h5,
body.light-mode .store-modal-shell .organizaciones-card-title,
body.light-mode .store-modal-shell .negocio-card-title,
body.light-mode .store-modal-shell .ped-title,
body.light-mode .store-modal-shell strong,
body.light-mode .store-modal-shell h5,
body.light-mode .store-modal-shell h4 {
  color: #0f172a !important;
}

body.light-mode .store-modal-shell .card,
body.light-mode .store-modal-shell .vip-card,
body.light-mode .store-modal-shell .packs-card,
body.light-mode .store-modal-shell .organizaciones-card,
body.light-mode .store-modal-shell .negocios-card,
body.light-mode .store-modal-shell .faccion-card,
body.light-mode .store-modal-shell .sancion-card,
body.light-mode .store-modal-shell .pack-armas-card,
body.light-mode .store-modal-shell .ped-card,
body.light-mode .store-modal-shell .info-final {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.98)) !important;
  color: #475569 !important;
  border-color: rgba(124, 58, 237, 0.12) !important;
}

body.light-mode .store-modal-shell .text-muted,
body.light-mode .store-modal-shell .card-text,
body.light-mode .store-modal-shell p,
body.light-mode .store-modal-shell li,
body.light-mode .store-modal-shell span,
body.light-mode .store-modal-shell div {
  color: #475569 !important;
}

body.light-mode .store-modal-shell .price-usd,
body.light-mode .store-modal-shell .price-ars {
  background: rgba(124, 58, 237, 0.04);
  border-color: rgba(124, 58, 237, 0.1);
}

@media (max-width: 768px) {
  .store-modal-shell {
    padding: 12px !important;
    border-radius: 24px !important;
  }

  .store-modal-shell .modal-header .banner-contenedores {
    border-radius: 20px;
    padding: 18px 18px;
  }

  .store-modal-shell .price-details {
    flex-direction: column;
  }
}
