/* =========================================================
   CONFIGURACIÓN GENERAL
========================================================= */

:root {
  --color-background: #050705;
  --color-background-soft: #0b0f0c;
  --color-surface: #111713;
  --color-surface-light: #172019;
  --color-primary: #39ff5a;
  --color-primary-dark: #00a83e;
  --color-primary-soft: rgba(57, 255, 90, 0.12);
  --color-white: #ffffff;
  --color-text: #f3f7f4;
  --color-muted: #a8b2aa;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-danger: #ff6175;
  --color-whatsapp: #25d366;
  --shadow-small: 0 10px 25px rgba(0, 0, 0, 0.25);
  --shadow-large: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-green: 0 14px 35px rgba(57, 255, 90, 0.18);
  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;
  --container-width: 1180px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 15% 5%,
      rgba(57, 255, 90, 0.08),
      transparent 30%
    ),
    var(--color-background);
  color: var(--color-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
}

.container {
  width: min(var(--container-width), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.menu-button:focus-visible,
.filter-button:focus-visible,
.product-details-button:focus-visible,
.modal-close:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(57, 255, 90, 0.42);
  outline-offset: 3px;
}

.button-primary {
  background: var(--color-primary);
  color: #031006;
  box-shadow: var(--shadow-green);
}

.button-primary:hover {
  background: #61ff78;
}

.button-secondary {
  border-color: rgba(57, 255, 90, 0.55);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.button-secondary:hover {
  border-color: var(--color-primary);
  background: rgba(57, 255, 90, 0.2);
}

.button-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
}

.button-whatsapp:hover {
  background: #1dbd59;
}

/* =========================================================
   ENCABEZADO
========================================================= */

.site-header {
  width: 100%;
  min-height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(5, 15, 22, 0.98),
    rgba(8, 39, 45, 0.98)
  );
  border-bottom: 1px solid rgba(57, 255, 90, 0.45);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(0, 225, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 54px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-name {
  color: #39ff5a;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: 0 0 10px rgba(57, 255, 90, 0.35);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-navigation a {
  position: relative;
  color: #ffffff !important;
  font-size: 0.94rem;
  font-weight: 700;
  opacity: 1;
  transition: color 0.2s ease;
}

.main-navigation a::after {
  content: "";
  width: 0;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -8px;
  background: #39ff5a;
  box-shadow: 0 0 8px rgba(57, 255, 90, 0.55);
  transition: width 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: #39ff5a !important;
}

.main-navigation a:hover::after {
  width: 100%;
}

.header-whatsapp {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.88rem;
  background: #25d366;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}

.header-whatsapp:hover {
  background: #39e879;
  color: #031008 !important;
}

.menu-button {
  width: 46px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  border: 1px solid rgba(57, 255, 90, 0.45);
  border-radius: var(--radius-small);
  background: #102a30;
  cursor: pointer;
}

.menu-button span {
  width: 21px;
  height: 2px;
  border-radius: 20px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
  opacity: 0;
}

.menu-button.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   PORTADA
========================================================= */

.hero {
  min-height: calc(100vh - var(--header-height));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0;
  border-bottom: 1px solid var(--color-border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(57, 255, 90, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 90, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-decoration-one {
  width: 340px;
  height: 340px;
  top: -120px;
  right: 5%;
  background: rgba(57, 255, 90, 0.13);
}

.hero-decoration-two {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -100px;
  background: rgba(0, 168, 62, 0.12);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 70px;
}

.hero-content h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--color-white);
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-content h1 span {
  display: block;
  color: var(--color-primary);
}

.hero-slogan {
  margin-bottom: 17px;
  color: var(--color-white);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
}

.hero-description {
  max-width: 650px;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-information {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 27px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero-information span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrapper {
  width: min(440px, 100%);
  min-height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 90, 0.22);
  border-radius: 38px;
  background:
    linear-gradient(
      145deg,
      rgba(57, 255, 90, 0.08),
      rgba(255, 255, 255, 0.015)
    );
  box-shadow: var(--shadow-large);
  transform: rotate(2deg);
}

.hero-logo-wrapper::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 29px;
}

.hero-glow {
  width: 210px;
  height: 210px;
  position: absolute;
  border-radius: 50%;
  background: rgba(57, 255, 90, 0.26);
  filter: blur(65px);
}

.hero-logo {
  width: min(200px, 80%);
  height: auto;
  position: relative;
  z-index: 2;
  object-fit: contain;
  border-radius: 16px;
}

/* =========================================================
   BENEFICIOS
========================================================= */

.benefits-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--color-border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.benefit-card:hover {
  border-color: rgba(57, 255, 90, 0.3);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.benefit-card h2 {
  margin-bottom: 5px;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 800;
}

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

/* =========================================================
   CATÁLOGO
========================================================= */

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
}

.section-heading.centered-heading {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading > p {
  max-width: 480px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.search-wrapper {
  flex: 1 1 300px;
}

.search-wrapper label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
  transition: border-color 0.2s ease;
}

.search-input-wrapper:focus-within {
  border-color: var(--color-primary);
}

.search-input-wrapper span {
  color: var(--color-muted);
  font-size: 1.1rem;
}

.search-input-wrapper input {
  width: 100%;
  min-height: 48px;
  border: none;
  background: transparent;
  color: var(--color-white);
  font-size: 0.95rem;
  outline: none;
}

.search-input-wrapper input::placeholder {
  color: var(--color-muted);
  opacity: 0.6;
}

.filter-wrapper {
  flex: 0 1 auto;
}

.filter-wrapper p {
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: transparent;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-button:hover {
  border-color: rgba(57, 255, 90, 0.4);
  color: var(--color-white);
}

.filter-button.active {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.catalog-status {
  margin-bottom: 20px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Tarjeta de producto */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: rgba(57, 255, 90, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.product-card:focus-visible {
  outline: 3px solid rgba(57, 255, 90, 0.42);
  outline-offset: 3px;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--color-primary);
  color: #031006;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  flex: 1;
}

.product-category {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-name {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-availability {
  font-size: 0.82rem;
  font-weight: 700;
}

.product-availability.available {
  color: var(--color-primary);
}

.product-availability.unavailable {
  color: var(--color-danger);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.product-price {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 900;
}

.product-details-button {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.product-details-button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

/* Estado vacío */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 20px;
  text-align: center;
}

.empty-state > div {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 1.5rem;
}

.empty-state h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 800;
}

.empty-state p {
  max-width: 400px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Fallback de imagen */
.image-not-available {
  opacity: 0.3;
  min-height: 100px;
}

.image-fallback-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.image-fallback-message strong {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 900;
}

/* =========================================================
   SOBRE ALME
========================================================= */

.about-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.about-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-wrapper img {
  width: min(320px, 100%);
  height: auto;
  border-radius: var(--radius-large);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-large);
}

.about-content h2 {
  margin-bottom: 20px;
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.about-content p {
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 1rem;
}

.about-content .button {
  margin-top: 8px;
}

/* =========================================================
   ENVÍOS Y PAGOS
========================================================= */

.shipping-section {
  border-bottom: 1px solid var(--color-border);
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.information-card {
  padding: 28px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.information-card:hover {
  border-color: rgba(57, 255, 90, 0.25);
  transform: translateY(-3px);
}

.information-number {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 1.8rem;
  font-weight: 900;
  opacity: 0.5;
  line-height: 1;
}

.information-card h3 {
  margin-bottom: 10px;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 800;
}

.information-card p {
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* =========================================================
   CONTACTO
========================================================= */

.contact-section {
  border-bottom: 1px solid var(--color-border);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-content h2 {
  margin-bottom: 16px;
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.contact-content p {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}

.contact-hours {
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
  color: var(--color-white) !important;
  font-weight: 700;
  font-size: 0.95rem !important;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(57, 255, 90, 0.3);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 900;
}

.contact-card strong {
  display: block;
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-card small {
  color: var(--color-muted);
  font-size: 0.82rem;
}

/* =========================================================
   PIE DE PÁGINA
========================================================= */

.site-footer {
  padding: 35px 0;
  border-top: 1px solid rgba(57, 255, 90, 0.25);
  background: #050b08;
  color: #ffffff;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 72px !important;
  height: 52px !important;
  max-width: 72px !important;
  object-fit: contain;
  border-radius: 7px;
}

.footer-brand strong {
  color: #39ff5a;
  font-size: 1.15rem;
  font-weight: 900;
}

.footer-brand p {
  margin: 3px 0 0;
  color: #bdc8c0;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #39ff5a;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aeb9b1;
  font-size: 0.82rem;
  text-align: center;
}

/* =========================================================
   MODAL
========================================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.product-modal {
  width: min(920px, 100%);
  max-height: 90vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  position: relative;
  overflow-y: auto;
  border: 1px solid rgba(57, 255, 90, 0.32);
  border-radius: 24px;
  background: #101713;
  color: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.open .product-modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.modal-image-wrapper .product-badge {
  top: 14px;
  left: 14px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  padding: 36px;
}

.modal-information {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-category {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stock-status {
  font-size: 0.82rem;
  font-weight: 700;
}

.stock-status.available {
  color: var(--color-primary);
}

.stock-status.unavailable {
  color: var(--color-danger);
}

.modal-content h2 {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  line-height: 1.15;
}

.modal-description {
  display: block !important;
  margin: 16px 0 22px;
  color: #d8e2da !important;
  font-size: 1rem !important;
  line-height: 1.7;
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
}

.modal-price {
  margin-bottom: 22px;
  color: #39ff5a;
  font-size: 1.75rem;
  font-weight: 900;
}

.modal-whatsapp {
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  font-size: 1rem;
}

.modal-whatsapp.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border-radius: 100px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover .whatsapp-icon {
  transform: scale(1.08);
}

/* =========================================================
   MENSAJE SIN JAVASCRIPT
========================================================= */

.noscript-message {
  padding: 16px;
  background: #2d1b1b;
  color: #ff6175;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

/* =========================================================
   BOTÓN EXPLORAR CATÁLOGO
========================================================= */

.about-catalog-button {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  background: #39ff5a;
  color: #031006 !important;
  opacity: 1;
  visibility: visible;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(57, 255, 90, 0.2);
}

.about-catalog-button:hover {
  background: #68ff7f;
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Tableta */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-wrapper {
    width: min(300px, 80%);
    min-height: 250px;
    margin-inline: auto;
    transform: rotate(0deg);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shipping-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-logo-wrapper {
    order: -1;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Celular */
@media (max-width: 900px) {
  .menu-button {
    display: flex;
  }

  .main-navigation {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    background: #081b21;
    border: 1px solid rgba(57, 255, 90, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .main-navigation.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-navigation a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .main-navigation a:last-child {
    border-bottom: none;
  }

  .main-navigation a::after {
    display: none;
  }

  .header-whatsapp {
    display: none;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

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

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

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

  .section {
    padding: 60px 0;
  }

  .floating-whatsapp strong {
    display: none;
  }

  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
  }
}

@media (max-width: 760px) {
  .modal-backdrop {
    align-items: flex-start;
    padding: 15px;
    overflow-y: auto;
  }

  .product-modal {
    grid-template-columns: 1fr;
    max-height: none;
    margin: 20px 0;
  }

  .modal-content {
    padding: 25px 20px 28px;
  }
}

@media (max-width: 700px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }
}

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

  .hero-logo-wrapper {
    width: min(240px, 90%);
    min-height: 200px;
  }

  .product-modal {
    border-radius: var(--radius-medium);
  }

  .modal-content {
    padding: 20px;
  }
}