/* ==========================================================================
   FelMex Distributors — Design System & Theme Styles
   Replicado fielmente desde Figma (Desktop 1440px & Mobile 375px)
   ========================================================================== */

:root {
  --felmex-green-dark: #296b33;
  --felmex-green-deep: #173d1f;
  --felmex-green-light: #73a640;
  --felmex-red: #d94d3d;
  --felmex-gold: #e8ad3d;
  --felmex-cream: #f9f9f6;
  --felmex-input-bg: #f5f5f2;
  --felmex-input-border: #d9d9d6;
  --felmex-border: #e6e6e6;
  --felmex-divider: #e0e0de;
  --felmex-text: #333338;
  --felmex-muted: #8c8c91;
  --felmex-white: #ffffff;
  --felmex-sand: #d4d1c9;

  --felmex-font-display: 'Anton', Impact, sans-serif;
  --felmex-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --felmex-container: 1320px;
  --felmex-gutter: 60px;
  --felmex-radius-card: 16px;
  --felmex-radius-sm: 14px;
  --felmex-radius-img: 10px;
  --felmex-radius-input: 8px;
  --felmex-radius-pill: 9999px;
  --felmex-transition: 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--felmex-cream);
  color: var(--felmex-text);
  font-family: var(--felmex-font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--felmex-transition), opacity var(--felmex-transition), background-color var(--felmex-transition), border-color var(--felmex-transition), transform var(--felmex-transition);
}

/* Container matching 1440px canvas with 60px side margins -> 1320px inner */
.felmex-container {
  width: 100%;
  max-width: calc(var(--felmex-container) + 120px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
  padding-right: 60px;
}

.felmex-container-narrow {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
  padding-right: 60px;
}

/* Typography helpers */
.felmex-display {
  font-family: var(--felmex-font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

/* Buttons */
.felmex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 26px;
  font-family: var(--felmex-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.felmex-btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.felmex-btn-white {
  background-color: var(--felmex-white);
  color: var(--felmex-green-dark);
}

.felmex-btn-white-red {
  background-color: var(--felmex-white);
  color: var(--felmex-red);
}

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

.felmex-btn-green-light {
  background-color: var(--felmex-green-light);
  color: var(--felmex-white);
}

.felmex-btn-green-dark {
  background-color: var(--felmex-green-dark);
  color: var(--felmex-white);
}

.felmex-btn-red {
  background-color: var(--felmex-red);
  color: var(--felmex-white);
}

.felmex-btn-outline-green {
  background-color: var(--felmex-white);
  color: var(--felmex-green-dark);
  border-color: var(--felmex-green-dark);
}

.felmex-btn-outline-green:hover {
  background-color: var(--felmex-green-dark);
  color: var(--felmex-white);
}

.felmex-btn-sm {
  height: 44px;
  border-radius: 22px;
  padding: 0 24px;
}

.felmex-btn-block {
  width: 100%;
  height: 54px;
  border-radius: 27px;
}

/* ==========================================================================
   Header / Desktop (96px) & Mobile (72px)
   ========================================================================== */
.felmex-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--felmex-white);
  border-bottom: 1px solid var(--felmex-muted);
}

.felmex-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px;
  gap: 24px;
}

/* Brand Mark */
.felmex-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  flex-shrink: 0;
}

.felmex-brand-wordmark {
  font-family: var(--felmex-font-display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.felmex-brand-fel {
  color: var(--felmex-green-dark);
}

.felmex-brand-mex {
  color: var(--felmex-red);
}

.felmex-brand-pill {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 20px;
  border-radius: 10px;
  background-color: var(--felmex-green-light);
  color: var(--felmex-white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.felmex-header-right {
  display: flex;
  align-items: center;
  gap: 44px;
}

.felmex-nav {
  display: flex;
  align-items: center;
}

.felmex-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
}

.felmex-nav-list li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--felmex-text);
  padding: 6px 0;
  position: relative;
}

.felmex-nav-list li a:hover,
.felmex-nav-list li.current-menu-item a,
.felmex-nav-list li.current_page_item a {
  color: var(--felmex-green-dark);
}

.felmex-nav-list li.current-menu-item a::after,
.felmex-nav-list li.current_page_item a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--felmex-green-light);
  border-radius: 2px;
}

.felmex-header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.felmex-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--felmex-green-dark);
}

.felmex-lang-switcher a {
  color: var(--felmex-green-dark);
  opacity: 0.65;
}

.felmex-lang-switcher a.is-active,
.felmex-lang-switcher a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.felmex-lang-sep {
  opacity: 0.5;
}

.felmex-header-cta {
  width: 130px;
  height: 44px;
  border-radius: 22px;
  background-color: var(--felmex-green-light);
  color: var(--felmex-white);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.felmex-header-cta:hover {
  background-color: var(--felmex-green-dark);
}

/* Mobile burger */
.felmex-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.felmex-burger span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--felmex-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.felmex-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.felmex-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.felmex-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.felmex-mobile-drawer {
  display: none;
  background-color: var(--felmex-white);
  border-top: 1px solid var(--felmex-border);
  padding: 20px;
}

.felmex-mobile-drawer.is-open {
  display: block;
}

.felmex-mobile-nav-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.felmex-mobile-nav-list li a {
  display: block;
  padding: 12px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--felmex-text);
  border-bottom: 1px solid var(--felmex-border);
}

.felmex-mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   Hero — Home (Desktop 640px)
   ========================================================================== */
.felmex-hero {
  position: relative;
  min-height: 640px;
  background-color: var(--felmex-sand);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.felmex-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 61, 31, 0.94) 0%, rgba(41, 107, 51, 0.45) 100%);
  z-index: 1;
}

.felmex-hero::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -120px;
  width: 700px;
  height: 640px;
  background-color: var(--felmex-gold);
  opacity: 0.12;
  transform: rotate(8deg);
  z-index: 1;
  pointer-events: none;
}

.felmex-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 580px;
  align-items: center;
  gap: 48px;
}

.felmex-hero-title {
  margin: 0 0 24px;
  font-family: var(--felmex-font-display);
  font-size: 54px;
  line-height: 60px;
  color: var(--felmex-white);
  max-width: 640px;
}

.felmex-hero-subtitle {
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 27px;
  color: var(--felmex-white);
  max-width: 520px;
}

.felmex-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.felmex-hero-actions .felmex-btn {
  min-width: 190px;
}

.felmex-hero-media {
  width: 100%;
  height: 460px;
  border-radius: var(--felmex-radius-img);
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.felmex-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Subpage Hero Banner (Nosotros, Productos, Cotizador, Contacto, Privacidad)
   ========================================================================== */
.felmex-page-banner {
  position: relative;
  min-height: 220px;
  background-color: var(--felmex-sand);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 48px 0;
  overflow: hidden;
}

.felmex-page-banner--tall {
  min-height: 240px;
}

.felmex-page-banner--compact {
  min-height: 200px;
}

.felmex-page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 61, 31, 0.94) 0%, rgba(41, 107, 51, 0.45) 100%);
  z-index: 1;
}

.felmex-page-banner-inner {
  position: relative;
  z-index: 2;
}

.felmex-page-banner-title {
  margin: 0 0 12px;
  font-family: var(--felmex-font-display);
  font-size: 48px;
  line-height: 1.1;
  color: var(--felmex-white);
}

.felmex-page-banner-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--felmex-white);
  max-width: 800px;
}

/* ==========================================================================
   Home Sections: Lo que distribuimos, Sobre FelMex, Nuestros Valores, CTA Banner
   ========================================================================== */
.felmex-section {
  padding: 72px 0;
}

.felmex-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.felmex-section-title {
  margin: 0 0 12px;
  font-family: var(--felmex-font-display);
  font-size: 34px;
  line-height: 1.18;
  color: var(--felmex-text);
}

.felmex-section-subtitle {
  margin: 0 auto;
  font-size: 15px;
  color: var(--felmex-muted);
  max-width: 720px;
}

/* 3-col Distribuimos Grid */
.felmex-dist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.felmex-dist-card {
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-border);
  border-radius: var(--felmex-radius-card);
  padding: 32px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  transition: transform var(--felmex-transition), box-shadow var(--felmex-transition);
}

.felmex-dist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(41, 107, 51, 0.08);
}

.felmex-dist-icon {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--felmex-cream);
}

.felmex-dist-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.felmex-dist-card-title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  color: var(--felmex-text);
}

.felmex-dist-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--felmex-muted);
}

/* Sobre FelMex Split */
.felmex-about-split {
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.felmex-about-media {
  height: 380px;
  border-radius: var(--felmex-radius-img);
  overflow: hidden;
  border: 1px dashed var(--felmex-muted);
}

.felmex-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.felmex-about-title {
  margin: 0 0 18px;
  font-family: var(--felmex-font-display);
  font-size: 32px;
  line-height: 1.2;
  color: var(--felmex-green-dark);
}

.felmex-about-text {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 26px;
  color: var(--felmex-text);
}

.felmex-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--felmex-green-dark);
}

.felmex-link-arrow:hover {
  color: var(--felmex-green-light);
}

/* Valores 5-col Strip (Home) */
.felmex-values-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.felmex-value-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.felmex-value-dot {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background-color: var(--felmex-red);
  margin-bottom: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--felmex-white);
}

.felmex-value-item-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  color: var(--felmex-text);
}

.felmex-value-item-desc {
  margin: 0;
  font-size: 12px;
  line-height: 17px;
  color: var(--felmex-muted);
}

/* Red CTA Banner */
.felmex-cta-banner {
  background-color: var(--felmex-red);
  padding: 64px 0;
  text-align: center;
}

.felmex-cta-banner-title {
  margin: 0 0 28px;
  font-family: var(--felmex-font-display);
  font-size: 32px;
  line-height: 1.2;
  color: var(--felmex-white);
}

.felmex-cta-banner .felmex-btn {
  min-width: 220px;
}

/* ==========================================================================
   Nosotros Page
   ========================================================================== */
.felmex-quienes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  gap: 80px;
  align-items: center;
}

.felmex-quienes-title {
  margin: 0 0 20px;
  font-family: var(--felmex-font-display);
  font-size: 32px;
  color: var(--felmex-text);
}

.felmex-quienes-text {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--felmex-text);
}

.felmex-quienes-media {
  height: 340px;
  border-radius: var(--felmex-radius-img);
  overflow: hidden;
  border: 1px dashed var(--felmex-muted);
}

.felmex-quienes-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.felmex-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}

.felmex-mv-card {
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-border);
  border-radius: var(--felmex-radius-card);
  padding: 32px;
  min-height: 260px;
}

.felmex-mv-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.felmex-mv-bar {
  width: 10px;
  height: 60px;
  border-radius: 5px;
  flex-shrink: 0;
}

.felmex-mv-bar--red {
  background-color: var(--felmex-red);
}

.felmex-mv-bar--green {
  background-color: var(--felmex-green-dark);
}

.felmex-mv-title {
  margin: 0;
  font-family: var(--felmex-font-display);
  font-size: 26px;
}

.felmex-mv-title--red {
  color: var(--felmex-red);
}

.felmex-mv-title--green {
  color: var(--felmex-green-dark);
}

.felmex-mv-text {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--felmex-text);
}

.felmex-values-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.felmex-value-card {
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-border);
  border-radius: var(--felmex-radius-sm);
  padding: 28px;
  min-height: 220px;
}

.felmex-value-card-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
  color: var(--felmex-text);
}

.felmex-value-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--felmex-muted);
}

/* ==========================================================================
   Productos Catalog Grid (3 columns matching Figma 1:6)
   ========================================================================== */
.felmex-catalog-section {
  padding: 72px 0;
}

.felmex-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.felmex-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 20px;
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--felmex-text);
  cursor: pointer;
}

.felmex-filter-pill.is-active,
.felmex-filter-pill:hover {
  background-color: var(--felmex-green-dark);
  border-color: var(--felmex-green-dark);
  color: var(--felmex-white);
}

.felmex-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.felmex-product-card {
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-border);
  border-radius: var(--felmex-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--felmex-transition), box-shadow var(--felmex-transition);
}

.felmex-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(41, 107, 51, 0.1);
}

.felmex-product-thumb {
  height: 220px;
  background-color: var(--felmex-white);
  border-bottom: 1px dashed var(--felmex-muted);
  border-radius: var(--felmex-radius-card) var(--felmex-radius-card) 0 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.felmex-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.felmex-product-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.felmex-product-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
  color: var(--felmex-text);
}

.felmex-product-excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--felmex-muted);
}

.felmex-product-store-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--felmex-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.felmex-product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--felmex-green-dark);
}

/* ==========================================================================
   Producto Detalle (Single Product matching Figma 14:287)
   ========================================================================== */
.felmex-breadcrumb {
  padding: 34px 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--felmex-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.felmex-breadcrumb a:hover {
  color: var(--felmex-green-dark);
}

.felmex-product-detail-top {
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  padding-bottom: 64px;
}

.felmex-gallery-main {
  height: 560px;
  background-color: var(--felmex-white);
  border: 1px dashed var(--felmex-muted);
  border-radius: var(--felmex-radius-card);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.felmex-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.felmex-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 132px);
  gap: 20px;
}

.felmex-gallery-thumb-btn {
  height: 100px;
  padding: 6px;
  background-color: var(--felmex-white);
  border: 1px dashed var(--felmex-muted);
  border-radius: var(--felmex-radius-img);
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--felmex-transition), transform var(--felmex-transition);
}

.felmex-gallery-thumb-btn.is-active,
.felmex-gallery-thumb-btn:hover {
  border-style: solid;
  border-color: var(--felmex-green-dark);
  border-width: 2px;
}

.felmex-gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.felmex-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 28px;
  padding: 0 18px;
  border-radius: 14px;
  background-color: var(--felmex-green-light);
  color: var(--felmex-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.felmex-detail-title {
  margin: 0 0 22px;
  font-family: var(--felmex-font-display);
  font-size: 42px;
  line-height: 48px;
  color: var(--felmex-text);
}

.felmex-detail-summary {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 24px;
  color: var(--felmex-text);
}

.felmex-bullets {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.felmex-bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 20px;
  color: var(--felmex-text);
}

.felmex-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background-color: var(--felmex-green-light);
}

.felmex-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.felmex-detail-actions .felmex-btn {
  min-width: 260px;
  height: 54px;
  border-radius: 27px;
}

.felmex-detail-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 60px;
  padding: 20px 0 64px;
}

.felmex-detail-heading {
  margin: 0 0 18px;
  font-family: var(--felmex-font-display);
  font-size: 28px;
  color: var(--felmex-text);
}

.felmex-detail-body {
  font-size: 15px;
  line-height: 24px;
  color: var(--felmex-text);
}

.felmex-specs-heading {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--felmex-text);
}

.felmex-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.felmex-specs-table tr {
  border-bottom: 1px solid var(--felmex-divider);
}

.felmex-specs-table th,
.felmex-specs-table td {
  padding: 12px 0;
  font-size: 13px;
}

.felmex-specs-table th {
  text-align: left;
  font-weight: 500;
  color: var(--felmex-muted);
}

.felmex-specs-table td {
  text-align: right;
  font-weight: 700;
  color: var(--felmex-text);
}

.felmex-related-section {
  padding: 16px 0 80px;
}

.felmex-related-title {
  margin: 0 0 36px;
  font-family: var(--felmex-font-display);
  font-size: 30px;
  text-align: center;
  color: var(--felmex-text);
}

/* ==========================================================================
   Cotizador & Contacto Forms (Native + WPForms Pixel Match)
   ========================================================================== */
.felmex-cotizador-grid {
  display: grid;
  grid-template-columns: 800px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.felmex-form-card {
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-border);
  border-radius: var(--felmex-radius-card);
  padding: 36px 40px 44px;
}

.felmex-form-card-title {
  margin: 0 0 28px;
  font-family: var(--felmex-font-display);
  font-size: 22px;
  color: var(--felmex-text);
}

.felmex-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.felmex-field {
  margin-bottom: 18px;
}

.felmex-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--felmex-muted);
}

.felmex-field input[type="text"],
.felmex-field input[type="email"],
.felmex-field input[type="tel"],
.felmex-field input[type="number"],
.felmex-field select,
.felmex-field textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background-color: var(--felmex-input-bg);
  border: 1px solid var(--felmex-input-border);
  border-radius: var(--felmex-radius-input);
  font-family: var(--felmex-font-body);
  font-size: 13px;
  color: var(--felmex-text);
  outline: none;
  transition: border-color var(--felmex-transition), background-color var(--felmex-transition);
}

.felmex-field textarea {
  height: 130px;
  padding: 12px 14px;
  resize: vertical;
}

.felmex-field input:focus,
.felmex-field select:focus,
.felmex-field textarea:focus {
  border-color: var(--felmex-green-dark);
  background-color: var(--felmex-white);
}

/* WPForms Overrides to match Figma 100% */
.felmex-wpform-wrap .wpforms-container {
  margin: 0 !important;
}

.felmex-wpform-wrap .wpforms-field-label {
  font-family: var(--felmex-font-body) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--felmex-muted) !important;
  margin-bottom: 6px !important;
}

.felmex-wpform-wrap input[type="text"],
.felmex-wpform-wrap input[type="email"],
.felmex-wpform-wrap input[type="tel"],
.felmex-wpform-wrap input[type="number"],
.felmex-wpform-wrap select,
.felmex-wpform-wrap textarea {
  width: 100% !important;
  max-width: 100% !important;
  height: 44px !important;
  padding: 0 14px !important;
  background-color: var(--felmex-input-bg) !important;
  border: 1px solid var(--felmex-input-border) !important;
  border-radius: var(--felmex-radius-input) !important;
  font-family: var(--felmex-font-body) !important;
  font-size: 13px !important;
  color: var(--felmex-text) !important;
  box-shadow: none !important;
}

.felmex-wpform-wrap textarea {
  height: 120px !important;
  padding: 12px 14px !important;
}

.felmex-wpform-wrap--red .wpforms-submit-container button[type="submit"],
.felmex-wpform-wrap--red .wpforms-submit {
  width: 100% !important;
  height: 54px !important;
  border-radius: 27px !important;
  background-color: var(--felmex-red) !important;
  color: var(--felmex-white) !important;
  font-family: var(--felmex-font-body) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
}

.felmex-wpform-wrap--green .wpforms-submit-container button[type="submit"],
.felmex-wpform-wrap--green .wpforms-submit {
  width: 100% !important;
  height: 52px !important;
  border-radius: 26px !important;
  background-color: var(--felmex-green-dark) !important;
  color: var(--felmex-white) !important;
  font-family: var(--felmex-font-body) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
}

.felmex-form-feedback {
  padding: 14px 16px;
  border-radius: var(--felmex-radius-input);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.felmex-form-feedback--success {
  background-color: #ebf6ed;
  border: 1px solid var(--felmex-green-light);
  color: var(--felmex-green-dark);
}

.felmex-form-feedback--error {
  background-color: #fdecea;
  border: 1px solid var(--felmex-red);
  color: #a12c20;
}

/* Cotizador Sidebar */
.felmex-sidebar-title {
  margin: 0 0 28px;
  font-family: var(--felmex-font-display);
  font-size: 22px;
  line-height: 28px;
  color: var(--felmex-green-dark);
}

.felmex-why-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.felmex-why-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 20px;
  color: var(--felmex-text);
}

.felmex-why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--felmex-green-light);
}

.felmex-direct-box {
  background-color: var(--felmex-green-dark);
  border-radius: var(--felmex-radius-sm);
  padding: 28px;
  color: var(--felmex-white);
}

.felmex-direct-box-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
}

.felmex-direct-box p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 20px;
}

/* Contacto Page */
.felmex-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 640px;
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}

.felmex-contact-heading {
  margin: 0 0 32px;
  font-family: var(--felmex-font-display);
  font-size: 28px;
  color: var(--felmex-text);
}

.felmex-contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.felmex-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.felmex-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background-color: var(--felmex-green-light);
  color: var(--felmex-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.felmex-contact-item h3,
.felmex-contact-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--felmex-text);
}

.felmex-contact-item p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--felmex-muted);
}

.felmex-follow-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--felmex-green-dark);
  letter-spacing: 0.04em;
}

.felmex-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.felmex-social-circle {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.felmex-social-circle--green {
  background-color: var(--felmex-green-dark);
  color: var(--felmex-white);
}

.felmex-social-circle--white {
  background-color: var(--felmex-white);
  color: var(--felmex-green-dark);
}

.felmex-map-frame {
  width: 100%;
  height: 360px;
  border-radius: var(--felmex-radius-img);
  overflow: hidden;
  border: 1px dashed var(--felmex-muted);
  background-color: var(--felmex-white);
}

.felmex-map-frame img,
.felmex-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

/* Aviso de Privacidad */
.felmex-legal-content {
  padding: 64px 0 80px;
}

.felmex-legal-intro {
  margin: 0 0 42px;
  font-size: 15px;
  line-height: 24px;
  color: var(--felmex-text);
}

.felmex-legal-section {
  margin-bottom: 34px;
}

.felmex-legal-section h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--felmex-text);
}

.felmex-legal-section p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--felmex-muted);
}

/* ==========================================================================
   Footer (Desktop 320px / Mobile 420px)
   ========================================================================== */
.felmex-footer {
  background-color: var(--felmex-green-dark);
  color: var(--felmex-white);
  padding: 50px 0 24px;
}

.felmex-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
}

.felmex-footer-brand {
  font-family: var(--felmex-font-display);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 14px;
}

.felmex-footer-brand-fel {
  color: var(--felmex-white);
}

.felmex-footer-brand-mex {
  color: var(--felmex-gold);
}

.felmex-footer-tagline {
  margin: 0 0 14px;
  font-size: 13px;
}

.felmex-footer-address {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 19px;
}

.felmex-footer-contact {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
}

.felmex-footer-col-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--felmex-gold);
  text-transform: uppercase;
}

.felmex-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.felmex-footer-links li a {
  font-size: 13px;
  color: var(--felmex-white);
}

.felmex-footer-links li a:hover {
  color: var(--felmex-gold);
}

.felmex-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

/* ==========================================================================
   WooCommerce Store / Catalog Mode Compatibility
   ========================================================================== */
body.felmex-catalog-mode .woocommerce ul.products li.product .button,
body.felmex-catalog-mode .woocommerce div.product form.cart,
body.felmex-catalog-mode .woocommerce .cart-collaterals,
body.felmex-catalog-mode .woocommerce-Price-amount {
  display: none !important;
}

.woocommerce-page .felmex-main .woocommerce {
  padding: 0;
}

/* ==========================================================================
   Buscador Catálogo, 404, Search & WhatsApp Flotante
   ========================================================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.felmex-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.felmex-catalog-toolbar .felmex-catalog-filters {
  margin-bottom: 0;
}

.felmex-catalog-search {
  min-width: 240px;
  flex: 0 1 280px;
}

.felmex-catalog-search input[type="search"] {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-input-border);
  border-radius: 20px;
  font-family: var(--felmex-font-body);
  font-size: 13px;
  color: var(--felmex-text);
  outline: none;
}

.felmex-catalog-search input[type="search"]:focus {
  border-color: var(--felmex-green-dark);
}

.felmex-search-bar-form {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin-bottom: 40px;
}

.felmex-search-bar-form input[type="search"] {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-input-border);
  border-radius: 22px;
  font-family: var(--felmex-font-body);
  font-size: 14px;
  color: var(--felmex-text);
}

.felmex-empty-state {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--felmex-white);
  border: 1px solid var(--felmex-border);
  border-radius: var(--felmex-radius-card);
}

.felmex-empty-code {
  margin: 0 0 8px;
  font-family: var(--felmex-font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--felmex-green-dark);
}

.felmex-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background-color: #25d366;
  color: var(--felmex-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.felmex-whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  color: var(--felmex-white);
  background-color: #20ba5a;
}

@media (max-width: 767px) {
  .felmex-catalog-search {
    width: 100%;
    flex: 1 1 100%;
  }

  .felmex-search-bar-form {
    flex-direction: column;
  }

  .felmex-whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Mobile <= 767px matching 375px Figma)
   ========================================================================== */
@media (max-width: 1200px) {
  .felmex-container,
  .felmex-container-narrow {
    padding-left: 32px;
    padding-right: 32px;
  }

  .felmex-header-right {
    gap: 20px;
  }

  .felmex-nav-list {
    gap: 20px;
  }

  .felmex-header-actions {
    gap: 16px;
  }

  .felmex-hero-grid {
    grid-template-columns: 1fr 440px;
    gap: 32px;
  }

  .felmex-about-split,
  .felmex-quienes-grid {
    grid-template-columns: 440px 1fr;
    gap: 40px;
  }

  .felmex-quienes-grid {
    grid-template-columns: 1fr 440px;
  }

  .felmex-product-detail-top {
    grid-template-columns: 440px 1fr;
    gap: 36px;
  }

  .felmex-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .felmex-cotizador-grid {
    grid-template-columns: 1fr 340px;
  }

  .felmex-contact-grid {
    grid-template-columns: 1fr 480px;
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .felmex-header-right {
    display: none;
  }

  .felmex-burger {
    display: flex;
  }

  .felmex-hero-grid,
  .felmex-about-split,
  .felmex-quienes-grid,
  .felmex-mv-grid,
  .felmex-dist-grid,
  .felmex-values-cards-grid,
  .felmex-product-detail-top,
  .felmex-detail-bottom,
  .felmex-cotizador-grid,
  .felmex-contact-grid,
  .felmex-footer-grid {
    grid-template-columns: 1fr;
  }

  .felmex-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .felmex-values-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .felmex-container,
  .felmex-container-narrow {
    padding-left: 20px;
    padding-right: 20px;
  }

  .felmex-header-inner {
    height: 71px;
  }

  .felmex-brand-wordmark {
    font-size: 18px;
  }

  .felmex-brand-pill {
    display: none;
  }

  /* Hero Mobile matching 1:3 */
  .felmex-hero {
    min-height: auto;
    padding: 30px 0 40px;
  }

  .felmex-hero::before {
    background: linear-gradient(180deg, rgba(23, 61, 31, 0.95) 0%, rgba(41, 107, 51, 0.55) 100%);
  }

  .felmex-hero::after {
    display: none;
  }

  .felmex-hero-title {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 18px;
  }

  .felmex-hero-subtitle {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 24px;
  }

  .felmex-hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .felmex-hero-actions .felmex-btn {
    width: 100%;
  }

  .felmex-hero-actions .felmex-btn-white {
    background-color: var(--felmex-green-light);
    color: var(--felmex-white);
  }

  .felmex-hero-media {
    height: 200px;
  }

  .felmex-page-banner {
    min-height: 180px;
    padding: 32px 0;
  }

  .felmex-page-banner-title {
    font-size: 28px;
  }

  .felmex-page-banner-subtitle {
    font-size: 13px;
  }

  .felmex-section,
  .felmex-catalog-section {
    padding: 40px 0;
  }

  .felmex-section-header {
    text-align: left;
    margin-bottom: 24px;
  }

  .felmex-section-title {
    font-size: 24px;
  }

  .felmex-dist-grid,
  .felmex-products-grid,
  .felmex-values-cards-grid,
  .felmex-mv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .felmex-dist-card {
    min-height: 150px;
    padding: 20px;
    border-radius: 14px;
  }

  .felmex-dist-card-title {
    font-size: 16px;
  }

  .felmex-dist-card-desc {
    font-size: 13px;
  }

  .felmex-about-media,
  .felmex-quienes-media {
    height: 200px;
  }

  .felmex-value-item {
    flex-direction: row;
    gap: 14px;
  }

  .felmex-value-dot {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
  }

  .felmex-cta-banner {
    padding: 40px 0;
    text-align: left;
  }

  .felmex-cta-banner-title {
    font-size: 22px;
    line-height: 27px;
  }

  .felmex-cta-banner .felmex-btn {
    width: 100%;
  }

  .felmex-product-thumb {
    height: 180px;
  }

  .felmex-product-body {
    padding: 18px 20px 22px;
  }

  .felmex-gallery-main {
    height: 260px;
  }

  .felmex-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .felmex-gallery-thumb-btn {
    height: 80px;
  }

  .felmex-detail-title {
    font-size: 26px;
    line-height: 30px;
  }

  .felmex-detail-actions .felmex-btn {
    width: 100%;
    min-width: 0;
  }

  .felmex-form-card {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .felmex-form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .felmex-map-frame {
    height: 220px;
  }

  .felmex-footer {
    padding: 30px 0 24px;
  }

  .felmex-footer-grid {
    gap: 28px;
  }

  .felmex-footer-col--social {
    display: none;
  }

  .felmex-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .felmex-footer-privacy-right {
    display: none;
  }
}
