/*
Theme Name: Automotors
Theme URI: https://logicalweb.bo
Version: 1.0
Description: Tema hijo de twentytwentyfive
Author: Enrrique
Author URI: https://logicalweb.bo
Template: twentytwentyfive
*/
.text-line-2 {
    display: -webkit-box;           /* 1. Define el contexto de caja flexible antiguo */
    -webkit-line-clamp: 2;          /* 2. Indica el número máximo de líneas */
    -webkit-box-orient: vertical;   /* 3. Define la orientación vertical */
    overflow: hidden;               /* 4. Oculta el resto del texto */
}
.card-title a{
	display:block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-title{
	display:block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
a:hover{
	text-decoration:none;
	color:#df0209;
}
:root :where(.wp-element-button:hover, .wp-block-button__link:hover){
	background-color: #ff020a !important;
    color: white !important;
}
.w-100{
	width:100%;	
}
/*HEADER*/
header{
	position:sticky;
	top:0;
	z-index:10;
	width:100%;
}
header nav a{
	text-decoration:none;
		padding: 0.5rem;
}
header nav a:is(:hover,:actove,:focus){
	text-decoration:none;
	outline:none;
}
header nav a:hover{
	    border-radius: 0.5rem;
    padding: 0.5rem;
    background-color: #035cff;
    color: #fff !important;
}
header nav a[aria-current="page"]{
	    border-radius: 0.5rem;
    padding: 0.5rem;
    background-color: #035cff;
    color: #fff !important;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item.mega-icon-top > a.mega-menu-link:before{
	font-size:2rem !important;
}
.content-call{
	min-width:370px;
}
/*HOME*/
.gs_logo_single{
	border:2px solid #e9e6ed;
	box-sizing:border-box;
}
.content-types{
	position:relative;
	z-index:5;
}
.gs_logo_single{
	background-color:white;
}
.description-vehicle p{
	margin:0;
}
.terminos a{
	text-decoration:none;
}
.wp-block-woocommerce-product-summary{
	margin:0;
}
.content-especification p{
	margin:0;
}
.content-especification :where(td,th){
	padding:0.15rem !important;
	border:none !important;
}
.content-especification tr:nth-child(even){
	background-color:#efefef;
}
.wc-block-components-product-image__inner-container{
justify-content:flex-end;}
.vehiculos, .repuestos, .inmuebles{
	transition:transform 1s;
}

.vehiculos:hover, .repuestos:hover, .inmuebles:hover{
	cursor:pointer;
	transform:scale(1.15);
}

/* Estilos para la tabla del shortcode [ficha_tecnica] */
.tabla-atributos-custom {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 0.95em;
    border: 1px solid #eee;
}

.tabla-atributos-custom th, 
.tabla-atributos-custom td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

/* Columna de etiquetas (izquierda) */
.tabla-atributos-custom th {
    background-color: #f9f9f9;
    font-weight: 600;
    width: 35%; /* Ajusta este ancho según necesites */
    color: #333;
}

/* Columna de valores (derecha) */
.tabla-atributos-custom td {
    color: #555;
}

/* Efecto cebra (filas alternadas) */
.tabla-atributos-custom tr:nth-child(even) th,
.tabla-atributos-custom tr:nth-child(even) td {
    background-color: #fcfcfc;
}
/*STORE*/
.select-order select{
	    border-radius: 0.5rem;
    background-color: #0045e7;
    border: none;
    padding: 0.25rem;
    color: white;
}
/*PAGE PRODUCT*/
.woocommerce-product-gallery__image{
	max-height:400px;
}
.woocommerce-product-gallery__image a img{
	object-fit:cover;
	max-height:400px;
	height:100% !important;
}
.woocommerce div.product div.images .flex-control-thumbs{
	display:flex;
	gap:0.5rem;
	margin-block:0.5rem;
}
.woocommerce div.product div.images.woocommerce-product-gallery{
	
	margin:0;
}
.boton-wsp-woo-shortcode {
    display: inline-flex; /* Flex para alinear icono y texto */
    align-items: center;
    gap: 8px; /* Espacio entre icono y texto */
    background-color: #25D366;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 50px; /* Bordes más redondeados estilo app */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    line-height: 1;
}

.boton-wsp-woo-shortcode:hover {
    background-color: #128C7E;
    color: #ffffff !important;
}
.content-description-product table :where(th,td){
	text-align:left;
}
/*PEDIDO DE REPUESTO*/
.repuestos-form :where(input,textarea,select){
	width:100%;
	box-sizing:border-box;
	padding:0.5rem;
	border-radius:0.5rem;
	border:1px solid #dfdfdf;
}
.repuestos-form p{
	display:flex;
	flex-direction:column;
	gap:1rem;
}
/*CONTACT*/
.contact-form :where(input,textarea){
	width:100%;
	box-sizing:border-box;
	padding:0.5rem;
	border-radius:0.5rem;
	border:1px solid #dfdfdf;
}
.contact-form p{
	display:flex;
	flex-wrap:wrap;
	gap:1rem;
}
.wpcf7-form-control-wrap {
    position: relative;
    flex-grow: 1;
    flex-basis: 300px;
}
.wpcf7-submit{
	background-color:#df0209;
	color:white;
	border:none;
	padding:1rem;
}
/*FOOTER*/
.footer-icon{
	min-width:24px;
}
.menu-footer a{
	border: 1px solid #001781;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    color: #001781 !important;
	
}
.menu-footer a:hover{
	color:white !important;
    background-color: #001781 !important;
	
}
@media(max-width:1400px){
	.content-call{
		display:none !important;
	}
}
@media(max-width:600px){
	.content-credits{
		justify-content:center;
		gap:0 !important;
	}
}
@media(max-width:480px){
	.content-menu-input_search{
		flex-wrap:nowrap !important;
	}
}
@media(max-width:420px){
	.content-search{
		 min-width: 100px;
        max-width: 100%;
        width: clamp(100px, 50vw, 170px);

	}
}