@font-face {
    font-style: normal;
    font-family: 'Gotham';
    line-height: 1.5;
    font-display: swap;
    
    src:url('./gotham/Gotham-Font/gotham_medium.woff2') format('woff2'), 
        url('./gotham/Gotham-Font/gotham_medium.woff') format('woff'),
        url('./gotham/Gotham-Font/gotham_medium.ttf') format('truetype'),
        url('./gotham/Gotham-Font/gotham_medium.otf') format('opentype');
}

@font-face {
    font-style: normal;
    font-family: 'Gotham';
    line-height: 1.5;
    font-display: swap;
    src:url('./gotham/Gotham-Font/gotham_medium.woff2') format('woff2'), 
        url('./gotham/Gotham-Font/gotham_medium.woff') format('woff'),
        url('./gotham/Gotham-Font/gotham_medium.ttf') format('truetype'),
        url('./gotham/Gotham-Font/gotham_medium.otf') format('opentype');
}

@media (max-width: 1700px) {
    
    .total-competitor h4{
        font-size: 15px !important;
    }
    .total-competitor h4{
        font-size: 20px !important;
    }
}

input, select{
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
    color: black;
    overflow:visible !important;
}

::-webkit-scrollbar{
    width: 15px;
}

::-webkit-scrollbar-track{
    background-color: #F8F8F8;
}

::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background-color: #6b6b6b;
}

::-webkit-scrollbar-thumb:hover{
    background-color: #363636;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-style: normal;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
}

html, body {
    line-height: 1.5;
    height: 100%;
    background-color: #d5d5d5;
}

h1,h4{
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
}

h3{
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
    margin: 15px;
}

textarea:focus, input:focus{
    outline: none;
}

.comparador{
    margin-top: 10px;
    display: flex;
    height: calc(100% - 180px);
    align-items: center;
}

.container{
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Espacio entre las cartas */
    padding: 0px 10px 10px 10px;
    height: 100%;
    width: 100%;
}

.card-container{
    flex: 1 1 calc(20% - 20px); /* Ocupa un tercio del contenedor menos el espacio */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #ebebeb;
    position: relative;
}

.comparar-mes{
    height: 100px;
    width: 6em;
    align-items: center;
    justify-content: center;
    display: flex;
}

.cross {
    position: absolute;
    width: 4em;
    height: 4em;
    border: none;
    background: transparent;
    border-radius: 2em;
}
  
.cross-X {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2em;
    height: 2px;
    background-color: #333;
}
  
.cross-Y {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2em;
    height: 2px;
    background-color: #333;
}
  
.cross:hover {
    cursor: pointer;
}

.products-container{
    width: 100%;
    line-height: 1em;
}

.product-card{
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%; 
    height: 120px; 
    margin-top: 15px; 
    background-color: white;
    display: flex;
    align-items: center;
    cursor:default;
    position: relative;
    padding-left: 20px;
    page-break-inside: avoid;
}

.product-iva{
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%; 
    height: 80px; 
    margin-top: 15px; 
    background-color: white;
    display: flex;
    align-items: center;
    cursor:default;
    position: relative;
    padding-left: 20px;
}

.hover{
    background-color: #ccc;
}

.img-product{
    width: 80px;margin-top: -20px;margin-left: -15px;
}

.fam-product{
    font-size: 15px;
}

.name-product{
    margin-top: 2px;
    font-size: 20px;
    margin-bottom: 0px;
    line-height: 1.1;
}

.ref-product{
    font-size: 15px;
}

.diam-product{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgb(238, 238, 238);
    border-radius: 10px;
    width: auto;
    padding-right: 10px;
    height: 30px;
    padding-left: 14px;
    font-size: 15px;
    cursor: pointer;
    border: solid 1px black;
}

.quantity-product{
    font-size: 15px;
    border: solid 1px black;
    padding-left: 20px;
    background-color: rgb(238, 238, 238);
    border-radius: 10px;
    width: 70px;
    height: 30px;
}

.pvp-product{
    font-size: 28px;
    position: absolute;
    top: 20px;
    right: 5px;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
}

.ppu-product{
    font-size: 17px;
    position: absolute;
    top: 42px;
    right: 27px;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
}

.netprice-product{
    font-size: 28px;
    position: absolute;
    bottom: 29px;
    right: 5px;
    color: #105378;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
}

.ppu-netprice-product{
    font-size: 17px;
    position: absolute;
    bottom: 7px;
    right: 27px;
    color: #105378;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
}

.cart-product{
    border:none;
    background-color:transparent;
    height:4em;
    width:4em;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    position: absolute;
    right: 82px;
}

input[type=number]::-webkit-inner-spin-button {
    height: 30px;
}

.triar:hover{
    background-color: #ebebeb;
}

.name-product-competitor{
    font-size: 25px;
}

.ref-product-competitor{
    font-size: 9px;
}

.pvp-product-competitor{
    right: 40px; font-size: 35px;margin-top: -35px; position: absolute;
}

.ppu-product-competitor{
    position:absolute;right:62px ;margin-top: -15px;font-size: 15px;
}



.popup{
    background: rgba(0,0,0,.3);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
	justify-content: center;
	display: flex;
    visibility: hidden;
    z-index: 100;
}

.popup-card{
    background: #F8F8F8;
    width: 90%;
    height: 82%;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	border-radius: 1em;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
}

.card-product{
    background-color: white;padding: 10px;height: auto; width: 200px;display: flex; flex-direction: column;border: solid 1px #333;border-radius: 10px;cursor: pointer; position: relative;
    align-items: center;
    overflow: hidden;
}

.card-product h5{
    font-weight: 600;
}

.card-product:hover{
    background: #ebebeb;
}

.card-product>img{
    width: 150px;
}

.select-filtre:focus{
    outline: none; /* Elimina el borde por defecto cuando el select está enfocado */
    box-shadow: none; /* Elimina cualquier sombra que pueda aparecer */
}

.select-competitor:focus {
    outline: none; /* Elimina el borde por defecto cuando el select está enfocado */
    box-shadow: none; /* Elimina cualquier sombra que pueda aparecer */
    border: none; /* Elimina el borde del select */
}

.select-competitor{
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-left:10px;margin-top:20px;cursor: pointer;font-weight:bold;font-size: 1.17em;color:#333;border:none;background: transparent;
}

.button-competitor{
    top: 8px; right: 8px;
}

.total-competitor{
    width: 90%;
    height: 50px;
    color: #333;
    bottom: 15px;
    right: 0px; 
    display:flex; 
    position: absolute; 
    font-size: 30px;
    margin-bottom: 15px;
}

#popup-filtre{
    margin-left: 20px;display:flex; padding: 5px; gap: 10px;flex-wrap: wrap; margin-right: 20px;
}

.filtre{
    border-radius: 30px; 
    border: solid 1px black;
    display: flex;
    align-items: center; 
    padding: 10px;
    gap:10px
}

.select-filtre{
    cursor: pointer;
    background-color: transparent; 
    border-radius: 20px;
    padding: 10px;
    font-size: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    height: 40px;
    font-weight: 900;
    border: solid 1px black;
}

.filtre input, .filtre textarea{
    cursor: pointer;
    height: 40px;
    background-color: transparent; 
    border-radius: 20px;
    padding-left: 15px;
    padding-right: 10px;
    font-size: 15px;
    border: solid 1px;
    width: 150px;
    font-weight: 900;
}

.filtre-delete{
    cursor: pointer;
    background-color: transparent;
    border: solid 1px black;
    border-radius: 30px;
    height: 62px;
    width: 62px; 
    margin-left: 10px;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.input-discount::-webkit-outer-spin-button,
.input-discount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para Firefox */
.input-discount {
    --moz-appearance: textfield;
    position: absolute;
    top: 0px;
    left: 0px;
    cursor:text;
    height: 38px;
    background-color: transparent; 
    border-radius: 10px;
    padding-right: 10px;
    font-size: 20px;
    border: none;
    width: 100%;
    z-index: 10;
    padding-left: 27px;
    padding-top: 2px;
}

/* HTML: <div class="loader"></div> */

#input-ports::-webkit-inner-spin-button, #input-iva::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
}

#input-ports, #input-iva{
    -moz-appearance: textfield;
}

#popup-card-error{
    background: #ffbfbf;
    width: 800px;
    height: 200px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	border-radius: 1em;
    margin-left: 20px;
    margin-right: 20px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.div-total-price{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    color: #333;
    font-size: 30px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 15px;
    margin: 0 auto;
    margin-bottom: 15px;
    page-break-inside: avoid;
}

.div-add-product{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 200px;
}

select:disabled{
    color: black;
}

option{
    border-radius: 10px;
    background-color: #ebebeb;
    margin-top: 10px;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
}

.card-create-product{
    padding: 10px;
    height: auto; width: 200px;display: flex; 
    align-items: center;
    justify-content: center;
}

.products-competitor{
    width: 100%;display: flex; flex-wrap: wrap;justify-content: center; gap: 2rem;
}

.popup-filtre-competitor{
    margin-left: 20px;display:flex;height: 70px; padding: 5px;gap: 10px;
}

.edit-product-competitor{
    border: none;cursor: pointer;height: 40px; width: 40px; background-color: transparent;
}



/* crear producto*/

.input-container.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
    width: 50%;
    opacity: 1;
}

.input-container {
  position: relative;
  margin: 10px;
}

.input{
  width: 100%;
  outline: none;
  border: 1px solid black;
  background: none;
  padding: 0.6rem 1.2rem;
  color: black;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: black;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #ebebeb;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

#description-label{
    top: 1rem;
    transform: translateY(0);
}

.input-container.focus label {
  top: 0 !important;
  transform: translateY(-50%) !important;
  left: 25px;
  font-size: 0.8rem;
}

.windows-elements{
    max-width: calc(100% - 60px);
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.windows-click{
    cursor: pointer;
    display: inline-block; /* Ajusta el ancho al contenido */
    border: 1px solid black;
    height: 40px;
    border-radius: 10px;
}

.windows-click h3{
    white-space: nowrap;
}

.windows-input{
    flex: 0 0 auto; 
    background-color: transparent;
    cursor: pointer;
    border: 1px solid black;
    height: 40px;
    border-radius: 10px;
    padding: 0 10px; /* Agrega padding para que haya espacio a los lados */
    font-size: 1.17em;
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;;
}

#logo-little{
    position: absolute;
    left: 10px;
    height: 80px;
    display: none;
}

#title-page{
    width: calc(100% - 160px);
    display: flex;
    justify-content: center;
    text-align:center;
}

#all-products-popup{
    height: calc(100% - 229px)
}

@media (max-height: 800px) {
    .input-container{
        margin: 5px !important;
    }
    .input-container > input{
        padding: 0.4rem 1rem !important;
    }
    #input-container-1{
        margin-top: 70px !important;
    }
    .popup-create-card > h3{
        top: 10px !important;
        left: 10px !important;
    }
    #close-popup-create{
        top: 10px !important;
        right: 10px !important;
    }
}

@media (max-width: 1050px) {
    .desc-product-div{
        width: calc(100% - 780px) !important; 
    }
    #logo-big{
        display: none;
    }
    #logo-little{
        display: block; 
    }
    #title-page{
        font-size: 40px !important;
        margin-top: 10px !important;
    }
    .product-diam-quant{
        flex-direction: column !important;
    }
}

@media (max-width: 550px) {
    #title-page{
        font-size: 30px !important;
    }
    #logo-little{
        height: 50px;
    }
    #top-head-div{
        height: 80px !important;
    }
    #download img{
        height: 40px !important;
    }
}

@media (max-width: 430px) {
    #title-page{
        font-size: 25px !important;
    }
    #descuento-bofill-text{
        display: none;
    }
}

@media (max-width: 385px) {
    #title-page{
        font-size: 20px !important;
    }
}

@media (max-width: 338px) {
    #title-page{
        font-size: 17px !important;
    }
}

@media (max-width: 950px) {
    .title-newtotal{
        font-size: 15px !important;
    }
    .title-newtotal-b{
        left: 17% !important;
    }
    .title-newtotal-i{
        left: 36% !important;
    }
    .div-newtotal{
        bottom: 10px !important;
        height: 60px !important;
    }
    .div-newtotal > div{
        height: 30px !important;
    }
    .div-total-price h4{
        font-size: 20px !important;
    }
    .div-total-price{
        transform: translateY(30px) !important;
    }
    .desc-product-div{
        display: none !important;
    }
}

@media (max-width: 1417px) {
    #all-products-popup{
        height: calc(100% - 301px);
    }
}

@media (max-width: 1015px) {
    #all-products-popup{
        height: calc(100% - 373px);
    }
    #popup-card{
        overflow-y: scroll;
    }
    #all-products-popup{
        overflow-y: visible !important;
    }
}

@media (max-width: 758px) {
    .title-newtotal{
        font-size: 13px !important;
    }
    .title-newtotal-b{
        left: 18% !important;
    }
    .title-newtotal-i{
        left: 40% !important;
    }
    .select-filtre{
        font-size:10px;
    }
    .div-total-price h4{
        font-size: 15px !important;
    }
    .div-total-price-pvp{
        transform: translateY(45px) !important;
    }
    #div-filtre{
        flex-wrap: wrap;
        width:min-content;
    }
    #popup-filtre{
        flex-wrap:unset;
        flex-direction: column;
        align-items: center;
    }
    #closePopupBofill{
        right: 8% !important;
    }
}


@media (max-width: 820px) {
    .product-prices-2{
        right: 40px !important;
    }
    .product-remove-2{
        right: 0px !important;
    }
    .product-pvp-net-2{
        right: 160px !important;
    }
    .product-diam-quant{
        right: 200px !important;
    }
    .product-titles-2{
        margin-left: 0px !important;
    }
    .product-img-2{
        margin-left: 0px !important
    }
    .product-card{
        padding-left: 0px !important;
    }
}

@media (max-width: 550px) {
    .title-newtotal{
        font-size: 10px !important;
    }
    .title-newtotal-b{
        left: 23% !important;
    }
    .title-newtotal-i{
        left: 50% !important;
    }
    .div-total-price h4{
        font-size: 12px !important;
    }
    .div-total-price-pvp{
        transform: translateY(50px) !important;
    }
    .product-img-2{
        width: 60px !important;
        height: 60px !important;
    }
    .product-card{
        height: 80px;
    }
    .fam-product{
        font-size: 10px;
    }
    .name-product{
        font-size: 13px;
    }
    .ref-product{
        font-size: 10px;
    }
    .product-diam-quant{
        height: 60px;
        right: 150px !important;
    }
    .diam-product, .quantity-product{
        height: 20px;
        font-size: 10px;
        width: 45px;
    }
    .product-pvp-net-2{
        height: 80px !important;
        width: 23px !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        right: 120px !important;
    }
    .product-pvp-net-2 p{
        font-size: 11px !important;
        position: relative !important;
        right: 0px !important;
        top: 0px !important;
    }
    .product-prices-2{
        height: 80px !important;
        width: 100px !important;
    }
    .pvp-product, .netprice-product{
        font-size: 18px !important;
    }
    .ppu-product, .ppu-netprice-product{
        font-size: 11px !important;
    }
    .pvp-product{
        top: 13px !important;
    }
    .ppu-product{
        right: 18px !important;
        top: 28px !important;
    }
    .netprice-product{
        bottom: 19px !important;
    }
    .ppu-netprice-product{
        bottom: 7px !important;
        right: 18px !important;
    }

    /**/

    .products-favorites{
        gap: 10px !important;
    }
    .card-product{
        width: 100px;
    }
    .card-create-product{
        width: 100px;
    }
    .card-product > button, .card-product > button img{
        height: 10px !important;
        width: 10px !important;
    }
    .favorites-render{
        top: 5px !important;
        right: 5px !important;
    }
    .card-product > img{
        width: 75px;
    }
    .card-product > h5{
        font-size:10px !important;
    }
    .card-product > p{
        font-size:5px !important;
    }
    .products{
        gap: 10px !important;
    }
    #page-before, #page-before > img, #page-next, #page-next > img{
        width: 25px !important;
        height: 25px !important;
    }
    #pages-counting{
        font-size: 10px !important;
    }
}