/* ============================================================
   Casa Rosa – styles.css
   Floristería Valencia, Carabobo, Venezuela
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
  /* Paleta de colores */
  --pink-light:    #fce4ec;
  --pink:          #e8a0b4;
  --pink-mid:      #d9849a;
  --pink-dark:     #c0637d;
  --gold:          #c9a84c;
  --gold-light:    #e8d5a0;
  --gold-dark:     #a88530;
  --cream:         #fdf6f0;
  --cream-dark:    #f5e8df;
  --white:         #ffffff;
  --text:          #3a2020;
  --text-light:    #7a5a5a;
  --overlay:       rgba(58, 20, 30, 0.48);
  --whatsapp:      #25d366;
  --whatsapp-dark: #1da851;

  /* Tipografías */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container:    1200px;
  --nav-height:   72px;
  --card-radius:  14px;

  /* Espaciado */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;

  /* Sombras */
  --shadow-card:  0 4px 24px rgba(192, 99, 125, 0.10);
  --shadow-hover: 0 14px 44px rgba(192, 99, 125, 0.22);
  --shadow-modal: 0 28px 80px rgba(58, 20, 30, 0.38);

  /* Transiciones */
  --t-fast: 0.18s ease;
  --t-med:  0.32s ease;
}

/* ── 2. RESET / BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
  /* Previene scroll en iOS Safari */
  position: fixed;
  width: 100%;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: transparent; font-family: inherit; }

/* ── 3. TIPOGRAFÍA ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--sp-md); }
h3 { font-size: 1.1rem; }

em { font-style: italic; color: var(--pink-dark); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ── 4. UTILIDADES ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-md);
}

section { padding-block: var(--sp-xl); }

/* ── 5. BOTONES ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.45);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

/* ── 6. NAVEGACIÓN ──────────────────────────────────────────── */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background var(--t-med), box-shadow var(--t-med);
}

#site-header.scrolled {
  background: rgba(253, 246, 240, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(192, 99, 125, 0.12);
}

.nav-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-md);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

#site-header.scrolled .nav-logo img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.nav-links a {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 6px rgba(255,255,255,0.8);
  position: relative;
  transition: color var(--t-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}

.nav-links a:hover::after { transform: scaleX(1); }

#site-header.scrolled .nav-links a { color: var(--text); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-fast);
}

#site-header.scrolled .nav-toggle span { background: var(--text); }

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

/* ── 7. HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(253, 246, 240, 0.55) 0%,
    rgba(232, 160, 180, 0.45) 50%,
    rgba(192, 99, 125, 0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text);
  padding-inline: var(--sp-md);
  animation: fadeUp 0.9s ease both;
}

.hero-logo {
  width: min(300px, 72vw);
  margin-inline: auto;
  margin-bottom: var(--sp-md);
  filter: drop-shadow(0 4px 16px rgba(255,255,255,0.6));
}

.hero-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  margin-bottom: 0.5rem;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(255,255,255,0.7);
}

.hero-location {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-dark);
  font-weight: 700;
  margin-bottom: var(--sp-md);
}

/* ── 8. NOSOTROS ────────────────────────────────────────────── */
#nosotros { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: var(--sp-sm);
  font-size: 1.02rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--sp-md);
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.feature-icon {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Fotografía lado derecho */
.about-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-inline: auto;
  border-radius: 50% 30% 50% 30% / 30% 50% 30% 50%;
  box-shadow: 0 20px 60px rgba(192, 99, 125, 0.25);
  border: 4px solid var(--pink-light);
}

/* ── 9. CATÁLOGO ────────────────────────────────────────────── */
#catalogo {
  background: var(--white);
  text-align: center;
}

#catalogo .container { text-align: left; }
#catalogo h2 { text-align: center; }
#catalogo .section-label { display: block; text-align: center; }

/* Barra de filtros */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: var(--sp-md);
}

.filter-btn {
  padding: 0.45rem 1.3rem;
  border: 2px solid var(--pink);
  border-radius: 50px;
  background: transparent;
  color: var(--pink-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: all var(--t-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

.filter-btn.active {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
}

/* Grid de productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-light);
  padding: var(--sp-lg);
}

/* ── 10. TARJETAS DE PRODUCTO ───────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 168, 76, 0.14);
  transition: transform var(--t-med), box-shadow var(--t-med);
  animation: fadeUp 0.5s ease both;
  display: flex;
  flex-direction: column;
}

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

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--pink-light);
  flex-shrink: 0;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-med);
}

.product-card:hover .card-image { transform: scale(1.07); }

/* Fallback cuando la imagen no carga */
.card-image-wrapper.img-error::after {
  content: '✿';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--pink);
  background: var(--pink-light);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 20, 30, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-med);
}

.product-card:hover .card-overlay { opacity: 1; }

.btn-detail {
  background: var(--white);
  color: var(--text);
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast), color var(--t-fast);
}

.btn-detail:hover { background: var(--gold); color: var(--white); }

.card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.card-description {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: auto;
  padding-bottom: 0.9rem;
  /* Limitar a 2 líneas para altura uniforme */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
  padding-top: 0.85rem;
  gap: 0.5rem;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

/* ── 11. MODAL / LIGHTBOX ───────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.22s ease;
}

.modal-overlay[hidden] { display: none; }

.modal-container {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-modal);
  position: relative;
  animation: zoomIn 0.28s ease;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background var(--t-fast);
}

.modal-close:hover { background: var(--pink-dark); }

.modal-image-wrapper {
  overflow: hidden;
  min-height: 320px;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 2rem 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text);
}

.modal-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

#modal-price-area {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.modal-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.price-variant {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 2px solid var(--gold);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.btn-whatsapp.btn-large {
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  margin-top: auto;
  align-self: flex-start;
  gap: 0.6rem;
}

.btn-whatsapp.btn-large svg { width: 20px; height: 20px; }

/* ── 12. UBICACIÓN ──────────────────────────────────────────── */
#ubicacion {
  background: var(--white);
}

#ubicacion h2 { text-align: center; }
#ubicacion .section-label { display: block; text-align: center; }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
  align-items: stretch;
  min-height: 380px;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  justify-content: center;
}

.location-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.location-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.location-detail h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--pink-dark);
  margin-bottom: 0.3rem;
}

.location-detail p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.location-map {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(201, 168, 76, 0.18);
  min-height: 380px;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

/* ── 13. FAQ ────────────────────────────────────────────────── */
#faq {
  background: var(--cream);
}

#faq h2 { text-align: center; }
#faq .section-label { display: block; text-align: center; }

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  margin-top: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--card-radius);
  border: 1px solid rgba(201, 168, 76, 0.18);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast);
}

.faq-question:hover {
  background: var(--pink-light);
  color: var(--pink-dark);
}

.faq-item.open .faq-question {
  background: var(--pink-light);
  color: var(--pink-dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  transition: transform var(--t-med), background var(--t-fast), border-color var(--t-fast);
}

.faq-icon::before {
  content: '+';
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-dark);
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--pink-dark);
  border-color: var(--pink-dark);
}

.faq-item.open .faq-icon::before {
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.28s ease;
  padding: 0 1.4rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 1rem 1.4rem 1.25rem;
}

.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── 13. CONTACTO ───────────────────────────────────────────── */
#contacto {
  background: linear-gradient(145deg, var(--pink-light) 0%, var(--cream) 100%);
  text-align: center;
}

#contacto .section-label { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  text-align: left;
}

.contact-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--gold);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

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

.contact-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.6rem;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--pink-dark);
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-card a {
  color: var(--pink-dark);
  font-weight: 700;
  transition: color var(--t-fast);
}

.contact-card a:hover { color: var(--gold-dark); }

/* ── 13. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--cream-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding-block: 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.footer-logo {
  height: 52px;
  width: auto;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-dark);
}

.footer-admin-link {
  font-size: 0.7rem;
  color: var(--text-light);
  opacity: 0.4;
  margin-top: 0.25rem;
  transition: opacity var(--t-fast);
}
.footer-admin-link:hover { opacity: 1; }

/* ── 14. BOTÓN FLOTANTE WHATSAPP ────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: pulse 2.5s ease-in-out 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* ── 15. ANIMACIONES ────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* ── 16. MEDIA QUERIES ──────────────────────────────────────── */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet ≤ 900px */
@media (max-width: 900px) {
  .product-grid  { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; }
  .about-photo   { max-width: 300px; aspect-ratio: 1; }
  .location-grid { grid-template-columns: 1fr; }
  .modal-container { grid-template-columns: 1fr; }
  .modal-image-wrapper { min-height: 260px; max-height: 40vh; }
}

/* Mobile ≤ 680px */
@media (max-width: 680px) {
  section { padding-block: var(--sp-lg); }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(253, 246, 240, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(192, 99, 125, 0.14);
    transform: translateY(-110%);
    transition: transform var(--t-med);
    pointer-events: none;
  }

  .nav-links.nav-open {
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: var(--text);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  }

  .nav-links a::after { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile ≤ 540px */
@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; }

  .hero-logo { width: min(220px, 80vw); }

  .modal-body { padding: 1.4rem; }

  .modal-title { font-size: 1.3rem; }

  .whatsapp-float { bottom: 1.2rem; right: 1.2rem; width: 54px; height: 54px; }

  .container { padding-inline: var(--sp-sm); }
}

/* Muy pequeño ≤ 360px */
@media (max-width: 360px) {
  .filter-bar { gap: 0.4rem; }
  .filter-btn { padding: 0.38rem 0.9rem; font-size: 0.75rem; }
}
