:root {
  --accent-color: #c5a47e;
  --text-dark: #1A1A1A;
  --hover-bg: #f8f9fa;
  --primary-color: #2e7d32;
  --secondary-color: #1b5e20;
  --text-light: #718096;
}

/* HEADER */
.main-header {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
}

.main-header div {
  justify-content: space-between !important;
}

/* SEARCH */
.search-input {
  border-radius: 20px;
  padding: 8px 20px;
  border: 1px solid #d1d5db;
}

/* NAV */
.side-nav {
  background: white;
}

.side-nav .swiper-pagination {
  position: relative;
  bottom: 0 !important;
}

/* CATEGORÍAS */
.categories-container-desktop {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
}

.categories-container-desktop .category-item {
  display: block;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.categories-container-mobile .category-item {
  font-size: 0.8rem;
  padding: 0.5rem;
  border-radius: 7px;
}

.category-item {
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  color: #111827;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.5;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 10px rgb(0 0 0 / 26%);
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
  margin: 1rem 0;


  white-space: nowrap;
  text-overflow: ellipsis;
}

.category-item:hover {
  background: var(--hover-bg);
  transform: translateY(-2px);
}

.category-item.active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* PRODUCTOS */
.tienda_producto_item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
  position: relative;
  width: 100%;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.card-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #f8f9fa;
  height: 300px;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-color);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  text-transform: lowercase;
}

.tienda_produto_tallas {
  position: absolute;
  top: 5px;
  left: 5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.tienda_produto_tallas span {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(60, 179, 5, 0.795);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tienda_produto_tallas span:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 4px 8px rgba(46, 125, 50, 0.2);
}

.nombre-producto {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.precio {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: baseline;
  flex-wrap: nowrap;
}

.precio-descuento {
  color: #dc2626;
  font-weight: 500;
}

.catalogo-titulo {
  font-weight: 700;
  font-size: 2rem;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  position: relative;
  letter-spacing: -0.02em;
}

.catalogo-titulo:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* SKELETON */
.Skeleton img {
  display: none;
}

.Skeleton .precio span,
.Skeleton .nombre-producto,
.Skeleton .product-badge,
.Skeleton .tienda_produto_tallas span,
.Skeleton .card-img-container,
.Skeleton h5,
.Skeleton small,
.Skeleton .category-item {
  border: 10px;
  background-color: #ededed;
  pointer-events: none;
  color: transparent !important;
  background: linear-gradient(100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%) #ededed;
  background-size: 200% 100%;
  background-position: 180% 0;
  animation: skeleton 1s ease-in-out infinite;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.Skeleton .precio span {
  width: 50%;
}

.Skeleton .tienda_produto_tallas span {
  box-shadow: 0 2px 6px rgba(155, 155, 155, 0.884);
}

.Skeleton .product-badge {
  width: 40%;
  box-shadow: 0 2px 6px rgba(155, 155, 155, 0.884);
}

.content-pag-store .Skeleton .card-body {
  padding: 8px 4px;
}

/* ANIMACIÓN */
@keyframes skeleton {
  to {
    background-position: -20% 0;
  }
}

/* LAYOUT GENERAL */
.content-pag-store {
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
}

.content-pag-store .card-body {
  padding: 1.25rem;
  text-align: center;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mySwiperCategoria {
  display: block;
  padding-left: 1rem;
}

/* RESPONSIVE PRODUCT GRID */
.contenedor-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 0.5rem;
  max-width: 1800px;
  margin: 0 auto;
}

/* MEDIA QUERIES */

/* < 480px */
@media (max-width: 479px) {
  .contenedor-productos {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .card-img-container {
    height: 150px;
  }

  .tienda_produto_tallas {
    top: 10px;
    left: 10px;
    padding: 6px 4px;
    gap: 4px;
  }

  .tienda_produto_tallas span {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .product-badge {
    font-size: 0.6rem;
    padding: 2px 8px;
  }

  .nombre-producto {
    font-size: 0.9rem;
  }

  .precio {
    font-size: 1rem;
  }
}

/* >= 480px */
@media (min-width: 480px) {
  .contenedor-productos {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* >= 768px */
@media (min-width: 768px) {
  .contenedor-productos {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem;
  }
}


@media (max-width: 992px) {

  #site-header-shop {
    position: fixed;
    z-index: 600;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
  }



  .category-item {
    padding: 14px 13px !important;
    font-size: 0.9rem !important;
  }

  #sidebarMenu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 300px;
    background: rgb(255, 255, 255);
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    z-index: 800;
    padding: 35px 1.5rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
  }

  #sidebarMenu.active {
    transform: translateX(0);
  }


  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 700;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
}


/* >= 992px */
@media (min-width: 992px) {
  .side-nav {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 1.5rem;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.03);
  }

  .main-header {
    top: 15vh;
  }

  .content-pag-store .mySwiperCategoria {
    display: none;
  }



}

/* >= 1024px */
@media (min-width: 1024px) {
  .contenedor-productos {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-img-container {
    height: 300px;
  }
}

/* >= 1440px */
@media (min-width: 1440px) {
  .contenedor-productos {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* >= 1600px */
@media (min-width: 1600px) {
  .contenedor-productos {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* >= 1920px */
@media (min-width: 1920px) {
  .contenedor-productos {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* <= 991px */
@media (max-width: 991px) {
  .menu-list {
    background-color: black;
  }

  .side-nav {
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
  }

  .categories-container-desktop {
    display: none;
  }

  .main-header div {
    justify-content: center !important;
  }
}




.social-section {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(238, 242, 255, 0.4);
  border-radius: var(--border-radius);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.social-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-3px);
  color: white;
  background: var(--accent-gradient);
  box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
}






.close-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #4f46e5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  z-index: 10;
}

.close-toggle:hover {
  background: #eef2ff;
  transform: rotate(90deg);
}







.social-section {
  background: #f8f9ff;
  padding: 24px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  width: 100%;
}

.social-text {
  color: #1e293b;
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-icon {
  width: 48px;
  height: 48px;
  font-size: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.instagram {
  background: radial-gradient(circle at 30% 107%,
      #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icon.tiktok {
  background: #000;
}

.social-icon.whatsapp {
  background: #25d366;
}