/**
 * @fileoverview Cart page specific styles
 * 
 * This file contains styles unique to the cart page that are not defined
 * in other CSS files to avoid conflicts and maintain single source of truth.
 * 
 * Used by: templates/ve/carrito.php
 */

/* Cart-specific unique styles */
.consigue-descuento .animacion-gratis {
    animation: gratis 1s infinite;
}

.consigue-descuento b {
    color: var(--terthemecolor);
}

.consigue-descuento i {
    font-size: 1.05rem;
}

.nota-stock {
    color: var(--secthemecolor);
}

a.eliminarProducto {
    font-weight: bold;
    color: var(--secthemecolor) !important;
    cursor: pointer;
}

a.irProducto,
a.irProducto:hover {
    text-decoration: none;
}

#costos {
    display: inline-block;
    padding-left: 10px;
    color: #767676;
}

#costos span {
    display: block;
    line-height: 16px;
}

#costos #costo-u {
    text-decoration: line-through;
}

.producto-resumen.producto-agotado {
    opacity: .8;
}

/* Swiper pagination custom styles */
.swiper-wrapper,
.swiper-slide {
    height: initial;
}

.swiper-pagination {
    position: initial;
}

.swiper-pagination-bullet {
    width: calc(20% - 10px);
    height: initial;
    opacity: 1;
    border-radius: 4px;
    border: 1px solid #eee;
    margin: 5px !important;
    background-color: transparent;
}

.swiper-pagination-bullet-active {
    border-color: var(--themecolor);
}

select option {
    font-weight: bold;
    color: var(--terthemecolor);
}

select option span {
    font-weight: lighter;
    color: #767676;
}

/* Responsive table styles */
.datos-tabla-responsive,
.span-responsive {
    display: none;
}

/* .columna-oculta {
    display: none;
} */

/* Thank you page styles */
.gracias-compra {
    position: relative;
    overflow: hidden;
}

.gracias-compra > div {
    background: url(assets/images/bglight.jpg);
    background-repeat: repeat;
}

.gracias-compra .video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: .5;
}

.gracias-compra video {
    min-height: 100%;
}

.gracias-compra .video + div {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding-top: 150px;
    padding-bottom: 150px;
    background: rgba(255, 255, 255, .7);
}

/* BCV widget styles */
.scaem-widget-bcv {
    border: 1px solid #eee;
}

.scaem-onlineoption-content.titulo-bcv {
    border-color: transparent;
    padding-bottom: 0px;
}

.scaem-onlineoption-content.tasas-bcv {
    border-color: transparent;
    padding-top: 0;
}

.ref-bcv {
    padding: 10px 0px;
}

.ref-bcv img {
    height: 20px
}

.ref-bcv p {
    font-size: 10px;
    margin-bottom: 0;
}

.ref-bcv.bcv-actualizado {
    border-top: 1px solid #eee;
}

/* Loading spinner */
.fa-spinner {
    animation: loader 1.5s infinite;
}

@keyframes loader {
    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg);
    }
}

.nota-importante span {
    color: var(--secthemecolor);
    font-weight: bold;
}

/* Mobile responsive styles */
@media (max-width: 600px) {
    .datos-tabla-responsive {
        display: block;
        border-bottom: 1px solid #dedede;
        margin-right: 15px;
        text-align: left;
    }

    .datos-tabla-responsive > * {
        display: inline;
    }

    .datos-tabla-responsive > span {
        padding: 0 0 0 10px !important;
    }

    .datos-tabla-responsive span br {
        content: "-" !important;
        display: inline-block !important;
        margin-right: 10px !important;
    }

    .datos-tabla-responsive > span.precio-t-resumen {
        font-weight: bold;
    }

    .span-responsive {
        display: inline;
        font-weight: normal;
    }

    .salto-responsive {
        display: block
    }

    .scaem-widget-bcv figure {
        text-align: center;
    }

    .scaem-widget-bcv figure img {
        width: 60%;
        margin: auto;
    }

    .gracias-compra {
        margin-top: -20px;
        margin-bottom: -20px !important;
        height: calc(100vh - 65px);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .oculta-compra {
        display: none;
    }
}

@media (max-width: 568px) {
    .scaem-main-section {
        padding: 20px 0;
    }
}