/* Barra de progreso y Header cápsula */
#progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cielo), var(--amarillo));
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 120;
}

header.site {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, 94vw);
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    box-shadow: var(--sombra);
    padding: 8px 10px 8px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Logo del Sitio Web */
.brand{
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand img{
    width: 150px;
}

/* Navegador del Sitio Web */

nav.main {
    margin-left: auto;
    display: flex;
    gap: 2px;
    align-items: center;
    padding: 10px;
}

nav.main a {
    padding: 9px 8px;
    white-space: nowrap;
    text-decoration: none;
    color: var(--marino);
    font-weight: 500;
    font-size: .98rem;
}

nav.main a:hover,
nav.main a[aria-current=page] {
    background: #e9f3fa;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font: inherit;
}

.btn.cta {
    background: var(--amarillo);
    color: var(--marino);
}

.btn.cta:hover {
    filter: brightness(.95);
}

.btn.main {
    background: var(--azul);
    color: #fff;
}

.btn.ghost {
    border-color: var(--azul);
    color: var(--azul);
    background: transparent;
}

a[aria-disabled=true] {
    opacity: .5;
    pointer-events: none;
}

.btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.pp-LRXK662EGYJGG {
  text-align: center;
  border: none;
  border-radius: 0.25rem;
  min-width: 11.625rem;
  padding: 0 2rem;
  height: 2.625rem;
  font-weight: bold;
  background-color: #FFD140;
  color: #000000;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.25rem;
  cursor: pointer;
}

.search {
    border: 0;
    background: #f1ece0;
    border-radius: 999px;
    padding: 9px 14px;
    font: inherit;
    font-size: .95rem;
    width: 90px;
    color: var(--marino);
}

.burger {
    display: none;
    margin-left: auto;
    background: var(--azul);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 800;
}

@media (max-width: 1240px) {
    nav.main {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 24px;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--sombra);
    }
    
    nav.main.open {
        display: flex;
    }
    
    .burger {
        display: block;
    }
    
    .search {
        width: auto;
    }
}

/* Tarjetas y placeholders */
.card {
    background: var(--papel);
    border-radius: var(--r);
    box-shadow: var(--sombra);
    border: 1px solid #f0e6d2;
    height: 100%;
}

a.card {
    text-decoration: none;
    color: inherit;
    transition: transform .25s;
}

a.card:hover {
    transform: translateY(-6px);
}

/* CARD */

.ico {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #e9f3fa;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.ph {
    border: 2px dashed #d9c9a6;
    border-radius: var(--r);
    display: grid;
    place-items: center;
    text-align: center;
    color: #7a6a45;
    font-weight: 700;
    font-size: .95rem;
    padding: 14px;
}

.avatar {
    aspect-ratio: 1;
    border-radius: 50%;
    width: 100%;
    max-width: 170px;
    margin: 0 auto 14px;
}

.tag {
    display: inline-block;
    font-size: .8rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    background: #e9f3fa;
    color: var(--marino);
}

.tag.gold {
    background: #fbeccb;
}

.tag.blue{
    background-color: #cfe8f5;
}

/* Forms y Modales */
label {
    font-weight: 800;
    font-size: .95rem;
    display: block;
    margin: 12px 0 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 2px solid #e3d8bf;
    font: inherit;
    background: #fff;
    color: var(--marino);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 69, 117, .55);
    display: none;
    place-items: center;
    z-index: 300;
    padding: 16px;
}

.modal.open {
    display: grid;
}

.modal .box {
    background: var(--crema);
    border-radius: 28px;
    max-width: 480px;
    width: 100%;
    padding: 34px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}

.modal .x {
    position: absolute;
    right: 14px;
    top: 14px;
    border: 0;
    background: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--marino);
}

/* Footer y Carrito flotante */
footer.site {
    background: var(--marino);
    color: #fff;
    padding: 64px 0 36px;
}

footer a {
    color: #cfe8f5;
}

.cart {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    background: var(--azul);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--sombra);
}

/*Animación de los Cards - Inicio*/
.reveal {
    opacity: 0;
    transform: translateY(34px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.noscript .reveal,
.rm .reveal {
    opacity: 1;
    transform: none;
}