* {
    font-family: 'Titillium Web', sans-serif;
}

.azul {
    background-color: #1074CB;
}

.azulFech {
    background-color: #2D4473;
}

.gris {
    background-color: #7C878E;
}


.naranjo {
    background-color: #C1592A;
}

nav {
    margin-bottom: 0px;
    background-color: white;
    color: black;
}


nav i {
    color: grey;
}

nav img {
    margin: 10px;
}

nav ul {
    margin-left: 80px;
}

nav ul a {
    color: grey;
}

.sidenav .user-view {
    min-height: 250px;
}
.cat-sel  .button-delete {
    color: red;
    font-size: 11px;
    visibility: hidden;
    text-align: right;
    cursor: pointer;
    text-transform: uppercase;
    transition: all ease .5s;
}
.binomio-container .caja:hover .cat-sel .button-delete {
    visibility: visible;
}
.binomio-container .caja:hover .cat-sel .button-delete span {
    cursor: pointer;
}
.infoEvento {
    color: white;
}

.infoEvento h1 {
    margin: 20px 0;
    font-size: 2em;
    font-weight: 700;
}

.infoEvento p {
    margin: 0;
}

.infoEvento h1 {
    margin: 0;
}

.noPadding {
    padding: 0;
}

.noMargin {
    margin: 0;
}

.icono {
    margin: 20px 10px 0;
}

.btn-block {
    width: 90%;
    margin: 10px;
}

.outline {
    border: 1px solid white;
    background-color: rgba(255, 255, 255, 0);
}

.anuales {
    color: white;
    padding: 40px 0;
}

.anuales h1 {
    font-size: 3em;
    font-weight: 900;
    margin: 0;
}

.anuales p {
    margin: 0;
}

.buscador {
    padding: 40px;
    background-color: #E53A5C;
    color: white;
}

.buscador h1 {
    font-size: 4em;
    font-weight: 700;
    margin: 0;
}

.buscador p {
    font-size: 1em;
    margin: 0;
}

.buscador .input-field {
    background-color: white;
    border-radius: 10px;
    color: black;
    border-bottom: 0px solid red;
}

.buscador input[type=text] {
    border-bottom: 0px;
}

.lupa {
    width: 100%
}

.footer {
    background-color: #333637;
    color: white;
    padding: 40px;
    margin-top: 40px;
    position: inherit;
    width: 100%;
    bottom: 0;
}

.footer p {
    margin: 0;
}


/* EVENTO */

.eventoHeader {
    padding: 20px;
}

.eventoHeader input {
    color: white;
}

.prueba {
    padding: 20px;
}

.prueba h1 {
    font-size: 2.2em;
    color: #606060;
    margin: 0;
    font-weight: 700;
}

.prueba h2 {
    font-size: 1.5em;
    color: #606060;
    margin: 0;
}

.descripcion {
    padding: 20px;
    color: white;
}

.pagado, .pago, .activo {
    width: 15px;
    height: 15px;
    background-color: green;
    border-radius: 15px
}

.impago, .inactivo {
    width: 15px;
    height: 15px;
    background-color: red;
    border-radius: 15px
}

.descripcion h1 {
    font-size: 2em;
    font-weight: 700;
    color: white;
    margin: 0;
}

.descripcion h3 {
    font-size: 1em;
    margin-top: 10px;
}

.descripcion h3 span {
    font-weight: 700;
    margin: 0;
}

.eventoHeader .input-field {
    padding-top: 90px;
}

.advertencia {
    padding: 20px;
}


/* Inscripciones anuales */

.validar {
    padding: 20px;
    border-bottom: 8px solid #1074CB;
}

.validar h1 {
    font-size: 2em;
    font-weight: 700;
    color: #1074CB;
    margin: 0;
}

.validar h2 {
    font-size: 1.7em;
    color: #E53A5C;
    margin: 0;
}
form#riderform label {
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1;
}
form#riderform input {
    margin: 0;
    font-size: 14px;
    line-height: 1em;
    height: 2.5em;

}
form#riderform select {
    border-bottom: 1px solid #9e9e9e;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    font-size: 14px;
    height: 2.5rem;
    padding: 0;
}
.precio h1 {
    font-size: 2em;
    text-align: center;
}
.rider-new .col.s12 {
    padding: 0!important;
    margin-top: 0;
    margin-bottom: 20px;
}
.col.s10.offset-s1.l5.no-padding.race-img img {
    width: 100%;
    height: 600px;
    opacity: 0;
}
.btn-shop-danger {
    background-color: #c62828;
    color: #fff;
    border-radius: 6px;
    padding: 0.4rem;
    min-width: 36px;
    box-shadow: 0 1px 4px rgba(198, 40, 40, 0.25);
    line-height: 24px;
}
.cart-summary-card .cart-summary-actions .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 20px;
}
.card-panel.teal.lighten-2 {
    margin: 0;
    text-align: center;
}
.main.row.noMargin .card-panel.deep-orange.white-text.darken-1 {
    margin: 0;
    text-align: center;
}
.s12.product-sheet-content p.breadcrumb-nav {
    margin: 2rem 0;
}
.center-align.checkout-submit-wrap button.btn.waves-effect.waves-light.btn-shop-primary.checkout-btn-finalize {
    line-height: 24px;
}
.col.s10.offset-s1.l6.offset-l3.shop-hero-inner {
    padding: 40px 0;
}
.btn-shop-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    border-radius: 6px;
    text-transform: none;
    font-weight: 600;
    line-height: 0.8rem;
}
.row.precio h5.titulo-azul, .row.precio h5.titulo-azul strong {
    font-weight: bold;
    text-transform: uppercase;
}
.rider-inscription button.btn-block {
    width: 100%;
    margin: 0 0 20px;
}
.row.validar.horse-inscription.z-depth-3 form > .col.s12 {
    padding: 0;
}
.row.validar.horse-inscription.z-depth-3 form > .col.s12 button.waves-effect.waves-light.btn.btn-block {
    margin: 0;
    width: 100%;
    margin-bottom: 20px;
}
.col.s10.offset-s1.l5.no-padding.race-img {
    background-size: contain;
    background-repeat: no-repeat;
}
.infoEvento.col.s10.offset-s1.l5.offset-l1 {
    height: 600px;
}

.infoEvento .textEvento {
    padding: 30px 30px 0;
}

@media only screen and (max-width: 768px) {
    .lupa {
        width: 80%
    }
    .infoEvento.col.s10.offset-s1.l5.offset-l1 {
        height: unset!important;
    }
    .col.s10.offset-s1.l5.no-padding.race-img img {
        height: unset;
    }
    .col.s10.offset-s1.l5.no-padding.race-img {
        background-size: cover;
        padding: 0!important;
        border: 0;
    }
    .nav-header{
        display: none;
    }
    .sidenav .user-view .background {
        overflow: hidden;
        position: absolute;
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: -1;
        padding: 12px;
    }
    .infoEvento .infoEvento-header {
        width: 100%!important;
    }
    .infoEvento .binomium {
        width: 100%!important;
        margin: 0!important;
    }
    .binomio-container {
        padding: 0 15px;
    }
    .binomio-container .col.s8.cat-sel {
        width: 100%;
    }
    .binomio-container .col.s8.cat-sel .row.noMargin .row {
        margin-bottom: 0;
    }
    .binomio-container .col.test-info {
        width: 100%!important;
        position: unset!important;
        margin: 0!important;
        padding: 0!important;
    }
    .show-on-change{
        width: 100%;
        padding: 0 15px;
    }
    .show-on-change .col.s10.offset-m1 {
        width: 100%;
        padding: 0 15px;
    }
    .search-contenido table.striped {
        display: block;
        width: 100%;
        overflow-x: scroll;
    }
    .footer {
        background-color: #333637;
        color: white;
        padding: 40px;
        margin-top: 40px;
        position: inherit;
        width: 100%;
        bottom: 0;
        margin: 0!important;
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .lupa {
        width: 40%
    }
    .eventoHeader .input-field {
        padding-top: 20px;
    }
}

/* WebPay / Khipu — Página de pago fallido (diseño abierto, logo en blanco) */
.webpay-failed-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.webpay-failed-hero {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.webpay-failed-logo {
    display: block;
    margin: 0 auto 1.5rem;
    width: 120px;
    height: auto;
}

.webpay-failed-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webpay-failed-icon {
    font-size: 28px !important;
    color: #dc2626;
    line-height: 1;
}

.webpay-failed-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem;
    letter-spacing: 0.01em;
}

.webpay-failed-ref {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.webpay-failed-content {
    padding: 2rem 0;
    color: #374151;
    line-height: 1.65;
}

.webpay-failed-text {
    font-size: 1rem;
    margin: 0 0 1.25rem;
}

.webpay-failed-ref-label {
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    color: #6b7280;
}

.webpay-failed-ref-box {
    display: inline-block;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-family: monospace;
    font-size: 0.95rem;
    color: #4b5563;
}

.webpay-failed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
}

.webpay-failed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.webpay-failed-btn-primary {
    background-color: #2D4473;
    color: #fff;
    box-shadow: 0 2px 6px rgba(45, 68, 115, 0.3);
}

.webpay-failed-btn-primary:hover {
    background-color: #243a5c;
    color: #fff;
    box-shadow: 0 4px 10px rgba(45, 68, 115, 0.35);
}

.webpay-failed-btn-link {
    background: transparent;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.webpay-failed-btn-link:hover {
    background: #f9fafb;
    color: #1f2937;
    border-color: #9ca3af;
}

@media only screen and (max-width: 600px) {
    .webpay-failed-page {
        padding: 2rem 1rem 3rem;
    }
    .webpay-failed-logo {
        width: 100px;
    }
    .webpay-failed-title {
        font-size: 1.3rem;
    }
    .webpay-failed-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .webpay-failed-btn {
        width: 100%;
    }
}

/* ----- Tienda FEDECH: estilos modernos ----- */
.shop-hero {
    background-color: #2D4473;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.shop-hero-inner { padding: 1.5rem 1rem; }
.shop-hero-title {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.shop-hero-subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    opacity: 0.92;
}
.shop-page-caption { margin-top: 1rem; font-size: 0.95rem; }
.shop-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.shop-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.shop-card-link { color: inherit; display: block; }
.shop-card-link:hover { color: inherit; }
.shop-card-image {
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}
.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.shop-card-link:hover .shop-card-image img { transform: scale(1.04); }
.shop-card-no-image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bdbdbd;
}
.shop-card-no-image .material-icons { font-size: 56px; }
.shop-card-content-inline { padding: 1.25rem; }
.shop-card-title { margin: 0; font-size: 1.15rem; line-height: 1.35; color: #212121; font-weight: 600; }
.shop-card-price { margin: 0.5rem 0 0; font-size: 1.3rem; font-weight: 700; color: #2D4473; }
.shop-card-actions {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid #eee;
}
.shop-add-form { margin: 0; }
/* Botones tienda: compactos y modernos (azul FECH) */
.btn-shop-primary, .btn-shop-primary.btn-large {
    background-color: #2D4473;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 2px 6px rgba(45, 68, 115, 0.25);
    transition: box-shadow 0.2s, background-color 0.2s;
}
.btn-shop-primary:hover, .btn-shop-primary.btn-large:hover {
    background-color: #243a5c;
    box-shadow: 0 4px 10px rgba(45, 68, 115, 0.35);
}
.btn-shop-secondary {
    border: 1px solid #2D4473;
    color: #2D4473;
    background: transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    text-transform: none;
    padding: 0.4rem 1rem;
}
.btn-shop-secondary:hover { background: rgba(45, 68, 115, 0.08); color: #2D4473; }
.btn-shop-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    border-radius: 6px;
    text-transform: none;
    font-weight: 600;
}
.btn-shop-danger {
    background-color: #c62828;
    color: #fff;
    border-radius: 6px;
    padding: 0.4rem;
    min-width: 36px;
    box-shadow: 0 1px 4px rgba(198, 40, 40, 0.25);
}
.btn-shop-danger:hover { background-color: #b71c1c; color: #fff; }
.shop-link { color: #2D4473; font-weight: 500; text-decoration: none; }
.shop-link:hover { text-decoration: underline; color: #243a5c; }
.cart-update-inline { display: inline-flex; align-items: center; gap: 0.5rem; }
.cart-qty-input { width: 56px; margin: 0 !important; height: 2rem; padding: 0 0.4rem; font-size: 0.9rem; border-radius: 6px; border: 1px solid #ddd; }
.cart-remove-form { display: inline; }
.shop-empty-state { border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.cart-summary-card {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    background: #f8f9fa !important;
    border: 1px solid #e9ecef;
}
.cart-summary-card .cart-summary-total { font-size: 1.25rem; margin: 0; }
.cart-summary-card .cart-summary-actions { margin-top: 1rem; padding: 0 0.5rem; }
.cart-summary-card .cart-summary-actions .btn { width: 100%; max-width: 100%; box-sizing: border-box; }
.cart-summary-card .cart-summary-follow { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid #e9ecef; }
.checkout-redirect-msg {
    margin: 1.25rem 0 0.75rem;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.45;
}
.checkout-webpay-logo {
    text-align: center;
    margin: 0.75rem 0 1rem;
    min-height: 40px;
}
.checkout-webpay-img {
    max-height: 44px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}
.checkout-webpay-fallback {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2D4473;
    letter-spacing: 0.05em;
}
.checkout-submit-wrap { margin-top: 0.5rem; }
.checkout-btn-finalize { text-transform: uppercase; letter-spacing: 0.03em; }
.cart-page-content { padding: 0 2rem 2rem !important; max-width: 1200px; margin-left: auto; margin-right: auto; }
.cart-table-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-left: 0; margin-right: 0; }
.cart-table-wrap .card-content, .cart-table-wrap .card { padding: 1.25rem 1.5rem; }
.cart-table-wrap thead th { font-size: 0.9rem; font-weight: 600; padding: 0.85rem 1rem; }
.cart-table-wrap tbody td { padding: 0.85rem 1rem; font-size: 0.95rem; }
.checkout-card, .cart-success-card, .cart-failed-card {
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.product-detail-image-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.product-detail-description { border-radius: 10px; }

/* ----- Ficha de producto (product sheet) ----- */
.ficha-producto-wrap { padding-bottom: 2rem; }
.product-sheet-content { padding: 0 2rem 2rem !important; max-width: 1200px; margin-left: auto; margin-right: auto; }
.ficha-producto { margin-top: 0.75rem; }
.breadcrumb-nav { margin: 1.5rem 0 0.5rem; font-size: 0.9rem; }
.ficha-producto-qty-wrap input#product-qty {
    text-align: center;
    padding: 0;
    margin: 0;
    outline: 0;
    line-height: 24px;
    font-size: 16px;
    height: auto!important;
    width: auto!important;
}
.ficha-producto-actions button.btn.waves-effect.waves-light.btn-shop-primary.ficha-producto-btn-cart {
    font-size: 14px;
    line-height: 20px;
}
.ficha-producto-image-wrap {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.25s ease;
}
.ficha-producto-image-wrap:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1); }
.ficha-producto-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: contain;
}
.ficha-producto-no-image {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bdbdbd;
    padding: 2rem;
}
.ficha-producto-no-image .material-icons { font-size: 80px; }

.modal-product-image .modal-content { padding: 2rem; background: #fff; }
.ficha-producto-image-modal { max-width: 100%; max-height: 85vh; width: auto; height: auto; display: block; margin: 0 auto; }

.ficha-producto-info { padding-left: 1.5rem; }
@media only screen and (max-width: 992px) {
    .ficha-producto-info { padding-left: 0; margin-top: 1rem; }
}

.ficha-producto-title {
    margin: 0 0 0.5rem;
    font-size: 1.85rem;
    font-weight: 800;
    color: #2D4473;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.ficha-producto-description {
    margin: 0 0 1.25rem;
    line-height: 1.65;
    color: #374151;
    font-size: 1rem;
}
.ficha-producto-description p { margin: 0 0 0.75rem; }
.ficha-producto-description p:last-child { margin-bottom: 0; }
.ficha-producto-description strong, .ficha-producto-description b { font-weight: 700; }

.ficha-producto-meta {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: 0.95rem;
    color: #6b7280;
}
.ficha-producto-meta li { margin-bottom: 0.35rem; }
.ficha-producto-meta-label { font-weight: 600; color: #4b5563; margin-right: 0.35rem; }

.ficha-producto-price {
    margin: 0 0 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2D4473;
}

.ficha-producto-actions { margin-top: 0; }
.ficha-producto-add-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.ficha-producto-qty-wrap { display: flex; align-items: center; gap: 0.5rem; }
.ficha-producto-qty-label { margin: 0; font-size: 0.95rem; color: #6b7280; }
.ficha-producto-qty-input {
    width: 72px;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.ficha-producto-btn-cart { margin: 0; }
.ficha-producto-back { margin-left: 0.25rem; vertical-align: middle; }

.cart-success-card .material-icons.large, .cart-failed-card .material-icons.large { font-size: 4rem; }
.shop-card.card .card-content {
    padding: 15px;
    border-radius: 0 0 2px 2px;
}
.shop-card .card-content.shop-card-actions {
    padding: 0;
}
.shop-card .card-content.shop-card-actions button.btn-flat.teal-text.btn-block {
    /* padding: 0; */
    margin: 5px;
}
.shop-card .card-content.shop-card-actions button.btn-flat.teal-text.btn-block {
    /* padding: 0; */
    margin: 5px;
    color: #2D4473!important;
}
