/* ==========================================================
   Angal · Product page — estilos base de la ficha
   Trasladados desde IqitThemeEditor › Código personalizado (CSS) para tener toda la ficha
   en un solo sitio. Mismo orden que tenían allí; único cambio: el botón de favoritos de 56 px
   se limita al bloque de añadir al carrito (con la lista de deseos activa, los carruseles de la
   ficha también llevan corazón).
   Dependen de las variables globales del tema (--adm-ink, --adm-line, --adm-sale…), que siguen
   en el Theme Editor.
   ========================================================== */

/* ---------- Ficha de producto ---------- */
#product #wrapper .container, #product #inner-wrapper { max-width: none; padding-left: 32px; padding-right: 32px; }
#product .product_header_container, #product .product-information { max-width: 434px; }
#product .col-product-image { position: sticky; top: 16px; align-self: flex-start; }
#product .product_header_container .page-title, #product h1.h1 {
  font-size: 20px !important; font-weight: 600 !important; line-height: 24px; text-transform: none; margin: 4px 0 16px;
}
#product .product-manufacturer, #product .product-brand { font-size: 14px; }
#product .product-prices { margin: 16px 0 24px; }
#product .product-prices .current-price, #product .product-prices .current-price-value {
  font-size: 16px !important; font-weight: 600; line-height: 20px; color: var(--adm-ink);
}
#product .product-prices .has-discount .current-price-value, #product .product-prices .has-discount .product-price { color: var(--adm-sale); }
#product .product-prices .regular-price { font-size: 12px; color: var(--adm-ink); }
#product .product-prices .discount { background: none; color: var(--adm-sale); font-size: 12px; padding: 0; }
#product .product-variants .control-label, #product .product-variants-item > span {
  font-size: 14px; font-weight: 400; text-transform: none; margin-bottom: 8px; display: block;
}
/* tallas en botones 80x40 */
#product .product-variants .input-container, #product .product-variants li.input-container { margin: 0 8px 8px 0; }
#product .product-variants .radio-label {
  min-width: 80px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--adm-line) !important; border-radius: 8px; background: #fff; box-shadow: none;
  font-size: 14px; font-weight: 400; color: var(--adm-ink);
}
#product .product-variants .input-radio:checked + .radio-label,
#product .product-variants .input-radio:checked + span { border-color: var(--adm-ink) !important; }
#product .product-variants .color { width: 32px; height: 32px; border-radius: 50%; }
/* botón añadir: negro, alto 56 */
#product .product-add-to-cart .add-to-cart, #product .add-to-cart.btn-primary {
  height: 56px; width: 100%; border-radius: 8px; background: var(--adm-ink) !important; border: 0 !important; color: #fff !important;
  font-size: 12px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0;
}
#product .product-add-to-cart .qty { display: none; }
/* acordeón Elementor de la descripción */
.adm-pdp .elementor-accordion .elementor-accordion-item { border: 0; border-bottom: 1px solid var(--adm-line); }
.adm-pdp .elementor-accordion .elementor-tab-title {
  padding: 16px; font-size: 16px; font-weight: 600; line-height: 20px; color: var(--adm-ink); background: none; border: 0;
}
.adm-pdp .elementor-accordion .elementor-tab-content {
  padding: 0 16px 16px; font-size: 14px; line-height: 22px; color: var(--adm-ink); border: 0;
}
.adm-pdp .elementor-accordion .elementor-tab-content p { margin: 0 0 12px; }

/* Ficha: botón añadir ancho, sin selector de cantidad */
#product .product-add-to-cart .col-add-qty { display: none; }
#product .product-add-to-cart .col-add-btn { flex: 1 1 auto; max-width: 370px; }
#product .product-add-to-cart .add-to-cart { width: 100%; }

/* ---------- Ficha de producto v4 (estructura y medidas tipo W'S, estilo Admas) ---------- */
#product { --pdp-h: clamp(480px, calc(100vh - 140px), 960px); --pdp-info: 434px; --pdp-sale: var(--adm-sale, #b44f4f); }
#product .product_header_container, #product .product-information { max-width: none; }

/* Escritorio: galería (miniaturas 75 px + foto) y columna de datos de 434/484 px, centradas y separadas 72 px */
@media (min-width: 992px) {
  #product .product-info-row {
    display: grid !important; grid-template-columns: min(calc(var(--pdp-h) * 570 / 708 + 83px), 52vw) var(--pdp-info);
    justify-content: center; column-gap: 72px; margin: 8px 0 64px !important;
  }
  #product .product-info-row > .col-product-image, #product .product-info-row > .col-product-info {
    flex: none !important; max-width: none !important; width: auto !important; padding: 0 !important;
  }
  #product .col-product-image { position: sticky; top: 124px; align-self: start; }
  #product .images-container { margin: 0 !important; }
  #product .images-container-left > .row { flex-wrap: nowrap; }
  #product .col-left-product-thumbs { flex: 0 0 75px !important; max-width: 75px !important; margin-right: 8px; }
  #product .col-left-product-cover { flex: 1 1 auto !important; max-width: calc(100% - 83px) !important; }
  #product .js-qv-mask { height: 100%; }
  #product #product-images-thumbs { position: absolute; inset: 0; margin: 0 !important; height: 100% !important; overflow-y: auto !important; scrollbar-width: none; }
  #product #product-images-thumbs::-webkit-scrollbar { display: none; }
  #product #product-images-thumbs .swiper-wrapper { flex-direction: column; gap: 8px; transform: none !important; height: auto !important; }
  #product #product-images-thumbs .swiper-slide { height: auto !important; width: 75px !important; margin: 0 !important; }
}
@media (min-width: 1467px) { #product { --pdp-info: 484px; } }

/* Miniaturas */
#product #product-images-thumbs .thumb-container { cursor: pointer; padding: 0 !important; }
#product #product-images-thumbs img { display: block; width: 100%; aspect-ratio: 570 / 708; object-fit: cover; border: 1px solid transparent; border-radius: 4px; opacity: 1 !important; transition: border-color .15s; }
#product #product-images-thumbs .swiper-slide-thumb-active img, #product #product-images-thumbs .swiper-slide:hover img { border-color: var(--adm-ink); }

/* Foto principal */
#product .product-cover { margin: 0; }
#product .product-cover img { display: block; width: 100%; aspect-ratio: 570 / 708; object-fit: cover; }
#product .product-cover .swiper-button-arrow {
  width: 40px; height: 40px; padding: 0; margin-top: -20px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--adm-ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.12); opacity: 0; transition: opacity .2s;
}
#product .product-cover:hover .swiper-button-arrow { opacity: 1; }
#product .product-cover .swiper-button-arrow.swiper-button-disabled { opacity: 0 !important; }
#product .product-cover .expander { opacity: 0; transition: opacity .2s; }
#product .product-cover:hover .expander { opacity: 1; }
#product .product-cover .expander span { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.92); color: var(--adm-ink); display: flex; align-items: center; justify-content: center; }
/* Etiquetas: descuento en rojo y "Nuevo" en blanco, arriba a la izquierda */
#product .product-cover .product-flags { top: 12px; left: 12px; margin: 0; }
#product .product-cover .product-flag { margin: 0 0 6px; padding: 3px 8px; border-radius: 4px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .02em; }
#product .product-cover .product-flag.discount, #product .product-cover .product-flag.on-sale { background: var(--pdp-sale); color: #fff; }
#product .product-cover .product-flag.new { background: #fff; color: var(--adm-ink); }

/* Cabecera de la ficha: marca, nombre, precio */
#product .product_header_container { padding: 0; margin: 0; border: 0; }
#product .adm-brand { display: block; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--adm-mute); margin-bottom: 6px; }
#product h1.page-title { font-size: 20px !important; line-height: 24px !important; font-weight: 600 !important; margin: 0 0 16px !important; }
#product h1.page-title .adm-color-name { text-transform: lowercase; }
#product .product-prices { margin: 0 0 24px !important; }
#product .product-prices .has-discount > div, #product .product-prices > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
#product .product-prices .current-price { font-size: 16px !important; line-height: 20px; font-weight: 600; }
#product .product-prices .has-discount .current-price, #product .product-prices .has-discount .current-price-value { color: var(--pdp-sale) !important; }
#product .product-prices .product-discount { order: 2; }
#product .product-prices .product-discount .regular-price { font-size: 12px; color: var(--adm-grey); text-decoration: line-through; }
#product .product-prices .badge-discount, #product .product-prices .discount { order: 3; background: none !important; color: var(--pdp-sale) !important; font-size: 12px !important; font-weight: 400 !important; padding: 0 !important; }
#product .product-prices #product-availability { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 0; background: none !important; border: 0; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--adm-ink); white-space: normal; }
#product .product-prices #product-availability::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #3d9a5b; }
#product .product-prices #product-availability.product-last-items::before { background: #e08a1e; }
#product .product-prices #product-availability.product-unavailable::before { background: var(--pdp-sale); }
#product .product-prices #product-availability i { display: none; }
#product .product-prices .tax-shipping-delivery-label { font-size: 12px; line-height: 16px; color: var(--adm-mute); margin-top: 4px; }
#product .product-information > .product-description:empty, #product .product-information > .rte-content:empty { display: none; }

/* Color (sale del nombre) */
#product .adm-pdp-color { font-size: 14px; line-height: 20px; color: var(--adm-ink); margin: 0 0 24px; }
#product .adm-pdp-color strong { font-weight: 600; text-transform: lowercase; }

/* Tallas: rejilla de 5 por fila, 40 px de alto */
#product .product-variants { margin: 0; }
#product .product-variants-item { margin: 0 0 16px !important; }
#product .product-variants-item > .form-control-label { display: block; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--adm-ink); margin: 0 0 8px; text-transform: none; }
#product .product-variants-item > .form-control-label::after { content: ':'; }
#product .product-variants-item > ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
#product .product-variants-item > ul > li.input-container { float: none !important; margin: 0 !important; width: auto; }
#product .product-variants .radio-label { width: 100%; min-width: 0 !important; height: 40px; padding: 8px; font-size: 14px; }
#product .product-variants .input-container:not(.aqs-oos):hover .radio-label { border-color: var(--adm-ink) !important; }

/* Añadir + favoritos: 56 px */
#product .product-add-to-cart { padding-top: 8px !important; }
#product .product-add-to-cart .product-quantity { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 !important; }
#product .product-add-to-cart .product-quantity > .col { padding: 0 !important; margin: 0 !important; }
#product .product-add-to-cart .col-add-btn { flex: 1 1 auto !important; max-width: none !important; }
#product .product-add-to-cart .col-add-wishlist { flex: 0 0 56px !important; max-width: 56px; }
#product .product-add-to-cart .add-to-cart { height: 56px; letter-spacing: .04em; }
#product .product-add-to-cart .btn-iqitwishlist-add { width: 56px; height: 56px; padding: 0; border: 1px solid var(--adm-line) !important; border-radius: 8px; background: #fff !important; color: var(--adm-ink) !important; display: flex; align-items: center; justify-content: center; }
#product .product-add-to-cart .btn-iqitwishlist-add:hover { border-color: var(--adm-ink) !important; }
#product .product-minimal-quantity:empty { display: none; }


/* Orden: acordeón antes de compartir */
#product .product-actions { display: flex; flex-direction: column; }
#product .product-actions > #products-tab-anchor { display: none; }
#product .product-actions > .iqit-accordion { order: 5; margin: 0 0 24px !important; }
#product .product-actions > .product-additional-info { order: 6; padding: 0 !important; }
#product .social-sharing { margin: 0; }
#product .social-sharing ul { display: flex; gap: 16px; }

/* Acordeón: filas de 52 px con + / − */
#product .iqit-accordion .card { border: 0; border-bottom: 1px solid var(--adm-line); border-radius: 0; background: #fff; }
#product .iqit-accordion .card:first-child { border-top: 1px solid var(--adm-line); }
#product .iqit-accordion .card .title { padding: 0; border: 0; background: none; }
#product .iqit-accordion .card .title a {
  display: flex; align-items: center; justify-content: flex-start; gap: 6px; padding: 16px; font-size: 16px; line-height: 20px; font-weight: 600;
  color: var(--adm-ink); text-decoration: none; text-transform: none;
}
#product .iqit-accordion .card .title a i { display: none !important; }
#product .iqit-accordion .card .title a span { float: none !important; }
#product .iqit-accordion .iqitreviews-nb { font-weight: 400; color: var(--adm-mute); }
#product .iqit-accordion .card .title a::after {
  content: ''; flex: 0 0 12px; width: 12px; height: 12px; margin-left: auto;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: background-size .2s;
}
#product .iqit-accordion .card .title a:not(.collapsed)::after { background-size: 12px 1.5px, 1.5px 0; }
#product .iqit-accordion .card .content { padding: 0 16px; font-size: 14px; line-height: 22px; color: var(--adm-ink); }
#product .iqit-accordion .card .content > * { padding-bottom: 24px; }
#product .iqit-accordion .card .content .mt-4 { margin-top: 0 !important; }
#product .iqit-accordion .rte-content, #product .iqit-accordion .product-description { font-size: 14px; line-height: 22px; color: var(--adm-ink); }

/* Bloques inferiores: títulos 20 px, carruseles sin puntos */
#product #main > .block-section, #product #main > section.block-section { margin: 0 0 56px; }
#product #main .block-section .section-title { font-size: 20px !important; line-height: 24px; font-weight: 600 !important; color: var(--adm-ink); text-transform: none; margin: 0 0 24px; padding: 0; border: 0; }
#product #main .block-section .section-title::before, #product #main .block-section .section-title::after { display: none !important; }
#product #main .block-section .swiper-pagination { display: none; }
#product #main .block-section .swiper-button-prev, #product #main .block-section .swiper-button-next {
  width: 40px; height: 40px; padding: 0; margin-top: -20px; border-radius: 50%; background: #fff; color: var(--adm-ink); box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
#product #main .block-section .swiper-button-disabled { opacity: 0 !important; pointer-events: none; }
#product #product-comments-list-header { padding: 0 !important; }

/* Barra fija al pasar el botón de añadir */
.adm-pdpbar {
  position: fixed; left: 0; right: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--adm-line);
  transform: translateY(-110%); transition: transform .2s, visibility .2s; visibility: hidden;
}
.adm-pdpbar.is-visible { transform: none; visibility: visible; }
.adm-pdpbar__in { max-width: 1500px; margin: 0 auto; padding: 8px 32px; display: flex; align-items: center; gap: 16px; }
.adm-pdpbar__img { width: 32px; height: 40px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.adm-pdpbar__name { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 20px; color: var(--adm-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-pdpbar__price { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--adm-ink); white-space: nowrap; }
.adm-pdpbar__price.is-sale { color: var(--adm-sale, #b44f4f); }
.adm-pdpbar__price s { font-weight: 400; font-size: 12px; color: var(--adm-grey); margin-right: 6px; }
.adm-pdpbar__size { height: 40px; padding: 0 16px; border: 1px solid var(--adm-line); border-radius: 8px; background: #fff; font-size: 14px; color: var(--adm-ink); white-space: nowrap; cursor: pointer; }
.adm-pdpbar__size:hover { border-color: var(--adm-ink); }
.adm-pdpbar__btn { height: 40px; min-width: 240px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--adm-ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.adm-pdpbar__btn:disabled { background: #d5d5d5; cursor: default; }

/* Tablet y móvil */
@media (max-width: 991px) {
  #product #wrapper .container, #product #inner-wrapper { padding-left: 16px !important; padding-right: 16px !important; }
  #product .product-info-row { margin: 0 0 40px !important; }
  #product .col-product-image { position: static; margin-bottom: 24px; }
  #product .col-product-image .images-container.js-images-container { margin: 0 0 0 -16px !important; width: calc(100% + 32px) !important; max-width: none !important; }
  #product .images-container-left > .row { flex-direction: column-reverse; }
  #product .col-left-product-thumbs, #product .col-left-product-cover { flex: 0 0 auto !important; width: 100% !important; max-width: 100% !important; }
  #product .breadcrumb ol { display: flex; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  #product .breadcrumb ol::-webkit-scrollbar { display: none; }
  #product .breadcrumb #iqitproductsnav { display: none; }
  #product #back-to-top { bottom: 96px; }
  #product .js-qv-mask { height: auto !important; }
  #product #product-images-thumbs { position: static !important; height: auto !important; margin: 8px 0 0 !important; padding: 0 16px; overflow-x: auto !important; scrollbar-width: none; }
  #product #product-images-thumbs::-webkit-scrollbar { display: none; }
  #product #product-images-thumbs .swiper-wrapper { flex-direction: row !important; gap: 8px; transform: none !important; height: auto !important; }
  #product #product-images-thumbs .swiper-slide { width: 56px !important; height: auto !important; flex: 0 0 56px; margin: 0 !important; }
  #product .product-cover .swiper-button-arrow, #product .product-cover .expander { display: none !important; }
  #product .product-info-row { margin-left: 0 !important; margin-right: 0 !important; }
  #product .product-info-row > .col-product-image, #product .product-info-row > .col-product-info { padding: 0 !important; }
  #product .product-variants-item > ul { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .adm-pdpbar { top: auto !important; bottom: 0; border-bottom: 0; border-top: 1px solid var(--adm-line); transform: translateY(110%); padding-bottom: env(safe-area-inset-bottom); }
  .adm-pdpbar__in { padding: 8px 16px; gap: 8px; }
  .adm-pdpbar__img, .adm-pdpbar__name { display: none; }
  .adm-pdpbar__price { flex: 1 1 auto; }
  .adm-pdpbar__btn { min-width: 0; flex: 1 1 auto; }
}

/* ---------- Ficha v4.1: textos +1/2 px, aviso de carrito y guía de tallas ---------- */
#product .adm-brand { font-size: 13px; line-height: 18px; }
#product h1.page-title { font-size: 22px !important; line-height: 28px !important; }
#product .product-prices .current-price, #product .product-prices .current-price-value { font-size: 18px !important; line-height: 24px; }
#product .product-prices .product-discount .regular-price, #product .product-prices .badge-discount, #product .product-prices .discount { font-size: 13px !important; }
#product .product-prices .tax-shipping-delivery-label, #product .product-prices #product-availability { font-size: 13px; line-height: 18px; }
#product .adm-pdp-color, #product .product-variants-item > .form-control-label { font-size: 15px; line-height: 22px; }
#product .product-variants .radio-label { font-size: 15px; height: 42px; }
#product .product-add-to-cart .add-to-cart { font-size: 13px !important; }
#product .iqit-accordion .card .title a { font-size: 17px; line-height: 22px; }
#product .iqit-accordion .card .content, #product .iqit-accordion .rte-content, #product .iqit-accordion .product-description { font-size: 15px; line-height: 24px; }
#product #product-details, #product #product-details * { font-size: 15px; }
.adm-pdpbar__name, .adm-pdpbar__price, .adm-pdpbar__size { font-size: 15px; }
.adm-pdpbar__btn { font-size: 13px; }

/* Aviso "Tu carrito contiene…" dentro de la ficha, bajo el botón de añadir */
.adm-incart {
  display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px 14px;
  background: #fdf3f4; border: 1px solid #f6d5da; border-radius: 8px; color: var(--adm-ink);
  font-size: 14px; line-height: 20px;
}
.adm-incart__icon { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--adm-brand-red, #ce0e2d); color: #fff; display: flex; align-items: center; justify-content: center; }
.adm-incart__icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.adm-incart__text { flex: 1 1 auto; }
.adm-incart__text strong { font-weight: 600; }
.adm-incart__link { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--adm-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.adm-incart__link:hover { color: var(--adm-brand-red, #ce0e2d); }

/* Botón "Guía de tallas" a la derecha de "Talla:" */
#product [data-button-action="open-iqitsizecharts"] {
  float: right; margin: 0 !important; padding: 0; height: 22px; border: 0 !important; background: none !important; box-shadow: none !important;
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 22px; font-weight: 400; color: var(--adm-ink) !important;
  text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
#product [data-button-action="open-iqitsizecharts"] i { display: none; }
#product [data-button-action="open-iqitsizecharts"] svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#product [data-button-action="open-iqitsizecharts"]:hover { color: var(--adm-brand-red, #ce0e2d) !important; }
#product .adm-pdp-color { clear: none; }

/* Ventana de la guía de tallas */
#iqitsizecharts-modal .modal-dialog { max-width: 680px; }
#iqitsizecharts-modal .modal-content { border: 0; border-radius: 12px; overflow: hidden; }
#iqitsizecharts-modal .modal-header { padding: 20px 24px; border-bottom: 1px solid var(--adm-line); align-items: center; }
#iqitsizecharts-modal .modal-title { font-size: 20px; line-height: 24px; font-weight: 600; color: var(--adm-ink); text-transform: none; }
#iqitsizecharts-modal .modal-header .close { font-size: 28px; line-height: 1; opacity: .7; color: var(--adm-ink); }
#iqitsizecharts-modal .modal-body { padding: 20px 24px 24px; }
#iqitsizecharts-modal.adm-sg-single .nav-tabs { display: none; }
#iqitsizecharts-modal .nav-tabs { border: 0; gap: 8px; margin-bottom: 16px; }
#iqitsizecharts-modal .nav-tabs .nav-link { border: 1px solid var(--adm-line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--adm-ink); }
#iqitsizecharts-modal .nav-tabs .nav-link.active { background: var(--adm-ink); border-color: var(--adm-ink); color: #fff; }
#iqitsizecharts-modal .rte-content { overflow-x: auto; }
#iqitsizecharts-modal .adm-sg__intro { margin: 0 0 12px; font-size: 14px; color: var(--adm-mute); }
#iqitsizecharts-modal table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; color: var(--adm-ink); margin: 0; }
#iqitsizecharts-modal th { background: var(--adm-ink); color: #fff; font-weight: 600; text-align: left; padding: 10px 12px; white-space: nowrap; border: 0; }
#iqitsizecharts-modal th:first-child { border-top-left-radius: 8px; }
#iqitsizecharts-modal th:last-child { border-top-right-radius: 8px; }
#iqitsizecharts-modal td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--adm-line); white-space: nowrap; }
#iqitsizecharts-modal td:first-child { font-weight: 600; }
#iqitsizecharts-modal tbody tr:nth-child(even) td { background: #f7f7f7; }
#iqitsizecharts-modal tbody tr.is-current td { background: #fdf3f4; box-shadow: inset 0 0 0 0 transparent; }
#iqitsizecharts-modal tbody tr.is-current td:first-child { box-shadow: inset 3px 0 0 var(--adm-brand-red, #ce0e2d); }
#iqitsizecharts-modal .adm-sg__how { margin: 20px 0 0; text-align: center; }
#iqitsizecharts-modal .adm-sg__how img { max-width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 767px) {
  #iqitsizecharts-modal .modal-dialog { margin: 0; max-width: none; min-height: 100%; }
  #iqitsizecharts-modal .modal-content { border-radius: 0; min-height: 100vh; }
  #iqitsizecharts-modal .modal-header, #iqitsizecharts-modal .modal-body { padding-left: 16px; padding-right: 16px; }
  #iqitsizecharts-modal table { font-size: 13px; }
  #iqitsizecharts-modal th, #iqitsizecharts-modal td { padding: 8px 10px; }
}

/* Sin línea de color: cada color es un producto y ya va en el nombre */
#product .adm-pdp-color { display: none !important; }

/* Migas de la ficha al ancho del bloque galería + datos (escritorio) */
@media (min-width: 992px) {
  #product nav.breadcrumb { width: calc(min(calc(var(--pdp-h) * 570 / 708 + 83px), 52vw) + 72px + var(--pdp-info)); max-width: 100%; margin-left: auto; margin-right: auto; }
  #product nav.breadcrumb > .row { margin-left: 0; margin-right: 0; }
  #product nav.breadcrumb > .row > .col, #product nav.breadcrumb > .row > .col-auto { padding-left: 0; padding-right: 0; }
}

/* La barra fija de la ficha queda por debajo de la cabecera (y del carrito lateral, que vive dentro de ella) */
.adm-pdpbar { z-index: 99; }

/* Talla sin título: "Guía de tallas" ocupa su lugar, encima de los botones */
#product .product-variants-item-1 > .form-control-label { display: none !important; }
#product [data-button-action="open-iqitsizecharts"] { float: none !important; margin: 0 0 10px !important; }
