:root{
	--main-header-color:#ffffff; /* fondo limpio corporativo */
	--main-red:#556B2F; /* verde Terraforma */
}
*{
	font-family: 'Montserrat', 'Sen', sans-serif;
}
body,html{
	margin: 0;
	padding: 0;
}
body{
    background-color: #f3f3f3;
}
.tienda-header{
	height: 38px;
	padding: 10px;
	width: calc(100% - 17px);
	line-height: 40px;
	display: flex;
	background: var(--main-header-color);
	position: fixed;
	top: 0px !important;
	left: 0;
	z-index: 900;
}
.logo-place{
	padding-left: 40px;
	width: 121px;
	justify-content: center;
	align-items: center;
	margin-top: 1px;
}
.logo-place img{
	width: 100%;
}
.search-place{
	width: calc(100% - 440px);
	display: flex;
	padding: 0px 20px;
}
input{
	padding: 10px;
	font-size: 15px;
	background-color: #fefefe;
	border:1px solid #ccc;
	width: calc(100% - 62px);
	font-family: 'Sen', sans-serif;
}
input:placeholder{
	color: #ccc;
}
.search-place input{
	padding: 10px;
	font-size: 15px;
	background-color: #fefefe;
	border:1px solid #ccc;
	width: calc(100% - 62px);
	font-family: 'Sen', sans-serif;
}
.search-place input:placeholder{
	color: #ccc;
}
.btn-main{
	padding: 10px;
	font-size: 15px;
	background-color: #fefefe;
	border-style: none;
	border:1px solid #ccc;
	cursor: pointer;
}
.btn-search{
	width: 40px;
	color: #333;
}
.options-place{
	margin-right: 30px;
	width: 250px;
	display: flex;
	justify-content: flex-end;
}
.item-option{
	padding: 5px 10px;
	line-height: 30px;
	font-size: 30px;
	cursor: pointer;
	color:#626262;
	font-family: 'Sen', sans-serif;
	display: flex;
}
.item-option p{
	font-size: 15px;
	margin: 0;
	margin-left: 5px;
}
.main-content{
	margin-top: 160px;
	width: 100%;
	font-family: 'Sen', sans-serif;
}
.content-page{
	margin: auto;
	padding: 10px;
	width: calc(100% - 20px);
	max-width: 1180px;
}
.content-page section{
	display: flex;
	background: #fff;
}
.part1{
	padding: 10px;
	width: calc(60% - 20px);
}
.part2{
	padding: 10px;
	width: calc(40% - 20px);
	border-left: 1px solid #ddd;
}
.part1 img{
	width: 100%;
}
.part2 *{
	margin: 10px 0;
	font-family: 'Sen', sans-serif;
}
.part2 h2{
	color: #333;
	font-size: 30px;
}
.part2 h1{
	color: var(--main-red);
	font-size: 45px;
}
.part2 h1 span{
	color: #c71212;
	font-size: 30px;
}
.part2 h3{
	color: #333;
	font-weight: normal;
}
button{
	border-style: none;
	border-radius: 6px;
	padding: 13px 20px;
	color: #fff;
	background: #556B2F;
	cursor: pointer;
	font-size: 16px;
	transition: 0.3s ease;
}
button:hover{
	background: #2E3B1F;
}
.part2 button{
	border-style: none;
	border-radius: 5px;
	padding: 13px 20px;
	color: #fff;
	background: #c71212;
	cursor: pointer;
	font-size: 16px;
}
.title-section{
	padding: 60px 0; 
	padding-bottom: 10px;
	font-size: 20px;
	color: #666;
	font-family: 'Sen', sans-serif;
}
.products-list{
	display: table;
	width: 100%;
}
.product-box{
	display: inline-table;
	padding: 10px;
	width: calc(100%/5 - 20px);
}
.product-box a{
	text-decoration: none;
}
.product{
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 0 8px 3px #ccc;
	background-color: #fff;
	font-family: 'Sen', sans-serif;
}
.product img{
	width: 100%;
	border-radius: 10px 10px 0 0;
}
.detail-title{
	padding: 5px;
	text-align: center;
	font-size: 18px;
	color: #333;
	width: calc(100% - 10px);
	height: 35px;
}
.detail-description{
	text-align: center;
	font-size: 14px;
	color: #333;
	padding: 5px;
	width: calc(100% - 10px);
	height: 34px;
}
.detail-price{
	text-align: center;
	font-size: 25px;
	color: var(--main-red);
	padding: 5px;
	width: calc(100% - 10px);
}
.detail-price span{
	font-size: 15px;
}
a{
	color: #626262;
}
.body-pedidos{
	width: 100%;
}
.item-pedido{
	display: flex;
	border: 1px #ccc solid;
	margin-bottom: 5px;
	background: #fff;
}
.pedido-img{
	width: 200px;
}
.pedido-img img{
	width: 100%;
}
.pedido-detalle{
	padding: 10px;
	width: calc(100% - 220px);
}
.pedido-detalle h3,
.pedido-detalle p{
	margin: 5px 0;
}
.ipt-procom{
	width: 250px;
	margin-bottom: 5px;
}
.p-line{
	display: flex;
}
.p-line div{
	width: 150px;
	font-weight: 600;
}
.metodo-pago{
	display: flex;
	width: 100%;
}
input[type="radio"]{
	width: 20px;
	height: 20px;
	margin: 0 5px 5px 5px;
}
.metodo-pago label{
	width: calc(100% - 30px);
}
.content-page h4{
	margin: 5px 0;
}
.menu-opciones{
	
	width: 160px;
	background: #fff;
	position: fixed;
	top: 146px;
    right: 50px;
	color: #333;
	box-shadow: 0 0 8px 3px rgb(150,150,150);
	border-radius: 5px;
}
.menu-opciones ul{
	margin: 0;
	padding: 0;
}
.menu-opciones ul li{
	display: block;
}
.menu-opciones ul li a{
	color: #333;
	font-size: 13px;
	text-decoration: none;
}
.menu-opcion{
	padding: 10px 15px;
}
.caja-detalle{
	width: 100%;
	display: flex;
	background: #fff;
}
.caja-detalle .img{
	width: 150px;
}
.caja-detalle .img img{
	width: 100%;
}
.caja-detalle .detalle{
	width: calc(100% - 150px);
	padding: 10px;
}
.caja-detalle .detalle *{
	margin: 0;
}
.mb5{
	margin-bottom: 5px!important;
}
.btn-delete-cart{
	padding: 5px 0;
	text-decoration: underline;
	color: blue;
	background: transparent;
}
.menu-movil{
	display: none;
	position: fixed;
	top: 10px;
	right: 10px;
}
footer{
	background: #000;
	width: 100%;
}
.body-footer{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}
.body-footer h5{
	margin: 0;
	color: #aaa;
}
.div-flex{
	display: flex;
}
.div-flex .part{
	padding: 0 10px;
	width: 50%;
}
.div-flex .part h4{
	margin: 0;
	color: #fff;
}
.div-flex .part p{
	color: #fff;
}
.mb20{
	margin-bottom: 20px;
}
.mb10{
	margin-bottom: 10px!important;
}
@media(max-width: 850px){
	.product-box {
	    width: calc(100%/4 - 20px);
	}
}
@media(max-width: 700px){
	.product-box {
	    width: calc(100%/3 - 20px);
	}
	.options-place{
		width: 200px;
	}
	.search-place{
		width: calc(100% - 250px);
	}
}
@media(max-width: 500px){

	.product-box {
	    width: calc(100%/2 - 20px);
	}

	/* ===== MANTENER LOGIN + CARRITO ===== */
	.options-place{
		display: flex;
		width: 110px;
		margin-right: 10px;
		align-items: center;
		justify-content: flex-end;
	}

	.item-option{
		font-size: 20px;
		padding: 5px;
	}

	.item-option p{
		display: none; /* ocultamos el texto, dejamos solo ícono */
	}

	.menu-movil{
		display: block;
	}

	.logo-place{
		width: 100px;
		margin-top: 0;
		padding-left: 10px;
	}

	/* reajustamos buscador para que entre todo */
	.search-place{
		width: calc(100% - 220px);
		padding: 0 10px;
	}

	.menu-opciones {
	    right: 10px;
	}

	.content-page section{
		display: block;
	}

	.part2{
		width: calc(100% - 20px);
	}

	.part2 h2,.part2 h1,.part2 h3{
		margin: 0;
	}

	.part2 h2{ font-size: 20px; }
	.part2 h1{ font-size: 25px; }
	.part2 h1 span{ font-size: 16px; }
	.part2 h4{ font-size: 14px; }

	.pedido-img{ width: 120px; }
	.pedido-detalle{ width: calc(100% - 140px); }

	h3{ margin: 10px 0; }
}

/* Compensa el header corporativo fijo */
.main-content{
    margin-top: 140px;
}

/* ===== FIX HEADER TERRAFO RMA + TIENDA ===== */
.tienda-header{
    margin-top: 90px !important;
}

@media(max-width:600px){

	.tienda-header{
		margin-top: 94px !important;
	}

	/* ===== AJUSTE SOLO LOGO TIENDA EN MOBILE ===== */
	.logo-place{
		margin-top: 7px;
		padding-left: 5px;
		width: 121px;              /* mismo ancho que desktop */
		height: 38px;              /* mismo alto que barra buscador */
		display: flex;
		align-items: center;
	}

	.logo-place img{
		width: 121px;              /* mismo ancho que logo header corporativo */
		height: 38px;              /* mismo alto visual que barra */
		object-fit: contain;       /* evita deformación */
	}
}

.item-pedido input[type="checkbox"]{
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 15px 10px 0 10px;
}

#space-list input[type="checkbox"]{
    width:16px;
    height:16px;
    padding:0;
    margin:15px 10px 0 10px;
}

/* Solo checkbox Seleccionar todos */
.check-all{
    width:16px;
    height:16px;
    padding:0;
    margin:; /* margen ajustado para alinear con el texto */
    vertical-align: middle; /* asegura que quede centrado verticalmente */
}
#space-list input.check-all {
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0px 10px 0 10px;           /* alineado con el texto */
    vertical-align: middle;
}

/* =========================
RESPONSIVE CARRITO
========================= */

@media(max-width:600px){

/* ITEMS DEL CARRITO */
.item-pedido{
flex-direction:column;
}

.pedido-img{
width:100%;
max-width:220px;
margin:auto;
}

.pedido-detalle{
width:100%;
}

/* INPUTS DEL FORMULARIO */
.ipt-procom{
width:100%;
}

/* METODOS DE PAGO */
.metodo-pago{
align-items:center;
}

/* BOTON ELIMINAR */
.btn-delete-cart{
display:inline-block;
margin-top:8px;
}

}

.search-suggestions{
position:absolute;
background:white;
width:100%;
max-width:500px;
box-shadow:0 4px 12px rgba(0,0,0,0.1);
border-radius:8px;
overflow:hidden;
z-index:999;
}

.suggestion-item{
display:flex;
align-items:center;
gap:10px;
padding:10px;
cursor:pointer;
border-bottom:1px solid #eee;
}

.suggestion-item:hover{
background:#f5f5f5;
}

.suggestion-item img{
width:40px;
height:40px;
object-fit:cover;
border-radius:5px;
}