/* Variables de diseño */
:root {
  --primary-color: #c7a17a; /* Café claro principal */
  --secondary-color: #6b4423; /* Café oscuro */
  --accent-color: #de6d0f; /* Naranja terracota */
  --light-color: #f8f5f1; /* Beige claro */
  --dark-color: #3a3228; /* Café oscuro para texto */
  --text-light: #ffffff;
  --font-main: 'Montserrat', sans-serif;
  --font-secondary: 'Raleway', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 2px 10px rgba(58, 50, 40, 0.1);
  --header-height: 120px;
  --header-height-mobile: 80px;
}

/* Estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  color: var(--dark-color);
  
}

/* Header principal */
header {

  background-color: var(--light-color);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.container-hero {
  background-color: var(--secondary-color);
  padding: 10px;
}

.container.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Soporte al cliente */
.customer-support {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.customer-support i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.content-customer-support span {
  display: block;
  font-size: 0.9rem;
}

.content-customer-support .number {
  font-weight: 600;
}

/* Logo */
.container-logo {
  flex-grow: 1;
  text-align: center;
}

.logo_wrapper {
  display: inline-block;
}

.logo-small {
  height: 60px;
  transition: var(--transition);
}

.logo-small:hover {
  transform: scale(1.05);
}

/* Usuario y carrito */
.container-user {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-light);
}

.container-user a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.container-user i {
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.container-user i:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.content-shopping-cart {
  display: flex;
  align-items: center;
  gap: 5px;
}

.content-shopping-cart span {
  font-size: 0.9rem;
}

/* Barra de navegación */
.container-navbar {
  background-color: var(--light-color);
  border-bottom: 1px solid rgba(199, 161, 122, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  position: relative;
}

.navbar i.fa-bars {
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

/* Menú principal */
.menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.menu li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  font-family: var(--font-main);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.menu li a:hover {
  color: var(--primary-color);
}

.menu li a:hover::after {
  width: 100%;
}

/* Formulario de búsqueda */
.search-form {
  display: flex;
  align-items: center;
  border: 1px solid rgba(199, 161, 122, 0.5);
  border-radius: 25px;
  overflow: hidden;
  transition: var(--transition);
}

.search-form:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(199, 161, 122, 0.1);
}

.search-form input {
  border: none;
  outline: none;
  padding: 8px 15px;
  background-color: transparent;
  width: 200px;
  font-family: var(--font-secondary);
}

.search-form button {
  background-color: transparent;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  color: var(--dark-color);
  transition: var(--transition);
}

.search-form button:hover {
  color: var(--primary-color);
}

/* Efecto sticky para scroll */
.header-scroll {
  box-shadow: 0 5px 15px rgba(58, 50, 40, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .menu {
    gap: 15px;
  }
  
  .search-form input {
    width: 150px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
  }
  
  .container.hero {
    padding: 0 15px;
  }
  
  .customer-support .text,
  .content-shopping-cart .text {
    display: none;
  }
  
  .navbar i.fa-bars {
    display: block;
  }
  
  .menu {
    position: fixed;
    top: var(--header-height-mobile);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height-mobile));
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    gap: 30px;
    transition: var(--transition);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  }
  
  .menu.active {
    left: 0;
  }
  
  .search-form {
    position: absolute;
    top: 100%;
    right: 20px;
    margin-top: 15px;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
  }
  
  .search-form input {
    width: 250px;
  }
}

@media (max-width: 576px) {
  .logo-small {
    height: 50px;
  }
  
  .container-user {
    gap: 15px;
  }
  
  .container-user i {
    font-size: 1.3rem;
  }
}
/* JavaScript code removed from CSS file. Place it in a separate .js file or inside a <script> tag in your HTML. */

/* ********************************** */
/*               FOOTER               */
/* ********************************** */

/* Footer Styles */
.footer {
  background-color: #3a3228; /* Café oscuro */
  color: #f8f5f1; /* Beige claro */
  padding: 60px 0 30px;
  font-family: 'Raleway', sans-serif;
  border-top: 5px solid #c7a17a; /* Café claro */
}

.container-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.title-footer {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #c7a17a; /* Café claro */
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.title-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #de6d0f; /* Naranja terracota */
}

.contact-info ul,
.information ul,
.my-account ul {
  list-style: none;
}

.contact-info li,
.information li,
.my-account li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-info a,
.information a,
.my-account a {
  color: #f8f5f1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover,
.information a:hover,
.my-account a:hover {
  color: #c7a17a;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons span {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(199, 161, 122, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-icons i {
  font-size: 1rem;
  color: #f8f5f1;
  transition: all 0.3s ease;
}

.social-icons span:hover {
  background-color: #c7a17a;
}

.social-icons span:hover i {
  color: #3a3228;
}

.newsletter .content {
  margin-top: 20px;
}

.newsletter p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.newsletter input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background-color: rgba(248, 245, 241, 0.1);
  color: #f8f5f1;
  font-family: 'Raleway', sans-serif;
  transition: all 0.3s ease;
}

.newsletter input:focus {
  outline: none;
  background-color: rgba(248, 245, 241, 0.2);
}

.newsletter input::placeholder {
  color: rgba(248, 245, 241, 0.7);
}

.newsletter button {
  width: 100%;
  padding: 12px;
  background-color: #de6d0f; /* Naranja terracota */
  color: white;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.newsletter button:hover {
  background-color: #c75e0a;
  transform: translateY(-2px);
}

.copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  border-top: 1px solid rgba(199, 161, 122, 0.2);
  text-align: center;
}

.copyright p {
  margin-bottom: 20px;
  color: rgba(248, 245, 241, 0.7);
}

.copyright img {
  max-width: 300px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .menu-footer {
    grid-template-columns: 1fr;
  }
  
  .newsletter {
    grid-column: span 1;
  }
  
  .copyright img {
    max-width: 250px;
  }
}