/* ==========================================================================
   LUDIKIDS - DESIGN SYSTEM & STYLESHEET
   Aesthetic: Warm Montessori, Organic, Playful yet Educational & Premium
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #d96b43;
  --primary-hover: #c45831;
  --primary-light: #faede7;
  --primary-glow: rgba(217, 107, 67, 0.25);

  --secondary: #2a9d8f;
  --secondary-hover: #228276;
  --secondary-light: #e8f5f3;

  --accent-gold: #f4a261;
  --accent-soft-yellow: #fef6e4;
  --accent-purple: #7b68ee;
  --accent-purple-light: #f1effe;

  --wa-green: #25d366;
  --wa-green-hover: #1ebc59;
  --wa-green-dark: #128c7e;

  /* Neutrals & Surfaces */
  --bg-page: #fdfaf6;
  --bg-card: #ffffff;
  --bg-subtle: #f6f1eb;
  --bg-warm-tint: #fefcf9;

  --text-main: #2b3137;
  --text-muted: #6c757d;
  --text-light: #9aa1a9;
  --border-color: #ebdcd0;
  --border-focus: #d96b43;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(71, 45, 23, 0.04);
  --shadow-md: 0 8px 24px rgba(71, 45, 23, 0.08);
  --shadow-lg: 0 16px 36px rgba(71, 45, 23, 0.12);
  --shadow-floating: 0 12px 30px rgba(0, 0, 0, 0.15);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #d96b43, #e76f51, #f4a261);
  color: #ffffff;
  padding: 0.55rem 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.text-btn {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.text-btn:hover {
  opacity: 1;
}

.settings-pill-btn {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.settings-pill-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  background: rgba(253, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
  transition: box-shadow var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  padding: 1px;
  flex-shrink: 0;
}

.brand-badge-icon {
  font-size: 1.8rem;
  background: var(--primary-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 107, 67, 0.2);
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f2421;
  line-height: 1.1;
}

.brand-title span {
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 107, 67, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #dbc9bb;
  transform: translateY(-1px);
}

.btn-outline-whatsapp {
  background: rgba(37, 211, 102, 0.08);
  color: var(--wa-green-dark);
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
}

.btn-outline-whatsapp:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: var(--wa-green);
  transform: translateY(-1px);
}

.btn-whatsapp-cta {
  background: linear-gradient(135deg, #25d366, #1fad55);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-cta:hover {
  background: linear-gradient(135deg, #20ba59, #179347);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-whatsapp-full {
  background: #25d366;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.btn-whatsapp-full:hover {
  background: var(--wa-green-hover);
}

/* Cart Trigger in Header */
.cart-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.cart-trigger-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(217, 107, 67, 0.12);
  transform: translateY(-1px);
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -9px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid #ffffff;
}

.cart-badge.bump {
  animation: badgePop 0.35s ease;
}

@keyframes badgePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.cart-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(244, 162, 97, 0.12), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(42, 157, 143, 0.08), transparent 40%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(217, 107, 67, 0.2);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 107, 67, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #1a1e21;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 10px;
  background: rgba(244, 162, 97, 0.35);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.12rem;
  color: #555d65;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
}

.hero-feature-item .feature-icon {
  font-size: 1.15rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual-card {
  position: relative;
}

.hero-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-main-img {
  transform: scale(1.02);
}

.hero-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.85), transparent);
  color: #ffffff;
}

.caption-tag {
  background: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.4rem;
}

.hero-img-caption p {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.95;
}

/* Floating Badges */
.hero-badge-floating {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-floating);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

.hero-badge-floating strong {
  display: block;
  font-size: 0.88rem;
  color: #1f2937;
  line-height: 1.2;
}

.hero-badge-floating small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-badge-floating .badge-emoji {
  font-size: 1.5rem;
}

.floating-1 {
  top: 8%;
  left: -25px;
}

.floating-2 {
  bottom: 12%;
  right: -20px;
  animation-delay: -2s;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   CATALOG & PRODUCTS SECTION
   ========================================================================== */
.catalog-section {
  padding: 4.5rem 0;
  background: var(--bg-page);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1b1e22;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Filter Controls */
.catalog-controls {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 2.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-subtle);
  transition: all var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.clear-search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e2e8f0;
}

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

.filter-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #4b5563;
  min-width: 120px;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-subtle);
  color: #4a5568;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.pill:hover {
  background: #ede6dd;
  color: #1a202c;
}

.pill.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 10px var(--primary-glow);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Product Card */
.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #dbc3b2;
}

.product-thumb-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f4ede4;
}

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

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

.product-badge-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-age-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(42, 157, 143, 0.94);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.product-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

/* Pedagogic Benefit Capsule */
.pedagogic-benefit-pill {
  background: var(--accent-soft-yellow);
  border: 1px solid #fae1b8;
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #795548;
}

.pedagogic-benefit-pill strong {
  color: #4e342e;
}

.product-footer-row {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f2e9e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.price-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #1f2937;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-details {
  background: var(--bg-subtle);
  color: #4a5568;
  border-radius: var(--radius-full);
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-details:hover {
  background: #ede3d5;
  color: #111;
}

.btn-add-cart {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 10px var(--primary-glow);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-add-cart:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-add-cart.added {
  background: var(--secondary);
}

/* Empty State */
.empty-results-box {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
  max-width: 500px;
  margin: 2rem auto;
}

.empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.empty-results-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.empty-results-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   PEDAGOGUE ABOUT SECTION
   ========================================================================== */
.pedagogue-section {
  padding: 5rem 0;
  background: #fdfaf6;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pedagogue-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 4rem;
}

.pedagogue-image-wrapper {
  position: relative;
}

.pedagogue-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.pedagogue-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 15%;
}

.pedagogue-card-floating {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.verified-icon {
  font-size: 1.8rem;
  background: var(--secondary-light);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.pedagogue-card-floating strong {
  display: block;
  font-size: 0.98rem;
  color: #1f2937;
}

.pedagogue-card-floating small {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
}

.pedagogue-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pedagogue-body {
  font-size: 0.98rem;
  color: #4b5563;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.pedagogue-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #ffffff;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.val-icon {
  font-size: 1.4rem;
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pedagogue-cta-box {
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   BENEFITS & VALUE PROPOSITION
   ========================================================================== */
.benefits-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

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

.benefit-card {
  background: var(--bg-warm-tint);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d8c3b2;
}

.benefit-icon-box {
  font-size: 2.2rem;
  width: 58px;
  height: 58px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(217, 107, 67, 0.15);
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 4.5rem 0;
  background: var(--bg-page);
}

.faq-container {
  max-width: 780px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: #dbc3b2;
}

.faq-question {
  padding: 1.15rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
  color: var(--primary);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.6;
  border-top: 1px solid #f6eee6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #1e242b;
  color: #e2e8f0;
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo .brand-title {
  color: #ffffff;
}

.footer-bio {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 1.2rem 0;
  line-height: 1.6;
}

.footer-meta-pill {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-meta-pill strong {
  color: #4ade80;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-info-text {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.text-link {
  color: var(--accent-gold);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.82rem;
}

/* ==========================================================================
   CART SLIDE-OVER DRAWER
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.cart-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  flex-shrink: 0;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-warm-tint);
}

.drawer-header-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1f2937;
}

.drawer-items-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.drawer-close-btn {
  font-size: 1.8rem;
  color: var(--text-muted);
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.drawer-close-btn:hover {
  background: #e2e8f0;
  color: #000;
}

.drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Cart Item Row */
.cart-item-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--bg-warm-tint);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid #ebdcd0;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.qty-stepper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #4b5563;
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: #f1ede8;
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.cart-item-remove-btn {
  font-size: 0.72rem;
  color: #ef4444;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.cart-item-remove-btn:hover {
  color: #b91c1c;
}

/* Cart Empty State */
.cart-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  margin: auto 0;
}

.empty-cart-illustration {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.cart-empty-state h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.cart-empty-state p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Drawer Checkout Form Area (inside scrollable body) */
.checkout-form-box {
  background: var(--bg-subtle);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-color);
}

.form-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.form-title span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
}

.form-title small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.25rem;
}

.form-group input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.88rem;
  background: #ffffff;
  transition: all var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.input-error-pulse {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  animation: shakeInput 0.35s ease-in-out;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.helper-text {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.3;
}

/* Drawer Pinned Fixed Footer */
.drawer-footer,
.drawer-checkout-section {
  flex-shrink: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-color);
  background: #ffffff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 20;
}

/* Cart Totals */
.cart-totals-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #4b5563;
}

.fee-row {
  font-size: 0.78rem;
}

.badge-shipping {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.total-highlight {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  padding-bottom: 0.25rem;
}

.total-highlight strong {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.safe-checkout-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   MODALS (Product Detail, Settings, Share Guide)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1051;
  box-shadow: var(--shadow-floating);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.modal-sm {
  max-width: 440px;
  padding: 2rem;
}

.modal-md {
  max-width: 580px;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 5;
}

.modal-close-btn:hover {
  background: #e5e7eb;
  color: #000;
}

/* Pedagogical Product Modal Content */
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.product-modal-img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.modal-badge-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.modal-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.modal-badge.age {
  background: var(--secondary-light);
  color: var(--secondary);
}

.modal-badge.cat {
  background: var(--primary-light);
  color: var(--primary);
}

.product-modal-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.product-modal-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.pedagogical-box {
  background: #fdf8f4;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.25rem;
}

.pedagogical-box h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.pedagogical-box p {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.5;
}

.skills-list {
  margin-bottom: 1.5rem;
}

.skills-list h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Share Guide Modal */
.modal-header-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.share-lead {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.deployment-options-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.deploy-option-card {
  background: var(--bg-warm-tint);
  border: 1px solid var(--border-color);
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.deploy-option-card.recommended {
  border-color: var(--secondary);
  background: var(--secondary-light);
}

.deploy-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.deploy-option-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.deploy-option-card p, .deploy-option-card ol {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.5;
  padding-left: 1.2rem;
}

.deploy-option-card code {
  background: rgba(0, 0, 0, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: monospace;
}

/* Settings Form */
.input-with-prefix {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 0.75rem;
}

.input-with-prefix input {
  border: none;
  padding: 0.75rem 0.5rem;
  width: 100%;
  font-size: 0.95rem;
}

.input-with-prefix input:focus {
  outline: none;
  box-shadow: none;
}

.settings-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* ==========================================================================
   FLOATING QUICK WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.floating-wa-tooltip {
  position: absolute;
  right: 70px;
  background: #1f2937;
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.floating-whatsapp:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1f2937;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-floating);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  background: var(--wa-green);
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual-card {
    max-width: 520px;
    margin: 0 auto;
  }

  .pedagogue-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pedagogue-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .main-nav {
    display: none;
  }

  .hide-mobile {
    display: none;
  }

  .top-bar-content {
    justify-content: center;
    text-align: center;
  }

  .top-bar-item {
    font-size: 0.78rem;
  }

  .catalog-controls {
    padding: 1.1rem;
  }

  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pedagogue-values {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cart-drawer {
    max-width: 100%;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
  }

  .floating-wa-tooltip {
    display: none;
  }
}

/* ==========================================================================
   TIENDA CON API: estados nuevos (agotado, descuento, galería, carga)
   ========================================================================== */
[hidden] { display: none !important; }

.grid-status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
}
.grid-status .btn { margin-top: 1rem; }

.product-img-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: var(--bg-subtle);
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card.sold-out .product-img { filter: grayscale(0.8); opacity: 0.7; }
.product-card.sold-out .price-val { color: var(--text-light); }
.product-thumb-wrapper[data-action] { cursor: pointer; }

.badge-soldout { background: #2b3137; color: #ffffff; }

.discount-tag {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.btn-add-cart:disabled,
.btn:disabled {
  background: #d9d2ca;
  color: #8a8178;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.product-modal-price { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.discount-inline {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--primary);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}
.product-modal-desc { white-space: pre-line; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }

.gallery-main { position: relative; }
.gallery-main .product-img-empty { aspect-ratio: 1/1; border-radius: var(--radius-lg); }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.gallery-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0.7;
  cursor: pointer;
  background: var(--bg-subtle);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--primary); opacity: 1; }

.footer-social a { color: inherit; text-decoration: underline; }
.footer-social { margin-top: 0.5rem; }

/* Acceso directo al panel (solo se ve con sesión de administrador) */
.admin-pill {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-hover);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.admin-pill:hover { background: #ffffff; }
.footer-admin-link { opacity: 0.7; }
