@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
	--primary-color: #161829;
	--background-color: #f9f5f0;
	--dark-color: #acf3cc;
}

html {
	font-size: 62.5%;
	font-family: 'Poppins', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* ********************************** */
/*             UTILIDADES             */
/* ********************************** */
.container {
	max-width: 120rem;
	margin: 0 auto;
}

.heading-1 {
	text-align: center;
	font-weight: 500;
	font-size: 3rem;
}

/* ********************************** */
/*               HEADER               */
/* ********************************** */
.container-hero {
	background-color: var(--background-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.login-form {
    max-width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

input[type="text"],
input[type="password"],
input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

.hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2rem 0;
}

.customer-support {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.customer-support i {
	font-size: 3.3rem;
}

.content-customer-support {
	display: flex;
	flex-direction: column;
}

.container-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.container-logo i {
	font-size: 3rem;
}

.container-logo h1 a {
	text-decoration: none;
	color: #000;
	font-size: 3rem;
	text-transform: uppercase;
	letter-spacing: -1px;
}

.container-user {
	display: flex;
	gap: 1rem;
	cursor: pointer;
}

.container-user .fa-user {
	font-size: 3rem;
	color: var(--primary-color);
	padding-right: 2.5rem;
	border-right: 1px solid #e2e2e2;
}

.container-user .fa-basket-shopping {
	font-size: 3rem;
	color: var(--primary-color);
	padding-left: 1rem;
}

.content-shopping-cart {
	display: flex;
	flex-direction: column;
}

/* ************* NAVBAR ************* */
.container-navbar {
	background-color: var(--primary-color);
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.navbar .fa-bars {
	display: none;
}

.menu {
	display: flex;
	gap: 2rem;
}

.menu li {
	list-style: none;
}

.menu a {
	text-decoration: none;
	font-size: 1.3rem;
	color: var(--dark-color);
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
}

.menu a::after {
	content: '';
	width: 1.5rem;
	height: 1px;
	background-color: #fff;
	position: absolute;
	bottom: -3px;
	left: 50%;
	transform: translate(-50%, 50%);
	opacity: 0;
	transition: all 0.3s ease;
}

.menu a:hover::after {
	opacity: 1;
}

.menu a:hover {
	color: #fff;
}

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	border: 2px solid #fff;
	border-radius: 2rem;
	background-color: #fff;
	height: 4.4rem;
	overflow: hidden;
}

.search-form input {
	outline: none;
	font-family: inherit;
	border: none;
	width: 25rem;
	font-size: 1.4rem;
	padding: 0 2rem;
	color: #777;
	cursor: pointer;
}

.search-form input::-webkit-search-cancel-button {
	appearance: none;
}

.search-form .btn-search {
	border: none;
	background-color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 1rem;
}

.btn-search i {
	font-size: 2rem;
	color: #fff;
}

/* ********************************** */
/*               BANNER               */
/* ********************************** */
.banner {
  background-image: linear-gradient(100deg, #000000, #00000020),
    url('../img/banner1.jpg'); /* Imagen inicial */
  height: 70vh;
  max-height: 800px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
  transition: background-image 1s ease-in-out;
}

/* --- Animación de desvanecimiento --- */
@keyframes fadeText {
  0%, 20%   { opacity: 1; }   /* visible */
  50%, 70%  { opacity: 0; }   /* se desvanece */
  100%      { opacity: 1; }   /* vuelve a aparecer */
}

.banner .content-banner p:first-of-type {
  animation: fadeText 6s infinite ease-in-out;
}

.banner .content-banner p:nth-of-type(2) {
  animation: fadeText 6s infinite ease-in-out;
  animation-delay: 2s;
}

.banner .content-banner h2 {
  animation: fadeText 6s infinite ease-in-out;
  animation-delay: 4s;
}

/* --- Estilos del contenido --- */
.content-banner {
  max-width: 90rem;
  margin: 0 auto;
  padding: 25rem 0;
  text-align: center;
}

.content-banner p {
  color: #fff;
  font-size: 4.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.content-banner h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
}

.content-banner a {
  margin-top: 2rem;
  text-decoration: none;
  color: #fff;
  background-color: var(--primary-color);
  display: inline-block;
  padding: 1rem 3rem;
  text-transform: uppercase;
  border-radius: 3rem;
}

/* --- Responsivo --- */
@media (max-width: 768px) {
  .banner { height: 42rem; }
  .content-banner p { font-size: 2.4rem; }
  .content-banner h2 { font-size: 2rem; }
}

/* ********************************** */
/*            MAIN CONTENT            */
/* ********************************** */
.main-content {
	background-color: var(--background-color);
}

/* ********************************** */
/*              FEATURES              */
/* ********************************** */
.container-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3rem;
	padding: 3rem 0;
}

.card-feature {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;

	background-color: #fff;
	border-radius: 1rem;
	padding: 1.5rem 0;
}

.card-feature i {
	font-size: 2.7rem;
	color: var(--primary-color);
}

.feature-content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.feature-content span {
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--primary-color);
}

.feature-content p {
	color: #777;
	font-weight: 500;
}

/* ********************************** */
/*             CATEGORIES             */
/* ********************************** */

.top-categories {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 3rem;
}

.container-categories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
}

.card-category {
	height: 20rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 2rem;
	gap: 2rem;
}

.category-moca {
	background-image: linear-gradient(#00000080, #00000080),
		url('../img/moca-category.jpg');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
}

.category-capuchino {
	background-image: linear-gradient(#00000080, #00000080),
		url('../img/capuchino-category.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.category-expreso {
	background-image: linear-gradient(#00000080, #00000080),
		url('../img/expreso-category.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.card-category p {
	font-size: 2.5rem;
	color: #fff;
	text-transform: capitalize;
	position: relative;
}

.card-category p::after {
	content: '';
	width: 2.5rem;
	height: 2px;
	background-color: #fff;
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translate(-50%, 50%);
}

.card-category span {
	font-size: 1.6rem;
	color: #fff;
	cursor: pointer;
}

.card-category span:hover {
	color: var(--dark-color);
}

/* ********************************** */
/*            TOP PRODUCTS            */
/* ********************************** */
.top-products {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 3rem;
}

.container-options {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 1rem;
}

.container-options span {
	color: #777;
	background-color: #fff;
	padding: 0.7rem 3rem;
	font-size: 1.4rem;
	text-transform: capitalize;
	border-radius: 2rem;
	cursor: pointer;
}

.container-options span:hover {
	background-color: var(--primary-color);
	color: #fff;
}

.container-options span.active {
	background-color: var(--primary-color);
	color: #fff;
}

/* Products */
/* ===== CAROUSEL HORIZONTAL ===== */
.carousel-container {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.container-products {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0;
  flex-wrap: nowrap;
}

.container-products::-webkit-scrollbar {
	height: 8px;
}

.container-products::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 1rem;
}

.container-products::-webkit-scrollbar-thumb {
	background: #ff6600;
	border-radius: 1rem;
}

.container-products::-webkit-scrollbar-thumb:hover {
	background: #ff5500;
}

/* ===== CARD ===== */
.card-product {
  background-color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.1);
  transition: box-shadow .25s ease, transform .25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  min-width: 20rem;
  flex-shrink: 0;
}
.card-product:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* ===== BOTÓN COMPRAR AHORA ===== */
.btn-buy-tech {
	background-color: #ff6600;
	color: #fff;
	border: none;
	padding: 0.8rem 1.5rem;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	margin-top: 1rem;
	transition: all 0.3s ease;
	text-transform: uppercase;
	width: 100%;
}

.btn-buy-tech:hover {
	background-color: #ff5500;
	transform: scale(1.02);
}

/* ===== IMAGEN Y OVERLAYS ===== */
/* Contenedor de la imagen */
.container-img {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: .5rem;
  overflow: visible;
  margin-bottom: 0.8rem;
}

/* El <a> debe comportarse como bloque contenedor */
.container-img > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Imagen siempre contenida dentro del alto del contenedor */
.container-img img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .3s ease;
}
.container-img:hover img { transform: scale(1.05); }

/* Descuento */
.container-img .discount {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--primary-color);
  color: #fff;
  padding: 2px 1.2rem;
  border-radius: 1rem;
  font-size: 1.2rem;
  line-height: 1.8rem;
  z-index: 2;
}
.card-product:hover .discount { background-color: #000; }

/* Botones flotantes (ojito, corazón, comparar) */
.button-group {
  position: absolute;
  top: 10px;
  right: -3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: right .4s ease, opacity .4s ease, transform .4s ease;
  z-index: 2;
}
.card-product:hover .button-group {
  right: -1rem;
  opacity: 1;
  transform: translateY(0);
}
.button-group span {
  border: 1px solid var(--primary-color);
  padding: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.button-group span i { font-size: 1.5rem; color: var(--primary-color); }
.button-group span:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.button-group span:hover i { color: #fff; }

/* ===== CONTENIDO ===== */
.content-card-product {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.stars {
  text-align: center;
}
.stars i {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.content-card-product h3 {
  font-weight: 400;
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.3;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-card-product h3:hover { color: var(--primary-color); }

/* Botón carrito */
.add-cart {
  border: 2px solid var(--primary-color);
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}
.add-cart i { font-size: 1.5rem; color: var(--primary-color); }
.add-cart:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.add-cart:hover i { color: #fff; }

/* Precio - SIEMPRE AL FONDO */
.content-card-product .price {
  font-size: 1.7rem;
  font-weight: 600;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  padding-top: 0.8rem;
  border-top: 1px solid #eee;
  color: #e74c3c;
}
.content-card-product .price span {
  font-size: 1.5rem;
  font-weight: 400;
  text-decoration: line-through;
  color: #777;
}

/* ========== CARRUSEL ========== */

/* DESKTOP */
@media (min-width: 769px) {
	.carousel-container {
		display: flex;
		align-items: center;
		gap: 20px;
		margin-top: 30px;
	}

	.carousel-container #productsCarousel,
	.carousel-container #coursesCarousel,
	.carousel-container #servicesCarousel,
	.carousel-container #computersCarousel,
	.carousel-container #monitorsCarousel,
	.carousel-container #innovativeCarousel,
	.carousel-container #wellnessCarousel {
		display: flex;
		gap: 20px;
		overflow-x: auto;
		scroll-behavior: smooth;
		flex: 1;
		padding: 10px 0;
		scrollbar-width: none;
	}

	.carousel-container #productsCarousel::-webkit-scrollbar,
	.carousel-container #coursesCarousel::-webkit-scrollbar,
	.carousel-container #servicesCarousel::-webkit-scrollbar,
	.carousel-container #computersCarousel::-webkit-scrollbar,
	.carousel-container #monitorsCarousel::-webkit-scrollbar,
	.carousel-container #innovativeCarousel::-webkit-scrollbar,
	.carousel-container #wellnessCarousel::-webkit-scrollbar {
		display: none;
	}

	.carousel-container .card-product {
		flex-shrink: 0;
		width: 200px;
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 320px;
		padding: 1rem;
	}

	.carousel-container .container-img {
		height: 200px;
	}

	/* Botones visibles en desktop */
	.carousel-btn {
		display: flex;
	}
}

/* MÓVIL */
@media (max-width: 768px) {
	.carousel-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 15px;
		margin-top: 30px;
		width: 100%;
		padding: 0 1rem;
	}

	/* Ocultar botones en móvil */
	.carousel-btn {
		display: none;
	}

	/* Contenedor de libros/cursos - SIN FLECHAS */
	.carousel-container #productsCarousel,
	.carousel-container #coursesCarousel,
	.carousel-container #servicesCarousel,
	.carousel-container #computersCarousel,
	.carousel-container #monitorsCarousel,
	.carousel-container #innovativeCarousel,
	.carousel-container #wellnessCarousel {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-behavior: smooth;
		width: 100%;
		padding: 10px 0;
		scrollbar-width: none;
		justify-content: flex-start;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	.carousel-container #productsCarousel::-webkit-scrollbar,
	.carousel-container #coursesCarousel::-webkit-scrollbar,
	.carousel-container #servicesCarousel::-webkit-scrollbar,
	.carousel-container #computersCarousel::-webkit-scrollbar,
	.carousel-container #monitorsCarousel::-webkit-scrollbar,
	.carousel-container #innovativeCarousel::-webkit-scrollbar,
	.carousel-container #wellnessCarousel::-webkit-scrollbar {
		display: none;
	}

	/* Cada item ocupa 50% del ancho */
	.carousel-container .card-product {
		flex-shrink: 0;
		width: calc(50% - 6px);
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 280px;
		padding: 0.8rem;
	}
}

/* Botones */
.carousel-btn {
	background-color: #ff6600;
	color: white;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.carousel-btn:hover {
	background-color: #ff8533;
	transform: scale(1.1);
}

.carousel-btn.disabled {
	background-color: #cccccc;
	cursor: not-allowed;
	transform: scale(1);
}

/* MÓVIL MUY PEQUEÑO */
@media (max-width: 480px) {
	.carousel-container .card-product {
		width: calc(50% - 6px);
		min-height: 260px;
		padding: 0.6rem;
	}

	.carousel-container {
		padding: 0 0.5rem;
		gap: 10px;
	}

	.carousel-container #productsCarousel,
	.carousel-container #coursesCarousel,
	.carousel-container #servicesCarousel,
	.carousel-container #computersCarousel,
	.carousel-container #monitorsCarousel,
	.carousel-container #innovativeCarousel,
	.carousel-container #wellnessCarousel {
		gap: 10px;
		padding: 5px 0;
	}

	.container-img {
		height: 130px;
		margin-bottom: 0.5rem;
	}

	.content-card-product h3 {
		font-size: 1.2rem;
		min-height: 35px;
	}

	.content-card-product {
		gap: 0.3rem;
	}

	.content-card-product .price {
		font-size: 1.3rem;
		padding-top: 0.4rem;
	}

	.content-card-product .price span {
		font-size: 1.1rem;
	}

	.stars i {
		font-size: 1.1rem;
	}
}






/* ===== LÍNEA DIVISORIA ===== */
.divider {
	max-width: 120rem;
	width: 90%;
	height: 2px;
	background: linear-gradient(to right, transparent, #ff6600, transparent);
	margin: 50px auto;
	box-shadow: 0 2px 8px rgba(255, 102, 0, 0.2);
}

@media (max-width: 768px) {
	.divider {
		margin: 40px auto;
		height: 1.5px;
		width: 95%;
	}
}




/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container-img { height: 180px; }
}
@media (max-width: 768px) {
  .card-product {
    min-height: auto;
    padding: 0.8rem;
  }

  .container-img {
    height: 180px;
    margin-bottom: 0.6rem;
  }

  .content-card-product {
    gap: 0.4rem;
  }

  .content-card-product h3 {
    font-size: 1.4rem;
    min-height: auto;
    line-height: 1.2;
    margin-bottom: 0.3rem;
  }

  /* Ocultar carrito en móvil */
  .add-cart {
    display: none;
  }

  .content-card-product .price {
    font-size: 1.5rem;
    padding-top: 0.6rem;
  }

  .content-card-product .price span {
    font-size: 1.3rem;
  }
}
/* Para portadas de libros (2:3 aprox.). Aplica la clase extra en la card si quieres. */
.card-product.book .container-img { height: auto; aspect-ratio: 2 / 3; }
.card-product.book .container-img img { height: 100%; width: auto; }

/* Para miniaturas más apaisadas (tecnología/gadgets ~4:3) */
.card-product.gadget .container-img { height: auto; aspect-ratio: 4 / 3; }
.card-product.gadget .container-img img { width: 100%; height: 100%; object-fit: contain; }

/* 2) Ancla totalmente clicable y con feedback */
.container-img > a { cursor: pointer; }
.container-img > a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: .5rem;
}

/* 3) Suavidad y accesibilidad (reduce animación para quien lo haya configurado) */
@media (prefers-reduced-motion: reduce) {
  .container-img img,
  .button-group,
  .card-product {
    transition: none !important;
  }
}

/* 4) Micro-pulido visual */
.card-product:hover { box-shadow: 0 12px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.container-img .discount { font-weight: 600; letter-spacing: .2px; }

/* ===== Responsive: 2 productos en pantallas pequeñas ===== */
/* Fuerza 2 columnas en móviles (iPhone 11 incluído) */
@media (max-width: 768px) {
  .container.top-products .container-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.2rem;
  }

  /* Ajustes para que quepan cómodas */
  .container.top-products .card-product {
    padding: 1rem;
  }
  .container.top-products .container-img {
    height: 150px;
  }
  .container.top-products .content-card-product h3 {
    font-size: 1.35rem;
    margin-bottom: .5rem;
  }
  .container.top-products .price { font-size: 1.4rem; }
  .container.top-products .price span { font-size: 1.2rem; }
}

/* Ultra pequeño (por si Safari aplica zoom o tienes viewport reducido) */
@media (max-width: 360px) {
  .container.top-products .container-img { height: 135px; }
  .container.top-products .container-products { gap: 1rem; }
}




/* ********************************** */
/*               GALLERY              */
/* ********************************** */
.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 30rem);
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-img-3 {
	grid-column: 2/4;
	grid-row: 1/3;
}

/* ********************************** */
/*              SPECIALS              */
/* ********************************** */
.specials {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 3rem;
}

/* ********************************** */
/*                BLOGS               */
/* ********************************** */
.blogs {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.container-blogs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
}

.card-blog {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.card-blog .container-img {
	border-radius: 2rem;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.button-group-blog {
	position: absolute;
	bottom: 1.5rem;
	right: -2.5rem;

	display: flex;
	gap: 0.7rem;
	z-index: -1;
	transition: all 0.3s ease;
}

.card-blog:hover .button-group-blog {
	z-index: 0;
	right: 1.5rem;
}

.button-group-blog span {
	background-color: #fff;
	padding: 1rem;
	border-radius: 50%;
	transition: all 0.4s ease;

	display: flex;
	align-items: center;
	justify-content: center;
}

.button-group-blog span i {
	font-size: 1.3rem;
}

.button-group-blog span:hover {
	background-color: var(--primary-color);
}

.button-group-blog span:hover i {
	color: #fff;
}

.content-blog h3 {
	font-size: 1.8rem;
	margin-bottom: 1.7rem;
	color: var(--dark-color);
	font-weight: 500;
}

.content-blog h3:hover {
	color: var(--primary-color);
	cursor: pointer;
}

.content-blog p {
	margin-top: 1rem;
	font-size: 1.4rem;
	color: #777;
}

.content-blog span {
	color: var(--primary-color);
	font-size: 1.3rem;
}

.btn-read-more {
	padding: 1rem 3rem;
	background-color: var(--primary-color);
	color: #fff;
	text-transform: uppercase;
	font-size: 1.4rem;
	border-radius: 2rem;
	margin: 3rem 0 5rem;
	display: inline-block;
	cursor: pointer;
}

.btn-read-more:hover {
	background-color: var(--dark-color);
}

/* ********************************** */
/*               FOOTER               */
/* ********************************** */

.footer {
	background-color: var(--primary-color);
}

.container-footer {
	display: flex;
	flex-direction: column;
	gap: 4rem;
	padding: 3rem;
}

.menu-footer {
	display: grid;
	grid-template-columns: repeat(3, 1fr) 30rem;
	gap: 3rem;
	justify-items: center;
}

.title-footer {
	font-weight: 600;
	font-size: 1.6rem;
	text-transform: uppercase;
}

.contact-info,
.information,
.my-account,
.newsletter {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.contact-info ul,
.information ul,
.my-account ul {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-info ul li,
.information ul li,
.my-account ul li {
	list-style: none;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 300;
}

.information ul li a,
.my-account ul li a {
	text-decoration: none;
	color: #fff;
	font-weight: 300;
}

.information ul li a:hover,
.my-account ul li a:hover {
	color: var(--dark-color);
}

.social-icons {
	display: flex;
	gap: 1.5rem;
}

.social-icons span {
	border-radius: 50%;
	width: 3rem;
	height: 3rem;

	display: flex;
	align-items: center;
	justify-content: center;
}

.social-icons span i {
	color: #fff;
	font-size: 1.2rem;
}

.facebook {
	background-color: #3b5998;
}

.twitter {
	background-color: #00acee;
}

.youtube {
	background-color: #c4302b;
}

.pinterest {
	background-color: #c8232c;
}

.instagram {
	background: linear-gradient(
		#405de6,
		#833ab4,
		#c13584,
		#e1306c,
		#fd1d1d,
		#f56040,
		#fcaf45
	);
}

.content p {
	font-size: 1.4rem;
	color: #fff;
	font-weight: 300;
}

.content input {
	outline: none;
	background: none;
	border: none;
	border-bottom: 2px solid #d2b495;
	cursor: pointer;
	padding: 0.5rem 0 1.2rem;
	color: var(--dark-color);
	display: block;
	margin-bottom: 3rem;
	margin-top: 2rem;
	width: 100%;
	font-family: inherit;
}

.content input::-webkit-input-placeholder {
	color: #eee;
}

.content button {
	border: none;
	background-color: #000;
	color: #fff;
	text-transform: uppercase;
	padding: 1rem 3rem;
	border-radius: 2rem;
	font-size: 1.4rem;
	font-family: inherit;
	cursor: pointer;
	font-weight: 600;
}

.content button:hover {
	background-color: var(--background-color);
	color: var(--primary-color);
}

.copyright {
	display: flex;
	justify-content: space-between;
	padding-top: 2rem;

	border-top: 1px solid #d2b495;
}

.copyright p {
	font-weight: 400;
	font-size: 1.6rem;
}

/* ================================** */
/*    EXPLORE SECTION (Podcast, Imágenes, Videos)       */
/* ******************************* */
.explore-section {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 3rem;
}

.explore-grid {
	display: grid;
	grid-template-columns: repeat(3, auto);
	gap: 1.5rem;
	align-items: flex-start;
	justify-items: center;
	justify-content: center;
	width: 100%;
}

.explore-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: 230px;
	flex-shrink: 0;
}

.explore-img {
	position: relative;
	width: 100%;
	height: 220px;
	border-radius: 0.5rem;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	box-shadow: 0 0 2px rgba(0,0,0,0.1);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.explore-img:hover {
	box-shadow: 0 12px 24px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}

.explore-img a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.explore-img img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	transition: transform 0.3s ease;
}

.explore-img img:hover {
	transform: scale(1.05);
}

.explore-text {
	font-size: 1.2rem;
	color: red;
	text-align: center;
	font-weight: 600;
	text-transform: capitalize;
	margin-top: 0;
	line-height: 1.4;
}

/* *** END EXPLORE SECTION *** */

/* ********************************** */
/*       MEDIA QUERIES -- 768px       */
/* ********************************** */
@media (max-width: 768px) {
	html {
		font-size: 55%;
	}

	.container {
		padding: 0 1rem;
	}

	.hero {
		padding: 2rem;
	}

	.customer-support {
		display: none;
	}

	.content-shopping-cart {
		display: none;
	}

	.navbar {
		padding: 1rem 2rem;
	}

	.navbar .fa-bars {
		display: block;
		color: #fff;
		font-size: 3rem;
	}

	.menu {
		display: none;
	}

	.content-banner {
		max-width: 50rem;
		margin: 0 auto;
		padding: 25rem 0;
	}

	.container-features {
		grid-template-columns: repeat(2, 1fr);
		padding: 3rem 2rem;
	}

	.card-feature {
		padding: 2rem;
	}

	.heading-1 {
		font-size: 2.4rem;
	}

	.card-category {
		height: 12rem;
	}

	.card-category p {
		font-size: 2rem;
		text-align: center;
		line-height: 1;
	}

	.card-category span {
		font-size: 1.4rem;
	}

	.container-options {
		align-items: center;
	}

	.container-options span {
		text-align: center;
		padding: 1rem 2rem;
	}

	.container-products {
		grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
	}

	.gallery {
		grid-template-rows: repeat(2, 15rem);
	}

	.container-blogs {
		overflow: hidden;
		grid-template-columns: 1fr 1fr;

		height: 52rem;
	}

	.menu-footer {
		grid-template-columns: repeat(2, 1fr);
	}

	.copyright {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 1.5rem;
	}

	.explore-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		justify-content: center;
	}

	.explore-item {
		width: 100%;
		gap: 0.8rem;
	}

	.explore-img {
		height: 150px;
	}

	.explore-text {
		font-size: 0.9rem;
	}
}

/* ********************************** */
/*       MEDIA QUERIES -- 468px       */
/* ********************************** */
@media (max-width: 468px) {
	html {
		font-size: 42.5%;
	}

	.container {
		padding: 0 0.8rem;
	}

	.content-banner {
		max-width: 50rem;
		padding: 22rem 0;
	}

	.heading-1 {
		font-size: 2.8rem;
	}

	.card-feature {
		flex-direction: column;
		border-radius: 2rem;
	}

	.feature-content {
		align-items: center;
	}

	.feature-content p {
		font-size: 1.4rem;
		text-align: center;
	}

	.feature-content span {
		font-size: 1.6rem;
		text-align: center;
	}

	.container-options span {
		font-size: 1.8rem;
		padding: 1rem 1.5rem;
		font-weight: 500;
	}

	.container-products {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.8rem;
		padding: 0;
	}

	.container-img .discount {
		font-size: 2rem;
	}

	.content-card-product h3 {
		font-size: 2.2rem;
	}

	.gallery {
		grid-template-rows: repeat(2, 20rem);
	}

	.blogs {
		padding: 2rem;
	}

	.container-blogs {
		grid-template-columns: 1fr;
		height: 75rem;
	}

	.content-blog h3 {
		font-size: 2.4rem;
	}

	.content-blog span {
		font-size: 1.8rem;
	}

	.content-blog p {
		font-size: 2.2rem;
	}

	.btn-read-more{
		font-size: 1.8rem;
	}

	.contact-info ul,
	.information ul,
	.my-account ul{
		display: none;
	}

	.contact-info {
		align-items: center;
	}

	.menu-footer{
		grid-template-columns: 1fr;
	}

	.content p{
		font-size: 1.6rem;
	}

	.explore-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.8rem;
		justify-content: center;
	}

	.explore-item {
		width: 100%;
		gap: 0.6rem;
	}

	.explore-img {
		height: 130px;
	}

	.explore-text {
		font-size: 0.85rem;
	}
}