/* Fuentes */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-XLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-XLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-BookItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-Ultra.otf') format('opentype');
    font-weight: 950;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham/Gotham-UltraItalic.otf') format('opentype');
    font-weight: 950;
    font-style: italic;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

/* Encabezados */
h1 {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 3.4375em;
    line-height: 1.2;
    color: #192D53;
}

h2 {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.125em;
    line-height: 1.235;
    color: #192D53;
}

h3,
h4 {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.375em;
    line-height: 1.272;
}

h5 {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.75em;
    line-height: 1.333;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

h6 {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.75em;
    line-height: 1.333;
}

/* Párrafos y enlaces */
p {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1em;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: #192D53;
}

span {
    font-weight: 400;
}

.italic-text {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-style: italic;
}

/* Navbar */
.navbar-brand img {
    height: 40px;
}

/* Botones */
.btn-primary {
    color: #FFF;
    font-family: 'Gotham', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background: #0066B3;
    padding: 20px;
    transition: background .5s ease;
}

.btn-primary:hover {
    background: #005A9C;
}

.btn-outline-primary {
    border-radius: 20px;
    border: 1px solid #192D53;
    padding: 1.25em;
    color: #333;
}

.btn-outline-primary.active,
.btn-outline-primary:hover {
    background-color: #192D53;
    color: #FFF;
    border: 1px solid #192D53;
}

.btn-outline-secondary {
    color: #333;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid #333;
}

.btn-outline-secondary.active {
    background-color: #333;
}

/* Cards */
.card {
    padding: 40px 30px 20px 30px;
    border-radius: 20px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.card.small {
    padding: 40px 10px 20px 10px;
}

.card .details {
    margin-top: 1em;
}

.card h3 {
    color: #333;
    font-weight: 700;
    font-size: 1.2em;
}

.card h4,
.card-text {
    font-size: .8em !important;
    color: #808285;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: rgba(0, 0, 0, 0.2);
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
    width: .5rem;
}

.card {
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Filtros y productos */
.filter-products {
    position: relative;
    min-height: 800px;
    margin: 8em auto;
}

.filter-sidebar {
    position: absolute;
    top: 0;
    width: 25%;
    overflow-y: auto;
    padding: 20px;
}

.content-wrapper {
    margin-left: 25%;
    padding: 20px;
}

.product-card {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.pagination {
    margin-top: 30px;
}

.brand-filter .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
}

.category-filter {
    display: flex;
    gap: 10px;
}

/* Barra de búsqueda */
.search-bar {
    max-width: 300px;
}

.search-bar .input-group-text {
    background: #fff;
    border-left: 0;
}

.search-bar .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* Paginación */
.page-item.active .page-link {
    background-color: #192D53;
    border: 1px solid #192D53;
}

/* Media queries */
@media (max-width: 768px) {
    .d-flex {
        flex-direction: column;
        gap: 15px;
    }

    .category-filter {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-bar {
        width: 100% !important;
    }
}

/* Fondo con arco */
.arc-background {
    background-image: url('./assets/arc.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* Asegurar correcta visualización de modales */
.modal-iframe iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
}

/* Optimizar para móviles */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0;
        max-width: 100%;
    }
    
    .modal-content {
        height: 100vh;
        border-radius: 0;
    }
}




.carousel-main {
    height: 60vh;
    min-height: 400px;
}
.carousel-item img, .carousel-item video {
    height: 100%;
    object-fit: contain;
}
.thumbnail-img {
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s;
}
.thumbnail-img:hover {
    opacity: 0.8;
}
.modal-zoom img {
    max-height: 90vh;
    width: auto;
}
.product-specs ul {
    list-style: none;
    padding-left: 1rem;
}
.product-specs li::before {
    content: "•";
    color: #0d6efd;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

#qrCode img {
    margin: 5em auto;
}

.thumbnail-img {
    height: 75px;
}

footer {
    background-color: #192D53;
    color: #FFF;
}
footer a {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
footer a.fb{
    background-image: url('./assets/Facebook.png');
}
footer a.ig{
    background-image: url('./assets/Instagram.png');
}
footer a.wa{
    background-image: url('./assets/Whatsapp.png');
}
.text-right {
    text-align: right;
}


@media (max-width: 481px) {
    .vh-80,
    .vh-80 img {
        height: auto !important;
    }
    #top-combos .col-md-4 {
        margin-bottom: 2em;
    }

    .content-wrapper {
        margin-left: 0;
    }

    .filter-sidebar {
        position: relative;
        width: 100%;
    }

    footer,
    .text-right {
        text-align: center !important;
    }

    footer .col-md-4 {
        margin-bottom: 2em;
    }

    .g-5, .gx-5 {
        --bs-gutter-x: 0;
    }

    .carousel-item img,
    .carousel-item video,
    .card-img-top {
        object-fit: contain !important;
    }
}