/* NAV */

.nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem;
  background: var(--color_primario);
}

.nav-links {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.nav-links a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
}

.nav-actions {
  display: flex;justify-content: center;
  align-items: center;
  margin-left: auto;
  gap: 12px;
}

.search {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.btn-cart {
  background: none;
  border: none;
  cursor: pointer;
}

.cart-icon {
  width: 24px;
  height: 24px;
  fill: #333;
}

.cart-icon:hover {
  fill: #000;
}

.btn-login {
  color: var(--texto_oscuro);
  background-color: var(--color_primario);
  border: 1px solid;
  border-color: var(--color_secundario);
  padding: 10px;
  border-radius: 10px;
}

.logo-img {
  height: 120px;
}


/* HERO */
.hero {
  position: relative;
  background-color: var(--color_primario);
  width: 100%;
  margin: auto;
  overflow: hidden;
  padding: 15px 0;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s ease;
  padding: 0 80px; /* deja ver los extremos */
}

.img_product_ex {
  min-width: 70%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.5s ease;
}

.img_product_ex.active {
  opacity: 1;
  transform: scale(1);
}

/* Flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: rgba(0,0,0,0.8);
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dots span {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dots span.active {
  background: #111;
}


/* SECTION */
.section {
  background-color: var(--color_fondo_gris);
  padding: 60px 40px;
  text-align: center;
}

.section h2 {
  font-size: 2;
  font-weight: bold;
  margin-bottom: 30px;
}

/* PRODUCTS */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  text-align: left;
}

.product-card img {
  width: 100%;
  margin-bottom: 10px;
}

.product-card button {
  float: right;
}

/* BUTTONS */
.btn-outline {
  font-size: 15px;
  margin-top: 30px;
  padding: 10px 30px;
  border-radius: 10px;
  border: 1px solid var(--color_secundario);
  background: none;
  cursor: pointer;
}

.btn-dark {
  padding: 12px 30px;
  background: #000;
  color: #fff;
  border: none;
}

/* CATEGORY GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 40px;
}

.cat {
  height: 160px;
  background: #ddd;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-radius: 16px;
}

.cat.dark {
  background: #111;
  color: #fff;
}

/* BENEFITS */
.benefits {
  display: flex;
  justify-content: space-around;
  padding: 60px 40px;
  background: #fff;
}

/* STORY */
.story {
  display: flex;
  gap: 40px;
  padding: 80px 40px;
}

.story img {
  width: 300px;
  border-radius: 16px;
}





/* FOOTER*/

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e6d3a3;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content p {
  color: #6b5a2a;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #b89b5e;
  margin: 0 0.75rem;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #8c7340;
}

.footer-link-devnav {
  text-decoration: none;
  color: green;
  font-size: 17px;
}