@import "fonts.css";

* {
	padding: 0;
	margin: 0;
}

body {
	color: #000;
	font-size: 16px;
	font-family: Roboto-Regular, arial;
	background-color: #fef7ed;
}

img {
	width: 100%;
}

a {
	color: #000;
	text-decoration: none;
}

.wrapper {
	max-width: 500px;
	margin: auto;
}

header {
	position: relative;
	padding: 40px 0;
	text-align: center;
	background-color: #0C3172;
	border-bottom-left-radius: 90px;
	border-bottom-right-radius: 90px;
}
.header__logo {
	position: absolute;
	width: 140px;
	top: 20px;
	left: 50%; 
  	transform: translate(-50%);
}

.share {
	position: absolute;
	right: 40px;
	bottom: -80px;
	text-align: center;
	margin-top: 6px;
	text-decoration: underline;
}

/** Categories **/

.categories {
 	max-width: 500px;
 	position: relative;
 	display: flex;
 	align-items: center;
 	padding: 0 10px;
 	margin-top: 110px;
}
.categories__container {
  	display: flex;
  	gap: 16px;
  	overflow-x: auto;
  	scroll-behavior: smooth;
  	-webkit-overflow-scrolling: touch;
}
.categories__card {
 	width: 100px;
 	font-size: 16px;
 	font-family: Roboto-Medium;
	padding: 18px 12px;
	border-radius: 12px;
	background-color: #fff;
  	flex-shrink: 0;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	cursor: pointer;
}
.categories__card.selected {
	color: #fff;
	font-family: Roboto-Regular;
	background-color: #E3541F;
}
.categories__line,
.services__line,
.promos__line {
	width: 95%;
	margin: auto;
	margin-top: 10px;
	border-bottom: 3px solid #E6D9C9;
}

/** Subcategories **/

.subcategories {
 	max-width: 500px;
 	position: relative;
 	display: flex;
 	align-items: center;
 	padding: 0 10px;
 	margin-top: 20px;
}
.subcategories__container {
  	display: flex;
  	gap: 16px;
  	overflow-x: auto;
  	scroll-behavior: smooth;
  	-webkit-overflow-scrolling: touch;
}
.subcategories__card {
 	font-size: 16px;
 	font-family: Roboto-Regular;
 	text-align: center;
  	flex-shrink: 0;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	cursor: pointer;
}
.subcategories__card.selected {
	color: #E3541F;
	font-family: Roboto-Medium;
	border-bottom: 2px solid #E3541F;;
}
.subcategories__line {
	width: 95%;
	margin: auto;
	margin-top: 10px;
	border-bottom: 2px solid #e6d9c9;
}

/* Flechas */

.arrow {
 	background: none;
  	border: none;
  	cursor: pointer;
  	padding: 8px;
  	display: none;
}
.arrow img {
	width: 22px;
}

.seccion {
	display: none;
	padding: 0 20px;
}
.seccion.active {
	display: block;
}

.services__title {
	font-size: 18px;
	font-family: 'Roboto-Medium';
	margin-top: 30px;
	margin-bottom: 20px;
}
.services__list li {
	font-size: 18px;
	margin-left: 20px;
	margin-bottom: 12px;
}
ul.services__list li::marker {
  color: #E3541F;
}
.services__line {
	width: 100%;
	margin-top: 30px;
	margin-bottom: 20px;
}
.services__wa {
	width: 220px;
	color: #000;
    padding: 12px;
    font-size: 16px;
    font-family: Roboto-Medium;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 4px;
    background-color: #FAB500;
    margin: auto;
    margin-bottom: 20px;
}
.services__wa img {
	width: 30px;
}

.swiper {
  	width: 100%;
  	height: 220px;
  	margin-bottom: 20px;
}
.swiper.promos {
	width: 100%;
	height: 400px;
	margin-top: 30px;
	margin-bottom: 30px;
}
.swiper-slide img {
	height: 100%;
	border-radius: 16px;
}
.swiper-pagination-bullet {
	width: 12px !important;
	height: 12px !important;
	opacity: 1 !important;
	background-color: #fff !important;
}
.swiper-pagination-bullet-active {
	background-color: #FAB500 !important;
}
.swiper-button-next, 
.swiper-button-prev {
	color: #fff !important;
}
.swiper-button-next:after, 
.swiper-button-prev:after {
	font-size: 30px !important;
}

.promos__line {
	width: 100%;
	margin-bottom: 30px;
}
#sliderPromos {
	padding-top: 30px;
	padding-bottom: 10px;
}
.promos__box {
	padding: 20px;
	color: #fff;
	background-color: #2E89C4;
	margin-bottom: 30px;
}
.promos__box h3 {
	text-align: center;
	margin-bottom: 10px;
}
.promos__box p {
	text-align: center;
}
.promos__txt {
	text-align: center;
	margin-bottom: 30px;
}
.promos__frm {
	display: flex;
	flex-direction: column;
	grid-gap: 10px;
}
.promos__frm__group {
	display: flex;
	flex-direction: column;
}
.promos__lbl {
	font-size: 15px;
	margin-bottom: 2px;
}
.promos__input {
	font-size: 14px;
	height: 20px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
}
.promos__btn {
	color: #000;
	font-size: 16px;
	font-family: Roboto-Medium;;
	border: 0;
	border-radius: 6px;
	margin-top: 20px;
	margin-bottom: 30px;
	padding: 16px 0;
	background-color: #FAB500;
}
.promos__msg {
	display: none;
	color: #fff;
	font-size: 14px;
	text-align: center;
	margin-bottom: -20px;
	padding: 10px 0;
	background-color: green;
}
.promos__errmsg {
	display: none;
	color: #fff;
	font-size: 14px;
	text-align: center;
	padding: 10px 0;
	margin-bottom: -20px;
	background-color: red;
}

.category {
	text-align: center;
	margin: 20px 0;
}
.category img {
	width: 280px;
}

.cards {
	display: flex;
	flex-direction: column;
	grid-gap: 20px;
	justify-content: space-between;
	padding: 0 10px;
	margin-bottom: 30px;
}
.cards__item {
	position: relative;
	padding: 22px 20px;
	border-radius: 12px;
	background-color: #FDE5C8;
}
.cards__item h2 {
	font-size: 16px;
	font-family: Roboto-Medium;
}
.cards__link {
	font-family: Roboto-Medium;
	text-decoration: underline;
	text-align: center;
	margin-bottom: 20px;
}

.contact {
	padding: 0 10px;
	margin-bottom: 20px;
}
.contact__title {
	font-size: 20px;
	font-family: Roboto-Medium;
	padding-top: 20px;
	padding-bottom: 20px;
}
.contact__map {
	width: 100%;
	height: 360px;
	border-radius: 10px;
	margin-bottom: 20px;
}
.contact__address {
	display: flex;
	grid-gap: 20px;
	font-size: 14px;
	margin-bottom: 20px;
}
.contact__pin {
	width: 14px;
}
.contact__phone {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px;
}
.contact__phone__box {
	display: flex;
	flex-direction: row;
	align-items: center;
	grid-gap: 10px;
}
.contact__phone__txt {
	font-size: 14px;
	line-height: 20px;
}
.contact__phone__icon img {
	width: 36px;
}

.rrss {
	padding: 0 10px;
	margin-bottom: 10px;
}
.rrss__line {
	border-top: 3px solid #E6D9C9;
	margin-bottom: 20px;
}
.rrss__content {
	display: flex;
	justify-content: space-between;
	margin: 0 16px;
}
.rrss__left {
	font-family: Roboto-Bold;
}
.rrss__right {
	display: flex;
	grid-gap: 10px;
}
.rrss__icon {
	width: 26px;
}

@media (min-width: 360px) {

	.category img {
		width: 320px;
	}

}

@media (min-width: 500px) {

 	.categories__container {
    	overflow-x: hidden;
  	}
  	.subcategories__container {
    	overflow-x: hidden;
  	}
  	.contact__title {
  		font-size: 22px;
  	}
  	.arrow {
    	display: block;
  	}
  	#sliderPromos .banners__slides {
  		width: 380px;
  		margin: auto;
  	}
  	.swiper {
	  	height: 330px;
	}
	.swiper.promos {
		width: 380px;
		height: 475px;
	}
	.swiper-button-next:after, 
	.swiper-button-prev:after {
		font-size: 36px !important;
	}

}


@media screen and (min-width: 768px) {

	.contact__address {
		font-size: 16px;
	}
	.contact__phone__icon img {
		width: 40px;
	}
	.contact__phone__txt {
		font-size: 16px;
	}
	.rrss__left {
		font-size: 18px;
	}
	.rrss__icon {
		font-size: 24px;
	}

}