html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "fontello";
    src: url("./../icon/font/fontello.eot?9149708");
    src:
        url("./../icon/font/fontello.eot?9149708#iefix") format("embedded-opentype"),
        url("./../icon/font/fontello.woff?9149708") format("woff"),
        url("./../icon/font/fontello.ttf?9149708") format("truetype"),
        url("./../icon/font/fontello.svg?9149708#fontello") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* 7 Blocks/Widgets

----------------------------------------------------------------------------- */

/* Logo

---------------------------------- */

.logo img {
    -webkit-transition: all 0.2s linear;

    -moz-transition: all 0.2s linear;

    -ms-transition: all 0.2s linear;

    -o-transition: all 0.2s linear;

    transition: all 0.2s linear;
}

.logo img:hover {
    opacity: 0.85;

    filter: alpha(opacity=85);
}

.img-max {
    max-height: 100px;
}

.main-container .logo img {
    margin: 0 auto;
}

.header-small .logo img {
    max-height: 40px;

    margin: 2px 0 -4px 0;
}

.text-center .logo img {
    margin: 0 auto;
}

.site-slogan {
    font-size: 13px;

    font-style: italic;

    color: #999999;
}

.transparent.header:not(.dark) .site-slogan {
    color: #333333;
}

.dark.header .site-slogan {
    color: #cdcdcd;
}

.transparent.dark.header .site-slogan {
    color: #ffffff;
}

.main-container .site-slogan {
    color: inherit;

    text-align: center;

    margin-bottom: 20px;
}

.logo-footer {
    margin: 25px 0 20px;
}

.card-op-img-glasse {
    min-height: 110px;
}

.op-90 {
    opacity: 0.9;
}

.rec-border {
    width: 80%;
    height: 350px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    border: solid 10px #1d23a7;
}

.carousel-item img {
    height: auto; /* Altura deseada */
    object-fit: cover; /* Mantiene la proporción recortando los bordes */
}

.rd_5 {
    border-radius: 5px;
}

.rd_10 {
    border-radius: 10px;
}

.rd_15 {
    border-radius: 15px;
}

.rd_20 {
    border-radius: 20px;
}

/*---card---*/
.card-op {
    border-radius: 10px;
    box-shadow: 0px 2px 5px 0px rgba(19, 23, 38, 0.25);
    margin-bottom: 20px !important;
    /* min-height: 288px !important; */
}

.card-op-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.card-op-img-bot {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card-op-body {
    padding: 0.5rem 0.5rem;
}
.card-op-body .card-op-title {
    margin-bottom: 0.75rem;
    border-bottom: none;
}

.card-op-header {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    padding: 1.5rem 1.5rem;
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.card-op-header .card-op-title {
    padding: 0;
    border: none;
}
.card-op-header > *:first-child {
    margin-left: 0;
}
.card-op-header > *:last-child {
    margin-right: 0;
}
.card-op-header > * {
    margin-left: 8px;
    margin-right: 8px;
}

.card-op-title {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.card-op-controls {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    flex-direction: row-reverse;
}

.card-op-controls [data-toggle="dropdown"],
.card-op-controls .card-op-btn-reload {
    font-size: 1rem;
}
.card-op-controls li > a {
    font-size: 0.8571rem;
    display: inline-block;
    padding: 0 4px;
    margin: 0 4px;
    color: #b8c6d6;
    opacity: 0.8;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}
/* border-radius: 10px 10px 0 0; */
.card-op-footer {
    padding: 0.5rem 0.5rem;
    background-color: transparent;
}

.card-op-inverse {
    color: #ffffff !important;
    background-color: #475f7b;
}
.card-op-inverse h1,
.card-op-inverse h2,
.card-op-inverse h3,
.card-op-inverse h4,
.card-op-inverse h5,
.card-op-inverse h6,
.card-op-inverse .card-op-title,
.card-op-inverse small,
.card-op-inverse .card-op-controls li > a {
    color: #ffffff !important;
}

.card-op-img-fluid {
    max-width: 90%;
    height: auto;
    min-width: 110px;
}

.list-item-product[data-st="1"] {
    border-radius: 50%;
}

.list-item-product[data-st="1"] i.hear-icon {
    color: red;
    transform: scale(1.15);
}

/* ICON */
.hear-icon {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: never;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 0.2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: 0.2em;

    /* You can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

/* Botón favorito */
.favorite-btn {
    /* position: absolute; */
    top: 12px;
    right: 12px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.favorite-btn:hover {
    transform: scale(1.08);
    background: #fff;
}

.favorite-btn:focus {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(220, 53, 69, 0.2),
        0 3px 10px rgba(0, 0, 0, 0.12);
}

.favorite-btn i {
    font-size: 16px;
    color: #555;
    transition: all 0.5s ease;
}

/* Corazón seleccionado */
/* .favorite-btn.active i {
    color: #e63946;
    transform: scale(1.15);
} */

/* Animación */
.favorite-btn.like-animation i {
    animation: heartBeat 2.5s ease;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.4);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
    .card-op-img-glasse {
        min-height: 80px;
    }
    /* .carousel-item img {
        height: auto; /* Altura deseada */
    object-fit: cover; /* Mantiene la proporción recortando los bordes *
    } */
}
