/* ============================================================
   EL VESTUARIO — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0A1535;
  --nav:       #040D1A;
  --primary:   #1E40AF;
  --accent:    #00AAFF;
  --text:      #FFFFFF;
  --text-muted:#94A3B8;
  --card-bg:   #0F1E3D;
  --border:    rgba(0,170,255,.15);
  --radius:    12px;
  --transition:.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--nav); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--text);
  flex-shrink: 0;
}

.navbar__logo img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  border-radius: 6px;
}

.navbar__logo span { color: var(--accent); }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: .2rem;
  list-style: none;
}

.navbar__menu a {
  padding: .45rem .85rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: var(--text);
  background: rgba(0,170,255,.1);
}

.navbar__menu a.active { color: var(--accent); }

.btn-whatsapp-nav {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--accent);
  color: #000 !important;
  font-weight: 700;
  font-size: .85rem;
  padding: .55rem 1.1rem;
  border-radius: 8px;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-whatsapp-nav:hover { opacity: .88; transform: translateY(-1px); background: var(--accent) !important; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .3rem;
  border: none;
  background: transparent;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.navbar__mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--nav);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: .4rem;
  z-index: 999;
}

.navbar__mobile.open { display: flex; }

.navbar__mobile a {
  padding: .7rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.navbar__mobile a:hover,
.navbar__mobile a.active { color: var(--text); background: rgba(0,170,255,.1); }

.navbar__mobile .btn-whatsapp-nav { justify-content: center; color: #000 !important; }

/* ============================================================
   URGENCY BANNER
   ============================================================ */
.urgency-banner {
  background: linear-gradient(90deg, #1E40AF, #00AAFF, #1E40AF);
  background-size: 200% 100%;
  animation: bannerShift 4s linear infinite;
  text-align: center;
  padding: .6rem 1rem;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .03em;
  color: #fff;
}

@keyframes bannerShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(
      to bottom,
      rgba(4,13,26,.45) 0%,
      rgba(4,13,26,.75) 60%,
      rgba(4,13,26,.95) 100%
    ),
    url('../imagenes/hero-bg.jpg') center 25%/cover no-repeat;
  padding: 4rem 1.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300AAFF' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content { position: relative; max-width: 760px; }

@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  height: 220px;
  width: auto;
  display: block;
  margin: 0 auto 2rem;
  animation: heroLogoIn .8s ease forwards;
  filter: drop-shadow(0 0 20px rgba(0, 170, 255, 0.6));
}

.hero__badge {
  display: inline-block;
  background: rgba(0,170,255,.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(4,13,26,.8), 0 1px 4px rgba(4,13,26,.6);
}

.hero__title span { color: var(--accent); }

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
  border: 2px solid var(--primary);
}

.btn-primary:hover { background: #2563EB; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
  border: 2px solid var(--accent);
}

.btn-outline:hover { background: rgba(0,170,255,.1); transform: translateY(-2px); }

/* Floating balls decoration */
.hero__decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__ball {
  position: absolute;
  font-size: 3rem;
  opacity: .07;
  animation: floatBall linear infinite;
}

.hero__ball:nth-child(1) { left: 5%; top: 20%; animation-duration: 18s; animation-delay: 0s; font-size: 4rem; }
.hero__ball:nth-child(2) { right: 8%; top: 60%; animation-duration: 22s; animation-delay: -6s; font-size: 2.5rem; }
.hero__ball:nth-child(3) { left: 15%; bottom: 10%; animation-duration: 16s; animation-delay: -3s; }
.hero__ball:nth-child(4) { right: 20%; top: 10%; animation-duration: 20s; animation-delay: -10s; font-size: 5rem; }

@keyframes floatBall {
  0%   { transform: translateY(0) rotate(0deg); opacity: .07; }
  50%  { opacity: .12; }
  100% { transform: translateY(-60px) rotate(360deg); opacity: .07; }
}

/* ============================================================
   SECTIONS GENERIC
   ============================================================ */
section { padding: 5rem 1.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.section-title span { color: var(--accent); }

.section-subtitle {
  color: var(--text-muted);
  margin-top: .6rem;
  font-size: 1rem;
}

.container { max-width: 1200px; margin: 0 auto; }

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.categorias { background: var(--nav); }

.categorias__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.categoria-card {
  background: #07152A;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--text);
  display: block;
}
.categoria-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  background: transparent;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(0, 170, 255, 0.4));
}

.categoria-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,170,255,.15);
}

.categoria-card__icon { font-size: 2.8rem; margin-bottom: .8rem; }
.categoria-card__title { font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.categoria-card__desc { color: var(--text-muted); font-size: .85rem; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,170,255,.4);
  box-shadow: 0 12px 40px rgba(0,170,255,.12);
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0F1E3D, #1E40AF22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-card__img-wrap img { transform: scale(1.05); }

.product-card__placeholder {
  font-size: 5rem;
  opacity: .3;
}

.product-card__badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: var(--accent);
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .25rem .6rem;
  border-radius: 6px;
}

.product-card__body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-weight: 700;
  font-size: .98rem;
  margin-bottom: .4rem;
  line-height: 1.3;
}

.product-card__desc {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .8rem;
  flex: 1;
}

.product-card__tallas {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1rem;
}

.talla-tag {
  background: rgba(30,64,175,.4);
  border: 1px solid rgba(30,64,175,.6);
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .5rem;
  border-radius: 5px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.btn-wa { width: 100%; justify-content: center; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  padding: .55rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); }

/* ============================================================
   WHY US
   ============================================================ */
.why-us { background: var(--nav); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition);
}

.why-card:hover { transform: translateY(-3px); }

.why-card__icon { font-size: 2.5rem; margin-bottom: .9rem; }
.why-card__title { font-weight: 700; margin-bottom: .4rem; }
.why-card__text { color: var(--text-muted); font-size: .88rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--nav);
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 2rem;
  color: var(--text-muted);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 2.5rem;
}

.footer__brand__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: .9rem;
}

.footer__brand__logo img { height: 34px; width: 34px; object-fit: contain; border-radius: 6px; }
.footer__brand__logo span { color: var(--accent); }
.footer__brand p { font-size: .88rem; max-width: 260px; }

.footer__col h4 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }

.footer__col ul a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__col ul a:hover { color: var(--accent); }

.footer__bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.6); }

.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Ping pulse */
.wa-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============================================================
   CATALOGO PAGE — Filters & Search
   ============================================================ */
.catalog-hero {
  background: var(--nav);
  padding: 3rem 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.catalog-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: .4rem;
}

.catalog-hero p { color: var(--text-muted); }

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 380px;
}

.search-wrap svg {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: var(--text-muted);
}

#searchInput {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: .65rem .9rem .65rem 2.4rem;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition);
}

#searchInput:focus { border-color: var(--accent); }
#searchInput::placeholder { color: var(--text-muted); }

.filter-tabs {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: .83rem;
  padding: .5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-tab:hover { color: var(--text); border-color: rgba(0,170,255,.4); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.sort-wrap { display: flex; align-items: center; }

#sort-select {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: .83rem;
  font-weight: 600;
  padding: .5rem .9rem;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
  appearance: auto;
}

#sort-select:focus,
#sort-select:hover { border-color: var(--accent); }

.catalog-results { color: var(--text-muted); font-size: .85rem; margin-bottom: .5rem; }

#no-results {
  display: none;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

#no-results .no-results-icon { font-size: 3.5rem; margin-bottom: 1rem; }

/* ============================================================
   NOSOTROS PAGE
   ============================================================ */
.about-hero {
  background: var(--nav);
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.about-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin-bottom: .6rem; }
.about-hero h1 span { color: var(--accent); }
.about-hero p { color: var(--text-muted); max-width: 540px; margin: 0 auto; }

.about-section { padding: 5rem 1.5rem; }
.about-section--alt { background: var(--nav); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-grid--reverse .about-img { order: 2; }
.about-grid--reverse .about-text { order: 1; }

.about-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.about-text h2 span { color: var(--accent); }
.about-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }

.about-img {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(0,170,255,.2);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
}

.value-card__icon { font-size: 2.2rem; margin-bottom: .7rem; }
.value-card__title { font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.value-card__text { color: var(--text-muted); font-size: .84rem; }

.cta-section {
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid--reverse .about-img { order: 0; }
  .about-grid--reverse .about-text { order: 0; }
}

@media (max-width: 640px) {
  .navbar__menu { display: none; }
  .btn-whatsapp-nav { display: none; }
  .navbar__hamburger { display: flex; }
  .footer__inner { grid-template-columns: 1fr; }
  .catalog-controls { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: 100%; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__logo { height: 150px; }
  .categoria-card img { width: 140px; height: 140px; }
}

/* ============================================================
   SKELETON LOADING
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

.skeleton-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skeleton-img {
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, #0F1E3D 25%, #1a2d52 50%, #0F1E3D 75%);
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
}

.skeleton-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .7rem; }

.skeleton-line {
  border-radius: 6px;
  background: linear-gradient(90deg, #0F1E3D 25%, #1a2d52 50%, #0F1E3D 75%);
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
}

.skeleton-line--title   { height: 16px; width: 85%; }
.skeleton-line--short   { height: 12px; width: 65%; }
.skeleton-line--shorter { height: 12px; width: 45%; }
.skeleton-line--price   { height: 20px; width: 60px; }

.skeleton-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .4rem;
}

.skeleton-btn {
  height: 36px;
  width: 120px;
  border-radius: 8px;
  background: linear-gradient(90deg, #0F1E3D 25%, #1a2d52 50%, #0F1E3D 75%);
  background-size: 600px 100%;
  animation: shimmer 1.6s infinite linear;
}

/* ============================================================
   PAGINATION
   ============================================================ */
#pagination-wrap { margin-top: 2.5rem; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.page-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem .85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  line-height: 1;
}

.page-btn:hover:not([disabled]) {
  background: rgba(0,170,255,.1);
  border-color: rgba(0,170,255,.4);
  color: var(--text);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  cursor: default;
}

.page-btn[disabled] {
  opacity: .35;
  cursor: not-allowed;
}

.page-prev, .page-next {
  padding: .5rem 1.1rem;
  font-size: .85rem;
}

.page-ellipsis {
  color: var(--text-muted);
  padding: 0 .2rem;
  font-size: .85rem;
  user-select: none;
}

.catalog-results {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: .5rem;
}

@media (max-width: 500px) {
  .page-prev, .page-next { padding: .5rem .7rem; font-size: .8rem; }
  .page-btn { padding: .45rem .65rem; }
  .page-numbers { gap: .2rem; }
}
