/* === HEADER MODERNO OSCURO === */
.header-dark {
  background: linear-gradient(90deg, #181c24 0%, #232a36 100%);
  box-shadow: 0 4px 24px rgba(24,28,36,0.13);
  padding: 0;
}
.header-modern {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 80px;
  gap: 24px;
}
.header-modern-left {
  flex: 0 0 auto;
}
.logo-modern h1 {
  color: #f97316;
  font-size: 2.1rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.18em;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 0 2px 8px rgba(30,36,50,0.10);
  transition: color 0.2s;
}
.logo-modern:hover h1 {
  color: #fff;
}
.navbar-modern {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.navbar-modern ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-modern a {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 10px 18px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
.navbar-modern a:hover {
  background: #f97316;
  color: #fff;
}
.header-modern-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.search-bar-modern {
  display: flex;
  align-items: center;
  background: #232a36;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(30,36,50,0.10);
  padding: 2px 10px 2px 18px;
  min-width: 160px;
  max-width: 220px;
  margin-right: 12px;
}
.search-bar-modern input {
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 1rem;
  padding: 8px 4px;
  outline: none;
  flex: 1;
}
.search-bar-modern input::placeholder {
  color: #cbd5e1;
  opacity: 0.8;
}
.search-bar-modern button {
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-left: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.search-bar-modern button:hover {
  background: #ea580c;
  transform: scale(1.08);
}
.header-actions-modern {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-login-modern {
  background: #f97316;
  color: #fff;
  border-radius: 14px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.13);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn-login-modern:hover {
  background: #fff;
  color: #f97316;
  transform: translateY(-2px) scale(1.04);
}
.cart-icon-modern {
  background: #fff;
  color: #f97316;
  border-radius: 14px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.13);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.cart-icon-modern:hover {
  background: #f97316;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cart-modern-label {
  font-weight: 600;
  margin-left: 2px;
}
@media (max-width: 900px) {
  .header-modern {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 10px 2vw;
  }
  .navbar-modern ul {
    gap: 16px;
  }
  .header-modern-right {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .search-bar-modern {
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }
}
/* === HEADER ESTRUCTURADO === */
.header-structure {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.header-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.header-top {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 6px;
  margin-bottom: 2px;
}
.header-bottom {
  padding-top: 6px;
  gap: 24px;
}
.header-top .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-top .logo h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.header-top .logo-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #64748b;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart {
  margin-left: 10px;
}
.header-bottom .navbar ul {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.header-bottom .navbar a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.header-bottom .navbar a:hover {
  background: #f97316;
  color: #fff;
}
.header-bottom .search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(30,36,50,0.06);
  margin-left: auto;
}
.header-bottom .search-bar input {
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 1rem;
  outline: none;
}
.header-bottom .search-bar button {
  background: #f97316;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.header-bottom .search-bar button:hover {
  background: #ea580c;
}
.nav-toggle {
  margin-left: 12px;
}
@media (max-width: 900px) {
  .header-structure {
    padding: 0 8px;
  }
  .header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .header-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .header-bottom .navbar ul {
    flex-direction: column;
    gap: 8px;
  }
  .header-bottom .search-bar {
    margin-left: 0;
  }
}
/* === GLASSMORPHISM HEADER === */
.glass-header {
  background: rgba(36, 39, 54, 0.65);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1.5px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 32px rgba(30, 36, 50, 0.22);
  border-radius: 28px;
  transition: background 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s cubic-bezier(.4,0,.2,1);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1);
}
.logo-link:hover {
  transform: scale(1.06) rotate(-2deg);
}
.logo-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
}
.aesthetic-logo h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #f8fafc;
  margin: 0;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 8px rgba(30,36,50,0.10);
}
.aesthetic-logo .logo-subtitle {
  font-size: 1.05rem;
  color: #e0e7ef;
  margin-left: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: 'Inter', Arial, sans-serif;
}

@media (max-width: 900px) {
  .aesthetic-header.glass-header {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 10px;
    gap: 18px;
  }
  .aesthetic-navbar ul {
    gap: 18px;
  }
  .aesthetic-search {
    min-width: 100px;
    max-width: 100%;
    margin: 0 0 12px 0;
  }
  .aesthetic-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .aesthetic-header.glass-header {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 2vw;
    gap: 10px;
  }
  .aesthetic-logo h1 {
    font-size: 1.3rem;
  }
  .aesthetic-navbar ul {
    gap: 8px;
  }
  .aesthetic-search {
    min-width: 60px;
    max-width: 100%;
    margin: 0 0 8px 0;
  }
  .aesthetic-actions .btn-login, .aesthetic-actions .cart-icon {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
}
/* === ESTÉTICA MODERNA HEADER === */
.aesthetic-header {
  background: linear-gradient(90deg, #232526 0%, #414345 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(30, 36, 50, 0.18);
  padding: 18px 40px;
  margin-top: 18px;
  margin-bottom: 18px;
  align-items: center;
  gap: 32px;
}

.aesthetic-logo h1 {
  font-size: 2.2rem;
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #f8fafc;
  margin: 0 0 0 2px;
  padding: 0;
  text-shadow: 0 2px 8px rgba(30,36,50,0.12);
}
.aesthetic-logo .logo-subtitle {
  font-size: 1rem;
  color: #cbd5e1;
  margin-left: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.aesthetic-navbar ul {
  gap: 36px;
}
.aesthetic-navbar a {
  font-size: 1.08rem;
  padding: 12px 18px;
  border-radius: 16px;
  background: transparent;
  color: #f1f5f9;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-weight: 600;
}
.aesthetic-navbar a:hover {
  background: #f97316;
  color: #fff;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.13);
}

.aesthetic-search {
  display: flex;
  align-items: center;
  background: #232526;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(30,36,50,0.10);
  padding: 2px 8px 2px 18px;
  margin: 0 18px;
  min-width: 220px;
  max-width: 340px;
}
.aesthetic-search input {
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 1rem;
  padding: 10px 8px;
  outline: none;
  flex: 1;
}
.aesthetic-search input::placeholder {
  color: #cbd5e1;
  opacity: 0.8;
}
.aesthetic-search button {
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.aesthetic-search button:hover {
  background: #ea580c;
  transform: scale(1.08);
}

.aesthetic-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.aesthetic-actions .btn-login {
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  border-radius: 18px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.13);
  transition: background 0.2s, transform 0.2s;
}
.aesthetic-actions .btn-login:hover {
  background: #232526;
  color: #f97316;
  transform: translateY(-2px) scale(1.04);
}
.aesthetic-actions .cart-icon {
  background: #fff;
  color: #f97316;
  border-radius: 18px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.13);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aesthetic-actions .cart-icon:hover {
  background: #f97316;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.aesthetic-actions .cart-label {
  font-weight: 600;
  margin-left: 2px;
}
/* ==================== HEADER ==================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, sans-serif;
    background-color: #eef4f9;
    color: #1f2937;
}

.header {
    background: linear-gradient(135deg, #1e364f 0%, #2f4f6f 100%);
    color: #ffffff;
    padding: 18px 0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo h1 {
    margin: 0;
    font-size: 30px;
    color: #ffffff;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
}

.logo-subtitle {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.03em;
}

.search-bar {
  flex: 1;
  max-width: 420px;
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin: 0 32px;
}

.search-bar input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    background: transparent;
    color: #f8fafc;
}

.search-bar input::placeholder {
    color: rgba(248, 250, 252, 0.72);
}

.search-bar button {
    padding: 12px 24px;
    background-color: #f97316;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.search-bar button:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

.navbar {
    flex: 1;
    min-width: 220px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 10px 12px;
    border-radius: 10px;
}

.navbar a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 32px;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.cart-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #f97316;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  margin-left: 24px;
}

.cart-icon:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(234, 88, 12, 0.28);
}

/* === MENSAJE DE RESULTADO DE BÚSQUEDA === */
.search-result-message {
    margin: 20px 0;
    animation: fadeIn 0.3s ease-out;
}

/* === CLASE PARA OCULTAR PRODUCTOS SIN AFECTAR LAYOUT === */
.producto-oculto {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* === DROPDOWN DE SUGERENCIAS DE BÚSQUEDA === */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 2px;
}

.search-suggestions.show {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background-color: #f8fafc;
}

.search-suggestion-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-suggestion-content {
    flex: 1;
    min-width: 0;
}

.search-suggestion-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-price {
    color: #f97316;
    font-weight: 700;
    font-size: 13px;
}

.search-suggestion-category {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}

.search-suggestions-loading {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.search-suggestions-empty {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.search-suggestion-item.active {
    background-color: #f97316 !important;
}

.search-suggestion-item.active .search-suggestion-title,
.search-suggestion-item.active .search-suggestion-price,
.search-suggestion-item.active .search-suggestion-category {
    color: #fff !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    border-radius: 999px;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span + span {
    margin-top: 6px;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
    .header-container {
        justify-content: flex-start;
        align-items: center;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .search-bar {
        max-width: 100%;
    }
    .navbar {
        position: absolute;
        top: 100%;
        right: 24px;
        left: 24px;
        background: rgba(30, 53, 79, 0.98);
        border-radius: 22px;
        box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        z-index: 120;
    }
    .navbar.open {
        display: flex;
    }
    .navbar ul {
        flex-direction: column;
        gap: 14px;
        justify-content: center;
    }
    .navbar a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
}

@media (max-width: 640px) {
    .header-container {
        gap: 14px;
        padding: 0 16px;
    }
    .logo h1 {
        font-size: 24px;
    }
    .search-bar {
        width: 100%;
    }
    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .cart a {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== RESPONSIVE ==================== */

/* ==================== CARRUSEL ==================== */

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    background-color: #333;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel {
    display: flex;
    transition: transform 0.7s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-bg-nueva {
  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("images/slider-nueva.jpg");
}


.slide-content {
    width: 100%;
    padding: 100px 40px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.slide-content h2 {
    font-size: 48px;
    margin: 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 24px;
    margin: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.slide-btn {
    padding: 12px 30px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slide-btn:hover {
    background-color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    border: none;
    font-size: 28px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    padding: 15px 25px;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .search-bar {
        width: 100%;
        max-width: none;
    }

    .logo h1 {
        font-size: 22px;
    }

    /* Carrusel responsive */
    .slide-content {
        padding: 60px 20px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 18px;
    }

    .carousel-btn {
        font-size: 20px;
        padding: 12px 15px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

/* ==================== CONTENIDO PRINCIPAL ==================== */

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===== SECCIÓN DESTACADOS ===== */
.featured-products {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.featured-products h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #222;
  letter-spacing: 1px;
}

/* ===== GRID DE PRODUCTOS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== TARJETA DE PRODUCTO ===== */
.product-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* ===== IMAGEN ===== */
.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ===== TEXTO ===== */
.product-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ff7a00;
  margin-bottom: 15px;
}

/* ===== BOTÓN ===== */
.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background-color: #ff7a00;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.add-to-cart-btn:hover {
  background-color: #e66a00;
  transform: scale(1.03);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .product-card img {
    height: 220px;
  }
}

/* ===== TÍTULOS DE SECCIÓN ===== */
.section-title {
  text-align: center;
  margin: 60px 0 40px;
}

.section-title h2 {
  font-size: 2.1rem;
  color: #222;
  letter-spacing: 1px;
}

/* ===== COLECCIONES ===== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.collection-card {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
}

.collection-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.1)
  );
}

.collection-card h3 {
  position: absolute;
  bottom: 25px;
  left: 20px;
  z-index: 1;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.collection-card:hover img {
  transform: scale(1.1);
}

/* ===== OFERTAS ===== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.offer-card {
  background-color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.offer-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  margin-bottom: 20px;
}

.offer-card h3 {
  font-size: 1.3rem;
  color: #ff7a00;
  margin-bottom: 10px;
}

.offer-card p {
  font-size: 1rem;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .collection-card img {
    height: 260px;
  }

  .offer-card img {
    height: 200px;
  }
}

/* ===== CATÁLOGO HOMBRE ===== */
.men-catalog {
  padding: 80px 20px;
  background-color: #ffffff;
}

.men-catalog .section-title p {
  color: #666;
  margin-top: 10px;
  font-size: 1rem;
}

/* ===== GRID ===== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0;
}

/* ===== TARJETA ===== */
.catalog-card {
  background-color: #f9f9f9;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* ===== IMAGEN ===== */
.catalog-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* ===== TEXTO ===== */
.catalog-card h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 10px;
}

.catalog-card .price {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ff7a00;
  margin-bottom: 15px;
}

/* ===== BOTÓN ===== */
.catalog-card button {
  padding: 12px 20px;
  background-color: #ff7a00;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.catalog-card button:hover {
  background-color: #e66a00;
  transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .catalog-card img {
    height: 240px;
  }
}

.women-catalog {
  background-color: #fafafa;
}

.accessories-catalog {
  background-color: #f5f5f5;
}


/* ==================== SECCIÓN DE CONTACTO ==================== */

.contacto {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-header {
    text-align: center;
    margin-bottom: 60px;
}

.contacto-header h2 {
    font-size: 48px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.contacto-header p {
    font-size: 18px;
    color: #555;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Contenedor principal de contacto */
.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Formulario de Contacto */
.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideInForm 0.6s ease-out;
}

.contact-form h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 15px;
}

@keyframes slideInForm {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.2);
    background-color: #fafafa;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    font-weight: bold;
}

.error-message.show {
    display: block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
    background-color: #fef1f0;
}

/* Botón de Envío */
.btn-enviar {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-enviar:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-enviar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Información de Contacto */
.contacto-info-section {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideInInfo 0.7s ease-out;
}

.contacto-info-section h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 15px;
}

@keyframes slideInInfo {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contacto-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.info-item {
    padding: 20px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.info-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.info-item h4 {
    color: #2c3e50;
    margin: 10px 0 10px 0;
    font-size: 18px;
}

.info-item p {
    color: #7f8c8d;
    margin: 5px 0;
    font-size: 14px;
}

.info-item a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Redes Sociales */
.redes-sociales {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.redes-sociales h3 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #e74c3c;
    margin-top: 0;
    font-size: 18px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Active link en navbar */
.navbar a.active {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 5px;
}



/* ==================== RESPONSIVE CONTACTO ==================== */

@media (max-width: 768px) {
    .contacto {
        padding: 50px 15px;
    }

    .contacto-header h2 {
        font-size: 32px;
    }

    .contacto-header p {
        font-size: 16px;
    }

    .contacto-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-form h3,
    .contacto-info-section h3 {
        font-size: 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .contacto-info-section {
        padding: 25px;
    }

    .redes-sociales {
        padding: 30px 15px;
    }

    .social-links {
        flex-direction: column;
    }

    .social-btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== ESTILOS PARA EL CARRITO (MODAL) ==================== */
.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}

.cart-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-modal {
  background: #fff;
  width: 92%;
  max-width: 820px;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-height: 80vh;
  overflow: auto;
}

.close-cart {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 15px 0;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.cart-item-left img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-body {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  color: #222;
}

.cart-item-price {
  color: #ff7a00;
  font-weight: 700;
  margin: 6px 0;
}

.cart-item-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cart-item-controls input[type="number"] {
  width: 60px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.remove-item {
  background: transparent;
  border: 1px solid #e74c3c;
  color: #e74c3c;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.cart-item-right {
  font-weight: 700;
  min-width: 80px;
  text-align: right;
  color: #222;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.cart-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
}

.checkout-btn {
  background: #2c3e50;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.empty {
  text-align: center;
  color: #777;
  padding: 20px 0;
}

/* Notificación */
.notificacion {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  top: 20px;
  background: #2c3e50;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  opacity: 0;
  transition: all 0.28s ease;
  z-index: 300;
}

.notificacion.mostrar {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .cart-modal {
    padding: 14px;
  }

  .cart-item-left img {
    width: 64px;
    height: 64px;
  }

  .cart-item-right {
    min-width: 60px;
    font-size: 0.95rem;
  }
}

/* ==================== CARRITO DE COMPRAS (PÁGINA) ==================== */
.carrito-container {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.carrito-title {
  font-size: 2.4rem;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -0.03em;
  color: #23324a;
}
.carrito-subtitle {
  margin: 0 auto 28px;
  max-width: 620px;
  text-align: center;
  color: #576479;
  font-size: 1rem;
  line-height: 1.6;
}
.animalista-carrito {
  background: linear-gradient(180deg, #fffdf8 0%, #fff8f0 100%);
  border-color: rgba(255, 173, 88, 0.35);
}
.animalista-title {
  position: relative;
}
.carrito-nav {
  text-align: center;
  margin-bottom: 24px;
}
.btn-secondary {
  display: inline-block;
  background: linear-gradient(135deg, #ff9d37 0%, #ff7526 100%);
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 28px rgba(255, 125, 38, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 34px rgba(255, 125, 38, 0.25);
}
.carrito-list {
  margin-bottom: 28px;
}
.carrito-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f2f5;
}
.carrito-item:last-child {
  border-bottom: none;
}
.carrito-item > div:first-child {
  flex: 1 1 auto;
}
.carrito-item-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f324a;
  margin-bottom: 8px;
}
.carrito-item-meta {
  font-size: 0.95rem;
  color: #65738a;
  margin-bottom: 10px;
}
.carrito-item-price {
  color: #ff7a00;
  font-weight: 700;
  font-size: 1rem;
}
.carrito-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 150px;
}
.carrito-item-actions label {
  display: block;
  font-size: 0.9rem;
  color: #4d5b74;
}
.cantidad-input {
  width: 72px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d4dbe8;
  background: #f7f9fc;
  text-align: center;
}
.carrito-item-actions button {
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.carrito-item-actions button:hover {
  background: #c6372d;
}
.carrito-total {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: right;
  margin-bottom: 24px;
  color: #22304d;
}
.carrito-limit {
  color: #c0392b;
  text-align: center;
  margin-bottom: 18px;
  font-weight: 600;
}
.metodo-pago {
  background: linear-gradient(180deg, #fafbff 0%, #f3f6fb 100%);
  border-radius: 18px;
  padding: 30px;
  margin-top: 32px;
  border: 1px solid #dfe4ed;
}
.metodo-pago h3 {
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: #1f3046;
}
.metodo-pago label {
  display: block;
  margin-bottom: 8px;
  color: #4a5a79;
}
.metodo-pago input,
.metodo-pago select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid #d5dce8;
  background: #fff;
  color: #22304d;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.metodo-pago input:focus,
.metodo-pago select:focus {
  outline: none;
  border-color: #4d90ff;
  box-shadow: 0 0 0 4px rgba(77, 144, 255, 0.12);
}
.pagar-btn {
  background: linear-gradient(135deg, #3b76f6 0%, #2f9dff 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(47, 157, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pagar-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 22px 34px rgba(47, 157, 255, 0.24);
}
.pagar-btn:disabled {
  background: #b0b8c7;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .carrito-container {
    padding: 24px;
  }
  .carrito-item {
    flex-direction: column;
    align-items: stretch;
  }
  .carrito-item-actions {
    align-items: stretch;
  }
  .carrito-total {
    text-align: left;
  }
}

/* Botón Ver */
.ver-btn {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  margin-left: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79,172,254,0.12);
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.ver-btn:hover {
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
  color: #222;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0,242,254,0.18);
}
