:root {
  --jr-woo-blue: #1664d6;
  --jr-woo-black: #07090c;
  --jr-woo-cream: #f3f0eb;
  --jr-woo-paper: #faf8f4;
  --jr-woo-warm: #e9e5de;
  --jr-woo-white: #fff;
  --jr-woo-copy: rgba(7,9,12,.64);
  --jr-woo-muted: rgba(7,9,12,.46);
  --jr-woo-line: rgba(7,9,12,.11);
  --jr-woo-max: 1380px;
}

body.jr-woo-product-page,
body.jr-woo-product-page #page-container,
body.jr-woo-product-page #et-main-area,
body.jr-woo-product-page #main-content {
  background: var(--jr-woo-paper) !important;
}

body.jr-woo-product-page #main-content .container,
body.jr-woo-product-page #main-content .container.et_menu_container,
body.jr-woo-product-page #left-area {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.jr-woo-product-page #sidebar,
body.jr-woo-product-page .container::before,
body.jr-woo-product-page .et_right_sidebar #left-area {
  display: none !important;
}

body.jr-woo-product-page .woocommerce,
body.jr-woo-product-page .woocommerce * {
  box-sizing: border-box;
  font-family: "Raleway", Arial, sans-serif !important;
}

.jr-product-shell {
  width: 100%;
  overflow: clip;
  background: var(--jr-woo-paper);
  color: var(--jr-woo-black);
}

.jr-product-breadcrumb {
  width: min(calc(100% - 64px), var(--jr-woo-max));
  margin: 0 auto;
  padding: 102px 0 16px;
  color: var(--jr-woo-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jr-product-breadcrumb a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color .18s ease;
}

.jr-product-breadcrumb a:hover { color: var(--jr-woo-black) !important; }
.jr-product-breadcrumb span { margin: 0 9px; color: var(--jr-woo-blue); }

body.jr-woo-product-page div.product { width: 100% !important; margin: 0 !important; }

/* =========================================================
   HERO PRODUCTO — EDITORIAL / PREMIUM
   ========================================================= */
.jr-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  gap: clamp(54px, 6vw, 94px);
  width: min(calc(100% - 64px), var(--jr-woo-max));
  margin: 0 auto;
  padding: 10px 0 clamp(84px, 9vw, 132px);
  align-items: start;
}

.jr-product-hero::before { display: none; }

.jr-product-hero .woocommerce-product-gallery {
  position: sticky !important;
  top: 96px;
  z-index: 1;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 52vw, 690px);
  border: 1px solid rgba(7,9,12,.06);
  border-radius: 26px;
  background: var(--jr-woo-warm);
}

.jr-product-hero .woocommerce-product-gallery__wrapper::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(61%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--jr-woo-blue);
  content: "";
  opacity: .12;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.jr-product-hero .woocommerce-product-gallery__image,
.jr-product-hero .woocommerce-product-gallery__image a {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  place-items: center;
  background: transparent !important;
}

.jr-product-hero .woocommerce-product-gallery__image img {
  display: block;
  width: min(78%, 590px) !important;
  height: auto !important;
  max-height: 625px;
  margin: auto !important;
  padding: clamp(26px, 3vw, 46px) !important;
  object-fit: contain;
  filter: drop-shadow(0 26px 32px rgba(7,9,12,.10));
}

.jr-product-hero .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  top: 20px !important;
  right: 20px !important;
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  place-items: center;
  border: 1px solid rgba(7,9,12,.10);
  border-radius: 50%;
  background: rgba(255,255,255,.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.jr-product-hero .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

.jr-product-hero .flex-control-thumbs li { float: none !important; width: auto !important; margin: 0 !important; }

.jr-product-hero .flex-control-thumbs img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--jr-woo-warm);
  opacity: .62;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.jr-product-hero .flex-control-thumbs img.flex-active,
.jr-product-hero .flex-control-thumbs img:hover {
  border-color: var(--jr-woo-blue);
  opacity: 1;
  transform: translateY(-2px);
}

/* =========================================================
   PANEL DE COMPRA
   ========================================================= */
.jr-product-hero .summary {
  position: sticky;
  top: 104px;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: clamp(24px, 2.6vw, 38px) 0 0;
}

.jr-product-editorial-heading { margin-bottom: 16px; }

.jr-product-eyebrow {
  margin: 0 0 18px !important;
  color: var(--jr-woo-blue) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase;
}

.jr-product-title {
  max-width: 610px;
  margin: 0 !important;
  color: var(--jr-woo-black) !important;
  font-size: clamp(46px, 4.3vw, 68px) !important;
  font-weight: 900 !important;
  line-height: .94 !important;
  letter-spacing: -.058em !important;
}

.jr-product-hero .summary > .price {
  display: block;
  margin: 24px 0 27px !important;
  color: var(--jr-woo-blue) !important;
  font-size: clamp(23px, 1.9vw, 29px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.jr-product-hero .woocommerce-product-details__short-description {
  max-width: 590px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--jr-woo-line);
  color: var(--jr-woo-copy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.72;
}

.jr-product-hero .woocommerce-product-details__short-description p { margin: 0 0 14px !important; }
.jr-product-hero .woocommerce-product-details__short-description p:last-child {
  margin: 18px 0 0 !important;
  color: var(--jr-woo-black);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jr-product-hero form.variations_form { margin-top: 26px !important; }

.jr-product-hero table.variations,
.jr-product-hero table.variations tbody,
.jr-product-hero table.variations tr,
.jr-product-hero table.variations th,
.jr-product-hero table.variations td {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
}

.jr-product-hero table.variations th.label label {
  display: block;
  margin: 0 0 12px;
  color: var(--jr-woo-black);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.jr-product-hero table.variations select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.jr-variation-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 9px;
}

.jr-variation-pill {
  min-width: 50px;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid rgba(7,9,12,.14);
  border-radius: 12px;
  background: transparent;
  color: var(--jr-woo-black);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.jr-variation-pill:hover,
.jr-variation-pill:focus-visible {
  border-color: var(--jr-woo-black);
  outline: none;
  transform: translateY(-2px);
}

.jr-variation-pill.is-selected {
  border-color: var(--jr-woo-black);
  background: var(--jr-woo-black);
  color: #fff;
}

.jr-variation-pill.is-unavailable,
.jr-variation-pill:disabled {
  border-color: rgba(7,9,12,.07);
  background: rgba(7,9,12,.035);
  color: rgba(7,9,12,.28);
  cursor: not-allowed;
  opacity: 1;
  text-decoration: line-through;
  transform: none;
}

.jr-product-hero .reset_variations {
  display: inline-block !important;
  margin-top: 4px !important;
  color: var(--jr-woo-muted) !important;
  font-size: 9px !important;
  font-weight: 650 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.jr-product-hero .single_variation_wrap { margin-top: 18px; }
.jr-product-hero .woocommerce-variation-price { display: none; }
.jr-product-hero .woocommerce-variation-availability { margin: 0 0 12px; color: var(--jr-woo-muted); font-size: 11px; }

.jr-product-hero .woocommerce-variation-add-to-cart {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  gap: 10px;
  align-items: stretch;
}

.jr-product-hero .quantity {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  float: none !important;
  width: 112px;
  height: 58px;
  margin: 0 !important;
  border: 1px solid rgba(7,9,12,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.35);
}

.jr-product-hero .quantity .qty {
  grid-column: 2;
  width: 100% !important;
  height: 56px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--jr-woo-black) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  text-align: center;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.jr-product-hero .quantity .qty::-webkit-inner-spin-button,
.jr-product-hero .quantity .qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }

.jr-qty-button {
  display: grid;
  width: 32px;
  height: 56px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jr-woo-black);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
.jr-qty-button:hover { color: var(--jr-woo-blue); }
.jr-qty-button--minus { grid-column: 1; }
.jr-qty-button--plus { grid-column: 3; }

.jr-product-hero button.single_add_to_cart_button {
  width: 100%;
  min-height: 58px;
  margin: 0 !important;
  padding: 16px 26px !important;
  border: 1px solid var(--jr-woo-blue) !important;
  border-radius: 14px !important;
  background: var(--jr-woo-blue) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  box-shadow: 0 16px 36px rgba(22,100,214,.20) !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.jr-product-hero button.single_add_to_cart_button:hover,
.jr-product-hero button.single_add_to_cart_button:focus-visible {
  background: #0e55bc !important;
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(22,100,214,.27) !important;
}

.jr-product-hero button.single_add_to_cart_button.disabled {
  border-color: rgba(7,9,12,.10) !important;
  background: rgba(7,9,12,.08) !important;
  color: rgba(7,9,12,.38) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.jr-product-shipping-note {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 18px 0 0 !important;
  padding: 16px 0;
  border-top: 1px solid var(--jr-woo-line);
  border-bottom: 1px solid var(--jr-woo-line);
  color: var(--jr-woo-copy) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}
.jr-product-shipping-note span { color: var(--jr-woo-blue); font-weight: 900; }

.jr-product-utility {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}

.jr-product-utility__item {
  display: flex;
  min-width: 0;
  gap: 9px;
  align-items: flex-start;
}

.jr-product-utility__icon {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(22,100,214,.28);
  border-radius: 50%;
  color: var(--jr-woo-blue);
  font-size: 10px;
  font-weight: 900;
}

.jr-product-utility__item strong,
.jr-product-utility__item small { display: block; }
.jr-product-utility__item strong { color: var(--jr-woo-black); font-size: 9px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.jr-product-utility__item small { margin-top: 3px; color: var(--jr-woo-muted); font-size: 9px; font-weight: 500; line-height: 1.35; }

/* =========================================================
   HISTORIA
   ========================================================= */
.jr-product-story {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(88px, 10vw, 148px) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(22,100,214,.22), transparent 28%),
    var(--jr-woo-black);
  color: rgba(255,255,255,.69);
}

.jr-product-story__inner { width: min(calc(100% - 64px), 1040px); margin: 0 auto; }

.jr-product-story h2 {
  max-width: 860px;
  margin: clamp(66px,7vw,96px) 0 30px !important;
  color: var(--jr-woo-cream) !important;
  font-size: clamp(42px,5vw,70px) !important;
  font-weight: 900 !important;
  line-height: .94 !important;
  letter-spacing: -.055em !important;
}
.jr-product-story h2:first-child { margin-top: 0 !important; }

.jr-product-story p {
  max-width: 790px;
  margin: 0 0 22px !important;
  color: rgba(255,255,255,.67) !important;
  font-size: clamp(16px,1.25vw,18px) !important;
  font-weight: 500 !important;
  line-height: 1.78 !important;
}
.jr-product-story strong { color: #fff !important; font-weight: 700 !important; }
.jr-product-story a { color: #73a7f2 !important; }
.jr-product-story hr { height: 1px; margin: clamp(56px,6vw,84px) 0 !important; border: 0 !important; background: rgba(255,255,255,.12) !important; }
.jr-product-story iframe { display: block; border-radius: 18px; background: #000; }

/* =========================================================
   V1.3.5 — TAMBIÉN TE PUEDE GUSTAR
   - Tarjetas editoriales limpias, sin marco beige pesado.
   - 3 columnas desktop / 2 tablet / carrusel horizontal mobile.
   - CTA visual “Ver producto →” dentro del enlace del producto.
   - Badge de oferta integrado al sistema negro/azul de la marca.
   ========================================================= */
body.jr-woo-product-page .related.products,
body.jr-woo-product-page .upsells.products {
  width: min(calc(100% - 64px), var(--jr-woo-max));
  margin: 0 auto !important;
  padding: clamp(72px, 7vw, 108px) 0 clamp(88px, 8vw, 126px);
}

body.jr-woo-product-page .related.products > h2,
body.jr-woo-product-page .upsells.products > h2 {
  max-width: 760px;
  margin: 0 0 clamp(28px, 3vw, 42px) !important;
  color: var(--jr-woo-black) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: clamp(34px, 3.2vw, 48px) !important;
  font-weight: 900 !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}

body.jr-woo-product-page .related.products ul.products,
body.jr-woo-product-page .upsells.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin: 0 !important;
  padding: 0 !important;
}

body.jr-woo-product-page .related.products ul.products::before,
body.jr-woo-product-page .related.products ul.products::after,
body.jr-woo-product-page .upsells.products ul.products::before,
body.jr-woo-product-page .upsells.products ul.products::after {
  display: none !important;
  content: none !important;
}

body.jr-woo-product-page .related.products ul.products li.product,
body.jr-woo-product-page .upsells.products ul.products li.product {
  position: relative;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(7,9,12,.07);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(7,9,12,.02);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

body.jr-woo-product-page .related.products ul.products li.product:hover,
body.jr-woo-product-page .upsells.products ul.products li.product:hover {
  transform: translateY(-6px);
  border-color: rgba(22,100,214,.14);
  box-shadow: 0 22px 55px rgba(7,9,12,.09);
}

body.jr-woo-product-page .related.products ul.products li.product > a.woocommerce-LoopProduct-link,
body.jr-woo-product-page .upsells.products ul.products li.product > a.woocommerce-LoopProduct-link {
  display: block !important;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

body.jr-woo-product-page .related.products ul.products li.product a img,
body.jr-woo-product-page .upsells.products ul.products li.product a img {
  display: block;
  width: calc(100% - 24px) !important;
  aspect-ratio: 1 / 1;
  margin: 12px 12px 0 !important;
  padding: clamp(16px, 2vw, 26px);
  border-radius: 16px;
  background: #f7f5f1;
  object-fit: contain;
  transform: scale(1);
  transition: transform .34s ease;
}

body.jr-woo-product-page .related.products ul.products li.product:hover a img,
body.jr-woo-product-page .upsells.products ul.products li.product:hover a img {
  transform: scale(1.025);
}

body.jr-woo-product-page .related.products ul.products li.product .woocommerce-loop-product__title,
body.jr-woo-product-page .upsells.products ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0 !important;
  padding: 20px 20px 6px !important;
  overflow: hidden;
  color: var(--jr-woo-black) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: clamp(15px, 1.15vw, 17px) !important;
  font-weight: 800 !important;
  line-height: 1.34 !important;
  letter-spacing: -.018em !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.jr-woo-product-page .related.products ul.products li.product .price,
body.jr-woo-product-page .upsells.products ul.products li.product .price {
  display: block;
  margin: 0 !important;
  padding: 0 20px 8px !important;
  color: var(--jr-woo-blue) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.jr-woo-product-page .related.products ul.products li.product .price del,
body.jr-woo-product-page .upsells.products ul.products li.product .price del {
  margin-right: 6px;
  color: rgba(7,9,12,.42) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

body.jr-woo-product-page .related.products ul.products li.product .price ins,
body.jr-woo-product-page .upsells.products ul.products li.product .price ins {
  color: var(--jr-woo-blue) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* El card completo ya enlaza a la ficha; este CTA es visual y mantiene un solo destino. */
body.jr-woo-product-page .related.products ul.products li.product > a.woocommerce-LoopProduct-link::after,
body.jr-woo-product-page .upsells.products ul.products li.product > a.woocommerce-LoopProduct-link::after {
  content: 'Ver producto  →';
  display: inline-flex;
  align-items: center;
  margin: 10px 20px 20px;
  color: var(--jr-woo-black);
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

body.jr-woo-product-page .related.products ul.products li.product:hover > a.woocommerce-LoopProduct-link::after,
body.jr-woo-product-page .upsells.products ul.products li.product:hover > a.woocommerce-LoopProduct-link::after {
  color: var(--jr-woo-blue);
  transform: translateX(3px);
}

body.jr-woo-product-page .related.products ul.products li.product .button,
body.jr-woo-product-page .related.products ul.products li.product .added_to_cart,
body.jr-woo-product-page .upsells.products ul.products li.product .button,
body.jr-woo-product-page .upsells.products ul.products li.product .added_to_cart {
  display: none !important;
}

/* Sustituye visualmente el badge naranja nativo por uno editorial de marca. */
body.jr-woo-product-page .related.products ul.products li.product .onsale,
body.jr-woo-product-page .upsells.products ul.products li.product .onsale {
  z-index: 3;
  top: 24px !important;
  right: 24px !important;
  left: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--jr-woo-black) !important;
  color: #fff !important;
  font-size: 0 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 22px rgba(7,9,12,.16);
}

body.jr-woo-product-page .related.products ul.products li.product .onsale::after,
body.jr-woo-product-page .upsells.products ul.products li.product .onsale::after {
  content: 'OFERTA';
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

@media (max-width: 980px) {
  body.jr-woo-product-page .related.products ul.products,
  body.jr-woo-product-page .upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.jr-woo-product-page .related.products,
  body.jr-woo-product-page .upsells.products {
    width: calc(100% - 30px);
    padding: 64px 0 80px;
  }

  body.jr-woo-product-page .related.products > h2,
  body.jr-woo-product-page .upsells.products > h2 {
    margin-bottom: 24px !important;
    font-size: clamp(32px, 10vw, 40px) !important;
  }

  body.jr-woo-product-page .related.products ul.products,
  body.jr-woo-product-page .upsells.products ul.products {
    display: flex !important;
    gap: 14px;
    width: calc(100vw - 15px);
    margin-right: calc(15px - 50vw + 50%) !important;
    padding: 0 15px 14px 0 !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.jr-woo-product-page .related.products ul.products::-webkit-scrollbar,
  body.jr-woo-product-page .upsells.products ul.products::-webkit-scrollbar {
    display: none;
  }

  body.jr-woo-product-page .related.products ul.products li.product,
  body.jr-woo-product-page .upsells.products ul.products li.product {
    flex: 0 0 min(84vw, 330px) !important;
    width: min(84vw, 330px) !important;
    scroll-snap-align: start;
  }

  body.jr-woo-product-page .related.products ul.products li.product a img,
  body.jr-woo-product-page .upsells.products ul.products li.product a img {
    padding: 18px;
  }
}

/* =========================================================
   V1.3.9 — AVISOS DE WOOCOMMERCE
   Tarjetas compactas para confirmaciones, información y errores.
   ========================================================= */
body.jr-woo-product-page .woocommerce-message,
body.jr-woo-product-page .woocommerce-error,
body.jr-woo-product-page .woocommerce-info {
  width: min(calc(100% - 64px), var(--jr-woo-max));
  box-sizing: border-box;
  position: relative;
  min-height: 70px;
  margin: 28px auto 24px !important;
  padding: 20px 22px 20px 64px !important;
  border: 1px solid rgba(7,9,12,.09) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: var(--jr-woo-ink) !important;
  box-shadow: 0 14px 38px rgba(7,9,12,.08) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  list-style: none !important;
}

body.jr-woo-product-page .woocommerce-message {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.jr-woo-product-page .woocommerce-message::before,
body.jr-woo-product-page .woocommerce-info::before,
body.jr-woo-product-page .woocommerce-error::before {
  position: absolute !important;
  top: 50% !important;
  left: 20px !important;
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  place-items: center !important;
  transform: translateY(-50%) !important;
}

body.jr-woo-product-page .woocommerce-message::before {
  content: '\2713' !important;
  background: var(--jr-woo-blue) !important;
}

body.jr-woo-product-page .woocommerce-info::before {
  content: 'i' !important;
  background: var(--jr-woo-blue) !important;
}

body.jr-woo-product-page .woocommerce-error::before {
  content: '!' !important;
  background: #c83e3e !important;
}

body.jr-woo-product-page .woocommerce-error {
  border-color: rgba(200,62,62,.22) !important;
}

body.jr-woo-product-page .woocommerce-error li {
  margin: 0 !important;
}

body.jr-woo-product-page .woocommerce-message a.button,
body.jr-woo-product-page .woocommerce-info a.button {
  float: none !important;
  flex: 0 0 auto;
  order: 2;
  min-height: 44px;
  margin: 0 0 0 auto !important;
  padding: 0 20px !important;
  border: 1px solid var(--jr-woo-blue) !important;
  border-radius: 12px !important;
  background: var(--jr-woo-blue) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 42px !important;
  letter-spacing: .02em !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease !important;
}

body.jr-woo-product-page .woocommerce-message a.button:hover,
body.jr-woo-product-page .woocommerce-message a.button:focus-visible,
body.jr-woo-product-page .woocommerce-info a.button:hover,
body.jr-woo-product-page .woocommerce-info a.button:focus-visible {
  border-color: #0e55bc !important;
  background: #0e55bc !important;
  color: #fff !important;
  transform: translateY(-1px);
}

body.jr-woo-product-page .woocommerce-message a.button::before,
body.jr-woo-product-page .woocommerce-message a.button::after,
body.jr-woo-product-page .woocommerce-info a.button::before,
body.jr-woo-product-page .woocommerce-info a.button::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 1120px) {
  .jr-product-hero { grid-template-columns: minmax(0,1fr) minmax(360px,.92fr); gap: 42px; }
  .jr-product-title { font-size: clamp(44px, 5vw, 62px) !important; }
  .jr-product-utility { grid-template-columns: 1fr; gap: 9px; }
}

@media (max-width: 820px) {
  .jr-product-breadcrumb { width: calc(100% - 30px); padding-top: 88px; }
  .jr-product-hero { grid-template-columns: 1fr; width: calc(100% - 30px); gap: 34px; padding-bottom: 72px; }
  .jr-product-hero .woocommerce-product-gallery,
  .jr-product-hero .summary { position: relative !important; top: auto; }
  .jr-product-hero .woocommerce-product-gallery__wrapper { min-height: 0; }
  .jr-product-hero .woocommerce-product-gallery__image,
  .jr-product-hero .woocommerce-product-gallery__image a { min-height: 0; }
  .jr-product-title { font-size: clamp(44px,11vw,64px) !important; }
  .jr-product-story__inner,
  body.jr-woo-product-page .related.products,
  body.jr-woo-product-page .upsells.products { width: calc(100% - 30px); }
}

@media (max-width: 560px) {
  body.jr-woo-product-page .woocommerce-message,
  body.jr-woo-product-page .woocommerce-error,
  body.jr-woo-product-page .woocommerce-info {
    width: calc(100% - 30px);
    min-height: 0;
    margin-top: 18px !important;
    padding: 54px 18px 18px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
  }

  body.jr-woo-product-page .woocommerce-message {
    display: block;
  }

  body.jr-woo-product-page .woocommerce-message::before,
  body.jr-woo-product-page .woocommerce-info::before,
  body.jr-woo-product-page .woocommerce-error::before {
    top: 16px !important;
    left: 18px !important;
    transform: none !important;
  }

  body.jr-woo-product-page .woocommerce-message a.button,
  body.jr-woo-product-page .woocommerce-info a.button {
    display: block !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
  }

  .jr-product-breadcrumb { font-size: 8px; }
  .jr-product-hero .woocommerce-product-gallery__image img { width: 88% !important; padding: 22px !important; }
  .jr-product-hero .flex-control-thumbs { gap: 7px; }
  .jr-product-hero .woocommerce-variation-add-to-cart { grid-template-columns: 94px minmax(0,1fr); gap: 8px; }
  .jr-product-hero .quantity { width: 94px; }
  .jr-product-utility { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .jr-variation-pill,
  .jr-product-hero button.single_add_to_cart_button,
  body.jr-woo-product-page ul.products li.product,
  .jr-product-hero .flex-control-thumbs img { transition: none !important; }
}

/* =========================================================
   V1.1.2 — GALERÍA LIMPIA / FLEXSLIDER ESTABLE
   - Mantiene el fondo blanco y elimina el panel café.
   - NO fuerza el ancho de cada slide: Woo/FlexSlider necesita
     sus anchos inline para calcular correctamente el carrusel.
   - La foto conserva su lienzo original y se presenta grande.
   ========================================================= */
.jr-product-hero .woocommerce-product-gallery,
.jr-product-hero .flex-viewport,
.jr-product-hero .woocommerce-product-gallery__wrapper {
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper {
  overflow: hidden;
  min-height: clamp(560px, 49vw, 720px) !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper::before {
  display: none !important;
}

/* Importante: no declarar width sobre .woocommerce-product-gallery__image.
   FlexSlider coloca ese ancho inline y lo usa para el translate del carrusel. */
.jr-product-hero .woocommerce-product-gallery__image,
.jr-product-hero .woocommerce-product-gallery__image a {
  position: relative;
  z-index: 1;
  min-height: clamp(560px, 49vw, 720px) !important;
  background: #ffffff !important;
}

.jr-product-hero .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.jr-product-hero .woocommerce-product-gallery__image img {
  display: block !important;
  width: 94% !important;
  max-width: 700px !important;
  height: auto !important;
  max-height: 690px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  filter: none !important;
}

.jr-product-hero .flex-control-thumbs {
  margin-top: 10px !important;
}

.jr-product-hero .flex-control-thumbs img {
  background: #ffffff !important;
}

@media (min-width: 981px) {
  .jr-product-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
    gap: clamp(48px, 5vw, 78px);
  }
}

@media (max-width: 980px) {
  .jr-product-hero .woocommerce-product-gallery__wrapper,
  .jr-product-hero .woocommerce-product-gallery__image,
  .jr-product-hero .woocommerce-product-gallery__image a {
    min-height: 0 !important;
  }

  .jr-product-hero .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
  }
}


/* =========================================================
   V1.1.3 — GALERÍA REDONDEADA + MINIATURAS CON AIRE + TIPO JR
   - Redondea el lienzo principal como en el resto del sitio.
   - Da separación real a miniaturas para que no se vean amontonadas.
   - Ajusta escala tipográfica para acercarla al sistema visual actual
     de Home / Shows / Biografía.
   ========================================================= */
.jr-product-breadcrumb {
  font-size: 10px;
  letter-spacing: .14em;
}

.jr-product-title {
  font-size: clamp(52px, 4.9vw, 76px) !important;
  line-height: .93 !important;
  letter-spacing: -.06em !important;
}

.jr-product-hero .summary > .price {
  font-size: clamp(24px, 2vw, 32px) !important;
}

.jr-product-hero .woocommerce-product-details__short-description {
  font-size: 16px;
  line-height: 1.75;
}

.jr-product-hero .woocommerce-product-details__short-description p:last-child,
.jr-product-hero table.variations th.label label,
.jr-product-eyebrow {
  font-size: 10px !important;
}

.jr-product-hero .woocommerce-product-gallery,
.jr-product-hero .flex-viewport,
.jr-product-hero .woocommerce-product-gallery__wrapper {
  border-radius: 28px !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper {
  overflow: hidden !important;
  border: 1px solid rgba(7,9,12,.05) !important;
  box-shadow: 0 24px 60px rgba(7,9,12,.05);
}

.jr-product-hero .woocommerce-product-gallery__image,
.jr-product-hero .woocommerce-product-gallery__image a {
  min-height: clamp(560px, 49vw, 720px) !important;
}

.jr-product-hero .woocommerce-product-gallery__image img {
  width: 92% !important;
  max-width: 680px !important;
}

.jr-product-hero .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap;
  gap: clamp(16px, 1.7vw, 24px) !important;
  margin-top: clamp(18px, 2vw, 26px) !important;
  align-items: flex-start;
}

.jr-product-hero .flex-control-thumbs li {
  flex: 0 0 clamp(108px, 9vw, 146px) !important;
  width: clamp(108px, 9vw, 146px) !important;
  margin: 0 !important;
}

.jr-product-hero .flex-control-thumbs img {
  display: block;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  border-radius: 20px !important;
  background: #ffffff !important;
  object-fit: cover;
}

@media (max-width: 1120px) {
  .jr-product-title {
    font-size: clamp(46px, 5.3vw, 66px) !important;
  }

  .jr-product-hero .flex-control-thumbs li {
    flex-basis: clamp(96px, 15vw, 126px) !important;
    width: clamp(96px, 15vw, 126px) !important;
  }
}

@media (max-width: 820px) {
  .jr-product-breadcrumb {
    font-size: 9px;
  }

  .jr-product-title {
    font-size: clamp(40px, 10vw, 58px) !important;
  }

  .jr-product-hero .woocommerce-product-details__short-description {
    font-size: 15px;
  }

  .jr-product-hero .woocommerce-product-gallery,
  .jr-product-hero .flex-viewport,
  .jr-product-hero .woocommerce-product-gallery__wrapper {
    border-radius: 22px !important;
  }
}

@media (max-width: 560px) {
  .jr-product-hero .flex-control-thumbs {
    gap: 12px !important;
  }

  .jr-product-hero .flex-control-thumbs li {
    flex: 0 0 calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
  }

  .jr-product-hero .flex-control-thumbs img {
    border-radius: 16px !important;
  }
}


/* =========================================================
   V1.1.4 — REFINAMIENTO PDP / BEST PRACTICES
   - Reduce el H1 para recuperar espacio útil y mostrar el CTA antes.
   - Mantiene la galería estable, blanca y con esquinas redondeadas.
   - Miniaturas con más aire y tamaño editorial más limpio.
   - Ajusta tipografías a una escala más cercana al sitio público.
   ========================================================= */
.jr-product-hero {
  grid-template-columns: minmax(0, 1.06fr) minmax(400px, .94fr);
  gap: clamp(42px, 5vw, 72px);
  padding: 6px 0 clamp(72px, 8vw, 112px);
}

.jr-product-hero .summary {
  top: 96px;
  padding-top: 8px;
}

.jr-product-editorial-heading { margin-bottom: 10px; }

.jr-product-eyebrow {
  margin: 0 0 14px !important;
  font-size: 10px !important;
  letter-spacing: .18em !important;
}

.jr-product-title {
  max-width: 560px;
  font-size: clamp(46px, 4vw, 64px) !important;
  line-height: .94 !important;
  letter-spacing: -.058em !important;
}

.jr-product-hero .summary > .price {
  margin: 20px 0 20px !important;
  font-size: clamp(26px, 1.85vw, 30px) !important;
}

.jr-product-hero .woocommerce-product-details__short-description {
  max-width: 560px;
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.68;
}

.jr-product-hero .woocommerce-product-details__short-description p {
  margin: 0 0 12px !important;
}

.jr-product-hero .woocommerce-product-details__short-description p:last-child {
  margin: 16px 0 0 !important;
  font-size: 10px !important;
}

.jr-product-hero form.variations_form { margin-top: 20px !important; }
.jr-product-hero table.variations th.label label { margin-bottom: 10px; font-size: 10px; }
.jr-product-hero .single_variation_wrap { margin-top: 14px; }

.jr-product-hero .woocommerce-variation-add-to-cart {
  grid-template-columns: 104px minmax(0,1fr);
  gap: 12px;
}

.jr-product-hero .quantity {
  width: 104px;
  height: 56px;
  border-radius: 16px;
}

.jr-product-hero .quantity .qty,
.jr-qty-button {
  height: 54px;
}

.jr-product-hero button.single_add_to_cart_button {
  min-height: 56px;
  border-radius: 16px !important;
  font-size: 11px !important;
  letter-spacing: .13em !important;
}

.jr-product-shipping-note {
  margin: 16px 0 0 !important;
  padding: 14px 0;
}

.jr-product-utility {
  gap: 14px;
  margin-top: 16px;
}

.jr-product-hero .woocommerce-product-gallery,
.jr-product-hero .flex-viewport {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper {
  min-height: clamp(520px, 46vw, 660px) !important;
  border: 1px solid rgba(7,9,12,.06) !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 44px rgba(7,9,12,.045) !important;
  overflow: hidden !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper::before {
  display: none !important;
}

.jr-product-hero .woocommerce-product-gallery__image,
.jr-product-hero .woocommerce-product-gallery__image a {
  min-height: clamp(520px, 46vw, 660px) !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.jr-product-hero .woocommerce-product-gallery__image img {
  width: 90% !important;
  max-width: 640px !important;
  max-height: 620px !important;
  margin: 0 auto !important;
  padding: 8px !important;
  object-fit: contain !important;
  filter: none !important;
}

.jr-product-hero .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  top: 16px !important;
  right: 16px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.9) !important;
}

.jr-product-hero .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 18px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

.jr-product-hero .flex-control-thumbs li {
  float: none !important;
  flex: 0 0 108px !important;
  width: 108px !important;
  margin: 0 !important;
}

.jr-product-hero .flex-control-thumbs img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(7,9,12,.08);
  border-radius: 18px !important;
  background: #ffffff !important;
  opacity: .72;
  object-fit: cover;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.jr-product-hero .flex-control-thumbs img.flex-active,
.jr-product-hero .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: var(--jr-woo-blue);
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .jr-product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .94fr);
    gap: 38px;
  }

  .jr-product-title {
    font-size: clamp(42px, 4.6vw, 58px) !important;
  }
}

@media (max-width: 980px) {
  .jr-product-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jr-product-hero .summary,
  .jr-product-hero .woocommerce-product-gallery {
    position: relative !important;
    top: auto !important;
  }

  .jr-product-hero .woocommerce-product-gallery__wrapper,
  .jr-product-hero .woocommerce-product-gallery__image,
  .jr-product-hero .woocommerce-product-gallery__image a {
    min-height: 0 !important;
  }

  .jr-product-hero .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
  }
}

@media (max-width: 560px) {
  .jr-product-title {
    font-size: clamp(38px, 10.6vw, 52px) !important;
  }

  .jr-product-hero .woocommerce-variation-add-to-cart {
    grid-template-columns: 92px minmax(0,1fr);
    gap: 8px;
  }

  .jr-product-hero .quantity {
    width: 92px;
  }

  .jr-product-hero .flex-control-thumbs {
    gap: 12px !important;
  }

  .jr-product-hero .flex-control-thumbs li {
    flex-basis: 84px !important;
    width: 84px !important;
  }
}


/* =========================================================
   V1.2.0 — PURCHASE FLOW TIPO LUUNA / IDENTIDAD JR
   ========================================================= */
.jr-product-breadcrumb {
  padding-top: 94px;
  padding-bottom: 12px;
}

.jr-product-hero {
  padding-top: 0;
}

.jr-purchase-step {
  margin: 0;
}

.jr-purchase-step--size {
  margin-top: 18px;
  margin-bottom: 2px;
}

.jr-purchase-step--cart {
  margin: 4px 0 10px;
}

.jr-purchase-step__heading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--jr-woo-black);
  font-size: 12px;
  line-height: 1.2;
}

.jr-purchase-step__heading strong {
  font-size: 12px;
  font-weight: 800;
}

.jr-purchase-step__number {
  color: var(--jr-woo-blue);
  font-size: 12px;
  font-weight: 900;
}

.jr-size-guide-open,
.jr-inline-link {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jr-woo-blue) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
}

.jr-size-guide-open:hover,
.jr-inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jr-product-hero table.variations th.label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.jr-product-hero form.variations_form {
  margin-top: 8px !important;
}

.jr-size-helper {
  margin: 8px 0 0 !important;
  color: var(--jr-woo-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.jr-size-helper strong {
  color: var(--jr-woo-black);
  font-weight: 750;
}

.jr-size-helper .jr-size-guide-open {
  margin-left: 3px;
  font-size: 11px;
}

.jr-product-hero .single_variation_wrap {
  margin-top: 10px;
}

.jr-product-shipping-note {
  margin-top: 14px !important;
  padding: 12px 0;
  font-size: 11px !important;
}

.jr-product-utility {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--jr-woo-line);
  border-bottom: 1px solid var(--jr-woo-line);
}

.jr-product-utility__item {
  gap: 8px;
  align-items: center;
  min-height: 62px;
  padding: 12px 12px 12px 0;
  color: inherit;
  text-decoration: none !important;
}

.jr-product-utility__item + .jr-product-utility__item {
  padding-left: 12px;
  border-left: 1px solid var(--jr-woo-line);
}

.jr-product-utility__icon {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
}

.jr-product-utility__item strong {
  font-size: 9px;
  letter-spacing: .02em;
  text-transform: none;
}

.jr-product-utility__item small {
  font-size: 9px;
}

/* Información práctica después de la historia */
.jr-product-info {
  padding: clamp(64px, 7vw, 100px) 0;
  background: var(--jr-woo-paper);
}

.jr-product-info__inner {
  width: min(calc(100% - 64px), 980px);
  margin: 0 auto;
}

.jr-product-info__eyebrow {
  margin-bottom: 24px;
  color: var(--jr-woo-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.jr-product-accordions {
  border-top: 1px solid var(--jr-woo-line);
}

.jr-product-accordion {
  border-bottom: 1px solid var(--jr-woo-line);
}

.jr-product-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
  list-style: none;
  color: var(--jr-woo-black);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
  cursor: pointer;
}

.jr-product-accordion summary::-webkit-details-marker { display: none; }

.jr-product-accordion__plus {
  color: var(--jr-woo-blue);
  font-size: 24px;
  font-weight: 500;
  transition: transform .2s ease;
}

.jr-product-accordion[open] .jr-product-accordion__plus {
  transform: rotate(45deg);
}

.jr-product-accordion__content {
  max-width: 720px;
  padding: 0 0 28px;
  color: var(--jr-woo-copy);
  font-size: 15px;
  line-height: 1.75;
}

.jr-product-accordion__content p {
  margin: 0 0 12px !important;
}

.jr-product-accordion__content .jr-inline-link {
  display: inline-block;
  margin-left: 0;
  font-size: 11px;
}

/* Modal guía de tallas */
body.jr-size-guide-opened {
  overflow: hidden;
}

.jr-size-guide {
  position: fixed;
  inset: 0;
  z-index: 999999;
  opacity: 0;
  transition: opacity .2s ease;
}

.jr-size-guide.is-open {
  opacity: 1;
}

.jr-size-guide__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,9,12,.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.jr-size-guide__dialog {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 92vw);
  height: 100%;
  overflow-y: auto;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 54px);
  background: var(--jr-woo-paper);
  color: var(--jr-woo-black);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}

.jr-size-guide.is-open .jr-size-guide__dialog {
  transform: translateX(0);
}

.jr-size-guide__close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--jr-woo-line);
  border-radius: 50%;
  background: #fff;
  color: var(--jr-woo-black);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.jr-size-guide__eyebrow {
  margin: 48px 0 16px !important;
  color: var(--jr-woo-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
}

.jr-size-guide__dialog h2 {
  margin: 0 0 24px !important;
  color: var(--jr-woo-black) !important;
  font-size: clamp(44px, 5vw, 64px) !important;
  font-weight: 900 !important;
  line-height: .92 !important;
  letter-spacing: -.055em !important;
}

.jr-size-guide__dialog p {
  margin: 0 0 18px !important;
  color: var(--jr-woo-copy);
  font-size: 15px;
  line-height: 1.75;
}

.jr-size-guide__note {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
}

.jr-size-guide__fine {
  font-size: 12px !important;
  color: var(--jr-woo-muted) !important;
}

.jr-size-guide__contact {
  display: inline-flex;
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--jr-woo-blue);
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .jr-product-utility {
    grid-template-columns: 1fr;
  }

  .jr-product-utility__item + .jr-product-utility__item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--jr-woo-line);
  }
}

@media (max-width: 820px) {
  .jr-purchase-step__heading {
    flex-wrap: wrap;
  }

  .jr-purchase-step__heading .jr-size-guide-open {
    margin-left: auto;
  }

  .jr-product-info__inner {
    width: calc(100% - 30px);
  }
}

@media (max-width: 560px) {
  .jr-product-hero .woocommerce-variation-add-to-cart {
    grid-template-columns: 88px minmax(0,1fr);
  }

  .jr-product-hero .quantity {
    width: 88px;
  }

  .jr-product-accordion summary {
    min-height: 66px;
  }
}


/* =========================================================
   V1.2.1 — GALERÍA FLEXSLIDER CONSOLIDADA / FIX CRÍTICO
   WooCommerce/FlexSlider calcula los anchos de cada slide y el
   translateX inline. No modificar width/transform de los slides.
   El recorte debe ocurrir ÚNICAMENTE en .flex-viewport.
   ========================================================= */
.jr-product-hero .woocommerce-product-gallery {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.jr-product-hero .flex-viewport {
  overflow: hidden !important;
  border: 1px solid rgba(7,9,12,.06) !important;
  border-radius: 28px !important;
  background: #fff !important;
  box-shadow: 0 18px 44px rgba(7,9,12,.045) !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper {
  overflow: visible !important;
  min-height: clamp(520px, 46vw, 660px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper::before {
  display: none !important;
}

/* NO width, flex-basis, left ni transform aquí: FlexSlider manda. */
.jr-product-hero .woocommerce-product-gallery__image {
  min-height: clamp(520px, 46vw, 660px) !important;
  background: #fff !important;
}

.jr-product-hero .woocommerce-product-gallery__image a {
  display: flex !important;
  min-height: clamp(520px, 46vw, 660px) !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
}

.jr-product-hero .woocommerce-product-gallery__image img {
  display: block !important;
  width: 90% !important;
  max-width: 640px !important;
  height: auto !important;
  max-height: 620px !important;
  margin: 0 auto !important;
  padding: 8px !important;
  object-fit: contain !important;
  filter: none !important;
}

.jr-product-hero .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  z-index: 8 !important;
}

.jr-product-hero .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

.jr-product-hero .flex-control-thumbs li {
  float: none !important;
  flex: 0 0 108px !important;
  width: 108px !important;
  margin: 0 !important;
}

.jr-product-hero .flex-control-thumbs img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border: 1px solid rgba(7,9,12,.08) !important;
  border-radius: 18px !important;
  background: #fff !important;
  object-fit: cover !important;
}

@media (max-width: 980px) {
  .jr-product-hero .woocommerce-product-gallery__wrapper,
  .jr-product-hero .woocommerce-product-gallery__image,
  .jr-product-hero .woocommerce-product-gallery__image a {
    min-height: 0 !important;
  }

  .jr-product-hero .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
  }
}

@media (max-width: 560px) {
  .jr-product-hero .flex-viewport {
    border-radius: 20px !important;
  }

  .jr-product-hero .flex-control-thumbs {
    gap: 12px !important;
  }

  .jr-product-hero .flex-control-thumbs li {
    flex: 0 0 84px !important;
    width: 84px !important;
  }

  .jr-product-hero .flex-control-thumbs img {
    border-radius: 14px !important;
  }
}


/* =========================================================
   V1.2.2 — GALERÍA NATURAL / SIN LIENZO ARTIFICIAL
   Objetivo: respetar fotografías con distintas proporciones
   y evitar fondos o canvas forzados detrás de cada imagen.
   ========================================================= */
.jr-product-hero .flex-viewport {
  border: 0 !important;
  border-radius: 28px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.jr-product-hero .woocommerce-product-gallery__wrapper {
  min-height: 0 !important;
  background: transparent !important;
}

.jr-product-hero .woocommerce-product-gallery__image,
.jr-product-hero .woocommerce-product-gallery__image a {
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}

.jr-product-hero .woocommerce-product-gallery__image a {
  padding: 0 !important;
}

.jr-product-hero .woocommerce-product-gallery__image img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(78vh, 860px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 28px !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: none !important;
}

.jr-product-hero .flex-control-thumbs {
  gap: 16px !important;
  align-items: flex-start !important;
}

.jr-product-hero .flex-control-thumbs li {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.jr-product-hero .flex-control-thumbs img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  background: #fff !important;
}

@media (max-width: 980px) {
  .jr-product-hero .woocommerce-product-gallery__image img {
    max-height: none !important;
    border-radius: 20px !important;
  }

  .jr-product-hero .flex-viewport {
    border-radius: 20px !important;
  }
}


/* =========================================================
   V1.2.3 — ZOOM LIMPIO / MODAL DE IMAGEN
   Elimina artefactos del hover zoom y usa modal limpio al clic.
   ========================================================= */
.jr-product-hero .zoomImg,
.jr-product-hero img.zoomImg,
.jr-product-hero .woocommerce-product-gallery__image .zoomImg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.jr-product-hero .woocommerce-product-gallery__image a,
.jr-product-hero .woocommerce-product-gallery__image img,
.jr-product-hero .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  cursor: zoom-in !important;
}

.jr-gallery-modal-open {
  overflow: hidden !important;
}

.jr-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 10, 14, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity .18s ease;
}

.jr-gallery-modal.is-open {
  opacity: 1;
}

.jr-gallery-modal__stage {
  max-width: min(92vw, 1280px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jr-gallery-modal__image {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  background: #fff;
}

.jr-gallery-modal__close,
.jr-gallery-modal__nav {
  position: absolute;
  border: 0;
  outline: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jr-gallery-modal__close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 32px;
  line-height: 1;
}

.jr-gallery-modal__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 42px;
  line-height: 1;
}

.jr-gallery-modal__nav--prev { left: 22px; }
.jr-gallery-modal__nav--next { right: 22px; }

@media (max-width: 640px) {
  .jr-gallery-modal { padding: 16px; }
  .jr-gallery-modal__image { border-radius: 14px; }
  .jr-gallery-modal__nav { width: 42px; height: 42px; font-size: 34px; }
  .jr-gallery-modal__close { width: 42px; height: 42px; font-size: 28px; }
}


/* =========================================================
   V1.2.4 — CONTROLES DE GALERÍA / SIN MODAL CUSTOM
   Los controles disparan las miniaturas nativas de WooCommerce.
   No se modifican width/transform de los slides de FlexSlider.
   ========================================================= */
.jr-gallery-modal { display: none !important; }
body.jr-gallery-modal-open { overflow: auto !important; }

.jr-product-hero .woocommerce-product-gallery {
  position: sticky !important;
}

.jr-gallery-controls {
  position: absolute;
  left: 50%;
  bottom: 132px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 8px 18px;
  border: 1px solid rgba(7,9,12,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(7,9,12,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition: opacity .18s ease, transform .18s ease;
}

.jr-gallery-control {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--jr-woo-black);
  font-family: Arial, sans-serif !important;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.jr-gallery-control:hover,
.jr-gallery-control:focus-visible {
  background: rgba(22,100,214,.08);
  color: var(--jr-woo-blue);
  outline: none;
  transform: scale(1.06);
}

.jr-gallery-dots {
  display: flex;
  align-items: center;
  gap: 13px;
}

.jr-gallery-dot {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(7,9,12,.13);
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.jr-gallery-dot:hover,
.jr-gallery-dot:focus-visible {
  background: rgba(22,100,214,.45);
  outline: none;
}

.jr-gallery-dot.is-active {
  background: var(--jr-woo-blue);
  transform: scale(1.18);
}

/* Desktop: flechas laterales discretas, pill inferior para los dots. */
@media (min-width: 981px) {
  .jr-gallery-controls {
    bottom: 126px;
  }
}

@media (max-width: 980px) {
  .jr-gallery-controls {
    bottom: 114px;
    min-height: 52px;
    padding: 6px 14px;
    gap: 14px;
  }

  .jr-gallery-control {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 30px;
  }

  .jr-gallery-dots { gap: 11px; }
  .jr-gallery-dot { width: 9px; height: 9px; }
}

@media (max-width: 560px) {
  .jr-gallery-controls {
    bottom: 102px;
    min-height: 48px;
    padding: 5px 12px;
    gap: 12px;
  }

  .jr-gallery-control {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 28px;
  }

  .jr-gallery-dots { gap: 9px; }
  .jr-gallery-dot { width: 8px; height: 8px; }
}


/* =========================================================
   V1.2.5 — CONTROLES VISIBLES / INIT ROBUSTO
   El JS calcula la posición del pill dentro del viewport principal.
   ========================================================= */
.jr-product-hero .woocommerce-product-gallery {
  position: sticky !important;
  isolation: isolate;
}

.jr-gallery-controls {
  top: 70% !important;
  bottom: auto !important;
  z-index: 999 !important;
  min-width: 230px;
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.jr-gallery-control,
.jr-gallery-dot {
  pointer-events: auto !important;
}

@media (max-width: 980px) {
  .jr-gallery-controls {
    min-width: 210px;
  }
}

@media (max-width: 560px) {
  .jr-gallery-controls {
    min-width: 190px;
  }
}


/* =========================================================
   V1.2.6 — CONTROLADOR MINI / AJUSTE FINO
   Mantiene intacta la lógica de navegación 1.2.5 y reduce
   únicamente la presencia visual del control flotante.
   ========================================================= */
.jr-gallery-controls {
  min-width: 0 !important;
  min-height: 44px !important;
  gap: 10px !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(7,9,12,.09) !important;
  background: rgba(255,255,255,.94) !important;
}

.jr-gallery-control {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 27px !important;
  line-height: 1 !important;
}

.jr-gallery-dots {
  gap: 9px !important;
}

.jr-gallery-dot {
  width: 8px !important;
  height: 8px !important;
}

.jr-gallery-dot.is-active {
  transform: scale(1.15) !important;
}

@media (max-width: 980px) {
  .jr-gallery-controls {
    min-height: 42px !important;
    gap: 9px !important;
    padding: 5px 11px !important;
  }

  .jr-gallery-control {
    flex-basis: 27px !important;
    width: 27px !important;
    height: 27px !important;
    font-size: 25px !important;
  }

  .jr-gallery-dots { gap: 8px !important; }
  .jr-gallery-dot { width: 7px !important; height: 7px !important; }
}

@media (max-width: 560px) {
  .jr-gallery-controls {
    min-height: 40px !important;
    gap: 8px !important;
    padding: 4px 10px !important;
  }

  .jr-gallery-control {
    flex-basis: 26px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 24px !important;
  }

  .jr-gallery-dots { gap: 7px !important; }
  .jr-gallery-dot { width: 7px !important; height: 7px !important; }
}


/* =========================================================
   V1.2.7 — CONTROLADOR MÁS BAJO
   Solo modifica la posición vertical del controlador.
   ========================================================= */
.jr-gallery-controls {
  top: 78% !important;
}

@media (max-width: 980px) {
  .jr-gallery-controls {
    top: 80% !important;
  }
}

@media (max-width: 560px) {
  .jr-gallery-controls {
    top: 82% !important;
  }
}


/* =========================================================
   V1.2.8 — ESTABILIZACIÓN PDP / FIRST-FOLD + LIGHTBOX NATIVO
   ========================================================= */

/* Header: fallback explícito para superficies claras de producto. */
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-nav a {
  color: var(--jr-header-black, #07090c) !important;
}
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-persistent-logo__image--black {
  opacity: 1 !important;
  visibility: visible !important;
}
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-persistent-logo__image--white {
  opacity: 0 !important;
  visibility: hidden !important;
}
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-full {
  border-color: rgba(7,9,12,.08) !important;
}
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-menu-button,
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-mobile-button {
  background: #07090c !important;
}
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-menu-button__icon span {
  background: #fff !important;
}
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-store,
body.jr-woo-product-page #jr-global-header-v22:not(.is-menu-open) .jr-header-compact .jr-header-store {
  border-color: #1664d6 !important;
  background: #1664d6 !important;
  color: #fff !important;
}

.jr-product-breadcrumb {
  padding-top: 84px !important;
  padding-bottom: 10px !important;
}

.jr-product-hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr) !important;
  gap: clamp(38px, 4.6vw, 68px) !important;
  padding-top: 0 !important;
  padding-bottom: clamp(60px, 7vw, 92px) !important;
}

.jr-product-hero .summary {
  top: 88px !important;
  padding-top: 4px !important;
}

.jr-product-editorial-heading {
  margin-bottom: 8px !important;
}

.jr-product-eyebrow {
  margin-bottom: 12px !important;
}

.jr-product-title {
  max-width: 560px !important;
  font-size: clamp(44px, 3.75vw, 60px) !important;
  line-height: .94 !important;
}

.jr-product-hero .summary > .price {
  margin: 17px 0 18px !important;
  font-size: clamp(25px, 1.8vw, 29px) !important;
}

/* Resumen corto diseñado para compra: evita repetir la historia larga. */
.jr-product-purchase-summary {
  max-width: 570px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--jr-woo-line);
}
.jr-product-purchase-summary__copy {
  margin: 0 !important;
  color: var(--jr-woo-copy) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}
.jr-product-purchase-summary__meta {
  margin: 13px 0 0 !important;
  color: var(--jr-woo-black) !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase;
}

.jr-purchase-step--size {
  margin-top: 15px !important;
}
.jr-product-hero form.variations_form {
  margin-top: 7px !important;
}
.jr-size-helper {
  margin-top: 7px !important;
}
.jr-product-hero .single_variation_wrap {
  margin-top: 8px !important;
}
.jr-purchase-step--cart {
  margin: 1px 0 8px !important;
}

.jr-variation-pills {
  gap: 8px !important;
}
.jr-variation-pill {
  min-width: 54px !important;
  width: 54px !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
}
.jr-variation-pill.is-selected {
  border-color: #07090c !important;
  background: #07090c !important;
  color: #fff !important;
}

.jr-product-hero .woocommerce-variation-add-to-cart {
  grid-template-columns: 100px minmax(0,1fr) !important;
  gap: 10px !important;
}
.jr-product-hero .quantity {
  width: 100px !important;
  height: 54px !important;
}
.jr-product-hero .quantity .qty,
.jr-qty-button {
  height: 52px !important;
}
.jr-product-hero button.single_add_to_cart_button {
  min-height: 54px !important;
}

.jr-product-shipping-note {
  margin: 12px 0 0 !important;
  padding: 10px 0 8px !important;
  border-bottom: 0 !important;
  font-size: 10px !important;
}

/* Beneficios en una sola línea, sin tarjetas. */
.jr-product-utility {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px !important;
  margin-top: 0 !important;
  padding: 0 0 10px !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--jr-woo-line) !important;
  color: var(--jr-woo-muted) !important;
  font-size: 10px !important;
  line-height: 1.4;
}
.jr-product-utility__item {
  display: inline !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  text-decoration: none !important;
}
.jr-product-utility__link:hover {
  color: var(--jr-woo-blue) !important;
}
.jr-product-utility__separator {
  color: rgba(7,9,12,.28);
}

/* Galería natural: una sola imagen, proporción real y menor altura de fold. */
.jr-product-hero .woocommerce-product-gallery {
  overflow: visible !important;
  background: transparent !important;
}
.jr-product-hero .flex-viewport {
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.jr-product-hero .woocommerce-product-gallery__wrapper,
.jr-product-hero .woocommerce-product-gallery__image,
.jr-product-hero .woocommerce-product-gallery__image a {
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}
.jr-product-hero .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}
.jr-product-hero .woocommerce-product-gallery__image img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 620px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 24px !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: none !important;
}
/* El hover-zoom queda fuera; clic en la imagen sigue siendo el lightbox nativo. */
.jr-product-hero .zoomImg,
.jr-product-hero img.zoomImg {
  display: none !important;
  pointer-events: none !important;
}
.jr-product-hero .woocommerce-product-gallery__image a,
.jr-product-hero .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  cursor: zoom-in !important;
}

/* Miniaturas más discretas. */
.jr-product-hero .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  margin-top: 14px !important;
}
.jr-product-hero .flex-control-thumbs li {
  flex: 0 0 96px !important;
  width: 96px !important;
}
.jr-product-hero .flex-control-thumbs img {
  width: 96px !important;
  height: 96px !important;
  aspect-ratio: 1 / 1 !important;
  border: 1.5px solid transparent !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  opacity: .68 !important;
}
.jr-product-hero .flex-control-thumbs img.flex-active,
.jr-product-hero .flex-control-thumbs img:hover {
  border-color: var(--jr-woo-blue) !important;
  opacity: 1 !important;
}

/* Conservamos el controlador validado, pequeño y bajo. */
.jr-gallery-controls {
  top: 80% !important;
}

@media (max-width: 1180px) {
  .jr-product-title {
    font-size: clamp(42px, 4.7vw, 56px) !important;
  }
  .jr-product-hero {
    gap: 34px !important;
  }
}

@media (max-width: 980px) {
  .jr-product-hero {
    grid-template-columns: 1fr !important;
  }
  .jr-product-hero .summary,
  .jr-product-hero .woocommerce-product-gallery {
    position: relative !important;
    top: auto !important;
  }
  .jr-product-hero .woocommerce-product-gallery__image img {
    max-height: none !important;
    border-radius: 20px !important;
  }
  .jr-product-hero .flex-viewport {
    border-radius: 20px !important;
  }
  .jr-product-utility {
    font-size: 11px !important;
  }
  .jr-gallery-controls {
    top: 82% !important;
  }
}

@media (max-width: 560px) {
  .jr-product-title {
    font-size: clamp(38px, 10.5vw, 50px) !important;
  }
  .jr-product-hero .flex-control-thumbs {
    gap: 10px !important;
  }
  .jr-product-hero .flex-control-thumbs li,
  .jr-product-hero .flex-control-thumbs img {
    width: 76px !important;
    height: 76px !important;
    flex-basis: 76px !important;
  }
  .jr-gallery-controls {
    top: 84% !important;
  }
}


/* =========================================================
   V1.2.9 — MINIATURAS CENTRADAS
   Ajuste exclusivamente de alineación; no altera FlexSlider,
   tamaños, navegación ni comportamiento del lightbox.
   ========================================================= */
.jr-product-hero .flex-control-thumbs {
  width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.jr-product-hero .flex-control-thumbs li {
  margin: 0 !important;
}


/* =========================================================
   V1.2.10 — BORDES DE MINIATURAS MÁS LEGIBLES
   - Todas las miniaturas tienen un contorno neutro sutil.
   - La activa usa un borde interno azul de 2px para evitar
     recortes y no alterar las dimensiones del layout.
   ========================================================= */
.jr-product-hero .flex-control-thumbs img {
  border: 1px solid rgba(7, 9, 12, .11) !important;
  box-shadow: inset 0 0 0 0 transparent !important;
  background: #fff !important;
  opacity: .76 !important;
}

.jr-product-hero .flex-control-thumbs img.flex-active {
  border-color: rgba(22, 100, 214, .22) !important;
  box-shadow: inset 0 0 0 2px var(--jr-woo-blue) !important;
  opacity: 1 !important;
}

.jr-product-hero .flex-control-thumbs img:hover:not(.flex-active) {
  border-color: rgba(7, 9, 12, .24) !important;
  box-shadow: inset 0 0 0 1px rgba(7, 9, 12, .08) !important;
  opacity: 1 !important;
}

/* =========================================================
   V1.2.11 — MINIATURAS LIMPIAS
   Eliminamos el borde de miniaturas para una apariencia más
   limpia y premium. La imagen activa se distingue por opacidad.
   ========================================================= */
.jr-product-hero .flex-control-thumbs img {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: .62 !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

.jr-product-hero .flex-control-thumbs img:hover {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  opacity: .88 !important;
}

.jr-product-hero .flex-control-thumbs img.flex-active {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
}


/* =========================================================
   V1.2.12 — MÁS AIRE BAJO EL HEADER
   Ajuste exclusivo de separación vertical en la entrada de la PDP.
   No altera galería, controles, miniaturas, tallas ni CTA.
   ========================================================= */
.jr-product-breadcrumb {
  padding-top: 132px !important;
  padding-bottom: 22px !important;
}

.jr-product-hero {
  padding-top: 18px !important;
}

@media (max-width: 980px) {
  .jr-product-breadcrumb {
    padding-top: 112px !important;
    padding-bottom: 18px !important;
  }

  .jr-product-hero {
    padding-top: 12px !important;
  }
}

@media (max-width: 560px) {
  .jr-product-breadcrumb {
    padding-top: 96px !important;
    padding-bottom: 16px !important;
  }
}


/* =========================================================
   V1.3.0 — Breadcrumbs Luuna + Rating + Cupón
   ========================================================= */
.jr-product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: min(calc(100% - 64px), var(--jr-woo-max));
  margin: 0 auto;
  padding: 118px 0 18px;
  color: rgba(7,9,12,.74);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.jr-product-breadcrumb__home { font-size: 14px; line-height: 1; opacity: .8; }
.jr-product-breadcrumb a,
.jr-product-breadcrumb__current {
  color: rgba(7,9,12,.78) !important;
  text-decoration: none !important;
}
.jr-product-breadcrumb__current { opacity: .9; }
.jr-product-breadcrumb span { margin: 0; color: rgba(7,9,12,.42); }

.jr-product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
  color: rgba(7,9,12,.66);
}
.jr-product-rating__stars {
  position: relative;
  display: inline-block;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}
.jr-product-rating__stars-base {
  color: rgba(231,181,20,.28);
}
.jr-product-rating__stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f3be19;
}
.jr-product-rating__average {
  color: var(--jr-woo-black);
  font-size: 14px;
  font-weight: 800;
}
.jr-product-rating__count {
  color: rgba(7,9,12,.55);
  font-size: 13px;
  font-weight: 500;
}

.jr-coupon-banner {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 18px 0 10px;
  padding: 14px 16px;
  border: 1px solid rgba(7,9,12,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 10px 28px rgba(7,9,12,.06);
}
.jr-coupon-banner__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 10px;
  background: var(--jr-woo-blue);
  color: #fff;
}
.jr-coupon-banner__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
.jr-coupon-banner__title {
  margin: 0 0 4px !important;
  color: var(--jr-woo-black);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.jr-coupon-banner__copy {
  margin: 0 !important;
  color: rgba(7,9,12,.74);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.42;
}
.jr-coupon-banner__copy strong { color: var(--jr-woo-black); font-weight: 800; }
.jr-coupon-banner__copy-button {
  align-self: stretch;
  min-width: 92px;
  padding: 0 14px;
  border: 1px solid rgba(7,9,12,.15);
  border-radius: 10px;
  background: #fff;
  color: rgba(7,9,12,.72);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.jr-coupon-banner__copy-button:hover,
.jr-coupon-banner__copy-button:focus-visible {
  color: var(--jr-woo-blue);
  border-color: var(--jr-woo-blue);
  transform: translateY(-1px);
  outline: none;
}
.jr-coupon-banner__terms {
  margin: 0 0 18px !important;
  color: rgba(7,9,12,.6);
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .jr-product-breadcrumb {
    width: calc(100% - 30px);
    padding-top: 96px;
    font-size: 12px;
  }
  .jr-coupon-banner {
    grid-template-columns: 48px minmax(0,1fr);
  }
  .jr-coupon-banner__copy-button {
    grid-column: 1 / -1;
    min-height: 42px;
  }
}

/* =========================================================
   V1.3.6 — HOVER LIMPIO EN RELACIONADOS
   Divi añade por defecto una capa blanca + icono “+” sobre las
   imágenes de WooCommerce. En el sistema editorial de JR esa
   capa se elimina: el feedback de hover queda únicamente en la
   elevación de la tarjeta, el zoom sutil de imagen y el CTA.
   ========================================================= */
body.jr-woo-product-page .related.products ul.products li.product .et_shop_image,
body.jr-woo-product-page .upsells.products ul.products li.product .et_shop_image {
  display: block !important;
  position: relative;
  overflow: visible !important;
  background: transparent !important;
}

body.jr-woo-product-page .related.products ul.products li.product .et_overlay,
body.jr-woo-product-page .upsells.products ul.products li.product .et_overlay,
body.jr-woo-product-page .related.products ul.products li.product .et_shop_image .et_overlay,
body.jr-woo-product-page .upsells.products ul.products li.product .et_shop_image .et_overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: transparent !important;
  border: 0 !important;
}

body.jr-woo-product-page .related.products ul.products li.product .et_overlay::before,
body.jr-woo-product-page .upsells.products ul.products li.product .et_overlay::before,
body.jr-woo-product-page .related.products ul.products li.product .et_overlay::after,
body.jr-woo-product-page .upsells.products ul.products li.product .et_overlay::after {
  display: none !important;
  content: none !important;
}

/* Evita que reglas hover de Divi alteren la opacidad de la imagen. */
body.jr-woo-product-page .related.products ul.products li.product:hover .et_shop_image img,
body.jr-woo-product-page .upsells.products ul.products li.product:hover .et_shop_image img {
  opacity: 1 !important;
}
\n\n/* =========================================================
   V1.3.7 — FLECHA DEL CTA ALINEADA
   Divi posiciona el ::after de sus botones de forma absoluta y
   eso desplazaba el chevron del CTA principal. Aquí tomamos
   control del pseudo-elemento y lo alineamos junto al texto.
   ========================================================= */
body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  text-align: center !important;
}

body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button::after {
  content: '›' !important;
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 1em !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  transform: translateY(-1px) !important;
  color: currentColor !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 28px !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: .75 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  transition: transform .2s ease !important;
}

body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button:hover::after,
body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button:focus-visible::after {
  transform: translate(2px, -1px) !important;
}

body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button.disabled::after,
body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button:disabled::after {
  display: none !important;
}

/* =========================================================
   V1.3.8 — CTA SIN FLECHA
   El botón principal queda completamente limpio, con el texto
   centrado y sin pseudo-elementos heredados de Divi.
   ========================================================= */
body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button {
  gap: 0 !important;
}

body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button::before,
body.jr-woo-product-page .jr-product-hero button.single_add_to_cart_button::after {
  content: none !important;
  display: none !important;
}
