/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Author:       Quelinka
 Description:  Tema hijo de Hello Elementor
 Version:      1.0.0
*/


.home #qlk-carnejoven-promotions-list {
    margin: 0 auto !important;
}

:not(.home) #qlk-carnejoven-promotions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    width: 100%;
	margin: 50px 0px 100px 0px;
}

.home .promotions--item {
    width: calc(25% - 20px);
}
.promotions--item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    width: calc(25% - 20px);
}
.promotions--item::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
    transition: all .2s;
}
.promotions--item > img {
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
    height: 100% !important;
    aspect-ratio: 1/1;
    transition: all .2s;
}
.promotions--item:hover > img {
    width: 110%;
    height: 110% !important;
}
.promotions--item-category {
    position: absolute;
    border-radius: 100px;
    background: #ffffff;
    top: 10px;
    right: 10px;
    padding: 10px;
    width: 70px;
    height: 70px;
    display: flex; 
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.promotions--item-category img {
  	width: 50px;
    height: auto !important;
    display: block;
    border-radius: 100px !important;
    overflow: hidden;
}
.promotions--item h3 {
    font-family: "Presicav", Sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
    color: white;
    padding: 20px;
    margin: 0px;
}
.promotions--item-content {
    position: absolute;
    z-index: 1;
    bottom: 0px;
    padding: 0px;
}
.promotions--item-content > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid white;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin: 0px 0 0;
    text-transform: uppercase;
    font-family: "Presicav", Sans-serif;
    padding: 0 20px;
    height: 52px;
}
.promotions--item-content > span span {
    font-size: 30px;
}




.qlk-carnejoven-promotion-footer {
    margin-top: 70px;
    margin-bottom: 70px;
    text-align: left;
    padding: 30px;
    background: #eeeeee;
    font-family: "Presicav", Sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}



/* ----------------------------------------------------------------------------------------------------------------------------*/

.qlk-carnejoven-promotion-modalities-item-icon img {
            width: 100%;
            height: auto;
            display: block;
        }

.qlk-carnejoven-promotion-modalities-item-content {
            flex: 1;
            text-align: left; /* Contenido alineado a la izquierda */
        }        


.qlk-carnejoven-promotion-detail h1 {
    text-align: center;
	margin-top: 55px;
    font-family: 'Presicav', sans-serif;
    font-size: 2rem;
    line-height: 2.1rem;
}
.qlk-carnejoven-promotion-detail > p {
    text-align: center;
    margin-bottom: 30px;
}
.qlk-carnejoven-promotion-detail > center {
    margin-bottom: 70px;
}
.qlk-carnejoven-promotion-detail > center a:last-of-type {
    margin-top: 6px;
    cursor: pointer;
}

.qlk-carnejoven-promotion-modalities-item-description-body p {
    color: inherit!important;
}



 /* Tarjetas de detalles */
        .qlk-carnejoven-promotion-modalities-item-list {
            display: flex;
            flex-direction: row;
            gap: 1em;
            margin: 1.5em 0;
            list-style: none;
            padding: 0;
			margin-bottom: 40px;
        }

        .qlk-carnejoven-promotion-modalities-item-list-item {
            background: #e9e9e9;
            border-left: 5px solid #425eff; /* Línea izquierda en azul */
            border-radius: 10px;
            padding: 1em;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            text-align: left; /* Alineado a la izquierda */
            position: relative;
            flex: 1;
        }

        .qlk-carnejoven-promotion-modalities-item-list-item:nth-child(2) {
            border-left-color: rgb(255, 59, 56); /* Línea roja para el segundo */
        }

        .qlk-carnejoven-promotion-modalities-item-list-item:nth-child(3) {
            border-left-color: rgb(0, 196, 92); /* Línea verde para el tercero */
        }

        /* Iconos en la parte superior */
        .qlk-carnejoven-promotion-modalities-item-list-item::before {
            font-size: 1.5em;
            display: block;
            margin-bottom: 0.5em;
        }

        .qlk-carnejoven-promotion-modalities-item-list-item:nth-child(1)::before {
            content: "📍";
        }

        .qlk-carnejoven-promotion-modalities-item-list-item:nth-child(2)::before {
            content: "💳";
        }

        .qlk-carnejoven-promotion-modalities-item-list-item:nth-child(3)::before {
            content: "💰";
        }


.qlk-carnejoven-promotion-modalities-item-description-title{
    display: block;
	font-weight: 700;
}
li.qlk-carnejoven-promotion-modalities-item-list-item.qlk-carnejoven-promotion-modalities-amount-regular, .qlk-carnejoven-promotion-modalities-item-list-item {
    display: block;
	font-weight: 400;
}

span.qlk-carnejoven-promotion-modalities-amount-price {
    font-size: 27px;
    line-height: 30px;
    font-weight: 700;
	text-decoration: line-through;
}

.qlk-carnejoven-promotion-modalities-amount-with-card 
.qlk-carnejoven-promotion-modalities-amount-price {
    text-decoration: none;
}

.qlk-carnejoven-promotion-modalities-item-description-show-more a {
    font-weight: 700;
    text-decoration: underline !important;
	color: #000;
}

    .qlk-carnejoven-promotion-modalities {
        gap: 150px;
		margin-top: 100px;
  }

/* Alerta*/
.qlk-carnejoven-promotion-modalities-item-discount-code-error {
    background: #e5e5e5;
    padding: 10px 20px 10px 15px;
    display: inline-block;
    margin-bottom: 10px;
}

.qlk-carnejoven-promotion-modalities-item-discount-code-error::before {
    content: "⚠️";
}

.qlk-carnejoven-promotion-modalities-item-discount-code-success {
    background: #e5e5e5;
    padding: 10px 20px 10px 15px;
    display: inline-block;
    margin-bottom: 10px;
}

.qlk-carnejoven-promotion-modalities-item-discount-code-success .qlk-carnejoven-promotion-modalities-item-code{
    font-weight: 700;
    text-align: center;
    font-size: 20px;
}

/* Estilos botones */
.qlk-carnejoven-promotion-modalities-item-buttons {
    margin-top: 30px;
}

/* Estilos de botones base */
.qlk-carnejoven-btn {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    line-height: 1.2;
}

.qlk-carnejoven-btn-primary:hover, .qlk-carnejoven-btn-discount:hover {
    opacity:0.8;
	color: #fff;
}

/* Botón subrayado (Más información) */
.qlk-carnejoven-btn-secondary {
    color: #000;
    text-decoration: underline !important;
    font-weight: bold;
    background: none;
    padding: 0;
}

.qlk-carnejoven-btn-secondary:hover {
    opacity:0.8;
}


.qlk-carnejoven-promotion-modalities-item-icon-background {
    margin-top: 70px;
}


/*estilos formulario renovación*/
.elementor-field-type-html.elementor-field-group.elementor-column.elementor-col-100 {
    padding-top: 20px !important;
}

.elementor-field-group .elementor-field-textual {
    border-radius: 5px !important;
    border: 1px solid #ccc !important;
    background-color: #ffffff !important;
    color: black !important;
    font-size: 15px !important;
    padding: 10px 15px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;

}

.elementor-field-group .elementor-select-wrapper select {
	color: black !important;
}

.qlk-carnejoven-card-application-form-container ul {
    list-style: none;
    padding: 0px;
}
.qlk-carnejoven-card-application-form-container ul {
    display: flex;
}

a.qlk-carnejoven-active, .qlk-carnejoven-card-application-form-container li a {
    font-family: Arial, sans-serif;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    line-height: 1.2;
    color: #000000;
    border: none;
    margin-right: 10px;
    background: #FFCD01;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

a.qlk-carnejoven-active:hover{
	opacity:0.8;
}

.qlk-carnejoven-card-application-form label.elementor-field-label {
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
}


.elementor-field .elementor-size-sm  .elementor-field-textual{
	 box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #a9a9a9;
    font-size: 16px;
    padding: .5rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input #form-field-name{
	background-color: #f9f9f9 !important;
}
input#qlk-carnejoven-card-application-form-renewal, input#qlk-carnejoven-card-application-form-loss, input#qlk-carnejoven-card-application-form-stolen{
	    margin: 3px 20px 0px 5px;
}


.elementor-1109 .elementor-element.elementor-element-9de2bf4 .elementor-field-type-html {
    padding-top: 20px !important;
}

.elementor-form .elementor-button.elementor-size-sm{
	font-weight: 700;
    background-color: #EB0578;
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 12px 24px;
    font-size: 14px;
    line-height: 24px;
}

a.qlk-carnejoven-active:hover, .qlk-carnejoven-card-application-form-container li a:hover, .elementor-form .elementor-button.elementor-size-sm:hover{
	opacity:0.7
}

.qlk-carnejoven-card-application-form-container h2 {
    font-size: 50px;
    font-weight: 100;
    margin-top: 20px;
}


/* Media query para tabletas */
@media (max-width: 1024px) and (min-width: 768px) {
    #qlk-carnejoven-promotions-list {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas para tabletas */
    }
}

@media (max-width: 1200px) {
    .home .promotions--item,
    .promotions--item {
        width: 48%;
    }
}

/* Media query para pantallas más pequeñas (móviles) */
@media (max-width: 768px) {
    #qlk-carnejoven-promotions-list {
        grid-template-columns: 1fr; /* Una sola columna para móviles */
    }
    .home .promotions--item,
    .promotions--item {
        width: 100%;
    }
}

/* Animación */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



