/* ===== RESET & VARIABLES ===== */
body {
  zoom: 80%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-light: #475569;
  --border: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --radius: 16px;
  --radius-sm: 10px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
 
}

h2 {
  color: #1e293b
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== HEADER ===== */
.main-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.85);
}

.header-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
 
  align-items: center;
}

/* Logo - tamaño controlado */
.logo {
  flex-shrink: 0;
}

.logo img {
  height: 150px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  border-radius: 50%;
}

.search-bar {
  
  display: flex;
  max-width: 500px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 4px 4px 4px 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.search-bar:focus-within {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 12px 0;
  background: transparent;
}

.search-bar button {
  background: var(--primary);
  border: none;
  color: white;
  width: 48px;
  border-radius: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.search-bar button:hover {
  background: var(--primary-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.categories-dropdown {
  position: relative;
}

.categories-select {
  appearance: none;
  background: white;
  border: 1px solid var(--border);
  padding: 10px 36px 10px 18px;
  border-radius: 30px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.categories-select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cart-icon {
  position: relative;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}

.cart-icon:hover {
  color: var(--primary);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  border: 2px solid white;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.product-img {
  background: #eef2ff;
  height: 210px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 3.5rem;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 12px 0 16px;
}

.product-price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.btn-add {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 40px;
  padding: 14px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, transform 0.1s;
  margin-top: auto;
}

.btn-add:hover {
  background: var(--primary-dark);
}

.btn-add:active {
  transform: scale(0.98);
}

/* ===== CART DRAWER ===== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--surface);
  box-shadow: -10px 0 30px -15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: right 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.cart-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.close-drawer {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.2s;
}

.close-drawer:hover {
  color: var(--text);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 16px;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  background: #eef2ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-actions button {
  width: 30px;
  height: 30px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s;
}

.cart-item-actions button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.cart-item-actions span {
  min-width: 24px;
  text-align: center;
  font-weight: 500;
}

.cart-item-remove {
  color: #ef4444;
  margin-left: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.1s;
}

.cart-item-remove:hover {
  color: #b91c1c;
}

.cart-total {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin: 24px 0 16px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
}

.btn-checkout,
.btn-back,
.btn-submit-order {
  width: 100%;
  padding: 16px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 12px;
}

.btn-checkout {
  background: var(--primary);
  color: white;
}

.btn-checkout:hover {
  background: var(--primary-dark);
}

.btn-back {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  margin-top: 8px;
}

.btn-back:hover {
  background: #f1f5f9;
}

.btn-submit-order {
  background: #10b981;
  color: white;
}

.btn-submit-order:hover {
  background: #059669;
}

/* Formulario de checkout */
.checkout-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.order-summary {
  background: #f8fafc;
  border-radius: 20px;
  padding: 16px;
  margin: 20px 0;
  font-size: 0.95rem;
}

/* Empty state */
.empty-cart {
  text-align: center;
  color: var(--text-light);
  padding: 40px 20px;
}

.empty-cart i {
  font-size: 4rem;
  opacity: 0.3;
  margin-bottom: 16px;
}

/* ===== FOOTER (simple) ===== */
.main-footer {
  text-align: center;
  padding: 30px 0;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #2c94c7;
  font-size: 14px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 15px;
}

.badge.offer {
  background: #fef9c3;
  color: #854d0e;
}

.badge.last {
  background: #fee2e2;
  color: #b91c1c;
}

.qr_code {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.qr_code img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===== DARK MODE ===== */
body.dark {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #94a3b8;
  --bg: #0f172a;
  --surface: #1e293b;
  --text: #f1f5f9;
  --text-light: #cbd5e1;
  --border: #334155;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

body.dark .main-header {
  background-color: rgba(30, 41, 59, 0.85);
  border-bottom-color: var(--border);
}

body.dark .search-bar,
body.dark .categories-select,
body.dark .product-card,
body.dark .cart-drawer,
body.dark .product-modal-content {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

body.dark .search-bar input {
  color: var(--text);
}

body.dark .cart-item-actions button {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

body.dark .btn-back {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

body.dark .btn-back:hover {
  background: #2d3a4f;
}

body.dark .order-summary {
  background: #2d3a4f;
}

body.dark .modal-thumbnails {
  background: #2d3a4f;
  border-top-color: var(--border);
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
.dark-mode-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.dark-mode-toggle:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== PAGINACIÓN ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0 20px;
  grid-column: 1 / -1;
}

.pagination .page-btn,
.pagination .page-num {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 40px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination .page-btn:hover:not(:disabled),
.pagination .page-num:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination .page-num.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-weight: 600;
}

.pagination .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== MODAL (adaptado para dark mode) ===== */
.product-modal-content {
  background: var(--surface);
  color: var(--text);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
  z-index: 20;
  backdrop-filter: blur(4px);
  font-weight: 300;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.modal-image-container {
  position: relative;
  width: 100%;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.modal-main-image {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.modal-nav.prev {
  left: 20px;
}

.modal-nav.next {
  right: 20px;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.modal-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  z-index: 10;
  letter-spacing: 1px;
}

.modal-thumbnails {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  overflow-x: auto;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  scrollbar-width: thin;
}

body.dark .modal-thumbnails {
  background: #2d3a4f;
  border-top-color: var(--border);
}

.thumbnail {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail.active {
  border: 3px solid var(--primary);
}

.thumbnail:hover {
  transform: scale(1.05);
}

.modal-details {
  padding: 24px;
}

.modal-product-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.modal-product-category {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.modal-product-price {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 16px 0;
  color: var(--text);
}

.modal-badges {
  margin-bottom: 16px;
}

.product-description {
  color: var(--text-light);
  line-height: 1.6;
  margin: 16px 0;
}

.btn-add-modal {
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.2s;
  margin-top: 20px;
}

.btn-add-modal:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.modal-icon-placeholder {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: #94a3b8;
  background: #f1f5f9;
}

body.dark .modal-icon-placeholder {
  background: #2d3a4f;
  color: #64748b;
}

/* ===== CARRITO (ajustes dark) ===== */
body.dark .cart-item-remove {
  color: #f87171;
}

body.dark .cart-item-remove:hover {
  color: #ef4444;
}

body.dark .price-to-confirm {
  color: #f87171;
}
/* ===== RESPONSIVE PAGINACIÓN (ya existente) ===== */
@media (max-width: 600px) {
  .pagination {
    flex-wrap: wrap;
  }

  .pagination .page-btn,
  .pagination .page-num {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* ===== MEDIA QUERIES PARA TABLETS Y MÓVILES ===== */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    
  }

  .logo {
    text-align: center;
  }

  .logo img {
    height: 100px;
    max-width: 100px;
  }

  .search-bar {
    max-width: 100%;
    width: 100%;
  }

  .header-actions {
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .categories-select {
    font-size: 0.85rem;
    padding: 8px 30px 8px 12px;
    background-size: 14px;
  }

  .dark-mode-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .cart-icon {
    font-size: 1.5rem;
  }

  .product-grid {
    gap: 16px;
    margin: 20px 0;
  }

  .product-card {
    padding: 16px;
  }

  .product-img {
    height: 180px;
    font-size: 3rem;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.2rem;
  }

  .btn-add {
    padding: 12px 0;
    font-size: 0.9rem;
  }

  .badge {
    font-size: 0.9rem;
    padding: 3px 8px;
    margin-bottom: 10px;
  }

  .qr_code img {
    width: 120px;
    height: 120px;
  }
  body {
    zoom: 80%;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    align-items: stretch;
    
  }

  .logo img {
    height: 80px;
    max-width: 80px;
  }

  .search-bar input {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .search-bar button {
    width: 40px;
    font-size: 1rem;
  }

  .header-actions {
    gap: 10px;
  }

  .categories-select {
    font-size: 0.75rem;
    padding: 6px 26px 6px 10px;
  }

  .dark-mode-toggle {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .cart-icon {
    font-size: 1.3rem;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr; /* 2 columnas en móviles */
    gap: 10px;
  }

  .product-card {
    padding: 10px;
  }

  .product-img {
    height: 150px;
    font-size: 2.5rem;
  }

  .product-title {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .product-price {
    font-size: 1rem;
    word-break: break-word;
  }

  .btn-add {
    font-size: 0.8rem;
    padding: 10px 0;
  }

  .badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    margin-right: 4px;
    margin-bottom: 8px;
  }

  /* Carrito */
  .cart-drawer {
    max-width: 100%;
  }

  .drawer-header h2 {
    font-size: 1.2rem;
  }

  .cart-item {
    gap: 10px;
  }

  .cart-item-img {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .cart-item-title {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .cart-item-price {
    font-size: 0.9rem;
  }

  .cart-item-actions button {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  .cart-total {
    font-size: 1.2rem;
  }

  .btn-checkout, .btn-back, .btn-submit-order {
    padding: 14px;
    font-size: 1rem;
  }

  /* Modal */
  .product-modal-content {
    max-width: 100%;
    border-radius: 16px;
  }

  .modal-image-container {
    min-height: 300px;
  }

  .modal-main-image {
    max-height: 350px;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modal-counter {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  .modal-thumbnails {
    padding: 12px;
    gap: 8px;
  }

  .thumbnail {
    width: 50px;
    height: 50px;
  }

  .modal-details {
    padding: 16px;
  }

  .modal-product-title {
    font-size: 1.5rem;
    word-break: break-word;
  }

  .modal-product-category {
    font-size: 0.9rem;
  }

  .modal-product-price {
    font-size: 1.5rem;
    word-break: break-word;
  }

  .btn-add-modal {
    padding: 14px;
    font-size: 1rem;
  }

  .modal-icon-placeholder {
    height: 300px;
    font-size: 5rem;
  }

  /* Footer */
  .footer-title {
    font-size: 1rem;
  }

  .qr_code img {
    width: 100px;
    height: 100px;
  }

  .copyright {
    font-size: 12px;
  }
    body {
    zoom: 100%;
  }
}


/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #20ba5c;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 30px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 28px;
    bottom: 65px;
    right: 15px;
  }
}

/* Botón Ver más / Ver menos en el modal */
.toggle-description-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
  font-size: 0.95rem;
  display: inline-block;
  transition: color 0.2s;
}

.toggle-description-btn:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

body.dark .toggle-description-btn {
  color: #60a5fa;
}

body.dark .toggle-description-btn:hover {
  color: #3b82f6;
}