﻿/* Estilos para el sitio web de asociados a Loyalty */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--loy-font-primary);
    /* Sticky footer: el body ocupa al menos toda la altura del viewport y el
       footer se empuja al fondo, así no queda blanco debajo en páginas cortas. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    padding: 0;
}

.accent_color {
    color: var(--primary) !important;
}

.accent_color_a {
    color: white !important;
}

.accent_color_b {
    color: #6d6e72 !important;
}

.accent_color_c {
    color: var(--primary) !important;
}

.accent_color_d {
    color: var(--accent) !important;
}

.bold {
    font-weight: bold;
}

/* Tarjeta del premio */

.prize_information {
    pointer-events: none;
}

.prize_information h3 {
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.25rem;
    letter-spacing: 0.1rem;
    margin: 0.5rem;
}

.prize_information hr {
    border: none;
    border-top: 1px solid #bdbec2;
    color: #fff;
    background-color: #fff;
    height: 1px;
    margin: 0.5rem 0.5rem;
}

.prize_information ul hr {
    margin: 0.5rem 0;
}

.prize_information .exchange_modes {
    list-style-type: none;
    padding: 0;
    margin: 0.5rem;
}

.prize_information .exchange_modes .money,
.prize_information .exchange_modes .points,
.prize_information .exchange_modes .type {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.4rem;
}

.prize_information .exchange_modes .type {
    color: #595a5b;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.4rem;
}

.prize_information .exchange_modes .installments {
    color: #595a5b;
    display: block;
    font-size: 1.25rem;
}

.prize_vertical .exchange_button {
    text-transform: uppercase;
    background-color: var(--primary);
    text-align: center;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    margin: auto 1rem 1rem auto;
}

.btn {
    border-radius: 1.5rem;
}

.prize_vertical .exchange_button:hover {
    background-color: var(--primary);
}

.prize_vertical .exchange_button a {
    color: white;
    margin: 0 1rem;
}

.prize_vertical .exchange_button i {
    color: white;
}

.prize_vertical {
    border: 1px solid #c3c7ca;
    background-color: white;
    margin-bottom: 2.5rem;
    padding: 0;
    position: relative;
    z-index: 1;
    height: 32rem;
    display: flex;
    flex-direction: column;
}

.prize_vertical .prize_image {
    display: block;
    height: 13rem;
    overflow: hidden;
    white-space: nowrap;
}

.prize_vertical .prize_image img {
    max-height: 100%;
}

.prize_vertical h3 a {
    color: inherit;
    overflow: hidden;
    padding-right: 1rem;
}

.prize_vertical h3 a abbr {
    border: none;
    text-decoration: inherit;
}

.prize_vertical a i {
    color: inherit;
    margin-right: 0.4em;
    vertical-align: 0;
}

.prize_vertical + div {
    position: relative;
    z-index: 2;
}

/* Estilos generales del sitio */
h1 {
    font-size: 1.7rem;
    font-weight: bold;
    padding-left: 0;
    margin-bottom: 2em;
    margin-top: 2.4rem;
}

h2 {
    font-size: 1.4em;
    font-weight: bold;
    padding-left: 0;
}

a {
    text-decoration: none !important;
}

a:hover {
    text-shadow: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.btn-default:hover {
    background-color: initial;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
    outline: none;
}

/* Encabezado del sitio */
/* Navegacion principal del sitio */

nav.navbar-default {
    background-color: white;
    border: none;
    padding-top: 1.5rem;
    margin-bottom: 0;
}

nav .owl_logo {
    float: right;
    z-index: -1;
}

nav .logos img {
    width: 14rem;
}

nav .owl_logo_col {
    z-index: -1;
    padding-right: 0;
}

nav .owl_logo_col img {
    width: 30%;
}

nav .col-sm-12 {
    min-height: 0;
}

nav .search_box input {
    background-color: white;
    border-radius: 0 2rem 2rem 0 !important;
    border: 1px solid var(--primary);
    border-left: none;
    box-shadow: none;
    color: var(--primary);
    height: 3rem;
    letter-spacing: 0.1rem;
}

nav .search_box input:focus {
    border: 1px solid var(--primary);
    border-left: none;
}

nav .search_box input + span button {
    font-size: 1rem;
    padding-top: 0.4rem;
    padding-left: 0.7rem;
}

nav .search_box .btn {
    height: 3rem;
    line-height: 1rem;
    background-color: transparent;
    border-radius: 2rem 0 0 2rem;
    border: 1px solid var(--primary);
    border-right: none;
    padding-right: 0;
}

nav .search_box a {
    color: #606060;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
}

nav .search_box i {
    color: var(--primary);
}

nav .search_box form.navbar-form {
    padding: 0;
}

nav .search_box .input-group {
    display: flex;
}

nav .search_box .fa-sliders {
    display: none;
}

nav .search_box input {
    padding-left: 1rem;
}

nav .program {

}

nav .program p {
    margin-left: 0;
    margin-top: 0.4rem;
    padding-left: 0;
}

nav a.btn {
    border-radius: 1.5rem;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--muted);
    border-color: var(--muted);
    padding: 0.2em 1em 0.2em 1em;
}

nav .user_info_row .dropdown-menu a.btn {
    outline: none;
    float: left;
    color: var(--primary);
    border: none;
    box-shadow: var(--primary) 0 0 1px 1px inset;
    text-transform: uppercase;
    background-color: white;
    text-align: center;
    border-radius: 1.5rem;
    padding: 0.2em 1em 0.2em 1em;
}

nav .user_info_row .dropdown-menu a.btn:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--primary) 0 0 1px 1px inset !important;
}

nav .user_info .btn {
    border-color: #525252;
    color: #525252;
    margin-right: -7.4rem;
}

nav .user_info p {
    color: #525252;
    letter-spacing: 0.03rem;
    line-height: 1.2rem;
    margin: 0;
    text-align: right;
    position: relative;
}

nav .user_info p a {
    color: inherit;
}

nav .user_info i {
    color: var(--muted);
    font-weight: normal;
}

nav .user_info small {
    font-size: 1.2rem;
}

nav .user_info .dropdown {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9;
}

nav .user_info .dropdown a {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--muted);
    border-color: var(--muted);
    padding: 0.2em 1em 0.2em 1em;

}

nav .user_info .dropdown a:hover {
    background-color: white;
}

nav .user_info .dropdown-menu {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

nav .user_info .btn.login {
    margin: 0;
    margin-left: 123px;
}

nav .cart_info .btn {
    background-color: transparent !important;
    border-color: transparent !important;
}

nav .cart_info .btn span {
    font-size: 12px;
    color: var(--primary);
    vertical-align: middle;
    line-height: 1.7rem;
}

nav .cart-btn i {
    font-size: 2.5rem;
}

nav div.login-btn,
nav div.register-btn {
    float: right;
    margin-top: 10px;
}

nav div.login-btn a,
nav div.register-btn a {
    font-size: 1.5rem;
    background-color: var(--primary);
    color: white;
}

nav div.login-btn a:hover,
nav div.login-btn a:focus,
nav div.login-btn a:active,
nav div.register-btn a:hover,
nav div.register-btn a:focus,
nav div.register-btn a:active {
    background-color: #4a6372 !important;
    color: white !important;
}

@media (max-width: 375px) {


    nav div.login-btn {
        margin-right: 0.5rem;
    }

    nav div.login-btn a,
    nav div.register-btn a {
        padding: 0.2em 1em 0.2em 1em;
        font-size: 11px;
    }

}

@media (min-width: 768px) {
    /*
        Overrides bootstrap collapse navbar starting with sm screens
    */
    nav .navbar-nav {
        float: left;
        margin: 0;
    }

    .navbar-nav .open .dropdown-menu {
        position: absolute;
        background-color: var(--primary);
        margin-left: -15px;
        border: none;
        box-shadow: none;
    }

    nav .nav_links {
        margin-top: 1rem;
    }

    nav .nav_links .nav-pills a {
        margin-left: 1rem;
    }

    nav .nav_links .nav > li > a {
        position: relative;
        display: block;
        padding: 0.5rem 0 !important;
    }

}

@media (max-width: 767px) {

    nav .nav_links .nav > li > a {
        padding: 0.5rem 0 !important;
    }

    nav .nav_links ul:first-child {
        padding-top: 0.5rem !important;
    }

    nav .nav_links ul:last-child {
        padding-bottom: 0.5rem !important;
    }

    nav .nav-pills > li {
        float: none;
    }

}

nav .navbar-collapse {
    padding-right: 15px !important;
    padding-left: 15px !important;
}

nav .nav_links .navbar-collapse {
    background-color: var(--primary);
    text-transform: uppercase;
    font-weight: bold;
}

nav .nav_links .nav-pills a {
    background-color: transparent !important;
}

nav .nav_links a,
nav .nav_links a:hover,
nav .nav_links .navbar-nav > .open > a,
nav .nav_links .navbar-nav > .open > a:hover,
nav .nav_links .navbar-nav > .open > a:focus {
    color: white !important;
    background-color: transparent;
}

nav .nav_links .dropdown a {
    color: white !important;
}

nav .navbar-nav {
    margin: 0;
}

nav .nav_links .dropdown-menu {
    background-color: var(--primary);
    height: auto;
    margin-left: -0.2rem;
    max-height: 50rem;
    overflow-x: hidden;
}

nav .nav_links .dropdown-toggle i {
    padding-left: 0.8rem;
}


.toggle_categories {
    border-color: var(--primary) !important;
    margin: 8px 0;
    float: left;
    padding: 4px 9px;
}

.travel_menu .dropdown-toggle {
    background-color: inherit;
    border: none;
    color: inherit;
    font-size: inherit;
    margin-top: -0.4rem;
    padding: 0;

}

.travel_menu ul li {
    margin: 0 1rem;
}

header + div {
    margin-top: 11rem;
}

@media (max-width: 1024px) {
    nav.navbar-default {
        position: relative;
    }

    header + div {
        margin-top: 0;
    }
}

/* Pagina inicial */

.main_slider {
    background-color: #ffffff;
}

.main_slider .carousel {
    margin: auto;
}

.main_slider .carousel img {
    width: 100%;
}

.main_slider .carousel-control {
    top: 50%;
    background: none;
}

.main_slider .carousel-control {
    color: black;
}

.main_slider .carousel-indicators li {
    background-color: black;
}

.home .prize_vertical + div {
    display: none;
}

.prize_vertical .prize_name h3 {
    color: #58585B;
}

/* Premios destacados */

.prize_vertical h2 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.25rem;
    letter-spacing: 0.1rem;
    padding: 0 0.5rem;
    margin: 0;
}

.prize_vertical .prize_main_info {
    min-height: 4.5rem;
}

@media (min-width: 1024px) {

    .featured_prizes .col-md-6 .prize_vertical img {
        margin-right: 0;
        margin-left: 1rem;
        margin-top: 4rem;
    }

    .featured_prizes .col-md-6 .prize_vertical .prize_image {
        height: 22rem;
        overflow: unset;
    }

    .featured_prizes .col-md-6 .prize_vertical .prize_information {
        position: relative;
        margin-top: -9rem;
    }

    .featured_prizes .col-md-6 .prize_vertical .prize_information hr {
        margin-left: 23.5rem;
    }

    .featured_prizes .col-md-6 .prize_vertical .prize_information .prize_main_info {
        margin-top: -8.25rem;
        margin-left: 23rem;
    }

    .featured_prizes .col-md-6 .prize_vertical .prize_brand h2 {
        font-size: 1.5rem;
    }

    .featured_prizes .col-md-6 .prize_vertical .prize_name h3 {
        font-size: 2rem;
        min-height: 4.5rem;
    }

    .featured_prizes .col-md-6 .prize_vertical .exchange_modes {
        display: inline-grid;
        margin-left: 23.5rem;
        min-height: 7rem;
    }


}

.prize_horizontal .points_only {
    color: var(--muted);
    font-size: 25px;
    padding: 25px 5px;
    border-left: solid 6px var(--muted);
    border-bottom: none;
    border-top: none;
}

.prize_horizontal {
    border: 1px solid #808080;
    margin-bottom: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
}

.prize_horizontal .buy-btn {
    background-color: white;
    border-color: #eee;
}

.prize_horizontal .discount {
    color: var(--primary);
    padding: 0;
    font-size: 1.1rem;
    letter-spacing: -0.1rem;
    font-weight: bold;
}

.discounted {
    text-decoration: line-through;
    color: silver;
}

.discount_badge {
    position: absolute;
    top: 0;
    right: 1rem;
    height: 4rem;
    color: gray;
    overflow: hidden;
    min-width: 5rem;
    text-align: center;
    z-index: 9;
    background-color: var(--primary);
}

.discount_badge span {
    display: block;
}

.discount_badge p {
    margin: 0;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 4rem;
}

.discount_badge.points p,
.discount_badge.price p {
    color: white;
}

ul li.pay_only span.undiscounted_money,
ul li.points_only span.undiscounted_points {
    color: #818286;
    font-size: 1.2rem;
    position: relative;
    margin-right: 0.4rem;
}

span.undiscounted_money:after,
span.undiscounted_points:after {
    border-bottom: 0.1rem solid var(--primary);
    content: "";
    left: -5%;
    transform: rotate(-15deg);
    position: absolute;
    top: 50%;
    width: 110%;
}

ul li.pay_only span.money_discount,
ul li.points_only span.points_discount {
    color: var(--primary);
}

.points_only_discount {
    display: table-cell;
}

.text-info, .prize_horizontal .prize_name a {
    color: var(--primary);
}

.prize_detail ul.exchange_mode {
    list-style-type: none;
    padding: 1rem;
    padding-left: 0;
}

.prize_detail ul.exchange_mode select {
    background-color: white;
}

.prize_detail ul.exchange_mode li {
    padding: 0.5rem 0;
}

.prize_detail .points_and_pay label span.type,
.prize_detail .points_only label span.type,
.prize_detail .pay_only label span.type {
    text-transform: uppercase;
    color: black;
}

.prize_detail .points_and_pay > input,
.prize_detail .points_only > input,
.prize_detail .pay_only > input {

}

.prize_detail input[type="radio"] {
    position: relative;
    transform: scale(2);
    margin-left: 0.5rem;
    opacity: 0;
}

.prize_detail .prize_description li {
    position: relative;
}

.prize_detail .check {
    display: block;
    position: absolute;
    border: 0.1rem solid #656565;
    border-radius: 100%;
    height: 1.5rem;
    width: 1.5rem;
    top: 1rem;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

input[type=radio]:checked ~ .check {
    background: var(--primary);
}

.pay_points {
    list-style: none;
    height: 5rem;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pay_points p {
    margin: 0;
    padding: 0;
    font-size: 0.8em;
}

.pay_points .cash {
    color: black;
    font-size: 1rem;
}

/* Premios en promoción */
.promoted_prizes > div {
    float: none;
    margin-bottom: 50px;
}

.promoted_prizes .exchange_modes {
    padding-bottom: 3px;
}

.promoted_prizes h2 {
    text-transform: uppercase;
    margin: 0;
    font-size: 0.98em;
    font-weight: normal;
    z-index: 2;
    color: #656565;
    text-align: left;
}


/* Premios recomendados */
.recommended_prizes > div {
    float: none;
    margin: auto;
}

.recommended_prizes h2 {
    color: var(--muted);
    text-transform: uppercase;
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 0.3rem;
    margin-bottom: 0;
    margin-left: 0;
    margin-top: 2rem;
    padding-left: 0;
    z-index: 2;
}

.recommended_prizes h2:after {
    position: absolute;
    top: 100%;
    left: 1.4em;
    border: solid transparent;
    content: " ";
    border-color: rgba(255, 255, 255, 0);
    border-top-color: var(--muted);
    border-width: 0.8em;
    z-index: 2;
}

.recommended_prizes h2 + p {
    background-color: var(--muted);
    color: white;
    text-transform: uppercase;
    margin: -0.5rem 0 0;
    padding: 0.4em 1em;
    font-size: 0.8em;
    font-weight: bold;
}

.recommended_prizes + .row {
    margin: auto;
}

.recommended_prizes + .row div {
    border-top: 0.1em solid var(--muted);
    margin-top: 2em;
    text-align: center;
}

.recommended_prizes + .row div p {
    border: 0.1em solid var(--muted);
    border-radius: 0;
    margin: auto;
    margin-top: -1.9rem;
    padding: 0.5rem;
    background-color: white;

    text-transform: uppercase;
}

.recommended_prizes a i {
    color: var(--muted);
}

/* Instrucciones rapidas */
.quick_help {
    margin: 5rem auto 0;
}

/* Logos de marcas */
#brands_slider {
    margin: auto;
}

#brands_slider img {

}

#brands_slider .carousel-control {
    background: none;
    color: #ccc;
    padding: 0 3px;
    top: 35%;

}

.brands {
    box-shadow: 0 0 2em #eeeeee;
}

.brands > div {
    float: none;
    margin: auto;
}

.brands img {
    margin: 3rem 0;
    border: none;
}

/* Mensajes al usuario */
.row.messages {
    position: fixed;
    top: 8rem;
    left: 0;
    right: 0;
    z-index: 999999;
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
    /* Esta banda fija (z-index altísimo) cubre un tramo horizontal por encima
       del contenido. Si no, su zona vacía intercepta los taps de lo que hay
       debajo (p. ej. el reCAPTCHA del login). Dejamos pasar los clicks salvo
       sobre las alertas reales. No cambia nada visualmente. */
    pointer-events: none;
}
.row.messages .alert {
    pointer-events: auto;
}

/* Migas de pan */
.breadcrumb {
    background-color: transparent;
    font-size: 0.9em;
}

.breadcrumb a {
    color: var(--primary);
    text-transform: capitalize;
    font-weight: normal;
}

.breadcrumb a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.breadcrumb .active {
    color: black;
    text-transform: capitalize;
    font-weight: normal;
}

@media (max-width: 425px) {

    .breadcrumb, .sort_options {
        margin-top: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
}

/* Listado de premios */

.prize_list_container {
    margin-top: 2rem;
}

.categories_filter,
.brands_filter {
    font-size: 0.8em;
    color: var(--muted);
}

.categories_filter h4,
.brands_filter h4 {
    color: #525252;
    font-size: 1.1em;
    margin: 1.6em 0;
}

.categories_filter a,
.brands_filter a {
    border-width: 0;
    margin: 0 0 0.6em -0.3em;
    padding: 0;
    color: inherit;
}

.categories_filter input,
.brands_filter input {
    height: 0;
    visibility: hidden;
}

.categories_filter .fa,
.brands_filter .fa {
    color: #525252;
    padding-right: 0.8em;
}

.categories_filter .badge,
.brands_filter .badge {
    background-color: transparent;
    color: #525252;
    margin: 0;
    padding: 0;
}

.prize_list_toolbar .breadcrumb {
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0 0.4rem 0 0;
}

.prize_list_toolbar .breadcrumb li {
    text-transform: capitalize;
}

.prize_list_toolbar .sort_options {

}

.prize_list_toolbar .sorting {
    float: right;
    text-transform: uppercase;
    font-size: 1.3rem;
}

.prize_list_toolbar .btn {
    border-radius: 1.5rem;
    color: #525252;
    font-size: 1.1rem;
    text-transform: none;
}

.prize_list_toolbar .btn.active,
.prize_list_toolbar .btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: none;
}

.prize_list_toolbar .display_format .btn {
    background-color: transparent;
    border-width: 0;
    box-shadow: none;
    color: #eeeeee;
    font-size: 2.5rem;
    padding: 0 0 0 0.2em;
    margin-top: -0.2em;
}

.prize_list_toolbar .display_format .btn.active {
    color: var(--muted);
    padding: 0;
}

.prize_list_toolbar {
    padding-bottom: 5px;
}

.prize_list .prize {
    margin-bottom: 20px;
}

.as_square {
    padding: 0 1rem;
}

.prize_list {
    border-left: 0.1em solid #eeeeee;
}

.prize_list > .row:last-child {
    margin-bottom: 0;
}

.prize_list .fa-shopping-cart {
    color: var(--muted);
}

.pager {
    margin: 3rem 0;
}

.pager li {
    padding-left: 0.4em;
}

.pager li a {
    border-radius: 0;
    border-color: var(--muted);
    padding: 0.1em 0.6em;
    color: var(--muted);
}

.pager .current_page a {
    color: #525252;
}

.pager .prev_page a,
.pager .next_page a {
    border: none;
}

/* Detalle del premio */
.row.prize_detail {
    margin: auto;
    position: relative;
}

.prize_detail {
    position: relative;
}

.prize_detail .prize_images {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    margin: 1rem 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.prize_detail .prize_images > li input {
    display: none;
}

.prize_detail .prize_images > li input:checked ~ label.next_image, .prize_detail .prize_images > li input:checked ~ label.prev_image {
    display: block;
}

.prize_detail .prize_images > li input:checked ~ label img.thumbnail {
    border-color: #999;
}

.prize_detail .prize_images > li input:checked ~ label ~ img.full {
    opacity: 1;
}

.prize_detail .prize_images > li label {
    border: none;
    cursor: pointer;
    float: right;
    margin: 36.5rem 1em 0;
}

.prize_detail .prize_images > li label.next_image, .prize_detail .prize_images > li label.prev_image {
    color: #525252;
    display: none;
    font-size: 2rem;
    opacity: 0.8;
    position: absolute;
    top: -45%;
    z-index: 1;
    background-color: white;
    border-radius: 1rem;
    width: 1rem;
}

.prize_detail .prize_images > li label.next_image {
    right: 0;
}

.prize_detail .prize_images > li label.prev_image {
    left: 0;
}

.prize_detail .prize_images > li label img {
    border-radius: 0;
}

.prize_detail .prize_images > li label ~ img.full {
    left: 50%;
    margin-left: -17.5rem;
    max-height: 35rem;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 0.5s ease;
}

@media (max-width: 320px) {

    .prize_detail .prize_images > li label {
        margin-top: 25rem;
    }
}

@media (max-width: 425px) {

    .prize_detail .prize_images > li label ~ img.full {
        margin-left: -50%;
    }
}

.prize_detail .prize_images img.full {
    margin-left: auto;
    margin-right: auto;
}

.promoted_prizes {
    margin-top: 3em;
}

.prize_detail h1 {
    color: #59595b;
    font-size: 2rem;
    letter-spacing: 0.1rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.prize_detail .exchange_mode label[for*="exchange_mode"] span.discount {
    color: var(--primary);

    padding: 0 0.4em;
    text-align: center;
    font-weight: bold;
}

.prize_detail .row.bigger {
    font-size: 1.7rem;
}

.prize_detail .exchange_mode input {
    margin-right: 0;
}

.prize_detail label[for*="exchange_mode"] {
    font-size: 1.5rem;
    font-weight: normal;
    min-width: 90%;
}

.prize_detail .exchange_mode .price.discounted {
    color: gray;
    text-decoration: line-through;
}

.prize_detail .exchange_mode .small {
    font-size: 1.4rem;
    margin: 0 2rem 0;
}

.prize_detail .btn-primary {
    float: left;
    color: white;
    border: none;
    text-transform: uppercase;
    background-color: var(--primary);
    text-align: center;
    padding: 0.5rem 2.7rem;
    border-radius: 1.5rem;
    margin: auto 1rem 1rem auto;
}

.prize_detail .btn-primary:hover,
.prize_detail .btn-primary:active {
    background-color: var(--primary);
    box-shadow: none;
    border: none;
}

.prize_detail .btn-primary .cart-btn {
    height: 1.6rem;
    margin-top: -0.4rem;
    margin-left: -0.2rem;
}

.prize_detail .description h5 {
    margin-top: 2rem;
    text-transform: uppercase;
}

.prize_detail .prize_money {
    position: relative;
}

.prize_detail .prize_money hr {
    margin-top: 1rem;
    border-width: 0.15rem;
}

.prize_detail .prize_money .undiscounted_money {
    font-size: 2rem;
}

.prize_detail .prize_money .money {
    color: #6c6d71;
    display: block;
    font-size: 2.5rem;
}

.prize_detail .prize_money .money .discount {
    font-size: 2rem;
}

.prize_detail hr {
    border-color: var(--muted);
    margin: 0;
}

.prize_detail ~ .promoted_prizes h2 {
    position: relative;
    background-color: var(--muted);
    margin-top: 6em;
}

.prize_detail ~ .promoted_prizes h2:before {
    content: " ";
    border-top: 0.1em solid var(--muted);
    position: absolute;
    top: -3em;
    left: 0;

}

.prize_detail ~ .promoted_prizes h2:after {
    position: absolute;
    top: 100%;
    left: 1em;
    border: solid transparent;
    content: " ";
    border-color: rgba(255, 255, 255, 0);
    border-top-color: var(--muted);
    border-width: 1em;
    z-index: 1;
}

.prize_detail ~ .promoted_prizes .points_only,
.prize_detail ~ .promoted_prizes .pay_points {
    background-color: white;
    color: #525252;
}

.prize_detail ~ .promoted_prizes .pay_points .cash {
    color: #525252;
}

.tos {
    font-size: 1.1rem;
    margin: auto;
    text-align: justify;
}

/* Carro de compras */

.cart_detail .breadcrumb {
    margin-left: -15px;
}

.cart_detail h1 {
    color: var(--muted);
    font-size: 2.2rem;
    font-weight: bold;
    padding-left: 0;
    margin-bottom: 2.6rem;
    margin-top: 2.4rem;
}

.cart_header > div {
    background-color: #E5E5E5;
    color: black;
    height: 4em;
    font-weight: bold;
    font-size: 0.9em;
}

.cart_header > div > p {
    margin-top: 2em;
}

.cart_header div div div p {
    margin-top: 0.4em;
    margin-bottom: 0;
}

.cart_item {
    margin-top: 0.6em;
}

.cart_row [type="submit"] {
    border: none;
    box-shadow: none;
    padding-top: 0;
}

.cart_row div.radio {
    margin-top: 0;
}

.cart_row div.buttons {
    padding-top: 0.2rem;

}

.cart_total {
    margin-top: 1em;
    padding-top: 1em;
}

.cart_total > div {
    border-top: 0.1em solid #eeeeee;
    border-bottom: 0.1em solid #eeeeee;
    padding-top: 2em;
    height: 6em;
}

.cart_total div.delivery_cost {

}

.cart_total div.points,
.cart_total div.money {
    font-weight: bold;
}

.next_actions {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Datos de envio */

.delivery_info h2 {
    margin-bottom: 2rem;
}

.delivery_info .form-group {
    width: 100%;
    margin: 0 0 2.5rem;
    padding: 0;
    font-size: 0.8em;
}

.delivery_info .form-group.with_help {
    margin-bottom: 0.4rem;
}

.delivery_info .form-group label {
    vertical-align: top;
    margin-top: 0;
    text-transform: uppercase;
}

.delivery_info .form-group input,
.delivery_info .form-group select,
.delivery_info .form-group textarea {
    width: 100%;
}

.delivery_info .form-group select {
    padding: 0 1rem;
}

.delivery_info .form-group textarea {
    height: 7rem;
}

.delivery_info .form-group p {
    margin: 0;
}

.delivery_info .form-group p small {
    font-size: 1.2rem;
    text-align: center;
}

.delivery_info input[name="phone_code"],
.delivery_info input[name="mobile_code"] {

}

.delivery_info input[name="phone_number"],
.delivery_info input[name="mobile_number"] {

}

.delivery_info .form-group .row {
    height: 2.4rem;
    margin-right: 0;

}

.delivery_info .form-group .row > div {
    padding-right: 0;
}

.delivery_info .form-group .row > div > input {

}

.delivery_info .form-group .row > div > input ~ p {
}

.cart_summary_container {
    margin-left: 2.2rem;
    margin-top: 2.4rem;
    padding: 0;

}

.cart_summary {
    background-color: #eeeeee;
    border: 0.1em solid #eeeeee;
    padding-top: 1.2em;
}

.cart_summary div {
    background-color: white;
    border: 0.1em solid #eeeeee;
    padding: 0;
    margin-bottom: 0;
}

.cart_summary h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin: 0 0 1em 0;
}

.cart_summary h4 {
    font-size: 1em;
    margin: 1em 0;
    padding-top: 1em;
    text-align: center;

    border-top: 0.1em solid #eeeeee;
}

.cart_summary h4 ~ p {
    border: none;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0em;
    padding: 0 0.6rem;
    text-align: left;
    text-transform: uppercase;
}

.cart_summary .panel {
    border: none;
}

.cart_summary a {
    border: none;
    height: 15rem;
}

/* Confirmación del canje */
div.exchange_preview {
}

.exchange_preview h1 {
    margin-bottom: 2.4rem;
}

.exchange_preview h2 {
    margin-bottom: 4rem;
}

.exchange_preview .exchange_data,
.exchange_preview .exchange_title {
    margin-left: 0;
}

.exchange_preview .exchange_data > div {
    padding: 0;
}

.exchange_preview .exchange_data tr {
    padding: 1.8rem 0 1.4rem 2rem;
}

.exchange_preview .exchange_data th {
    padding: 1.8rem 0 1.4rem 2rem;
}

.exchange_preview .exchange_data td {
    padding: 1.8rem 0 1.4rem 2rem;
    vertical-align: middle;
}

.exchange_preview .exchange_data .total th,
.exchange_preview .exchange_data .total td {
    font-size: 1.6rem;
    font-weight: bold;
    padding-top: 2.4rem;
}

.exchange_preview .exchange_data .dl-horizontal dt {
    float: left;
    width: 160px;
    clear: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exchange_preview table tr:first-child {
    background-color: #eeeeee;
    border: none;
    font-size: 0.9em;
}

.exchange_preview table tr:first-child th {
    border: none;
}

.exchange_preview dt {
    color: var(--muted);
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
    text-align: left;

}

.exchange_preview dd {
    margin-left: 15rem;
}

/* Selección de medio de pago */
.payment_selection {
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.payment_selection h2 {
    margin-bottom: 2rem;
}

.payment-methods-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.payment-method-form {
    margin-bottom: 0;
}

.payment_selection [type="submit"] {
    text-transform: uppercase;
    border-radius: 1.5rem;
    padding: 0.8em 1.5em;
}

.payment-method-btn {
    min-width: 180px;
    height: 100%;
}

.payment_selection .payment_info {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.payment-summary-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--loy-radius-lg);
    box-shadow: var(--loy-shadow-sm);
    padding: 1.25rem 2rem;
}

.payment-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}

.payment-summary-label {
    font-size: .8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.payment-summary-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--loy-text-dark);
}

.payment-summary-sep {
    width: 1px;
    align-self: stretch;
    background: var(--border);
}

@media (max-width: 575px) {
    .payment-summary-card {
        flex-direction: column;
        gap: .75rem;
        width: 100%;
    }
    .payment-summary-sep {
        width: 100%;
        height: 1px;
    }
    .payment-method-btn {
        width: 100%;
    }
}

/* Pago con tarjeta (tokenizacion Decidir) - ver payment_tokenize.html.
   Scopeado a .payment_tokenize a proposito: es una pantalla de pago, no conviene que
   herede cambios pensados para el resto del sitio ni que se los imponga. */
.payment_tokenize {
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.payment_tokenize h2 {
    margin-bottom: 1.5rem;
}

.payment_tokenize #card_form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--loy-radius-lg);
    box-shadow: var(--loy-shadow-sm);
    padding: 1.5rem;
}

.payment_tokenize label {
    font-size: .8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .35rem;
}

.payment_tokenize .form-control {
    padding: .7rem .9rem;
}

.payment_tokenize #submit_button {
    width: 100%;
    margin-top: .5rem;
    text-transform: uppercase;
    border-radius: 1.5rem;
    padding: .8em 1.5em;
}

/* El error de tokenizacion es lo unico que le explica al socio por que no pudo pagar -
   sin caja ni color se perdia como un renglon mas arriba del form. `word-break` porque
   el detalle que devuelve Decidir puede ser un identificador largo y sin espacios, que
   de otro modo desborda la caja a lo ancho en un telefono. */
.payment_tokenize #tokenize_error {
    background: #fdecea;
    border: 1px solid #f5c2c0;
    border-radius: var(--loy-radius-lg);
    color: #8a1c13;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    font-size: .95rem;
    text-align: left;
    word-break: break-word;
}

@media (max-width: 575px) {
    .payment_tokenize {
        padding-top: 1rem;
    }
    .payment_tokenize #card_form {
        padding: 1rem;
    }
    /* 16px exactos, no menos: abajo de ese tamano iOS hace zoom automatico al enfocar un
       input y deja la pantalla de pago corrida, con el boton fuera de vista. */
    .payment_tokenize .form-control {
        font-size: 16px;
        padding: .8rem .9rem;
    }
    .payment_tokenize #submit_button {
        padding: 1em 1.5em;
    }
}

/* Canje completo */

.exchange_completed {
    margin-bottom: 2rem;
}

.exchange_completed .exchange_data {
    margin-top: 2.2rem;
    margin-bottom: 2rem;
}

.exchange_completed small {
    font-size: 1.4rem;
}

.exchange_completed .logo_spsdecidir {
    margin-bottom: 20px;
    margin-top: 10px;
}

/* Ayuda */

div .text-box {
    margin-top: 1.5rem;
    font-size: 13px;
}

.title-box h5 {
    font-size: 18px;
    font-weight: bold;
}

button .btn-block {
    font-size: 16px;
    word-break: break-all;
}

div .jumbotron p {
    font-size: 13px;
}

.btn-block .text-box {
    margin-bottom: 100px;
}

header a.help-btn {
    margin-top: 5px;
    margin-left: 50px;
    font-size: 1.5rem;
    color: var(--primary);
}

.help-block button {
    background: var(--primary);
    color: #FFFFFF;
}

.btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}

div .orange_bubble {
    background-color: #dddddd;
    color: black;
    word-break: break-all;
    margin-top: 1.5rem;
}

/* Preguntas frecuentes */
.faq h1 {
    color: var(--primary);
    font-size: 1.8em;
    font-weight: bold;
    padding-left: 0;
    margin-bottom: 2em;
}

.faq h4 a {
    text-decoration: none;
}

.faq .panel-collapse.in ~ .panel-heading {
    background-color: #525252;
}

/* Mis canjes */

table tr:first-child {
    background-color: #eeeeee;
}

/* Pagina del usuario */
div.user_profile {
    margin-bottom: 5rem;
}

.user_profile dt {
    text-align: left;
}

/* Pagina de movimientos de puntos */

.pointsmovement_list h1 {
    margin-left: 0;
}

.pointsmovement_list .col-sm-12 {
    padding: 0;
}

.pointsmovement_list table tr th {
    padding: 1.4rem 2rem;
}

.pointsmovement_list table tr:first-child {
    background-color: #eeeeee;
}

.pointsmovement_list table tr td {
    padding: 0.4rem 2rem;
}

/* Descripcion del programa */
div.about_program {
    color: var(--primary-light);
}

.about_program .row.banner {
    margin: auto;
}

.about_program .banner + .row,
.about_program .icons {
    background-color: white;
    box-shadow: 0.5em 0 1em #eeeeee;
    text-align: center;
    padding: 1.4em;
    margin-top: 1em;
    font-weight: bold;
}

.about_program .icons h2 {
    color: inherit;
    font-size: 3.4rem;
    margin-bottom: 3rem;
}

.about_program .icons > div {
    float: none;
    margin: auto;
}

.about_program .icons i img {
    height: 4em;
}

.about_program .icons .millas {
    letter-spacing: -0.05rem;
}

.about_program .exchange_options {
    font-size: 1.2em;
    margin: 2em auto 4em;
    text-align: center;
}

.about_program .exchange_options div {
    padding: 0;
    font-weight: bold;
    border: 0.2em solid var(--primary-light);
}

.about_program .exchange_options div ul {
    list-style: none;
    margin: 0;
    padding: 0;

}

.about_program .exchange_options div li {
    padding: 1em 0 1em 0;
}

.about_program .exchange_options div li:first-child {
    border-bottom: 0.1em solid var(--primary-light);
}

.about_program .exchange_options div:first-child {
    background-color: var(--primary-light);
    color: white;
    padding: 1.65em;
}

.about_program .exchange_options div:first-child p {
    margin-top: 1.4rem;
    height: 3.5rem;
}

.about_program .row.instructions {
    margin: auto;
}

.about_program .instructions {
    text-align: center;
}

.about_program .instructions i {
    color: var(--muted);
}

.about_program .instructions p {
    color: #525252;
    font-weight: normal;
}

.about_program .instructions img {
    margin-bottom: 1em;
}

.about_program .instructions strong {
    color: var(--muted);
    font-size: 1.4em;
}

.about_program .instructions .btn {
    border-radius: 1.5rem;
    text-transform: uppercase;
    font-size: 0.8em;
    color: var(--muted);
    border-color: var(--muted);
    padding: 0.6em 2em 0.6em 2em;
}

.about_program .conditions {
    margin-top: 2em;
}

.about_program .conditions i {
    height: 2em;
}

.about_program .conditions div:first-child i {
    font-weight: bold;
}

.about_program .conditions .fa-usd ~ i {
    font-size: 1.4em;
}

.about_program .conditions .fa-align-right {
    font-size: 0.6em;
    margin-right: 0.2em;
}

.about_program .conditions p {
    color: #525252;
    font-weight: normal;
}

/* Terminos y condiciones */
.tycs .row {
    max-width: 110rem;
    margin: auto;
}

.tycs .row:last-child {
    margin-bottom: 5rem;
}

.tycs h1 {
    color: var(--muted);
    font-size: 1.8em;
    font-weight: bold;
    padding-left: 0;
    margin-bottom: 2em;
}

.tycs p a {
    color: var(--muted) !important;
}

.payment_quantity_exchange_detail {
    font-weight: normal;
    position: absolute;
}

.banner-text .banner-wrap-text {
    line-height: 0.9;
}

.banner-text .banner-title {
    margin-bottom: 0;
    font-size: 4em;
    color: var(--primary);
    padding: 0;
}

.banner-text .bold {
    font-weight: bold;
}

.banner-text .banner-slogan {
    font-size: 1.2em;
    color: #58585B;
}

@media (max-width: 425px) {

    .banner-text .banner-title {
        font-size: 2.7em;
    }

    .banner-text .banner-slogan {
        font-size: 1em;
    }

    .splited_banners div:first-child {
        margin-bottom: 0.5rem;
    }
}

/* LEGACY: estilos Owl Carousel — reemplazados por .loy-swiper / Swiper.js
   Pueden eliminarse cuando se finalice el diseño del cliente. */
.owl-row,
.owl-carousel,
.owl-item,
.owl-prev,
.owl-next,
.owl-dots,
.owl-label { display: none !important; }

.user-row {
    background-color: transparent !important;
}

.main-structure {
    margin-right: auto;
    margin-left: auto;
    max-width: 1190px;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none;
}

header .responses {
    font-size: 1rem;
}

.dummy_spacer {
    margin-right: auto;
    margin-left: auto;
    max-width: 960px;
    z-index: -99;
}

.dummy_spacer * {
    font-size: 1rem;
    color: transparent;
}

header .info-home-button {
    min-width: 100%;
    text-align: right;
    color: white;
    text-transform: uppercase;
    font-size: 1.1rem;
    border-radius: 0;
    border: none;
    display: inline;
    padding-top: 0;
    padding-bottom: 0;
}

header .border_right {
    border-right: 1px solid white;
}

.points_and_pay_sign,
.pay_only_sign {
    position: absolute;
    width: 5em;
    text-align: center;
    border: 1px solid var(--muted);
    color: var(--muted);
    background-color: white;
    font-size: 0.8em;
    padding: 0.2em;
    font-weight: bold;
    margin-top: -1px;
    margin-left: -1px;
}

.points_and_pay_sign_horizontal,
.pay_only_sign_horizontal {
    position: absolute;

    text-align: center;
    border: 1px solid var(--muted);
    color: var(--muted);
    background-color: white;
    font-size: 0.8em;
    padding: 0.2em;
    font-weight: bold;
    margin-left: 11em;
    margin-top: -5px;
}

.featured-title {
    margin-bottom: 10px;
}

.category-image img {
    margin-bottom: 10px;
}

.category-image {
    position: relative;
}

.category-over-picture {
    color: white;
    position: absolute;
    font-size: 4rem;
    font-weight: bold;
    margin-top: -120px;
    margin-left: 30px;
    vertical-align: middle;
    line-height: 110px;
}

.helper-label {
    text-transform: uppercase;
    color: #6c6d71;
    font-size: 1.5rem;
}

.sliders-container {
    margin-top: 10px;
}

.slider-container {
    height: 50px;
    width: 100%;
}

input[type='range'] {
    -webkit-appearance: none;
    width: 100%;
    margin-top: 10px;
    height: 5px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: var(--muted);
    height: 15px;
    width: 15px;
    border-radius: 50%
}

input[type='range']::-moz-range-thumb {
    cursor: pointer;
    background: var(--muted);
    height: 15px;
    width: 15px;
    border-radius: 50%
}

.filter-button {
    color: white;
    background-color: var(--muted);
    border-color: var(--muted);
    border-radius: 0;
    font-size: 1.6rem;
    padding: 0.4rem 1.4em;
    text-transform: uppercase;
}

.filter-select {
    border-radius: 0;
    border: 0.1em solid var(--muted);
    height: 3rem;
    margin-right: 0;
    width: 100%;
}

.home hr.bottom-hr {
    margin: 0;
}

.info-home-button {
    min-width: 100%;
    text-align: center;
    color: #808183;
    text-transform: uppercase;
    font-size: 16px;
    padding: 15px 10px;
    border-radius: 1.5rem;
    border: none;
    display: inline-block;
}

.info-home-button img {
    height: 5rem;
}

.home > div.row {
    margin-bottom: 30px;
}

@media (max-width: 425px) {
    .home > div.row {
        margin-bottom: 15px;
    }
}

.home-description-container p {
    margin-bottom: 15px;
}

.filter-title-label {
    color: #656565;
    font-size: 16px !important;
    text-align: left;
}

.search-filter-line {

    background: var(--muted);
    height: 6px;
    margin-bottom: 0;
    margin-left: 0;
}

.promoted-prizes-line {
    background: var(--muted);
    height: 1px;
    margin-bottom: 15px;
    margin-left: 0;
    margin-top: 6px;
}

.logout_dropdown {
    display: inline-block;
}

.cart_info .btn {
    margin: 0;
    padding: 0;
}

nav .cart_info .cart-btn {
    height: 2rem;
    vertical-align: middle;
}

nav .cart_info {
    display: inline-block;
    vertical-align: top;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

nav .btn {
    box-shadow: none;
}

@media (min-width: 1024px) {

    .prize_detail .prize_description {
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .cart-table, .exchange_data {
        margin: 0;
    }
}

/*Filtros de premios*/

.prizes_filters {
    background-color: #f6f6f6;
    padding: 2rem 1rem 0;
    color: var(--text);
}

.prizes_filters h3 {
    color: white;
    font-size: 1.5rem;
    line-height: 1.5rem;
    padding: 0.5rem 1rem;
    margin: 1rem -1rem;
}

.prizes_filters h3.categories_title {
    margin-top: 0;
    border-top: none;
}

.prizes_filters h4 {
    font-size: 1.5rem;
}

.prizes_filters .filter_input {
    text-transform: lowercase;
}

.prizes_filters input {
    outline: none;
    border: none;
    width: 100%;
    color: black;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    background-color: #d6d6d6;
}

/* Chrome, Safari, Edge, Opera */
.prizes_filters input::-webkit-outer-spin-button,
.prizes_filters input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.prizes_filters input[type=number] {
    -moz-appearance: textfield;
}


/*.prizes_filters input:active,*/
/*.prizes_filters input:focus-visible {*/
/*    border-radius: 2rem;*/
/*}*/

.prizes_filters ul {
    list-style: none;
    padding: 0;
}

.prizes_filters ul li {
    padding: 0.25rem;
    margin: 0 -1rem;
}

.prizes_filters ul li a {
    color: var(--text);
    margin: 0 1rem;
    display: block;
}

.prizes_filters ul li a:hover {
    color: var(--text);
    font-weight: bold;
}

.prizes_filters ul li.active,
.prizes_filters ul li.active a {
    font-weight: bold;
}

.prizes_filters button {
    text-transform: uppercase;
    background-color: var(--primary);
    text-align: center;
    font-size: 1rem;
    padding: 0.5rem 2.7rem;
    border-radius: 1.5rem;
    margin: auto 1rem 1rem auto;
    width: 50%;
}

.prizes_filters .filter_input label {
    font-weight: normal;
}

.prizes_filters .filters_body .col-xs-6:first-child {
    padding-right: 0.1rem;
}

.prizes_filters .filters_body .col-xs-6:last-child {
    padding-left: 0.1rem;
}

.prizes_filters .exchange_mode input {
    width: unset;
}

.prizes_filters .exchange_mode span {
    display: flex;
    font-weight: bold;
}

.prizes_filters .exchange_mode:last-child span {
    margin-top: 1rem;
    margin-right: 1.2rem;
}

.background_selector {
    position: relative;
}

.background_selector:before {
    content: "";
    position: absolute;
    background-color: var(--accent);
    top: 0;
    bottom: 0;
    left: -10px;
    right: 0;
    border-radius: 0 5rem 5rem 0;
    z-index: 0;
}

.background_selector * {
    position: relative;
}

@media (max-width: 1024px) {

    .prize_detail .exchange_mode li.points_and_pay span.installments_selector {
        display: block;
    }

}

header .user_info_row {
    text-align: end;
}

header .row .user {
    display: inline-block;
    text-align: right;
    overflow: hidden;
}

header .row .user p {
    margin-right: 1.7rem;
}

header .logout_dropdown .dropdown-menu {
    min-width: 100px;
    background-color: transparent;
    border: none;
    box-shadow: none;
    left: -38px;
    right: auto;
    margin-top: -5px;
}

header .buttons_row .col-xs-6:first-child {
    padding-left: 0;
    margin-left: 1.5rem;
}

header .buttons_row .col-xs-6:last-child {
    padding-left: 0;
    margin-left: -1.5rem;
}

@media (max-width: 425px) {

    .main_slider .carousel-indicators {
        margin-bottom: -1rem;
        color: black;
    }

    .home {
        margin-top: 0;
    }

    header nav.navbar {
        margin-bottom: 0;
    }

    nav .search_box {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    header .logos img {
        width: 10rem;
    }

    header .owl_logo_col img {
        position: absolute;
        width: 6%;
        margin-top: -3.5rem;
        right: 1.2rem;
    }

    nav .search_box input + span {
        width: auto;
    }

    header nav .search_box input,
    header nav .search_box input + span button {
        height: 3rem;
    }

    .home .main_slider .col-xs-12 {
        padding: 0;
    }

    header a.help-btn {
        font-size: 1.1rem;
        margin-top: -25px;
        margin-left: 120px;
    }

    nav .owl_logo_col {
        margin-top: -10px;
    }
}

@media (max-width: 375px) {

    header .owl_logo_col img {
        margin-top: -2.5rem;
        right: 0.3rem;
    }

    header a.help-btn {
        margin-left: 100px;
    }

}

footer .ctf {
    font-size: 8rem;
    text-align: left;
    margin-left: 0.4rem;
}

.help_instructions {
    margin-left: auto;
    margin-right: auto;
}

.image-subscribe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Chrome, Safari, Edge, Opera */
.exchange_return_form input::-webkit-outer-spin-button,
.exchange_return_form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;

}

/* Firefox */
.exchange_return_form input[type=number] {
    -moz-appearance: textfield;
}

.return_requested .return_icon {
    color: var(--primary);
    font-size: 15rem;
}

.btn {
    outline: none;
    float: left;
    color: var(--primary);
    border: none;
    box-shadow: var(--primary) 0 0 1px 1px inset;
    text-transform: uppercase;
    background-color: white;
    text-align: center;
    border-radius: 1.5rem;
    padding: 0.2em 1em 0.2em 1em;
}

.btn:hover,
.btn:active {
    background-color: #6d6e72;
}

.btn-primary {
    outline: none;
    float: left;
    color: white;
    border: none;
    text-transform: uppercase;
    background-color: var(--primary);
    text-align: center;
    border-radius: 1.5rem;
}

.btn-primary:hover,
.btn-primary:active {
    background-color: #151c21;
    box-shadow: none;
    border: none;
}

button:focus,
button:focus-visible,
button:active,
.btn:focus,
.btn:focus-visible,
.btn:active {
    outline: none !important;
}

/*Fixes banners margin when thre is no image loaded*/
.row.main_slider,
.row.splited_banners {
    margin-bottom: 0px !important;
}

.row.main_slider .carousel-item,
.row.splited_banners .carousel-item {
    margin-bottom: 30px !important;
}

/* ══════════════════════════════════════════════════════════════════
 * SWIPER — categorías (reemplaza Owl Carousel)
 * ══════════════════════════════════════════════════════════════════ */

.container-fluid:not(.home) .loy-categories-row {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.loy-categories-row {
    max-width: 97%;
    margin-left: auto;
    margin-right: auto;
}

.loy-swiper {
    padding-bottom: 2rem; /* espacio para pagination dots */
}

.loy-swiper .swiper-slide {
    padding-top: 5px;
    text-align: center;
}

.loy-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.loy-category-item img {
    height: 40px;
    width: auto;
    margin: 0 auto;
    transition: transform 300ms;
}

.loy-category-item:hover img {
    transform: translateY(-3px);
}

.loy-category-label {
    display: block;
    text-align: center;
    color: grey;
    font-size: 12px;
    line-height: 1.5rem;
    margin-top: 0.5rem;
}

/* Colores de navegación de Swiper usando variables de tema */
.loy-swiper .swiper-button-next,
.loy-swiper .swiper-button-prev {
    color: var(--loy-primary);
}
.loy-swiper .swiper-pagination-bullet-active {
    background: var(--loy-primary);
}

/* ══════════════════════════════════════════════════════════════════
 * NAVBAR Bootstrap 5 — ajustes para main-structure
 * ══════════════════════════════════════════════════════════════════ */

.navbar.main-structure {
    border-bottom: 1px solid var(--loy-navbar-border);
    box-shadow: var(--loy-shadow-sm);
    min-height: var(--loy-navbar-height);
}

/* navbar usa position:sticky, no fixed-top — sin padding-top en body */

/* ══════════════════════════════════════════════════════════════════
 * BOOTSTRAP 5 — fixes menores de compatibilidad
 * ══════════════════════════════════════════════════════════════════ */

/* advanced_search oculto por defecto */
.row.advanced_search { display: none; }

/* alert-dismissible — compatibilidad con btn-close de BS5 */
.alert-dismissible .btn-close { top: 0.5rem; right: 0.75rem; }

/* navbar-btn ya no existe en BS5 — noop */
.navbar-btn { display: inline-block; }

/* ══════════════════════════════════════════════════════════════════
 * LOYALTY DESIGN SYSTEM — replicado exactamente del mockup _base.css
 * ══════════════════════════════════════════════════════════════════ */

/* ---- Home carousel refinado ---- */
.home-carousel-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  margin-top: 20px;
  margin-bottom: 8px;
  height: 300px;
}
.home-carousel-wrap .row.main_slider { margin: 0 !important; --bs-gutter-x: 0; background: transparent; }
.home-carousel-wrap .row.main_slider > .col-12 { padding: 0 !important; }
.home-carousel-wrap .carousel { line-height: 0; }
.home-carousel-wrap .carousel-inner { line-height: 0; }
.home-carousel-wrap .carousel-item { margin-bottom: 0 !important; line-height: 0; }
.home-carousel-wrap .carousel-item a,
.home-carousel-wrap .carousel-item picture { display: block; line-height: 0; font-size: 0; }
.home-carousel-wrap .carousel-item img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
}
.home-carousel-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  padding: 20px 24px 14px;
  display: flex;
  gap: 24px;
}
.home-carousel-bar-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.home-carousel-bar-label {
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.home-carousel-bar-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.home-carousel-bar-sep {
  width: 1px;
  background: rgba(255,255,255,.35);
  align-self: stretch;
  margin: 0 4px;
}

/* ---- Navbar ---- */
.navbar-loyalty {
  background: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  border-bottom: 1px solid var(--border);
}
.brand-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.5px;
}
.brand-logo span { color: var(--primary-dark); }
.points-pill {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
  transition: background .2s;
}
.points-pill:hover { background: var(--primary-dark); color: #fff; }
.points-pill small { font-weight: 400; opacity: .75; font-size: .72rem; display: block; line-height: 1; }
.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(132,189,0,.08);
  color: var(--primary) !important;
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
  position: relative;
  text-decoration: none !important;
}
.nav-icon-btn:hover { background: rgba(132,189,0,.18); }
.nav-cart-btn {
  background: transparent !important;
  color: #1a1a2e !important;
}
.nav-cart-btn:hover {
  background: transparent !important;
  color: var(--primary) !important;
}
.badge-dot {
  position: absolute; top: 4px; right: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444;
  border: 2px solid #fff;
}
.badge-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; border-radius: 10px;
  background: #ef4444; color: #fff;
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* ---- Buscador navbar ---- */
.nav-search-form {
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  margin-right: auto;
}
.nav-search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(132,189,0,.15);
}
.nav-search-input {
  border: none;
  outline: none;
  padding: 5px 12px;
  font-size: .88rem;
  color: var(--loy-text-dark);
  background: transparent;
  width: 300px;
}
.nav-search-input::placeholder { color: var(--muted); }
.nav-search-btn {
  background: var(--primary);
  border: none;
  border-radius: 0 6px 6px 0;
  color: #fff;
  padding: 0 14px;
  align-self: stretch;
  cursor: pointer;
  transition: background .2s;
  display: flex; align-items: center;
}
.nav-search-btn:hover { background: var(--primary-dark); }
.btn-login-nav {
  background: var(--primary); color: #fff !important;
  border-radius: 8px; padding: 7px 16px;
  font-size: .85rem; font-weight: 700;
  transition: background .2s;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none !important; white-space: nowrap; border: none;
}
.btn-login-nav:hover { background: var(--primary-dark); }

/* ---- Dropdown Premios ---- */
.nav-premios-btn {
  line-height: 1.5;
  vertical-align: baseline;
  text-transform: none;
  color: #1a1a2e !important;
  font-size: .85rem;
}
.nav-premios-btn:hover,
.nav-premios-btn:focus,
.nav-premios-btn.show {
  color: var(--primary) !important;
  background: rgba(132,189,0,.12) !important;
  font-weight: 600;
}
.nav-premios-active {
  color: var(--primary) !important;
  background: rgba(132,189,0,.12) !important;
  font-weight: 600;
}
.nav-premios-btn:focus { box-shadow: none; }
.nav-prizes-dropdown {
  min-width: 210px;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
  border: 1px solid var(--border) !important;
}
.nav-prizes-item {
  color: var(--loy-text-dark);
  font-size: .9rem;
  font-weight: 500;
  border-radius: 6px;
  margin: 0 6px;
  padding-left: 12px !important;
}
.nav-prizes-item i { color: #1a1a2e; }
.nav-prizes-item:hover { background: rgba(132,189,0,.1); color: var(--primary); }
.nav-prizes-item:hover i { color: var(--primary-dark); }
.nav-prizes-all { color: var(--primary) !important; font-weight: 700; }
.nav-prizes-all i { color: var(--primary) !important; }

/* ---- Category chips ---- */
.category-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
/* El scroll horizontal vive en el carril, NO en la tira: si scrollea la tira
   entera, el .container de adentro se estira con el contenido y las fichas se
   escapan del ancho de la página (y la etiqueta "CATEGORÍAS:" se desplaza
   junto con ellas). Acotado al carril, todo queda dentro del container. */
.cat-strip-scroll {
  flex: 1 1 auto;
  min-width: 0;            /* sin esto un flex item no achica y desborda igual */
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-strip-scroll::-webkit-scrollbar { display: none; }

/* Flechas para desplazar el carril cuando las categorías no entran.
   El script de category_strip.html les pone/saca `is-hidden` según haya
   desborde y hacia qué lado quede contenido. */
.cat-nav {
  flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--border); background: #fff;
  color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; padding: 0; line-height: 1;
  transition: color .15s, border-color .15s, background-color .15s;
  float: none; text-transform: none;   /* la regla legacy .btn no aplica acá, pero por las dudas */
}
.cat-nav:hover {
  color: var(--primary); border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.cat-nav.is-hidden { display: none; }
.cat-strip-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  padding-right: 4px;
  flex-shrink: 0;
}
.cat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--loy-text-dark);
  font-size: .83rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none !important;
  margin: 0 2px;
}
.cat-chip-icon { color: #1a1a2e; transition: color .2s; }
.cat-chip:hover .cat-chip-icon,
.cat-chip.active .cat-chip-icon,
.cat-chip-todos .cat-chip-icon { color: var(--primary); }
.cat-chip:hover, .cat-chip.active, .cat-chip-todos {
  border-color: var(--primary);
  background: rgba(132,189,0,.08);
  color: var(--primary) !important;
}
.cat-chip i { font-size: .9rem; }

/* ---- Prize cards ---- */
.prize-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  cursor: pointer;
  height: 100%;
  display: flex; flex-direction: column;
}
.prize-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.prize-card .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.prize-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.prize-card:hover .img-wrap img { transform: scale(1.06); }
.prize-card .card-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: var(--primary);
  border-radius: 6px; padding: 2px 8px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}
.prize-card .card-body-custom {
  padding: 14px 16px 16px;
  flex: 1; display: flex; flex-direction: column;
}
.prize-card .card-category {
  font-size: .72rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: .5px;
}
.prize-card .card-title {
  font-size: .95rem; font-weight: 600; margin: 4px 0 8px;
  line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.prize-card .points-block { margin-top: auto; }
.points-amount {
  font-size: 1.3rem; font-weight: 800;
  color: var(--primary);
}
.points-amount span { font-size: .75rem; font-weight: 500; color: var(--muted); }
.btn-exchange {
  background: var(--primary); color: #fff !important;
  border: none; border-radius: 8px;
  padding: 8px 18px; font-size: .85rem; font-weight: 600;
  transition: background .2s; cursor: pointer;
  text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn-exchange:hover { background: var(--primary-light); color: #fff !important; }
.btn-accent {
  background: var(--accent); color: var(--primary) !important;
  border: none; border-radius: 8px;
  padding: 10px 24px; font-size: .9rem; font-weight: 700;
  transition: all .2s; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none !important; width: 100%;
}
.btn-accent:hover { background: var(--accent-dark); }

/* ---- Hero ---- */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--primary-dark) 100%);
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px;
  background: rgba(230,168,23,.12);
  border-radius: 50%;
}
.hero-section .hero-badge {
  background: rgba(255,255,255,.15);
  border-radius: 20px; padding: 4px 14px;
  font-size: .8rem; font-weight: 600; display: inline-block; margin-bottom: 14px;
}
.hero-section h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; }
.hero-section p { opacity: .85; font-size: 1rem; }
.points-summary-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  padding: 20px 24px;
}
.points-summary-card .big-number {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--accent);
}

/* ---- Sidebar filters ---- */
.filter-panel {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
}
.filter-panel h6 {
  font-size: .78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px;
}
.filter-check .form-check-label { font-size: .88rem; color: var(--text); }
.filter-check .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.range-label { font-size: .82rem; color: var(--muted); }

/* ---- Sections ---- */
.section-header h2 { font-size: 1.4rem; font-weight: 700; }
.section-header a { color: var(--accent); font-size: .85rem; font-weight: 600; text-decoration: none; }
.section-header a:hover { color: var(--accent-dark); }
.section-accent-line {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: .95rem;
  color: var(--muted);
  margin: 0;
}
.btn-ver-todos {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px;
  border-radius: 6px;
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary) !important;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s, color .2s;
}
.btn-ver-todos:hover {
  background: var(--primary);
  color: #fff !important;
}

/* ---- Cómo funciona ---- */
.como-funciona-section {
  background: #f3f9e6;
  padding: 64px 0 72px;
}
.como-funciona-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-top: 4px;
  margin-bottom: 6px;
}
.como-funciona-connector {
  position: absolute;
  top: 27px;
  left: calc(16.66% + 28px);
  width: calc(66.66% - 56px);
  right: auto;
  height: 2px;
  background: var(--primary);
  opacity: .3;
  z-index: 0;
}
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  cursor: default;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-circle:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.step-desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.btn-registrarme {
  display: inline-flex;
  align-items: center;
  padding: 13px 36px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .2s;
}
.btn-registrarme:hover {
  background: var(--primary-dark);
}

/* ---- Stats strip ---- */
.stat-pill {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
}
.stat-pill .stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.stat-pill .stat-num { font-size: 1.25rem; font-weight: 800; line-height: 1; }
.stat-pill .stat-lbl { font-size: .75rem; color: var(--muted); }

/* ---- Chip de usuario logueado (header) ---- */
.user-chip {
  background: #fff; border: 1px solid var(--border); color: var(--loy-text-dark);
  transition: border-color .2s ease;
}
.user-chip:hover, .user-chip:focus { border-color: var(--primary); background: #fff; }
.user-chip-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff; font-size: .68rem; font-weight: 800;
}
.user-chip-name { font-size: .88rem; font-weight: 600; color: var(--loy-text-dark); }
.user-chip-caret { font-size: .7rem; color: var(--muted); }
.user-dropdown { border-radius: 12px; min-width: 220px; }
.user-dropdown .dropdown-item {
  border-radius: 8px; margin: 0 .5rem; width: auto;
  padding-left: .75rem !important; padding-right: .75rem !important;
  font-size: .9rem; font-weight: 500;
}
.user-dropdown .dropdown-item:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.user-dropdown .dropdown-item.text-danger:hover { background: rgba(220,38,38,.1); color: #dc2626; }

/* ---- Prize detail ---- */
.gallery-thumb {
  width: 72px; height: 72px; border-radius: 8px;
  border: 2px solid var(--border); overflow: hidden;
  cursor: pointer; transition: border-color .2s;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-main-img {
  border-radius: var(--radius);
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; background: var(--surface-2);
}
.exchange-box {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.tab-styled { border-bottom: 2px solid var(--border); }
.tab-styled .nav-link { color: var(--muted); font-size: .88rem; font-weight: 500; border: none !important; padding: 10px 0; margin-right: 20px; }
.tab-styled .nav-link.active { color: var(--primary); border-bottom: 2px solid var(--primary) !important; font-weight: 700; }
.sticky-exchange { position: sticky; top: 80px; }
.delivery-option {
  border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px;
  cursor: pointer; transition: all .2s; font-size: .85rem;
}
.delivery-option.active, .delivery-option:hover {
  border-color: var(--primary); background: #f0f4ff;
}
.delivery-option.active { border-width: 2px; }
.qty-control {
  display: flex; align-items: center; border: 1.5px solid var(--border);
  border-radius: 8px; overflow: hidden; width: fit-content;
}
.qty-control button {
  background: var(--surface-2); border: none; width: 36px; height: 36px;
  font-size: 1rem; cursor: pointer; color: var(--text); transition: background .15s;
}
.qty-control button:hover { background: var(--surface); }
.qty-control span { width: 40px; text-align: center; font-weight: 700; font-size: .95rem; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.trust-badge i { color: var(--success); font-size: .9rem; }
.spec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-label { color: var(--muted); min-width: 130px; }
.spec-row .spec-val { font-weight: 600; text-align: right; }
.rating-stars { color: #f59e0b; font-size: .9rem; }
.review-count { font-size: .82rem; color: var(--muted); }
.review-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.reviewer-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; flex-shrink: 0;
}
.related-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: box-shadow .2s, transform .2s; cursor: pointer;
}
.related-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.related-card .rc-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.related-card .rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.related-card:hover .rc-img img { transform: scale(1.05); }

/* Prize detail — layout mockup premio */
.gallery-main {
  border-radius: 16px; overflow: hidden; background: var(--surface-2);
  aspect-ratio: 4/3; position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.badge-new {
  background: var(--primary); color: #fff; border-radius: var(--loy-radius);
  font-size: .7rem; font-weight: 700; padding: .22em .6em; display: inline-block;
}
.stock-pill-ok {
  background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary-dark);
  border-radius: 20px; padding: .2rem .7rem; font-size: .78rem; font-weight: 700; display: inline-block;
}
.stock-pill-out {
  background: rgba(239,68,68,.12); color: #b91c1c;
  border-radius: 20px; padding: .2rem .7rem; font-size: .78rem; font-weight: 700; display: inline-block;
}
.price-box {
  background: var(--surface-2); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  border-radius: 16px; padding: 1.5rem;
}
.price-main { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1.1; }
.mode-option {
  border: 2px solid var(--border); border-radius: var(--loy-radius-lg);
  padding: 1rem 1.25rem; cursor: pointer; transition: all .2s ease;
  display: flex; align-items: center; gap: 1rem; margin: 0;
}
.mode-option:hover { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, #fff); }
.mode-option.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, #fff); }
.mode-option .mode-radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.mode-option.selected .mode-radio { border-color: var(--primary); background: var(--primary); }
.mode-option.selected .mode-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.related-scroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
.related-scroll .related-card { min-width: 210px; max-width: 210px; flex-shrink: 0; }

/* ---- Catálogo / listado (mockup listado) ---- */
.listado-sidebar { background: #fff; border-radius: 10px; border: 1px solid var(--border); padding: 1.25rem; }
.listado-sidebar-title {
  font-size: 1rem; font-weight: 800; color: var(--loy-text-dark);
  margin-bottom: .75rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--primary); display: inline-block;
}
.cat-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.cat-list li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .45rem .5rem; border-radius: 6px; color: var(--text); text-decoration: none;
  font-size: .88rem; transition: background .15s, color .15s;
}
.cat-list li a:hover, .cat-list li a.active {
  background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary-dark); font-weight: 600;
}
.cat-count {
  background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700;
  border-radius: 20px; padding: .1rem .5rem; min-width: 28px; text-align: center;
}
.cat-list li a.active .cat-count { background: var(--primary-dark); }

.results-bar {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: .65rem 1rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.results-bar .results-count { font-size: .88rem; color: var(--muted); flex: 1; }
.results-bar .results-count strong { color: var(--loy-text-dark); }
.btn-sort {
  font-size: .82rem; font-weight: 600; padding: .3rem .85rem; border-radius: 20px;
  border: 1.5px solid var(--border); background: #fff; color: var(--text);
  cursor: pointer; transition: all .15s; text-decoration: none;
}
.btn-sort:hover, .btn-sort.active {
  border-color: var(--primary); color: var(--primary-dark);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.results-bar .view-toggle button {
  width: 32px; height: 32px; border: 1.5px solid var(--border); background: #fff; border-radius: 6px;
  color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all .15s;
}
.results-bar .view-toggle button.active, .results-bar .view-toggle button:hover {
  border-color: var(--primary); color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  transition: box-shadow .2s, transform .2s; height: 100%; display: flex; flex-direction: column; cursor: pointer;
}
.product-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
/* Caja cuadrada porque las fotos de premios son 1:1. Con alto fijo (era
   180px) la foto se ajustaba al alto y quedaba chica, con franjas a los
   costados. Fondo blanco: si alguna foto no es cuadrada, el sobrante no se
   nota. Sin padding, para que llegue borde a borde. */
.product-card-img {
  aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; border-bottom: 1px solid var(--border);
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.product-card-body { padding: .85rem; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .25rem; }
.product-name { font-size: .88rem; font-weight: 700; color: var(--primary-dark); line-height: 1.35; margin-bottom: .6rem; flex: 1; }
.product-pts-main { font-size: 1.3rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: .2rem; }
.product-pts-main span { font-size: .75rem; font-weight: 600; color: var(--primary-dark); }
.product-pts-mixed { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.product-pts-mixed strong { color: var(--text); font-weight: 600; }
.btn-canjear {
  width: 100%; background: var(--primary); color: #fff; border: none; border-radius: 7px; padding: .5rem;
  font-size: .85rem; font-weight: 700; cursor: pointer; transition: background .15s; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: auto;
}
.btn-canjear:hover { background: var(--primary-dark); color: #fff; }
.badge-nuevo, .badge-oferta {
  position: absolute; top: .5rem; left: .5rem; color: #fff; font-size: .7rem; font-weight: 800;
  padding: .2rem .5rem; border-radius: 5px; z-index: 2;
}
.badge-nuevo { background: var(--primary); }
.badge-oferta { background: #ef4444; }

/* Paginación (mockup): Bootstrap con colores de marca */
.pagination {
  --bs-pagination-color: var(--primary-dark);
  --bs-pagination-hover-color: var(--primary-dark);
  --bs-pagination-hover-bg: color-mix(in srgb, var(--primary) 12%, transparent);
  --bs-pagination-hover-border-color: var(--border);
  --bs-pagination-focus-color: var(--primary-dark);
  --bs-pagination-focus-box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--primary) 25%, transparent);
  --bs-pagination-active-bg: var(--primary);
  --bs-pagination-active-border-color: var(--primary);
  --bs-pagination-active-color: #fff;
}

/* ---- Catalog search bar ---- */
.search-bar-wrap {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 50px; padding: 8px 16px;
  display: flex; align-items: center; gap: 10px;
}
.search-bar-wrap input {
  border: none; outline: none; flex: 1;
  font-size: .9rem; background: transparent;
}
.search-bar-wrap i { color: var(--muted); }
.sort-select {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 30px 8px 12px; font-size: .85rem; cursor: pointer;
  background: #fff; color: var(--text); outline: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.active-filter-chip {
  background: var(--primary); color: #fff;
  border-radius: 20px; padding: 4px 12px;
  font-size: .78rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.active-filter-chip button {
  background: none; border: none; color: rgba(255,255,255,.7); padding: 0; cursor: pointer; line-height: 1;
}
.view-toggle button {
  width: 34px; height: 34px; border: 1.5px solid var(--border); background: #fff;
  border-radius: 8px; cursor: pointer; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; transition: all .2s;
}
.view-toggle button.active, .view-toggle button:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.results-count { font-size: .85rem; color: var(--muted); }
.breadcrumb-custom { font-size: .82rem; color: var(--muted); padding: 10px 0; }
.breadcrumb-custom a { color: var(--muted); text-decoration: none; }
.breadcrumb-custom a:hover { color: var(--primary); }
.breadcrumb-custom .sep { margin: 0 6px; }

/* ---- Login ---- */
.login-card {
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-hover);
  padding: 36px 40px;
  max-width: 420px; margin: auto;
}
.login-logo-wrap { text-align: center; margin-bottom: 28px; }
.login-logo { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.login-logo span { color: var(--accent); }
.form-control-custom {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 10px 14px; font-size: .9rem; width: 100%;
  transition: border-color .2s; outline: none; background: var(--surface);
}
.form-control-custom:focus { border-color: var(--primary); background: #fff; }
.btn-login {
  background: var(--primary); color: #fff;
  border: none; border-radius: 8px; width: 100%;
  padding: 12px; font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: background .2s;
}
.btn-login:hover { background: var(--primary-light); }
.label-custom { font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; display: block; }
.input-wrap { position: relative; }
.input-wrap .input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .9rem;
}
.input-wrap .form-control-custom { padding-left: 36px; }
.input-wrap .toggle-pw {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  cursor: pointer; color: var(--muted); font-size: .9rem; background: none; border: none;
}
.divider-text {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: .8rem; margin: 20px 0;
}
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-social {
  border: 1.5px solid var(--border); background: #fff; border-radius: 8px; padding: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--text); cursor: pointer; transition: all .2s; width: 100%;
}
.btn-social:hover { border-color: var(--primary); background: #f8faff; }
.benefits-strip {
  display: flex; gap: 16px; justify-content: center; padding: 16px 0 20px;
  position: relative; z-index: 10; flex-wrap: wrap;
}
.benefit-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: .78rem; }
.benefit-item i { color: var(--accent); font-size: .85rem; }

/* ---- Account pages ---- */
.account-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--primary-dark) 100%);
  color: #fff; padding: 28px 0;
}
.avatar-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: var(--primary);
  flex-shrink: 0; border: 3px solid rgba(255,255,255,.3);
}
.account-nav { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.account-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-size: .88rem; font-weight: 500;
  color: var(--text); text-decoration: none !important;
  border-bottom: 1px solid var(--border); transition: background .15s;
}
.account-nav a:last-child { border-bottom: none; }
.account-nav a:hover { background: var(--surface); }
.account-nav a.active { background: #eff4ff; color: var(--primary); font-weight: 600; border-left: 3px solid var(--primary); }
.account-nav a i { width: 18px; text-align: center; font-size: .9rem; color: var(--muted); }
.account-nav a.active i { color: var(--primary); }
.account-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 20px; }
.exchange-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.exchange-row:last-child { border-bottom: none; }
.exchange-thumb { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--surface-2); }
.exchange-thumb img { width: 100%; height: 100%; object-fit: cover; }
.status-badge { padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-processing { background: #dbeafe; color: #1e40af; }
.movement-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.movement-row:last-child { border-bottom: none; }
.movement-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.movement-icon.credit { background: #d1fae5; color: var(--success); }
.movement-icon.debit { background: #fee2e2; color: #dc2626; }
.mini-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; }
.mini-stat .ms-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.mini-stat .ms-lbl { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.progress-loyalty { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.progress-loyalty-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; transition: width .6s; }

/* ---- Account profile (mockup cuenta: header + stats + tabs) ---- */
.profile-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; padding: 3rem 0 5rem;
  position: relative; overflow: hidden;
}
.profile-header::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.profile-header::after {
  content: ''; position: absolute; bottom: -30%; left: -5%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.profile-header .container { position: relative; z-index: 2; }
.profile-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.2); color: #fff; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.25rem; font-weight: 900;
}

/* content lifted over the header */
.account-content { margin-top: -3rem; position: relative; z-index: 5; }

/* stat cards */
.stat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--loy-radius-lg); padding: 1.25rem 1.5rem;
  text-align: center; box-shadow: var(--loy-shadow-sm); height: 100%;
}
.stat-card .stat-icon { font-size: 1.8rem; color: var(--primary); margin-bottom: .5rem; opacity: .85; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-card .stat-label {
  font-size: .78rem; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
}

/* underline tabs */
.account-tabs { scrollbar-width: none; -ms-overflow-style: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tabs .nav-link {
  color: var(--muted); font-weight: 600; font-size: .88rem;
  border: none; border-bottom: 3px solid transparent; border-radius: 0;
  padding: .75rem 1rem; background: transparent; white-space: nowrap;
}
.account-tabs .nav-link:hover { color: var(--primary); border-bottom-color: color-mix(in srgb, var(--primary) 35%, transparent); }
.account-tabs .nav-link.active { color: var(--primary-dark); border-bottom-color: var(--primary); background: transparent; }

/* movement rows — income / expense / expiry (extiende .movement-icon existente) */
.movement-icon.income  { background: color-mix(in srgb, var(--primary) 14%, #fff); color: var(--primary-dark); }
.movement-icon.expense { background: rgba(239,68,68,.10); color: #b91c1c; }
.movement-icon.expiry  { background: rgba(245,158,11,.12); color: #b45309; }
.movement-pts-pos { color: var(--primary-dark); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.movement-pts-neg { color: #b91c1c; font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* alerta de puntos por vencer */
.points-expiry-alert {
  background: rgba(245,158,11,.08); border-left: 4px solid #f59e0b;
  border-radius: var(--loy-radius); padding: .85rem 1rem;
  font-size: .88rem; color: #b45309;
}
.points-expiry-alert a { color: #b45309; font-weight: 700; text-decoration: none; }

/* ---- Mis canjes: card + tracker de estados (mockup cuenta) ---- */
.exchange-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--loy-radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
.exchange-prize-thumb {
  width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1.1rem;
}
.exchange-prize-thumb img { width: 100%; height: 100%; object-fit: cover; }

.exchange-badge {
  font-size: .78rem; font-weight: 700; padding: .4rem .75rem; border-radius: 20px;
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
}
.exchange-badge.delivered  { background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary-dark); }
.exchange-badge.ongoing,
.exchange-badge.processing { background: rgba(245,158,11,.15); color: #b45309; }
.exchange-badge.cancelled,
.exchange-badge.problem    { background: rgba(239,68,68,.12); color: #b91c1c; }

.exchange-track { display: flex; align-items: center; margin: 1rem 0 .5rem; }
.track-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.track-step:not(:last-child)::after {
  content: ''; position: absolute; top: 14px; left: 60%; width: 80%; height: 2px;
  background: var(--border);
}
.track-step.ts-done:not(:last-child)::after { background: var(--primary); }
.ts-dot {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border);
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .75rem; z-index: 1; position: relative; color: var(--muted);
}
.track-step.ts-done .ts-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.track-step.ts-active .ts-dot { background: #fff; border-color: #f59e0b; color: #f59e0b; border-width: 2.5px; }
.ts-label { font-size: .7rem; color: var(--muted); margin-top: .3rem; text-align: center; line-height: 1.2; }
.track-step.ts-done .ts-label { color: var(--primary-dark); font-weight: 600; }
.track-step.ts-active .ts-label { color: #b45309; font-weight: 600; }

/* ---- Mis tarjetas: card chips (mockup cuenta) ---- */
.card-chip {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 16px; padding: 1.5rem; color: #fff;
  position: relative; overflow: hidden; min-height: 175px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.card-chip::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08);
}

/* ── Fondos reales por marca ── */
.card-chip.brand-visa       { background: linear-gradient(135deg, #1a1f71, #2b3fae); }
.card-chip.brand-cabal      { background: linear-gradient(135deg, #00337a, #0a63c9); }
.card-chip.brand-maestro    { background: linear-gradient(135deg, #20242e, #3b4250); }
.card-chip.brand-mastercard { background: linear-gradient(135deg, #232526, #414345); }
.card-chip.brand-amex       { background: linear-gradient(135deg, #1e3a5f, #2f80c2); }

.card-chip .card-num { letter-spacing: .2em; font-size: 1.05rem; opacity: .9; font-family: monospace; margin-top: 2.75rem; }
.card-chip .card-holder { font-size: .78rem; opacity: .8; margin-top: .6rem; }
.card-chip .card-type-tag { position: absolute; top: 1.25rem; right: 1.25rem; font-size: .78rem; opacity: .8; letter-spacing: .05em; }

/* ── Logo de la red (esquina inferior derecha) ── */
.card-chip .card-logo { position: absolute; right: 1.25rem; bottom: 1.15rem; height: 32px; width: 62px; }
/* Visa: wordmark */
.card-chip.brand-visa .card-logo::after {
  content: 'VISA'; position: absolute; right: 0; bottom: 2px;
  font: italic 900 1.55rem/1 Arial, Helvetica, sans-serif; color: #fff;
  letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
/* Cabal: wordmark */
.card-chip.brand-cabal .card-logo::after {
  content: 'Cabal'; position: absolute; right: 0; bottom: 2px;
  font: 800 1.35rem/1 'Segoe UI', Arial, sans-serif; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
/* Maestro / Mastercard: dos círculos entrelazados */
.card-chip.brand-maestro .card-logo::before,
.card-chip.brand-maestro .card-logo::after,
.card-chip.brand-mastercard .card-logo::before,
.card-chip.brand-mastercard .card-logo::after {
  content: ''; position: absolute; top: 1px; width: 30px; height: 30px; border-radius: 50%;
}
.card-chip.brand-maestro .card-logo::before    { right: 22px; background: #0099df; }
.card-chip.brand-maestro .card-logo::after     { right: 8px;  background: #eb001b; mix-blend-mode: hard-light; }
.card-chip.brand-mastercard .card-logo::before { right: 22px; background: #eb001b; }
.card-chip.brand-mastercard .card-logo::after  { right: 8px;  background: #f79e1b; mix-blend-mode: hard-light; }
.card-rate { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.card-rate i { color: var(--primary); }
.cards-info-alert {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  border-left: 4px solid var(--primary);
  padding: .75rem 1rem; border-radius: var(--loy-radius);
  font-size: .88rem; color: var(--primary-dark);
}

/* ---- Carrito (mockup carrito) ---- */
.checkout-steps { display: flex; justify-content: center; align-items: flex-start; padding: 1.5rem 0 .5rem; }
.checkout-step { display: flex; flex-direction: column; align-items: center; position: relative; flex: 1; max-width: 160px; }
.checkout-step:not(:last-child)::after {
  content: ''; position: absolute; top: 18px; left: 60%; width: 80%; height: 2px; background: var(--border);
}
.checkout-step.done:not(:last-child)::after { background: var(--primary); }
.cs-dot {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border);
  background: #fff; color: var(--muted); font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; z-index: 1; position: relative;
}
.checkout-step.done .cs-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.checkout-step.active-step .cs-dot { background: #fff; border-color: var(--primary); color: var(--primary); }
.cs-label { font-size: .75rem; color: var(--muted); margin-top: .4rem; text-align: center; font-weight: 500; }
.checkout-step.done .cs-label,
.checkout-step.active-step .cs-label { color: var(--primary-dark); font-weight: 700; }

.cart-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--loy-radius-lg);
  padding: 1.25rem; margin-bottom: 1rem; transition: box-shadow .2s ease;
}
.cart-item:hover { box-shadow: var(--loy-shadow); }
.cart-item-img { width: 90px; height: 90px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.cart-item-remove {
  background: none; border: none; color: var(--muted); font-size: 1rem; cursor: pointer;
  padding: .25rem; border-radius: 6px; transition: all .2s ease; line-height: 1;
}
.cart-item-remove:hover { background: rgba(239,68,68,.1); color: #ef4444; }
.cart-qty-stepper form { display: inline-flex; margin: 0; }
.cart-qty-btn {
  width: 30px; height: 30px; padding: 0; border: 1px solid var(--border); background: #fff;
  border-radius: 8px; font-size: 1rem; font-weight: 700; color: var(--loy-text-dark);
  line-height: 1; cursor: pointer; transition: all .15s ease;
  display: flex; align-items: center; justify-content: center;
}
.cart-qty-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.cart-qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.cart-qty-num { min-width: 34px; text-align: center; font-weight: 700; font-size: .95rem; color: var(--loy-text-dark); }
.exchange-mode {
  font-size: .78rem; font-weight: 700; padding: .22rem .6rem; border-radius: 6px; display: inline-block;
}
.exchange-mode.points-only { background-color: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary-dark); }
.exchange-mode.mixed { background-color: rgba(245,158,11,.12); color: #b45309; }
.prize-points { font-weight: 700; color: var(--primary); }

.summary-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--loy-radius-lg);
  padding: 1.75rem; position: sticky; top: 90px;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0; font-size: .92rem; border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
  font-size: 1.1rem; font-weight: 700; color: var(--loy-text-dark);
  padding-top: 1rem; border-top: 2px solid var(--border); border-bottom: none;
}
.total-pts { font-size: 1.4rem; font-weight: 900; color: var(--primary); white-space: nowrap; }
.balance-box { background: var(--surface-2); border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); border-radius: var(--loy-radius); }
.cart-warning {
  background: rgba(239,68,68,.08); border-left: 3px solid #ef4444; border-radius: 8px;
  font-size: .82rem; color: #b91c1c;
}
/* Botón primary deshabilitado: gris atenuado (no el azul default de Bootstrap) */
.btn-primary:disabled,
.btn-primary.disabled {
  background-color: var(--muted); border-color: var(--muted); color: #fff; opacity: .6;
}

/* Dirección de entrega (vista previa en el carrito, estilo mockup) */
.address-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--loy-radius-lg);
  padding: 1.75rem; margin-top: 1rem;
}
.address-option {
  border: 2px solid var(--border); border-radius: var(--loy-radius-lg); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit;
  transition: all .2s ease;
}
.address-option:hover { border-color: var(--primary); }
.address-option.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, #fff); }
.address-radio-dot {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border);
  flex-shrink: 0; transition: all .2s ease;
}
.address-option.selected .address-radio-dot {
  border-color: var(--primary); background: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}
.delivery-time-box {
  background: color-mix(in srgb, var(--primary) 10%, #fff); border-radius: var(--loy-radius);
  padding: .75rem 1rem; font-size: .85rem; display: flex; align-items: center; gap: .6rem;
}

/* ---- Promo banner ---- */
.promo-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius); padding: 24px;
  color: #fff; overflow: hidden; position: relative;
  height: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: box-shadow .25s, transform .25s;
}
/* Efecto de sobresalir al pasar el cursor, igual que las cards de premios */
.promo-banner:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
/* El boton queda anclado abajo aunque un banner tenga menos texto */
.promo-banner .btn { margin-top: auto; }

/* ---- Brand strip ---- */
.brand-strip { display: flex; gap: 20px; align-items: center; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.brand-strip::-webkit-scrollbar { display: none; }
.brand-logo-item {
  flex-shrink: 0; width: 80px; height: 44px;
  background: var(--surface-2); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--muted); font-weight: 600; border: 1px solid var(--border);
}

/* ---- Footer ---- */
.footer-loyalty { background: var(--primary); color: rgba(255,255,255,.75); padding: 56px 0 0; margin-top: auto; }
.footer-brand { font-size: 1.65rem; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.footer-brand-accent { color: #fff; }
.footer-tagline { font-size: .87rem; color: rgba(255,255,255,.7); line-height: 1.6; margin: 0; }
.footer-social { display: flex; gap: 10px; }
.footer-loyalty .footer-social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem; line-height: 1; text-decoration: none !important;
  margin-bottom: 0; flex-shrink: 0;
  transition: background .2s;
}
.footer-social-btn:hover { background: rgba(255,255,255,.35); }
.footer-loyalty .footer-heading {
  color: #fff; font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px;
}
.footer-loyalty a { color: rgba(255,255,255,.75); text-decoration: none !important; font-size: .87rem; display: block; margin-bottom: 9px; transition: color .2s; }
.footer-loyalty a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 40px; padding: 20px 0;
  font-size: .8rem; color: rgba(255,255,255,.6);
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; justify-content: center;
}
.footer-bottom a { color: rgba(255,255,255,.7) !important; font-size: .8rem !important; display: inline !important; margin: 0 !important; }
.footer-bottom a:hover { color: #fff !important; }
.footer-bottom-sep { opacity: .4; }

/* ---- Pagination ---- */
.pagination .page-link { border-radius: 8px !important; border-color: var(--border); color: var(--text); font-size: .85rem; margin: 0 2px; }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }
.pagination .page-link:hover { background: var(--surface-2); color: var(--primary); }

/* ---- Utilities ---- */
.text-primary-loyalty { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-loyalty { background: var(--primary) !important; }
.rounded-loyalty { border-radius: var(--radius) !important; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 1.5rem; }
  .points-summary-card { margin-top: 20px; }
  .login-card { padding: 24px 20px; }
  .exchange-box { padding: 16px; }
}

/* ══════════════════════════════════════════════════════════════════
 * RESPONSIVE MOBILE — ajustes solo para pantallas chicas
 * ──────────────────────────────────────────────────────────────────
 * Todo este bloque usa media queries `max-width`, así que NO afecta al
 * modo de escritorio (≥992px). Solo pule los componentes propios que en
 * mobile quedan apretados o desalineados; el grid de Bootstrap ya se
 * encarga de apilar las columnas. Mismos colores y tipografías.
 * ══════════════════════════════════════════════════════════════════ */

/* ── ≤991px: layouts de dos columnas ya apilados (tablet/mobile) ── */
@media (max-width: 991.98px) {
  /* Los paneles "sticky" no tienen sentido apilados: dejan huecos y
     saltos raros al hacer scroll. Se comportan como bloques normales. */
  .sticky-exchange,
  .summary-card,
  .sticky-exchange.sticky-exchange { position: static; top: auto; }
  .summary-card { position: static; top: auto; }

  /* La línea conectora de "¿Cómo funciona?" se calcula para 3 columnas
     en fila; apiladas queda cruzando en diagonal — se oculta. */
  .como-funciona-connector { display: none; }
}

/* ── ≤767px: teléfonos y tablets angostas ── */
@media (max-width: 767.98px) {

  /* ── AIRE LATERAL (lo más importante en mobile) ──
     El proyecto define `.container{padding:0}` global. En escritorio no
     molesta (el container está centrado con márgenes propios), pero en
     mobile deja TODO pegado a los bordes de la pantalla: navbar, textos,
     cards, footer. Restauramos el padding lateral estándar para que el
     contenido respire. Se excluye el carrusel del home, que va a sangre. */
  .container:not(.home-carousel-wrap) {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Los mensajes flotantes tampoco pegados a los bordes */
  .row.messages { padding-left: 12px; padding-right: 12px; }

  /* Marca del header: en mobile el navbar tiene mucho menos contenido al
     lado, así que el logo puede respirar más y gana presencia. */
  .brand-logo { font-size: 1.6rem; }

  /* ── CATEGORÍAS EN MOBILE: rail de fichas con ícono ──
     Las pills en una fila quedaban cortadas a mitad de palabra, sin ninguna
     pista de que se podía deslizar, y la etiqueta "CATEGORÍAS:" se comía
     ancho útil. Pasan a ser fichas verticales (ícono redondo + nombre) que
     se deslizan a sangre: la ficha que asoma en el borde deja claro que hay
     más. Son 9 (Todos + 8 categorías): no entran de ninguna otra forma sin
     ocupar tres filas enteras arriba del home. */
  .category-strip { padding: 18px 0 14px !important; }
  .category-strip .container { padding-left: 0; padding-right: 0; }
  /* El carril es lo único que se desliza; el título "Categorías" queda fijo
     arriba (está fuera del carril). Las flechas no van en mobile: se pasa
     con el dedo. */
  .cat-nav { display: none; }
  .cat-strip-row { gap: 0 !important; }
  .cat-strip-scroll {
    -webkit-overflow-scrolling: touch;
    gap: 2px !important;
    align-items: flex-start !important;
    /* 13px + los 3px de padding de la ficha = 16px, el mismo margen
       lateral que el resto del contenido de la página */
    padding-left: 13px; padding-right: 13px;
    scroll-snap-type: x proximity;
  }
  /* La etiqueta inline no aporta en pantalla chica y roba ancho: se
     reemplaza por el título en bloque de arriba del rail (.cat-strip-title) */
  .cat-strip-label { display: none; }
  .cat-strip-title {
    padding: 2px 16px 12px;
    text-align: center;
    font-size: 1.05rem; font-weight: 800;
    color: var(--loy-text-dark); letter-spacing: -.01em;
  }
  /* Misma barrita verde que encabeza las secciones del home
     (.section-accent-line), acá centrada sobre el titulo */
  .cat-strip-title::before {
    content: "";
    display: block;
    width: 44px; height: 3px; border-radius: 2px;
    background: var(--primary);
    margin: 0 auto 9px;
  }

  .cat-chip {
    flex: 0 0 auto; width: 82px; height: 92px;
    flex-direction: column; justify-content: flex-start; gap: 7px;
    padding: 4px 3px; border: none; background: transparent;
    font-size: .65rem; font-weight: 600; line-height: 1.15;
    text-align: center; white-space: normal;
    overflow-wrap: break-word; hyphens: auto;
    scroll-snap-align: center;
  }
  .cat-chip .cat-chip-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--surface-2); border: 1.5px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
    transition: background .2s, border-color .2s;
  }
  /* El estado activo se marca en el ícono, no con un recuadro alrededor */
  .cat-chip:hover, .cat-chip.active, .cat-chip-todos {
    background: transparent; border: none;
  }
  /* "Todos" es una ficha más. La regla base `.cat-chip-todos` le clava el
     verde siempre, así que parecía la categoría seleccionada estando en
     cualquier pantalla. Acá se lo devuelve al estado neutro; el resaltado
     queda para cuando realmente está activa (la clase `active` que ya pone
     el template). Va ANTES del bloque de hover/active para que esos ganen. */
  .cat-chip-todos:not(.active) { color: var(--loy-text-dark) !important; }
  .cat-chip-todos:not(.active) .cat-chip-icon {
    color: var(--loy-text-dark);
    background: var(--surface-2);
    border-color: var(--border);
  }
  .cat-chip:hover .cat-chip-icon,
  .cat-chip.active .cat-chip-icon {
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    border-color: var(--primary);
  }

  /* Carousel principal del home: a sangre (full-bleed) y más bajo para no
     comerse la pantalla */
  .home-carousel-wrap { height: 210px; border-radius: 12px; margin-top: 12px; }
  .home-carousel-wrap .carousel-item img { height: 210px; }

  /* Flechas del carousel: en mobile se pasa de slide deslizando con el dedo
     (Bootstrap ya lo trae), así que las flechas solo tapan la imagen y la
     barra de puntos. Los puntitos indicadores quedan, para que se siga
     viendo que hay más de un slide. */
  .carousel-control-prev,
  .carousel-control-next { display: none; }

  /* ── FOOTER EN MOBILE: una sola columna centrada ──
     En dos columnas ("Redes sociales" al lado de "Ayuda") queda un hueco
     muerto debajo de los íconos, porque los bloques tienen alturas muy
     distintas y arrancan alineados arriba. Apilado y centrado se lee
     mejor, aprovecha el ancho y no deja aire suelto. */
  .footer-loyalty { padding-top: 36px; text-align: center; }
  .footer-loyalty .row { --bs-gutter-y: 0; }
  .footer-loyalty .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }

  /* Cada bloque apilado se separa con una línea sutil, para que se note
     dónde termina uno y empieza el siguiente */
  .footer-loyalty .row > [class*="col-"] + [class*="col-"] {
    margin-top: 22px; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.18);
  }

  /* "Ayuda" antes que "Redes sociales": los links son lo que más se usa, y
     los íconos cierran justo arriba del copyright. Se reordena solo de
     forma visual (con `order`), sin tocar el HTML, así el escritorio
     mantiene su orden original. */
  .footer-loyalty .row > :nth-child(1) { order: 1; }
  .footer-loyalty .row > :nth-child(3) { order: 2; }
  .footer-loyalty .row > :nth-child(2) { order: 3; }

  .footer-loyalty .footer-brand { font-size: 1.5rem; margin-bottom: .5rem !important; }
  .footer-tagline { font-size: .9rem; max-width: 22rem; margin-left: auto; margin-right: auto; }
  .footer-loyalty .footer-heading { margin-bottom: 8px; }

  /* Links con más área de toque (quedaban muy juntos para el dedo) */
  .footer-loyalty .row a:not(.footer-social-btn) {
    padding: 8px 0; margin-bottom: 0; font-size: .92rem;
  }

  .footer-social { justify-content: center; gap: 14px; }
  .footer-loyalty .footer-social-btn { width: 42px; height: 42px; font-size: 1rem; }

  .footer-bottom { margin-top: 24px; padding: 16px 0; font-size: .74rem; line-height: 1.55; }
  .home-carousel-bar {
    padding: 12px 14px 10px;
    gap: 14px;
  }
  .home-carousel-bar-label { font-size: .58rem; }
  .home-carousel-bar-value { font-size: .9rem; }

  /* Encabezados de sección: el botón "Ver todos" baja debajo del título */
  .section-header {
    flex-wrap: wrap;
    gap: .75rem;
  }
  .section-header h2 { font-size: 1.2rem; }
  .section-header .btn-ver-todos { align-self: flex-start; }

  /* "¿Cómo funciona?": menos padding vertical y aire entre los 3 pasos */
  .como-funciona-section { padding: 40px 0 44px; }
  .como-funciona-title { font-size: 1.35rem; }
  .como-funciona-section [class*="col-"] {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .como-funciona-section .row .col-md-4 + .col-md-4 { margin-top: 1.75rem; }

  /* Hero (login / genéricos) más compacto */
  .hero-section { padding: 40px 0 36px; }

  /* Detalle de premio: menos separación entre galería y datos apilados */
  .prize-detail-row.g-5,
  section .row.g-5 { --bs-gutter-y: 1.5rem; }
  .price-box { padding: 1.15rem; }
  .price-main { font-size: 1.7rem; }
  /* Los tres botones de acción no se aprietan tanto */
  .prize_detail__actions { gap: .6rem; }

  /* Perfil de usuario: header y avatar más chicos */
  .profile-header { padding: 2rem 0 3.75rem; }
  /* el h1 del perfil trae font-size inline en el template → !important
     (sigue confinado a la media query, no afecta escritorio) */
  .profile-header h1 { font-size: 1.4rem !important; }
  .profile-avatar { width: 68px; height: 68px; font-size: 1.6rem; }
  .account-content { margin-top: -2.5rem; }

  /* Tarjetas de estadística del perfil: un poco más compactas en 2 cols */
  .stat-card { padding: 1rem .75rem; }
  .stat-card .stat-value { font-size: 1.4rem; }
  .stat-card .stat-icon { font-size: 1.4rem; }

  /* Pasos del checkout / tracking de canjes: labels que entren bien */
  .cs-label { font-size: .68rem; }
  .checkout-step { max-width: none; }
  .cs-dot { width: 32px; height: 32px; font-size: .78rem; }
  .checkout-step:not(:last-child)::after { top: 16px; }

  /* Login card ocupa todo el ancho disponible */
  .login-card { max-width: 100%; }

  /* Chip de tarjetas: no tan alto en una sola columna */
  .card-chip { min-height: 165px; }
}

/* ── ≤575px: teléfonos chicos ── */
@media (max-width: 575.98px) {

  /* Carousel aún más bajo y totalmente a sangre (sin esquinas redondeadas
     tocando el borde de la pantalla) */
  .home-carousel-wrap { height: 175px; border-radius: 0; margin-top: 0; }
  .home-carousel-wrap .carousel-item img { height: 175px; }

  /* Barra de puntos del carousel: en dos ítems que no desborden */
  .home-carousel-bar { flex-wrap: wrap; gap: 6px 14px; }
  .home-carousel-bar-sep { display: none; }
  .home-carousel-bar-item { flex: 1 1 45%; }

  /* Botones de acción del detalle apilados a ancho completo:
     el primario ocupa la fila y los íconos van debajo, cómodos */
  .prize_detail__actions { flex-wrap: wrap; }

  /* La caja cuadrada de las imágenes ya está en la regla base (aplica a
     escritorio y mobile por igual), acá solo quedan los tamaños de texto. */
  .product-name { font-size: .84rem; }
  .product-pts-main { font-size: 1.15rem; }
  .btn-canjear { font-size: .8rem; padding: .45rem; }

  /* ── Cards del HOME (.prize-card, secciones de destacados/promocionados) ──
     Se mantienen en 2 columnas, pero a ~156px de ancho los puntos y el botón
     "Canjear" no entran cómodos en la misma fila: el botón se comprime y el
     precio queda pegado. Se apilan — puntos arriba, botón a lo ancho de la
     card — que además da un área de toque mucho mejor.
     Ojo: solo aplica al home. El listado usa .product-card (arriba). */
  .prize-card .card-body-custom { padding: 12px 12px 14px; }
  .prize-card .card-category { font-size: .66rem; letter-spacing: .3px; }
  .prize-card .card-title { font-size: .86rem; margin: 3px 0 8px; }
  .prize-card .card-badge { font-size: .66rem; padding: 2px 6px; }
  /* `.d-flex` de Bootstrap viene con !important, hace falta pisarlo */
  .prize-card .points-block .d-flex { display: block !important; }
  .prize-card .points-amount { font-size: 1.15rem; }
  .prize-card .btn-exchange {
    display: flex; width: 100%; justify-content: center;
    margin-top: 9px; padding: 9px 10px; font-size: .8rem;
  }

  /* Encabezados de sección aún más chicos */
  .section-header h2 { font-size: 1.1rem; }
  .section-subtitle { font-size: .85rem; }

  /* Menos padding lateral perdido en secciones "cómo funciona" */
  .como-funciona-section [class*="col-"] {
    padding-left: .5rem;
    padding-right: .5rem;
  }

  /* Perfil: título de bienvenida que no se corte */
  .profile-header h1 { font-size: 1.25rem !important; }
  .profile-avatar { width: 60px; height: 60px; font-size: 1.4rem; }
}



/* ═══════════════════════════════════════════════════════════════
   FAVORITOS — corazón del catálogo, filtro del listado y tab de
   "Mi cuenta". Los colores salen de loyalty_variables.css
   (--favorite / --favorite-dark / --favorite-soft).
   ═══════════════════════════════════════════════════════════════ */

.fav-btn {
  padding: 0; line-height: 1; cursor: pointer;
  color: var(--muted); text-decoration: none;
  transition: color .18s, background-color .18s, border-color .18s, transform .18s;
  /* la regla legacy global de .btn no debe alcanzar a este botón */
  float: none; text-transform: none;
}
.fav-btn:focus-visible { outline: 2px solid var(--favorite); outline-offset: 2px; }
.fav-btn.is-fav i { animation: favPop .28s ease; }
@keyframes favPop {
  0%   { transform: scale(.6); }
  60%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Corazón flotando sobre la imagen de una card */
.fav-btn--overlay {
  position: absolute; top: .5rem; right: .5rem; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,.10);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
/* Solo se tine de rojo el corazon: el circulo queda neutro */
.fav-btn--overlay:hover { color: var(--favorite); background: #fff; transform: scale(1.09); }
.fav-btn--overlay.is-fav { color: var(--favorite); background: #fff; }

/* Corazón con texto (tab Favoritos de Mi cuenta) */
.fav-btn--chip {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: .4rem .85rem; font-size: .78rem; font-weight: 600;
}
.fav-btn--chip:hover,
.fav-btn--chip.is-fav { color: var(--favorite); }

/* Los relacionados del detalle también llevan corazón: necesitan contexto de posición */
.related-card .rc-img { position: relative; }

/* ── Filtro "Mis favoritos" del listado ── */
.fav-filter {
  display: flex; align-items: center; gap: .5rem; width: 100%;
  padding: .55rem .7rem; margin-bottom: 1rem;
  border: 1.5px dashed var(--border); border-radius: 8px; background: #fff;
  color: var(--text); font-size: .88rem; font-weight: 600;
  text-decoration: none; transition: all .15s;
}
.fav-filter i { color: var(--favorite); }
.fav-filter:hover {
  border-color: var(--favorite); border-style: solid;
  background: var(--favorite-soft); color: var(--favorite-dark);
}
.fav-filter.active {
  border-style: solid; border-color: var(--favorite);
  background: var(--favorite-soft); color: var(--favorite-dark);
}
.fav-filter-count {
  margin-left: auto; background: var(--favorite); color: #fff;
  border-radius: 999px; font-size: .7rem; font-weight: 700; padding: 1px 8px;
}
.fav-filter-chip {
  background: var(--favorite); color: #fff; border-radius: 20px;
  padding: 4px 12px; font-size: .78rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.fav-filter-chip a { color: rgba(255,255,255,.85); line-height: 1; }
.fav-filter-chip a:hover { color: #fff; }

/* ── Estado vacío ── */
.fav-empty { text-align: center; padding: 2.5rem 1rem; }
.fav-empty p { color: var(--muted); font-size: .92rem; margin: 1rem 0 1.25rem; }
/* La regla legacy global `.btn` lo deja como pill (1.5rem) y flotado a la
   izquierda, así que se sale del bloque centrado; y `.btn-primary:hover` lo
   pinta de negro (#151c21) en vez del verde de marca. Ver "Trampas de CSS". */
.fav-empty .btn,
.empty-search .btn { float: none; border-radius: 8px; }
.fav-empty .btn-primary:hover,
.fav-empty .btn-primary:focus,
.fav-empty .btn-primary:active,
.empty-search .btn-primary:hover,
.empty-search .btn-primary:focus,
.empty-search .btn-primary:active {
  background-color: var(--primary-dark);
  color: #fff;
  box-shadow: none;
}

/* ── Grilla de favoritos (tab de Mi cuenta) ── */
.fav-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--loy-radius-lg); overflow: hidden;
  transition: box-shadow .2s, transform .2s, opacity .2s;
}
.fav-card:hover { box-shadow: var(--loy-shadow); transform: translateY(-2px); }
/* Caja cuadrada, igual que en el listado: las fotos de premios son 1:1, y
   con alto fijo la imagen se ajustaba al alto y quedaba chica con franjas
   grises a los costados. Fondo blanco y sin padding para que llene la caja. */
.fav-card-img {
  position: relative; aspect-ratio: 1 / 1; background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-bottom: 1px solid var(--border);
}
.fav-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.fav-card-img .fav-card-noimg { font-size: 2rem; color: var(--border); }
.fav-card-body { padding: .85rem; display: flex; flex-direction: column; flex: 1; }
.fav-card-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fav-card-name {
  font-size: .86rem; font-weight: 700; color: var(--primary-dark);
  line-height: 1.35; margin: .15rem 0 .5rem;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.fav-card-pts { font-size: 1.15rem; font-weight: 900; color: var(--primary); line-height: 1; }
.fav-card-pts span { font-size: .7rem; font-weight: 700; color: var(--primary-dark); }
.fav-card-date { font-size: .72rem; color: var(--muted); margin: .25rem 0 .7rem; }
.fav-card-actions { display: flex; gap: .4rem; align-items: center; margin-top: auto; }
.fav-card-exchange {
  flex: 1; background: var(--primary); color: #fff !important; border: none;
  border-radius: 7px; padding: .45rem; font-size: .8rem; font-weight: 700;
  text-decoration: none !important; text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  transition: background .15s;
}
.fav-card-exchange:hover { background: var(--primary-dark); color: #fff !important; }
.fav-card-exchange.disabled { background: var(--muted); pointer-events: none; opacity: .8; }
.fav-card-remove {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 7px;
  border: 1px solid var(--border); background: #fff; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; float: none; text-transform: none;
}
.fav-card-remove:hover { color: var(--favorite); }
.fav-card.is-unavailable .fav-card-img { filter: grayscale(1); opacity: .55; }
.fav-unavailable-tag {
  position: absolute; top: .5rem; left: .5rem; z-index: 2;
  background: rgba(26,26,46,.82); color: #fff;
  font-size: .66rem; font-weight: 700; padding: .2rem .5rem; border-radius: 5px;
}
/* Salida suave al quitar un favorito de una grilla que lista solo favoritos */
[data-fav-item] { transition: opacity .2s, transform .2s; }
.fav-item-leaving { opacity: 0; transform: scale(.94); }
.fav-card-name { text-decoration: none; }
.fav-card-name:hover { color: var(--primary); }
.fav-see-catalog {
  font-size: .82rem; font-weight: 600; text-decoration: none;
  color: var(--favorite-dark); border: 1px solid var(--favorite);
  background: var(--favorite-soft); border-radius: 999px; padding: .3rem .85rem;
  transition: background-color .15s, color .15s;
}
.fav-see-catalog:hover { background: var(--favorite); color: #fff; }


/* ═══════════════════════════════════════════════════════════════
   AJUSTES MOBILE-FIRST — FAQ, canje completo y "Mi cuenta"
   ═══════════════════════════════════════════════════════════════ */

/* ---- Preguntas frecuentes: acordeón ---- */
.faq-page { padding: 2.5rem 0 3.5rem; }
.faq-page .container { max-width: 820px; }
.faq-head { margin-bottom: 1.75rem; }
.faq-head h1 {
  font-size: 2rem; font-weight: 800; color: var(--loy-text-dark);
  margin: 0 0 .35rem; letter-spacing: -.01em;
}
.faq-head p { color: var(--muted); margin: 0; font-size: .95rem; }
.faq-list {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--loy-radius-lg); box-shadow: var(--loy-shadow-sm);
  overflow: hidden;
}
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; background: #fff; border: 0; text-align: left;
  font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--loy-text-dark);
  text-transform: none; float: none; cursor: pointer; transition: background-color .15s, color .15s;
}
/* la regla legacy global de .btn:hover no aplica (no es .btn), pero sí el foco */
.faq-q:hover { background: var(--loy-bg-alt); color: var(--loy-text-dark); }
.faq-q:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.faq-q:not(.collapsed) { color: var(--primary-dark); }
.faq-chevron {
  flex-shrink: 0; font-size: .8rem; color: var(--primary);
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--loy-bg-alt); transition: transform .2s;
}
.faq-q:not(.collapsed) .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 1.25rem 1.25rem; color: var(--loy-text); font-size: .93rem; line-height: 1.65; }
.faq-empty { padding: 1.25rem; margin: 0; color: var(--muted); }

/* ---- Canje completo ---- */
.exch-done { padding: 2.5rem 0 3.5rem; }
.exch-done-box { max-width: 560px; margin: 0 auto; }
.exch-done-head { text-align: center; margin-bottom: 1.5rem; }
.exch-done-icon {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--loy-bg-alt); color: var(--primary); font-size: 2rem;
}
.exch-done-head h1 { font-size: 1.5rem; font-weight: 800; color: var(--loy-text-dark); margin: 0 0 .4rem; }
.exch-done-head p { color: var(--muted); font-size: .9rem; margin: 0 auto; max-width: 400px; }
.exch-done-list {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--loy-radius-lg); box-shadow: var(--loy-shadow-sm);
}
.exch-done-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.15rem; }
.exch-done-item + .exch-done-item { border-top: 1px solid var(--border); }
.exch-done-item-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--primary) 14%, #fff); color: var(--primary-dark);
}
.exch-done-item.is-error .exch-done-item-icon { background: rgba(245,158,11,.12); color: #b45309; }
.exch-done-item-body { min-width: 0; }
.exch-done-prize { font-weight: 700; color: var(--loy-text-dark); font-size: .98rem; line-height: 1.35; }
.exch-done-detail { color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.exch-done-number {
  display: inline-block; margin-top: .5rem; padding: .2rem .65rem;
  border-radius: 999px; background: var(--loy-bg-alt);
  font-size: .82rem; color: var(--primary-dark);
}
.exch-done-actions {
  display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem;
}
.exch-done-actions .btn { padding: .65rem 1.4rem; }

/* ---- Mi cuenta: tabs + lista de movimientos ---- */
.account-tabs .tab-short { display: none; }
.account-tabs .nav-link i { margin-right: .35rem; }

.movements-scroll {
  max-height: 460px; overflow-y: auto; overscroll-behavior: contain;
  margin: 0 -.25rem; padding: 0 .25rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  scrollbar-width: thin;
}
.movement-body { flex: 1 1 auto; min-width: 0; }
.movement-title { font-weight: 600; font-size: .9rem; color: var(--loy-text-dark); line-height: 1.35; overflow-wrap: anywhere; }
.movement-date { font-size: .78rem; color: var(--muted); }

@media (max-width: 575.98px) {
  /* FAQ */
  .faq-page { padding: 1.5rem 0 2.5rem; }
  .faq-head { margin-bottom: 1.1rem; }
  .faq-head h1 { font-size: 1.45rem; }
  .faq-head p { font-size: .87rem; }
  .faq-q { padding: .95rem 1rem; font-size: .92rem; }
  .faq-a { padding: 0 1rem 1rem; font-size: .88rem; }

  /* Canje completo */
  .exch-done { padding: 1.5rem 0 2.5rem; }
  .exch-done-icon { width: 56px; height: 56px; font-size: 1.7rem; }
  .exch-done-head h1 { font-size: 1.25rem; }
  .exch-done-head p { font-size: .85rem; }
  .exch-done-item { padding: .9rem 1rem; }
  .exch-done-actions { flex-direction: column; }
  .exch-done-actions .btn { width: 100%; }

  /* Tabs de "Mi cuenta": las 5 entran sin scroll, ícono arriba y texto corto abajo */
  .account-tabs.px-2 { padding-left: 0 !important; padding-right: 0 !important; }
  .account-tabs { overflow: visible !important; }
  .account-tabs .nav-item { flex: 1 1 0; min-width: 0; }
  .account-tabs .nav-link {
    width: 100%; display: flex; flex-direction: column; align-items: center; gap: .25rem;
    padding: .65rem .1rem .55rem; font-size: .68rem; line-height: 1.1;
  }
  .account-tabs .nav-link i { margin-right: 0; font-size: 1.05rem; }
  .account-tabs .tab-full { display: none; }
  .account-tabs .tab-short { display: inline; }

  /* Movimientos: alto relativo a la pantalla y montos un poco más chicos */
  .movements-scroll { max-height: 55vh; }
  .movement-row { gap: 10px; }
  .movement-icon { width: 34px; height: 34px; font-size: .8rem; }
  .movement-title { font-size: .84rem; }
  .movement-pts-pos, .movement-pts-neg { font-size: .84rem; }
}

/* Banners con "imagen para celular": en celular se ven enteros, a su propia proporcion.
   El alto fijo de 210px con object-fit:cover de arriba estaba pensado para la imagen desktop
   (apaisada); aplicado a una imagen de celular (casi cuadrada) le recortaba mas de la mitad.
   Los banners sin imagen de celular siguen igual (210px recortados). */
@media (max-width: 767.98px) {
  .home-carousel-wrap { height: auto; }
  .home-carousel-wrap .carousel-item.con-imagen-celular img { height: auto; object-fit: contain; }
}
