:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #2d3748;
  --muted: #718096;
  --accent: #194222;
  --accent-2: #194222;
  --accent-light: #e4f3f4;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* { 
  box-sizing: border-box; 
}

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* Header */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.hero-text {
  flex: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  background: #194222;
  color: #e4f3f4;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.menu-toggle:hover {
  background: #0f2f18;
}

.link-btn {
  border: 1px solid #194222;
  background: rgba(25, 66, 34, 0.08);
  color: #194222;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.link-btn:hover {
  background: rgba(25, 66, 34, 0.14);
  transform: translateY(-1px);
}

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #194222;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: #194222;
}

.hero .lede {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.cart-summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid #194222;
  background: rgba(25, 66, 34, 0.08);
  color: #194222;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(25, 66, 34, 0.14);
}

.cart-icon {
  position: relative;
  background: #194222;
  color: #e4f3f4;
  border-color: #194222;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
}

.cart-icon svg,
.menu-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #edbe50;
  color: #0f2f18;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.menu-btn {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
}

.header-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 220px;
  z-index: 100;
}

.header-menu.open {
  display: flex;
}

/* Hero carousel */
.hero-carousel {
  margin-bottom: 2rem;
}

.hero-carousel-inner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.hero-track {
  display: flex;
  transition: transform 0.6s ease;
}

.hero-slide {
  position: relative;
  min-width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #ffffff;
}

.hero-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-fallback {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), rgba(0,0,0,0.35)),
    linear-gradient(120deg, #0f2f18, #194222);
}

.hero-link {
  display: block;
  width: 100%;
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #194222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.hero-control:hover {
  background: #ffffff;
}

.hero-control.prev {
  left: 16px;
}

.hero-control.next {
  right: 16px;
}

.hero-control svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.hero-dot.active {
  background: #edbe50;
}

/* Desktop alignment */
.hero {
  align-items: center;
}

.hero-content {
  flex: 1;
}

.cart-summary {
  gap: 0.75rem;
}

.menu-btn {
  display: inline-flex;
}

.header-menu {
  min-width: 220px;
}

/* Desktop: hide dropdown menu, show links inline, hide hamburger */
@media (min-width: 769px) {
  .header-links {
    display: flex !important;
  }
  .header-actions {
    order: 2;
  }
  .header-menu {
    display: none !important;
  }
  .menu-btn {
    display: none;
  }
  .cart-summary {
    gap: 1rem;
  }
}

/* Cart button */
.cart-btn {
  background: #194222;
  color: #e4f3f4;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.cart-btn:hover {
  background: #0f2f18;
  transform: translateY(-1px);
}

/* Filters */
.filters {
  background: var(--card);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

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

.filter-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
}

.filter-group select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-size: 0.9rem;
  min-width: 140px;
}

.filter-group select:focus {
  outline: none;
  border-color: var(--accent);
}

#clearFilters {
  padding: 0.5rem 1rem;
  background: var(--muted);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: auto;
}

#clearFilters:hover {
  background: var(--accent);
}

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.brand {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0;
}

.name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.price {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.gender {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
  background: var(--accent-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}

.actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
  text-align: center;
  flex: 1;
}

.btn:hover {
  background: var(--accent);
  color: #e4f3f4;
}

.btn.wa {
  background: #194222;
  color: #e4f3f4;
  border-color: #194222;
}

.btn.wa:hover {
  background: #0f2f18;
  color: #e4f3f4;
}

.add-cart {
  background: var(--accent-2);
  color: #e4f3f4;
  border-color: var(--accent-2);
}

.add-cart:hover {
  background: #0f2f18;
}

.no-products {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--muted);
  grid-column: 1 / -1;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Status */
.status {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Product detail page */
.back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.image-col img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.info-col h1 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.description {
  color: var(--muted);
  line-height: 1.6;
}

/* Cart modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
}

.cart-items {
  padding: 1rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.item-brand, .item-price {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-controls button {
  background: var(--accent);
  color: #e4f3f4;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.remove-btn {
  background: #e53e3e;
}

.quantity {
  min-width: 35px;
  text-align: center;
  font-weight: 600;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid #e2e8f0;
  flex: 0 0 auto;
}

.cart-total {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.cart-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.btn-primary {
  background: var(--accent-2);
  color: #e4f3f4;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}

.btn-secondary {
  background: var(--muted);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.empty-cart {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #194222;
  color: #edbe50;
  padding: 1rem;
  border-radius: var(--radius);
  z-index: 1001;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e2e8f0;
  border-top: 4px solid #194222;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.loading-text {
  color: #194222;
  font-size: 1.1rem;
  font-weight: 600;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-overlay.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .logo {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 0.75rem;
  }
  
  .hero {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .filters {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .cart-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .filter-group select {
    min-width: 120px;
    font-size: 0.85rem;
  }
  
  #clearFilters {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  /* hero adapts to image height on mobile */
}

@media (max-width: 768px) {
  .page {
    padding: 0.5rem;
  }
  
  .hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-text {
    display: none;
  }

  /* hero adapts to image height on tablet */
  
  .logo {
    height: 50px;
    flex-shrink: 0;
  }
  
  .cart-summary {
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
  }

  .header-links {
    display: none !important;
  }
  
  .menu-btn {
    display: inline-flex;
  }

  .header-menu {
    right: 0;
    left: auto;
  }
  
  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .filter-group {
    justify-content: space-between;
  }
  
  #clearFilters {
    margin-left: 0;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .card {
    padding: 0.75rem;
  }
  
  .card img {
    height: 180px;
  }
  
  .name {
    font-size: 0.9rem;
    line-height: 1.2;
  }
  
  .price {
    font-size: 1rem;
  }
  
  .brand {
    font-size: 0.7rem;
  }
  
  .actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .product-card {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  
  .info-col h1 {
    font-size: 1.4rem;
  }
  
  .info-col .actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .info-col .btn {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .cart-actions {
    flex-direction: column;
  }
  
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .item-controls {
    align-self: flex-end;
  }
  
  .modal-content {
    width: 95%;
    margin: 1rem;
  }
  
  .cart-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    text-align: center;
  }
  
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Paginación */
.pagination {
  margin: 2rem 0;
  text-align: center;
}

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

.pagination-controls button {
  background: #194222;
  color: #edbe50;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.pagination-controls button:hover {
  background: #2a5533;
}

.page-info {
  font-weight: 500;
  color: #194222;
}

@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pagination-controls button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}
/* Buscador */
.search-section {
  margin-bottom: 1.5rem;
}

/* Showcase (marca/genero) */
.showcase-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.showcase {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-header h2 {
  margin: 0 0 0.25rem;
  color: #194222;
}

.section-header p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.showcase-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.showcase-header h3 {
  margin: 0;
  color: #194222;
}

.btn-inline {
  background: #194222;
  color: #e4f3f4;
  border-color: #194222;
  flex: 0 0 auto;
  width: auto;
  min-width: 180px;
}

.btn-inline:hover {
  background: #edbe50;
  color: #0f2f18;
  border-color: #194222;
}

.showcase-footer {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

.showcase-carousel {
  overflow: hidden;
}

.showcase-track {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  will-change: scroll-position;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-card {
  flex: 0 0 200px;
}

.card.compact img {
  height: 180px;
}

.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.clear-search {
  position: absolute;
  right: 34px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #718096;
  cursor: pointer;
  padding: 0 0.35rem;
  line-height: 1;
}

.clear-search:hover {
  color: #2d3748;
}

.search-loading {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  border: 2px solid #e2e8f0;
  border-top: 2px solid #194222;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#searchInput {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

#searchInput:focus {
  outline: none;
  border-color: #194222;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid #f7fafc;
}

.search-item:hover {
  background: #f7fafc;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.search-info {
  flex: 1;
}

.search-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.search-brand {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.search-price {
  color: #194222;
  font-weight: 600;
  font-size: 0.85rem;
}

.no-results {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Info sections */
.info-section {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-section h2 {
  margin-top: 0;
  color: #194222;
}

.info-section img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-section ul {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
}

.info-section li {
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .search-section {
    margin-bottom: 1rem;
  }
  
  .search-container {
    max-width: 100%;
    margin: 0;
  }
  
  #searchInput {
    font-size: 16px; /* Evita zoom en iOS */
    padding: 0.6rem 0.8rem;
  }
  
  .search-results {
    max-height: 300px;
    border-radius: 8px;
  }
  
  .search-item {
    padding: 0.6rem;
    gap: 0.6rem;
  }
  
  .search-item img {
    width: 40px;
    height: 40px;
  }
  
  .search-name {
    font-size: 0.85rem;
    line-height: 1.2;
  }
  
  .search-brand {
    font-size: 0.75rem;
  }
  
  .search-price {
    font-size: 0.8rem;
  }

  .showcase {
    padding: 1rem;
  }

  .showcase-header {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* Info modal (envío y términos) */
.info-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.info-modal-content {
  background: #ffffff;
  color: #1f2937;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
  max-width: 900px;
  width: min(95vw, 900px);
  max-height: 90vh;
  overflow: auto;
  padding: 1.5rem;
}

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

.info-modal h2 {
  margin: 0;
  color: #194222;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4a5568;
}

.info-modal img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Category menu modal */
.category-modal-content {
  max-width: 760px;
}

.category-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.category-column h3 {
  margin: 0 0 0.75rem;
  color: #194222;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 60vh;
  overflow: auto;
  padding-right: 0.25rem;
}

.menu-item {
  border: 1px solid rgba(25, 66, 34, 0.2);
  background: #ffffff;
  color: #194222;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: #edbe50;
  color: #0f2f18;
  border-color: #194222;
}

@media (max-width: 768px) {
  .category-menu {
    grid-template-columns: 1fr;
  }
  .category-list {
    max-height: 40vh;
  }
}
