/* Product detail styles, scoped to keep the rest of the site unchanged. */
.hd-product {
  --product-ink: #18394c;
  --product-text: #4c6170;
  --product-blue: #087eae;
  --product-border: #e0eaf0;
  padding-top: 12px;
  padding-bottom: 32px;
  color: var(--product-text);
  font-size: 16px;
  line-height: 1.65;
}
.hd-product *, .hd-product *::before, .hd-product *::after { box-sizing: border-box; }
.hd-product .product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "sidebar heading" "sidebar content";
  align-items: start;
  gap: 24px 32px;
}
.hd-product .product-heading { grid-area: heading; padding: 6px 2px 0; min-width: 0; }
.hd-product .product-eyebrow { display: block; margin-bottom: 8px; color: var(--product-blue); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 1.2px; text-transform: uppercase; }
.hd-product .product-title { margin: 0 0 18px; color: var(--product-ink); font-size: clamp(26px, 2.5vw, 36px); font-weight: 700; line-height: 1.25; letter-spacing: -0.7px; overflow-wrap: anywhere; }
.hd-product .product-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hd-product .product-inquiry-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #08668e; font-size: 14px; font-weight: 600; }
.hd-product #product-inquiry-title { scroll-margin-top: 24px; }
.hd-product .product-price { color: var(--product-blue); font-size: 25px; font-weight: 700; line-height: 1.4; }
.hd-product .product-price-consult { padding: 7px 13px; border-radius: 7px; background: #edf7fc; color: #08668e; font-size: 14px; font-weight: 600; }
.hd-product .product-sidebar { grid-area: sidebar; display: grid; gap: 20px; min-width: 0; }
.hd-product .product-card { min-width: 0; padding: 26px; border: 1px solid var(--product-border); border-radius: 16px; background: #fff; box-shadow: 0 5px 22px rgba(24, 57, 76, 0.045); }
.hd-product .product-gallery { padding: 16px; overflow: hidden; background: #fbfdfe; }
.hd-product .product-gallery .product-item { margin: 0; }
.hd-product .product-gallery .product-single-image { display: block; width: 100%; height: auto; aspect-ratio: 520 / 400; object-fit: contain; background: #fff; border-radius: 10px; }
/* Keep a usable image when the carousel script has not loaded. */
.hd-product .product-single-carousel:not(.owl-loaded) { display: block; }
.hd-product .product-single-carousel:not(.owl-loaded) .product-item:not(:first-child) { display: none; }
.hd-product .product-gallery .owl-dots { margin: 12px 0 0; }
.hd-product .product-gallery .owl-dot { min-width: 28px; min-height: 28px; }
.hd-product .product-gallery .owl-dot span { margin: 8px auto; }
.hd-product .product-gallery .owl-nav button { min-width: 44px; min-height: 44px; opacity: 1; }
.hd-product .product-inquiry { background: #f5fafd; }
.hd-product h2 { color: var(--product-ink); font-weight: 700; letter-spacing: -0.2px; }
.hd-product .product-inquiry h2, .hd-product .producto-caracteristicas h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.35; }
.hd-product .product-inquiry-heading p { margin: 0 0 22px; font-size: 14px; line-height: 1.6; }
.hd-product .product-form-fields { display: grid; gap: 16px; }
.hd-product .product-form-field { min-width: 0; }
.hd-product .product-form-field label { display: block; margin: 0 0 7px; color: var(--product-ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.hd-product .product-form-field .form-control { display: block; width: 100%; max-width: 100%; height: 46px; margin: 0; padding: 11px 13px; border: 1px solid #cbdbe5; border-radius: 8px; background: #fff; color: var(--product-ink); font: inherit; font-size: 16px; line-height: 1.5; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.hd-product .product-form-field .form-control::placeholder { color: #728493; opacity: 1; font-size: 14px; }
.hd-product .product-form-field textarea.form-control { height: auto; min-height: 112px; resize: vertical; }
.hd-product .product-form-field .form-control:focus { outline: none; border-color: var(--product-blue); box-shadow: 0 0 0 3px rgba(8, 126, 174, .13); }
.hd-product .product-submit, .hd-product .product-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 18px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.hd-product .product-submit { width: 100%; background: var(--product-blue); color: #fff; }
.hd-product .product-submit:hover { background: #08678e; }
.hd-product .product-submit:focus-visible, .hd-product .product-whatsapp:focus-visible, .hd-product .product-inquiry-link:focus-visible, .hd-product .product-single-share a:focus-visible { outline: 3px solid #087eae; outline-offset: 4px; }
.hd-product #contacta_results:not(:empty) { margin-bottom: 16px; font-size: 14px; }
.hd-product #contacta_results .error { padding: 12px; border-radius: 8px; color: #a22626; background: #fff0f0; }
.hd-product #contacta_results .success { padding: 12px; border-radius: 8px; color: #14633f; background: #e6f6ed; }
.hd-product .producto-caracteristicas { text-align: left; }
.hd-product .product-feature-list { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; }
.hd-product .product-feature-list li { position: relative; padding: 12px 0 12px 27px; border-top: 1px solid #edf1f4; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.hd-product .product-feature-list li::before { position: absolute; left: 0; top: 14px; content: "\2713"; color: #087d75; font-size: 14px; font-weight: 700; }
.hd-product .product-content { grid-area: content; min-width: 0; padding: 0; overflow-wrap: anywhere; }
.hd-product .producto-intro-seo { margin-bottom: 24px; color: #526977; font-size: 14px; line-height: 1.75; }
.hd-product .producto-intro-seo p { margin: 0; }
.hd-product .producto-descripcion { color: var(--product-text); font-size: 16px; font-weight: 400; line-height: 1.75; }
.hd-product .producto-descripcion h2 { margin: 26px 0 13px; font-size: 20px; line-height: 1.4; }
.hd-product .producto-descripcion h3 { margin: 22px 0 12px; color: var(--product-ink); font-size: 18px; line-height: 1.4; }
.hd-product .producto-descripcion p { margin: 0 0 16px; }
.hd-product .producto-descripcion ul, .hd-product .producto-descripcion ol { margin: 14px 0 22px; padding-left: 22px; list-style: disc outside; }
.hd-product .producto-descripcion ol { list-style-type: decimal; }
.hd-product .producto-descripcion li { margin: 0 0 10px; padding-left: 3px; font-size: inherit; line-height: inherit; }
.hd-product .producto-descripcion li::marker { color: var(--product-blue); }
/* Legacy editor content adds breaks between list items and after headings. */
.hd-product .producto-descripcion ul > br, .hd-product .producto-descripcion ol > br,
.hd-product .producto-descripcion h2 + br, .hd-product .producto-descripcion h3 + br,
.hd-product .producto-descripcion ul + br, .hd-product .producto-descripcion ol + br,
.hd-product .producto-descripcion > br + br { display: none; }
.hd-product .product-contact { display: grid; justify-items: start; gap: 16px; margin-top: 28px; }
.hd-product .product-contact h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.4; }
.hd-product .product-contact p { margin: 0; font-size: 14px; line-height: 1.6; }
.hd-product .product-whatsapp { background: #147c56; color: #fff; }
.hd-product .product-whatsapp:hover { background: #106445; color: #fff; text-decoration: none; }
.hd-product .product-whatsapp i { font-size: 20px; }
.hd-product .product-single-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 0; padding: 20px 0 0; }
.hd-product .product-single-share > span { color: #526977; font-size: 12px; font-weight: 600; }
.hd-product .product-single-share .elementor-grid { display: flex; flex-wrap: wrap; gap: 4px; }
.hd-product .product-single-share .elementor-grid a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 0 !important; font-size: 22px !important; }
@media (max-width: 991px) {
  .hd-product .product-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 20px; }
  .hd-product .product-card { padding: 20px; }
  .hd-product .product-gallery { padding: 12px; }
  .hd-product .product-title { font-size: 28px; }
}
@media (max-width: 767px) {
  .hd-product { padding-top: 4px; padding-bottom: 20px; }
  .hd-product .product-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "heading" "gallery" "content" "inquiry" "features"; gap: 18px; }
  .hd-product .product-sidebar { display: contents; }
  .hd-product .product-gallery { grid-area: gallery; }
  .hd-product .product-inquiry { grid-area: inquiry; }
  .hd-product .producto-caracteristicas { grid-area: features; }
  .hd-product .product-heading { padding: 0 2px 2px; }
  .hd-product .product-title { margin-bottom: 14px; font-size: 27px; line-height: 1.28; }
  .hd-product .product-gallery .product-single-image { max-height: 330px; }
  .hd-product .product-whatsapp { width: 100%; }
  .hd-product .product-contact { justify-items: stretch; }
  .hd-product .product-form-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-product .product-form-field:nth-of-type(4), .hd-product .product-submit { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .container.hd-product { padding-right: 16px; padding-left: 16px; }
  .hd-product .product-card { padding: 20px; border-radius: 12px; }
  .hd-product .product-gallery { padding: 10px; }
  .hd-product .product-title { font-size: 25px; }
  .hd-product .product-form-fields { grid-template-columns: minmax(0, 1fr); }
  .hd-product .producto-descripcion { font-size: 15px; }
  .hd-product .producto-descripcion h2 { font-size: 19px; }
}
