/* Ficha de empresa - Morvedre Beauty */
.ed-page {
  --ed-navy: #0d3243;
  --ed-navy-soft: #e8f2f4;
  --ed-orange: #d2591f;
  --ed-orange-soft: #fff5ed;
  --ed-ink: #0f172a;
  --ed-copy: #334155;
  --ed-muted: #64748b;
  --ed-border: rgba(13, 50, 67, .1);
  --ed-surface: #fff;
  --ed-shadow: 0 14px 40px rgba(15, 23, 42, .07);
  background: #fff;
  padding-bottom: 72px;
}

.ed-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 118px 0 18px;
  color: var(--ed-muted);
  font-size: .82rem;
}

.ed-crumb a {
  color: var(--ed-navy);
  font-weight: 700;
  text-decoration: none;
}

.ed-crumb a:hover { color: var(--ed-orange); }

.ed-cover {
  position: relative;
  isolation: isolate;
  height: clamp(240px, 32vw, 380px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 26px;
  background: linear-gradient(135deg, var(--ed-navy), #194c60);
  box-shadow: 0 20px 50px rgba(13, 50, 67, .14);
}

.ed-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.ed-cover::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 50, 67, .48));
  pointer-events: none;
}

.ed-cover:hover img { transform: scale(1.012); }

.ed-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: -66px;
  padding: 26px 30px;
  border: 1px solid var(--ed-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .1);
}

.ed-logo {
  width: 106px;
  height: 106px;
  flex-shrink: 0;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 21px;
  background: #f1f5f9;
  box-shadow: 0 6px 18px rgba(13, 50, 67, .18);
}

.ed-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ed-head-main {
  flex: 1;
  min-width: 220px;
}

.ed-type {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 8px;
  padding: 4px 11px;
  border: 1px solid rgba(13, 50, 67, .08);
  border-radius: 20px;
  background: var(--ed-navy-soft);
  color: var(--ed-navy);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.ed-head h1 {
  margin: 0;
  color: var(--ed-ink);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.ed-subtitle {
  margin: 6px 0 0;
  color: var(--ed-muted);
  line-height: 1.5;
}

.ed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.ed-tags span {
  padding: 4px 10px;
  border: 1px solid #e7edf0;
  border-radius: 20px;
  background: #f7f9fa;
  color: #526273;
  font-size: .74rem;
  line-height: 1.2;
}

.ed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ed-actions .main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  line-height: 1.2;
}

.ed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
  margin-top: 24px;
}

.ed-card {
  margin-bottom: 18px;
  padding: 26px 28px;
  border: 1px solid var(--ed-border);
  border-radius: 20px;
  background: var(--ed-surface);
  box-shadow: var(--ed-shadow);
}

.ed-card:last-child { margin-bottom: 0; }

.ed-card h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f3;
  color: var(--ed-ink);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.012em;
}

.ed-card h2 i { color: var(--ed-navy); }

.ed-text {
  color: var(--ed-copy);
  font-size: 16px;
  line-height: 1.65;
}

.ed-text > :last-child { margin-bottom: 0; }
.ed-text p { margin: 0 0 19px; }
.ed-text p:last-child { margin-bottom: 0; }
.ed-text a { color: #337ab7; text-decoration: none; }
.ed-text a:hover { color: #23527c; text-decoration: underline; }

.ed-text ul,
.ed-text ol { padding-left: 24px; margin: 6px 0 12px; }
.ed-text ul { list-style-type: disc; }
.ed-text ol { list-style-type: decimal; }
.ed-text li { margin-bottom: 4px; font-size: 16px; overflow-wrap: anywhere; }
.ed-text li:last-child { margin-bottom: 0; }
.ed-text li::marker { color: var(--ed-orange); }

.ed-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.ed-list-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid #edf1f3;
  border-radius: 11px;
  background: #f8fafb;
  color: var(--ed-copy);
  font-size: .9rem;
  line-height: 1.35;
  transition: border-color .2s ease, background-color .2s ease;
}

.ed-list-name { flex: 1; min-width: 0; }
.ed-list-price,
.ed-promo-price {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ed-navy-soft);
  color: var(--ed-navy);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.ed-list-item:hover {
  border-color: rgba(210, 89, 31, .2);
  background: #fffaf7;
}

.ed-list-item i {
  flex-shrink: 0;
  color: var(--ed-orange);
  font-size: 1rem;
}

.ed-promo-card {
  border-color: #fed7aa;
  background: linear-gradient(135deg, var(--ed-orange-soft) 0%, #fff 72%);
}

.ed-promo-card h2,
.ed-promo-card h2 i { color: #c2410c; }

.ed-promo {
  margin-bottom: 10px;
  padding: 15px 18px;
  border: 1px solid #ffedd5;
  border-left: 4px solid #ea580c;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
}

.ed-promo:last-child { margin-bottom: 0; }
.ed-promo-title { display: flex; align-items: center; gap: 8px; color: var(--ed-ink); font-weight: 800; }
.ed-promo-text { margin-top: 4px; color: var(--ed-muted); font-size: .9rem; line-height: 1.55; }

.ed-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: #c2410c;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.ed-promo-link:hover { color: #9a3412; }

.ed-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.ed-gallery a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #eef2f4;
}

.ed-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}

.ed-gallery a:hover img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.ed-gallery a video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}

.ed-gallery a:hover video {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.ed-gallery-video {
  position: relative;
}

.ed-gallery-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ed-gallery-play i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 50, 67, .72);
  color: #fff;
  font-size: 18px;
}

.ed-gallery > video {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 420px;
  border-radius: 12px;
  background: #000;
}

.ed-file {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid #e9eef1;
  border-radius: 11px;
  background: #f8fafb;
  color: var(--ed-copy);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.ed-file:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 50, 67, .2);
  background: #fff;
  color: var(--ed-navy);
}

.ed-file:last-child { margin-bottom: 0; }
.ed-file i:first-child { color: var(--ed-navy); font-size: 1.2rem; }
.ed-file span { flex: 1; overflow-wrap: anywhere; }
.ed-file i:last-child { color: var(--ed-muted); }

.ed-side {
  position: sticky;
  top: 100px;
}

.ed-side .ed-card {
  border-top: 3px solid var(--ed-navy);
}

.ed-contact-row {
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf1f3;
}

.ed-contact-row:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.ed-contact-label {
  margin-bottom: 3px;
  color: #8796a6;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ed-contact-row a,
.ed-contact-row div.ed-contact-value {
  color: var(--ed-ink);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ed-contact-row a:hover { color: var(--ed-orange); }
.ed-external-icon { font-size: .78rem; }

.ed-contact-action {
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
}

.ed-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ed-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e2e8ec;
  border-radius: 50%;
  background: #f8fafb;
  color: var(--ed-navy);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.ed-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 89, 31, .25);
  background: var(--ed-orange-soft);
  color: var(--ed-orange);
}

.ed-socials .ed-tiktok {
  width: auto;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .78rem;
}

.ed-map {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid #dfe7ea;
  border-radius: 13px;
  background: #eef2f4;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.ed-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.ed-related {
  margin-top: 50px;
  padding-top: 4px;
}

.ed-related > h2 {
  margin: 0 0 20px;
  color: var(--ed-ink);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.ed-related-subtitle {
  margin: 5px 0 0;
  color: var(--ed-muted);
  font-size: .85rem;
  line-height: 1.45;
}

.ed-page a:focus-visible,
.ed-page button:focus-visible,
.ed-page video:focus-visible {
  outline: 3px solid rgba(210, 89, 31, .42);
  outline-offset: 3px;
}

.glightbox-container .zoomable {
  border-radius: 18px;
  overflow: hidden;
}

.glightbox-container video.zoomable {
  border-radius: 18px;
}

@media (max-width: 1199px) {
  .ed-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 991px) {
  .ed-grid { grid-template-columns: 1fr; }
  .ed-side { position: static; }
  .ed-head { margin-top: -50px; padding: 22px; }
  .ed-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ed-list { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .ed-page { padding-bottom: 50px; }
  .ed-crumb { padding-top: 100px; }
  .ed-cover { height: 250px; border-radius: 20px; }
  .ed-head { margin: -44px 0 0; padding: 20px; border-radius: 20px; }
  .ed-logo { width: 86px; height: 86px; border-radius: 17px; }
  .ed-actions { width: 100%; }
  .ed-actions .main-btn { flex: 1 1 150px; }
  .ed-card { padding: 20px; border-radius: 17px; }
  .ed-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-related { margin-top: 38px; }
}

@media (max-width: 480px) {
  .ed-crumb { gap: 6px; padding: 94px 0 14px; font-size: .76rem; }
  .ed-cover { height: 220px; }
  .ed-head { align-items: flex-start; gap: 15px; margin-top: -38px; padding: 18px; }
  .ed-logo { width: 76px; height: 76px; }
  .ed-head-main { min-width: calc(100% - 92px); }
  .ed-head h1 { font-size: 1.5rem; }
  .ed-type { font-size: .65rem; }
  .ed-actions .main-btn { flex-basis: 100%; }
  .ed-grid { gap: 18px; margin-top: 18px; }
  .ed-card { padding: 18px; }
  .ed-card h2 { font-size: 1.08rem; }
  .ed-map iframe { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .ed-cover img,
  .ed-gallery img,
  .ed-file,
  .ed-socials a {
    transition: none;
  }
}
