/* Ficha Premium pública de Productos. Clases aisladas para no alterar las fichas gratuitas. */
.dir-detail-overlay {
  --fmp-profile-orange: #f4510b;
  --fmp-profile-ink: #101c35;
  --fmp-profile-muted: #5d6b82;
  --fmp-profile-line: #e3e8ef;
  --fmp-profile-surface: #f6f8fb;
  display: block;
  overflow-y: auto;
  background: #eef2f6;
}

.dir-detail-inner {
  width: 100%;
  min-height: 100vh;
  height: auto;
  padding: 0;
  overflow: visible;
  background: #eef2f6;
  box-shadow: none;
  transform: translateY(20px);
}

.dir-detail-overlay.is-open .dir-detail-inner { transform: translateY(0); }

.dir-detail-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(16px, calc((100vw - 1220px) / 2 + 18px));
  width: 44px;
  height: 44px;
  border-color: #dbe2ea;
  border-radius: 12px;
  color: var(--fmp-profile-ink);
  box-shadow: 0 5px 20px rgb(15 23 42 / 12%);
}

.dir-detail-close:hover { border-color: #c4ceda; background: #f8fafc; }
.dir-detail-close:focus-visible { outline: 3px solid rgb(244 81 11 / 24%); outline-offset: 2px; }

.fmp-premium-page {
  min-height: 100vh;
  padding: 22px 20px 56px;
  color: var(--fmp-profile-ink);
  font-family: "DM Sans", sans-serif;
}

.fmp-premium-shell {
  width: min(1220px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgb(15 23 42 / 8%);
}

.fmp-premium-page h1,
.fmp-premium-page h2,
.fmp-premium-page h3 {
  margin-top: 0;
  color: var(--fmp-profile-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.fmp-premium-breadcrumb {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 30px;
  border-bottom: 1px solid #edf0f4;
  color: #748197;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.fmp-premium-breadcrumb a { color: #586984; text-decoration: none; }
.fmp-premium-breadcrumb a:hover { color: var(--fmp-profile-orange); }
.fmp-premium-breadcrumb span:last-child { overflow: hidden; color: #263650; text-overflow: ellipsis; }

.fmp-premium-gallery {
  position: relative;
  aspect-ratio: 16 / 6;
  margin: 0 16px;
  overflow: hidden;
  border: 1px solid #e1e7ee;
  border-radius: 12px;
  background: #eef2f5;
}

.fmp-premium-gallery-main { width: 100%; height: 100%; display: block; object-fit: cover; }

.fmp-premium-gallery-fallback {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  padding: 24px; background: #f1f4f7; color: #6b788c; text-align: center;
}

.fmp-premium-gallery-fallback[hidden] { display: none; }
.fmp-premium-gallery-fallback svg { width: 56px; height: 56px; color: #a6b0be; stroke-width: 1.3; }
.fmp-premium-gallery-fallback strong { color: #34445e; font-size: 17px; }
.fmp-premium-gallery-fallback span { font-size: 13px; }

.fmp-gallery-open,
.fmp-gallery-controls button {
  border: 1px solid rgb(255 255 255 / 42%);
  background: rgb(15 23 42 / 82%);
  color: #fff;
  cursor: pointer;
}

.fmp-gallery-open {
  position: absolute; top: 16px; right: 16px;
  min-height: 40px; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 14px; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 700;
}

.fmp-gallery-open svg { width: 16px; height: 16px; }
.fmp-gallery-controls { position: absolute; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 6px; }
.fmp-gallery-controls span { padding: 8px 10px; border-radius: 8px; background: rgb(15 23 42 / 82%); color: #fff; font-size: 12px; font-weight: 700; }
.fmp-gallery-controls button { width: 36px; height: 36px; border-radius: 8px; font: inherit; font-size: 24px; line-height: 1; }
.fmp-gallery-open:hover, .fmp-gallery-controls button:hover { background: #101827; }
.fmp-gallery-open:focus-visible, .fmp-gallery-controls button:focus-visible { outline: 3px solid rgb(255 255 255 / 75%); outline-offset: 2px; }

.fmp-premium-company-header {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 0 30px 18px;
}

.fmp-premium-logo {
  width: 146px;
  height: 128px;
  margin-top: -28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(15 23 42 / 8%);
}

.fmp-premium-logo img { width: 100%; height: 100%; padding: 14px; object-fit: contain; }
.fmp-premium-logo span { color: #1b2a44; font-family: "Plus Jakarta Sans", sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -0.05em; }
.fmp-premium-identity { min-width: 0; padding-top: 16px; }
.fmp-premium-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }

.fmp-registration-badge,
.fmp-plan-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
}

.fmp-plan-badge { background: var(--fmp-profile-orange); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.fmp-premium-identity h1 { margin-bottom: 5px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
.fmp-premium-identity > p { max-width: 820px; margin: 0; color: #52617a; font-size: 16px; line-height: 1.55; }

.fmp-premium-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; color: #607088; font-size: 12px; }
.fmp-premium-meta span { display: inline-flex; align-items: center; gap: 6px; }
.fmp-premium-meta svg { width: 15px; height: 15px; color: #253d68; }

.fmp-premium-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 30px 20px 200px;
}

.fmp-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid #bdc9d8;
  border-radius: 9px;
  background: #fff;
  color: #162542;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.fmp-action svg { width: 18px; height: 18px; flex: 0 0 18px; }
.fmp-action:hover { border-color: #8392a8; background: #f8fafc; }
.fmp-action:focus-visible, .fmp-category-card:focus-visible, .fmp-premium-tabs a:focus-visible { outline: 3px solid rgb(244 81 11 / 22%); outline-offset: 2px; }
.fmp-action--primary { border-color: var(--fmp-profile-orange); background: var(--fmp-profile-orange); color: #fff; }
.fmp-action--primary:hover { border-color: #d94508; background: #d94508; }
.fmp-action.is-saved { border-color: #f6a27d; color: var(--fmp-profile-orange); }
.fmp-action.is-saved svg { fill: currentColor; }
.fmp-action:disabled { opacity: .62; cursor: wait; }

.fmp-premium-phone {
  margin: 0 30px 18px 200px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #fed0bb;
  border-radius: 9px;
  background: #fff7f3;
  color: #6b5b54;
  font-size: 12px;
}

.fmp-premium-phone[hidden] { display: none; }
.fmp-premium-phone a { color: #17243c; font-size: 16px; font-weight: 800; text-decoration: none; }

.fmp-premium-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: stretch;
  padding: 0 30px;
  overflow-x: auto;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #dde4ec;
  background: rgb(255 255 255 / 97%);
  scrollbar-width: none;
}

.fmp-premium-tabs::-webkit-scrollbar { display: none; }
.fmp-premium-tabs a {
  min-width: max-content;
  padding: 16px 20px 14px;
  border-bottom: 2px solid transparent;
  color: #56667f;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.fmp-premium-tabs a.is-active { border-bottom-color: var(--fmp-profile-orange); color: var(--fmp-profile-ink); }
.fmp-premium-tabs a:hover { color: var(--fmp-profile-orange); }

.fmp-premium-content { padding: 0 30px 38px; }
.fmp-premium-section { padding: 34px 0; border-bottom: 1px solid #edf0f4; scroll-margin-top: 56px; }
.fmp-premium-section:last-child { border-bottom: 0; }
.fmp-premium-section > h2 { margin-bottom: 18px; font-size: 21px; letter-spacing: -.025em; }
.fmp-section-kicker { display: block; margin-bottom: 5px; color: var(--fmp-profile-orange); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.fmp-section-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .8fr); gap: 34px; align-items: start; }
.fmp-section-grid h2 { margin-bottom: 12px; font-size: 22px; }
.fmp-company-description { margin: 0; color: #526078; font-size: 15px; line-height: 1.75; white-space: pre-line; }
.fmp-legal-data { display: grid; gap: 7px; margin: 20px 0 0; }
.fmp-legal-data div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding-top: 8px; border-top: 1px solid #edf0f4; }
.fmp-legal-data dt { color: #79869a; font-size: 12px; }
.fmp-legal-data dd { margin: 0; color: #293852; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }

.fmp-premium-summary { display: grid; gap: 13px; padding: 20px; border: 1px solid #edf0f4; border-radius: 12px; background: var(--fmp-profile-surface); }
.fmp-premium-summary > div { display: flex; align-items: center; gap: 12px; }
.fmp-premium-summary svg { width: 22px; height: 22px; flex: 0 0 22px; color: #1f3c6d; }
.fmp-premium-summary p { display: grid; gap: 1px; margin: 0; }
.fmp-premium-summary strong { color: #1a2944; font-size: 13px; }
.fmp-premium-summary span { color: #768398; font-size: 11px; }

.fmp-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.fmp-category-grid--1 { grid-template-columns: minmax(180px, 270px); }
.fmp-category-grid--2 { grid-template-columns: repeat(2, minmax(160px, 270px)); }
.fmp-category-grid--3 { grid-template-columns: repeat(3, minmax(140px, 220px)); }
.fmp-category-card {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  background: var(--fmp-profile-surface);
  color: #20314f;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.fmp-category-card svg { width: 27px; height: 27px; color: #203a65; stroke-width: 1.5; }
.fmp-category-card:hover { border-color: #f6b89d; background: #fffaf7; transform: translateY(-2px); }

.fmp-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fmp-product-card { overflow: hidden; border: 1px solid #e3e8ef; border-radius: 11px; background: #fff; }
.fmp-product-card > img, .fmp-product-card-placeholder { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; object-fit: cover; background: #f1f4f7; }
.fmp-product-card-placeholder svg { width: 38px; height: 38px; color: #91a0b4; }
.fmp-product-card > div:last-child { padding: 14px; }
.fmp-product-card h3 { margin-bottom: 6px; font-size: 14px; line-height: 1.3; }
.fmp-product-card p { display: -webkit-box; margin: 0 0 9px; overflow: hidden; color: #69768a; font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.fmp-product-card ul { display: flex; gap: 5px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.fmp-product-card li { padding: 4px 7px; border-radius: 5px; background: #eff3f7; color: #586780; font-size: 10px; }

.fmp-product-fallback, .fmp-address-card {
  min-height: 146px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid #e3e8ef;
  border-radius: 11px;
  background: var(--fmp-profile-surface);
}

.fmp-product-fallback > svg, .fmp-address-card > svg { width: 42px; height: 42px; flex: 0 0 42px; color: #203c69; stroke-width: 1.4; }
.fmp-product-fallback strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; }
.fmp-product-fallback p, .fmp-address-card p { margin: 5px 0 0; color: #707d90; font-size: 12px; line-height: 1.55; }

.fmp-catalogue-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.fmp-catalogue-list a { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid #e3e8ef; border-radius: 9px; color: #21324f; text-decoration: none; }
.fmp-catalogue-list a:hover { border-color: #f6b89d; background: #fffaf7; }
.fmp-catalogue-list a > svg { width: 19px; height: 19px; flex: 0 0 19px; color: var(--fmp-profile-orange); }
.fmp-catalogue-list a > svg:last-child { margin-left: auto; color: #738198; }
.fmp-catalogue-list span { min-width: 0; display: grid; gap: 2px; }
.fmp-catalogue-list strong, .fmp-catalogue-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fmp-catalogue-list strong { font-size: 12px; }
.fmp-catalogue-list small { color: #7b8799; font-size: 10px; }

.fmp-premium-empty { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid #e3e8ef; border-radius: 10px; background: var(--fmp-profile-surface); }
.fmp-premium-empty > svg { width: 28px; height: 28px; flex: 0 0 28px; color: #73839a; }
.fmp-premium-empty strong { color: #283851; font-size: 13px; }
.fmp-premium-empty p { margin: 4px 0 0; color: #718096; font-size: 12px; line-height: 1.55; }

.fmp-certification-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fmp-certification-list li { display: flex; align-items: flex-start; gap: 11px; padding: 15px; border: 1px solid #dce7df; border-radius: 10px; background: #f7fbf8; color: #294a34; font-size: 13px; font-weight: 700; line-height: 1.5; }
.fmp-certification-list svg { width: 21px; height: 21px; flex: 0 0 21px; color: #247345; }

.fmp-address-card { align-items: flex-start; }
.fmp-address-card span { color: #7b8798; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fmp-address-card address { margin-top: 8px; color: #22324e; font-size: 14px; font-style: normal; font-weight: 700; line-height: 1.55; }

.fmp-distribution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fmp-distribution-grid article { display: flex; align-items: flex-start; gap: 14px; padding: 19px; border: 1px solid #e3e8ef; border-radius: 10px; background: #fff; }
.fmp-distribution-grid svg { width: 26px; height: 26px; flex: 0 0 26px; color: #233e6e; }
.fmp-distribution-grid h3 { margin-bottom: 5px; font-size: 14px; }
.fmp-distribution-grid p { margin: 0; color: #68768b; font-size: 12px; line-height: 1.6; white-space: pre-line; }

.fmp-contact-section { padding-bottom: 0; }
.fmp-contact-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); gap: 18px; }
.fmp-contact-form, .fmp-contact-channels { padding: 22px; border: 1px solid #e3e8ef; border-radius: 12px; }
.fmp-contact-form-heading > span { color: var(--fmp-profile-orange); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fmp-contact-form-heading h3 { margin: 4px 0 5px; font-size: 18px; }
.fmp-contact-form-heading p { margin: 0 0 18px; color: #748197; font-size: 12px; }
.fmp-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.fmp-contact-fields label { display: grid; gap: 6px; color: #34435c; font-size: 11px; font-weight: 700; }
.fmp-contact-fields .fmp-field-wide { grid-column: 1 / -1; }
.fmp-contact-form .form-control { min-height: 42px; border-color: #d8e0e9; border-radius: 8px; font: inherit; }
.fmp-contact-form textarea.form-control { min-height: 118px; resize: vertical; }
.fmp-contact-form .form-control:focus { border-color: var(--fmp-profile-orange); box-shadow: 0 0 0 3px rgb(244 81 11 / 12%); outline: none; }
.fmp-contact-form .fmp-action { margin-top: 14px; }
.fmp-contact-form .form-status { min-height: 20px; margin-top: 10px; font-size: 12px; }
.fmp-contact-channels { align-content: start; display: grid; gap: 9px; background: var(--fmp-profile-surface); }
.fmp-contact-channels > a, .fmp-contact-channels > div { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid #e3e8ef; border-radius: 9px; background: #fff; color: #23324c; text-decoration: none; }
.fmp-contact-channels > a:hover { border-color: #f6b89d; }
.fmp-contact-channels svg { width: 21px; height: 21px; flex: 0 0 21px; color: #1f3d6c; }
.fmp-contact-channels span { min-width: 0; display: grid; gap: 1px; }
.fmp-contact-channels small { color: #7a8799; font-size: 10px; }
.fmp-contact-channels strong { overflow-wrap: anywhere; font-size: 12px; }

.fmp-gallery-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.fmp-gallery-modal-grid img { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; object-fit: cover; }
.fmp-premium-loading, .fmp-premium-load-error { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 32px; color: #536179; text-align: left; }
.fmp-premium-loading strong { color: var(--fmp-profile-ink); font-size: 18px; }
.fmp-premium-loading p { margin: 3px 0 0; }
.fmp-loading-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--fmp-profile-orange); box-shadow: 0 5px 18px rgb(15 23 42 / 8%); }
.fmp-loading-mark svg { width: 26px; height: 26px; }
.fmp-premium-load-error { flex-direction: column; text-align: center; }
.fmp-premium-load-error > svg { width: 42px; height: 42px; color: #b42318; }
.fmp-premium-load-error h2 { margin: 0; }
.fmp-premium-load-error p { margin: 0 0 8px; }

.fmp-profile-provenance { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 18px; padding: 13px 22px; border-top: 1px solid #e7ebf0; background: #fafbfc; color: #7b8798; font-size: 10px; line-height: 1.5; text-align: center; }
.fmp-profile-provenance strong { color: #59677b; font-weight: 700; }
.fmp-profile-provenance a { color: inherit; text-decoration: underline; text-decoration-color: #c7ced8; text-underline-offset: 2px; }
.fmp-profile-provenance a:hover { color: var(--fmp-profile-orange); }

@media (max-width: 960px) {
  .fmp-premium-page { padding: 12px; }
  .fmp-premium-company-header { grid-template-columns: 112px minmax(0, 1fr); padding-right: 22px; padding-left: 22px; }
  .fmp-premium-logo { width: 112px; height: 108px; }
  .fmp-premium-actions { padding-right: 22px; padding-left: 158px; }
  .fmp-premium-phone { margin-right: 22px; margin-left: 158px; }
  .fmp-premium-content, .fmp-premium-tabs { padding-right: 22px; padding-left: 22px; }
  .fmp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fmp-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .dir-detail-close { top: 9px; right: 9px; width: 40px; height: 40px; }
  .fmp-premium-page { padding: 0; }
  .fmp-premium-shell { border: 0; border-radius: 0; box-shadow: none; }
  .fmp-premium-breadcrumb { min-height: 48px; padding: 0 56px 0 16px; }
  .fmp-premium-gallery { aspect-ratio: 16 / 9; margin: 0; border-right: 0; border-left: 0; border-radius: 0; }
  .fmp-gallery-open { top: 12px; right: 12px; min-height: 36px; padding: 0 10px; font-size: 10px; }
  .fmp-gallery-controls { right: 12px; bottom: 12px; }
  .fmp-premium-company-header { display: block; padding: 0 16px 16px; }
  .fmp-premium-logo { width: 84px; height: 78px; margin-top: -18px; position: relative; z-index: 2; }
  .fmp-premium-logo span { font-size: 25px; }
  .fmp-premium-identity { padding-top: 12px; }
  .fmp-premium-identity h1 { font-size: 26px; }
  .fmp-premium-identity > p { font-size: 14px; }
  .fmp-premium-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .fmp-premium-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px 16px; }
  .fmp-action { min-height: 48px; padding: 9px; font-size: 12px; }
  .fmp-premium-phone { align-items: flex-start; flex-direction: column; margin: 0 16px 16px; }
  .fmp-premium-tabs { padding: 0 6px; }
  .fmp-premium-tabs a { padding-right: 15px; padding-left: 15px; }
  .fmp-premium-content { padding: 0 16px 26px; }
  .fmp-premium-section { padding: 28px 0; }
  .fmp-section-grid, .fmp-contact-layout { grid-template-columns: 1fr; gap: 18px; }
  .fmp-category-grid, .fmp-category-grid--1, .fmp-category-grid--2, .fmp-category-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fmp-category-card { min-height: 100px; }
  .fmp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .fmp-product-card > div:last-child { padding: 10px; }
  .fmp-product-card p { -webkit-line-clamp: 2; }
  .fmp-catalogue-list, .fmp-distribution-grid { grid-template-columns: 1fr; }
  .fmp-certification-list { grid-template-columns: 1fr; }
  .fmp-contact-fields { grid-template-columns: 1fr; }
  .fmp-contact-fields .fmp-field-wide { grid-column: auto; }
  .fmp-contact-form, .fmp-contact-channels { padding: 16px; }
}

@media (max-width: 390px) {
  .fmp-premium-actions { grid-template-columns: 1fr; }
  .fmp-product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .dir-detail-inner, .fmp-category-card { transition: none; }
  .fmp-category-card:hover { transform: none; }
}
