#ui_header {
    width: 100%;
    position: absolute;
    top: 55px;
    transition: all ease 0.5s;
    display: flex;
    flex-direction: column;
}


#ui {
    position: absolute !important;
    top: 215px !important;
    left: 10px !important;
    width: auto !important;
    background: #00000099 !important;
    padding: 10px !important;
    border-radius: 10px !important;
}

#ui2 {
    position: absolute !important;
    top: 215px !important;
    right: 10px !important;
    width: 97px !important;
    background: #00000099 !important;
    padding: 10px !important;
    border-radius: 10px !important;
}

#rotControls {
    display: flex;
    flex-direction: column;
}

#posControls {
    display: flex;
    flex-direction: column;
}

#btn_cont {
    display: grid;
}

#title {
    background-color: black;
    width: 97%;
    align-self: center;
    margin-top: 6px;
    align-content: center;
    height: 25px;
    border-radius: 10px;
    padding-left: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#btnFullscreen {
    border: none;
    background-color: #dcdcdcd4;
    border-radius: 5px;
    width: max-content;
    margin-right: 5px;
}

#btnFullscreen:hover {
    background-color: orange;
    color: white;
}

#title_txt {
    color: #ff5100;
    font-style: italic;

}

#title_txt::first-letter {
    text-transform: uppercase;
}

#brand_container {
    display: flex;
    backdrop-filter: blur(12px);
    width: 97%;
    border-radius: 10px;
    justify-content: space-between;
    align-self: anchor-center;
    flex-direction: row;
    padding: 2px;
    background-color: #dcdcdc85;
}

.garage-banner {
    padding: 5px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid orange;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(255, 51, 0, .12),
        0 0 20px rgba(255, 51, 0, .08);
    position: relative;
    overflow: hidden;
}

.garage-banner:hover {
    border: 1px solid yellow;
    cursor: pointer;
    background-color: black;
}

.garage-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.txt-down {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.txt-main {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.txt-sep {
    color: #8f8f8f;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.txt-highlight {
    color: #ff5500;
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255, 85, 0, .25);
}

button {
    display: block;
    margin: 5px 0;
    width: 100%;
    cursor: pointer;
}

.header {
    padding: 1rem !important;
}


.btn_categoria {
    user-select: none;
    width: 90px !important;
    height: 40px !important;
}

label {
    color: white;
}

#part_txt {
    font-style: italic;
    margin: 0px;
    text-align: center;
    align-self: center;
    width: 8vw;
    font-size: 15px;
    color: #ffffff;
    white-space: nowrap;
}

.parts_ui {
    display: none;
    flex-direction: row !important;
    gap: 10px;
}

body {
    overflow: hidden;
}

#goBack {
    display: none;
    backdrop-filter: blur(10px);
    left: 0.5%;
    bottom: -.5%;
    position: absolute;
    background-color: #0000009a;
    box-shadow: 0px 0px 0px 2px #ffffff76;
    border-radius: 6px;
    width: max-content;
    padding: 5px;
    color: white;
    border: none;
}

#goBack:hover {
    color: #ff5100;
    cursor: pointer;
    background-color: #000000b8;
    box-shadow: 0px 0px 0px 2px #ff5100;
}

#part_logo {
    width: 7.5vw;
    height: auto;
    padding: 2px;
    background: #00000078;
    border-radius: 10px;
}

#part_logo_container {
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: anchor-center;
    border-radius: 12px;
    gap: 5px;

}

#part_logo_container:hover #part_txt {
    color: #ff5100 !important;
}

#part_logo_container:hover #part_logo {
    box-shadow: 0px 0px 5px 2px #ff5100;
    cursor: pointer;
}

.equip_ui {
    position: absolute;
    top: 14vw;
    background-color: #0000007a !important;
    padding: 5px;
    border-radius: 10px;
    backdrop-filter: blur(6px);

    max-height: calc(100vh - 17vw);

    overflow-y: auto;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-right: 8px;
    width: 25%;
}

#equip_ui::-webkit-scrollbar {
    width: 8px;
}

#equip_ui::-webkit-scrollbar-thumb {
    background: #ff7b00;
    border-radius: 20px;
}

#equip_ui::-webkit-scrollbar-track {
    background: #ffffff14;
}

/* Tarjeta */
#equip_logo_container {
    display: flex;
    align-items: center;
    padding: 5px;
    gap: 10px;
    border-radius: 12px;
    background: #141414e0;
    border: 1px solid #ffffff14;
    user-select: none;
    backdrop-filter: blur(8px);

    transition: .2s;

}

#equip_logo_container:hover {
    border-color: #ff8200;
    background: #361300f2;
}

/* Imagen */
#equip_logo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    background: #ffffff;
    flex-shrink: 0;
}

#rightPart2 {
    display: flex;
    margin: 0px;
    flex-direction: column;
    height: -webkit-fill-available;
    gap: 10px !important;
    align-items: stretch;
    justify-content: space-between;
    align-content: space-between;

}

#stockCantTxt {
    color: lime !important;
}

/* Nombre */
#equip_txt {
    margin: 0px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: break-word;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
    width: 60% !important;
}

#precioContainer {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    text-align: center;
    text-align-last: center;
    justify-content: space-between;
}

#precioCont {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    border-width: thin;
    padding: 5px;
    width: 100%;
    box-shadow: 0px 0px 0px 1px #b45e00;

}

#equipResumen {
    display: flex;
    width: 300px;
    position: absolute;
    right: 1.5vw;
    bottom: 30px;
    color: white;
    flex-direction: column;
    background: #00000066;
    user-select: none;
    padding: 5px;
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

#itemNombre {
    flex: 1;
    white-space: nowrap;
    position: relative;
    word-break: keep-all;
    overflow: hidden;
    font-size: 12px;
}

#itemNombre span {
    display: inline-block;
    white-space: nowrap;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--distancia));
    }
}

.equipResumenItem {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

#totalLabel {
    text-align: center;
}

#noProdTxt {
    display: flex;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 5px;
}

#equipResumenTotal {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

#resumenPrecioEfect {
    color: #ff8200 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    width: max-content !important;
    align-self: center;
}

#resumenPrecio {
    color: #b9b9b9 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    width: max-content !important;
    align-self: center;
}

.total {
    display: flex;
    gap: 6px;
    margin-top: 5px;
    flex-direction: column;
}

.ResumenTotal {
    display: flex;
    flex-direction: column;
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0px 0px 0px 1px #b45e00;
}

#itemTitulo {
    font-size: 20px;
}

#showHide {
    display: flex;
    width: 24% !important;
    height: 22px !important;
    align-items: center;
    margin: 0;
    justify-content: center;
    border: 1px solid #ff8c42;
    border-radius: 5px;
    background: #ff8c421f;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

#sumarCarrito {
    width: 95% !important;
    height: 22px !important;
    align-items: center;
    margin: 0;
    margin-top: 5px;
    align-self: center;
    border: 1px solid #ff8c42;
    border-radius: 5px;
    background: #ff8c421f;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

#sumarCarrito:hover {
    background: #ff8c42;
}

#showHide:hover {
    background: #ff8c42;
}

.resumenHeaderCont {
    display: flex;
    flex-direction: row;
    gap: 34px;
    font-size: 15px;
    margin-bottom: 5px;
    justify-content: flex-end;
    align-items: center;
}

#precioLabel {
    width: max-content !important;
    font-size: 12px;
    align-self: center;
    margin: 0px;
    color: #d6d6d6 !important;
}

#leftPart2 {
    display: flex;
    margin: 0px;
    flex-direction: column;
    width: max-content !important;
    height: -webkit-fill-available;
    justify-content: space-between;
}

#equip_btn {
    display: flex;
    width: 30% !important;
    height: 25px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #ff8c42;
    border-radius: 5px;
    background: #ff8c421f;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin: 0px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

#equip_btn:hover {
    background: #ff8c42 !important;
    border-color: #ff9d5a !important;
    box-shadow: 0 0 18px #ff8c4259 !important;
    cursor: pointer !important;
}

#equip_btn:active {
    background: #f57c20 !important;
    border-color: #f57c20 !important;
}

#equip_btn:focus-visible {
    outline: 2px solid #ffd3a8 !important;
    outline-offset: 3px !important;
}

#rightTopPart {
    display: flex;
    flex-direction: row;
    width: -webkit-fill-available;
    justify-content: space-between;
    align-items: flex-start;
}

#detalles {
    color: orange;
}

#detalles:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Precio */
#equip_precio_txt {
    align-self: center;
    margin: 0px !important;
    width: max-content !important;
    color: #d6d6d6 !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

#stockTxtLabel {
    width: max-content !important;
    margin: 0px !important;
    color: gainsboro;
}

#equip_precio_eff_txt {
    color: #ff8200 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    width: max-content !important;
    margin: 0px !important;
    align-self: center;
}

#stockContainer {
    gap: 5px;
    display: flex;
    align-items: center;
    flex-direction: row;
}

/* Si no hay precio, ocultarlo */
#equip_precio_txt:empty {
    display: none;
}

.brands_cont {
    width: 90%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px;
    display: flex;
    flex-direction: row !important;
    gap: 12px;

    scrollbar-width: none;

    /* fade izquierda y derecha */
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 2%,
            black 98%,
            transparent 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            black 2%,
            black 98%,
            transparent 100%);
}

#main_desc_img {
    user-select: none;
    width: 150px;
    height: 30px;
    opacity: 0.7;
    object-fit: contain;
}

#aoControls {
    display: flex;
    flex-direction: column;
}

#aoControls label {
    display: flex;
    flex-direction: row;
}

.brand_center_container {
    display: flex;
    flex-direction: row;
    border-radius: 5px;
    /* width: auto; */
    opacity: 0.7;
    /* height: 85px; */
    transition: all ease 0.25s;
}

.brand_center_container:hover {
    box-shadow: 0px 0px 5px 2px #ff5100;
    cursor: pointer;
    opacity: 1;
}

.brand_center_container.selected {
    box-shadow: 0px 0px 5px 2px #ff5100;
    cursor: pointer;
    opacity: 1;
}

#brand_logo_container {
    user-select: none;
    display: flex;
    background: #00000042;
    border-radius: 5px;
    flex-direction: column;
    text-align-last: center;
    align-items: center;
    align-content: center;
}

#main_desc_txt {
    font-size: 45px;
    font-style: italic;
}

#sec_desc_txt {
    margin: 0px !important;
    width: 100% !important;
    color: white !important;
    user-select: none;
    white-space: nowrap;
    word-wrap: nowrap;
    font-size: 20px;
    color: #0000007d !important;
}

#brand_desc {
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    align-items: center;
    padding-right: 5px;
    margin-bottom: 5px;
}

#brand_desc p {
    color: #00000078 !important;
}

#brand_logo {
    /* width: 110px; */
    padding-left: 5px;
    height: 35px;
    margin-right: 5px;
    padding-top: 5px;
    padding-right: 10px;
    object-fit: contain;
}

#position {
    background: #00000082;
    width: 98%;
    align-self: center;
    height: 10px;
    border-radius: 11px;
    margin-bottom: 2px;
    margin-top: 2px;
}

#btn_next {
    border: none;
    border-radius: 130px;
    background-color: transparent;
    width: auto;
    left: 10px;
}

#btn_next svg {
    transform: scale(-1);
}

svg:hover path,
svg:hover circle {
    stroke: orange;
}

#btn_prev {
    background-color: transparent;
    width: auto;
    border: none;
    border-radius: 130px;
    right: 10px;
}

.header {
    height: 25px !important;
    transition: all ease 0.5s;
}

.header:hover {
    height: 50px !important;
}

.header:hover+#ui_header {
    top: 85px;

}

#campos:hover {
    cursor: pointer;
    background-color: gray;
}

#camrot:hover {
    cursor: pointer;
    background-color: gray;
}

input {
    cursor: pointer;
}

.tutorial_ui {
    position: fixed;
    inset: 0;
    z-index: 100;

    pointer-events: none;

    color: #fff;
    font-family: Arial, sans-serif;
}


/* =========================================
   CONTROLES
========================================= */

.tutorial_controls {
    position: absolute;

    right: 35px;
    top: 50%;

    transform: translateY(-50%);

    width: 205px;
    padding: 20px 21px;

    background: rgba(0, 0, 0, 0.34);

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.8);
}


.tutorial_title {
    margin-bottom: 17px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;

    opacity: 0.55;
}


.tutorial_control {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 17px;
}


.tutorial_control:last-child {
    margin-bottom: 0;
}


/* SVG de cada control */

.tutorial_svg {
    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    fill: none;

    stroke: rgba(255, 255, 255, 0.88);

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

    filter:
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}


.tutorial_control b {
    display: block;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.2px;
}


.tutorial_control small {
    display: block;

    margin-top: 3px;

    font-size: 10px;
    line-height: 1.25;

    opacity: 0.52;
}


/* =========================================
   INDICADOR DE CARGA
========================================= */
.tutorial_load {
    position: fixed;

    left: 42%;
    top: clamp(120px, 43vh, 280px);

    transform: translate(-50%, -50%);

    width: 330px;
    text-align: center;

    animation: tutorialFloat 2.2s ease-in-out infinite;
}

/* Flecha */

.tutorial_arrow {

    display: block;

    width: 115px;
    height: 190px;

    margin: 0 auto;

    fill: none;

    stroke: rgba(255, 255, 255, 0.68);

    stroke-width: 8;

    stroke-linecap: round;
    stroke-linejoin: round;

    filter:
        drop-shadow(0 3px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
}


/* Texto */

.tutorial_load_text {

    margin-top: 3px;

    font-size: 16px;

    font-weight: 600;

    line-height: 1.35;

    letter-spacing: 0.1px;

    opacity: 0.78;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.95);
}


.tutorial_load_text span {

    display: block;

    margin-top: 3px;

    font-size: 13px;

    font-weight: 400;

    opacity: 0.62;
}


/* =========================================
   ANIMACIÓN FLECHA
========================================= */

@keyframes tutorialFloat {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 10px));
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .tutorial_controls {

        right: 12px;
        bottom: 15px;
        top: auto;

        transform: none;

        width: 170px;

        padding: 13px 15px;
    }


    .tutorial_title {
        margin-bottom: 11px;
    }


    .tutorial_control {
        gap: 9px;
        margin-bottom: 10px;
    }


    .tutorial_svg {
        width: 27px;
        height: 27px;
    }


    .tutorial_control b {
        font-size: 11px;
    }


    .tutorial_control small {
        font-size: 9px;
    }


    .tutorial_load {

        left: 39%;
        top: 30%;

        width: 250px;
    }


    .tutorial_arrow {

        width: 90px;
        height: 150px;

        stroke-width: 7;
    }


    .tutorial_load_text {
        font-size: 12px;
    }


    .tutorial_load_text span {
        font-size: 11px;
    }

}

/* =====================================================
           VERTICAL
           ===================================================== */

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: transparent !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background: #ff8200 !important;
    border-radius: 999px !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: #ff9d33 !important;
}


/* =====================================================
           HORIZONTAL — INVISIBLE
           ===================================================== */

html::-webkit-scrollbar-track:horizontal,
body::-webkit-scrollbar-track:horizontal,
*::-webkit-scrollbar-track:horizontal {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html::-webkit-scrollbar-thumb:horizontal,
body::-webkit-scrollbar-thumb:horizontal,
*::-webkit-scrollbar-thumb:horizontal {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

html::-webkit-scrollbar-button:horizontal,
body::-webkit-scrollbar-button:horizontal,
*::-webkit-scrollbar-button:horizontal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
    background: transparent !important;
}


/* ==========================================
           BRANDS
           ========================================== */

.brands_cont {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.brands_cont::-webkit-scrollbar {
    height: 0 !important;
    width: 0 !important;
    display: none !important;
}

.brands_cont::-webkit-scrollbar-track,
.brands_cont::-webkit-scrollbar-thumb,
.brands_cont::-webkit-scrollbar-button {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    background: transparent !important;
}

/* =====================================================
           FIREFOX
           ===================================================== */

html,
body,
* {
    scrollbar-color: #ff8200 transparent !important;
    scrollbar-width: thin !important;
}