@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Protest+Strike&display=swap');

html.ubd-product-ready {
  --ubd-orange:#E7923C;
  --ubd-coral:#E78252;
  --ubd-yellow:#EFC25E;
  --ubd-green:#93B56D;
  --ubd-teal:#5DA084;
  --ubd-ink:#18333A;
  --ubd-muted:#65777B;
  --ubd-paper:#FBF8F3;
  --ubd-line:rgba(24,51,58,.11);
  --ubd-shadow:0 14px 34px rgba(24,51,58,.08);
}

html.ubd-product-ready body#product {
  overflow-x:hidden;
  background:#fff;
  color:var(--ubd-ink);
  font-family:Manrope,Arial,sans-serif;
  padding-bottom:76px;
}

html.ubd-product-ready body#product * { box-sizing:border-box; }

/* Solo se rediseña la envoltura exterior. El formulario queda nativo. */
html.ubd-product-ready body#product .tvproduct-page-wrapper {
  width:min(100% - 18px,1180px);
  margin:12px auto 24px;
}

html.ubd-product-ready body#product .tvprduct-image-info-wrapper {
  display:flex !important;
  flex-direction:column !important;
  gap:18px !important;
  align-items:stretch !important;
  margin:0 !important;
}

html.ubd-product-ready body#product .tv-product-page-image,
html.ubd-product-ready body#product .tv-product-page-content {
  float:none !important;
  width:100% !important;
  max-width:1040px !important;
  min-height:0 !important;
  margin:0 auto !important;
  padding:0 !important;
}

/* ThemeVolty calcula sticky/zoom para dos columnas. Al poner la foto arriba,
   esas capas se neutralizan para que jamás cubran los módulos de compra. */
html.ubd-product-ready body#product .tv-product-page-image > .theiaStickySidebar,
html.ubd-product-ready body#product .tv-product-page-content > .theiaStickySidebar,
html.ubd-product-ready body#product #content-wrapper > .theiaStickySidebar {
  position:static !important;
  inset:auto !important;
  width:auto !important;
  min-height:0 !important;
  transform:none !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

html.ubd-product-ready body#product .zoomContainer,
html.ubd-product-ready body#product .zoomWindowContainer,
html.ubd-product-ready body#product .resize-sensor {
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

html.ubd-product-ready body#product .images-container,
html.ubd-product-ready body#product .tvvertical-slider,
html.ubd-product-ready body#product .product-images,
html.ubd-product-ready body#product .slick-list,
html.ubd-product-ready body#product .slick-track {
  min-height:0 !important;
  max-height:none !important;
}

html.ubd-product-ready body#product .tvcmsVerticalSlider img,
html.ubd-product-ready body#product .product-cover img,
html.ubd-product-ready body#product .product-images img {
  display:block;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:min(70vh,680px) !important;
  margin:0 auto !important;
  object-fit:contain !important;
}

html.ubd-product-ready body#product .tv-product-page-image {
  padding:14px !important;
  border-radius:24px;
  background:var(--ubd-paper);
  box-shadow:var(--ubd-shadow);
}

html.ubd-product-ready body#product .tv-product-page-content > .theiaStickySidebar {
  padding:clamp(16px,3vw,28px) !important;
  border:1px solid var(--ubd-line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--ubd-shadow);
}

html.ubd-product-ready body#product .tvproduct-title-brandimage h1,
html.ubd-product-ready body#product h1[itemprop="name"] {
  margin:0 0 10px !important;
  color:var(--ubd-ink) !important;
  font-family:"Protest Strike",Impact,sans-serif !important;
  font-size:clamp(34px,7vw,58px) !important;
  font-weight:400 !important;
  line-height:.94 !important;
  text-transform:uppercase !important;
}

html.ubd-product-ready body#product .product-prices .current-price .price,
html.ubd-product-ready body#product .product-prices .current-price span {
  color:var(--ubd-orange) !important;
  font-size:clamp(28px,5vw,40px) !important;
  font-weight:800 !important;
}

html.ubd-product-ready body#product .tvproduct-page-decs {
  margin:10px 0 16px;
  color:var(--ubd-muted);
  font-size:14px;
  line-height:1.7;
}

/* ETS conserva inputs, labels, eventos y geometría interna originales.
   Solo el contenedor distribuye tarjetas y oculta la descripción secundaria. */
html.ubd-product-ready body#product .block-product-attribute-custom {
  width:100% !important;
  margin:16px 0 20px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom > .col-md-12,
html.ubd-product-ready body#product .block-product-attribute-custom .list-attribute-custom {
  float:none !important;
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  width:100% !important;
  margin:0 0 18px !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option > h5,
html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option > .attribute-custom-price {
  grid-column:1 / -1 !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option > h5 {
  margin:0 0 2px !important;
  color:var(--ubd-ink) !important;
  font-size:15px !important;
  line-height:1.3 !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .radio,
html.ubd-product-ready body#product .block-product-attribute-custom .checkbox {
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom label.control-label {
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  min-height:142px !important;
  margin:0 !important;
  padding:11px !important;
  overflow:hidden !important;
  border:1px solid var(--ubd-line) !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 7px 18px rgba(24,51,58,.055) !important;
  cursor:pointer !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom label.control-label > div:first-child {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:7px !important;
  width:100% !important;
  min-width:0 !important;
  text-align:center !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom img.ets_zoom_img {
  display:block !important;
  width:62px !important;
  min-width:62px !important;
  height:62px !important;
  margin:0 auto !important;
  object-fit:contain !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .attr-text {
  display:block !important;
  width:100% !important;
  color:var(--ubd-ink) !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
  text-align:center !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .product-discount {
  display:block !important;
  margin-top:4px !important;
  color:var(--ubd-coral) !important;
  font-size:11px !important;
}

html.ubd-product-ready body#product .block-product-attribute-custom .ets_attr_desc_small {
  display:none !important;
}

/* No se toca .ets_input_group, input, .ets_input_radio ni .ets_input_check. */

/* El modo sencillo solo compacta; no oculta ni mueve controles. */
html.ubd-product-ready.ubd-catalog-simple body#product .tv-product-page-content > .theiaStickySidebar {
  padding:16px !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .tvproduct-page-decs {
  font-size:13px;
  line-height:1.55;
}

.ubd-boot-splash {
  position:fixed; inset:0; z-index:2500; display:grid; place-items:center;
  padding:20px; background:rgba(255,255,255,.97);
  transition:opacity .28s ease,visibility .28s ease;
}
.ubd-boot-splash.is-leaving { opacity:0; visibility:hidden; pointer-events:none; }
.ubd-boot-splash-card { display:grid; gap:10px; justify-items:center; max-width:320px; text-align:center; }
.ubd-boot-logo { display:grid; place-items:center; width:96px; height:96px; padding:12px; border-radius:22px; background:var(--ubd-paper); box-shadow:var(--ubd-shadow); }
.ubd-boot-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.ubd-boot-splash-card strong { font-family:"Protest Strike",Impact,sans-serif; font-size:32px; line-height:.95; color:var(--ubd-ink); text-transform:uppercase; }
.ubd-boot-splash-card span { color:var(--ubd-muted); font-size:12px; }

.ubd-catalog-mode-wrap {
  display:grid; gap:9px; align-items:center; width:min(100% - 18px,1180px);
  margin:18px auto 86px; padding:14px 16px; border-radius:20px;
  background:var(--ubd-paper); box-shadow:var(--ubd-shadow);
}
.ubd-catalog-mode-wrap strong { display:block; color:var(--ubd-ink); font-family:"Protest Strike",Impact,sans-serif; font-size:22px; line-height:.95; text-transform:uppercase; }
.ubd-catalog-mode-wrap small { color:var(--ubd-muted); font-size:11px; line-height:1.5; }
.ubd-catalog-mode-switch { display:inline-grid; grid-auto-flow:column; gap:5px; padding:4px; border-radius:999px; background:#fff; }
.ubd-catalog-mode-switch button { min-width:106px; min-height:40px; padding:0 13px; border:0; border-radius:999px; background:transparent; color:var(--ubd-ink); font-size:10px; font-weight:800; text-transform:uppercase; }
.ubd-catalog-mode-switch button.is-active { background:var(--ubd-teal); color:#fff; }

.ubd-catalog-bottom-nav {
  position:fixed; right:9px; bottom:calc(8px + env(safe-area-inset-bottom)); left:9px;
  z-index:1100; display:grid; grid-template-columns:repeat(5,1fr); gap:5px;
  height:56px; padding:5px 7px; border:1px solid rgba(255,255,255,.8);
  border-radius:19px; background:rgba(255,255,255,.94); backdrop-filter:blur(18px);
  box-shadow:0 18px 42px rgba(24,51,58,.16);
}
.ubd-catalog-bottom-nav > * { display:grid; place-items:center; width:100%; height:44px; padding:0; border:0; border-radius:13px; background:transparent; color:var(--ubd-ink); text-decoration:none; }
.ubd-catalog-bottom-nav svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.9; }
.ubd-catalog-bottom-nav .ubd-catalog-bottom-main { background:var(--ubd-yellow); color:#4b382e; }
.ubd-catalog-bottom-nav .ubd-catalog-bottom-main svg { width:29px; height:29px; fill:currentColor; stroke:currentColor; }
.ubd-catalog-preview-toggle { position:fixed; right:9px; bottom:calc(70px + env(safe-area-inset-bottom)); z-index:1110; min-height:28px; padding:5px 8px; border:0; border-radius:8px; background:var(--ubd-ink); color:#fff; font-size:8px; font-weight:800; }

.ubd-simple-product-drawer,.ubd-simple-product-backdrop,.ubd-simple-product-panel,.ubd-simple-product-launcher,.ubd-expert-drawer-launcher { display:none !important; }

@media (min-width:700px) {
  .ubd-catalog-mode-wrap { grid-template-columns:minmax(0,1fr) auto; }
  .ubd-catalog-bottom-nav { left:50%; width:min(100% - 18px,520px); transform:translateX(-50%); }
}
@media (min-width:900px) {
  html.ubd-product-ready body#product .block-product-attribute-custom .from-group-option { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
  html.ubd-product-ready body#product .block-product-attribute-custom label.control-label { min-height:154px !important; }
}
@media (max-width:699px) {
  html.ubd-product-ready body#product .tvproduct-page-wrapper { width:min(100% - 12px,1180px); }
  html.ubd-product-ready body#product .tv-product-page-image { padding:8px !important; border-radius:18px; }
  html.ubd-product-ready body#product .tv-product-page-content > .theiaStickySidebar { padding:14px !important; border-radius:18px; }
  html.ubd-product-ready body#product .tvcmsVerticalSlider img,
  html.ubd-product-ready body#product .product-cover img,
  html.ubd-product-ready body#product .product-images img { max-height:58vh !important; }
}

/* =========================================================
   1.3.0 · GALERÍA CENTRADA Y FORMULARIO NATIVO INTOCABLE
   ========================================================= */

/* No se modifica pointer-events, z-index, posición ni eventos de los inputs,
   labels, Globo incluido, ETS Extra Options o Añadir al carrito. */
html.ubd-product-ready body#product .block-product-attribute-custom img[data-ubd-ets-select-image="1"] {
  cursor:pointer !important;
  user-select:none !important;
  -webkit-user-drag:none !important;
}

html.ubd-product-ready body#product .tv-product-page-image.ubd-single-product-image .product-images,
html.ubd-product-ready body#product .tv-product-page-image.ubd-single-product-image .slick-list,
html.ubd-product-ready body#product .tv-product-page-image.ubd-single-product-image .slick-track {
  width:100% !important;
  max-width:100% !important;
  margin-right:auto !important;
  margin-left:auto !important;
  padding-right:0 !important;
  padding-left:0 !important;
  transform:none !important;
}
html.ubd-product-ready body#product .tv-product-page-image.ubd-single-product-image .slick-track {
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
}
html.ubd-product-ready body#product .tv-product-page-image.ubd-single-product-image .slick-slide {
  float:none !important;
  width:min(100%,724px) !important;
  margin-right:auto !important;
  margin-left:auto !important;
}
html.ubd-product-ready body#product .tv-product-page-image.ubd-single-product-image .tvcmsVerticalSlider,
html.ubd-product-ready body#product .tv-product-page-image.ubd-single-product-image picture,
html.ubd-product-ready body#product .tv-product-page-image.ubd-single-product-image img {
  margin-right:auto !important;
  margin-left:auto !important;
}

/* En experto no se muestra la barra inferior. En sencillo reaparece compacta. */
html.ubd-product-ready:not(.ubd-catalog-simple) body#product .ubd-catalog-bottom-nav { display:none !important; }


/* =========================================================
   1.3.1 · PRODUCTO SENCILLO, MÍNIMO Y 100% NATIVO
   ========================================================= */
html.ubd-product-ready.ubd-catalog-simple body#product {
  padding-bottom:68px !important;
}

/* Header y elementos editoriales fuera del recorrido simple. Solo se ocultan. */
html.ubd-product-ready.ubd-catalog-simple body#product #header,
html.ubd-product-ready.ubd-catalog-simple body#product #tvcms-mobile-view-header,
html.ubd-product-ready.ubd-catalog-simple body#product .breadcrumb,
html.ubd-product-ready.ubd-catalog-simple body#product nav[data-depth],
html.ubd-product-ready.ubd-catalog-simple body#product .tvproduct-description-tab,
html.ubd-product-ready.ubd-catalog-simple body#product #main > .ets_rv_wrap,
html.ubd-product-ready.ubd-catalog-simple body#product .tvproduct-title-brandimage,
html.ubd-product-ready.ubd-catalog-simple body#product .tvproduct-page-decs,
html.ubd-product-ready.ubd-catalog-simple body#product .tv-product-page-add-to-cart-wrapper .tvproduct-stock-social,
html.ubd-product-ready.ubd-catalog-simple body#product .tvproduct-wishlist-compare,
html.ubd-product-ready.ubd-catalog-simple body#product .social-sharing {
  display:none !important;
}

html.ubd-product-ready.ubd-catalog-simple body#product #wrapper,
html.ubd-product-ready.ubd-catalog-simple body#product #content-wrapper,
html.ubd-product-ready.ubd-catalog-simple body#product #main {
  margin-top:0 !important;
  padding-top:0 !important;
}

html.ubd-product-ready.ubd-catalog-simple body#product .tvproduct-page-wrapper {
  width:min(100% - 10px,920px) !important;
  margin:5px auto 14px !important;
}

html.ubd-product-ready.ubd-catalog-simple body#product .tvprduct-image-info-wrapper {
  gap:9px !important;
}

.ubd-simple-product-title-top {
  width:100%;
  margin:0;
  padding:12px 14px 3px;
  scroll-margin-top:8px;
  text-align:center;
}
.ubd-simple-product-title-top h1 {
  margin:0 !important;
  color:var(--ubd-ink) !important;
  font-family:"Protest Strike",Impact,sans-serif !important;
  font-size:clamp(30px,8vw,48px) !important;
  font-weight:400 !important;
  line-height:.94 !important;
  text-transform:uppercase !important;
}

html.ubd-product-ready.ubd-catalog-simple body#product .tv-product-page-image {
  padding:6px !important;
  border-radius:17px !important;
  background:#fff !important;
  box-shadow:none !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .tvcmsVerticalSlider img,
html.ubd-product-ready.ubd-catalog-simple body#product .product-cover img,
html.ubd-product-ready.ubd-catalog-simple body#product .product-images img {
  max-height:min(62vh,620px) !important;
}

html.ubd-product-ready.ubd-catalog-simple body#product .tv-product-page-content > .theiaStickySidebar {
  padding:12px 10px 18px !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

html.ubd-product-ready.ubd-catalog-simple body#product .product-prices {
  text-align:center !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .product-prices .current-price {
  justify-content:center !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .product-prices .current-price .price,
html.ubd-product-ready.ubd-catalog-simple body#product .product-prices .current-price span {
  font-size:clamp(30px,9vw,42px) !important;
}

/* Rating: únicamente estrellas, sin rótulo ni número de reseñas. */
html.ubd-product-ready.ubd-catalog-simple body#product .comments-note > span,
html.ubd-product-ready.ubd-catalog-simple body#product .comments-note .ets-rv-comments-nb {
  display:none !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ets-rv-product-comments-additional-info,
html.ubd-product-ready.ubd-catalog-simple body#product .ets-rv-btn-read-user,
html.ubd-product-ready.ubd-catalog-simple body#product .comments-note {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  margin:4px auto 8px !important;
  text-decoration:none !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ets_rv_grade_stars {
  margin:0 auto !important;
}

.ubd-simple-product-description {
  margin:8px 0 16px;
  border:1px solid var(--ubd-line);
  border-radius:15px;
  background:var(--ubd-paper);
  overflow:hidden;
}
.ubd-simple-product-description summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:10px 14px;
  cursor:pointer;
  list-style:none;
  color:var(--ubd-ink);
  font-size:13px;
  font-weight:800;
}
.ubd-simple-product-description summary::-webkit-details-marker { display:none; }
.ubd-simple-product-description > div {
  padding:0 14px 14px;
  color:var(--ubd-muted);
  font-size:13px;
  line-height:1.65;
}

/* Cantidad y botón siguen siendo los controles originales de PrestaShop. */
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity {
  display:grid !important;
  grid-template-columns:auto minmax(92px,128px) !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  margin:20px 0 10px !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity > .control-label {
  margin:0 !important;
  color:var(--ubd-ink) !important;
  font-size:13px !important;
  font-weight:800 !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity .qty {
  width:100% !important;
  margin:0 !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .tv-product-page-add-to-cart-wrapper,
html.ubd-product-ready.ubd-catalog-simple body#product .tvcart-btn-model {
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product button.add-to-cart,
html.ubd-product-ready.ubd-catalog-simple body#product [data-button-action="add-to-cart"] {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  min-height:66px !important;
  padding:14px 18px !important;
  border:0 !important;
  border-radius:18px !important;
  background:var(--ubd-orange) !important;
  color:#fff !important;
  box-shadow:0 14px 28px rgba(231,146,60,.28) !important;
  font-size:17px !important;
  font-weight:800 !important;
  text-transform:none !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product button.add-to-cart span {
  color:#fff !important;
  font-size:17px !important;
  font-weight:800 !important;
}

/* Footer mínimo: solo el legal real del tema. */
html.ubd-product-ready.ubd-catalog-simple body#product #footer .footer-container > *:not(.tvfooter-copy-payment-icon-wrapper),
html.ubd-product-ready.ubd-catalog-simple body#product #footer .tvfooter-payment-icon-img-block,
html.ubd-product-ready.ubd-catalog-simple body#product #footer .ubd-white-notif {
  display:none !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product #footer,
html.ubd-product-ready.ubd-catalog-simple body#product #footer .footer-container,
html.ubd-product-ready.ubd-catalog-simple body#product #footer .tvfooter-copy-payment-icon-wrapper,
html.ubd-product-ready.ubd-catalog-simple body#product #footer .tvfooter-copy-payment-icon-content,
html.ubd-product-ready.ubd-catalog-simple body#product #footer .tvfooter-copy-payment-icon-inner {
  display:block !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product #footer .tvcopylink {
  display:block !important;
  float:none !important;
  width:100% !important;
  max-width:none !important;
  padding:12px 10px !important;
  text-align:center !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product #footer .tvcopylink p {
  margin:0 !important;
  color:var(--ubd-muted) !important;
  font-size:10px !important;
}

/* Menú inferior pequeño únicamente en producto sencillo. */
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-catalog-bottom-nav {
  right:50% !important;
  left:auto !important;
  bottom:calc(6px + env(safe-area-inset-bottom)) !important;
  display:grid !important;
  width:min(calc(100% - 20px),360px) !important;
  height:48px !important;
  padding:4px 6px !important;
  border-radius:16px !important;
  transform:translateX(50%) !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-catalog-bottom-nav > * {
  height:38px !important;
  border-radius:11px !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-catalog-bottom-nav svg {
  width:20px !important;
  height:20px !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-catalog-bottom-nav .ubd-catalog-bottom-main svg {
  width:24px !important;
  height:24px !important;
}

html.ubd-product-ready.ubd-catalog-simple body#product .ubd-catalog-mode-wrap {
  margin-top:8px !important;
  margin-bottom:66px !important;
}

@media (max-width:699px) {
  .ubd-simple-product-title-top { padding:9px 8px 0; }
  html.ubd-product-ready.ubd-catalog-simple body#product .tv-product-page-content > .theiaStickySidebar { padding:8px 6px 14px !important; }
  html.ubd-product-ready.ubd-catalog-simple body#product .product-quantity { grid-template-columns:auto minmax(92px,116px) !important; }
}


/* =========================================================
   1.3.2 · PRODUCTO SENCILLO: LEGAL LIMPIO Y SIN ENLACES HUÉRFANOS
   ========================================================= */
html.ubd-product-ready.ubd-catalog-simple body#product #footer {
    display: none !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-simple-legal {
    display: block !important;
    width: min(100% - 12px, 920px) !important;
    margin: 8px auto 0 !important;
    padding: 12px 8px !important;
    color: var(--ubd-muted) !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
    text-align: center !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-simple-legal p {
    margin: 0 !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-simple-legal a {
    color: var(--ubd-teal) !important;
    text-decoration: none !important;
}
/* Todo contenido editorial posterior al bloque principal queda oculto; los
   modales activos conservan su funcionamiento cuando PrestaShop los abre. */
html.ubd-product-ready.ubd-catalog-simple body#product #main > :not(.tvproduct-page-wrapper):not(.modal.show):not(.modal.in) {
    display: none !important;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-catalog-mode-wrap {
    margin-top: 4px !important;
    margin-bottom: 62px !important;
}

/* Legal clonado permanece oculto en experto. */
html.ubd-product-ready body#product .ubd-simple-legal {
  display:none;
}
html.ubd-product-ready.ubd-catalog-simple body#product .ubd-simple-legal {
  display:block !important;
}

/* Menú de producto sencillo aún más angosto y con ocultación animada segura. */
html.ubd-product-ready body#product .ubd-catalog-bottom-nav {
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease !important;
}
html.ubd-product-ready body#product .ubd-catalog-bottom-nav.ubd-nav-hidden {
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
@media (max-width:699px) {
  html.ubd-product-ready.ubd-catalog-simple body#product .ubd-catalog-bottom-nav {
    width:min(calc(100% - 116px),320px) !important;
  }
  html.ubd-product-ready body#product .ubd-catalog-bottom-nav.ubd-nav-hidden {
    transform:translate(50%,18px) !important;
  }
}
@media (min-width:700px) {
  html.ubd-product-ready body#product .ubd-catalog-bottom-nav.ubd-nav-hidden {
    transform:translate(-50%,18px) !important;
  }
}
