@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --color-background: #000000;
    --color-background-dark: #1f1f1f;
    --color-primary: coral;
    --color-text-light: #ffffff;
    --color-text-emphasis: #5C2FC2;
    --color-body-soft: #f1f1f1;
    --color-white-enphasis: #f9f9f9;
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Rubik', sans-serif;
}
*::selection {
    background-color: var(--color-text-emphasis);
}


body {
    background-color: var(--color-body-soft);
}



.cart-icon {
    position: relative;
}

.carrito .counter {
    position: absolute;
    padding: 2px;
    color: var(--color-text-emphasis);
    background-color: white;
    font-size: 10px;
    top: -10px;
    right: 0;
    z-index: 400;
    border-radius: 10px;
}




/* FINALIZAR HEADER SECTION */

header {
    margin-top: 0;
}



.cart-icon {
    color: var(--color-text-emphasis);
    font-size: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.2);
}

.data__form {
    display: flex;
    flex-wrap: wrap;
    padding: 12vh 0;
    gap: 32px;
    flex-direction: row;
    padding: 40px;
    border: 1px solid #000000;
    justify-content: space-between;
}

.data__form h6 { 
    margin-right: 100px;
    text-transform: uppercase;
    font-weight: 400;
}

.cart__container {
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);


}

.cart__container > label i {
    font-size: 1.45rem;
    margin-left: 10px;
}

.cart__label {
    height: 50px;
    display: flex;
    width: 100%;
    flex-direction: row;
    position: relative;
    font-size: 2rem;
    color: var(--color-text-emphasis);
    align-items: center;
    background-color: var(--color-white-enphasis);
    border-bottom: 1px solid #808080;
}

.label2 {
    border-top: 1px solid gray;
    border-bottom: none;
}

.cart__label h6 {
    color: black;
    margin-left: 5px;
}

.check {
    position: absolute;
    right: 10px;
    color: var(--color-text-emphasis);
    font-size: 1.8rem;
    
}


.form__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    background-color: var(--color-white-enphasis);
}

.cart__info {
    width: 30%;
    height: 100%;
    min-height: 200px;
    padding: 20px;
    background-color: var(--color-white-enphasis);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.cart__info-line {
    display: flex;
    flex-direction: row;
    padding: 40px 0 40px;
    justify-content: space-between;
    border-bottom: 1px solid #808080;

}
.transport {
    color: var(--color-text-emphasis);
    font-weight: 600;
}

.button-pay {
    padding: 12px 0;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
    background-color: var(--color-text-emphasis);
    color: #ffffff;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
}

.button-pay:hover {
    transform: scale(1.05);
}

.button-pay i {
    padding-right: 10px;
}

.p-form {
    padding: 15px 0;
    text-align: left;
    text-wrap: pretty;
    font-size: 1.1rem;
}


.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    font-size: 1rem;
    margin-right: 20px;
    width: 25%;
    text-align: right;
}

.form-group input, 
.form-group select {
    padding: 12px;
    outline: none;
    border: none;
    font-size: 1rem;
    text-transform: capitalize;
    background-color: rgba(92, 47, 194, 0.1);
    width: 70%;
}

.selector {
    display: flex;
    justify-content: center;
}

.selector > div {
    width: 70%;
    height: 50px;
    margin: 50px 0;
    text-transform: capitalize;
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(92, 47, 194, 0.1);
}

.selector label {
    padding-left: 0.8em;
}

.selector i {
    color: var(--color-text-emphasis);
    position: absolute;
    right:10px;

}
.button__continue {
    padding: 10px 0;
    cursor: pointer;
    width: 40%;
    font-size: 1rem;
    background-image: linear-gradient(45deg, #6a3093, #a044ff);
    box-shadow: 0 4px 10px 0 rgba(106, 48, 147, 0.3), /* Sombra primaria */
    0 6px 20px 0 rgba(160, 68, 255, 0.2);
    color: #ffffff;
    border-radius: 5px;
    border: none;
    align-self: flex-end;
    margin: 0 12px 20px 0;
    transition: all 0.3s ease;
}

.button__continue:hover {
    transform: scale(1.05);
    background-image: linear-gradient(45deg, #B24592, #F15F79);
}

.button__continue i {
    margin-right: 10px;
    font-size: 1rem;
}

/* facturacion */
.title {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: Montserrat;
    text-align: center;
}
.selector2 {
    display: flex;
    margin-top: 20px;
    width: 65%;
    border: 1px solid #ccc;
    border-radius: 5px;
    align-self: center;
    overflow: hidden;
}

.option {
    display: flex;
    flex: 1;
    flex-grow: 1;
    padding: 15px;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.option i {
    font-size: 0.9rem;
    margin-right: 5px;
}

.option.selected {
    background-color: var(--color-text-emphasis);
    color: #fff;
}

.option:not(.selected):hover {
    background-color: #e0e0e0;
}

/* whatsapp section */
.contact-section {
    text-align: center;
    background-color: #ffffff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    color: inherit;
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 30px;
}


.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Espacio entre los elementos */
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    transition: background-color,transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.contact-method:hover {
    background-color: var(--color-text-emphasis);
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}



.contact-icon {
    font-size: 60px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.whatsapp .contact-icon {
    color: #25D366;
}

.instagram .contact-icon {
    color: #E4405F;
}

.contact-method p {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
    transition: color 0.3s;
}

.whatsapp:hover .contact-icon,
.whatsapp:hover p {
    color: #128C7E;
}

.instagram:hover .contact-icon,
.instagram:hover p {
    color: #C13584;
}



/* CC SECTION */
.container__pay {
	width: 90%;
	max-width: 1000px;
	padding: 40px 20px;
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}


.tarjeta {
	width: 100%;
	max-width: 550px;
	position: relative;
	color: #fff;
	transition: .3s ease all;
	transform: rotateY(0deg);
	transform-style: preserve-3d;
	cursor: pointer;
	z-index: 2;
}

.tarjeta.active {
	transform: rotateY(180deg);
}

.tarjeta > div {
	padding: 30px;
	border-radius: 15px;
	min-height: 315px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 10px 10px 0 rgba(90,116,148,0.3);
}

/* ---------- Tarjeta Delantera ----------*/

.tarjeta .delantera {
	width: 100%;
	background: url(../imgs/card-background.jpg);
	background-size: cover;
}

.delantera .logo-marca {
	text-align: right;
	min-height: 50px;
}

.delantera .logo-marca img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: 80px;
}

.delantera .chip {
	width: 100%;
	max-width: 50px;
	margin-bottom: 20px;
}

.delantera .grupo .label {
	font-size: 16px;
	color: #7d8994;
	margin-bottom: 5px;
}

.delantera .grupo .numero,
.delantera .grupo .nombre,
.delantera .grupo .expiracion {
	color: #fff;
	font-size: 22px;
	text-transform: uppercase;
}

.delantera .flexbox {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

/* ---------- Tarjeta Trasera ----------*/
.trasera {
	background: url(../imgs/card-background.jpg);
    width: 100%;
	background-size: cover;
    height: 100%;
	position: absolute;
	top: 0;
	transform: rotateY(180deg);
	backface-visibility: hidden;
}

.trasera .barra-magnetica {
	height: 40px;
	background: #000;
	width: 100%;
	position: absolute;
	top: 30px;
	left: 0;
}

.trasera .datos {
	margin-top: 60px;
	display: flex;
	justify-content: space-between;
}

.trasera .datos p {
	margin-bottom: 5px;
}

.trasera .datos #firma {
	width: 70%;
}

.trasera .datos #firma .firma {
	height: 40px;
	background: repeating-linear-gradient(skyblue 0, skyblue 5px, orange 5px, orange 10px);
}

.trasera .datos #firma .firma p {
	line-height: 40px;
	font-family: 'Liu Jian Mao Cao', cursive;
	color: #000;
	font-size: 30px;
	padding: 0 10px;
	text-transform: capitalize;
}

.trasera .datos #ccv {
	width: 20%;
}

.trasera .datos #ccv .ccv {
	background: #fff;
	height: 40px;
	color: #000;
	padding: 10px;
	text-align: center;
}

.trasera .leyenda {
	font-size: 14px;
	line-height: 24px;
}

.trasera .link-banco {
	font-size: 14px;
	color: #fff;
}

/* ---------- Contenedor Boton ----------*/
.contenedor-btn .btn-abrir-formulario {
	width: 50px;
	height: 50px;
	font-size: 20px;
	line-height: 20px;
	background: var(--color-text-emphasis);
	color: #fff;
	position: relative;
	top: -25px;
	z-index: 3;
	border-radius: 100%;
	padding: 5px;
	transition: all .2s ease;
	border: none;
	cursor: pointer;
}

.contenedor-btn .btn-abrir-formulario:hover {
	background: #1850b1;
}

.contenedor-btn .btn-abrir-formulario.active {
	transform: rotate(45deg);
}

/* ---------- Formulario Tarjeta ----------*/
.formulario-tarjeta {
	background: #fff;
	width: 100%;
	max-width: 700px;
	padding: 150px 30px 30px 30px;
	border-radius: 10px;
	position: relative;
	top: -150px;
	z-index: 1;
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	transition: clip-path .3s ease-out;
}

.formulario-tarjeta.active {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.formulario-tarjeta label {
	display: block;
	color: #7d8994;
	margin-bottom: 5px;
	font-size: 16px;
}
/*      */
.formulario-tarjeta input,
.formulario-tarjeta select,
.btn-enviar {
	border: 2px solid var(--color-text-emphasis);
	font-size: 18px;
	height: 50px;
	width: 100%;
	padding: 5px 12px;
	transition: .3s ease all;
	border-radius: 5px;
}
.formulario-tarjeta input:hover,
.formulario-tarjeta select:hover {
	border: 2px solid #5315e6;
}

.formulario-tarjeta input:focus,
.formulario-tarjeta select:focus {
	outline: rgb(4,4,4);
}

.formulario-tarjeta input {
	margin-bottom: 20px;
	text-transform: uppercase;
}

.formulario-tarjeta .flexbox {
	display: flex;
	justify-content: space-between;
}

.formulario-tarjeta .expira {
	width: 100%;
}

.formulario-tarjeta .ccv {
	min-width: 100px;
}

.formulario-tarjeta .grupo-select {
	width: 100%;
	margin-right: 15px;
	position: relative;
}

.formulario-tarjeta select {
	-webkit-appearance: none;
}

.formulario-tarjeta .grupo-select i {
	position: absolute;
	color: #CED6E0;
	top: 18px;
	right: 15px;
	transition: .3s ease all;
}

.formulario-tarjeta .grupo-select:hover i {
	color: #93bfed;
}

.formulario-tarjeta .btn-enviar {
	border: none;
	padding: 10px;
	font-size: 22px;
	color: #fff;
	background: var(--color-text-emphasis);
	cursor: pointer;
    text-transform: capitalize;

    background-image: linear-gradient(45deg, #8E2DE2, #4A00E0);
    transition: all 0.3s ease;
}
.formulario-tarjeta .btn-enviar:hover {
    background-image:linear-gradient(45deg, #B24592, #F15F79);
    transform: scale(1.1);
}

.btn-enviar i {
    margin-right: 10px;
}



/* MEDIA QUERIES */
@media only screen and (max-width: 767px) {
    header {
        padding: 0 30px;
    }








    .carrito {
        display: none;
    }





    .data__form {
        flex-direction: column;
        padding: 10px;
        align-items: center;
    }

    .cart__container {
        width: 100%;
    }

    .cart__info {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label, 
    .form-group input, 
    .form-group select {
        width: 100%;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-group label {
        text-align: left;
        margin-bottom: 5px;
    }

    .container__pay {
        padding: 20px 0 0;
    }
    .selector2 {
        width: 90%;
    }
    .tarjeta > div {
        min-height: 220px;
    }
    .delantera .grupo .label {
        font-size: 12px;
        color: white;
    }

    html .delantera .grupo .numero .expiracion .nombre {
        font-size: 16px;
    }

    .formulario-tarjeta {
        padding: 150px 12px 12px 12px;
    }


}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .data__form {
        flex-direction: column;
        align-items: center;
    }

    .cart__container {
        width: 100%;
    }

    .cart__info {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label, 
    .form-group input, 
    .form-group select {
        width: 100%;
    }

    .form-group label {
        text-align: left;
        margin-bottom: 5px;
    }
}

@media only screen and (min-width: 1025px) {
    .data__form {
        flex-direction: row;
    }

    .cart__container {
        width: 65%;
    }

    .cart__info {
        width: 30%;
    }
}


.inactive {
    display: none;
    opacity: 0;
}
.rm-border {
    border-bottom: none;
}

.text__line {
    display: flex;
}

.ars {
    color: var(--color-text-emphasis);
}