/* color:#743a3a; ppppp*/
:root {
    --color-principal: #832817;
    --color-secundari: #b64c38;
    --color-tercer: #f5a58f;
    --color-text-clar: #f0f0f0;
    /* Gaireb� blanc */
    --color-text-fosc: #333;
    /* Un gris fosc */
}

@import url('https://fonts.googleapis.com/css?family=Volkhov');
@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@900&display=swap');

.cos_inici h2 {
    width: 80%;
    margin-left: 10%;
    text-align: justify;
    font-size: 14px;
    color: grey;
}

#capa_general {
    width: 90%;
    margin: 5%;
}

.formout {
    position: absolute;
    z-index: 999999;
}

.formout input {
    padding: 25px;
    border-radius: 20px;
}

.cg_table {
    width: 100%;
}

.cg_table table {
    display: block;
    border-collapse: collapse;
    width: 100%;
    border-spacing: 0;
    overflow-x: scroll;
}

.formout input:focus {
    outline: none;
}

.cg_table table th,
.cg_table table td {
    padding: 2px 10px;
    text-align: center;
    font-size: 12px;
    border: none;
    /* Eliminem totes les vores per defecte */
    border-bottom: 1px solid #ddd;
    /* Afegim una línia subtil a sota de cada fila */
}

.cg_table table tr:first-child,
.cg_table table td:first-child {
    font-weight: bold;
}

.cg_table table tr:nth-child(-n+4),
.cg_table table td:first-child {
    background-color: #f1ad74;
    /* Color de capçalera */
}

/* Zebra-striping per a les files de dades */
.cg_table table tr:not(:nth-child(-n+4)):nth-child(even) td {
    background-color: #fff5e6;
    /* Un to més clar de #ffebc5 per a les files parells */
}

.portada {
    text-align: justify;
    width: 76%;
    padding: 2%;
    margin-left: 10%;
    border: solid 1px grey;
}

#dades_empresa_portada {
    text-align: justify;
    width: 76%;
    margin-left: 10%;
    padding: 2%;

}

cke_1_contents {
    height: 400px !important;
}

/* CKEditor */

/*************************************************************/
/* Avís momentani de "Afegit al pressupost".
   Portava la paleta verda antiga (#36750F sobre #CADB11), que ja no és la del
   web, i a més el z-index era 10: el capçalera és 1000, el peu 1002 i el mapa
   es posen a sobre, de manera que el missatge podia quedar tapat. Ara usa els
   mateixos tokens que la resta del site i el tick del costat fa de senyal de
   "fet" sense caler llegir el text. pointer-events:none evita que bloqueji el
   ratolí els tres segons que dura. */
#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999999 !important;
    display: none;
    width: auto;
    max-width: 90vw;
    box-sizing: border-box;
    padding: 16px 28px 16px 58px;
    text-align: center;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--color-text-clar);
    background: var(--color-principal);
    border: 2px solid var(--color-tercer);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    pointer-events: none;
}

#popup::before {
    content: "\2713";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-tercer);
    color: var(--color-principal);
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

@media (max-width: 480px) {
    #popup {
        padding: 12px 18px 12px 46px;
        font-size: .9rem;
    }

    #popup::before {
        left: 14px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 12px;
    }
}

.avisos_principal {
    width: 100%;
    color: #fff;
    background-color: red;
    text-align: center;
    padding: 0.2% 1%;
}

.propietats td {
    background-color: #f7cdcd;
}

/* dels productes kamado */

#subpro3 {
    position: absolute;
    font-size: 5vw;
    color: #CADB11;
    padding: 5%;
    width: 36%;
    top: 30%;
}

#noexisteix {
    width: 90%;
    float: left;
    margin: 5%;
    text-align: center;
    font-size: 20px;
}

.bf {
    padding: 2px 5px;
    background-color: #000;
    color: #fff;
}

#text_banner_38092,
#text_banner_94922 {
    position: absolute;
    top: 40%;
    right: 2%;
    color: #fff;
    font-size: 2.5vw;
    text-align: center;
    font-family: 'Volkhov', cursive;
    text-shadow: 2px 3px #666;
}

#calendari_nadal {
    color: #ff0000;
    font-size: 1vw !important;
    text-shadow: none !important;
    text-align: center;
    background-color: #ccc;
}

#exporesponsive {
    float: left;
    width: 80%;
    margin: 1%;
}

.oferta-dte {

    border: solid 1px #219975;
    color: #219975;
    font-size: 22px;
    text-align: center;
    width: 72%;
    margin: 1% 12%;
    padding: 2%;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;

}

.pre_menu {
    width: 98%;
}

.boto_veure_desglos_cistella {
    cursor: pointer;
    text-decoration: underline;
}

.veure_desglos_cistella {
    display: none;
    position: absolute;
    border: solid 1px grey;
    padding: 1%;
    width: 400px;
    background-color: #f2eec4;
    text-align: left;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 0px solid #000000;
    -webkit-box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);

}

.cerrar_desglos {
    cursor: pointer;
}

#total_barras,
#cost_talls {
    width: 50px;
    border: 0;
    background-color: #F2EEC4;
    font-weight: bold;
    text-align: center;
}

#avis_manipulacio,
#venda_desglos {
    float: left;
    width: 78%;
    padding: 1%;
    margin-left: 10%;
    background-color: #f2eec4;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 0px solid #7a7a7a;
    font-size: 12px;
    text-align: justify;
}

.i_cantidad,
.i_longitud {
    width: 50px;
    color: #ea9000;
    margin: 2px 10px 2px 0;
}

#afegir_linia_desglos {
    color: 6cb2e5;
    cursor: pointer;
    text-decoration: underline;
}

#calculo_l {
    width: 120px;
    margin-top: 20px;
    cursor: pointer;
}

#boto_add_desglos {
    cursor: pointer;
}

#txt_envio_descomptes {
    padding: 0.5%;
    background-color: #f7efcf;
    font-weight: bold;
    font-size: 12px;
    outline: solid 1px grey;
}

#pr_mes_info {
    cursor: pointer;
    color: #33bccc;
}

#ocultar_desc {
    cursor: pointer;
    color: #33bccc;
}

/*menu area privada*/
#important {
    background-color: #f9f7a7;
    color: red;
    padding: 1%;
    outline: solid 1px grey;
    width: 76%;
    margin: 1%;
    float: left;
}

#menu_area_privada {

    display: flex;
    justify-content: center;
}

.map_titol {
    font-weight: bold;
    width: 80%;
    margin: 1% 10%;
    font-size: 18px;
    text-align: center;
}

.map_opcio {
    background-color: black;
    padding: 0.6%;
    margin: 1vw;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

.map_opcio a {
    color: white;
    text-decoration: none;
}

.map_opcio:hover {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
}

.cont_proc_compra {
    text-align: center;
    margin: 0.6%;
    font-size: 2vw;
}

.cont_proc_compra a {
    text-decoration: none;
    color: red;
}

.cont_proc_compra a:hover {
    text-decoration: underline;
}

/* registre clients*/
#principal_registre {
    width: 70%;
    float: left;
}

.contact-us {
    width: 96% !important;
    float: left;
    margin-left: 4%;
}

.contact-us div {
    padding: 0.2% !important;
    float: left;
}

.liniareg {
    float: left;
    width: 100%;
}

.t_reg {
    width: 19%;
    float: left;
    margin: 0;
    padding: 0.5%;
    color: #6f8ac4;
    height: 46px;
}

.i_reg {
    width: 69%;
    float: left;
    margin: 0;
    padding: 0.5%;
    height: 46px;
}

.i_reg #email,
.i_reg #nom,
.i_reg #cognoms,
.i_reg #empresa,
.i_reg #adressa,
.i_reg #poblacio {
    width: 98%;
}

.r_empresa,
.r_particular {
    float: left;
}

.float_l {
    float: left;
    width: 20%;
    color: #6f8ac4;
}

#capa_intracom {
    color: #6f8ac4;
    float: left;
    width: 100%;
}

.lp {
    font-size: 16px !important;
    float: left;
    width: 100%;
}

#seg1 {
    float: left;
    outline: solid 1px red;
}

#seg2 {
    float: left;
    outline: solid 1px red;
}

.butons_grans {
    float: left;
    cursor: pointer;
    border: solid 1px #cccccc;
    background-color: #45b9ef;
    height: 45px;
    width: 200px;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    margin: 1%;
}

.butons_grans:hover {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
}

/* SUBVARIANTS PRESSUPOSTOS*/

.titol_grup {
    width: 100%;
}

.grups_subvariants {
    border: solid 1px grey;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    padding: 5px;
}

.grups_subvariants span {
    background-color: #aaa;
    padding: 0 5px;
    margin: 3px;
    cursor: pointer;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.75);
}

.grups_subvariants span:hover {
    -moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.grups_subvariants .primer {
    background-color: #777;
    color: #fff;
}

#compra_directa {
    width: 80%;
    margin: 5% 10%;
}

.boto_desglos {
    text-align: center;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.5);
    margin: 0 20%;
    font-size: 0.6vw;
    cursor: pointer;
}

#avis_DEA {
    display: flex;
    width: 74%;
    padding: 3%;
    margin: 2% 10% 2% 10%;
    background-color: #f9e959;
    border: solid 2px red;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}

#errornovenda {
    float: left;
    padding: 2%;
    width: 94%;
    margin: 1%;
    text-align: center;
    font-size: 2vw;
    outline: solid 1px red;
    color: red;
}

.opcions_pres {
    font-size: 10px;
    background-color: #ddd;
    outline: solid 1px grey;
    padding: 0 3px;
}

/*Opcions Producte botiga*/

.opcions .titols_grups {
    margin-left: 3px;
}

.opcions {
    float: left;
    margin: 1% 0.5%;
    padding: 1% 0;
    border-radius: 4px;
    width: 99%;
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.opcions .grey {
    background-color: #a0a0a0;
    color: #333;
    -webkit-box-shadow: 3px 3px 1px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 3px 3px 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 3px 3px 1px 1px rgba(0, 0, 0, 0.75);
}

.opcions .grey:hover {
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.opcions label {
    float: left;
    width: auto;
    margin: 1%;
    background-color: #EFEFEF;
    border-radius: 4px;
    /*border:1px solid #D0D0D0;*/
    overflow: auto;
    cursor: pointer;

}

.opcions label span {
    text-align: center;
    font-size: 16px;
    padding: 4px 18px;
    display: block;
}

.opcions label input {
    position: absolute;
    top: -20px;
}

.opcions input:checked+span {
    background-color: #404040;
    color: #F7F7F7;
}

/*Opcions Pressupostos*/
#taudetall {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#taudetall th {
    background-color: #f2f2f2;
    text-align: left;
    padding: 10px;
}

#taudetall td {
    border: 1px solid #ddd;
    padding: 10px;
}

#taudetall tr:nth-child(even) {
    background-color: #f9f9f9;
}

/*#taudetall td{background: linear-gradient(to top, #ccc, #f2f2f2); border-radius:5px;padding:0 0.5%!important;}*/
#taudetall h2 {
    margin: 0 !important;
    font-size: 16px;
    font-weight: normal;
}

.td_tit a {
    display: flex;
    justify-content: flex-start;
}

.td_tit a h2 {
    width: 90%;
    padding: 0 !important;
    margin: 0 !important;
}

.td_quant {
    text-align: center;
    height: 3vw;

}

.opcions2 {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    float: left;
    margin: 0.5% 0.5%;
    padding: 0.5% 0;
    border-radius: 3px;
    width: 99%;
    border: solid 1px #ccc;
}

.opcions2 .titols_grups {
    margin: 0.8%;
    text-align: left;
    color: var(--color-principal);
    font-size: 14px;
}

.opcions2 .grey {
    overflow: hidden;
    background-color: #f7f7f7;
    color: #333;
}

.opcions2 .grey:hover {
    border: solid 1px grey;
}

.opcions2 label {
    float: left;
    width: auto;
    margin: 0.5%;
    background-color: #EFEFEF;
    border-radius: 4px;
    overflow: auto;
    cursor: pointer;

}

.opcions2 label span {
    text-align: center;
    font-size: 14px;
    padding: 2px 8px;
    display: block;
}

.opcions2 label input {
    display: none;
}

.opcions2 input:checked+span {
    color: #000;
    font-weight: bold;
    border: solid 1px grey;
}

.header1,
.hero {
    width: 100%;
    float: left;
    font-size: 12px;
    height: 20vw;
    background-image: url(/usr/incafe2000/banner_desc2.png);
    background-size: cover;
}

/* 1. Assegurem que el contenidor principal sigui la refer�ncia */
#particles-js {
    position: relative;
    /* Aix� fa que les part�cules es quedin a dins d'aquesta capa */
    overflow: hidden;
    /* Evita que les part�cules cre�n barres de despla�ament innecess�ries */
    /* Aqu� pots posar la teva al�ada, per exemple: height: 100vh; o min-height: 500px; */
    z-index: 999999;
    height: 20vw;
    width: 100%;

}

/* 2. Forcem el canvas de les part�cules a ocupar-ho tot des de dalt de tot */
#particles-js canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: -1;
    /* MOLT IMPORTANT: Aix� l'envia al fons perqu� no tapi el teu text o botons */
}


#nadal {
    font-size: 2vw;
}

#logo_incafe {
    /*float:left;*/
    background-color: #fff;
    width: 6%;
    margin: 0.6%;
    border-radius: 5px;
    box-sizing: border-box;
    border: solid 1px black;
    opacity: 0.85;
    float: left;

}

#logo_incafe img {
    width: 100%;
    border-radius: 10px;
}

#tels {
    padding: 5px;
    width: 22%;
    margin: 0.6%;
    float: right;
    font-size: 1vw;
    background-color: #fff;
    opacity: 0.7;
    border-radius: 5px;
    box-sizing: border-box;
    border: solid 1px black;
}

#link_press {
    width: 30%;
    float: left;
    font-size: 20px;
    color: #CADB11;
    cursor: pointer;
    padding: 1% 0;
}

#sup_dreta {
    color: white;
    display: flex;
    justify-content: right;
    align-items: center;
    margin-right: 2%;

    /*width:30%;float:right; margin:0.5% 1% 0 0.5%;height:3vw; color:white;  text-align:right; */
}

#menu_btn {
    display: none;
}

#tels a {
    color: #000;
    text-decoration: none;
}

#sup_dreta a {
    font-family: 'Outfit', sans-serif;
    /* Fons transparent: abans era #fff (una caixa blanca solta dins la
       capçalera fosca). Ara deixa veure el degradat de fons del web. */
    background-color: transparent;
    color: var(--color-secundari);
    text-decoration: none;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.7;

}

#sup_dreta a:hover {
    opacity: 1;
    /* Es manté el mateix color: el #000 d'abans només es llegia damunt del
       fons blanc dels enllaços, i ara és transparent sobre fons fosc. */
    color: var(--color-secundari);

}

#sup_dreta .hisom {
    font-weight: bold;
    opacity: 1;
    /* Subratllat de l'idioma actiu. Era un 'blue' hardcodejat, fora de paleta. */
    border-bottom: 2px solid var(--color-secundari);
}

.identificat {
    background-color: #F49F26;
}

#b_horaris {
    text-align: right;
    float: right;
    color: #03c12d;
    margin: 0 1% 0.5% 0.5%;
    font-size: 16px;
}

#Fotos {
    width: 100% !important;
}

#accepta_cockies,
#mes_info_cockies {
    background-color: #00f;
    color: #fff;
    padding: 4px;
    cursor: pointer;
    text-decoration: none;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.categoria-header a {
    color: var(--color-principal);
    font-size: 32px;
    text-decoration: none;
    animation: 3s infinite alternate slidein;

}

.categoria-header a:hover {
    font-size: 36px;
}

.results {
    width: 76%;
    padding: 0;
    margin-left: 12%;
    float: left;
}

.unresultat {
    width: 100%;
    float: left;
    /*margin-top: 3%;*/
}

.capa_texte {
    width: 100%;
    float: left;
}

.capa_preu {
    width: 16%;
    float: left;
    text-align: center;
    padding: 2%;
    font-size: 20px;
}

#mes_resultats {
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 400px;;*/
    cursor: pointer;
    margin: 5px;
    width: 95%;
    font-size: 24px;
}

#titol_sub {
    width: 100%;
    margin: 0;
    float: left;
    box-sizing: border-box;
}

#elsdos_textes {
    width: 100%;
    margin: 0;
    float: left;
    box-sizing: border-box;
}

#titol_productes_recomanats {

    width: 60%;
    font-size: 1.8vw;
    color: grey;
    margin: 2% 20%;
    border-bottom: solid 1px grey;
    float: left;
}

#productes_recomanats {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    float: left;
    width: 60%;
    margin: 1% 20%;
}

.producte_recomanat {
    max-width: 11vw;
    /*height:14vw;*/
    float: left;
}

.producte_recomanat a {
    width: 100%;

    float: left;
}

.producte_recomanat img {

    width: 90%;
    float: left;
    margin: 5%;
    outline: solid 1px grey;

}

.titols_recomanats {
    width: 90%;
    margin: 5%;
    float: left;
    height: 100px;
    text-align: center;
}

.titols_recomanats a {
    text-decoration: none;
    color: #000;
}

.titols_recomanats a:hover {
    text-decoration: underline;
}

/* SLIDE  NOUNAT*/

#productes_part_superior {
    width: 58%;
    margin: 2% 20% 0 20%;
    float: left;
    padding: 1%;
}

.barandillas {
    width: 96% !important;
}

#slide_producte {
    width: 40%;
    float: left;
    color: #fff;
    border: dotted 1px #FEA817;
}

.barandillas #slide_producte {
    width: 30% !important;
}

.flexslider {
    margin: 0 !important;
}

#slide_producte_botiga {
    margin: 0 2% 0 0;
    width: 30%;
    float: left;
    color: #fff;
    border: solid 1px grey;
    overflow: hidden;
    height: 39%;
    border-radius: 5px;
    box-shadow: 10px 10px 26px -4px rgba(138, 138, 138, 1);

}

#slide_producte_botiga img {
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
}

/* Cuadre Preus Botiga*/

#opcions {
    clear: both;
    text-align: center;
    padding: 10px;
}

.opc_span {
    padding: 2px;
    background-color: #ddd;
    cursor: pointer;
    margin: 2px;
    border-radius: 4px;
}

.sv_selected {
    background-color: #aaa;
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.opc_span:hover {
    border: solid 1px #555;
}

#preus {
    padding: 1%;
    width: 56%;
    overflow: hidden;
    float: left;
}

#quantitat,
#pregunta_longitud {
    padding: 1% 1%;
    width: 100%;
    float: left;
    text-align: center;
    font-size: 18px;

}

.i_titols {
    font-size: 12px;
    font-weight: bold;
    padding: 0.4%;
}

#quantitat input,
#pregunta_longitud input {
    width: 50px;
    border-radius: 5px;
    font-size: 18px;
}

#pregunta_longitud #l_atencion {
    width: 60%;
    font-size: 12px;
    font-weight: bold;
    color: 777;
    background-color: #e3fcec;
    margin: 2% 17%;
    padding: 1%;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #777;
}

#botons_comprar {
    padding: 2% 1%;
    width: 100%;
    float: left;
    text-align: center;
}

#p_buto1 {
    padding: 0% 2%;
    font-size: 20px;
}

/*
.cg_table {
    overflow: scroll !important;
    height: 80vh;
}
.cg_table table td {
    border: solid 1px grey;
    text-align: center;
}
*/

#preus_orientatius {
    color: #f86868;
}

.linia_per_demanar {

    margin: 10% 0;
    background-color: var(--color-principal);
    padding: 1%;

    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    float: left;
}

.linia_per_demanar:hover {
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.linia_per_demanar a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.linia_per_demanar a:hover {
    color: #fff;
    text-decoration: underline;
}

/* SECCio */

.paginador {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    width: 100%;
}

.paginador a {
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.b_pags {
    float: left;
    padding: 3px 20px;
    background-color: var(--color-tercer);
    border-radius: 5px;
    text-decoration: none;
    margin: 5px;
    color: #000;
}

.b_pags:hover {
    background-color: #ffffff;
}

.v_mobil {
    display: none;
}

.v_screen {
    display: inline;
}

html {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-size: 17px;
}

body {
    margin: 0;
    font-family: "Inter", Helvetica, Arial, sans-serif;
    color: #666;
    font-size: 17px;
}

/* ---------------------------------------------------------------------------
   Fons del web: degradats grisos irregulars.

   Abans no hi havia cap fons: el blanc era el que posava el navegador per
   defecte. Ara es composen cinc taques radials de mides i posicions
   diferents sobre un lleuger degradat lineal, de manera que el fons no és
   uniforme però tampoc sembla un filtre decoratiu.

   Va en un pseudo-element fix, i no com a fons del body, per dos motius:
     - no interferes en el maquetat ni en cap element ja posicionat;
     - en quedar fix, el fons no llisqua amb el contingut i no apareix mai
       la franja blanca en arribar al final de la pàgina.
   El color base va a :root perquè es pugui canviar la paleta des d'un sol
   lloc, i a l'@media print es treu per no gastar tinta.
   --------------------------------------------------------------------------- */
:root {
    /* Fons grisos foscos amb degradats irregulars. AQUEST FONS ES VA VALIDAR
       I S'HAVA DEIXAR COMBÉ ÉS: el problema no era el fons, sinó els elements
       (requadres, taules, text) que eren foscos i es barrejaven amb ell.
       L'error va ser respondsre "elements més clars" amb "fons més clar".
       Ràp de #141619 (13,5:1) a #454b53 (5,2:1). */
    --fons-base: #33383f;
    --fons-top: #454b53;
    --fons-bot: #141619;

    /* Text: sobre fons fosc ha de ser clar. */
    --text-base: #d8dbdf;
    --text-tenue: #a8afb8;
    --color-principal-clar: #f2a692;
    --color-enllaç: #a8d2f0;
}

html {
    background: var(--fons-base);
}

body {
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* Vuit taques amb relacions d'aspecte i posicions diferents, alternades
       fosques i clares, perquè el fons es llegeixi irregular i no uniforme. */
    background:
        radial-gradient(34% 70% at  6% 14%, rgba(10, 11, 13, .85),  transparent 66%),
        radial-gradient(80% 28% at 90% 16%, rgba(94, 103, 114, .40), transparent 70%),
        radial-gradient(26% 52% at 58%  4%, rgba(118, 128, 140, .24), transparent 64%),
        radial-gradient(86% 52% at 82% 78%, rgba(12, 14, 16, .78),  transparent 72%),
        radial-gradient(40% 72% at 14% 86%, rgba(112, 122, 134, .26), transparent 66%),
        radial-gradient(30% 22% at 44% 44%, rgba(255, 255, 255, .09), transparent 68%),
        radial-gradient(22% 44% at 97% 50%, rgba(8, 9, 11, .70),     transparent 62%),
        radial-gradient(58% 30% at 70% 96%, rgba(16, 18, 21, .60),   transparent 70%),
        linear-gradient(150deg, var(--fons-top) 0%, var(--fons-base) 48%, var(--fons-bot) 100%);
}

@media print {
    body::before { display: none; }
    html { background: #fff; }
}

h1 {
    font-size: 1.8rem;
}

/*
h3 {
    font-size: 1.1rem;
}
*/
h4 {
    font-size: 0.8rem;
    line-height: 1.2rem;
    text-align: justify;
    padding: 14px;
    font-weight: normal;
}

h5 {
    font-size: 0.6rem;
    line-height: 0.8rem;
}

h6 {
    font-size: 0.4rem;
}

#superior1 {
    position: absolute;
    top: 16.56vw;
    right: 0px;
}

.capa_logo2 {
    margin-left: 2%;
    width: 20%;
    height: auto;
    float: left;
}

.capa_logo3 {
    /* Tel�fon */

    margin: 10px 2% 0 0;
    text-align: right;
    color: #bbb;
    float: right;
    width: 76%;
    font-size: 16px;
    border-bottom: solid 1px #bbb;
}

.capa_logo3 span {
    padding: 0 10px 0 10px;
    float: right;
}

.capa_menu {
    float: left;
    height: 50px;
    font-size: 1em;
    text-align: left;
    float: left;
    overflow: hidden;
    padding-top: 48px;
}

.fletxes {
    cursor: pointer;
    float: right;
    right: 10px;
}

#fl_avall {
    margin-top: 4px;
}

#fl_amunt {
    display: none;
    margin-top: 4px;
}

#div_fl_esquerra {
    display: none;
    float: left;
}

#columnaesquerra {
    width: 25%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-height: 200px;
    float: left;
}

#columnadreta {
    background-color: #EFF;
    width: 0%;
    min-height: 200px;
    float: right;
}

.cos_general {
    float: left;
    width: 98%;
    margin: 0.5% 0 0.5% 2%;
    padding: 0;
    overflow: hidden;
    min-height: 200px;
    background-color: #FFF;
    justify-content: space-between;

}

.cos_ventadirecta {
    clear: both;
    margin: 4% 10%;
    width: 80%;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;

}

.productes_sec_botiga {
    float: left;
    width: 44%;
    margin: 1% 3%;
    padding: 0;
    outline: solid 1px grey;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    height: 17vw;
    overflow: auto;
    padding-bottom: 1%;
}

.productes_sec_botiga .descripcion_aluminio {
    text-align: justify;
    padding: 3%;
    font-size: 0.8vw;
}

.productes_sec_botiga .caracteri_aluminio {
    display: none;
}

.texte_productes_botiga {

    font-size: 10px;
    margin: 1vw;

}

.titol_producte_botiga_a {
    text-decoration: none;
    color: #000;
}

.titol_producte_botiga_a:hover {
    text-decoration: underline;
}

.titol_producte_botiga {
    width: 94%;
    margin: 2%;
    padding: 1%;
    text-align: center;
    border: solid 1px grey;
    font-size: 16px;
    font-weight: bold;
    color: black;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    background: linear-gradient(to bottom, var(--color-tercer), #FFFFFF);
}

.imatges_productes_botiga {
    width: 45%;
    border: solid 1px grey;

    /*height: 10vw;*/

    float: left;
    margin: 0 1vw 1vw 1vw;
    overflow: hidden;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

.imatges_productes_botiga img {
    margin: 0;
    width: 100%;
    float: left;
    border: 0px solid #000000;
}

.categoria-header h1 {
    width: 94%;
    margin: 0% 3%;
    padding: 1% 0;
    color: var(--color-principal);
    /*border-top: solid 2px var(--color-principal);*/
    border-bottom: solid 2px var(--color-principal);

}

.preu_a_sec {
    -ms-display: flex;
    /*display: flex;*/
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5vw 0 0.5vw 0;
    margin: 1vw;
}

.comprar_a_sec {
    -ms-display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5vw 0 0.5vw 0;
    margin: 1vw;
}

#sota {
    width: 100%;
    margin: 0 auto;
    padding: 2% 0;
    overflow: hidden;
    /* Era un gris pla (#6c6c6c). Ara és una banda fosca amb degradat gris,
       perquè els requadres .part_peu (més clars) se separin del fons i el peu
       es llegeixi com un bloc propi i no com un continu del cos. */
    background: linear-gradient(180deg, #22262c 0%, #2e333a 50%, #1d2126 100%);
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}

.seccio_botiga,
.seccio_normal {
    margin: 1% 2%;
    float: left;
    width: 20%;
    border: solid 1px #ccc;
    height: 24vw;
    box-shadow: 5px 5px 20px #aaa;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
}

/* la casella s'ajusta al titol + imatge (abans tenia alcada fixa de 24vw, i 104vw al mobil
   des de main.min.css, i quedava buida a sota). "body" li dona prou pes per guanyar-les. */
body .seccio_botiga {
    height: auto;
    padding-bottom: 16px;
    box-sizing: border-box;
}

.seccio_botiga h2 {
    width: 96%;
    padding: 2%;
    font-size: 22px;
    color: var(--color-principal-clar); /* abans #ABC83B (verd) */
    text-align: center;
    font-size: 1.6vw;
    /* sempre espai per a 2 linies: aixi totes les imatges comencen a la mateixa alcada */
    line-height: 1.25;
    min-height: 2.5em;
    margin: .5em 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seccio_botiga a {
    color: #2c2c2c;
    text-decoration: none;
}

.seccio_botiga a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seccio_botiga img {
    border-radius: 10px;
    /* totes les imatges amb la mateixa mida i proporcio (retallades pel centre) */
    width: 92%;
    max-width: 92%;
    height: auto;
    aspect-ratio: 520 / 271;
    object-fit: cover;
    object-position: center;
}

.texte_seccio_botiga,
.texte_seccio_normal,
.img_seccio_normal img {
    color: var(--color-principal);
    float: left;
    width: 100%;
    text-align: center;

}

.img_seccio_normal {
    display: none;
}

.productes_seccio_botiga {
    padding: 5px;
    float: left;
    width: 100%;
    height: 16vw;
    overflow: hidden;
    font-size: 1.2vw;
    line-height: 0.4vw;
}

.productes_seccio_botiga img {
    float: left;
    height: 100%;
    margin: 0;
}

.productes_seccio {
    float: left;
    width: 94%;
    padding: 1%;
    margin-left: 2%;
}

.productes_seccio img {
    float: left;
    width: 100%;
}

.avis_comptador {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
}

#div_avis_legal {
    width: 86%;
    text-align: center;
    padding: 7%;
}

#div_avis_legal a {
    color: var(--color-tercer);
}

#comptador_nou {
    bottom: 0;
    width: 86%;
    text-align: center;
    color: var(--color-tercer);
    padding: 7%;
}

/* CONTACTE */

#contacte input,
#contacte textarea,
#avis_legal,
.captcha_wrapper {

    margin-bottom: 10px;
    margin: 2% 0px;
    /* He posat 0 pel formulari pressupostos. Abans deisa 50*/
    width: 70%;
    height: 60px;

}

/*
#contacte textarea {
	height: 80px;
	background-color:aliceblue;
	width:90%;
	border-radius:4px;
	border:none;
}
    */
#avis_legal input {
    width: 20px !important;
    margin: 0;
}

#avisos_legals {

    font-size: 12px;
    display: none;
    background-color: white;
    color: black;
    width: 800px;
    height: auto;
    overflow: auto;
    border: solid 1px grey;
    padding: 20px;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -400px;
    margin-top: -260px;
    -webkit-box-shadow: 2px 4px 19px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 4px 19px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 4px 19px 0px rgba(0, 0, 0, 0.75);
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    line-height: 20px;
    z-index: 9999999 !important;
}

#capa_botiga {
    width: 70%;
    margin: 0 15% 5% 15%;
    float: left;

}

.titols_form {
    display: none;
    margin-left: 50px;
    padding: 0;
}

#titol_titol {
    margin-top: 3%;
    margin-bottom: 2%;
    font-weight: bold;
}

#contacte {
    background-color: #ccee00;
    padding: 20px;
}

#hellegitlavis,
#avisos_legals a {
    color: #00f;
    cursor: pointer;
    text-decoration: underline;
}

#widgets {
    display: none;
}

#i_cistella {
    float: left;
    width: 28%;
}

#i_cercador {
    float: left;
}

#buscador {
    width: 50%;
    margin: 0;
}

#buscar {
    width: 50px;
    margin: 0;
}

#i_login {
    float: right;
}

#login * {
    float: right;
}

/******** MENU */

.nivell_1 {
    position: absolute;
}

.nivell_2 {
    width: 300px;
    display: none;
    position: absolute;
    list-style: none;
    padding: 0;
    margin-top: 14px;
    box-shadow: 0 2px 4px rgba(1, 1, 1, 0.2);
}

.nivell_2 li {
    margin: 0;
}

.nivell_2 li a {
    border: solid 1px #ddd;
    background-color: #fff;
}

#contenidor_menu {
    height: 40px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    /*float: left;*/
    z-index: 1000;
    display: flex;
    justify-content: center;

}

#navmenu-h {

    margin: 0 0 !important;
    list-style-type: none;
    padding: 0;
    float: left;
    position: relative;

}

#navmenu-h li {
    float: left;
    padding: 0 10px;
    /*text-align: center;*/
    position: relative;
}

#navmenu-h a {
    font-size: 18px;
    border: 0px;
    text-decoration: none;
    color: var(--color-principal);
    line-height: 40px;
}

#navmenu-h a:hover {
    color: var(--color-principal);
    font-weight: bold;
}

#navmenu-h li ul {
    margin-top: 0;
    width: 180px;
    z-index: 999;
    background-color: white;
    border-radius: 5px;
    padding: 10px 0;
}

#div_img_cistella {
    width: 30px;
    float: left;
    cursor: pointer;
}

#div_img_cistella img {
    width: 100%;
}

/*Menu Botiga*/

#menubotiga li {
    font-size: 0.8rem;
    list-style: none;
    padding: 2px;
}

#menubotiga a {
    text-decoration: none;
    color: #000;
}

#menubotiga a:hover {
    color: #555;
}

/* Videos */

.youtube {
    padding-top: 35px;
    width: 80%;
    margin-left: 10%;
}

.youtube iframe {
    width: 100%;
    height: 50vw;
}

/* Cistella */

#cuadres {
    float: left;
    width: 76%;
    margin-left: 10%;

    height: 16vw;
    display: flex;
    justify-content: space-between;

}

#cuadres .passos {
    width: 20%;
    border-radius: 5px;
    /*height: 15vw;*/
    margin: 2%;
    float: left;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #d4d4d4;
    /*margin: auto;*/
}

#cuadres .pas1 {
    background-image: url(/img/pas1.png);
}

#cuadres .pas2 {
    background-image: url(/img/pas2.png);
}

#cuadres .pas3 {
    background-image: url(/img/pas3.png);
}

#cuadres .pas4 {
    background-image: url(/img/pas4.png);
}

#cuadres .pas1_error {
    background-image: url(/img/pas1_error.png);
}

#cuadres .pas2_error {
    background-image: url(/img/pas2_error.png);
}

#cuadres .pas3_error {
    background-image: url(/img/pas3_error.png);
}

#cuadres .pas4_error {
    background-image: url(/img/pas4_error.png);
}

#titols_cistella_mes {
    float: left;
    width: 72%;
    margin: 1% 11%;
    font-size: 1vw;
    padding: 0 1%;
}

#contingut_cistella {
    float: left;
    width: 74%;
    margin: 1% 11%;
    background-color: #d5d5d5d5;
    border-radius: 5px;
}

#cuadres .textos_interior {
    width: 100%;
    height: auto;
    font-size: 1vw;
    word-wrap: break-word;
    text-align: center;
    margin-top: 10vw;
    /* line-height: 1.2vw;*/
}

/*Confirmar cistella pas 1*/

#tit_confirm {
    float: left;
    width: 72%;
    margin: 2% 0 2% 10%;
    font-weight: bold;
}

#explic_confirm {
    float: left;
    width: 72%;
    margin-left: 10%;
}

#formulari_revisio {
    float: left;
    width: 72%;

    padding: 1%;
}

#formulari_revisio input {
    width: 100%;
    border-color: transparent;
    background-color: #e9e9e9;
    border-radius: 5px;
    padding: 0;
    margin: 0;
}

#formulari_revisio .tits {
    float: left;
    width: 19%;
    min-width: 150px;
    color: #666666;
    font-size: 10px;

}

#formulari_revisio .frcamps {
    float: left;
    width: 79%;
    background-color: #e9e9e9;
    border-radius: 5px;
    padding: 0.5%;
    margin: 0.5%;
    border-color: #777;
}

#formulari_revisio #cc_boto input {
    margin: 2% 0%;
    padding: 1% 0%;
    width: 100%;
}

#titols_cistella {
    float: left;
    width: 76%;
    margin: 1% 2%;
}

#totals_cistella {
    float: left;
    width: 74%;
    margin: 1% 11%;

    font-size: 1.6vw;
    font-weight: bold;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

#botons_cistella {
    float: left;
    width: 76%;
    margin: 1% 10%;
    font-size: 1.6vw;
    height: 4vw;
    font-weight: bold;
}

#botons_cistella .btn_c {
    float: left;
    width: 30%;
    margin: 2% 0 0 13%;
    padding: 1%;
    background-color: #03B6F1;
    cursor: pointer;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border: none;
    color: white;
}

.registre_cistella {
    font-size: 12px;
    width: 98%;
    margin: 1%;
    display: flex;
    flex-flow: row no-wrap;

    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;

}

#area_cli {
    width: 100%;
}

#area_clients {
    margin: 1%;
    font-size: 1.8vw;
}

#pagament_confirma_cistella {
    margin: 2% 2% 0 16%;
    float: left;
    width: 30%;
    height: 12vw;
    text-align: right;
}

#pagament_confirma_cistella div {
    font-size: 20px;
}

#pagament_confirma_cistella img {
    height: 50%;
}

#comentari_compra {
    float: left;
    width: 30%;
    margin: 2% 2% 0 0;
    height: 12vw;
}

#comentari_compra textarea {
    width: 98%;
    height: 80%
}

.c_ref {

    width: 16%;
    margin-left: 1%;

}

.c_desc {
    width: 40%;
}

.c_mida,
.c_qty,
.c_preu,
.c_tot {
    width: 13%;
}

.c_mida input,
.ci_valor input {
    text-align: right;
}

.c_elim {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elim {
    cursor: pointer;
}

.c_ref .ci_valor {
    font-weight: bold;
}

.c_qty {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.ci_desc {
    text-align: right;
    width: 100%;

}

.ci_valor {
    text-align: right;
    width: 100%;
}

/*.c_qty .ci_desc{text-align:center;}*/

.csuma,
.cresta {
    padding-left: 1%;
    padding-right: 1%;
    width: 8%;
    font-size: 18px;
    cursor: pointer;
}

.total_1 {

    width: 62.1%;
    float: left;
    margin: 1% 0 0 4%;
}

.total_2 {
    text-align: right;
    font-size: 16px;
    width: 20%;
    float: left;
    margin: 1% 0 0 0%;

}

#act_button {
    padding: 0 20px 0 20px;
    color: #00f;
    cursor: pointer;
}

#act_button:hover {
    text-decoration: underline;
}

#btn_dcistella {
    display: none;
    width: 60px;
    border: double 1px #fff;
    position: fixed;
    top: 200px;
    left: -30px;
    border-radius: 10px;
    background-color: #D5195E;
    margin: 4px;
    padding: 4px;
    -webkit-box-shadow: 0px 10px 33px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 10px 33px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 10px 33px 0px rgba(0, 0, 0, 0.75);
    z-index: 999;
}

#btn_dcistella:hover {
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    left: -10px;
}

#btn_dcistella img {
    width: 30px;
    float: right;
    margin: 5px;
}

#btn_dpressup {
    display: none;
    width: 60px;
    border: double 1px #fff;
    position: fixed;
    top: 240px;
    left: -30px;
    border-radius: 10px;
    background-color: var(--color-principal);
    margin: 4px;
    padding: 4px;
    -webkit-box-shadow: 0px 10px 33px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 10px 33px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 10px 33px 0px rgba(0, 0, 0, 0.75);
    z-index: 999;
}

#btn_dpressup:hover {
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    left: -10px;
}

#btn_dpressup img {
    width: 30px;
    float: right;
    margin: 5px;
}




/* Intranet */
.contact-us div {
    float: left;
}

#login_central {
    float: left;
    width: 80%;
}

#login_central div {
    text-align: center;
    float: left;
    margin: 5px;
    outline: solid 1px red;
}

#titol_ident {
    font-weight: bold;
    margin-top: 10% !important;
    width: 100%;
}

#l_registre {
    float: left;
    font-size: 16px;
    margin-top: 20px !important;
    width: 100%;
}

#l_recordar {
    font-size: 16px;
    margin: 10px 0 40px 0 !important;
    float: left;
    width: 100%;
}

/* Peu */

.part_peu {

    width: 31.3%;
    min-width: 280px;
    margin: 0.5% 1%;
    padding: 0;
    overflow: hidden;
    /* Era 200px i el text de dins es tallava. S'ha pujat a 250px perquè
       cabgui una línia més: el peu es distribueix en tres columnes (31.3% +
       31.3% + 31.3% + marges) i en pantalles estretes cau en files, de manera
       que l'alçada ha de poder créixer una mica sense trencar el dibuix. */
    height: 250px;
    min-height: 250px;
    float: left;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 10px;
    /* Era un gris pla (#777). Degradat gris suau en diagonal, més clar que la
       banda #sota perquè el requadre destaqui com a panell. Els tons es van
       triar foscos a propòsit: el text carbassa --color-tercer (#f5a58f) només
       arriba a 2,7:1 de contrast sobre #777, però amb aquestes ombres puja a
       entre 4,7:1 i 5,9:1, és a dir, per damunt del mínim AA. */
    background: linear-gradient(160deg, #414852 0%, #333842 100%);
    /* ombra */
    -webkit-box-shadow: 0px 1px 33px 0px rgba(20, 22, 26, 0.55);
    -moz-box-shadow: 0px 1px 33px 0px rgba(20, 22, 26, 0.55);
    box-shadow: 0px 1px 33px 0px rgba(20, 22, 26, 0.55);

}

/* Efecte en passar el ratolí per sobre dels requadres del peu.
   Fins ara cap .part_peu tenia :hover; l'únic moviment del peu era el
   scale(1.1) dels logotips de peu_final.php.

   - translateY i no scale: el requadre no creix, i així el text i el mapa
     de dins no es deformen ni es veuen retallats (el .part_peu té
     overflow: hidden i alçada fixa).
   - S'atura dins de @media (hover: hover) perquè en pantalles tàctils el
     :hover no quedi encallat en el primer toc que fa l'usuari.
   - prefers-reduced-motion: qui ho hagi desactivat al sistema no ha de veure
     cap moviment. */
@media (hover: hover) {
    .part_peu {
        transition:
            transform .28s cubic-bezier(.22, 1, .36, 1),
            box-shadow .28s cubic-bezier(.22, 1, .36, 1),
            filter .28s ease;
    }

    .part_peu:hover {
        transform: translateY(-5px);
        /* Una mica més de llum per a que el requadre destaqui del fons del
           degradat, i ombra més marcada i curta: sembla que el panell
           s'aixeca de la pàgina. */
        filter: brightness(1.06);
        box-shadow: 0px 14px 30px 0px rgba(15, 17, 20, .6);
        /* Per a que, en pujar, el requadre passi per sobre dels seus
           veïns en comptes de quedar-hi darrere. */
        position: relative;
        z-index: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .part_peu,
    .part_peu:hover {
        transition: none;
        transform: none;
    }
}

#de_tit {
    width: 100%;
    font-size: 1vw;
    padding: 10px;
    /* Títol de l'empresa: carbassa de marca i en negreta, per que destaqui
       del text de les dades que hi ha a sota. */
    color: var(--color-tercer);
    font-weight: 700;
}

.de_img {
    padding: 2px;
    width: 4%;
    float: left;
}

.de_div {
    font-size: 0.7vw;
    padding: 4px;
    width: 90%;
    float: left;
}

#dades_empresa {
    padding: 4%;
    margin-left: 2%;
    color: var(--color-tercer);
}

#dades_empresa a {
    color: var(--color-tercer);
}

#mapallarg {
    float: left;
    width: 100%;
}

.de_linia {
    padding: 2px;
    width: 100%;
    float: left
}

/* Mapa Google */

#map_canvas {
    width: 96%;
    height: 96%;
    margin: 2% 0 0 2%;
}

/* Barra Social */

#barra_social {
    width: 90%;
    margin-left: 5%;
    height: 90%;
    margin-top: 5%;
    text-align: center;
}

.div_interior {
    width: 100%;
    height: 30px;
    color: #fff;
    padding-top: 20px;
}

.div_interior a {
    color: #fff;
    text-decoration: none;
}

.div_interior img {
    width: 28px;
    height: 28px;
}

/* Politiques i condicions i agraïments*/

.t_peu {
    width: 90%;
    margin: 5%;
    color: var(--color-tercer);
    font-size: 0.5vw;
}

.t_peu ul li {
    list-style: none;
}

.t_peu ul li a {
    color: var(--color-tercer);
    text-decoration: none;
}

.titols_peu {
    width: 50%;
    float: left;
}

/* PRODUCTES */

#slide_producte_normal {
    width: 50%;
    max-width: 800px;
    margin: 0 0 0 0;
}

#foto_producte_normal img {
    float: left;
    width: 82%;
}

#foto_producte_normal img {
    float: left;
    width: 50%;
    max-width: 800px;
    margin: 2% 0 0 2%;
    border-radius: 10px;
}

.p_cos_inici {
    width: 70%;
    margin: 1% auto;
}

/* Títol de la pàgina d'inici ("FERRO ACER INOXIDABLE I ALUMINI").
   El generador usr/incafe2000/app/genera_nou_inici.php escriu aquest
   <p id="titol_pag_principal"> dins de #cos, però no hi havia cap regla que
   l'estilitzés: quedava com un <p> qualsevol, amb la mida per defecte del
   navegador i alineat a l'esquerra, cosa que trencava el ritme del bloc
   (el paràgraf .p_cos_inici de sota sí que estava estilitzat). S'hi posa
   el mateix disseny que hi hauria de tenir: gran, centrat i amb el color
   de marca. */
#titol_pag_principal {
    width: 70%;
    margin: 1% auto 0.6%;
    text-align: center;
    font-family: Commissioner, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Arial, sans-serif;
    font-size: clamp(1.4rem, 0.8rem + 2.1vw, 2.5rem);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--color-principal);
    text-wrap: balance;
}

/* En pantalles estretes el 70% deixa el títol massa comprimit i trencat en
   massa línies, així que s'eixampleix. */
@media (max-width: 900px) {
    #titol_pag_principal {
        width: 92%;
        margin-bottom: 1%;
    }
    #titol_pag_principal + .p_cos_inici {
        width: 92%;
    }
}

.productes_seccio a {
    width: 26%;
    float: left;
    margin: 1% 10%;
}

.productes_seccio a img {
    border-radius: 5px;
}

.contingut_producte_normal {
    float: left;
    margin: 1% 10%;
    text-align: justify;
    width: 80%;
    box-sizing: border-box;
}

.titol_producte_normals {
    float: left;
    width: 100%;
    margin: 2% 0;
}

.texte_producte_normals {
    float: left;
    width: 100%;
}

.titol_producte_normals a {
    width: 100%;
    float: left;
    text-decoration: none;
    color: var(--color-principal);
    margin-left: 0;
}

.titol_producte_normals a:hover {
    text-decoration: underline;
}

.texte_producte_normals a {
    width: 100%;
    float: left;
}

.titol_producte_normal {
    color: var(--color-principal);
}

/* SLIDE */

#slide_producte {
    width: 40%;
    min-width: 300px;
    float: left;
    color: #fff;
}

#galleria {
    height: 320px;
    color: #fff;
}

.galleria-container {
    background-color: #DCE285;
}

/* Cuadre Preus Botiga*/

#b_preu_s {

    font-size: 32px;
    color: #000;
}

#b_preu {
    color: #888;
    font-size: 14px;

}

#preu_metre {
    color: #888;
    font-size: 12px;
    font-weight: bold;
    color: grey;
}

#b_iva {
    text-align: center;
    font-size: 14px;
}

#b_disponibles {

    margin: 5px 0 5px 0;
}

#b_enllas {
    color: #444444;
    font-size: 1.1vw;
    float: left;
}

#b_enllas a {
    text-decoration: none;
    color: #666666;
    font-size: 1.1vw;
}

#b_enllas a:hover {
    color: #000;
}

#b_referencia {
    font-size: 1.1vw;
    float: right;
}

#avis_cockies {
    display: none;
    color: #fff;
    width: 56%;
    margin: 0%;
    padding: 1%;
    margin: 2% 21%;
    height: auto;
    background-color: #666;
    position: fixed;
    bottom: 0vw;
    text-align: center;
    font-size: 16px;
    filter: alpha(opacity=85);
    opacity: 0.85;
    z-index: 999;
    border-radius: 3px;

}

.t_cotitza {
    font-size: 10px;
    border: solid 1px red;
    height: 7vw;
    width: 20vw;
    float: left;
    overflow-y: scroll;
}

.cotitza {
    width: 100%;
}

.c_long {
    float: left;
    width: 45%;
}

.c_quant {
    float: left;
    width: 45%;
}

.i_quant,
.i_long {
    width: 90%;
    margin-left: 5%;
}

.c_afegir {
    border: solid 1px grey;
    float: left;
    cursor: pointer;
    clear: both;
    margin: 4px;
}

/*Buscador */

.formout {
    width: 220px;
    float: right;
    margin: 0;
    padding: 0;

    padding: 6px !important;

}

.formout button {

    margin: 0 !important;
    padding: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 28px;

    cursor: pointer;
}

.formout button img {
    width: 100%;
}

.formout input {
    float: right;
    margin: -10px 10;

    width: calc(100% - 28px);
}

.buscador-movil {
    display: none;
}



.caracteristiques_body table a {
    font-weight: bold;
    color: #666666;
    text-decoration: none;
}

.caracteristiques a:hover {
    text-decoration: underline;
    color: var(--color-principal);
}

.caracteristiques_body table th {
    text-align: center;
}

/*Seccions sense imatges*/

.productes_Inici,
.productes_almacen_de_hierro,
.productes_Videos {
    width: 98%;
}

#logo_nou {
    border: 1px 0px 1px 0px;
    padding: 0 10px 0 20px;
    background-color: #fff;
    height: 80px;
}

#logo_nou img {
    float: left;
    height: 100%;
}

#logo_nou span {
    float: right;
    font-size: 14px;
    padding: 30px;
}

.t_inici {
    width: 100%;
    font-size: 3.4vw;
    clear: both;
    color: #ABC83B;
    margin: 2vw 0 0 1vw;
}

.c_bigues {
    width: 14%;
    height: calc(15% * 1.6);
    min-width: 140px;
    min-height: calc(140px * 1.6);
    border: solid 1px #ddd;
    padding: 0;
    margin: 1.2vw;
    float: left;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.c_bigues img {
    width: 60%;
    margin: 20%;
}

.productes_Inici h1 {
    color: #ABC83B;
}

.c_bigues h2 {
    padding-top: -20px;
    margin-top: 0;
    width: 100%;
    float: left;
    text-align: center;
}

#tex_que_hacemos_incafe2000 {
    width: 90%;
    box-shadow: 3px 1px 6px rgba(0, 0, 0, 0.16), 3px 1px 6px rgba(0, 0, 0, 0.23);
    margin: 20px auto;
    background-color: white;
    padding: 20px 15px;
}

#contacte {
    width: 70%;
    margin: 7% 12%;
    background-color: white;
    padding: 20px 3%;
    border: solid 1px grey;
    border-radius: 10px;
}

#contacte input,
#contacte textarea {
    border-radius: 4px;
    width: 96%;
    border: none;
    background-color: aliceblue;
    font-size: 20px;
    margin: 20px 2%;
    padding: 0 20px;
}

#Enviar {
    width: 60% !important;
    margin-left: 20% !important;
    color: white;
    font-size: 1.3em;
    font-weight: 400;
    background-color: #28a745 !important;
    border: none;
}

#tex_que_hacemos_incafe2000 h2 {
    font-size: 2em;
}

/* Productes Botiga */

#titol_seccio {
    display: none;
}

.descripcio_seccions {
    float: left;
    width: 70%;
    margin: 2% 15%;
    text-align: justify;

}

#preus_dins {
    width: 100%;
    margin: 0;
}

/*#preus span{color:#666666;font-size:1.1vw;}*/

#g_preu {
    width: 26%;
    margin: 10px 0 10px 37%;
}

#opcions {
    margin: 10px 0 0 0;
    border: solid 1px grey;
    clear: both;
    height: 40px;
}

#p_buto2 {
    width: 30%;
    margin-left: 2%;
}

#f_quantitat {
    width: 15%;
}

#titol_prod {
    font-size: 1.8vw;
    color: var(--color-principal);
    margin-bottom: 2%;
}

#texte_sub {
    margin: 5px;
    /*font-weight: normal;*/
    font-size: 1vw;
}

#texte_prod {

    width: 70%;

    margin: 5px 15%;
    font-weight: normal;

    text-align: justify;
    box-sizing: border-box;
}

/*
#texte_prod header,#texte_prod h3,#texte_prod p{
    width:70%;
    margin-left:15%;
}
*/
#tcm {
    width: 100%;
    float: left;
    text-align: center;
    color: grey;
    text-decoration: none;
    font-size: 1vw;
    margin: 2% 0;
}

#tcm:hover {
    text-decoration: underline;
}

/*Nova proposta*/
/*SECI� PRODUCTES */

#columnaesquerra {
    display: none;
}

.categories {
    float: left;
    width: 18%;
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
}

.categories div {
    width: 96%;
    height: 50px;
    margin: 0.3%;
    display: flex;
    align-items: center;
    justify-content: left;
    /*padding: 20px 5px;
    opacity: 0.8;
   
 background-color: #f7f7f7;
    -webkit-box-shadow: 2px 2px 14px -2px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 14px -2px rgba(0, 0, 0, 0.75);
    

box-shadow: 2px 2px 14px -2px rgba(0, 0, 0, 0.75);
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
*/
}

.cos_general section {
    width: 82%;
    float: left;
}

#cos section {
    width: 70%;
    margin-left: 15%;
}

body .categories div a {
    text-decoration: none;
}

body .categories div a h3 {
    font-weight: 300;
    /*text-align: center;*/
    font-weight: bold;
    color: #7dbf03;
    /*text-shadow: 1px 1px #999;*/
}

body .categories div a h3:hover {
    color: #778200;
}

body section article {
    width: 100%;
    /*margin: 20px auto;*/
    box-shadow: 3px 1px 6px rgba(0, 0, 0, 0.16), 3px 1px 6px rgba(0, 0, 0, 0.23);
    background-color: #f7f7f7;
    border-radius: 3px;
    padding-bottom: 20px;
    float: left;

}

body section article .categoria-header {
    display: flex;
    text-decoration: none;
    opacity: 0.8;
    width: 100%;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    height: auto;
    /*background-color: #C9DB12;*/
    float: left;
}

body .cos_inici h1 {

    width: 100%;
    margin: 4% 0;
    font-size: 36px;
    font-weight: bold;
    padding-top: 5px;
    color: var(--color-principal);
    text-align: center;
}

.cos_inici h2 {
    width: 80%;
    margin-left: 10%;
    text-align: justify;
    font-size: 14px;
    color: grey;
}

body section article .categoria-header h2 {

    width: 96%;
    margin: 2%;
    font-weight: bold;
    padding-top: 5px;
    color: var(--color-principal);
}

.categ {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 2% 0;
}


body section article .item {

    float: left;
    width: 29%;
    margin: 18px 2%;
    /*box-shadow: 3px 1px 6px rgba(0, 0, 0, 0.16), 3px 1px 6px rgba(0, 0, 0, 0.23);*/
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-flow: row nowrap;
    border: solid 1px #ddd;
    transition: width 0.3s, margin 0.3s ease-out;

}

body section article .item:hover {
    width: 32%;
    margin: 0.5%;
}

body section article .item .item-img {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
}

body section article .item .item-img img {
    width: 100%;
    max-height: 120px;
    border-radius: 5px;

}

body section article .item .item-descripcio {
    width: 70%;
    padding: 5px 20px;
}

body section article .item .item-descripcio h2 {
    color: #757575;
    /*font-weight: 400;*/
}

body section article .item .item-descripcio .line {
    width: 100%;
    background-color: #e0e0e0;
    height: 1px;
}

body section article .item .item-descripcio .veuremes {
    color: var(--color-secundari);
    font-size: 1.6vw;
}

body section article .item .item-descripcio a {
    text-decoration: none;
}

body section article .item .item-descripcio a h3 {
    color: #7dbf03;
    /*text-transform: uppercase;*/
    font-size: 1em;
    /*text-shadow: 1px 1px 5px #444;*/
}

body section article .item .item-descripcio a h4 {
    text-align: center;
    font-weight: bold;
}

body section article .item .item-descripcio h3 {
    text-align: center;
}

/* Banner */

#pasefotos {
    width: 100%;
}

.edit_tshv {
    width: 100%;
}

body .benvinguda {
    position: relative;
    top: -25vw;
}

body .benvinguda .benvinguda-centrat {
    width: 80%;
    margin: 0 auto;
    color: white;
}

body .benvinguda .benvinguda-centrat h1 {
    font-size: 3em;
    font-weight: 400;
}

ody .benvinguda .benvinguda-centrat h3 {
    font-size: 1.2em;
    font-weight: 400;
}

body .benvinguda .benvinguda-centrat form {
    display: inline;
}

body .benvinguda .benvinguda-centrat form button {
    background: transparent;
    outline: none;
    border: none;
    position: relative;
    top: 4px;
    right: 35px;
}

body .benvinguda .benvinguda-centrat form button img {
    width: 20px;
    height: 20px;
}

body .benvinguda .benvinguda-centrat form input {
    padding: 10px 8px;
    color: #91A0A0;
    border: 1px solid #91A0A0;
    width: 300px;
    height: 50px;
    font-size: 1em;
}

.benvinguda-centrat h1,
.benvinguda-centrat h3 {
    font-size: 3vw !important;
    text-shadow: 2px 2px #777;
}

.benvinguda-centrat h1 {
    font-size: 3vw !important;
}

.benvinguda-centrat h3 {
    font-size: 2vw !important;
}

/* header 1 */

.t_peu div p {
    line-height: 1.5em;
}

#div_compartir {
    border: none !important;
}

/* header */

.pre_menu {
    display: inline;
    float: left;
}

.post_menu {
    display: none;
    width: 25%;
    box-sizing: border-box;
    float: left;
    position: absolute;
    z-index: 9999999;
    top: 14vw;
    right: 1vw;
    color: #731d1d;
    font-size: 10px;
    background-color: #ffffff;
    padding: 0.5%;
    border-radius: 5px;
    border: solid 2px #6e1010;
    opacity: .8;
}

@media (max-width: 890px) {
    .post_menu {
        width: 70% !important;
        left: 20vw;
        font-size: 1.6vw;
        top: 9vw;
    }

    #cos section {
        width: 100%;
        margin: 0;
    }
}

.dropdown {
    display: none;
}

#li_inici,
#li_Sellantes_siliconas_espumas,
#login_tab,
#banderes,
#li_nou_inici {
    display: none;
}

.post_menu>form {
    padding: 1.5em;
    height: 30px;
}

.post_menu form button {
    background: transparent;
    outline: none;
    border: none;
    position: relative;
    bottom: 30px;
    left: -35px;
}

.post_menu form button img {
    width: 16px;
    height: 16px;
}

.post_menu form input {
    padding: 6px 8px;
    color: #91A0A0;
    border: 1px solid #91A0A0;
    width: auto;
    line-height: 2em;
    border-radius: 3px;
}

/*Formulari pressupostos*/

#fpressupostos {
    border: solid 1px grey;
    width: 70%;
    margin-left: 15%;
}

#fpressupostos td {
    padding: 1%;
}

#fpressupostos input {
    width: 100%;
}

#fpressupostos table {
    width: 100%;
}

#fpressupostos textarea {
    width: 99.5%;
    height: 5vw;
}

#fpressupostos #confirmar {
    background-color: var(--color-principal);
    padding: 1%;
    width: 50%;
    color: #fff;
    margin-left: 25%;
    cursor: pointer;
}

#fpressupostos #prod_sol {
    font-size: 2vw;
}

#fpressupostos #ptitols {
    width: 30%;
}

#fpressupostos #presta {
    width: 70%;
}

#fpressupostos #condiciones {
    display: none;
}

#fpressupostos #llista {
    width: 80%;
    background-color: #ddd;
    border: solid 1px grey;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}

/*Finestra de revisio i edicio del pressupost.
  Disseny unificat amb el resum i el formulari de pressupost_incafe_mail.php*/
body .presupostos {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 0 20px 0;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body .presupostos .presupostos_header {
    /*Morro del domini, com les lletres del menu (#832817)*/
    background-color: var(--color-principal);
    color: #ffffff;
    padding: 15px;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

body .presupostos .presupostos_header h4 {
    display: inline;
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
}

body .presupostos .presupostos_header img {
    display: inline;
    width: 24px;
    padding-left: 7px;
    vertical-align: middle;
    /*El svg es gris, el posem blanc per que es vegi sobre el fons blau*/
    filter: brightness(0) invert(1);
}

/*Contenidor per a que la taula pugui fer scroll horitzontal en mobil,
  com fem amb les altres taules del lloc*/
body .presupostos .presupostos_taula {
    width: 90%;
    margin: 20px auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body .presupostos .presupostos_taula table {
    width: 100%;
    min-width: 520px;
    color: #333333;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

body .presupostos table thead tr th {
    padding: 12px 15px;
    text-align: left;
    background-color: #e9ecef;
    color: #495057;
    font-weight: 600;
}

body .presupostos table tbody tr td {
    padding: 12px 15px;
    text-align: left;
}

body .presupostos table tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

body .presupostos table tbody tr:hover {
    background-color: #f1f3f5;
}

body .presupostos table tbody tr td input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    color: #333333;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body .presupostos table tbody tr td input:focus {
    outline: none;
    border-color: var(--color-principal);
    box-shadow: 0 0 5px rgba(131, 40, 23, 0.4);
}

body .presupostos table tbody tr td button {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #999999;
    background-color: #ffffff;
    color: #808080;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body .presupostos table tbody tr td button:hover {
    background-color: #eeeeee;
}

/*Eliminar la linea del pressupost*/
body .presupostos table tbody tr td button.redbutton {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}

/*Eliminar: nomes la paperra, el text es queda al title del boto*/
body .presupostos table tbody tr td button.press_elimina {
    padding: 7px 10px;
    line-height: 0;
}

body .presupostos table tbody tr td button.press_elimina svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    vertical-align: middle;
    display: block;
}

body .presupostos table tbody tr td button.redbutton:hover {
    background-color: #c82333;
    border-color: #c82333;
}

/*Peu amb els botons Tornar i Enviar*/
body .presupostos table tbody tr td.peu_pressupost {
    padding: 20px 15px 15px 15px;
    background-color: #ffffff;
}

body .presupostos .presupost_button {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 0;
}

body .presupostos .presupost_button a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 18px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body .presupostos .presupost_button a.btn_tornar {
    background-color: #ffffff;
    border: 1px solid #999999;
    color: #808080;
}

body .presupostos .presupost_button a.btn_tornar:hover {
    background-color: #eeeeee;
}

body .presupostos .presupost_button a.btn_enviar {
    /*Gris del boto "Confirmar peticio" (/Cat/pressupost -> resum)*/
    background-color: #999999;
    border: 1px solid #999999;
    color: #ffffff;
}

body .presupostos .presupost_button a.btn_enviar:hover {
    background-color: #808080;
    border-color: #808080;
}

/*=== Logo Green Steel (Acer Verd) =============================
   Badge flotant a l'esquerra superior del banner. En clicar
   s'obre el text amb el compromís mediambiental.
   La capçalera (.capa_logo) fa 67px a qualsevol amplada, per això
   el top es calcula a partir d'aquesta alçada. ==================== */
#content {
    position: relative;
}

#logo-acero-verde {
    position: absolute;
    top: 85px;
    left: 20px;
    /*El banner (#particles-js) té z-index 999999, cal passar-lo per sobre*/
    z-index: 1000000;
    cursor: pointer;
    line-height: 0;
}

#logo-acero-verde img {
    display: block;
    width: 110px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/*Text ampliat: amagat per defecte, el js el mostra en clicar el logo*/
#text-av-llarg {
    display: none;
    position: absolute;
    top: 85px;
    left: 20px;
    width: 320px;
    max-width: 90%;
    box-sizing: border-box;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    z-index: 1000001;
    cursor: auto;
}

#text-av-llarg .av-close-btn {
    float: right;
    margin-left: 8px;
    cursor: pointer;
    color: #999999;
    font-size: 20px;
    line-height: 1;
}

#text-av-llarg .av-close-btn:hover {
    color: #000000;
}

body .addbutton {
    width: 32px;
    cursor: pointer;
}

body .caracteristiques {
    width: 90%;
    margin: 30px 5%;
}

body .caracteristiques .caracteristiques_header {
    border-bottom: 1px #e8e8e8 solid;
    width: 100%;
    display: flex;
    align-items: center;
}

body .caracteristiques .caracteristiques_header img {
    width: 24px;
    margin-left: 7px;
}

body .caracteristiques .caracteristiques_body table {
    width: 100%;
    color: #757575;
    margin-top: 30px;
}

body .caracteristiques .caracteristiques_body table thead tr {
    text-align: left;
}

body .caracteristiques .caracteristiques_body table thead tr th {
    font-weight: bold;
    font-size: 0.8em;
}

.thmin {
    width: 5% !important;
}

.thmin2 {
    width: 5% !important;
}

body .caracteristiques .caracteristiques_body table thead tr .thlight {
    font-weight: lighter;
}

body .caracteristiques .caracteristiques_body table tbody tr td input {
    width: 2.2vw;
    /*height: 30px;*/
    padding: 0 7px;
    color: var(--color-principal);
    font-size: 1em;
}

body .caracteristiques .caracteristiques_body table tbody tr td button {

    border-radius: 3px;
    background-color: var(--color-principal);
    color: white;
    border: none;
    font-weight: bold;
    margin: auto;
}

body .caracteristiques .caracteristiques_body table tbody tr td button img {
    width: 20px;
}

.categories a {
    font-size: 0.8vw;
    text-transform: uppercase;
    color: var(--color-tercer);
    text-decoration: none;
}

body .item_box {
    color: #757575;
}

.info_box {
    margin-top: 4%;
    padding: 0;
    display: flex;
    width: 100%;
    justify-content: space-around;
    overflow: hidden;
    /*height: 22vw!important;*/
}

.info_box_img {

    width: 30%;
    padding: 2%;
    background-color: #F7F7F7;
    /*height: 23.6vw;*/
    margin-top: 6% !important;
}

.info_box_img img {
    width: 100%;
}

.info_box_description {
    width: 55%;
    text-align: justify;
}

.info_box_description_header {
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.info_box_description_title {
    width: 20%;
    display: flex;
    align-items: center;
}

.info_box_description_title h1 {
    display: inline;
    font-size: 1.8rem;
}

.info_box_description_title img {
    width: 24px;
    padding-left: 7px;
}

.info_box_description_stock {
    width: 30%;
    display: flex;
    align-items: center;
}

.info_box_description_stock h3 {
    display: inline;
    font-size: 2vw;
}

.info_box_description_stock img {
    display: inline;
    width: 24px;
    padding-right: 7px;
}

/* pressupostos */

#content_tall {
    width: 100%;
    /*max-height: 18vw;*/
    /*overflow-y: scroll;*/
}

#capa_over {
    /* Abans height fixa de 340px amb scroll a còrrec del requadre sencer, de
       manera que els botons de dalt quedaven lluny quan el llistat era llarg.
       Aquí el scroll el porta la capsa interior i els botons es veuen sempre. */
    max-height: min(340px, 42vh);
    overflow-y: auto;
    margin: 14px 0;
    padding: 10px;
    background: rgba(10, 11, 13, .28);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
}

#titol_tall {
    width: 100%;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
    /* Era #36750f, un verd oliva que no és de la paleta. */
    color: var(--color-tercer);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.inp_desg {
    width: 44%;
    font-size: 16px;
    margin: 0.5% 2%;
    padding: 0.5%;
    /* Camps sobre fons fosc: abans el fons blanc i el text negre feien que
       el llistat es veiés com un pegat blanc dins el requadre fosc. */
    background: rgba(10, 11, 13, .45);
    color: var(--text-base);
    border: 1px solid rgba(245, 165, 143, .4);
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .35) inset;
}

.inp_desg:focus {
    outline: none;
    border-color: var(--color-tercer);
}

.encap_desglos {
    width: 44%;
    float: left;
    margin: 2%;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-tenue);
}

#content_boto_afegir {
    margin: 2%;
    font-size: 20px;
}

/* Botó "+" per afegir una fila de mides. */
#content_boto_afegir button {
    width: 34px;
    height: 34px;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    background: var(--color-secundari);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

#content_boto_afegir button:hover {
    background: var(--color-tercer);
    transform: translateY(-1px);
}

.m50 {
    width: 50px !important;
}

.textllarg {
    width: 300px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.textllarg a:hover {
    background-color: #CFF;
    padding: 1px;
    border-radius: 6px 6px 6px 6px;
    -moz-border-radius: 6px 6px 6px 6px;
    -webkit-border-radius: 6px 6px 6px 6px;
}

.textllarg:hover {
    overflow: visible;
}

/* Resultat del càlcul de talls (el que retorna matrius.php dins el modal
   #tall). Abans el modal no mostrava res, així que l'usuari no sabia si
   necessitava 2 o 20 barres. */
#res_desglos_capa:not(:empty) {
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(245, 165, 143, .09);
    border: 1px solid rgba(245, 165, 143, .35);
    border-radius: 8px;
}

.res_desglos_fila {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 3px 0;
    color: var(--text-base);
}

.res_desglos_fila strong {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-tercer);
    font-variant-numeric: tabular-nums;
}

.res_desglos_detall {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem;
    color: var(--text-tenue);
}

.res_desglos_detall strong {
    color: var(--color-tercer);
}

.res_desglos_error {
    color: #ff9a8a;
}

/* El botó d'enviar apareix només un cop hi ha un resultat a la vista. */
#envia_desglos {
    background: var(--color-tercer);
    border-color: var(--color-tercer);
    color: #2b3038;
}

#envia_desglos:hover {
    background: #fff;
    border-color: #fff;
}

/* Els botons d'acció, l'un al costat de l'altre i sense estendre's. */
#add_desglos,
#envia_desglos,
#can_desglos {
    margin: 12px 6px 0 0;
}

/* Finestra emergent "Mides del tall".
   Abans era un panell blanc (background: #fff, border: 1px grey i text #333
   heretat de la llista de "fons blanc" de més avall), cosa que trencava amb
   un web fosc. Ara repanel fosc amb degradat gris i accents de marca.
   - El fons tapa la pantalla amb una box-shadow-spread: és el mètode CSS per
     emmarcarla sense afegir cap element al HTML ni canviar el JS.
   - El text NO s'ha de treure de la llista de "fons blanc": si es queda allà
     el text continuaria sent #333, és a dir, negre sobre negre.
   - z-index era 9, massa baix per a una finestra modal. 9000 la posa al
     damunt del contingut sense passar-se del #popup (9999999). */
#tall {
    border: none;
    display: none;
    position: fixed;
    z-index: 9000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
    font-family: Commissioner, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-base);
    background: linear-gradient(160deg, #3a4048 0%, #2b3038 100%);
    border: 1px solid rgba(245, 165, 143, .35);
    border-radius: 12px;
    box-shadow:
        0 0 0 100vmax rgba(10, 11, 13, .72),
        0 24px 60px 0 rgba(0, 0, 0, .6);
}

/* Els dos botons d'accció del peu del requadre. Abans sense estil: eren els
   botons grisos per defecte del navegador, els que trencaven la paleta. */
#add_desglos,
#can_desglos {
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

#add_desglos {
    color: #fff;
    background: var(--color-secundari);
    border: 1px solid var(--color-secundari);
}

#add_desglos:hover {
    background: var(--color-tercer);
    border-color: var(--color-tercer);
    transform: translateY(-1px);
}

#can_desglos {
    color: var(--color-tercer);
    background: transparent;
    border: 1px solid rgba(245, 165, 143, .45);
}

#can_desglos:hover {
    background: rgba(245, 165, 143, .12);
    transform: translateY(-1px);
}

/* A pantalles estretes l'amplada del 48% i el left: 25% deixaven el requadre
   massa petit i descentrat. Aquí ja és centrat i ample, però el títol baixa
   de mida perquè no es trenki. */
@media (max-width: 600px) {
    #tall {
        padding: 16px;
    }

    #titol_tall {
        font-size: 1.1rem;
    }

    .encap_desglos,
    .inp_desg {
        width: 92%;
    }

    #add_desglos,
    #can_desglos {
        width: 100%;
        margin-bottom: 8px;
    }
}

#q2_principal {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 70%;

    margin: 5px 15%;
}

.cuadre_stda {
    width: 65%;
    padding: 1%;
    font-size: 1.6vw;
    text-align: justify;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.cuadre_stdad {
    width: 25%;
    padding: 1%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.cuadre_stdad img {
    width: 92%;
    margin: 4%;
}

/* OFERTES DE LA PRIMERA PAGINA */
#ofertas {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.capa_oferta {
    width: 24%;
    display: flex;
    justify-content: center;
    outline: solid 1px grey;
    padding: 5px;
    margin: 5px;
}

.capa_oferta2 {
    width: 24%;
    display: flex;
    justify-content: center;
    outline: solid 1px grey;
    padding: 5px;
    margin: 5px;
    align-items: center;
    flex-direction: column;
}

.capa_oferta img {
    width: 80px;
    height: 80px;
}

.t_of {
    padding: 5px;
    font-size: 12px;
}

.capa_oferta2 a {
    color: #f00;
    text-decoration: none;
    font-weight: bold;
}

.capa_oferta2 a:hover {
    text-decoration: underline;
}

#propietats {
    border: solid 1px grey;
    width: 100%;
    max-width: 400px;
    padding: 5px;
    margin: 10px 0;
    background-color: #ebf9c2;
}

#slideshow {
    width: 100%;
    height: 30vw;
    float: left;
}

#slideshow>div {
    width: 100%;
    position: absolute;
}

#slideshow>div img {
    width: 100%;
    height: 30vw;
}

#text_banner_74573 {
    position: absolute;
    top: 24vw;
    margin-left: 4%;
}

#text_banner_74573 a {
    font-size: 3vw;
    font-weight: bold;
    color: #C9C9CA;
    text-shadow: 2px 2px #5d5d77;
    text-decoration: none;
}

/* LASER */

.imatges_laser {
    width: 46%;
    margin: 4% 2%;
    float: left;
}

.imatges_laser img {
    width: 100%;
}

.lletres_banner {
    position: absolute;
    top: 8vw;
    left: 4vw;
    color: #f00;
    font-size: 1.8vw;
    text-shadow: 1px 1px #333;
    font-family: 'Volkhov', cursive;
}

.lletres_banner li {
    list-style: none;
}

.texte_slide {
    display: none;
    position: absolute;
    width: 50%;
    top: 10%;
    padding: 5%;
    color: #aaa;
    font-size: 4vw;
    text-align: center;
    font-family: Commissioner, sans-serif;
    text-shadow: 0.5vw 0.5vw 0.5vw #f00;
}

#text_banner_536686 {
    right: 4%;
}

/*
.banner_smoker{
display:none;
   position:absolute;
   width:50%;right:4%;top:10%;padding:5%;
   color:#aaa;font-size:4vw;text-align:center;
   font-family:Commissioner, sans-serif;
   text-shadow: 0.5vw 0.5vw 0.5vw  #f00;
}
*/

/*Formulari creueta*/

#f_principal {
    background-color: #919e01;
    float: left;
    width: 96%;
    padding: 2%;

    border-radius: 3px;

}

#f_principal input {
    width: 98%;
    margin: 1% 0%;
    padding: 1%;
    font-size: 14px;
    background-color: #dbef02;
    border: none;
    border-radius: 2px;
}

#f_principal #butoenviar {
    width: 100%;
    margin: 1% 0%;
    padding: 1%;
    font-size: 14px;
    background-color: #ccc;
    border-radius: 2px;
}

#areadetext {
    box-sizing: border-box;
    height: 16vh;
    width: 100%;
    margin: 1% 0;
    padding: 1%;
    font-size: 14px;
    background-color: #dbef02;
    border: none;
    border-radius: 2px;

}

#mes_arxius {
    cursor: pointer;
    padding: 1% 0 2% 0;
}

body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#iss_corte-y-doblado,
#iss_Balcones,
#iss_pilares-cruceta,
#iss_corte-laser,
#iss_corte-plasma {
    display: block;
    width: 100%;

}

/* ENginyeria*/
/* Estils generals per a la secci� de serveis */
.eng-services-container {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

.lang-section {
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.lang-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: #c0392b;
    /* Color industrial vermell�s */
    margin-top: 0;
}

.service-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* CONTEXT GENERAL (El contenidor fosc) */
.hero {
    /* Imatge de fons amb una capa fosca a sobre perqu� es llegeixi el text */
    /*background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('ruta/a/la/teva/imatge.jpg');*/
    background-size: cover;
    background-position: center;

    /* CENTRAT i COLORS */
    text-align: center;
    /* Centra tot el contingut horitzontalment */
    color: white;
    /* Text blanc */
    /*padding: 150px 20px;      /* Espai vertical (150px dalt/baix) per centrar visualment */

    /* Necessari per l'animaci� */
    overflow: hidden;
}

/* T�TOL */
.hero h1 {
    color: white;
    font-size: 2.5vw;
    /* T�tol gran */
    margin-bottom: 1vw;
    /* Espai sota el t�tol */

    /* ANIMACI� */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

/* TEXT DESCRIPTIU */
.hero p {
    font-size: 1.2vw;
    max-width: 600px;
    /* Limita l'amplada perqu� no s'estiri massa */
    margin: 0 auto 30px;
    /* 'auto' als costats el centra si t� amplada m�xima */

    /* ANIMACI� */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* BOT� */
.btn {
    font-size: .6vw;
    display: inline-block;
    /* Necessari per donar-li forma */
    background-color: #ff6600;
    /* EL TEU COLOR Taronja/Accent */
    color: white;
    padding: 12px 30px;
    /* Mida del bot� */
    border-radius: 4px;
    /* Bordes arrodonits */
    text-decoration: none;
    /* Treure el subratllat de l'enlla� */
    font-weight: bold;
    text-transform: uppercase;

    /* ANIMACI� */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* Transici� suau pel Hover */
}

#cercador {
    width: 100%;
    position: absolute;
    z-index: 999999;
    display: flex;
    justify-content: center;
    top: 19vw;
    z-index: 9999999;
}

#cercador .formout {
    width: 40%;
}

#cercador .formout input {
    border: solid 0 #fff;
    padding: 1vw 36px;
    border-radius: 35px;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* EFECTE MOUSE SOBRE EL BOT� */
.btn:hover {
    background-color: #e65c00;
    /* Color una mica m�s fosc */
    transform: translateY(-2px);
    /* Puja lleugerament */
}

/* DEFINICI� DE L'ANIMACI� (Copia-ho una sola vegada al CSS) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* L'adaptació del text al fons fosc va aquí al final, i no a la zona
   del fons, perquè hi ha regles com ".categoria-header h1" o "#titol_prod"
   que són més avall al fitxer i, amb la mateixa especificitat, guanyarien
   a qualsevol bloc anterior. */

/* ---------------------------------------------------------------------------
   Adaptació del text al fons fosc.

   El color de marca #832817 es fa servir de dues maneres al CSS: com a text
   (20 selectors) i com a fons de botons i capçaleres (5 selectors). Si es
   redefinís la variable, els botons es tornarien de color clar. Per això aquí
   només es remapolen els selectors que el feien servir com a COLOR DE TEXT,
   i els que el fan servir de fons es queden intactes.

   Per tornar al fons clar: es treu aquest bloc i es posen els valors
   anteriors a :root (--fons-base: #e3e7ea, etc.).
   --------------------------------------------------------------------------- */
body {
    color: var(--text-base);
}

/* Els 20 selectors que pintaven text amb el vermell de marca. */
.opcions2 .titols_grups,
.categoria-header a,
.categoria-header h1,
body section article .categoria-header h2,
#navmenu-h a,
#navmenu-h a:hover,
.linia_per_demanar,
.texte_seccio_botiga,
.texte_seccio_normal,
.img_seccio_normal img,
.titol_producte_normals a,
.titol_producte_normal,
.caracteristiques a:hover,
#titol_prod,
body .cos_inici h1,
#titol_pag_principal {
    color: var(--color-principal-clar);
}

/* Enllaços: el navegador els posava blaus, que en fosc es llegeix bé però
   queda fora de paleta. */
body a {
    color: var(--color-enllaç);
}
body a:hover {
    color: #c6e2f7;
}

/* Text dels requadres del peu.
   Abans tots (títol, dades i text genèric) anaven al mateix --text-tenue, de
   manera que el carbassa de marca només es veia en els enllaços. Ara el text
   genèric puja a --text-base i les dades de l'empresa (.de_div) i el títol
   (#de_tit) es queda en --color-tercer, de manera que el carbassa destaca
   clarament sobre un text base més clar i neutre.
   --text-base és 6,6:1 sobre el degradat del requadre i --color-tercer entre
   4,7:1 i 5,9:1: tots dos per damunt del contrast mínim AA. */
.part_peu {
    color: var(--text-base);
}

.de_div {
    color: var(--color-tercer);
}

/* ---------------------------------------------------------------------------
   "Taula de característiques del perfil" (segona taula de la fitxa).

   El seu HTML ve de la base de dades (columna descripcio_producte, impresa a
   usr/incafe2000/ftp/producte_fitxa_botiga.php), i en NO té cap. Per això
   aquí no hi ha <thead>: les quatre primeres files són el que fa de capçalera
   i es distingeixen per posició. Si algún dia es corregeix el HTML amb un
   <thead> real, aquestes regles es poden simplificar.

   L'estil legacy deixava: fons taronga a les 4 primeres files i a la primera
   columna, zebra taronga, text centrat a 12px i scroll horitzontal. Amb el
   fons del web fosc, tot això era text fosc sobre taronga.

   S'ha mantingut el scroll horitzontal perquè són 19 columnes.
   --------------------------------------------------------------------------- */
.cg_table table:not(#taudetall) {
    display: block;
    /* S'ha provat width:max-content per compactar les columnes i
       col·lapsa la taula: en un <table display:block> no és fiable.
       Es deixa al 100% del contenidor, que és el que funciona. */
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #c8d0d8;
    border: 1px solid #a9b3bd;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
    font-size: 13px;
}

.cg_table table:not(#taudetall) td {
    border: 0;
    padding: 9px 8px;
    color: #22262b;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    /* width:1% + white-space:nowrap és el truc perquè la taula es compacti
       al contingut en lloc d'estirar-se a 100%: amb 19 columnes i xifres de
       pocs dígits, en distributing l'esp sobrant les columnes quedaven a
       160 px amb un "3,9" al mig i molt airemort. */
    width: 1%;
}

/* La primera columna sí que ha d'ocupar el que li toca. */
.cg_table table:not(#taudetall) td:first-child {
    width: auto;
}

/* Anul·lela els taronges del CSS antic (ara hi apliquen a les DUES taules). */
.cg_table table:not(#taudetall) tr:nth-child(-n+4),
.cg_table table:not(#taudetall) td:first-child,
.cg_table table:not(#taudetall) tr:not(:nth-child(-n+4)):nth-child(even) td {
    background-color: transparent;
    background-image: none;
}

/* Fila 1: títol de la taula. */
.cg_table table:not(#taudetall) tr:nth-child(1) td {
    background: linear-gradient(180deg, #99a3ae 0%, #8b959f 100%);
    text-align: center;
    padding: 13px 10px;
}

.cg_table table:not(#taudetall) tr:nth-child(1) h2 {
    margin: 0 !important;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: center;
}

/* Fila 2: noms dels grups (Dimensions, Termes de secció...). */
.cg_table table:not(#taudetall) tr:nth-child(2) td {
    background-color: #b3bdc7;
    text-align: center;
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #2c3238;
}

/* Fila 3:[Test] */
.cg_table table:not(#taudetall) tr:nth-child(3) td {
    background: linear-gradient(180deg, #a7b1bb 0%, #99a3ae 100%);
    text-align: center;
    font-weight: 700;
    color: #1c2024;
    border-bottom: 1px solid #8b959f;
}

/* Fila 4: unitats. */
.cg_table table:not(#taudetall) tr:nth-child(4) td {
    background-color: #bdc7d0;
    text-align: center;
    font-size: .72rem;
    color: #4a525a;
    border-bottom: 1px solid #a4aeb8;
}

/* Files de dades (de la 5 en endavant). */
.cg_table table:not(#taudetall) tr:nth-child(n+5) td {
    border-bottom: 1px solid #b4bec8;
}

.cg_table table:not(#taudetall) tr:nth-child(n+5):nth-child(even) td {
    background-color: rgba(0, 0, 0, .045);
}

.cg_table table:not(#taudetall) tr:nth-child(n+5):hover td {
    background-color: rgba(143, 45, 24, .10);
}

/* Primera columna: el nom del perfil, la referència de la fila. */
.cg_table table:not(#taudetall) tr:nth-child(n+5) td:first-child {
    position: sticky;
    left: 0;
    text-align: left;
    font-weight: 700;
    color: #16191d;
    background-color: #dde3e9;
    box-shadow: inset 3px 0 0 rgba(27, 31, 36, .4), 1px 0 0 #a9b3bd;
}

.cg_table table:not(#taudetall) tr:nth-child(n+5):nth-child(even) td:first-child {
    background-color: #d5dce3;
}

.cg_table table:not(#taudetall) tr:nth-child(n+5):hover td:first-child {
    background-color: #e8edf1;
}

/* Cantonades arrodonides només a la fila de títol (el primer i l'últim
   cantó de la taula, que és on el fons es veu). */
.cg_table table:not(#taudetall) tr:nth-child(1) td:first-child {
    border-top-left-radius: 11px;
}

.cg_table table:not(#taudetall) tr:nth-child(1) td:last-child {
    border-top-right-radius: 11px;
}

/* Poques files, evitem l'última línia sobrant. */
.cg_table table:not(#taudetall) tr:last-child td {
    border-bottom: 0;
}


/* Aquests blocs tenen fons blanc però NO defineixen el seu propi color de
   text. Sense aquesta regla heretarien el text clar del body i quedarien
   il·legibles (clar sobre blanc). Es van detectar passant un cop pel CSS tots
   els selectors amb fons blanc i comprovant què no tenien color propi.
   Excepte body section article .item, que és un requadre i es tracta més
   avall: el seu fons blanc s'ha enfosquitat per integrates amb la pàgina. */
#logo_incafe,
#logo_nou,
#tels,
#tex_que_hacemos_incafe2000,
#contacte,
.nivell_2 li a,
#navmenu-h li ul,
body .presupostos table tbody tr td.peu_pressupost,
.b_pags:hover,
.service-card {
    color: var(--color-text-fosc);
}

/* ---------------------------------------------------------------------------
   Taules de producte.

   Abans: th amb fons #f2f2f2, files de zebra a #f9f9f9 i quadrícula de
   1px solid #ddd a cada cel·la. Amb el text del tema fons, tot això era text
   clar sobre blanc, és a dir, il·legible; i la quadrícula completa donava
   l'aire de graella rígida que es queixa.

   Ara: capçalera fosca amb text clar, files de zebra molt suaus, i només
   separadors horitzontals en lloc d'una caixa al voltant de cada cel·la, que
   és el que fa que la taula sembli un bloc i no una graella.
   --------------------------------------------------------------------------- */
#taudetall {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 26px;
    background-color: #c8d0d8;
    border: 1px solid #a9b3bd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
}

#taudetall thead th {
    background: linear-gradient(180deg, #aeb8c2 0%, #9ba5b0 100%);
    color: #1b1f24;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 11px;
    border: 0;
    border-bottom: 1px solid #8f99a3;
    white-space: nowrap;
    vertical-align: bottom;
}

#taudetall tbody td,
#taudetall tbody th {
    border: 0;
    border-bottom: 1px solid #b0bac4;
    padding: 11px 11px;
    /* La taula és de gris clar, així que el text ha de ser FOSC. Si heretés
       --text-base (clar, pensat per al fons fosc de la web) les xifres es
       veien pràcticament invisibles. */
    color: #22262b;
    font-size: .93rem;
}

/* Abans hi havia dues regles antigues que es carregaven tot el problema:
     .cg_table table td:first-child      -> fons taronga #f1ad74 a la COLUMNA
                                             del nom, i el text clar a sobre
                                             quedava sense contrast
     .cg_table table tr:nth-child(-n+4)  -> taronga a les 4 primeres files
   S'anulen aquí per selector amb id, que sempre guanya. */
#taudetall tbody tr,
#taudetall tbody td,
#taudetall tbody th,
#taudetall tbody td:first-child,
#taudetall tbody tr:nth-child(-n+4) {
    background-color: transparent;
    background-image: none;
}

/* Zebra molt suau: prou per llegir la fila, no prou per cridar l'atenció. */
#taudetall tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, .045);
}

#taudetall tbody tr:hover {
    background-color: rgba(143, 45, 24, .10);
}

/* En lloc del bloc taronga, la columna del nom rep una marca lateral. Es
   reconeix igual de ràpid però sense un fons que competeixi amb el text. */
#taudetall tbody td:first-child {
    box-shadow: inset 3px 0 0 rgba(27, 31, 36, .45);
}

#taudetall tbody tr:last-child td,
#taudetall tbody tr:last-child th {
    border-bottom: 0;
}

/* Columnes numèriques: alineades a la dreta, que és el que fa una taula
   de mesures llegible en lloc de "dones" que ballen. */
#taudetall td.nomov,
#taudetall th.nomov {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* --- Nom del producte ---------------------------------------------------
   Era <td class="tdprod"><a><h3 id="indi">Biga IPN - 80</h3></a></td>, i ni
   .tdprod ni #indi tenien cap regla: el h3 agafava la mida del navegador i
   el color heretat, sense contrast ni jerarquia. Aquí se li dona caràcter
   de titular de fila, que és el que és. */
#taudetall td.tdprod a {
    display: inline-block;
    text-decoration: none;
}

#taudetall td.tdprod h3,
#taudetall td.tdprod #indi {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    color: #16191d;
    transition: color .15s ease;
}

#taudetall td.tdprod a:hover h3,
#taudetall tr:hover td.tdprod h3 {
    color: var(--color-principal-clar);
}

/* Cell·la d'afegir i de quantitat: una mica més de contrast perquè són
   les que l'usuari ha de trobar. */
#taudetall td.td_quant {
    font-weight: 700;
    color: #16191d;
}

/* Capçalera de secció dins de taula (files .tgris de la taula de
   característiques del perfil). */
table .tgris td,
table tr.tgris td {
    background: linear-gradient(180deg, #9ba5b0 0%, #8b959f 100%);
    color: #f2f4f6;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 11px;
    border: 0;
    border-bottom: 1px solid #7e8892;
}

table .tgris h2,
table tr.tgris h2 {
    margin: 0 !important;
    color: #f2f4f6;
    font-size: 1rem;
    font-weight: 700;
}

/* ---------------------------------------------------------------------------
   Requadres de la pàgina d'inici (.item dins de .categ).

   Eren targetes de fons blanc pur (background-color: white, border 1px #ddd) i
   el contenidor article.categ era #f7f7f7. Sobre el fons fosc del web feien un
   salt de contrast molt fort. Ara els dos son grisos CLARS: el requadre gran
   una mica més fosc que el fons i la targeta petita més clara encara, per
   llegir-se com a capes. Per això el text de dins ha tornat a ser fosc: amb
   caixa clara, text clar no es veu.
   --------------------------------------------------------------------------- */
body section article {
    background: linear-gradient(160deg, #9aa5b0 0%, #a9b4bf 100%);
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .38);
}

body section article .item {
    background: linear-gradient(160deg, #bcc6d0 0%, #e9eef3 100%);
    border: solid 1px rgba(0, 0, 0, .18);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

/* Els dos requerres son clars, aixi que el text torna a ser fosc. Abans, amb
   el fons fosc del web, tot el que hi ha dins era clar; ara cal invertir-ho
   o quedaria text clar sobre caixa clara. */
body section article,
body section article .item,
body section article .item .item-descripcio,
body section article .item .item-descripcio h2 {
    color: #22262b;
}

/* Encapalaments i enllacos de dins del requadre: el to salmon i el blau
   clar eren per a fons fosc; sobre caixa clara es veuen mal. */
body section article .categoria-header h2,
body section article .categoria-header a,
body section article .categoria-header h1,
body section article .item .item-descripcio .veuremes {
    color: var(--color-principal);
}


/* La línia separadora era #e0e0e0, massa clara per a la caixa nova. */
body section article .item .item-descripcio .line {
    background-color: #9aa5b0;
}


/* El verd dels subtítuls, engebut per llegir-se sobre caixa clara. */
body section article .item .item-descripcio a h3 {
    color: #4e7a12;
}

/* ===========================================================================
   Assistent de pilars amb creuetes (usr/incafe2000/ftp/configurador_creueta.php)

   Tot el bloc esta acotat sota #configurador-creueta per no poder afectar la
   resta del web. Els colors surten de les mateixes variables que la resta del
   disseny. Les imatges dels tipus de pilar son renders sobre blanc, per aixo
   van dins una caixa clara.
   =========================================================================== */

#configurador-creueta {
    width: 94%;
    max-width: 1180px;
    margin: 2.5% auto;
    padding: 28px;
    box-sizing: border-box;
    background: linear-gradient(160deg, #414852 0%, #333842 100%);
    border: 1px solid rgba(245, 165, 143, .3);
    border-radius: 14px;
    color: var(--text-base);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 18px 40px rgba(15, 17, 20, .5);
    text-align: left;
}
#configurador-creueta *, #configurador-creueta *::before, #configurador-creueta *::after { box-sizing: border-box; }

#configurador-creueta .cfg__kicker {
    margin: 0 0 4px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-tenue);
}
#configurador-creueta .cfg__titol {
    margin: 0 0 8px;
    font-family: Commissioner, Inter, Arial, sans-serif;
    font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--color-tercer);
}
#configurador-creueta .cfg__intro { margin: 0 0 14px; max-width: 70ch; color: var(--text-base); }
#configurador-creueta .cfg__avantatges {
    display: flex; flex-wrap: wrap; gap: 8px 18px;
    margin: 0 0 24px; padding: 0; list-style: none;
    font-size: .9rem; color: var(--text-tenue);
}
#configurador-creueta .cfg__avantatges li::before { content: "✓ "; color: var(--color-tercer); font-weight: 700; }

#configurador-creueta .cfg__cos {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

/* passos */
#configurador-creueta .cfg__pas {
    margin: 0 0 18px;
    padding: 16px 18px 6px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: rgba(20, 22, 25, .25);
    min-width: 0;
}
#configurador-creueta legend,
#configurador-creueta .cfg__envia h3 {
    display: flex; align-items: center; gap: 10px;
    padding: 0 6px;
    font-size: 1.05rem; font-weight: 700; color: var(--color-text-clar);
}
#configurador-creueta .cfg__envia h3 { padding: 0; margin: 0 0 6px; }
#configurador-creueta .cfg__num {
    display: inline-grid; place-items: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--color-tercer); color: #2a1a15;
    font-size: .85rem; font-weight: 800;
}
#configurador-creueta .cfg__ajuda { margin: 0 0 12px; font-size: .88rem; color: var(--text-tenue); }

/* targetes de tipus */
#configurador-creueta .cfg__tipus {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px;
}
#configurador-creueta .cfg__tipuscard {
    position: relative; display: flex; flex-direction: column; align-items: center;
    padding: 8px 6px 10px; border-radius: 10px; cursor: pointer;
    background: rgba(255, 255, 255, .04);
    border: 2px solid rgba(255, 255, 255, .12);
    transition: border-color .15s, background .15s;
    text-align: center;
}
#configurador-creueta .cfg__tipuscard input { position: absolute; opacity: 0; pointer-events: none; }
#configurador-creueta .cfg__tipusimg {
    display: block; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 6px;
    border-radius: 6px; background: #f4f5f6; overflow: hidden;
}
#configurador-creueta .cfg__tipusimg img { width: 100%; height: 100%; object-fit: contain; padding: 4px; display: block; }
#configurador-creueta .cfg__tipusnom { font-weight: 700; color: var(--color-text-clar); font-size: .95rem; }
#configurador-creueta .cfg__tipusdesc { font-size: .8rem; color: var(--text-tenue); }
#configurador-creueta .cfg__tipuscard:has(input:checked) {
    border-color: var(--color-tercer); background: rgba(245, 165, 143, .12);
}
#configurador-creueta .cfg__tipuscard:has(input:focus-visible) { outline: 3px solid var(--color-tercer); outline-offset: 2px; }

/* camps */
#configurador-creueta .cfg__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#configurador-creueta .cfg__fila--afegir { align-items: end; }
#configurador-creueta .cfg__grup { margin-bottom: 12px; min-width: 0; }
#configurador-creueta .cfg__grup > label {
    display: block; margin-bottom: 5px;
    font-size: .82rem; font-weight: 600; color: var(--text-tenue);
}
#configurador-creueta .cfg__grup--check > label {
    display: flex; gap: 8px; align-items: flex-start;
    font-size: .92rem; font-weight: 400; color: var(--text-base); cursor: pointer;
}
#configurador-creueta .cfg__grup--check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-tercer); flex: none; }
#configurador-creueta .cfg__grup--check a { color: var(--color-enllaç); }
#configurador-creueta select,
#configurador-creueta input[type=number],
#configurador-creueta input[type=text],
#configurador-creueta input[type=tel],
#configurador-creueta input[type=email],
#configurador-creueta textarea {
    width: 100%; min-height: 42px; padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px;
    background: #23272c; color: var(--color-text-clar);
    font: inherit; font-size: 1rem;
}
#configurador-creueta textarea { min-height: 80px; resize: vertical; }
#configurador-creueta select:focus, #configurador-creueta input:focus, #configurador-creueta textarea:focus {
    outline: 2px solid var(--color-tercer); outline-offset: 1px; border-color: transparent;
}
#configurador-creueta select:disabled { opacity: .6; }

/* botons */
#configurador-creueta .cfg__boto {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 18px; border: 0; border-radius: 8px;
    background: var(--color-tercer); color: #2a1a15;
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
    transition: filter .15s, transform .15s;
}
#configurador-creueta .cfg__boto:hover { filter: brightness(1.07); }
#configurador-creueta .cfg__boto:active { transform: translateY(1px); }
#configurador-creueta .cfg__boto:disabled { opacity: .6; cursor: wait; }
#configurador-creueta .cfg__boto--gran { min-height: 50px; padding: 12px 28px; font-size: 1.05rem; }
#configurador-creueta .cfg__boto--sec { background: transparent; color: var(--color-tercer); border: 1px solid var(--color-tercer); }
#configurador-creueta .cfg__fila--afegir .cfg__boto { margin-bottom: 12px; }
#configurador-creueta .cfg__avis { margin: 0 0 12px; color: #9fd89f; font-size: .9rem; }

/* columna de la dreta */
#configurador-creueta .cfg__vista {
    position: sticky; top: 16px;
    padding: 16px; border-radius: 10px;
    background: #262a30; border: 1px solid rgba(255, 255, 255, .1);
}
#configurador-creueta .cfg__dibuixos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#configurador-creueta .cfg__dibuixos figure { margin: 0; text-align: center; }
#configurador-creueta .cfg__dibuixos svg {
    width: 100%; height: auto; display: block;
    background: #1e2126; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .08);
}
#configurador-creueta figcaption { margin-top: 4px; font-size: .75rem; color: var(--text-tenue); text-transform: uppercase; letter-spacing: .06em; }
#configurador-creueta .cfg-pilar { fill: #5b636d; stroke: #c9ced4; stroke-width: 1.2; }
#configurador-creueta .cfg-brac { stroke: var(--color-tercer); stroke-linecap: butt; }
#configurador-creueta .cfg-brac-front { fill: var(--color-tercer); }
#configurador-creueta .cfg-rodo { stroke: #f9d3c7; stroke-width: 1.2; }
#configurador-creueta .cfg-vora { stroke: #7f8790; stroke-width: 1.5; stroke-dasharray: 5 4; }
#configurador-creueta .cfg-forjat { fill: rgba(200, 205, 212, .25); }
#configurador-creueta .cfg-placa { fill: #c9ced4; }
#configurador-creueta .cfg-terra { stroke: #7f8790; stroke-width: 2; }
#configurador-creueta .cfg-cotalinia { stroke: #7f8790; stroke-width: 1; stroke-dasharray: 3 3; }
#configurador-creueta .cfg-cota { fill: #c9ced4; font-size: 11px; font-family: Inter, Arial, sans-serif; }
#configurador-creueta .cfg-cota-linia { stroke: #c9ced4; stroke-width: .9; }
#configurador-creueta .cfg-forjat-detall { fill: rgba(200, 205, 212, .14); stroke: #7f8790; stroke-width: 1.2; stroke-dasharray: 5 4; }
#configurador-creueta .cfg-detall-brac { fill: var(--color-tercer); }
#configurador-creueta .cfg-brac-rect { fill: var(--color-tercer); }
#configurador-creueta .cfg__dibuixos figure.cfg__detall { grid-column: 1 / -1; }
#configurador-creueta output.cfg__sortida {
    display: flex; align-items: center; min-height: 42px; padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px;
    background: rgba(255, 255, 255, .05); color: var(--color-tercer);
    font: inherit; font-weight: 700;
}
#configurador-creueta output.cfg__sortida--error { color: #ffb4a3; font-weight: 600; }

#configurador-creueta .cfg__resum { margin: 12px 0 8px; font-size: .88rem; color: var(--text-base); }
#configurador-creueta .cfg__pes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
#configurador-creueta .cfg__pes div { padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); }
#configurador-creueta .cfg__pes dt { font-size: .75rem; color: var(--text-tenue); }
#configurador-creueta .cfg__pes dd { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--color-tercer); }
#configurador-creueta .cfg__nota { margin: 6px 0 0; font-size: .75rem; color: var(--text-tenue); }

#configurador-creueta .cfg__llista { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
#configurador-creueta .cfg__llista h3 { margin: 0 0 8px; font-size: 1rem; color: var(--color-text-clar); }
#configurador-creueta .cfg__buida { margin: 0; font-size: .85rem; color: var(--text-tenue); }
#configurador-creueta .cfg__llista ol { margin: 0; padding: 0 0 0 1.2em; }
#configurador-creueta .cfg__llista li { margin-bottom: 8px; font-size: .86rem; }
#configurador-creueta .cfg__llista li strong { color: var(--color-tercer); }
#configurador-creueta .cfg__treure {
    margin-left: 6px; padding: 0 4px; border: 0; background: none;
    color: var(--color-enllaç); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer;
}
#configurador-creueta .cfg__total { margin: 8px 0 0; font-weight: 700; color: var(--color-text-clar); }

/* enviament */
#configurador-creueta .cfg__envia, #configurador-creueta .cfg__ok {
    margin-top: 26px; padding: 20px; border-radius: 10px;
    background: rgba(20, 22, 25, .3); border: 1px solid rgba(245, 165, 143, .35);
}
#configurador-creueta .cfg__graella { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; }
#configurador-creueta .cfg__grup--ample { grid-column: 1 / -1; }
#configurador-creueta .cfg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#configurador-creueta .cfg__error { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: rgba(182, 76, 56, .25); color: #ffd9cf; }
#configurador-creueta .cfg__accions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
#configurador-creueta .cfg__truca { margin: 0; font-size: .9rem; color: var(--text-tenue); }
#configurador-creueta .cfg__truca a { color: var(--color-enllaç); }
#configurador-creueta .cfg__ok h3 { margin: 0 0 8px; color: #9fd89f; }
#configurador-creueta .cfg__ok strong { color: var(--color-tercer); font-size: 1.1rem; }
#configurador-creueta [hidden] { display: none !important; }

@media (max-width: 980px) {
    #configurador-creueta .cfg__cos { grid-template-columns: 1fr; }
    #configurador-creueta .cfg__vista { position: static; }
    #configurador-creueta .cfg__graella { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    #configurador-creueta { width: auto; margin: 12px 16px; padding: 16px; }
    #configurador-creueta .cfg__tipus { grid-template-columns: 1fr 1fr; }
    #configurador-creueta .cfg__fila, #configurador-creueta .cfg__graella { grid-template-columns: 1fr; }
    #configurador-creueta .cfg__pas { padding: 12px 12px 4px; }
}
@media (prefers-reduced-motion: reduce) {
    #configurador-creueta .cfg__boto, #configurador-creueta .cfg__tipuscard { transition: none; }
}
@media print {
    body * { visibility: hidden; }
    #configurador-creueta, #configurador-creueta * { visibility: visible; }
    #configurador-creueta { position: absolute; left: 0; top: 0; width: 100%; background: #fff; color: #000; box-shadow: none; border: 0; }
    #configurador-creueta .cfg__ctrles, #configurador-creueta .cfg__envia, #configurador-creueta .cfg__accions, #configurador-creueta .cfg__treure { display: none !important; }
    #configurador-creueta .cfg__cos { display: block; }
}

/* Text informatiu de la seccio de creuetes (producte 17164) i fitxes dels
   productes de creuetes. El contingut ve de la BD amb aquestes classes. */
.creuetes-info { max-width: 920px; margin: 0 auto; line-height: 1.6; }
.creuetes-info h2 { margin: 1.6em 0 .5em; color: var(--color-tercer); }
.creuetes-info h3 { margin: 1.2em 0 .3em; font-size: 1.05rem; color: var(--color-text-clar); }
.creuetes-info ul, .creuetes-info ol { padding-left: 1.3em; }
.creuetes-info li { margin-bottom: .4em; }
.creuetes-info__foto {
    float: right; width: 32%; max-width: 300px; height: auto;
    margin: 6px 0 16px 28px; border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
.creuetes-info__cta { clear: both; margin-top: 2em; font-size: 1.05rem; }
.creuetes-info__cta a:first-child,
.creueta-fitxa__cta {
    display: inline-block; padding: 12px 22px; border-radius: 8px;
    background: var(--color-tercer); color: #2a1a15 !important;
    font-weight: 700; text-decoration: none;
}
.creueta-fitxa { max-width: 720px; }
.creueta-fitxa__img {
    display: block; width: 100%; max-width: 440px; height: auto;
    padding: 8px; border-radius: 10px; background: #f4f5f6;
}
@media (max-width: 600px) {
    .creuetes-info__foto { float: none; width: 100%; max-width: none; margin: 0 0 16px; }
}
/* El CSS antic de .texte_producte_normal posa els enllaços en bloc i amb
   marge esquerre; aqui es tornen a enllaços normals. */
.creuetes-info a, .creueta-fitxa a { display: inline; margin: 0; width: auto; max-width: 100%; }
.creuetes-info__cta a:first-child, .creueta-fitxa a.creueta-fitxa__cta { display: inline-block; margin: 0 6px 8px 0; }
/* El CSS antic fa flotar enllaços i imatges dins el text de producte. */
.creuetes-info a, .creueta-fitxa a { float: none !important; display: inline !important; }
.creuetes-info__cta a:first-child, .creueta-fitxa a.creueta-fitxa__cta { display: inline-block !important; }
.creuetes-info img.creuetes-info__foto { float: right !important; margin: 6px 0 16px 28px !important; }
.creueta-fitxa img.creueta-fitxa__img { float: none !important; }
@media (max-width: 600px) {
    .creuetes-info img.creuetes-info__foto { float: none !important; width: 100% !important; max-width: none; margin: 0 0 16px !important; }
}

/* ---------- Franja de la portada cap a l'assistent de creuetes (despres_banner.php) ---------- */
.franja-creuetes {
    clear: both; /* el banner va flotant: la franja ha d'anar a sota */
    /* 06/11/2026: el degradat acabava en un vermell massa clar i el text
       secundari (peach) es perdia. S'ha enfosquit el costat dret i el text
       passa a un blanc càlid: 5.5:1 en el pitjor punt del degradat. */
    background: linear-gradient(100deg, #7a2315 0%, #a33d2b 100%);
    border-bottom: 1px solid rgba(0, 0, 0, .25);
    padding: 14px 16px;
    box-sizing: border-box;
}
.franja-creuetes a.franja-creuetes__in {
    display: flex !important;
    float: none !important;
    align-items: center;
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 0 !important;
    color: #fff !important;
    text-decoration: none !important;
    background: none !important;
}
.franja-creuetes__img {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px;
    line-height: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.franja-creuetes__img img {
    display: block;
    float: none !important;
    width: 130px;
    height: auto;
    margin: 0 !important;
}
.franja-creuetes__txt {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}
.franja-creuetes__txt strong {
    font-size: 1.45rem;
    line-height: 1.2;
    color: #fff;
}
.franja-creuetes__txt span {
    font-size: 1.02rem;
    line-height: 1.4;
    color: #ffe9e1;
}
.franja-creuetes__boto {
    flex: 0 0 auto;
    background: #fff;
    color: var(--color-principal);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 22px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    transition: transform .15s ease, background-color .15s ease;
}
.franja-creuetes a.franja-creuetes__in:hover .franja-creuetes__boto,
.franja-creuetes a.franja-creuetes__in:focus-visible .franja-creuetes__boto {
    background: var(--color-tercer);
    transform: translateX(3px);
}
.franja-creuetes a.franja-creuetes__in:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
    border-radius: 8px;
}
@media (max-width: 700px) {
    .franja-creuetes { padding: 12px 16px 14px; }
    .franja-creuetes a.franja-creuetes__in { flex-wrap: wrap; gap: 10px 14px; }
    .franja-creuetes__img img { width: 92px; }
    .franja-creuetes__txt { flex: 1 1 0; min-width: 0; }
    .franja-creuetes__txt strong { font-size: 1.15rem; }
    .franja-creuetes__txt span { font-size: .92rem; }
    .franja-creuetes__boto { flex: 1 1 100%; text-align: center; padding: 11px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .franja-creuetes__boto { transition: none; }
}
@media print {
    .franja-creuetes { display: none; }
}

/* ===========================================================================
   Desplegables del menú principal (escriptori)

   Abans el submenú era una caixa blanca de 180px amb els enllaços a
   line-height:60px, heretat de #navmenu-h a. Això feia que cada opció ocupés
   una línia altíssima i que els títols llargs es partissin en dues línies.
   A més, el text salmon sobre blanc desentonava amb la resta del web.

   Ara és una targeta fosca com la de la resta del disseny, amb les opcions
   en bloc, un line-height normal i prou amplada perquè no es parteixin.
   El bloc va acotat a escriptori (>=891px) per no tocar el menú mòbil, que
   té els seus propis estils a content.css.
   =========================================================================== */
@media (min-width: 891px) {
    #navmenu-h li ul.nivell_2 {
        /* L'amplada s'adapta a l'opció més llarga de cada idioma; el mínim
           manté la targeta ample i el màxim evita desbordaments. */
        width: max-content;
        min-width: 300px;
        max-width: 420px;
        padding: 8px;
        margin-top: 0;
        top: 100%;
        background: linear-gradient(160deg, #414852 0%, #333842 100%);
        border: 1px solid rgba(245, 165, 143, .24);
        border-radius: 10px;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .42);
        z-index: 1001;
    }

    /* Cada opció és un bloc de ple ample, no un float heretat del menú. */
    #navmenu-h li ul.nivell_2 li {
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #navmenu-h li ul.nivell_2 li + li {
        margin-top: 2px;
    }

    /* El line-height normal substitueix el 60px del menú principal. */
    #navmenu-h li ul.nivell_2 li a {
        display: block;
        padding: 9px 12px;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: var(--text-base);
        font-size: .95rem;
        font-weight: 500;
        line-height: 1.35;
        text-align: left;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color .15s ease, color .15s ease;
    }

    #navmenu-h li ul.nivell_2 li a:hover,
    #navmenu-h li ul.nivell_2 li a:focus-visible {
        background: rgba(245, 165, 143, .16);
        color: var(--color-tercer);
        font-weight: 500; /* evita el salt de lletra del menú principal */
        outline: none;
    }

    /* El selector d'idiomes és a la dreta: el desplegable s'obre cap a
       l'esquerra per no sortir de la pantalla. */
    #navmenu-h li#banderes > ul.nivell_2 {
        left: auto;
        right: 0;
    }
}

/* Reveal elastic de les categories de la portada - 06/11/2026
   Els blocs arrenquen 70 px per sota i es deixen anar amb un overshoot
   suau quan entren al viewport. Nomes sota .has-categ-anim, que afegeix
   el JS abans del primer pintat; sense JS no hi ha desplacament. */
@media (prefers-reduced-motion: no-preference) {
    .has-categ-anim #cos.cos_inici article.categ {
        opacity: .65;
        transform: translate3d(0, 70px, 0);
        transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .55s ease;
        transition-delay: calc(var(--categ-i, 0) * 70ms);
        will-change: transform, opacity;
    }
    .has-categ-anim #cos.cos_inici article.categ.from-above {
        transform: translate3d(0, -70px, 0);
    }
    .has-categ-anim #cos.cos_inici article.categ.is-settled {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        will-change: auto;
    }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 700px) {
    .has-categ-anim #cos.cos_inici article.categ {
        transform: translate3d(0, 24px, 0);
    }
    .has-categ-anim #cos.cos_inici article.categ.from-above {
        transform: translate3d(0, -24px, 0);
    }
}

/* Categories de la portada: panell fosc + targetes clares + accent per grup
   06/11/2026. Nomes afecta #cos.cos_inici; les pagines de categoria no canvien. */
#cos.cos_inici article.categ:nth-of-type(4n+1) { --cat-accent: #f5a58f; }
#cos.cos_inici article.categ:nth-of-type(4n+2) { --cat-accent: #8fb3c9; }
#cos.cos_inici article.categ:nth-of-type(4n+3) { --cat-accent: #a9c46c; }
#cos.cos_inici article.categ:nth-of-type(4n+4) { --cat-accent: #d9b48f; }

#cos.cos_inici article.categ {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
    box-sizing: border-box;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(160deg, #2c323b 0%, #20252c 100%);
    background-size: 22px 22px, 22px 22px, 100% 100%;
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 3px solid var(--cat-accent, var(--color-tercer));
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
    padding: 2px 14px 12px;
}

#cos.cos_inici article.categ .categoria-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    float: none;
    width: auto;
    box-sizing: border-box;
    opacity: 1;
    padding: 14px 2px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    margin-bottom: 2px;
}

#cos.cos_inici article.categ .categoria-header::before {
    content: "";
    flex: 0 0 28px;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--cat-accent, var(--color-tercer));
}

#cos.cos_inici article.categ .categoria-header h2 {
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--color-tercer);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.2;
    letter-spacing: .01em;
}

#cos.cos_inici article.categ .categoria-header h2 a {
    color: var(--color-tercer);
    text-decoration: none;
    transition: color .2s ease;
}

#cos.cos_inici article.categ .categoria-header h2 a:hover {
    color: #fff;
}

#cos.cos_inici article.categ .item {
    width: auto;
    margin: 0;
    align-items: center;
    color: #e7eaee;
    background: linear-gradient(160deg, #3a424c 0%, #2b323b 100%);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

#cos.cos_inici article.categ .item:hover {
    width: auto;
    margin: 0;
    border-color: var(--cat-accent, var(--color-tercer));
    box-shadow: 0 12px 24px rgba(0, 0, 0, .40);
    transform: translateY(-4px);
}

#cos.cos_inici article.categ .item .item-img {
    width: 32%;
    margin: 8px;
    padding: 8px;
    background: #ece7e0;
    border-radius: 9px;
    box-sizing: border-box;
}

#cos.cos_inici article.categ .item .item-img img {
    width: 100%;
    max-height: 84px;
    object-fit: contain;
    border-radius: 4px;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

#cos.cos_inici article.categ .item:hover .item-img img {
    transform: scale(1.07);
}

#cos.cos_inici article.categ .item .item-descripcio {
    width: 68%;
    padding: 6px 12px;
    box-sizing: border-box;
}

#cos.cos_inici article.categ .item .item-descripcio a h3 {
    color: #e7eaee;
    font-size: .98rem;
    line-height: 1.3;
    text-align: left;
    transition: color .2s ease;
}

#cos.cos_inici article.categ .item .item-descripcio a h3::after {
    content: "→";
    display: inline-block;
    margin-left: 6px;
    color: var(--cat-accent, var(--color-tercer));
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s ease, transform .2s ease;
}

#cos.cos_inici article.categ .item:hover .item-descripcio a h3::after {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 890px) {
    #cos.cos_inici article.categ {
        grid-template-columns: 1fr;
    }
    #cos.cos_inici article.categ .item {
        width: auto;
        margin: 0;
    }
    #cos.cos_inici article.categ .item:hover {
        width: auto;
        margin: 0;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cos.cos_inici article.categ .item,
    #cos.cos_inici article.categ .item:hover {
        transform: none;
        transition: none;
    }
    #cos.cos_inici article.categ .item .item-img img,
    #cos.cos_inici article.categ .item:hover .item-img img {
        transform: none;
        transition: none;
    }
}

/* On som / mapallarg - 06/11/2026 */
#mapallarg.mapa-banda {
    clear: both;
    float: none;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px 36px;
    background: transparent;
}
#mapallarg .mapa-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
    padding: 26px;
    box-sizing: border-box;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(160deg, #2c323b 0%, #20252c 100%);
    background-size: 22px 22px, 22px 22px, 100% 100%;
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 3px solid var(--color-tercer);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
#mapallarg .mapa-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}
#mapallarg .mapa-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-tercer);
    font-weight: 700;
}
#mapallarg .mapa-info h2 {
    margin: 6px 0 10px;
    color: var(--color-tercer);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.15;
    text-align: left;
}
#mapallarg .mapa-adreca {
    margin: 0 0 6px;
    color: #e7eaee;
    font-size: 1.02rem;
    line-height: 1.5;
}
#mapallarg .mapa-horari {
    margin: 0 0 16px;
    color: #aeb6bf;
    font-size: .9rem;
}
#mapallarg .mapa-botons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
#mapallarg .mapa-boto {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    color: #e7eaee;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}
#mapallarg .mapa-boto:hover {
    border-color: var(--color-tercer);
    background: rgba(245, 165, 143, .10);
}
#mapallarg .mapa-boto--primari {
    background: var(--color-principal);
    border-color: var(--color-principal);
    color: #fff;
}
#mapallarg .mapa-boto--primari:hover {
    background: var(--color-secundari);
    border-color: var(--color-secundari);
}
#mapallarg .mapa-tels {
    margin: 0;
    color: #aeb6bf;
    font-size: .88rem;
}
#mapallarg .mapa-tels a {
    color: var(--color-tercer);
    text-decoration: none;
}
#mapallarg .mapa-mapa {
    position: relative;
    min-height: 330px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    overflow: hidden;
    background: #151a1f;
}
#mapallarg .mapa-mapa iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.9) contrast(1.05) brightness(.95);
}
#mapallarg .mapa-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(160deg, #20252c 0%, #171b20 100%);
    background-size: 22px 22px, 22px 22px, 100% 100%;
}
#mapallarg .mapa-pin {
    font-size: 2rem;
    line-height: 1;
}
#mapallarg .mapa-placeholder p {
    margin: 0;
    max-width: 300px;
    color: #aeb6bf;
    font-size: .9rem;
    line-height: 1.5;
}
@media (max-width: 900px) {
    #mapallarg.mapa-banda { padding: 6px 12px 28px; }
    #mapallarg .mapa-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }
    #mapallarg .mapa-mapa { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    #mapallarg .mapa-boto { transition: none; }
}

/* Peu de pàgina — 4 columnes (06/11/2026) */
#sota {
    display: block;
    padding: 36px 0 96px;
}
#peu_graella {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
#peu_graella .part_peu {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    float: none;
    margin: 0;
    padding: 0 24px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    border-left: 1px solid rgba(255, 255, 255, .08);
    color: var(--text-base);
}
#peu_graella .part_peu:first-child { border-left: 0; padding-left: 0; }
#peu_graella .part_peu:last-child { padding-right: 0; }
#peu_graella .part_peu:hover { transform: none; filter: none; box-shadow: none; }
#peu_graella .peu_titol,
#peu_graella #de_tit {
    margin: 0 0 12px;
    padding: 0;
    font-size: .78rem;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-tercer);
    font-weight: 700;
}
#peu_graella .t_peu {
    width: auto;
    margin: 0;
    color: var(--text-base);
    font-size: .86rem;
    line-height: 1.6;
}
#peu_graella .t_peu ul { margin: 0; padding: 0; }
#peu_graella .t_peu ul li { margin: 0 0 6px; list-style: none; }
#peu_graella .t_peu ul li a { color: var(--text-base); text-decoration: none; }
#peu_graella .t_peu ul li a:hover { color: var(--color-tercer); }
#peu_graella .titols_peu {
    width: 100%;
    float: none;
    color: var(--color-tercer);
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
}
#peu_graella .titols_peu ul {
    margin: 12px 0 0;
    color: var(--text-base);
    font-size: .86rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}
#peu_graella #mespeus { padding-left: 0; }
#peu_graella #mespeus .categoriestags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 16px;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-align: left;
}
#peu_graella #mespeus .categoriestags:hover { transform: none; }
#peu_graella #mespeus .categoriestags a { color: var(--text-base); }
#peu_graella #mespeus .categoriestags a:hover { color: var(--color-tercer); }
#peu_graella #mespeus .categoriestags a h3 {
    margin: 0;
    color: inherit;
    font-size: .82rem;
    line-height: 1.45;
    font-weight: 400;
}
#peu_graella #dades_empresa { padding: 0; }
#peu_graella #dades_empresa .de_div { color: var(--text-base); }
#peu_graella #dades_empresa .de_div a { color: var(--color-tercer); text-decoration: none; }
#peu_graella #dades_empresa .de_icona { color: var(--color-tercer); }
#peu_graella #agraiments .greeting {
    display: block;
    margin-bottom: 8px;
    color: var(--color-tercer);
    font-weight: 700;
    font-size: .9rem;
}
#peu_graella #agraiments p { margin: 0; color: var(--text-base); font-size: .86rem; line-height: 1.6; }
#peu_graella #agraiments a { color: var(--color-tercer); text-decoration: none; }
#peu_graella #agraiments a:hover { text-decoration: underline; }
#peu_legal {
    max-width: 1200px;
    margin: 28px auto 0;
    padding: 14px 24px 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #8f98a3;
    font-size: .78rem;
    box-sizing: border-box;
}
#peu_legal a { color: #aeb6bf; text-decoration: none; }
#peu_legal a:hover { color: var(--color-tercer); }
@media (max-width: 1000px) {
    #peu_graella { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #peu_graella .part_peu { padding: 24px 22px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
    #peu_graella .part_peu:nth-child(1), #peu_graella .part_peu:nth-child(2) { border-top: 0; }
    #peu_graella .part_peu:nth-child(odd) { padding-left: 0; }
    #peu_graella .part_peu:nth-child(even) { padding-right: 0; }
}
@media (max-width: 620px) {
    #peu_graella { grid-template-columns: 1fr; }
    #peu_graella .part_peu { padding: 20px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
    #peu_graella .part_peu:first-child { border-top: 0; }
    #peu_legal { justify-content: center; text-align: center; padding-left: 16px; padding-right: 16px; }
}
