@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap');

* {margin: 0; padding: 0; border: 0; outline: 0; list-style: none; text-decoration: none; box-sizing: border-box;}
header, nav, section, article, aside, footer {display: block;}




/****************************** STRUCTURE ******************************/
html {background: #f3f3f3 !important;}
body {font-family: 'Source Sans Pro', sans-serif; font-size: medium; color: #444;}

.contenedor {max-width: 1200px; margin: 0 auto; min-height: 100vh;}




/****************************** HEADER ******************************/
header {display: flex; justify-content: space-between; align-items: center; line-height: 1rem; padding: 15px 30px; color: white; background: #008fda;}
header img {height: 50px; width: auto;}
header img:hover {opacity: .8;}

header nav {display: flex;}
header nav > div {display: flex; padding-left: 30px;}
header nav img {margin-right: 10px;}
header nav a {display: block; color: white;}
header nav a:hover {opacity: .8;}

header form {display: flex; align-items: flex-end;}
header input {width: 120px; margin: 0 10px; padding: 0 8px; height: 30px; line-height: 30px; border-radius: 4px; background-color: #cccccc;}
header input:focus {border-color: #008fda;}
header input[type=submit] {width: auto; margin: 0; padding: 0 15px; appearance: none; color: white; background: #e51243; text-transform: uppercase; font-weight: bold; overflow: hidden;}
header input[type=submit]:hover {background: white; color: #e51243; cursor: pointer;}




/****************************** BANNER ******************************/
.home_banner {display: block; width: 100%;}
.main_banner {display: block; width: 100%; margin-bottom: 30px; border-radius: 0 0 8px 8px;}




/****************************** PORTADA ******************************/
.portada body {background: #008fda;}
.portada header {flex-direction: column; justify-content: flex-start; align-items: left; width: max-content; padding: 30px; margin: auto; background: white; border-radius: 10px; color: #555; box-shadow: 30px 30px 20px #0002; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.portada img {width: 175px; display: block; margin-bottom: 30px;}
.portada form {display: block;}
.portada label {display: grid; grid-gap: 10px; grid-template-columns: 80px 1fr; margin-bottom: 3px;}
.portada input[type=submit] {display: block; margin: 30px auto 0; border: 2px solid #e51243;}




/****************************** ASIDE ******************************/
aside {width: 22%;}

input[type=search] {width: 100%; display: block; padding: 10px 15px; margin: 2px 0 30px; border-radius: 8px; color: #444; background: url("../images/ico_buscar.svg") no-repeat calc(100% - 12px) center white; font-size: 1rem; border: 2px solid #008fda;}

aside nav {border-radius: 8px; overflow: hidden; border: 2px solid #008fda;}
aside nav h3 {font-size: 1.4rem; text-transform: uppercase; padding: 8px 15px; color: white; background: #008fda;}
aside nav a {display: block; padding: 6px 15px; margin-top: 1px; background: white; color: #444;}
aside nav a:hover {font-weight: bold; background-color: #f6f6f6; color: #008fda;}
aside nav ul ul {margin-left: 20px; display: none; font-size: .9em;}
aside nav ul ul a {background-color: #e3e3e3; padding-top: 8px; padding-bottom: 8px;}




/****************************** MAIN ******************************/
main {display: flex; justify-content: space-between;}

article {width: calc(78% - 50px);}

#portada article {width: 100%;}

h1 {font-size: 2.0rem; margin-bottom: 30px; line-height: 1em; color: #008fda}
h2 {font-size: 1.2rem; margin-bottom: 30px;}
h4 {font-size: 1rem; font-weight: bold;}

p:not(:last-child) {margin-bottom: 15px;}
a {color: #008fda;}




/****************************** PAGE NAV ******************************/
.page_nav {text-align: center; margin-top: 5%;}
.page_nav a {margin: 0 4px; color: #000;}
.page_nav a:hover {color: #e51243;}
.page_nav span {margin: 0 4px; color: #e51243; font-weight: bold; font-size: 1.4em; vertical-align: middle;}




/****************************** BREADCRUMB ******************************/
.breadcrumb {display: flex; flex-wrap: wrap; margin-bottom: 15px;}
.breadcrumb a, .breadcrumb span {margin: 0 8px; color: #444;}
.breadcrumb a:first-child {margin-left: 0;}
.breadcrumb a:hover {color: #e51243;}





/****************************** PRODUCT PROFILE ******************************/
.product {padding: 30px; border-radius: 8px; margin-bottom: 30px; background: white;}
.product .product_image {width: 300px; float: right; margin-right: 20px;}
.product .ico {cursor: help; vertical-align: middle; margin: 0 3px 3px 0;}
.product .button {display: inline-block; font-size: 1.2rem; padding: 10px 20px 10px 20px;}


.product a .fa{
	font-size: 20px;
	margin-left: 5px;
}

.precio {
	font-size: 2.0rem; color: #008fda;
}




/****************************** TABLE ******************************/
table {margin-bottom: 30px; border-collapse: collapse; width: 100%;}
table tr {border-top: 2px solid #f3f3f3;}
table th {padding: 0 15px 12px; text-align: left;}
table td {padding: 6px 15px; background:white}
table td:first-child {border-radius: 8px 0 0 8px;}
table td:last-child {border-radius: 0 8px 8px 0;}
table tr:hover td {background: #f6f6f6;}
table .total {background: #fff; font-weight: bold;}
table .total td {text-align: right;}
table .ico {width: 20px; cursor: help;}
table .price {}
table small {line-height: 1em; font-size: 10px;}
table a {font-weight: bold;}

.button {display: block; padding: 6px 12px; border-radius: 5px; font-size: smaller; font-weight: bold; color: white; text-transform: uppercase; background: #e51243; text-align: center;}
.button:hover {opacity: .8;}

.listado { margin-top: 20px; }


/****************************** RESUMEN PEDIDO ******************************/
.resumen_pedido {padding: 5px; background: #999;}
.resumen_pedido table {width: 100%; margin: 0;}
.resumen_pedido table th {background: #999; border: 0;}
.resumen_pedido table tr {background: #fff; border: 0;}
.resumen_pedido table tr:hover {background: #fff;}
.resumen_pedido table td {border-bottom: 1px solid #f0f0f0}
.resumen_pedido table td:first-child {border-radius: 0;}
.resumen_pedido table td:last-child {border-radius: 0;}




/****************************** FOOTER ******************************/
footer {margin: 100px 0 30px; borde-top: 1px solid #f0f0f0; text-align: center;}




/****************************** FORMS ******************************/
article form {}
article input[type=text], article textarea, article select {padding: 0 4px; border: 1px solid #ccc; background: #fff; color: #000; font-size: 12px; display: inline-block; float: left; margin: 0 2px 2px 0; line-height: 20px;}
article input[type=number] {padding: 2px 4px; border: 1px solid #ccc; background: #fff; color: #000; font-size: 12px; display: inline-block; margin: 0 2px 2px 0; line-height: 20px;}
article input[type=submit] { color: #fff; background: #000; text-transform: uppercase; font-size: 9px; font-weight: bold; padding: 0 8px; margin: 0;}
article input[type=submit]:hover { background: #333; cursor: pointer;}

.login {display: table; height: 100%; width: 100%; overflow: hidden; background: url('../images/login.jpg') no-repeat center center; background-size: 100% 100%; background-size: cover;}
.login body {display: table-cell; width: 100%; height: 100%; text-align: center; vertical-align: middle;}
.login form {width: 360px; background: #fff; padding: 40px 30px; border-radius: 20px; margin: 0 auto; line-height: 30px;}
.login input {display: inline-block; float: none;}
.login label {display: inline-block; float: none; text-align: right; padding-right: 10px; width: 70px; height: 30px; line-height: 30px; vertical-align: middle; overflow: hidden;}
.login input[type=submit] {font-size: 14px; border: 0; padding: 10px 40px; height: auto; border-radius: 8px; margin-top: 20px;}

.descripcion {width: 360px; margin: 20px auto; color: #fff; text-align: left;}

.configurador input[type=text], .configurador textarea, .configurador select {
    padding: 8px; border: 2px solid #ccc; background: #fff; color: #000; font-size: 16px; display: inline-block; margin: 0 2px 2px 0; border-radius: 8px; outline: none; transition: border-color 0.3s ease-in-out;}

.configurador input:focus {
        border-color: #007bff;
      box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }
.rotulo {
    font-size: 24px; font-weight: bold;
}


/****************************** TRANSITIONS ******************************/
a, a img {transition: .15s ease-out;}




/************************************ MEDIA QUERIES ************************************************/
@media all and (max-width: 1200px) {
	header {flex-direction: column; padding: 15px;}
	header nav {margin-top: 20px;}
	header nav > div > div:first-child {width: 40px;}
	header nav img {width: 30px; height: auto;}
	main {margin: 0 10px;}
	.main_banner {border-radius: 0;}
}
@media all and (max-width: 767px) {
	header img {max-width: 100%;}
	header nav {flex-direction: column; margin: 0;}
	header nav > div {margin-top: 10px; padding: 0;}
	main {flex-direction: column;}
	aside {width: 100%;}
	article {width: 100%;}
	.product {padding: 20px;}
	.destacados > div {width: 100% !important;}
}


.row {
	margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  /*grid-auto-rows: 100px;*/
}
#portada .row {
	grid-template-columns: repeat(4, 1fr);
}
.row div img {
	max-width: 100%;
}

.fotoportada{
    position: relative;
    display: inline-block;
    text-align: center;
}

.centrado{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 6px 12px;
    border-radius: 5px;
    background-color: #008FDA;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1.1em;
}

.fotofamilia .centrado{
    position: absolute;
	width: 90%;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 6px 12px;
    border-radius: 5px;
    background-color: #008FDA;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.1em;
    opacity: 0.7;
}

.fotofamilia {
	background-color: #FFFFFF;
}

.fotofamilia img{
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.cookies{position:fixed;padding:0;margin:0;top:0;left:0;width:100%;height:100%;z-index:999999;background:rgba(33,41,52,.85)!important;grid-template:1fr;justify-content:center;align-items:center;display:none}
.cookies .panel-cookies{color:#141e23;background-color:#FFF;border-radius:2px;max-width:1000px;padding:1.3rem 2rem;box-shadow:0 0 1px 1px rgba(20,23,28,.1),0 3px 1px 0 rgba(20,23,28,.1);font-size:1rem;line-height:25px;text-align:justify}
.cookies .panel-cookies div,
.cookies .panel-cookies div button,
.cookies .panel-cookies h3{text-align:center}
.cookies .panel-cookies a{text-decoration:none;color:#007093}
.cookies .panel-cookies a:hover{text-decoration:underline}
.cookies .panel-cookies div button{border:none;border-radius:4px;padding:8px 1rem;background:#007093;font-size:1.2rem;color:#f9f9f9;margin:0;cursor:pointer}
.cookies .panel-cookies div button:hover{background:#0097c6}

#divcheck {
	display: none;
}


/* Contenedor de los botones */
.radio-group {
  display: flex;
  gap: 15px;
}

/* Estilo de los botones (labels) */
.radio-button {
    margin-top: 15px;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #333;
  background-color: #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Efecto hover */
.radio-button:hover {
  background-color: #d6d6d6;
}

/* Esconder los inputs */
.radio-group input[type="radio"] {
  display: none;
}

/* Cambiar el color del label asociado al input seleccionado */
.radio-group input[type="radio"]:checked + label {
  background-color: #008FDA; /* Verde para seleccionado */
  color: #fff;
  transform: scale(1.05);
}

#divletras {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 5px;
    padding: 25px;
    margin: 20px 0;
}