/**
 * Web Pública - CSS v5 (Mobile-first, compact)
 */

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1f2937;
  background: #fff;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem !important; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Animations ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.5s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.stagger-children > * { opacity: 0; transform: translateY(14px); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.stagger-children.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.stagger-children.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.05s; }
.stagger-children.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.1s; }
.stagger-children.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.15s; }
.stagger-children.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.2s; }
.stagger-children.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.25s; }
.stagger-children.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.3s; }
.stagger-children.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.35s; }
.stagger-children.visible > *:nth-child(n+9) { opacity:1; transform:none; transition-delay:0.4s; }

/* ===== Navigation ===== */
.web-nav {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; padding: 0.75rem 0;
  transition: box-shadow 0.3s;
}
.web-nav.scrolled { box-shadow: 0 1px 10px rgba(0,0,0,0.05); }
.web-nav .container { display: flex; align-items: center; justify-content: space-between; position: relative; }

.web-nav__brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.05rem; color: #1f2937; }
.web-nav__logo { height: 34px; width: auto; object-fit: contain; }
.web-nav__brand i { font-size: 1.2rem; color: var(--brand); }

.web-nav__links { display: flex; align-items: center; gap: 0.2rem; }
.web-nav__links a { padding: 0.45rem 0.9rem; border-radius: 8px; font-size: 0.82rem; font-weight: 500; color: #6b7280; transition: all 0.2s; }
.web-nav__links a:hover { color: var(--brand); background: rgba(var(--brand-rgb),0.05); }
.web-nav__links a.active { color: var(--brand); font-weight: 600; }

.web-nav__toggle { display: none; background: none; border: none; font-size: 1.4rem; color: #374151; cursor: pointer; padding: 0.35rem; border-radius: 8px; line-height: 1; }

/* ===== Banner Carousel ===== */
.web-banner-carousel {
  padding: 1.5rem 1.25rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.web-carousel { position: relative; border-radius: 20px; overflow: hidden; }
.web-carousel__track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.web-carousel__slide { flex: 0 0 100%; max-width: 100%; }
.web-carousel__img { display: block; max-width: 100%; width: 100%; height: auto; }

.web-carousel__dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.web-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none; cursor: pointer;
  transition: all 0.3s; padding: 0;
}
.web-carousel__dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* ===== Hero (compact card) ===== */
.web-hero { padding: 1.5rem 0; }

.web-hero__card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a5f 100%);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.web-hero__card::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse, rgba(var(--brand-rgb),0.15) 0%, transparent 70%);
  pointer-events: none;
}

.web-hero__title {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
}

.web-hero__title-line {
  background: linear-gradient(135deg, #fff 40%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.web-hero__subtitle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 1.25rem;
  max-width: 400px;
  line-height: 1.5;
  position: relative;
}

/* ===== Buttons ===== */
.btn-web {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1.5rem; border-radius: 12px;
  font-size: 0.85rem; font-weight: 600;
  transition: all 0.25s; cursor: pointer; border: none;
  position: relative;
}

.btn-web--primary { background: #fff; color: #111827; box-shadow: 0 3px 12px rgba(0,0,0,0.12); }
.btn-web--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }

.btn-web--outline { background: transparent; color: var(--brand); border: 1.5px solid rgba(var(--brand-rgb),0.25); }
.btn-web--outline:hover { background: rgba(var(--brand-rgb),0.05); border-color: var(--brand); }

.btn-web--whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; box-shadow: 0 3px 12px rgba(37,211,102,0.25); }
.btn-web--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }

/* ===== Section Titles ===== */
.web-section__title { font-size: 1.3rem; font-weight: 800; color: #111827; margin: 0; letter-spacing: -0.02em; }
.web-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.web-section__link { font-size: 0.78rem; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 0.25rem; transition: gap 0.2s; }
.web-section__link:hover { gap: 0.5rem; }

/* ===== Categories Grid ===== */
.web-categories { padding: 1.75rem 0 1.25rem; }

.web-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.web-categories__card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1.25rem 0.75rem;
  background: #fff; border: 1.5px solid #e5e7eb;
  border-radius: 14px; text-align: center;
  transition: all 0.25s;
}
.web-categories__card i {
  font-size: 1.6rem; color: var(--brand);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--brand-rgb),0.08); border-radius: 12px;
}
.web-categories__card span { font-size: 0.78rem; font-weight: 600; color: #374151; line-height: 1.2; }
.web-categories__card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(var(--brand-rgb),0.1); }
.web-categories__card:hover i { background: rgba(var(--brand-rgb),0.15); }

/* ===== Products Grid ===== */
.web-products { padding: 1.5rem 0 2.5rem; }
.web-products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }

/* ===== Product Card ===== */
.web-product-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid #f3f4f6;
  transition: all 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.web-product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.web-product-card__img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f9fafb;
}
.web-product-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.web-product-card:hover .web-product-card__img-wrap img { transform: scale(1.04); }

.web-product-card__badge {
  position: absolute; top: 8px; left: 8px;
  background: #dc2626; color: #fff;
  font-size: 0.6rem; font-weight: 700;
  padding: 2px 7px; border-radius: 5px;
}
.web-product-card__badge--large { font-size: 0.95rem; padding: 6px 14px; border-radius: 10px; }

.web-product-card__info { padding: 0.7rem; flex: 1; display: flex; flex-direction: column; }
.web-product-card__category { font-size: 0.55rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.web-product-card__name { font-size: 0.75rem; font-weight: 600; color: #1f2937; margin: 0 0 0.4rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.web-product-card__price { margin-top: auto; display: flex; align-items: baseline; gap: 0.35rem; }
.web-product-card__price--current { font-size: 0.95rem; font-weight: 800; color: #111827; }
.web-product-card__price--old { font-size: 0.65rem; color: #9ca3af; text-decoration: line-through; }

/* ===== Sucursales Carousel ===== */
.web-suc-carousel { padding: 2.5rem 0; background: #f9fafb; }
.web-suc-carousel__wrapper { position: relative; margin-top: 1.25rem; }
.web-suc-carousel__track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0; scrollbar-width: none;
}
.web-suc-carousel__track::-webkit-scrollbar { display: none; }

.web-suc-carousel__arrow {
  display: none; position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  cursor: pointer; z-index: 10; align-items: center; justify-content: center;
  font-size: 1rem; color: #374151; transition: all 0.2s;
}
.web-suc-carousel__arrow:hover { background: var(--brand); color: #fff; }
.web-suc-carousel__arrow--prev { left: -12px; }
.web-suc-carousel__arrow--next { right: -12px; }

/* Card */
.web-suc-card {
  flex: 0 0 85%; scroll-snap-align: start;
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #e5e7eb; transition: all 0.3s; cursor: pointer;
}
.web-suc-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }

.web-suc-card__img-wrap {
  position: relative; width: 100%; height: 180px; overflow: hidden; background: #f3f4f6;
}
.web-suc-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.web-suc-card__img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1); font-size: 3rem; color: #94a3b8;
}
.web-suc-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: 2.5rem 1rem 0.85rem; display: flex; flex-direction: column; gap: 0.3rem;
}
.web-suc-card__name { color: #fff; font-size: 1rem; font-weight: 700; margin: 0; }
.web-suc-card__badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 20px; width: fit-content;
}
.web-suc-card__badge--abierto { background: rgba(34,197,94,0.85); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.web-suc-card__badge--abierto i { font-size: 0.4rem; }
.web-suc-card__badge--cerrado { background: rgba(239,68,68,0.85); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.web-suc-card__badge--cerrado i { font-size: 0.4rem; }

.web-suc-card__info { padding: 0.85rem 1rem; }
.web-suc-card__detail { margin: 0 0 0.3rem; font-size: 0.75rem; color: #6b7280; display: flex; align-items: center; gap: 0.4rem; }
.web-suc-card__detail i { font-size: 0.7rem; color: var(--brand); width: 14px; flex-shrink: 0; }

.web-suc-card__services { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.5rem 0; }
.web-suc-card__srv {
  width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--brand-rgb),0.08); color: var(--brand); font-size: 0.7rem;
}

.web-suc-card__actions { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.web-suc-card__btn {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #374151; font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.web-suc-card__btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.web-suc-card__btn--wa { color: #25d366; border-color: #25d366; }
.web-suc-card__btn--wa:hover { background: #25d366; color: #fff; }
.web-suc-card__btn--more { background: rgba(var(--brand-rgb),0.08); color: var(--brand); border-color: transparent; }

/* ===== Sucursal Modal ===== */
.web-suc-modal {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.web-suc-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.web-suc-modal__content {
  position: relative; background: #fff; border-radius: 20px; width: 92%; max-width: 520px;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: sucModalIn 0.3s ease;
}
@keyframes sucModalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: none; } }
.web-suc-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 0.9rem; color: #374151; transition: all 0.2s;
}
.web-suc-modal__close:hover { background: #ef4444; color: #fff; }

/* Modal Gallery */
.web-suc-modal__gallery { position: relative; width: 100%; height: 220px; overflow: hidden; border-radius: 20px 20px 0 0; }
.web-suc-modal__gallery-track { display: flex; height: 100%; transition: transform 0.3s ease; }
.web-suc-modal__gallery-track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
.web-suc-modal__gal-prev, .web-suc-modal__gal-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.85); cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 0.75rem; color: #374151;
}
.web-suc-modal__gal-prev { left: 8px; }
.web-suc-modal__gal-next { right: 8px; }
.web-suc-modal__gal-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.web-suc-modal__gal-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: all 0.2s; }
.web-suc-modal__gal-dots span.active { background: #fff; transform: scale(1.3); }

/* Modal Body */
.web-suc-modal__body { padding: 1.25rem 1.5rem 1.5rem; }
.web-suc-modal__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.5rem; color: #111827; }
.web-suc-modal__desc { font-size: 0.82rem; color: #6b7280; margin: 0 0 1rem; line-height: 1.5; }

.web-suc-modal__section { margin-bottom: 1.25rem; }
.web-suc-modal__section h4 { font-size: 0.78rem; font-weight: 700; color: #374151; margin: 0 0 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.web-suc-modal__section h4 i { color: var(--brand); font-size: 0.85rem; }
.web-suc-modal__section p { font-size: 0.78rem; color: #6b7280; margin: 0.25rem 0; display: flex; align-items: center; gap: 0.4rem; }
.web-suc-modal__section p i { color: var(--brand); font-size: 0.7rem; width: 14px; flex-shrink: 0; }
.web-suc-modal__section p a { color: var(--brand); text-decoration: none; }
.web-suc-modal__section p a:hover { text-decoration: underline; }

.web-suc-modal__horario-table { width: 100%; font-size: 0.75rem; }
.web-suc-modal__horario-table td { padding: 0.3rem 0; color: #6b7280; }
.web-suc-modal__horario-table td:first-child { font-weight: 600; color: #374151; width: 100px; }

.web-suc-modal__services { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.web-suc-modal__srv-tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; color: #374151; background: #f3f4f6;
  padding: 0.35rem 0.7rem; border-radius: 8px;
}
.web-suc-modal__srv-tag i { color: var(--brand); }

.web-suc-modal__map { border-radius: 10px; overflow: hidden; margin-bottom: 0.5rem; }
.web-suc-modal__map-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.75rem; font-weight: 600; color: var(--brand);
  text-decoration: none; padding: 0.4rem 0.75rem; border-radius: 8px;
  background: rgba(var(--brand-rgb),0.08); transition: all 0.2s;
}
.web-suc-modal__map-link:hover { background: rgba(var(--brand-rgb),0.15); }

/* ===== Footer ===== */
.web-footer {
  background: linear-gradient(180deg, #111827, #0f172a);
  color: #d1d5db; padding: 3.5rem 0 1.5rem;
}
.web-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.web-footer__brand h4 { color: #fff; font-size: 1.1rem; margin: 0 0 0.5rem; font-weight: 700; }
.web-footer__brand p { font-size: 0.8rem; color: #9ca3af; margin: 0; max-width: 260px; line-height: 1.5; }
.web-footer h5 { color: #fff; font-size: 0.7rem; font-weight: 700; margin: 0 0 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.web-footer__link { display: flex; align-items: center; gap: 0.4rem; color: #9ca3af; font-size: 0.8rem; transition: all 0.2s; margin-bottom: 0.5rem; }
.web-footer__link:hover { color: #fff; transform: translateX(2px); }
.web-footer__social-links { display: flex; gap: 0.5rem; }
.web-footer__social-links a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: #9ca3af; font-size: 1rem; transition: all 0.2s;
}
.web-footer__social-links a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.web-footer__bottom { padding-top: 1.5rem; text-align: center; }
.web-footer__bottom p { font-size: 0.7rem; color: #4b5563; margin: 0; }

/* ===== Catalog Page ===== */
.web-catalog { padding: 1.25rem 0 3.5rem; }
.web-catalog__header { margin-bottom: 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.web-catalog__title { font-size: 1.4rem; font-weight: 800; margin: 0 0 0.15rem; letter-spacing: -0.02em; }
.web-catalog__header-right { display: flex; align-items: center; gap: 0.75rem; }
.web-catalog__count { color: #6b7280; font-size: 0.78rem; margin: 0; }

.web-catalog__filter-btn {
  display: none; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.9rem; background: #fff; border: 1.5px solid #e5e7eb;
  border-radius: 10px; font-size: 0.78rem; font-weight: 600; color: #374151;
  cursor: pointer; font-family: inherit; transition: all 0.2s; position: relative;
}
.web-catalog__filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.web-catalog__filter-badge {
  position: absolute; top: -5px; right: -5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 0.55rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.web-catalog__drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1100; opacity: 0; transition: opacity 0.3s; }
.web-catalog__drawer-overlay.active { display: block; opacity: 1; }

.web-catalog__layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
.web-catalog__sidebar { position: sticky; top: 65px; align-self: start; }
.web-catalog__sidebar-header { display: none; }
.web-catalog__sidebar-close { display: none; }

.web-catalog__search-wrap { position: relative; margin-bottom: 1.25rem; }
.web-catalog__search-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 0.8rem; }
.web-catalog__search-wrap input {
  width: 100%; padding: 0.65rem 0.85rem 0.65rem 2.2rem;
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  font-size: 0.78rem; background: #fff; transition: all 0.2s; font-family: inherit;
}
.web-catalog__search-wrap input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),0.07); }

.web-catalog__filters h4 { font-size: 0.65rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.5rem; }

.web-catalog__filter-group { margin-bottom: 2px; }
.web-catalog__filter-parent { display: flex; align-items: center; }
.web-catalog__filter-parent a { flex: 1; }
.web-catalog__filter-toggle {
  background: none; border: none; cursor: pointer;
  padding: 0.4rem; color: #9ca3af; font-size: 0.7rem;
  transition: transform 0.2s;
}
.web-catalog__filter-group.open .web-catalog__filter-toggle { transform: rotate(180deg); }
.web-catalog__filter-children {
  display: none; padding-left: 1.25rem;
}
.web-catalog__filter-group.open .web-catalog__filter-children { display: block; }
.web-catalog__filter-item--child { font-size: 0.74rem; padding: 0.4rem 0.65rem; }

.web-catalog__filter-item {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 0.75rem; border-radius: 8px;
  font-size: 0.78rem; color: #4b5563; transition: all 0.2s; margin-bottom: 2px;
}
.web-catalog__filter-item:hover { background: rgba(var(--brand-rgb),0.05); color: var(--brand); }
.web-catalog__filter-item.active { background: rgba(var(--brand-rgb),0.1); color: var(--brand); font-weight: 600; }

.web-catalog__empty { text-align: center; padding: 3.5rem 1.5rem; }
.web-catalog__empty i { font-size: 2.5rem; color: #d1d5db; margin-bottom: 0.75rem; display: block; }
.web-catalog__empty h3 { margin: 0 0 0.4rem; color: #374151; font-size: 1rem; }
.web-catalog__empty p { color: #6b7280; margin: 0 0 1.25rem; font-size: 0.85rem; }

/* ===== Pagination ===== */
.web-pagination { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #f3f4f6; }
.web-pagination__btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1rem; background: #fff; border: 1.5px solid #e5e7eb;
  border-radius: 8px; font-size: 0.78rem; font-weight: 500; color: #374151; transition: all 0.2s;
}
.web-pagination__btn:hover { border-color: var(--brand); color: var(--brand); }
.web-pagination__info { font-size: 0.75rem; color: #6b7280; }

/* ===== Breadcrumb ===== */
.web-breadcrumb { display: flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: #9ca3af; margin-bottom: 1.25rem; flex-wrap: wrap; }
.web-breadcrumb a { color: #6b7280; padding: 0.15rem 0.35rem; border-radius: 4px; transition: color 0.2s; }
.web-breadcrumb a:hover { color: var(--brand); }
.web-breadcrumb span { color: #374151; font-weight: 500; }
.web-breadcrumb i { font-size: 0.5rem; }

/* ===== Product Detail ===== */
.web-product-detail { padding: 1.25rem 0 3.5rem; }
.web-product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

.web-product-detail__img-main {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #f9fafb; aspect-ratio: 1/1;
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}
.web-product-detail__img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.web-product-detail__img-main:hover img { transform: scale(1.03); }

.web-product-detail__category { font-size: 0.85rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.04em; }
.web-product-detail__name { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 800; color: #111827; margin: 0.4rem 0 0.6rem; line-height: 1.2; }

.web-product-detail__pricing {
  display: flex; align-items: baseline; gap: 0.65rem; flex-wrap: wrap;
  margin-bottom: 1.5rem; padding: 1.25rem 1.5rem;
  background: #1f2937; border-radius: 14px; border: none;
}
.web-product-detail__price--current { font-size: 2rem; font-weight: 800; color: #fff; }
.web-product-detail__price--old { font-size: 1.05rem; color: #9ca3af; text-decoration: line-through; }
.web-product-detail__savings { font-size: 0.8rem; font-weight: 700; color: #34d399; background: rgba(52,211,153,0.15); padding: 4px 10px; border-radius: 6px; }

.web-product-detail__description { margin-bottom: 1.5rem; }
.web-product-detail__description h4 { font-size: 0.8rem; font-weight: 700; color: #374151; margin: 0 0 0.4rem; }
.web-product-detail__description p { font-size: 0.85rem; color: #6b7280; margin: 0; line-height: 1.7; }

.web-product-detail__stock { margin-bottom: 1.25rem; padding: 1.25rem 1.5rem; border-radius: 14px; background: #111827; border: none; }
.web-product-detail__stock h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin: 0 0 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.web-product-detail__stock h4 i { color: var(--brand); }
.web-product-detail__stock-list { display: flex; flex-direction: column; gap: 0.45rem; }
.web-product-detail__stock-item { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.85rem; background: rgba(255,255,255,0.06); border-radius: 9px; border: 1px solid rgba(255,255,255,0.08); }
.web-product-detail__stock-name { font-size: 0.85rem; color: #d1d5db; display: flex; align-items: center; gap: 0.35rem; }
.web-product-detail__stock-name i { font-size: 0.7rem; color: var(--brand); }
.web-product-detail__stock-qty { font-size: 0.8rem; font-weight: 700; color: #34d399; background: rgba(52,211,153,0.15); padding: 3px 10px; border-radius: 6px; }

.web-product-detail__mayoreo {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem;
  background: #eff6ff; border: 1px solid #93c5fd;
  border-radius: 10px; font-size: 0.8rem; color: #1e40af; font-weight: 500; margin-bottom: 1.5rem;
}

.web-product-detail__actions { display: flex; flex-direction: column; gap: 0.65rem; }
.web-product-detail__actions .btn-web { justify-content: center; text-align: center; padding: 0.8rem 1.25rem; }

/* ===== Responsive ===== */
@media (min-width: 769px) {
  .web-hero__card { padding: 2.5rem 3rem; }
  .web-hero__title { font-size: 1.85rem; }
  .web-products__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .web-product-card__info { padding: 0.85rem; }
  .web-product-card__name { font-size: 0.82rem; }
  .web-product-card__price--current { font-size: 1.05rem; }
  .web-suc-carousel__arrow { display: flex; }
  .web-suc-card { flex: 0 0 calc(33.333% - 0.67rem); }
  .web-section__title { font-size: 1.5rem; }
  .web-categories__grid { grid-template-columns: repeat(4, 1fr); }
}


@media (max-width: 992px) {
  .web-product-detail__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .web-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .web-catalog__layout { grid-template-columns: 1fr; }
  .web-suc-card { flex: 0 0 calc(50% - 0.5rem); }
}

@media (max-width: 768px) {
  .web-nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 0.85rem;
    border-bottom: 1px solid #e5e7eb; box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    border-radius: 0 0 14px 14px;
  }
  .web-nav__links.open { display: flex; }
  .web-nav__toggle { display: block; }

  /* Categories: 2-col grid on mobile */
  .web-categories__grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .web-categories__card { padding: 1rem 0.5rem; }
  .web-categories__card i { font-size: 1.3rem; width: 40px; height: 40px; }
  .web-categories__card span { font-size: 0.72rem; }

  .web-catalog__filter-btn { display: flex; }
  .web-catalog__sidebar {
    position: fixed; top: 0; left: -100%; width: 82%; max-width: 280px;
    height: 100vh; z-index: 1200; background: #fff;
    overflow-y: auto; padding: 0; border-radius: 0 14px 14px 0;
    box-shadow: 3px 0 20px rgba(0,0,0,0.1); transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  .web-catalog__sidebar.open { left: 0; }
  .web-catalog__sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.1rem; border-bottom: 1px solid #f3f4f6;
  }
  .web-catalog__sidebar-header h3 { margin: 0; font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; gap: 0.35rem; }
  .web-catalog__sidebar-close {
    display: flex; width: 30px; height: 30px; align-items: center; justify-content: center;
    border: none; background: #f3f4f6; border-radius: 7px; cursor: pointer; font-size: 0.95rem; color: #374151;
  }
  .web-catalog__sidebar .web-catalog__search { padding: 0.85rem 1.1rem 0; }
  .web-catalog__sidebar .web-catalog__filters { padding: 0 1.1rem 1.5rem; }

  .web-products__grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }

  /* Sucursales carousel mobile */
  .web-suc-card { flex: 0 0 85%; }
  .web-suc-card__img-wrap { height: 160px; }
  .web-suc-modal__gallery { height: 180px; }
}

@media (max-width: 400px) {
  .container { padding: 0 0.85rem; }
  .web-hero__card { padding: 2rem 1.5rem; border-radius: 16px; }
}
