@media (max-width: 890px) {
	.hero *{display:none;}
.cos_inici h1{font-size:24px;}
.cos_inici h2{width:96%;margin-left:2%;font-size:10px;}

#capa_general {width: 92%;margin:4%;}

.cg_table{overflow-x:scroll;}

.boto_desglos{
	margin: 0;
	font-size: 2vw;
}


.avisos_principal{height:56px;}

.categories{display:none;width:100%;}
.categories div a h3{font-size:2vw;text-align:center;}

.veure_desglos_cistella{width:70vw;left:15vw;}

#venda_desglos{
	float:left;
	width:92%;padding:2%;margin-left:2%;
	
}

#linies_desglos,#titols_linies_desglos,#afegir_linia_desglos,#b_calculo{text-align:center;}
#b_calculo input{font-size:22px;}

#linies_desglos input{font-size:18px;border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;

border-style:inset;}

.youtube {
width:100%;
margin-left:0%;
}

.youtube iframe {
width: 100%;
height:50vw;
}	
#logo_incafe{}
#tels{padding-top:2%;}
#logo_incafe{width:16%;margin:3%;}
#tels{text-align:right;width:56%;font-size:12px;}
/*Logo Green Steel en mobil: mes petit per no tapar el banner, que es mes baix*/
body #logo-acero-verde {
    top: 78px;
    left: 10px;
}

body #logo-acero-verde img {
    width: 62px;
}

body #text-av-llarg {
    top: 78px;
    left: 10px;
    width: 280px;
}

/*Finestra del pressupost a pantalla petita: tarja a amplada completa
  i taula amb scroll horitzontal, com la resta de taules del lloc*/
body .presupostos {
    width: 100%;
    max-width: none;
    margin: 20px auto;
    border-radius: 0;
    padding-bottom: 20px;
}

body .presupostos .presupostos_taula {
    width: 94%;
    margin: 15px auto;
}

#sup_dreta{display:none;}
#menu_btn{display:block;float:left;width:9%;height:8vw;margin:3% 6%;}
#b_horaris{display:none;}

#condiciones{display:none;}




    #avis_cockies {
        width: 96%;
        margin-left:0;
        padding: 2%;
        border: solid 4% white;
	font-size:14px!important;
    }
    .results {
        width: 96%;
        margin-left: 1%;
        padding: 1%;
    }
    #contenidor_menu {
	height:auto;
        display: none;
        float: left;
        width: 100%;
    }
    #navmenu-h {
        width: 100%;
	margin-left:0;
    }
    #navmenu-h li {
        width: 100%;
		text-align:center;
	    padding: 4px 0;

    }
.nivell_2 {
	width: 100%!important;
        margin: 0!important;
	padding:0!important;
        position: relative;
	background-color:#eee!important;
    }
  
#navmenu-h li ul li,#navmenu-h li ul li a{
background-color:#eee!important;
}  
#productes_part_superior{width:98%;    margin: 1%;display:block;}
    
#titol_prod{width:100%;}
    

#titol_sub,
#elsdos_textes{
width:94%;
}

.producte_recomanat {
	width:50%;
}


.titols_recomanats{
}

    .nomov {
        display: none;
    }
    .imatges_productes_botiga {
        width: 30%;
        float: left;
    }
    .texte_productes_botiga {
        font-size: 8px
    }
    .v_mobil {
        display: inline;
    }
    .v_screen {
        display: none;
    }
    .capa_logo3 {
        font-size: 12px;
        height: 40px;
    }
    .capa_logo2 {
        height: 40px;
    }
    .cos_general,.cos_ventadirecta {
        width: 96%;
        padding: 0;
        margin: 0 2%;
	
    }
	
.cos_general section{width:100%;}

    #columnaesquerra {
        width: 100%;
    }
    #columnadreta {
        width: 120%;
    }
    .seccio_botiga,
    .seccio_normal {
        width: 95%;
	height:104vw;
    }
	.seccio_botiga h2{font-size:5vw;}


    #contacte input,
    #contacte textarea,
    .titols_form {
        margin: 2%;
        width: 96%;
    }
    #widgets {
        position: absolute;
        display: block;
        margin: 0;
        top:10px;
		right:40px;
    }
    .pre_menu {
        float: left;
        width: 100%;
    }
    .buscador-movil {
        /*height: 4vw;*/
	height:0;
        margin-left: 1%;
        width: 97%;
        display: block!important;
    }
    .buscador-movil input {
        width: 100%;
        height: 50px;
        margin: 1%;
        float: left;
        padding: 10px 8px;
        color: #91A0A0;
        border: 1px solid #91A0A0;
        font-size: 1em;
    }
    .buscador-movil button {
        background: transparent;
        outline: none;
        border: none;
        position: relative;
        left: 85%;
        bottom: 50px;
    }
    .buscador-movil button img {
        width: 35px;
        float: left;
    }
    #menu_btn {
        display: block;
        float: right;
    }
    #menu_btn img {
        width: 32px;
        cursor: pointer;
    }
    #img_login {
        display: none;
    }
    /********** MENU */
    /* Header */
    
    #div_fl_esquerra {
		float:left;
		width:60%!important;
		margin-left:20%!important;
        display: block;
        cursor: pointer;
 		border-radius:25px;
		background-color:var(--color-principal)!important;
    }
    
	#div_fl_esquerra img {
        padding: 4px 0 4px 0;
    }
    #fl_avall,
    #fl_amunt {
        margin-top: 4px;
    }
    #idiomes {
        font-size: 16px;
    }
    Icones_movil {
        width: 100%;
        clear: both;
    }
    #idiomes {
        text-align: center;
        width: 60%;
        float: left;
        position: static;
        margin: 60px 0 60px 0;
        background-color: #2c2c2c;
    }
    /* Menu botiga*/
    
    #menubotiga {
        padding: 0;
        margin: 0;
    }
    #menubotiga li {
        /*margin:5;*/
        
        padding: 6px 0 6px 0;
        border-top: solid 1px #CCCCCC;
        border-bottom: solid 1px #CCCCCC;
        width: 100%;
    }
    #menubotiga li a {
        margin-left: 10px;
    }
    .menu_botiga_1 {
        display: none;
    }
    /* Cistella */
    
    #cuadres {float:left;height:25vw;width:96%;
           }
    #cuadres .passos {
        width: 21%;
        float:left;
        margin: 2%vw;
    }
    #cuadres .textos_interior {
	float:left;
        width: 100%;
        
        font-size: 16px;
        
        line-height: 2.4vw;
    }
    #titols_cistella_mes {
        font-size: 2.8vw;
        width: 96%;
        margin-left: 1%;
    }

#contingut_cistella,
#totals_cistella,
#botons_cistella{width:96%;}


.registre_cistella{flex-flow:column wrap;padding:1%;width:96%;}
.registre_cistella > * {width:90%;margin-left:5%;margin-top:1%;display:flex;}

   #c_ref,#c_desc{text-align:center;}
    
    .ci_desc{
        width: 46%;margin:0 1% 0 0 ;
    }
.ci_valor {
        width: 46%;margin:0 0 0 1%;text-align:left;
    }

.c_ref .ci_valor,.c_desc .ci_valor{width:100%;text-align:center;}
    .total_1 {
        width: 56%;
        float: left;
        margin: 1% 0 0 4%;
    }
    .total_2 {
        width: 20%;
        float: left;
        margin: 1% 0 0 0;
    }
    #botons_cistella {
        font-size: 1.6vw;
        width: 98%;
        height: 15vw;
        margin: 1%;
        font-weight: bold;
    }
    #botons_cistella .btn_c {
        width: 100%;
        margin: 1% 0 0 0;
    }
    #pagament_confirma_cistella {
        margin: 2% 0 0 1%;
        float: left;
        width: 100%;
        height: 26vw;
	text-align:center;
    }
    #comentari_compra {
        float: left;
        width: 100%;
        margin: 2%;
        height: 26vw;
    }
    /* Peu */
    
    .part_peu {
        width: 99%;
	height:auto;
	margin-top:2%;
	margin-bottom:2%;
    }
    #de_tit {
        font-size: 3.4vw;
    }
    .de_div {
        font-size: 2.4vw;
    }
    /* Mapa Google */
    
    #map_canvas {
        margin: 0;
        width: 100%;
        height: 100%;
    }
    /* Politiques i condicions i agraiments*/
    
    .t_peu {
        font-size: 2.6vw;
    }
    /* Seccio */
    .productes_seccio{
		width:96%;
		padding:0;
	}
    .productes_seccio_botiga {
	height: 100px;
        font-size: 2.6vw;
    }

	.productes_sec_botiga{
		
		width:100%;
	/*height:46vw;*/
	height:auto;	
	}




    /* PRODUCTES */
    
    #slide_producte_normal {
        width: 50%;
        max-width: 800px;
        margin: 0 0 0 0;
    }
    
    #galleria_normal {} 
    
    #foto_producte_normal img {
        width: 100%;
        margin: 0 0 0 0;
    }
    
#q_img{float:left;}
.contingut_producte_normal {
	width:98%;
	float:left;
        margin: 1%;
        text-align: justify;
    }
    /* SLIDE */
    
    #slide_producte {
        width: 100%;
    }
    #slide_producte_botiga {
	display:block;
        width:100%;
	height:100%;
    }

#slide_producte_botiga{}
   
#preus {
        width: 100%;
        background-color: #fff;
        float: left;
        margin: 0;
        padding: 0;
    }
    .preus_petit {
        height: 180px !important;
    }
    /* SECCio */
    
    .texte_producte_botiga {
        line-height: 2.6vw;
    }
    .caracteristiques {
	width:96%!important;
        padding:2%;
	margin: 0!important;
    }
	
body .caracteristiques .caracteristiques_body table tbody tr td input {
    		width: 8.2vw;
}


    .benvinguda {
        float: left;
        position: static!important;
        width: 100%!important;
    }
    .benvinguda-centrat {
        display: none;
    }
    
    body section article .categoria-header h1 {
        font-size: 5vw;
   }

    #titol_prod {
        margin: 5px;
        font-size: 3.8vw;
        margin: 0;
        padding: 0;
    }
    #titol_sub {
        margin: 5px;
        font-size: 3.6vw;
        margin: 0;
        padding: 0;
    }
    #texte_sub {
        margin: 5px;
        font-weight: normal;
        font-size: 3.4vw;
    }
    #texte_prod {
        margin: 5px;
        font-weight: normal;
        font-size: 3.4vw;
    }
    
   .capa_banner {
       height:45vw;
    }
   

    .dropbtn {
        color: white;
        padding: 16px;
        font-size: 16px;
        border: none;
        cursor: pointer;
        display: block !important;
        background-color: #c4d024;
    }
    .dropdown {
        position: relative;
        display: inline-block;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        right: 2%;
        background-color: white;
        z-index: 10;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    }
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .dropdown-content a:hover {
        background-color: #f1f1f1
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
    .item-img {
        width: 23% !important;margin:1%;
    }
    #categ-1,
    #categ-2,
    #categ-3,
    #categ-4,
    #categ-5,
    #categ-6,
    #categ-7 {
        width: 100%;
        margin: 0;
    }

article .item{height:auto;}

    body section article .item {
        width: 96%;
        margin-left: 2%;
    }
	
	body section article .item:hover {
		width:99%;
		margin: 0.5%;
	}

	
    .post_menu {
        width: 8%;
        float: left;
        margin-top: 13px
    }
	
    
	.formout input{
    	padding:10px!important;
    
	}
	
    .info_box {
        display: block;
        
    }
    .info_box_img {
        width: 99vw;
    }
    .info_box_description {
        width: 96%;padding:0 2%;
    }
#b_enllas{font-size:12px;width:98%;margin-left:1%;}
#b_enllas a{font-size:14px;}
#b_referencia{text-align:center;font-size:14px;width:98%;margin-left:1%;font-weight:bold;}
#banderes{display:block;}
}

/*****************************************************************************************

408px

******************************************************************************************/

@media (max-width: 408px) {
    body .benvinguda .benvinguda-centrat form button {
        right: 0 !important;
        top: -3.5em;
    }
}
@media (max-width: 720px) {
    .header1center p {
        float: none !important;
        text-align: center
    }

.categories div a h3{font-size:3vw;text-align:center;}

    .capa_banner {
        display: block;
    }
    .header1 {
        font-size: 12px;
    }
    .item-img {
        width: 35% !important;
    }
    .benvinguda_centrat {
        width: 98% !important;
    }
    .header1center ul {
        float: none !important;
        display: flex;
        justify-content: center;
    }
    .fanx {
        margin-right: 60px;
    }
    .header1 {
        margin-top: -15px;
        padding-top: 13px;
        padding-bottom: 5px;
       height:15vw;
    }
    .categories div {
        width: 32% !important;
	    padding: 0.1%!important;
		margin:0.4%!important;

    }

    .categories {
	width:100%;
	/*display:flex;*/
        flex-flow: row wrap !important;
	margin:2% 0;

    }


    .info_box_description_stock {
        display: none !important;
    }
    /* pressupostos */
    
    #tall {
        height: 90vw;
        width: 92%;
        margin: 3%;
        left: 0;
        top: 0;
        font-size: 12px;
        border: solid 1px red;
    }
    #capa_over {
        height: 56vw;
    }
    .encap_desglos {
        font-size: 14px;
    }
    .inp_desg {
        width: 44%;
    }

/* OFERTES DE LA PRIMERA PAGINA */
.capa_oferta{width:44%;}

.td_tit a h2 {font-size:3vw;}
#taudetall td{padding:1%!important;width:0px;}

.td:tit{min-width:10vw;}

body section article .item .item-descripcio h2{font-size:2.5vw;}
}


/* Contenidor principal centrat al 80% */
#resultats.results {
    width: 80%;
    margin: 40px 10%;
    font-family: Arial, sans-serif;
}

/* Targeta de resultat més comprimida */
.unresultat {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 8px; /* Espai reduït entre resultats */
    padding: 10px 15px; /* Pàding més ajustat */
    border-radius: 4px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.unresultat:hover {
    background-color: #f9f9f9;
    border-color: #bbb;
}

/* Capa de text: reduïm l'interliniat */
.capa_texte {
    font-size: 13px;
    line-height: 1.3; /* Text més junt */
    color: #333;
}

/* Títol: Forcem que es vegi més gran malgrat l'estil inline, però sense ocupar massa */
.capa_texte h3 {
    font-size: 15px !important; 
    margin: 0 0 5px 0 !important;
    display: inline-block;
}

/* Enllaç del títol */
#titol_buscador {
    color: #004a99;
    text-decoration: none;
    font-weight: bold;
}

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

/* Comprimim el text descriptiu */
/* Eliminem l'espai dels <br> per fer-ho més compacte */
.capa_texte br {
    content: "";
    display: block;
    margin-bottom: 2px;
}

/* Ajust per al text de les dades tècniques (Kilos, Secció, etc.) */
/* Això farà que la informació es vegi més neta */
.capa_texte {
    /*white-space: pre-line; /* Respecta els salts de línia però elimina espais sobrants */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botó "Més resultats" centrat i compacte */
#mes_resultats {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 8px 20px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}





	
/* Search results 2026-11-06 */
#resultats .search-head {
    margin: 0 0 12px 0;
    padding: 10px 14px;
    background: #f6f4f2;
    border-left: 4px solid #832817;
    font-size: 14px;
    color: #333;
}
#resultats .search-head strong { color: #832817; font-size: 16px; }
#resultats .unresultat {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: box-shadow .15s, border-color .15s;
    cursor: default;
}
#resultats .unresultat:hover {
    border-color: #c9c9c9;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    background: #fff;
}
#resultats .capa_imatge {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}
#resultats .capa_imatge img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
}
#resultats .capa_texte { flex: 1 1 auto; min-width: 0; }
#resultats .capa_texte h3 {
    display: block;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 15px !important;
    line-height: 1.3;
}
#resultats .capa_texte h3 a { color: #1f1f1f; text-decoration: none; }
#resultats .capa_texte h3 a:hover { color: #832817; text-decoration: underline; }
#resultats .res-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
    margin: 2px 0 6px;
    font-size: 12px;
    color: #666;
}
#resultats .res-ref { color: #777; }
#resultats .res-preu {
    color: #832817;
    font-weight: 700;
    font-size: 15px;
}
#resultats .res-preu small { font-weight: 400; font-size: 11px; color: #777; }
#resultats .res-desc {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #444;
}
#resultats .res-cta {
    display: inline-block;
    padding: 6px 14px;
    background: #832817;
    color: #fff !important;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}
#resultats .res-cta:hover { background: #6b2013; }
#resultats .search-empty {
    padding: 24px 18px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    text-align: center;
    color: #333;
}
#resultats .search-empty p { margin: 0 0 10px; }
#resultats .search-empty a { color: #832817; font-weight: 600; }
@media (max-width: 900px) {
    #resultats.results { width: 94%; margin: 20px 3%; }
}
@media (max-width: 640px) {
    #resultats .unresultat { flex-direction: column; }
    #resultats .capa_imatge { width: 100%; height: 140px; }
    #resultats .capa_imatge img { max-height: 130px; }
}
