body {
    background-color: #011223;
    color: #EBEFF5;
    padding: 38px 0;
    margin: 0;
}

:root {
    --phone-blue: #00aaff;
    --phone-blue-light: #19c3ff;
    --phone-dark: #020b16;
    --phone-dark-2: #041525;
    --phone-text: #e9f7ff;
    --phone-muted: #9bb5c8;
}

/* DESPLAZAMIENTO DEL MENÚ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

/*RESET / CONFIGURACIÓN GENERAL */

* {

    box-sizing: border-box;

}

img {

    max-width: 100%;
}


button,
input {

    font: inherit;

}


/*NAVBAR*/

.navbar-fixoem {
    background-color: rgba(3, 13, 27, 0.77);
    padding: 2px 15px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31, 131, 241, 0.25);
}

.navbar-fixoem .navbar-brand {
    color: #EBEFF5;
}

.navbar-fixoem .nav-link {
    color: #EBEFF5;
}

.navbar-fixoem .nav-link:hover {
    color: var(--phone-blue);
}



.navbar-fixoem .nav-link:hover::after,
.navbar-fixoem .nav-link.active::after {

    transform: scaleX(1);

}

.navbar-fixoem .nav-link {

    position: relative;
    padding: 9px 12px;
    color: #ebeff5;

    font-size: 14px;
    text-decoration: none;

    transition:
        color .3s ease,
        background .3s ease;

}
.navbar-fixoem .nav-link::after {

    content: "";

    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 1px;
    height: 2px;
    background: var(--phone-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;

}

/* =========================================================
   CATÁLOGO DE PIEZAS
========================================================= */

.catalogo-piezas {

    position: relative;

    width: 100%;

    min-height: 600px;

    padding: 65px 0 80px;

    color: var(--phone-text);

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(0, 170, 255, .12),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(0, 120, 255, .08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #020914 0%,
            #031525 55%,
            #020914 100%
        );

    overflow: hidden;

}


.catalogo-piezas::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 170, 255, .8),
            transparent
        );

}


.catalogo-piezas .container {

    position: relative;

    z-index: 2;

}


/* =========================================================
   ENCABEZADO DEL CATÁLOGO
========================================================= */

.catalogo-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 35px;

    margin-bottom: 28px;

}


.catalogo-titulo {

    min-width: 0;

}


.catalogo-etiqueta {

    display: block;

    margin-bottom: 7px;

    color: var(--phone-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.catalogo-header h1 {

    margin: 0;

    color: #f4fbff;

    font-size: 34px;

    font-weight: 800;

    line-height: 1.15;

}


.catalogo-header p {

    margin: 8px 0 0;

    color: var(--phone-muted);

    font-size: 14px;

    line-height: 1.5;

}


/* =========================================================
   BUSCADOR
========================================================= */

.buscador-piezas {

    display: flex;

    flex: 0 0 380px;

    width: 380px;

    max-width: 100%;

}


.buscador-piezas input {

    width: 100%;

    min-width: 0;

    height: 44px;

    padding: 0 15px;

    color: #e9f7ff;

    background: #06192a;

    border: 1px solid #174465;

    border-right: 0;

    border-radius: 7px 0 0 7px;

    outline: none;

    font-size: 13px;

    transition:
        background .3s ease,
        border-color .3s ease;

}


.buscador-piezas input::placeholder {

    color: #71899b;

}


.buscador-piezas input:focus {

    background: #071e32;

    border-color: var(--phone-blue);

}


.buscador-piezas button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    flex: 0 0 95px;

    height: 44px;

    padding: 0 12px;

    color: white;

    background: #008ff0;

    border: 1px solid #008ff0;

    border-radius: 0 7px 7px 0;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background .3s ease,
        box-shadow .3s ease,
        transform .2s ease;

}


.buscador-piezas button:hover {

    background: var(--phone-blue);

    border-color: var(--phone-blue);

    box-shadow:
        0 0 18px rgba(0, 170, 255, .35);

}


.buscador-piezas button:active {

    transform: scale(.97);

}


/* =========================================================
   CATEGORÍAS
========================================================= */

.categorias-piezas {

    display: flex;

    align-items: center;

    gap: 9px;

    width: 100%;

    margin-bottom: 28px;

    padding-bottom: 3px;

    overflow-x: auto;

    scrollbar-width: thin;

    scrollbar-color:
        #008ff0
        #061522;

}


.categorias-piezas::-webkit-scrollbar {

    height: 5px;

}


.categorias-piezas::-webkit-scrollbar-track {

    background: #061522;

    border-radius: 10px;

}


.categorias-piezas::-webkit-scrollbar-thumb {

    background: #008ff0;

    border-radius: 10px;

}


.categoria-btn {

    flex: 0 0 auto;

    min-height: 37px;

    padding: 8px 17px;

    color: #c4d6e3;

    background: #082039;

    border: 1px solid #164568;

    border-radius: 7px;

    white-space: nowrap;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


.categoria-btn:hover {

    color: white;

    background: #0a2c49;

    border-color: var(--phone-blue);

    transform: translateY(-2px);

}


.categoria-btn.active {

    color: white;

    background: #008ff0;

    border-color: var(--phone-blue);

    box-shadow:
        0 0 15px rgba(0, 170, 255, .28);

}


/* =========================================================
   GRID DE PRODUCTOS
========================================================= */

.productos-grid {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;

    width: 100%;

}


/* =========================================================
TARJETA DE PRODUCTO
========================================================= */

.producto-card {

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: var(--catalog-card);

    color: #07111a;

    border:
        1px solid #b8c9d3;

    border-radius: 9px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .18);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

}

.producto-card:hover {

    transform: translateY(-6px);

    border-color: var(--phone-blue);

    box-shadow:
        0 10px 30px rgba(0, 170, 255, .25);

}


/* =========================================================
   IMAGEN DEL PRODUCTO
========================================================= */

.producto-imagen {

    position: relative;

    width: 100%;

    height: 155px;

    padding: 12px;

    background: white;

    overflow: hidden;

}


.producto-imagen::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.20),
            transparent 50%
        );

    pointer-events: none;

}


.producto-imagen img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition:
        transform .35s ease;

}


.producto-card:hover .producto-imagen img {

    transform: scale(1.07);

}


/* =========================================================
   INFORMACIÓN
========================================================= */

.producto-info {

    display: flex;

    flex-direction: column;

    flex: 1;

    min-height: 230px;

    padding: 14px;

}


.producto-categoria {

    display: inline-block;

    margin-bottom: 6px;

    color: #0084d6;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .7px;

    text-transform: uppercase;

}


.producto-info h3 {

    min-height: 36px;

    margin: 0 0 7px;

    color: #fdfeff;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.3;

}


.producto-info p {

    flex: 1;

    margin: 0 0 12px;

    color: #0796fc;

    font-size: 11px;

    line-height: 1.5;

}


.producto-precio {

    display: block;

    margin-bottom: 11px;

    color: #0079c9;

    font-size: 17px;

    font-weight: 800;

}


/* =========================================================
   BOTÓN CARRITO
========================================================= */

.btn-carrito {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    width: 100%;

    min-height: 38px;

    padding: 8px;

    color: white;

    background: #008ff0;

    border: 1px solid #008ff0;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .2s ease;

}


.btn-carrito:hover {

    background: #007bd0;

    border-color: #007bd0;

    box-shadow:
        0 0 14px rgba(0, 170, 255, .35);

}


.btn-carrito:active {

    transform: scale(.97);

}
 

.btn-carrito i {

    font-size: 14px;

}


/* =========================================================
   PRODUCTOS OCULTOS
========================================================= */

.producto-card.oculto {

    display: none !important;

}


/* =========================================================
   SIN RESULTADOS
========================================================= */

.sin-resultados {

    display: none;

    width: 100%;

    padding: 65px 20px;

    text-align: center;

}


.sin-resultados i {

    display: block;

    margin-bottom: 12px;

    color: var(--phone-blue);

    font-size: 42px;

}


.sin-resultados h3 {

    margin: 0 0 7px;

    color: #e9f7ff;

    font-size: 20px;

}


.sin-resultados p {

    margin: 0;

    color: #8299a9;

    font-size: 14px;

}


/* =========================================================
   FOOTER
========================================================= */

.phonefix-footer {

    position: relative;

    color: var(--phone-text);

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(0, 145, 255, .12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(0, 174, 255, .10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #020914 0%,
            #031323 50%,
            #020914 100%
        );

    overflow: hidden;

    border-top:
        1px solid rgba(0, 174, 255, .7);

}


/* =========================================================
   LÍNEA DEL FOOTER
========================================================= */

.tech-line {

    width: 80%;

    height: 1px;

    margin: 0 auto;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--phone-blue),
            #ffffff,
            var(--phone-blue),
            transparent
        );

    box-shadow:
        0 0 12px var(--phone-blue),
        0 0 25px rgba(0, 170, 255, .5);

}


/* =========================================================
   DECORACIÓN
========================================================= */

.phonefix-footer::before {

    content: "";

    position: absolute;

    left: -100px;

    bottom: 70px;

    width: 350px;

    height: 2px;

    background: var(--phone-blue);

    box-shadow:
        0 15px var(--phone-blue),
        0 30px var(--phone-blue);

    transform: rotate(8deg);

    opacity: .5;

}


.phonefix-footer::after {

    content: "";

    position: absolute;

    right: -100px;

    bottom: 80px;

    width: 350px;

    height: 2px;

    background: var(--phone-blue);

    box-shadow:
        0 15px var(--phone-blue),
        0 30px var(--phone-blue);

    transform: rotate(-8deg);

    opacity: .5;

}


/* =========================================================
   MARCA FOOTER
========================================================= */

.footer-brand {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 20px;

}


.brand-logo {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 70px;

    height: 70px;

    color: var(--phone-blue);

    border:
        2px solid var(--phone-blue);

    border-radius: 14px;

    font-size: 35px;

    box-shadow:
        0 0 10px rgba(0, 174, 255, .5),
        inset 0 0 15px rgba(0, 174, 255, .08);

}


.brand-logo .wrench {

    position: absolute;

    right: 3px;

    bottom: 3px;

    font-size: 23px;

    filter:
        drop-shadow(0 0 5px var(--phone-blue));

}


.footer-brand h2 {

    margin: 0;

    color: white;

    font-size: 35px;

    font-weight: 800;

    letter-spacing: -1px;

}


.footer-brand h2 span {

    color: var(--phone-blue);

    text-shadow:
        0 0 10px rgba(0, 174, 255, .6);

}


.brand-slogan {

    margin: 0;

    color: #c4e8ff;

    font-size: 14px;

}


.footer-description {

    max-width: 430px;

    color: var(--phone-muted);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   TRUST ITEMS
========================================================= */

.trust-items {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    margin-top: 25px;

}


.trust-item {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #d5edff;

    font-size: 11px;

}


.trust-item i {

    color: var(--phone-blue);

    font-size: 25px;

    filter:
        drop-shadow(0 0 5px rgba(0, 174, 255, .6));

}


/* =========================================================
   COLUMNAS FOOTER
========================================================= */

.footer-column {

    padding-left: 30px;

    border-left:
        1px solid rgba(0, 174, 255, .3);

}


.footer-column h4,
.social-column h4 {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    color: #f1fbff;

    font-size: 18px;

    font-weight: 700;

}


.footer-column h4 i,
.social-column h4 i {

    color: var(--phone-blue);

    font-size: 24px;

    filter:
        drop-shadow(0 0 5px rgba(0, 174, 255, .7));

}


/* =========================================================
   LISTAS FOOTER
========================================================= */

.footer-column ul {

    margin: 0;

    padding: 0;

    list-style: none;

}


.footer-column li {

    margin-bottom: 14px;

}


.footer-column a {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #b7cddd;

    font-size: 14px;

    text-decoration: none;

    transition: .3s;

}


.footer-column a i {

    color: var(--phone-blue);

    font-size: 11px;

}


.footer-column a:hover {

    color: white;

    transform: translateX(5px);

    text-shadow:
        0 0 8px rgba(0, 174, 255, .8);

}


/* =========================================================
   CONTACTO
========================================================= */

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 18px;

}


.contact-item > i {

    min-width: 25px;

    color: var(--phone-blue);

    font-size: 21px;

    filter:
        drop-shadow(0 0 5px rgba(0, 174, 255, .6));

}


.contact-item strong {

    display: block;

    color: #dff4ff;

    font-size: 13px;

    font-weight: 500;

}


.contact-item small {

    display: block;

    margin-top: 3px;

    color: #7f9caf;

    font-size: 11px;

}


/* =========================================================
   REDES
========================================================= */

.social-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.social-buttons a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    color: var(--phone-blue);

    background: rgba(0, 145, 255, .04);

    border:
        1px solid var(--phone-blue);

    border-radius: 10px;

    font-size: 21px;

    text-decoration: none;

    transition: .3s;

}


.social-buttons a:hover {

    color: white;

    background: var(--phone-blue);

    transform: translateY(-5px);

    box-shadow:
        0 0 10px var(--phone-blue),
        0 0 25px rgba(0, 174, 255, .5);

}


.connected-text {

    margin-top: 45px;

    color: var(--phone-blue);

    font-size: 25px;

    font-weight: 700;

    font-style: italic;

    line-height: 1.1;

    transform: rotate(-3deg);

    text-shadow:
        0 0 8px rgba(0, 174, 255, .7);

}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    position: relative;

    z-index: 2;

    padding: 18px 0;

    background: rgba(0, 5, 14, .75);

    border-top:
        1px solid rgba(0, 174, 255, .4);

}


/* =========================================================
   COMPRA SEGURA
========================================================= */

.secure-payment {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #cde9fa;

    font-size: 13px;

}


.secure-payment i {

    color: var(--phone-blue);

    font-size: 24px;

}


.separator {

    width: 1px;

    height: 20px;

    background: rgba(0, 174, 255, .5);

}


/* =========================================================
   PAGOS
========================================================= */

.payment-methods {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 20px;

}


.payment {

    color: white;

    font-size: 18px;

    font-weight: 700;

    white-space: nowrap;

}


.visa {

    font-size: 24px;

    font-style: italic;

}


.mastercard {

    display: flex;

    align-items: center;

}


.mastercard i {

    margin-left: -8px;

    font-size: 25px;

}


.amex {

    padding: 4px 7px;

    color: white;

    border: 1px solid #b8eaff;

    border-radius: 3px;

    font-size: 8px;

    text-align: center;

}


.paypal {

    display: flex;

    align-items: center;

    gap: 5px;

}


.mercado {

    display: flex;

    align-items: center;

    gap: 5px;

    font-size: 11px;

}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {

    color: #7893a5;

    font-size: 12px;

    text-align: right;

}


.copyright span {

    color: var(--phone-blue);

    font-weight: 600;

}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 60px;

    height: 60px;

    color: white;

    background: var(--phone-dark-2);

    border:
        2px solid rgba(255, 255, 255, .8);

    border-radius: 50%;

    font-size: 32px;

    text-decoration: none;

    box-shadow:
        0 0 8px rgba(13, 40, 116, .8),
        0 0 18px rgba(37, 211, 102, .5),
        0 0 30px rgba(0, 170, 255, .25);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background-color .3s ease;

}


.whatsapp-float:hover {

    color: white;

    background: #20bd5a;

    transform:
        translateY(-6px)
        scale(1.08);

    box-shadow:
        0 0 10px #25d366,
        0 0 22px rgba(37, 211, 102, .8),
        0 0 35px rgba(0, 170, 255, .4);

}


.whatsapp-float::before {

    content: "";

    position: absolute;

    width: 100%;

    height: 100%;

    border:
        2px solid var(--phone-dark);

    border-radius: 50%;

    animation:
        whatsapp-pulse 2s infinite;

    pointer-events: none;

}


@keyframes whatsapp-pulse {

    0% {

        transform: scale(1);

        opacity: .7;

    }

    70% {

        transform: scale(1.35);

        opacity: 0;

    }

    100% {

        transform: scale(1.35);

        opacity: 0;

    }

}


/* =========================================================
   RESPONSIVE — 1200 PX
========================================================= */

@media (max-width: 1200px) {

    .productos-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }

}


/* =========================================================
   RESPONSIVE — 1100 PX
========================================================= */

@media (max-width: 1100px) {

    .navbar-fixoem .nav {

        gap: 2px;

    }


    .navbar-fixoem .nav-link {

        padding-left: 8px;
        padding-right: 8px;

        font-size: 13px;

    }

}


/* =========================================================
   RESPONSIVE — 992 PX
========================================================= */

@media (max-width: 992px) {

    body {

        padding-top: 72px;

    }


    .navbar-fixoem {

        min-height: 72px;

    }


    .navbar-fixoem .nav {

        display: none;

    }


    .catalogo-piezas {

        padding: 50px 0 65px;

    }


    .catalogo-header {

        align-items: stretch;

        flex-direction: column;

        gap: 20px;

    }


    .buscador-piezas {

        flex-basis: auto;

        width: 100%;

    }


    .productos-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }


    .footer-column {

        padding-left: 15px;

        border-left: none;

    }


    .social-column {

        padding-top: 25px;

        border-top:
            1px solid rgba(0, 174, 255, .2);

    }


    .secure-payment {

        justify-content: center;

    }


    .copyright {

        text-align: center;

    }

}


/* =========================================================
   RESPONSIVE — 768 PX
========================================================= */

@media (max-width: 768px) {

    .catalogo-header h1 {

        font-size: 29px;

    }


    .productos-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 13px;

    }


    .producto-imagen {

        height: 165px;

    }


    .producto-info {

        min-height: 225px;

        padding: 13px;

    }


    .footer-brand {

        justify-content: center;

    }


    .footer-description {

        margin-right: auto;
        margin-left: auto;

        text-align: center;

    }


    .trust-items {

        justify-content: center;

    }

}


/* =========================================================
   RESPONSIVE — 576 PX
========================================================= */

@media (max-width: 576px) {

    body {

        padding-top: 68px;

    }


    .navbar-fixoem {

        min-height: 68px;

        padding: 3px 10px;

    }


    .navbar-fixoem .navbar-brand img {

        width: 50px;

        height: 50px;

    }


    .navbar-fixoem .brand-title {

        font-size: 17px;

    }


    .navbar-fixoem .brand-subtitle {

        font-size: 9px;

    }


    .catalogo-piezas {

        padding: 42px 0 55px;

    }


    .catalogo-piezas .container {

        width: 100%;

        max-width: 100%;

        padding-right: 14px;

        padding-left: 14px;

    }


    .catalogo-header h1 {

        font-size: 26px;

    }


    .catalogo-header p {

        font-size: 13px;

    }


    .buscador-piezas {

        width: 100%;

    }


    .categorias-piezas {

        margin-bottom: 22px;

        padding-bottom: 7px;

    }


    .categoria-btn {

        padding: 8px 14px;

    }


    .productos-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .producto-imagen {

        height: 210px;

    }


    .producto-info {

        min-height: auto;

        padding: 15px;

    }


    .producto-info h3 {

        min-height: auto;

        font-size: 15px;

    }


    .producto-info p {

        font-size: 12px;

    }


    .producto-precio {

        font-size: 18px;

    }


    .btn-carrito {

        min-height: 42px;

        font-size: 12px;

    }


    .footer-brand {

        flex-direction: column;

        text-align: center;

    }


    .footer-column {

        padding-left: 10px;

        text-align: left;

    }


    .social-column {

        text-align: center;

    }


    .social-column h4 {

        justify-content: center;

    }


    .social-buttons {

        justify-content: center;

    }


    .connected-text {

        text-align: center;

    }


    .secure-payment {

        flex-wrap: wrap;

        justify-content: center;

        text-align: center;

    }


    .payment-methods {

        gap: 12px;

    }


    .copyright {

        text-align: center;

    }


    .whatsapp-float {

        right: 18px;

        bottom: 18px;

        width: 52px;

        height: 52px;

        font-size: 27px;

    }

}
