/* TABLET — max 1024px */
@media (max-width: 1024px) {
  .container { width: 100%; padding: 0 40px; }
  .productos-grid .producto-card { flex: 0 0 calc(33.33% - 14px); }
}

/* MOBILE — max 768px */
@media (max-width: 768px) {
  .container { width: 100%; padding: 0 20px; }

  /* Header */
  header { padding: 12px 0; }
  header.fixed, header.keep-fixed { background: var(--darkred); }
  a.logo img { width: 130px; }

  /* Hamburguesa */
  a.showmenu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 28px;
    top: 10px;
    right: 15px;
    z-index: 10;
  }
  a.hidemenu {
    display: none;
    position: fixed;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 32px;
    top: 10px;
    right: 15px;
    z-index: 10;
  }
  nav {
    display: none;
    position: fixed;
    left: 0; top: 0;
    background: rgba(60, 5, 9, 0.97);
    width: 100%;
    height: 100%;
    z-index: 9;
    overflow-y: auto;
    padding: 100px 0 60px;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none;
    width: 100%;
    gap: 10px;
  }
  nav ul li { float: none; margin-right: 0; }
  nav ul li a {
    float: none;
    font-size: 22px;
    padding: 14px 30px;
    display: block;
    text-align: center;
  }

  /* Hero */
  .hero-content { padding: 110px 15px 50px; }
  .hero-tagline { font-size: 22px; margin-bottom: 20px; }
  .btn-hero { font-size: 16px; padding: 14px 30px; }
  .hero-wave svg { height: 40px; }
  .wave-top svg { height: 25px; }

  /* Botón */
  .btn {
    padding: 14px 30px;
    font-size: 17px;
    border-radius: 25px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  /* Productos */
  .productos.container { padding: 25px 15px 30px !important; }
  .productos-header { margin-bottom: 30px; }
  .productos-header h2 { font-size: 30px; }
  .productos-grid { gap: 12px; }
  .productos-grid .producto-card { flex: 0 0 calc(50% - 6px); }
  .producto-card { padding: 0 12px 18px; }
  .producto-icon { font-size: 28px; }
  .producto-card h4 { font-size: 15px; }
  .producto-tag { font-size: 10px; padding: 2px 8px; }
  .producto-img img { height: 100px; }

  /* Sobre */
  .info-sobre-simple h2 { font-size: 28px; }
  .info-sobre-simple p { font-size: 16px; }
  .bg-lightred { padding: 40px 0; }
  .bg-yellow { padding: 45px 0; }

  /* Redes */
  .info-ig h2 { font-size: 24px; }
  .social-home { font-size: 34px; gap: 20px; }
  .social-home a { width: 50px; height: 50px; border-radius: 12px; }

  /* Contacto */
  .contact { padding: 50px 0; }
  .contact h2 { font-size: 28px; margin-bottom: 30px; }
  .contact-options { flex-direction: column; gap: 30px; display: flex; }
  .contact-info { float: none; width: 100%; }
  .contact-info p, .contact-info ul li { font-size: 16px; }
  .formarea { float: none; width: 100%; }
  form.contactform fieldset.half { width: 100%; }
  form.contactform fieldset { margin-bottom: 18px; }
  form.contactform fieldset input,
  form.contactform fieldset textarea {
    font-size: 16px;
    height: 48px;
    border-radius: 10px;
    background: #f5f5f5;
    padding: 0 15px;
  }
  form.contactform fieldset textarea { min-height: 130px; padding: 15px; }
  form.contactform button.btn {
    width: 100%;
    justify-content: center;
    font-size: 17px;
  }

  /* Mayorista */
  .mayorista-section { padding: 30px 15px; }
  .mayorista-section h2 { font-size: 28px; }
  .mayorista-contactos { gap: 12px; }
  .mayorista-item { padding: 14px 18px; font-size: 15px; width: 100%; justify-content: center; }

  /* Footer */
  footer { padding: 20px 15px; }
  footer .container { flex-direction: column; gap: 15px; }
  footer .copyright h3 { font-size: 15px; margin-bottom: 5px; }
  footer .social a { margin-left: 0; margin-right: 15px; font-size: 22px; }

  /* pt-head */
  .pt-head { padding-top: 70px; }
}

/* MOBILE PEQUEÑO — max 480px */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero-content { padding: 100px 12px 40px; }
  .hero-tagline { font-size: 20px; }
  .productos-header h2 { font-size: 26px; }
  .info-sobre-simple h2 { font-size: 24px; }
  .contact h2 { font-size: 24px; }
  .mayorista-section h2 { font-size: 24px; }
}
