:root {
  --tommy-blue: #2EB5F4;
  --tommy-dark: #078DD0;
  --pet-purple: #AF2ED0;
  --pet-dark: #5C2F9B;
  --shop-green: #9ACD1A;
  --shop-dark: #6FA812;
  --accent-yellow: #FFD966;
  --accent-green-light: #C5E99B;
  --bg-light: #f8f7fc;
  --card-white: #FFFFFF;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --border-light: #E5E7EB;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 0 0 3px rgba(212, 175, 55, 0.25), 0 8px 32px rgba(180, 140, 20, 0.18), 0 2px 8px rgba(0,0,0,0.07);
  --gold-border: rgba(212, 175, 55, 0.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  color: #5a4a2e;
  line-height: 1.5;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 244, 210, 0.85) 0%, rgba(255, 244, 210, 0) 20%),
    radial-gradient(circle at 100% 0%, rgba(217, 255, 202, 0.75) 0%, rgba(217, 255, 202, 0) 18%),
    radial-gradient(circle at 100% 100%, rgba(214, 233, 255, 0.72) 0%, rgba(214, 233, 255, 0) 22%),
    radial-gradient(circle at 0% 100%, rgba(241, 225, 255, 0.8) 0%, rgba(241, 225, 255, 0) 20%),
    linear-gradient(90deg, #f6f1ff 0%, #f8fbff 50%, #effaf1 100%);
  background-attachment: fixed;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, .brand-text, .hero-copy h1, .btn-primary, .catalog-title, .section-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: #c9a126;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.slogan, .seo-tagline {
  color: #b8860b;
}

.product-title, .product-price {
  color: #d4af37;
}

/* ===== SEO KEYWORDS BAND ===== */
.seo-keywords {
  background: linear-gradient(90deg, var(--tommy-blue), var(--pet-purple));
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  padding: 5px 1rem;
  letter-spacing: 0.4px;
  font-family: 'Nunito', sans-serif;
}

.seo-tagline {
  font-size: 0.9rem;
  color: var(--tommy-blue);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* ===== HEADER ===== */
.main-header {
  background: var(--card-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0 0.8rem;
  border-bottom: 2px solid var(--tommy-blue);
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  width: 132px;
  height: 132px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  flex-shrink: 0;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.6px;
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  line-height: 1;
}

.tommy { color: var(--tommy-blue); text-shadow: 0 2px 4px rgba(46, 181, 244, 0.2); }
.pet   { color: var(--pet-purple); text-shadow: 0 2px 4px rgba(175, 46, 208, 0.2); }
.shop  {
  color: var(--shop-green);
  text-shadow: 0 2px 4px rgba(154, 205, 26, 0.2);
  font-family: 'Pacifico', cursive;
  font-style: normal;
  font-weight: 400;
  margin-left: 0.15rem;
  font-size: 2rem;
}

.slogan {
  font-size: 1rem;
  color: #b8860b;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.main-nav a {
  color: var(--pet-purple);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--tommy-blue);
  text-shadow: 0 0 4px rgba(46, 181, 244, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 25px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
  transition: 0.2s;
}

.icon-btn:hover {
  color: var(--tommy-blue);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--shop-green);
  color: #1F2937;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 30px;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
}

.user-greeting {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.text-btn {
  background: none;
  border: 1px solid var(--tommy-blue);
  color: var(--tommy-blue);
  padding: 4px 10px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: 0.2s;
  font-weight: 600;
}

.text-btn:hover {
  background: var(--tommy-blue);
  color: white;
}

.page-container {
  width: 100%;
  padding: 0 0 4rem;   
}

.hero-premium,
.about-premium,
.contact-premium,
.main-footer {
  width: 100%;
  max-width: none;
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
}

/* ===== HERO ===== */
.hero-premium {
  position: relative;
  overflow: visible;
  border-radius: 0;
  margin-bottom: 3rem;
  background: transparent;
}

.hero-top-band {
  height: 76px;
  background: linear-gradient(90deg, #fff6d8 0%, #fcfaef 35%, #f5f7ef 68%, #e8ffd8 100%);
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  min-height: 620px;
}

.hero-copy { max-width: 520px; justify-self: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(172, 140, 255, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.18);
  color: #7c5ad8;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.06;
  color: #c9a126;
  margin-bottom: 1.25rem;
}

.hero-copy p {
  font-size: 1.2rem;
  color: #1e3a5f;   /* Azul oscuro elegante */
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--tommy-blue);
  color: var(--tommy-blue);
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-family: 'Fredoka', sans-serif;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: var(--tommy-blue);
  color: white;
}

.btn-whatsapp {
  background: #25D366;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  color: #1e3a5f;
  font-family: 'Fredoka', sans-serif;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-pet-frame {
  width: 100%;
  max-width: 760px;
  min-height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

.hero-pet-frame::before,
.hero-pet-frame::after { display: none; content: none; }

.hero-pet-frame img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 22px rgba(125, 94, 35, 0.10));
  -webkit-mask-image:
    linear-gradient(to top, transparent 0%, black 20%, black 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to top, transparent 0%, black 20%, black 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-composite: intersect;
}

/* ===== CATALOG GOLDEN BOX ===== */
.catalog-golden-box {
  background: var(--card-white);
  border-radius: 28px;
  border: 1.5px solid var(--gold-border);
  box-shadow: var(--shadow-gold);
  padding: 2rem 2rem 2.5rem;
  position: relative;
}

.catalog-golden-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(212,175,55,0.18) 0%, rgba(255,214,0,0.07) 50%, rgba(212,175,55,0.15) 100%);
  pointer-events: none;
  z-index: 0;
}

.catalog-golden-box > * { position: relative; z-index: 1; }

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

.catalog-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  color: #c9a126;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== CATEGORY PILLS ===== */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 40px;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  background: var(--bg-light);
  color: var(--text-dark);
}

.cat-pill:hover,
.cat-pill.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.cat-pill.all       { border-color: #d4af37; color: #a8841d; }
.cat-pill.all.active, .cat-pill.all:hover { background: #d4af37; color: white; }

.cat-pill.snacks    { border-color: #FF8C42; color: #c7560e; }
.cat-pill.snacks.active, .cat-pill.snacks:hover { background: #FF8C42; color: white; }

.cat-pill.juguetes  { border-color: #2EB5F4; color: #0078b8; }
.cat-pill.juguetes.active, .cat-pill.juguetes:hover { background: #2EB5F4; color: white; }

.cat-pill.aseo      { border-color: #9ACD1A; color: #5a8000; }
.cat-pill.aseo.active, .cat-pill.aseo:hover { background: #9ACD1A; color: white; }

.cat-pill.accesorios { border-color: #AF2ED0; color: #7a1099; }
.cat-pill.accesorios.active, .cat-pill.accesorios:hover { background: #AF2ED0; color: white; }

.cat-pill.vitaminas { border-color: #E74C3C; color: #b71c1c; }
.cat-pill.vitaminas.active, .cat-pill.vitaminas:hover { background: #E74C3C; color: white; }

/* ===== ABOUT ===== */
.about-premium {
  padding: 5rem 0;
  background: linear-gradient(90deg, #f3ecff 0%, #eefbff 50%, #f5f0ff 100%);
  width: 100%;
}

.about-premium h2 {
  text-align: center;
  color: #c9a126;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem;
  color: #b8860b;
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-body {
  max-width: 900px;
  margin: 0 auto 3rem;
  color: #5a4a2e;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-body h3 {
  font-family: 'Fredoka', sans-serif;
  color: #c9a126;
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  text-shadow: none;
}

.about-body p { margin-bottom: 1rem; }

.about-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.pillar-item {
  background: white;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--tommy-blue);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  text-shadow: none;
}

.pillar-item strong {
  display: block;
  color: var(--pet-purple);
  margin-bottom: 0.3rem;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.about-card {
  border-radius: 22px;
  padding: 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(180, 160, 70, 0.22);
  border: 2px solid #d7b33d;
}

.card-lila  { background: linear-gradient(135deg, #c8a7e6, #9f89c7); }
.card-cyan  { background: linear-gradient(135deg, #0fd0d8, #49cfd3); }
.card-green { background: linear-gradient(135deg, #b2d51d, #a6cf2d); }

.about-icon { font-size: 2rem; margin-bottom: 1rem; }

.about-card h3 { color: #1e3a5f; margin: 1rem 0 0.75rem; }
.about-card p  { color: #1e3a5f; line-height: 1.6; }

.about-hero-image {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.about-hero-image img {
  max-width: 100%;
  border-radius: 48px;
  box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.15), 0 24px 48px -12px rgba(0,0,0,0.3), 0 0 0 1px rgba(212, 175, 55, 0.3);
  transition: box-shadow 0.3s ease;
  filter: blur(0.5px);
  transform: scale(0.99);
}
.about-hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
  border-radius: 80px;
  z-index: 1;
}

/* ===== FAQ / TERMS / PRIVACY ===== */
.faq-container, .terms-container, .privacy-container {
  max-width: 900px;
  margin: 2rem auto;
  background: var(--card-white);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.faq-container h2, .terms-container h2, .privacy-container h2 {
  color: var(--pet-purple);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.faq-question {
  font-weight: 800;
  color: var(--tommy-blue);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.faq-answer { color: var(--text-muted); line-height: 1.6; }

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--card-white);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.25s ease;
  border: 1px solid var(--border-light);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--tommy-blue);
  box-shadow: var(--shadow-md);
}

.product-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.product-info { padding: 1rem; }

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #8a6a00;
}

.product-price { color: #8a6a00; font-weight: 800; font-size: 1.2rem; }

.fav-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #aaa;
  cursor: pointer;
  transition: 0.2s;
}

.fav-btn.active { color: #e74c3c; }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  border-radius: 60px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.filter-input, .filter-select {
  background: var(--card-white);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 40px;
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 1rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
}

/* ===== ORDERS / FAVORITES ===== */
.order-card, .favorite-item {
  background: var(--card-white);
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--tommy-blue);
  box-shadow: var(--shadow-sm);
}

/* ===== ADMIN ===== */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-white);
  border-radius: 24px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stat-card i { font-size: 2rem; color: var(--pet-purple); margin-bottom: 0.5rem; }

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--card-white);
  border-left: 5px solid var(--shop-green);
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
  font-weight: 500;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.7rem;
  color: #c9a126;
  margin: 2.5rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== FEATURED / BEST SELLERS STRIP ===== */
.home-section-box {
  background: var(--card-white);
  border-radius: 24px;
  padding: 1.5rem 2rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.home-section-box.gold-section {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.home-section-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.25rem;
}

.home-section-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.55rem;
  color: #c9a126;
}

.home-section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.main-footer.footer-premium {
  width: 100%;
  margin-top: 0;
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(182, 92, 255, 0.35) 0%, transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(130, 70, 255, 0.22) 0%, transparent 25%),
    linear-gradient(135deg, #962dff 0%, #5568ff 45%, #00b7d9 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-premium-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand { max-width: 280px; }

.footer-brand-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}

.f-tommy { color: #7dd8ff; }
.f-pet   { color: #e9a0ff; }
.f-shop  { font-family: 'Pacifico', cursive; color: #c6f542; font-size: 1.3rem; margin-left: 0.1rem; }

.footer-slogan {
  font-weight: 700;
  color: #ffd84f;
  margin-bottom: 0.4rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-socials a[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}
.footer-socials a[aria-label="Facebook"] {
  background: #1877f2;
  color: white;
}
.footer-socials a[aria-label="TikTok"] {
  background: #000000;
  color: #00f2ea;
  text-shadow: 0 0 2px rgba(0,0,0,0.5);
}
.footer-socials a[aria-label="TikTok"] i {
  color: #00f2ea;
}

.footer-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col h4 {
  color: #ffd84f;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-family: 'Fredoka', sans-serif;
}

.footer-col a,
.footer-col p {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.97rem;
}

.footer-col a:hover { color: #ffe680; }

.footer-col a i,
.footer-col p i {
  margin-right: 0.5rem;
  color: #ffe16a;
  width: 16px;
  text-align: center;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.footer-socials a:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}

/* ===== UTILITY CLASSES ===== */
.loader-initial {
  text-align: center;
  padding: 4rem 2rem;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  color: var(--pet-purple);
}

.btn-primary {
  background: linear-gradient(135deg, var(--tommy-blue), var(--tommy-dark));
  color: #000;
  text-shadow: none;
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  color: #000;
  background: linear-gradient(135deg, #5cc8f7, var(--tommy-blue));
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(46, 181, 244, 0.35);
}

.quote-btn {
  background: #25D366;
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 40px;
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quote-btn:hover {
  color: #000;
  background: #1ebe5a;
  transform: translateY(-2px);
}

.product-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.breadcrumb {
  padding: 0.75rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--tommy-blue);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover { text-decoration: underline; }

.qty-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.qty-btn:hover {
  background: var(--tommy-blue);
  color: white;
  border-color: var(--tommy-blue);
}

.remove-item {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: 0.2s;
}

.remove-item:hover {
  background: #fdecea;
}

.admin-link {
  color: var(--shop-green) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-premium-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .about-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem;
  }
  .hero-copy { justify-self: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-pet-frame { max-width: 100%; min-height: auto; }
  .hero-pet-frame img { max-width: 90%; transform: none; }
  .header-container { flex-direction: column; }
  .logo-wrap { justify-content: center; flex-wrap: wrap; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .category-pills { justify-content: center; }
  .brand-text {
    font-size: 2rem;
  }
  .shop {
    font-size: 1.5rem;
  }
  .slogan {
    font-size: 0.85rem;
  }
  .seo-tagline {
    font-size: 0.75rem;
  }
}

@media (max-width: 780px) {
  .footer-premium-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .footer-premium-grid,
  .about-cards { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
  .catalog-golden-box { padding: 1rem 1rem 1.5rem; }
}

/* ---- Etiquetas de presentación / variante ---- */
.product-meta { margin: 0.35rem 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product-meta .tag { background: #eef6fb; color: #0b5d86; border-radius: 999px; padding: 2px 10px; font-size: 0.75rem; font-weight: 700; }
select.filter-input { cursor: pointer; background: #fff; }

/* ===== AJUSTES RESPONSIVE (celular y tablet) ===== */
@media (max-width: 800px) {
  /* Encabezado compacto: ya no se queda fijo ocupando media pantalla */
  .main-header { position: static; padding: 0.6rem 0; }
  .header-container { gap: 0.4rem; }
  .logo-area { width: 100%; justify-content: center; }
  .logo-wrap { flex-wrap: nowrap; gap: 0.7rem; justify-content: center; text-align: left; max-width: 100%; }
  .logo-copy { min-width: 0; }
  .logo-image { width: 76px; height: 76px; }
  .seo-tagline { white-space: normal; }
  .main-nav { width: 100%; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.9rem; }
  .main-nav a { font-size: 0.95rem; padding: 0.3rem 0.2rem; }
  .header-actions { margin-top: 0.5rem; flex-wrap: wrap; }
}

@media (max-width: 800px) {
  /* Carrito siempre a mano mientras se baja por la página */
  #cartBtn {
    position: fixed; right: 14px; bottom: 14px; z-index: 1100;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--tommy-blue); color: #fff; font-size: 1.35rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    display: flex; align-items: center; justify-content: center;
  }
  #cartBtn:hover { color: #fff; }
  #cartBtn .badge { top: -4px; right: -4px; }
  .toast-container { bottom: 84px; right: 12px; left: 12px; align-items: flex-end; }
  body { padding-bottom: 76px; }
  /* Botones del encabezado cómodos para el dedo */
  .main-nav a { min-height: 40px; }
  .icon-btn { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  #favoritesBtn .badge { top: 0; right: -2px; }
  .text-btn { padding: 8px 14px; font-size: 0.8rem; }
}
@media (max-width: 640px) {
  .seo-tagline { display: none; }
  .about-hero-image::before { top: -10px; left: -10px; right: -10px; bottom: -10px; }
}

@media (max-width: 640px) {
  /* Catálogo: filtros a todo el ancho */
  .catalog-title { font-size: 1.45rem; }
  .cat-pill { padding: 7px 14px; font-size: 0.88rem; }
  .filter-bar { border-radius: 24px; padding: 1rem; gap: 0.7rem; }
  .filter-bar .filter-input { max-width: 100% !important; width: 100%; flex: 1 1 100%; }
  .filter-bar .btn-primary { width: 100%; }
  /* Evita el zoom automático de iPhone al tocar un campo */
  input, select, textarea { font-size: 16px; }
}

@media (max-width: 800px) {
  .form-group select { width: 100%; padding: 12px; background: var(--bg-light); border: 1px solid var(--border-light); border-radius: 20px; color: var(--text-dark); font-family: 'Nunito', sans-serif; }
  .qty-btn { min-width: 36px; min-height: 36px; }
}
@media (max-width: 640px) {
  /* Carrito: cada producto en 2 filas ordenadas (nombre + eliminar / cantidad + subtotal) */
  #app-main .container > div[style*="flex-wrap:wrap"][style*="border-radius:20px"] {
    display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 0.6rem 1rem;
  }
  #app-main .container > div[style*="flex-wrap:wrap"][style*="border-radius:20px"] > :nth-child(1) { grid-column: 1; grid-row: 1; }
  #app-main .container > div[style*="flex-wrap:wrap"][style*="border-radius:20px"] > :nth-child(4) { grid-column: 2; grid-row: 1; justify-self: end; }
  #app-main .container > div[style*="flex-wrap:wrap"][style*="border-radius:20px"] > :nth-child(2) { grid-column: 1; grid-row: 2; }
  #app-main .container > div[style*="flex-wrap:wrap"][style*="border-radius:20px"] > :nth-child(3) { grid-column: 2; grid-row: 2; justify-self: end; font-weight: 700; }
}
