body {
  background-color: #f4f7f6;
}

.sidebar {
  min-height: 100vh;
  background: #2c3e50;
  color: white;
}

.sidebar a {
  color: #bdc3c7;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
}

.sidebar a:hover {
  background: #34495e;
  color: white;
}

.active-link {
  background: #1abc9c;
  color: white !important;
}

.navbar-custom {
  background: white;
  border-bottom: 1px solid #e0e0e0;
}

.nav-link.collapsed .fa-chevron-down {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

.nav-link .fa-chevron-down {
  transition: transform 0.3s;
}
body {
  font-family: 'Poppins', sans-serif;
  /* Celeste Racing y Blanco */
  background: linear-gradient(135deg, #00AEEF 0%, #FFFFFF 50%, #00AEEF 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding-bottom: 80px;
}

.profile-section {
    text-align: center;
    padding-top: 30px; /* Espacio arriba en lugar de margen negativo */
}

.profile-logo {
    width: 140px; /* Un tamaño más fino */
    height: 140px;
    object-fit: contain;
    border-radius: 30px; /* Esquinas redondeadas suaves */
    background: white;
    padding: 10px; /* Espacio interno para que el logo no toque los bordes */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Sombra más suave */
    border: 1px solid #f0f0f0;
}

.insta-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white !important;
    border: none;
    transition: transform 0.2s;
    font-weight: 600;
}

.insta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
}

.category-scroller {
  display: flex;
  overflow-x: auto;
  padding: 15px 0;
  gap: 10px;
  --scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
  display: none;
}

.cat-item {
  background: white;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  border: 1px solid #eee;
  white-space: nowrap;
  transition: 0.2s;
  cursor: pointer;
}

.product-card {
  background: white;
  border-radius: 20px;
  border: none;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-img {
  height: 130px;
  object-fit: cover;
}

.add-btn:active {
  transform: scale(0.9);
}

.cart-footer {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #2d3436;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-decoration: none;
}
html,
body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
/* El contenedor principal debe crecer para ocupar el espacio sobrante */
.wrapper-principal {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
}
/* Estilo para las cards horizontales */
.product-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border-radius: 12px;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.product-card img {
  border-radius: 12px 0 0 12px; /* Redondeado solo a la izquierda */
}

@media (max-width: 576px) {
  .product-card h6 {
    font-size: 0.9rem;
  }
}
/* Para que el scroller horizontal funcione visualmente */
/* .category-scroller {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding-bottom: 10px;
    --scrollbar-width: none;
}
.category-scroller::-webkit-scrollbar {
    display: none;
}

.cat-item {
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    transition: all 0.3s;
} */

/* El estilo de la categoría activa */
.cat-item.active {
    background-color: #00AEEF !important; /* Azul Racing */
    color: white !important;
    border-color: #00AEEF !important;
}

/* Animación de brillo */
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.product-item img {
    opacity: 0; /* Empieza invisible */
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    animation: shimmer 1.5s infinite linear;
}