html {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    opacity: 1;
    transition: opacity 0.5s;
}

/* ====== HOME PAGE ====== */
.home-hero {
    background: url("") no-repeat center center/cover;
    text-align: center;
    padding: 80px 20px;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.7);
}

.home-hero h1 {
    font-family: 'Cinzel Decorative', cursive;
    color: #d6d32c;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px #fff, 0 0 40px #9d4edd;
}

.home-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #fff; 
}

.home-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.home-card {
    background: rgba(30, 0, 60, 0.7);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.home-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 30px rgba(241, 223, 121, 0.6);
}

.home-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #d6d32c;
    word-wrap: break-word;    /* fuerza salto si la palabra es larga */
    overflow-wrap: break-word; /* soporte moderno */
}

.quote {
    margin: 50px auto;
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    max-width: 700px;
    color: #f1df79;
    text-shadow: 0 0 8px #000;
}

.store-preview {
    text-align: center;
    margin: 50px auto;
    max-width: 900px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.store-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.store-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* TAROT */

.tarot-section {
  margin: 3% auto;
  padding: 20px;
  max-width: 800px;
  background: rgba(30, 0, 60, 0.6);
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(157, 78, 221, 0.7);
  color: #fff;
  text-align: center;
}

.tarot-section h2 {
  margin-bottom: 15px;
  font-size: 2rem;
  color: #f1df79;
}

.tarot-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}


.tarot-steps {
  text-align: left;
  margin: 20px auto;
  max-width: 600px;
  line-height: 1.6;
}

.tarot-steps li {
  margin-bottom: 10px;
}

.tarot-image img {
  max-width: 100%;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.boton {
    text-align: center;
    background: linear-gradient(45deg, #7b2ff7, #fa60ff);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    display:block;
    margin-left: auto;
    margin-right: auto; 
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.3s;
    align-items: center;
}

.boton:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7),
              0 0 30px rgba(123, 47, 247, 0.8);
}

.boton:active {
  transform: scale(0.97);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


.tarot-container {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;

    max-width: 800px;
    margin: 5% auto; 
    padding: 30px;
    border: 3px double gold; 
    border-radius: 15px; 

    box-shadow: 0 0 50px 15px rgba(255, 215, 0, 0.25); /* halo dorado */
    background: rgba(0, 0, 0, 0.3); /* fondo oscuro translúcido */
}

.tarot-card {
    width: 100px;
    height: 150px;
    border: 2px solid black;
    margin: 15px;
    border-style: groove;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s, opacity 0.5s; /* Agregado de la transición para la opacidad */
}

.central-card {
    grid-column: 5;
    grid-row: 2;
}

.right-cross-card {
    grid-column: 6;
    grid-row: 2;
}

.bottom-cross-card {
    grid-column: 5;
    grid-row: 3;
}

.left-cross-card {
    grid-column: 4;
    grid-row: 2;
}

.top-cross-card {
    grid-column: 5;
    grid-row: 1;
}

.above-central-card {
    grid-column: 5;
    grid-row: 2;
    transform: rotate(90deg);
}

.right-cards1 {
    grid-column: 8;
    grid-row: 3;
}

.right-cards2 {
    grid-column: 8;
    grid-row: 2;
}

.right-cards3 {
    grid-column: 8;
    grid-row: 1;
}

.response-card {
    grid-column: 9;
    grid-row: 2;
}

.tarot-card img {
    width: 100px;
    height: 150px;
}

#countdown {
    font-size: 64px; 
    text-align: center;
    margin-top: 3%;
    display: none; 
}


#tarot-card-image-info {
    position: fixed;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: transform 1s, opacity 1s;
    pointer-events: none;
    text-align: center;
    z-index: 20;
}

#tarot-card-info {
    position: fixed;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    background: url('marcotexto.jpg') center/cover no-repeat;
    background-size: cover;
    opacity: 0;
    transition: transform 1s, opacity 1s;
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
    width: 300px;
    height: 400px;
    text-align: center;
    z-index: 21;
}

#TextoRespuesta {
    word-wrap: break-word; /* Romper palabras largas si no caben en una línea */
    white-space: normal; /* Permitir saltos de línea automático */
    overflow: hidden; /* Ocultar cualquier desbordamiento que pueda ocurrir */
    max-height: 100%; /* Ajustar la altura máxima según tus necesidades */
    margin-top: 8%;
    color: black;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    font-size: 0.8em;
    font-family: 'Cinzel Decorative', cursive;
}

#TituloRespuesta {
    word-wrap: break-word; /* Romper palabras largas si no caben en una línea */
    white-space: normal; /* Permitir saltos de línea automático */
    overflow: hidden; /* Ocultar cualquier desbordamiento que pueda ocurrir */
    max-height: 100%; /* Ajustar la altura máxima según tus necesidades */
    margin-top: 15%;
    color: black;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    font-family: 'Cinzel Decorative', cursive;
}


/*Pagina Zodiaco */

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.zodiac-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.zodiac-item img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9));
}

.zodiac-name {
    margin-top: 10px;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1.2rem;
    color: #f1e4ff;
    text-shadow: 0 0 8px rgba(255, 0, 200, 0.7);
}

body {
    background: radial-gradient(circle at center, #1a0f2e, #0a0612);
    color: #fff;
}

.zodiac-links {
    margin-top: 2%;
    display: flex;
    justify-content: center; /* centra horizontalmente */
    gap: 2rem; /* espacio automático entre los links */
}

.zodiac-links a {
    position: relative;
    text-decoration: none; /* quitamos el underline normal */
    color: #fff;
    font-family: 'Cinzel Decorative', cursive; /* fuente mística */
    font-size: 1rem;
    transition: all 0.3s ease;
}

.zodiac-links a:hover {
    color: #f1df79;
    text-shadow: 0 0 8px #9d4edd, 0 0 12px #f1df79;
}

.zodiac-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* distancia del texto */
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #9d4edd, #f1df79, #6f42c1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    box-shadow: 0 0 8px #9d4edd, 0 0 16px #f1df79;
}

.zodiac-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.text-box-sign {
    margin: 2rem auto 0 auto; /* centrado horizontal */
    padding: 1.5rem;
    border-radius: 5px;
    background: rgba(25, 0, 51, 0.85);
    color: #fff;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1rem;
    text-align: center;
    line-height: 1.6;
    box-shadow: 0 0 15px #9d4edd, 0 0 25px #f1df79;
    display: none; /* Oculto al inicio */
    animation: fadeIn 0.6s ease;
    max-width: 900px; 
    width: 90%; 
}

.text-box-sign h3 {
    color: gold;
}

.prediction-box {
    margin: 2rem auto 0 auto; /* centrado horizontal */
    padding: 1.5rem;
    border-radius: 5px;
    background: rgba(25, 0, 51, 0.85);
    color: #fff;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1rem;
    text-align: center;
    line-height: 1.6;
    box-shadow: 0 0 15px #9d4edd, 0 0 25px #f1df79;
    display: none; /* Oculto al inicio */
    animation: fadeIn 0.6s ease;
    max-width: 900px; 
    width: 90%; 
    white-space: pre-line;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/*COMPATIBILIDAD DE SIGNOS*/

.compat-body {
    background: #0a001a;
    color: #fff;
    font-family: 'Cinzel Decorative', cursive;
    text-align: center;
}

.compat-container {
    margin: 3% auto;
    padding: 20px;
    max-width: 600px;
    background: rgba(30, 0, 60, 0.6);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(157, 78, 221, 0.7);
    align-items: center;
    
}

.compat-body p {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
}

select {
    margin: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

select {
    background: #2b004d;
    color: #fff;
}

.checkBtn {
    background: linear-gradient(45deg, #7b2ff7, #f107a3);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    display:block;
    margin-left: auto;
    margin-right: auto; 
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.3s;
    align-items: center;
}

.checkBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7),
              0 0 30px rgba(123, 47, 247, 0.8);
}

.checkBtn:active {
  transform: scale(0.97);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


.compat-result {
    display: none;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(241, 223, 121, 0.4);
    text-align: center;
}

.stars {
    display: flex;
    justify-content: center;
    margin: 5px 0 15px 0;
}

.stars span {
    font-size: 1.5rem;
    color: #555;
    margin: 0 2px;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.stars span.active {
    color: gold;
    text-shadow: 0 0 10px gold;
    transform: scale(1.2);
}

.rating-category {
    margin-bottom: 10px;
}
.rating-category {
  margin: 8px 0;
}

.stars span {
  font-size: 20px;
  color: gold;
  margin-right: 2px;
}

/* ASCENDENTE */

.asc-container {
    margin: 3% auto;
    padding: 20px;
    max-width: 600px;
    background: rgba(30, 0, 60, 0.6);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(157, 78, 221, 0.7);
    text-align: center;
    color: #fff;
}

.asc-container label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.asc-container input {
    margin: 8px 0;
    padding: 10px;
    border-radius: 6px;
    border: none;
    width: 90%;
    max-width: 400px;
    text-align: center;
    background: white;
}

/* Contenedor de sugerencias */
#suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

/* Cada sugerencia */
#suggestions li {
  color: black;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-size: 15px;
  text-align: left;
}

/* Hover */
#suggestions li:hover {
  background: #f3f0ff;
  color: #5b32b4;
}

/* Cuando se muestra */
#suggestions.show {
  display: block;
}


#ascResult {
  text-align: center;
}

@import url('https://fonts.googleapis.com/css2?family=Mystery+Quest&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

#ascDesc{
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-family: 'Mystery Quest', cursive; /* estilo místico para el cuerpo del texto */
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ddd8d8;
}

.botonAsc {
    background: linear-gradient(45deg, #7b2ff7, #f107a3);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto; 
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.3s;
}

.botonAsc:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.7),
                0 0 30px rgba(123, 47, 247, 0.8);
}


/* **********
**  FOOTER  **
************ */

.footercontainer {
    text-align: center;
    background: radial-gradient(circle at top, rgba(120, 50, 150, 0.5), rgba(20, 10, 30, 0.9));
    max-width: 1400px;
    margin: 40px auto 0 auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(150, 100, 255, 0.4);
}

.footercontainer p {
    color: #eee;
    padding-top: 1%;
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.imfooter {
    object-fit:fill;
    margin-bottom: 15px;
    height: 220px;
    width: 340px;
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.imfooter:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(200, 150, 255, 0.7));
}

.footerinfo {
    display: flex;
    justify-content: space-around;
    background-color: rgba(40, 20, 60, 0.7);
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.footerinfo ul {
    margin-right: 30px;
    list-style: none;
    padding: 0;
}

.listafooter li {
    margin-bottom: 8px;
}

.listafooter h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 8px #9b59b6;
}

.listafooter a {
    color: #ddd;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.listafooter a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(200, 150, 255, 0.8);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.social-icons a img {
  width: 38px;
  height: 38px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1); /* para mantenerlos blancos si el fondo es oscuro */
}

.social-icons a:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px gold);
}


/*TIENDA ONLINE*/

#shop {
  padding: 2rem;
  text-align: center;
}

#shop h2 {
    font-family: 'Cinzel Decorative', cursive;
    color: #d6d32c;
    font-size: 3rem;
    margin-bottom: 25px;
    text-shadow: 0 0 20px #fff, 0 0 40px #9d4edd;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  
}

.category {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}
.category:hover {
  transform: scale(1.05);
}
.category img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.hidden {
  display: none;
}

#back-btn {
  display: inline-block;
  background: linear-gradient(45deg, #7b2ff7, #fa60ff); /* degradado místico */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 20px;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.2s ease-in-out;
}

#back-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3),
              0 0 15px rgba(123, 47, 247, 0.6);
}

#back-btn:active {
  transform: scale(0.95);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

#category-title {
  font-size: 2rem;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px #9d4edd;
  margin: 40px 0;
  text-align: center;
  padding: 20px 60px;
  position: relative; /* necesario para que los pseudo-elementos se posicionen */
}

/* Línea arriba con degradado */
#category-title::before,
#category-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, #9d4edd 50%, #9d4edd 50%, transparent);
}

/* Línea arriba */
#category-title::before {
  top: 0;
}

/* Línea abajo */
#category-title::after {
  bottom: 0;
}


.category h3 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.4rem;
  color: black;
  text-shadow: 0 0 20px #d9db48, 0 0 40px #9d4edd;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding: 10px 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;

    max-width: 1000px; /* ajusta a tu gusto (800px, 1200px, etc.) */
    margin-left: auto;
    margin-right: auto;
}

.product {
    background: #fff;
    color: black;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;  
}
.product:hover {
    transform: scale(1.05);
}
.product img {
    width: 100%;
    height: 180px;
    border-radius: 10px;
}
.product h3 {
    color:gold;
    margin: 0.5rem 0;
}
/* Precio */
.price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #B12704; /* rojo característico de Amazon */
    margin: 0.5rem 0 1rem 0;

}

/* Botón Añadir al carrito */
.product button {
    margin-top: auto;
    background: #FFD814;  /* amarillo Amazon */
    border: 1px solid #FCD200;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.product button:hover {
    background: #F7CA00;
}

/* 🛒 Carrito */
/* Icono carrito fijo arriba derecha */
#cart-icon {
  position: fixed;
  top: 15px;
  right: 25px;
  background: linear-gradient(45deg, #7b2ff7, #f107a3);
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  z-index: 9999;
}

#cart-icon:hover {
  transform: scale(1.05);
}

/* Burbuja de cantidad */
#cart-count {
  background: #f1df79;
  color: black;
  font-weight: bold;
  border-radius: 50%;
  padding: 3px 7px;
  font-size: 0.9rem;
  margin-left: 8px;
}

/* Panel desplegable */
#cart-dropdown {
    position: fixed;
    top: 65px;
    right: 25px;
    width: 320px;
    background: rgba(30, 0, 60, 0.97);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    padding: 20px;
    color: #fff;
    font-family: Arial, sans-serif;
    z-index: 9998;
}

#cart-dropdown.hidden {
    display: none;
}

/* Título */
#cart-dropdown h3 {
    margin-top: 0;
    text-align: center;
    color: #f1df79;
    font-size: 1.2rem;
}

/* Lista de productos */
#cart-items {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    max-height: 200px;
    overflow-y: auto;
}

#cart-items li {   
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    }

#cart-items span {    
    flex: 1;
    font-size: 0.95rem;
}

.cart-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 12px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  color: whitesmoke;
}

.cart-item-price {
  color: #888;
  margin-right: 10px;
}

.cart-item-qty {
  font-weight: bold;
  color: #555;
}

/* Botón eliminar */
.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.remove-btn:hover {
    background: #c0392b;
}

/* Totales */
#cart-total-container {
    margin-top: 15px;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Botón finalizar compra */
#checkout-btn {
    display: block;
    width: 100%;
    background: linear-gradient(45deg, #7b2ff7, #fa60ff);
    border: none;
    color: white;
    padding: 12px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 15px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.3s;
}

#checkout-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

/* 🔮 Estilo para el visor de grimorios */
#pdf-viewer-container {
  display: none;
  position: relative;
  width: 100%;
  background: rgba(20, 0, 40, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  margin: 60px auto;
  padding: 40px 0;
  text-align: center;
}

#pdf-canvas {
  width: 90%;
  max-width: 900px;
  height: auto;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
  border-radius: 10px;
  background: #fff;
  margin: 0 auto;
  display: block;
  transition: opacity 0.3s ease-in-out;
}

.pdf-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.pdf-controls button {
  background: linear-gradient(135deg, #7a4dc2, #3c1361);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.pdf-controls button:hover {
  background: #a575ff;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

#close-viewer {
  display: inline-block;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 20px;
}

#close-viewer:hover {
    color: gold;
}

#page-info {
  color: white;
  font-family: 'Cinzel Decorative', cursive;
}

/* Slider para pasar páginas */
#page-slider {
  width: 70%;
  margin: 15px auto 25px;
  display: block;
  accent-color: gold;
  cursor: pointer;
}

/* Animación de aparición del grimorio */
@keyframes fadeInMagic {
  0% {
    opacity: 0;
    transform: scale(0.95);
    box-shadow: 0 0 0px gold;
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
}

#pdf-canvas.fade-in {
  animation: fadeInMagic 0.8s ease-out;
}

/*QUIENES SOMOS*/

.about-container {
    max-width: 900px;
    margin: 60px auto;
    background: rgba(20, 0, 40, 0.6);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
    color: #fff;
    font-family: 'Cinzel Decorative', cursive;
    text-align: center;
}

.about-container h1 {
    font-family: 'UnifrakturCook', cursive;
    font-size: 3rem;
    margin-bottom: 20px;
    color: gold;
}

.about-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.sugerencias {
    margin-top: 40px;
}

.boton-sugerencia {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #6a1b9a, #9c27b0);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1rem;
    transition: 0.3s ease;
}

.boton-sugerencia:hover {
    background: #ba68c8;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/*POLITICA*/

.contenedor-politica {
  max-width: 900px;
  margin: 80px auto;
  background-color: rgba(30, 10, 40, 0.85);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(150, 100, 255, 0.4);
}
.contenedor-politica h1, .contenedor-politica h2 {
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.contenedor-politica a {
  color: #ffd700;
  text-decoration: underline;
}


/* 🎭 Temas por región */

/* 🇪🇸 España → sobrio, elegante */
html.theme-spain {
  background: linear-gradient(to bottom, #2c2c3e, #0d0d14);
  color: #f4f1de;
}
html.theme-spain .tarot-card {
  border: 2px solid #d4af37; /* dorado */
}
html.theme-spain div button {
  background: linear-gradient(135deg, #1f1f2e, #3c3c5c);
  border: 1px solid #d4af37;
}

/* 🌎 Latinoamérica → vibrante, colorida */
html.theme-latam {
  background: radial-gradient(circle at top left, #3a1c71, #d76d77, #ffaf7b);
  color: #fffbe9;
}
html.theme-latam .tarot-card {
  border: 2px solid #ffdd57;
  background: rgba(255,255,255,0.05);
}
html.theme-latam div button {
  background: linear-gradient(135deg, #ff6f61, #ffcc70);
  color: #2c1a1a;
  border: 1px solid #fff;
}

/* 🇺🇸 USA / 🇨🇦 Canadá → moderno, pop */
html.theme-usa {
  color: #e0e0ff;
}
html.theme-usa .tarot-card {
  border: 2px solid #9d4edd;
  background: rgba(157, 78, 221, 0.1);
}

