.no-hero header{
    background-color: #5D5AE8;
}


.no-hero{
    padding-top: 90px;
}

.loading span{
    display: inline-block;
    animation: animate-preloader 1.5s linear infinite;
    transform-origin: center;
}

.loading span:not(.d-none){
    margin-right: 6px;
}


.header .logo .sitename{
    font-family: SuperPlants;
    font-weight: normal;
    letter-spacing: 0px;
    font-size: 34px;
    padding-left: 1.35em;
    line-height: 1em;
    background: url(/assets/favicon/icon.png) left center/contain no-repeat;
}

.gallery .gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.gallery .gallery-item a{
    display: block;
    max-height: 100%;
    overflow: hidden;
}

.gallery .gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.portfolio-details .portfolio-details-slider img {
    width: 100%;
    max-width: 100%;
    max-height: 600px;
    aspect-ratio: initial;
    object-fit: contain;
}

.img-fluid:not(.img-fluid-full) {
    max-width: 90%;
}

.img-fluid + span{
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: -3em;
    color: white;
    background: rgba(13,110,253, 0.89);
    z-index: 4;
    opacity: 0;
    padding: .5em;
    transition: 0.25s
}

.gallery .gallery-item:hover .img-fluid + span{
    opacity: 1;
    bottom: 0;
}

.form-control-autogrow{
    field-sizing: content;
}

.curiosity{
    line-height: 170%;
    font-size: .85em;
}

.portfolio-details .portfolio-highlight{
    --surface-color: #F5EAFF;
}

iframe{
    margin-top: 1.5rem;
    width: 100%;
    height: 70vh
}

textarea.form-control-autogrow{
    min-height: 3lh;
}

.blog-article .section-title{
    padding-bottom: 10px;
}

.blog-article-tools{
    text-align: center;
}


@media (max-width: 992px) {
    .header .logo .sitename{
        padding-top: 2px;
    }
}
@media (min-width: 992px) {
    .header .logo .sitename{
        letter-spacing: 2px;
        font-size: 45px;
    }
}

.aspect-rect img{
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gallery-item-info h3{
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.8);
    padding: .4em;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: white;
}

.gallery-item-info span{
    position: absolute;
    right: 0;
    top: .5rem;
    padding: .6em 2em;
    font-size: .6rem;
    z-index: 2;
    background: var(--heading-color);
    color: white;
    font-family: var(--heading-font);
    line-height: 100%;
    letter-spacing: .4px;
}

.gallery-item-stickers span,
.gallery-item-stickers-del-libro span{
    background: #F71173;
}

.gallery-item-extra span,
.gallery-item-stickers-extra span{
    background: #F2660B;
}

.gallery-item-coloring span,
.gallery-item-imagenes-para-colorear span{
    background: #02598B;
}

.gallery-item-games span,
.gallery-item-juegos-de-ingenio span{
    background: #02894E;
}

.gallery-item-interactive span,
.gallery-item-juegos-interactivos span{
    background: #CD1002;
}

.gallery-item-blog span{
    background: #591F69;
}

.btn-payment-gateway{
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    padding: .5em 2em;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
}

.btn-payment-gateway:hover{
    background: var(--bg-color-hover, var(--bg-color));
    border-color: var(--border-color);
}

.btn-payment-gateway span{
    --left: calc(2em + 20px);
    position: relative;
}

.btn-payment-gateway span::before{
    content: '';
    position: absolute;
    left: calc(var(--left) * -1);
    top: -.4em;
    width: 2em;
    height: 2em;
    display: inline-block;
    padding-left: var(--left);
    background: var(--gw-image) left center / 2em no-repeat;
}

.btn-mercadopago{
    --bg-color: #FFE600; 
    --color-text: #000;
    --color-text-hover: #0A0080;
    --border-color: #AB9300;

    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    --gw-image: url(/assets/img/icons/logo_mercadopago.svg);
}

.btn-paypal{
    --bg-color: #FFC600;
    --color-text: #796A40;
    --color-text-hover: #372C11;
    --gw-image: url(/assets/img/icons/logo_paypal.svg);
}

.btn-stripe{
    --bg-color: #000000;
    --color-text: white;
    --color-text-hover: #7C83E8;
    --gw-image: url(/assets/img/icons/logo_stripe.svg);
}

.btn-stripe:hover{
    color: var(--color-text-hover);
}


.merchandising-price{
    font-size: 1.2em;
    font-weight: bold;
    color: #2C5D7E;
}

.merchandising-price span{
    color: #3C87C0;
}


.merchandising-price small{
    font-size: 0.8em;
    color: #BBB;
    font-weight: normal;
}

.payments-methods{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.payments-methods > label{
    width: 100%;
}

.payment-method{
    max-width: 180px;
    text-align: center;
    padding-left: 0;
}

.payment-method.disabled label{
    cursor: not-allowed;
    pointer-events: none;
}

.payment-method input{
    display: none;
}

.payment-method input + label{
    padding: 2px 10px;
    border: 1px solid white;
    border-radius: 5px;
}

.payment-method input + label{
    filter: opacity(.3);
}

.payment-method input + label b{
    display: block;
    width: 150px;
    height: 60px;
    text-indent: -700px;
    overflow: hidden;
    background: var(--gw-image) no-repeat center / contain;
}

.payment-method small{
    display: block;
    font-size: .8em;
    line-height: 1.2;
}

.payment-method input + label[for="mercadopago"] b{
    --gw-image: url(/assets/img/icons/gw_mercadopago.svg);
}

.payment-method input + label[for="paypal"] b{
    --gw-image: url(/assets/img/icons/gw_paypal.png);
}

.payment-method input + label[for="stripe"] b{
    --gw-image: url(/assets/img/icons/gw_stripe.png);
}

.payment-method :checked + label{
    filter: opacity(1);
    border-color: #e2c8fa;
    background-color: #F5EAFF3A;
}

.payment-method.disabled input + label{
    filter: opacity(.6) grayscale(1);
}

.with-subtitle.section-title h2{
    padding-bottom: 0;
    margin-bottom: 5px;
}

.with-subtitle.section-title h2:after{
    display: none;
}

.with-subtitle.section-title h2 + p{
    margin: 0;
    padding-bottom: 10px;
    color: color-mix(in srgb, var(--heading-color), transparent 15%);
    font-family: var(--heading-font);
    font-size: 1.2em;
    font-weight: bold;
}

.with-subtitle.section-title h2 + p:after{
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}