/* Ajustes de enfoque */
*:focus {
	outline: none;
  }
  
  /* Diseño general de columnas */
  .left {
	width: 70%;
	float: left;
	clear: both;
  }
  .right {
	width: 30%;
	float: right;
	margin-bottom: 25px;
  }
  
  /* Estilos de body y contenedor principal */
  body {
	background: #fafafa;
	height: auto;
	min-height: calc(100vh);
	font-family: 'Lato', sans-serif;
	font-weight: 500;
	margin: 0;
  }
  body #wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 4em 0;
  }
  body #wrapper #container {
	background: white;
	height: 560px;
	min-width: 600px;
	width: 600px;
	z-index: 1;
	box-shadow: 0px 3px 15px -1px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
  }
  
  /* Estilos de la columna izquierda */
  body #wrapper #container #left-col {
  width: 40%;
  min-width: 240px;
  height: 100%;
  background: #0daabf;
  border-radius: 10px 0 0 10px;
  float: left;
}
@media only screen and (max-width: 600px) {
  body #wrapper #container #left-col {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}
  body #wrapper #container #left-col #left-col-cont {
  height: auto;
  margin: 20px 25px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
  body #wrapper #container #left-col #left-col-cont h2 {
	margin: 25px 0 0;
	font-size: 28px;
  }
  body #wrapper #container #left-col #left-col-cont div.item {
	margin: 0;
	clear: both;
	padding: 7px 0;
  }
  body #wrapper #container #left-col #left-col-cont div.item .img-col {
	width: 30%;
	float: left;
  }
  body #wrapper #container #left-col #left-col-cont div.item .img-col img {
	width: 100%;
	max-height: 100px;
	border-radius: 10px;
  }
  body #wrapper #container #left-col #left-col-cont div.item .meta-col {
	width: 70%;
	float: right;
  }
  body #wrapper #container #left-col #left-col-cont div.item .meta-col h3 {
	font-size: 0.7em;
	margin: 0 0 0 10px;
  }
  body #wrapper #container #left-col #left-col-cont div.item .meta-col .price {
	font-size: 0.9em;
	margin: 5px 0 0 10px;
	opacity: 0.5;
	text-align: right;
  }
  body #wrapper #container #left-col #left-col-cont .items-list {
  width: 100%;
  max-height: 350px;
  min-height: 68%;
  overflow-y: auto;
  margin-top: 15px;
  padding-right: 10px;
  box-sizing: border-box;
}
  body #wrapper #container #left-col #left-col-cont .items-list::-webkit-scrollbar {
	width: 3px;
  }
  body #wrapper #container #left-col #left-col-cont .items-list::-webkit-scrollbar-thumb {
	background: rgba(245, 245, 245, 0.39);
	border-radius: 10px;
  }
  body #wrapper #container #left-col #left-col-cont .items-list::-webkit-scrollbar-thumb:hover {
	background: #ffffff;
  }
  body #wrapper #container #left-col #left-col-cont p#total {
	text-transform: uppercase;
	text-align: left;
	font-size: 0.7em;
	opacity: 0.5;
	margin: 15px 0 5px;
  }
  body #wrapper #container #left-col #left-col-cont h4#total-price {
	text-align: left;
	font-size: 2em;
	margin: 0;
	line-height: 1;
  }
  body #wrapper #container #left-col #left-col-cont h4#total-price span {
	color: #ffffff;
	font-size: 0.7em;
  }
  
  /* Estilos de la columna derecha */
  body #wrapper #container #right-col {
	width: calc(60% - 50px);
	min-width: 310px;
	height: 100%;
	margin: 20px 25px;
	float: right;
	position: relative;
	border-radius: 0 10px 10px 0;
  }
  body #wrapper #container #right-col h2 {
	float: left;
	margin: 0;
	font-size: 36px;
	font-weight: 600;
  }
  body #wrapper #container #right-col div#logotype {
	float: right;
	margin-top: 4px;
  }
  body #wrapper #container #right-col div#logotype img {
	width: 60px;
	height: auto;
  }
  
  /* Estilos del formulario */
  body #wrapper #container form {
	margin: 55px auto 0;
	width: 100%;
  }
  body #wrapper #container form #cardnumber {
	background: white;
	width: calc(100% - 14px);
	padding: 4px 6px;
	border-radius: 10px;
	border: 1px solid lightgrey;
  }
  body #wrapper #container form #cardnumber input {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	width: calc(100% - 23px);
	padding: 4px 6px;
	letter-spacing: 6px;
	font-size: 0.9em;
	border: none;
	background: none;
  }
  body #wrapper #container form input {
	width: calc(100% - 14px);
	display: block;
	padding: 10px;
	border: 1px solid lightgrey;
	border-radius: 10px;
	font-size: 1em;
	box-sizing: border-box;
  }
  body #wrapper #container form select {
	border: 1px solid lightgrey;
	border-radius: 10px;
	font-size: 1em;
	padding: 10px;
	width: 80px;
	box-sizing: border-box;
  }
  body #wrapper #container form input.cvc {
	width: 80px;
	padding: 10px;
	letter-spacing: 2px;
  }
  .expiry-cvc {
	display: flex;
	gap: 10px;
	justify-content: space-between;
  }
  body #wrapper #container form button {
	display: block;
	width: 100%;
	border: none;
	border-radius: 10px;
	padding: 12px;
	font-size: 0.9em;
	cursor: pointer;
  }
  body #wrapper #container form button#purchase {
	background: #0daabf;
	color: white;
	margin: 0 0 8px;
	position: static;
	width: 100%;
	border-radius: 10px;
	padding: 12px;
	font-size: 0.9em;
	cursor: pointer;
}

button#purchase:active {
	display: none;
	~ authBox {
		display: flex;
	}
}
  body #wrapper #container form button#paypal {
	background: none;
	border: 1px solid lightgrey;
  }
  body #wrapper #container form button#paypal:hover {
	background: #003087;
	border-color: #003087;
	color: white;
  }
  
  /* Estilos adicionales para modal y botón cerrar */
  authBox {
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	justify-content: center;
	align-items: center;
  }
  authBox modal {
	width: 100%;
	height: 100%;
	background: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
	border-radius: 0;
	padding: 20px;
	position: relative;
  }
  modal #close-modal {
	background: #0daabf;
	color: white;
	margin-top: 20px;
	font-size: 1em;
	cursor: pointer;
	width: 100%;
	border: none;
	border-radius: 10px;
	padding: 12px;
	text-align: center;
  }
  
  /* Centrar mensaje y GIF dentro del modal */
  modal #message,
  modal #loading-gif {
	text-align: center;
	margin: 0 auto;
  }
  
  /* Estilos responsivos */
  @media only screen and (max-width: 600px) {
  body {
    background: #ffffff;
  }
  body #wrapper #container {
    min-width: 100%;
    height: fit-content;
    box-shadow: none;
  }
  body #wrapper #container #left-col {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
	body #wrapper #container #right-col {
	  width: fit-content;
	  min-width: auto;
	}
	authBox modal {
	  width: 100%;
	  height: 100%;
	  padding: 20px;
	}
	body #wrapper #container form button#purchase {
	  position: static;
	}
	body #wrapper #container form {
	  padding-bottom: 35px;
	}
	input,
	select {
  width: calc(33.33% - 5px);
  margin-right: 5px;
  border-radius: 10px;
  padding: 10px;
  font-size: 1em;
}
	button#purchase {
	  width: 100%;
	  font-size: 1.1em;
	  padding: 14px;
	  border-radius: 10px;
	}
  }
  
  /* Mejoras de diseño */
  input,
  select {
	border-radius: 10px;
	padding: 10px;
	font-size: 1em;
  }
  button#purchase {
	background-color: #0daabf;
	color: white;
	padding: 12px;
	border-radius: 10px;
	font-size: 1.2em;
	cursor: pointer;
	width: 100%;
  }
