.rsg-open-popup { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0; padding: 10px 18px; border: 1px solid #111; border-radius: 999px; background: #111; color: #fff; font-weight: 700; cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
.rsg-open-popup:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.rsg-popup-lock { overflow: hidden; }
.rsg-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.58); z-index: 999999; display: none; align-items: center; justify-content: center; padding: 18px; }
.rsg-popup-overlay.active { display: flex; }
.rsg-popup { width: min(980px, 96vw); max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 22px 80px rgba(0,0,0,.25); position: relative; padding: 28px; color: #222; }
.rsg-popup-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f0f0f0; color: #111; font-size: 24px; line-height: 1; cursor: pointer; }
.rsg-popup-header h2 { margin: 0 42px 8px 0; font-size: 28px; }
.rsg-template-html { color: #555; margin-bottom: 16px; }
.rsg-main-tabs, .rsg-color-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.rsg-main-tab, .rsg-color-tab { border: 1px solid #d8d8d8; background: #fff; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 700; color: #333; }
.rsg-main-tab.active, .rsg-color-tab.active { background: #111; color: #fff; border-color: #111; }
.rsg-tab-panel, .rsg-color-panel, .rsg-model-box { display: none; }
.rsg-tab-panel.active, .rsg-color-panel.active, .rsg-model-box.active { display: block; }
.rsg-table-wrap { overflow-x: auto; border: 1px solid #eee; border-radius: 16px; margin: 12px 0 18px; }
.rsg-table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
.rsg-table th { background: #111; color: #fff; font-weight: 700; padding: 13px 12px; text-align: left; }
.rsg-table td { border-top: 1px solid #eee; padding: 12px; color: #333; }
.rsg-table tr:nth-child(even) td { background: #fafafa; }
.rsg-model-boxes { margin-top: 18px; }
.rsg-model-box { border: 1px solid #e7e7e7; border-radius: 18px; padding: 16px; background: #fafafa; }
.rsg-model-box strong { display: block; margin-bottom: 8px; font-size: 16px; }
.rsg-model-box ul { margin: 0 0 8px 18px; padding: 0; }
.rsg-info-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.rsg-info-block { background: #f8f8f8; border: 1px solid #eee; border-radius: 18px; padding: 16px; }
.rsg-info-block h3 { margin: 0 0 8px; font-size: 17px; }
@media (max-width: 700px) { .rsg-popup { padding: 22px 16px; border-radius: 18px; } .rsg-info-blocks { grid-template-columns: 1fr; } .rsg-popup-header h2 { font-size: 24px; } }

.rsg-quick-selector { border: 1px solid #ececec; border-radius: 18px; padding: 16px; margin: 14px 0 18px; background: #fff; }
.rsg-choice-group { margin-bottom: 14px; }
.rsg-choice-title { font-weight: 700; margin-bottom: 9px; color: #111; }
.rsg-choice-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.rsg-choice-btn { min-width: 44px; min-height: 38px; border: 1px solid #d8d8d8; border-radius: 999px; background: #fff; color: #111; font-weight: 700; cursor: pointer; padding: 8px 14px; letter-spacing: .04em; }
.rsg-choice-btn.active { background: #111; border-color: #111; color: #fff; }
.rsg-selected-measures { margin: 10px 0 14px; }
.rsg-selected-title { font-weight: 800; margin-bottom: 10px; font-size: 16px; }
.rsg-measures-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rsg-measure-item { border: 1px solid #eee; background: #fafafa; border-radius: 14px; padding: 11px 12px; }
.rsg-measure-item span { display: block; font-size: 12px; color: #666; margin-bottom: 4px; }
.rsg-measure-item strong { display: block; font-size: 15px; color: #111; }
.rsg-add-to-cart { width: 100%; border: 0; border-radius: 8px; background: #111; color: #fff; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; padding: 13px 18px; cursor: pointer; }
.rsg-add-to-cart:disabled { opacity: .45; cursor: not-allowed; }
.rsg-selector-note { margin-top: 8px; color: #9a3412; font-size: 13px; }
@media (max-width: 700px) { .rsg-measures-grid { grid-template-columns: 1fr; } .rsg-choice-btn { min-width: 42px; } }

/* Selector visual de colores tipo variantes de producto */
.rsg-choice-colors .rsg-choice-title,
.rsg-choice-sizes .rsg-choice-title {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: #333;
}
.rsg-choice-colors .rsg-choice-buttons { gap: 14px; align-items: center; }
.rsg-choice-color-swatch { width: 32px; height: 32px; border: 1px solid #d6d6d6; border-radius: 50%; background: #fff; padding: 3px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.rsg-choice-color-swatch.active { border-color: #111; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111; }
.rsg-color-dot, .rsg-swatch-dot { display: block; width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center; border: 1px solid rgba(0,0,0,.08); }
.rsg-color-tabs-swatch { gap: 14px; align-items: center; }
.rsg-color-swatch-tab { min-width: 0; width: 32px; height: 32px; padding: 3px; border-radius: 50%; font-size: 0; display: inline-flex; align-items: center; justify-content: center; }
.rsg-color-swatch-tab.active { background: #fff; color: #111; border-color: #111; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111; }
.rsg-color-swatch-tab .rsg-swatch-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* v1.9.2 refinamiento visual popup guía de tallas */
.rsg-popup {
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf transparent;
  animation: rsgPopupIn .22s ease both;
}
.rsg-popup::-webkit-scrollbar { width: 7px; height: 7px; }
.rsg-popup::-webkit-scrollbar-track { background: transparent; }
.rsg-popup::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 999px; }
.rsg-popup::-webkit-scrollbar-button { width: 0; height: 0; display: none; }
@keyframes rsgPopupIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

.rsg-popup-header { text-align: center; }
.rsg-popup-header h2 { margin: 0 42px 8px; font-size: 30px; line-height: 1.15; }
.rsg-template-html { max-width: 720px; margin: 0 auto 18px; text-align: center; }

/* Tabs superiores estilo limpio con subrayado */
.rsg-main-tabs {
  justify-content: center;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid #ececec;
  margin: 18px auto 22px;
  padding: 0 0 8px;
}
.rsg-main-tab {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0 7px;
  font-size: 18px;
  letter-spacing: 0;
  color: #777;
  font-weight: 800;
  position: relative;
  text-transform: none;
}
.rsg-main-tab.active {
  background: transparent;
  color: #111;
  border-color: transparent;
}
.rsg-main-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  background: #111;
  border-radius: 999px;
}

/* Bloque selector centrado */
.rsg-quick-selector {
  max-width: 900px;
  margin: 12px auto 22px;
  text-align: center;
  border-radius: 20px;
  padding: 18px 18px 20px;
}
.rsg-choice-group { margin-bottom: 16px; }
.rsg-choice-title {
  display: block;
  text-align: center;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rsg-choice-buttons { justify-content: center; align-items: center; }
.rsg-choice-colors .rsg-choice-buttons { gap: 18px; }
.rsg-choice-sizes .rsg-choice-buttons { gap: 10px; }

/* Swatches más parecidos a Elessi */
.rsg-choice-color-swatch,
.rsg-color-swatch-tab {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.rsg-choice-color-swatch .rsg-color-dot,
.rsg-color-swatch-tab .rsg-swatch-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #efefef;
  box-shadow: none;
}
.rsg-choice-color-swatch.active,
.rsg-color-swatch-tab.active {
  background: transparent;
  border: 1px solid #111;
  box-shadow: 0 0 0 3px #fff inset, 0 0 0 1px #111;
  padding: 3px;
  width: 34px;
  height: 34px;
}
.rsg-choice-color-swatch.active .rsg-color-dot,
.rsg-color-swatch-tab.active .rsg-swatch-dot {
  width: 25px;
  height: 25px;
}
.rsg-color-tabs-swatch {
  justify-content: center;
  margin: 18px auto;
}

/* Talles */
.rsg-choice-btn {
  border-radius: 50%;
  min-width: 40px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  letter-spacing: 0;
  font-size: 13px;
  border-color: #d8d8d8;
}
.rsg-choice-btn.active { background: #111; color: #fff; }

/* Medidas seleccionadas más compactas */
.rsg-selected-measures {
  max-width: 900px;
  margin: 12px auto 16px;
  animation: rsgFadeIn .18s ease both;
}
@keyframes rsgFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rsg-selected-title {
  text-align: center;
  font-size: 17px;
  margin: 10px 0 12px;
}
.rsg-measures-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
}
.rsg-measure-item {
  flex: 1 1 0;
  min-width: 130px;
  max-width: 170px;
  border-radius: 14px;
  padding: 10px 12px;
  text-align: center;
}
.rsg-measure-item span { font-size: 11px; margin-bottom: 3px; }
.rsg-measure-item strong { font-size: 16px; }
.rsg-add-to-cart { max-width: 880px; margin: 10px auto 0; display: block; border-radius: 8px; }
.rsg-selector-note { text-align: center; }

/* Tablas tipo referencia, centradas y con scroll fino */
.rsg-table-wrap {
  max-width: 920px;
  margin: 16px auto 22px;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf transparent;
}
.rsg-table-wrap::-webkit-scrollbar { height: 6px; }
.rsg-table-wrap::-webkit-scrollbar-track { background: transparent; }
.rsg-table-wrap::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 999px; }
.rsg-table-wrap::-webkit-scrollbar-button { width: 0; height: 0; display: none; }
.rsg-table { min-width: 720px; }
.rsg-table th,
.rsg-table td {
  text-align: center;
  vertical-align: middle;
  padding: 14px 12px;
}
.rsg-table th {
  background: #f5f5f5;
  color: #111;
  font-size: 13px;
  border-bottom: 1px solid #e2e2e2;
}
.rsg-table tr:nth-child(even) td { background: #f7f7f7; }
.rsg-table td:first-child,
.rsg-table th:first-child { font-weight: 800; }

.rsg-model-boxes,
.rsg-info-blocks { max-width: 920px; margin-left: auto; margin-right: auto; }
.rsg-model-box { text-align: center; }
.rsg-model-box ul { display: inline-block; text-align: left; }

@media (max-width: 700px) {
  .rsg-popup { width: 96vw; padding: 20px 14px; }
  .rsg-popup-header h2 { font-size: 26px; margin: 0 38px 8px; }
  .rsg-main-tabs { gap: 20px; }
  .rsg-main-tab { font-size: 16px; }
  .rsg-measures-grid { flex-direction: column; align-items: stretch; }
  .rsg-measure-item { max-width: none; width: 100%; text-align: center; }
  .rsg-table { min-width: 640px; }
}

/* v1.9.3 múltiples tipos de prenda + acordeones */
.rsg-table tbody tr { transition: background-color .18s ease, transform .18s ease; }
.rsg-table tbody tr:hover td { background: #f1f1f1 !important; }
.rsg-table tbody tr.rsg-row-active td { background: #eeeeee !important; }
.rsg-table tbody tr.rsg-row-active td:first-child { color: #111; font-weight: 900; }

.rsg-accordions { max-width: 920px; margin: 22px auto 4px; border-top: 1px solid #e7e7e7; }
.rsg-accordion { border-bottom: 1px solid #e7e7e7; background: #fff; }
.rsg-accordion summary { list-style: none; cursor: pointer; padding: 18px 4px; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: space-between; }
.rsg-accordion summary::-webkit-details-marker { display: none; }
.rsg-accordion summary::after { content: '⌄'; font-size: 20px; line-height: 1; transition: transform .2s ease; color: #777; }
.rsg-accordion[open] summary::after { transform: rotate(180deg); }
.rsg-accordion-content { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 24px; align-items: center; padding: 0 4px 22px; animation: rsgFadeIn .18s ease both; }
.rsg-guide-image { display: block; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 14px; background: #fff; }
.rsg-guide-copy { text-align: left; color: #222; font-size: 14px; line-height: 1.55; }
.rsg-guide-copy p { margin: 0 0 10px; }

@media (max-width: 700px) {
  .rsg-accordion-content { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .rsg-guide-copy { text-align: center; }
  .rsg-guide-image { max-width: 310px; }
}

/* v1.9.4 fase 1 - acordeones fluidos, modelo y textos */
.rsg-accordions { margin-top: 26px; }
.rsg-accordion { overflow: hidden; }
.rsg-accordion summary { user-select: none; }
.rsg-accordion-content {
  will-change: max-height, opacity, transform;
}
.rsg-guide-copy-title { font-size: 16px; margin-bottom: 8px !important; }
.rsg-guide-list { margin-top: 12px; }
.rsg-guide-list p { margin: 0 0 9px; }

.rsg-model-boxes {
  max-width: 880px;
  margin: 14px auto 22px;
}
.rsg-model-box {
  background: linear-gradient(180deg, #fff, #fafafa);
  border: 1px solid #e9e9e9;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.035);
}
.rsg-model-title {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
  color: #111;
  margin-bottom: 7px;
}
.rsg-model-color {
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}
.rsg-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.rsg-model-grid div {
  border: 1px solid #eee;
  background: #fff;
  border-radius: 13px;
  padding: 10px 8px;
}
.rsg-model-grid span {
  display: block;
  color: #777;
  font-size: 11px;
  margin-bottom: 3px;
}
.rsg-model-grid strong {
  display: block;
  color: #111;
  font-size: 15px;
  margin: 0;
}
.rsg-model-note {
  margin: 12px auto 0;
  color: #333;
  max-width: 620px;
}
@media (max-width: 700px) {
  .rsg-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rsg-guide-list p { text-align: left; }
}

/* Fase 2: modelo por color con foto */
.rsg-model-photo{display:flex;justify-content:center;margin:4px 0 8px;}
.rsg-model-photo img{width:76px;height:76px;object-fit:cover;border-radius:50%;border:1px solid #e7e7e7;background:#fff;}
.rsg-model-name{text-align:center;font-weight:800;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em;font-size:12px;}

/* v1.9.6 ajustes compactos frontend */
.rsg-open-popup{
  padding:8px 14px!important;
  margin:8px 0!important;
  border-radius:7px!important;
  font-size:12px!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  gap:7px!important;
}
.rsg-popup{padding:22px 22px 18px!important;}
.rsg-popup-header h2{margin-bottom:6px!important;}
.rsg-main-tabs{margin:12px auto 16px!important;}
.rsg-quick-selector{margin:8px auto 14px!important;padding:14px!important;}
.rsg-choice-group{margin-bottom:12px!important;}
.rsg-selected-measures{margin:8px auto 10px!important;}
.rsg-add-to-cart{margin-top:8px!important;}
.rsg-color-tabs-swatch{margin:10px auto 12px!important;}
.rsg-table-wrap{margin:10px auto 16px!important;}
.rsg-accordions{margin-top:16px!important;}

.rsg-model-boxes{max-width:760px!important;margin:12px auto 14px!important;}
.rsg-model-box{
  display:grid!important;
  grid-template-columns:72px 1fr!important;
  align-items:center!important;
  gap:12px 18px!important;
  padding:14px 18px!important;
  text-align:left!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.rsg-model-title{grid-column:1/-1;text-align:center;margin-bottom:0!important;font-size:11px!important;}
.rsg-model-photo{grid-row:2 / span 3;grid-column:1;justify-content:center!important;margin:0!important;}
.rsg-model-photo img{width:62px!important;height:62px!important;}
.rsg-model-name{text-align:left!important;margin:0!important;font-size:13px!important;}
.rsg-model-color{text-align:left!important;margin:0!important;font-size:12px!important;}
.rsg-model-grid{
  grid-column:2!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px 16px!important;
  max-width:none!important;
  margin:0!important;
}
.rsg-model-grid div{border:0!important;background:transparent!important;border-radius:0!important;padding:0!important;min-width:76px!important;}
.rsg-model-grid span{font-size:10px!important;text-transform:none!important;margin-bottom:1px!important;}
.rsg-model-grid strong{font-size:13px!important;}
.rsg-model-note{grid-column:2!important;margin:0!important;font-size:12px!important;text-align:left!important;}
@media(max-width:700px){
 .rsg-popup{padding:18px 12px 14px!important;}
 .rsg-model-box{grid-template-columns:58px 1fr!important;padding:12px!important;}
 .rsg-model-photo img{width:52px!important;height:52px!important;}
 .rsg-model-grid{gap:6px 12px!important;}
 .rsg-model-grid div{min-width:65px!important;}
}

/* v1.9.7: mostrar solo la referencia de modelo del color activo */
.rsg-model-boxes .rsg-model-box{display:none!important;}
.rsg-model-boxes .rsg-model-box.active{display:grid!important;}

/* v1.9.8 afinado final */
.rsg-guide-copy { font-size: 16px !important; line-height: 1.72 !important; }
.rsg-guide-copy-title { font-size: 19px !important; font-weight: 900 !important; margin-bottom: 10px !important; }
.rsg-guide-list p { font-size: 15px !important; margin-bottom: 11px !important; }
.rsg-guide-list strong { font-weight: 900 !important; color: #111 !important; }
.rsg-accordion summary { font-size: 18px !important; padding: 19px 4px !important; }
.rsg-accordion-content { align-items: center !important; }
.rsg-model-boxes:empty { display: none !important; }
.rsg-choice-colors:empty, .rsg-color-tabs-swatch:empty { display:none!important; }
@media(max-width:700px){
 .rsg-guide-copy { font-size: 15px !important; }
 .rsg-guide-copy-title { font-size: 17px !important; text-align:center; }
 .rsg-guide-list p { font-size: 14px !important; }
}


/* v1.9.9 vista visual de prenda + switch tabla */
.rsg-view-switch-wrap { display:flex; justify-content:flex-end; margin:-4px 0 8px; }
.rsg-view-switch { display:inline-flex; border:1px solid #ddd; border-radius:999px; padding:3px; background:#f5f5f5; gap:2px; }
.rsg-view-switch button { width:42px; height:34px; border:0; border-radius:999px; background:transparent; cursor:pointer; font-size:18px; line-height:1; }
.rsg-view-switch button.active { background:#111; color:#fff; box-shadow:0 2px 8px rgba(0,0,0,.14); }
.rsg-choice-sizes .rsg-choice-title:empty { display:none; }
.rsg-garment-visual { max-width:520px; margin:4px auto 12px; }
.rsg-diagram-stage { position:relative; width:min(100%, 430px); margin:0 auto; }
.rsg-diagram-stage img { display:block; width:100%; height:auto; }
.rsg-diagram-value { position:absolute; transform:translate(-50%,-50%); background:rgba(255,255,255,.96); padding:2px 5px; border-radius:4px; font-weight:800; font-size:13px; line-height:1.15; white-space:nowrap; color:#111; box-shadow:0 0 0 1px rgba(255,255,255,.8); }
.rsg-table-view .rsg-choice-sizes,
.rsg-table-view .rsg-selected-measures,
.rsg-table-view .rsg-add-cart-form,
.rsg-table-view .rsg-selector-note { display:none !important; }
.rsg-tab-panel[data-panel="prenda"] { display:none !important; }
.rsg-tab-panel[data-panel="prenda"].rsg-force-visible { display:block !important; }
.rsg-body-mode .rsg-quick-selector { display:none !important; }
.rsg-body-mode .rsg-tab-panel[data-panel="cuerpo"].active { display:block !important; }
.rsg-body-mode .rsg-accordion-garment { display:none !important; }
.rsg-body-mode .rsg-accordion-body { display:block !important; }
.rsg-model-boxes { transition:opacity .2s ease; }
@media (max-width:700px) {
  .rsg-view-switch-wrap { justify-content:center; margin-top:4px; }
  .rsg-diagram-stage { width:min(100%, 360px); }
  .rsg-diagram-value { font-size:12px; padding:2px 4px; }
}

/* v1.10.0 - panel lateral, barra unificada y guía estática */
.rsg-popup-overlay{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:stretch!important;
  padding:0!important;
  background:rgba(0,0,0,.48)!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility .28s ease;
}
.rsg-popup-overlay.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.rsg-popup{
  width:min(760px,94vw)!important;
  max-width:94vw!important;
  height:100vh!important;
  max-height:100vh!important;
  margin:0!important;
  border-radius:22px 0 0 22px!important;
  padding:24px 28px 22px!important;
  transform:translateX(104%);
  transition:transform .34s cubic-bezier(.22,.8,.25,1);
  box-shadow:-18px 0 55px rgba(0,0,0,.22)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
.rsg-popup-overlay.active .rsg-popup{transform:translateX(0);}
.rsg-popup-header{padding-right:38px;}
.rsg-template-html{display:none!important;}
.rsg-selector-toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:2px 0 14px;
}
.rsg-selector-toolbar .rsg-choice-colors{
  flex:1 1 auto;
  margin:0!important;
  min-width:0;
}
.rsg-selector-toolbar .rsg-choice-colors .rsg-choice-title{text-align:left!important;}
.rsg-selector-toolbar .rsg-choice-colors .rsg-choice-buttons{justify-content:flex-start!important;}
.rsg-selector-toolbar-single{justify-content:flex-end;}
.rsg-view-switch-wrap{
  flex:0 0 auto;
  margin:0!important;
  align-self:flex-end;
}
.rsg-view-switch button{font-family:Arial,"Apple Color Emoji","Segoe UI Emoji",sans-serif;}
.rsg-static-guide{
  display:block;
  margin:18px 0 4px;
  padding:22px 4px 8px;
  border-top:1px solid #e7e7e7;
}
.rsg-static-guide .rsg-guide-copy{
  max-width:680px;
  margin:0 auto;
}
.rsg-static-guide .rsg-guide-copy-title{
  margin-bottom:10px!important;
  font-size:20px!important;
}
.rsg-static-guide .rsg-guide-list{
  margin-top:14px;
}
.rsg-static-guide .rsg-guide-list p{
  margin:0 0 10px!important;
}
/* Ya no se duplica la ilustración dentro de “Cómo medir tu prenda”. */
.rsg-static-guide .rsg-guide-image{display:none!important;}

/* Ajuste visual del diagrama de pantalón */
.rsg-diagram-pantalon .rsg-diagram-stage{width:min(100%,400px);}
.rsg-diagram-pantalon .rsg-diagram-value{font-size:13px;}

@media(max-width:700px){
  .rsg-popup{width:100vw!important;max-width:100vw!important;border-radius:0!important;padding:20px 14px 18px!important;}
  .rsg-selector-toolbar{align-items:center;gap:10px;}
  .rsg-selector-toolbar .rsg-choice-colors .rsg-choice-buttons{gap:12px!important;}
  .rsg-view-switch button{width:38px;height:32px;font-size:17px;}
  .rsg-static-guide{padding:18px 2px 4px;}
  .rsg-static-guide .rsg-guide-copy{text-align:left;}
}


/* v1.10.1 - correcciones definitivas: drawer, barra en una fila y guía corporal estática */
body .rsg-popup-overlay{
  position:fixed!important;
  inset:0!important;
  display:block!important;
  padding:0!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  background:rgba(0,0,0,.48)!important;
  z-index:2147483000!important;
  transition:opacity .28s ease, visibility .28s ease!important;
}
body .rsg-popup-overlay.active{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
body .rsg-popup-overlay .rsg-popup{
  position:absolute!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:auto!important;
  width:min(720px,94vw)!important;
  max-width:94vw!important;
  height:100dvh!important;
  max-height:100dvh!important;
  margin:0!important;
  border-radius:22px 0 0 22px!important;
  transform:translate3d(105%,0,0)!important;
  transition:transform .34s cubic-bezier(.22,.8,.25,1)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  box-shadow:-18px 0 55px rgba(0,0,0,.22)!important;
}
body .rsg-popup-overlay.active .rsg-popup{
  transform:translate3d(0,0,0)!important;
}

.rsg-selector-toolbar{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  width:100%!important;
}
.rsg-selector-toolbar .rsg-choice-colors{
  flex:0 1 auto!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
}
.rsg-selector-toolbar .rsg-choice-colors .rsg-choice-title{
  margin:0!important;
  white-space:nowrap!important;
  text-align:left!important;
}
.rsg-selector-toolbar .rsg-choice-colors .rsg-choice-buttons{
  display:flex!important;
  flex-flow:row nowrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:14px!important;
}
.rsg-selector-toolbar .rsg-view-switch-wrap{
  flex:0 0 auto!important;
  margin:0!important;
  align-self:center!important;
}
.rsg-view-switch button[data-rsg-view="visual"]{
  font-size:0!important;
}
.rsg-view-switch button[data-rsg-view="visual"]::before{
  content:'👖';
  font-size:18px;
  line-height:1;
}
.rsg-diagram-pantalon .rsg-diagram-stage{width:min(100%,480px)!important;}

/* Anotaciones finales por categoría */
.rsg-svg-range{stroke:#111;fill:none;color:#111;}
.rsg-svg-guide{stroke:#777;stroke-width:2;fill:none;}
.rsg-svg-part-title{font-family:Arial,Helvetica,sans-serif;font-weight:800;fill:#111;paint-order:stroke fill;stroke:#fff;stroke-width:5px;stroke-linejoin:round;}
.rsg-diagram-pantalon .rsg-diagram-value{font-size:12px!important;padding:1px 4px!important;}

.rsg-static-body-guide{
  display:none;
  margin:18px 0 4px;
  padding:22px 4px 8px;
  border-top:1px solid #e7e7e7;
}
.rsg-body-mode .rsg-static-body-guide{display:block!important;}
.rsg-static-body-layout{
  display:grid;
  grid-template-columns:minmax(220px,340px) 1fr;
  gap:26px;
  align-items:center;
  max-width:680px;
  margin:0 auto;
}
.rsg-static-body-guide .rsg-guide-image{
  display:block!important;
  width:100%;
  max-width:320px;
  margin:0 auto;
  border-radius:12px;
}
.rsg-static-body-guide .rsg-guide-copy{margin:0!important;max-width:none!important;}

@media(max-width:700px){
  body .rsg-popup-overlay .rsg-popup{
    width:100vw!important;
    max-width:100vw!important;
    border-radius:0!important;
  }
  .rsg-selector-toolbar{
    gap:10px!important;
    justify-content:space-between!important;
  }
  .rsg-selector-toolbar .rsg-choice-colors{
    gap:8px!important;
    overflow:hidden;
  }
  .rsg-selector-toolbar .rsg-choice-colors .rsg-choice-title{
    font-size:12px!important;
  }
  .rsg-selector-toolbar .rsg-choice-colors .rsg-choice-buttons{gap:10px!important;}
  .rsg-static-body-layout{grid-template-columns:1fr;gap:16px;}
  .rsg-static-body-guide .rsg-guide-copy{text-align:left!important;}
}

/* v1.11.0 - selector único, SVG escalable, navegación AJAX y espaciado */
.rsg-color-tabs{display:none!important;}
.rsg-diagram-stage{position:relative!important;}
.rsg-diagram-stage>img{display:block!important;width:100%!important;height:auto!important;}
.rsg-diagram-overlay{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:visible!important;pointer-events:none!important;}
.rsg-svg-measure{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:800;fill:#111;stroke:#fff;stroke-width:4px;paint-order:stroke fill;stroke-linejoin:round;}
.rsg-view-switch button{display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:0!important;}
.rsg-view-switch button svg{width:19px;height:19px;display:block;fill:currentColor;}
.rsg-static-guide .rsg-guide-copy-title{margin:0 0 18px!important;font-size:21px!important;line-height:1.3!important;}
.rsg-static-guide .rsg-guide-copy>p:not(.rsg-guide-copy-title){margin:0 0 20px!important;line-height:1.7!important;}
.rsg-static-guide .rsg-guide-list{display:grid!important;gap:14px!important;margin-top:20px!important;}
.rsg-static-guide .rsg-guide-list p{margin:0!important;line-height:1.65!important;}
.rsg-static-guide{padding-top:28px!important;padding-bottom:20px!important;}
.rsg-popup-overlay .rsg-popup{will-change:transform;}
.rsg-open-popup.rsg-relocated{display:inline-flex!important;}
.rsg-color-panel{display:none!important;}
.rsg-color-panel.active{display:block!important;}
@media(max-width:700px){
 .rsg-svg-measure{font-size:11px;stroke-width:3px;}
 .rsg-static-guide .rsg-guide-copy-title{font-size:19px!important;margin-bottom:15px!important;}
 .rsg-static-guide .rsg-guide-copy>p:not(.rsg-guide-copy-title){margin-bottom:16px!important;}
 .rsg-static-guide .rsg-guide-list{gap:12px!important;margin-top:16px!important;}
}

/* v1.11.2: enlace estable, medidas dinámicas y switch lateral */
.rsg-open-popup.rsg-size-guide-link{
  display:block!important; width:max-content!important; margin:-34px 0 12px auto!important;
  padding:0!important; border:0!important; border-radius:0!important; background:transparent!important;
  color:#222!important; font-size:14px!important; font-weight:500!important; line-height:1.2!important;
  text-decoration:underline!important; text-underline-offset:2px!important; box-shadow:none!important;
  transform:none!important; position:relative!important; z-index:3;
}
.rsg-open-popup.rsg-size-guide-link:hover{opacity:.72!important;color:#222!important;transform:none!important;}
.single_variation_wrap{position:relative;}
.rsg-quick-selector{position:relative;}
.rsg-selector-toolbar{padding-right:58px;}
.rsg-view-switch-wrap{
  position:absolute!important; right:-18px!important; top:18px!important; z-index:5!important;
  margin:0!important; align-self:auto!important;
}
.rsg-view-switch{display:flex!important;flex-direction:column!important;border-radius:14px!important;padding:4px!important;gap:3px!important;background:#f2f2f2!important;}
.rsg-view-switch button{width:44px!important;height:40px!important;padding:7px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.rsg-view-switch button svg{display:block;width:25px;height:25px;fill:none;color:currentColor;}
.rsg-diagram-overlay{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;}
.rsg-svg-measure{font-family:Arial,sans-serif;font-size:13px;font-weight:800;fill:#111;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round;}
@media(max-width:700px){
 .rsg-open-popup.rsg-size-guide-link{margin:-32px 0 12px auto!important;font-size:13px!important;}
 .rsg-selector-toolbar{padding-right:48px;}
 .rsg-view-switch-wrap{right:-7px!important;top:12px!important;}
 .rsg-view-switch button{width:39px!important;height:36px!important;padding:6px!important;}
 .rsg-svg-measure{font-size:12px;stroke-width:3.5px;}
}

/* v1.11.3 - limpieza definitiva del acceso y switch */
/* El botón heredado deja de existir visualmente por seguridad ante cachés antiguas. */
.rsg-open-popup:not(.rsg-size-guide-inline-link){display:none!important;}
.variations .label label:has(.rsg-size-guide-inline-link),
.variations th.label label:has(.rsg-size-guide-inline-link){
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;gap:16px!important;margin:0!important;
}
.rsg-size-label-text{display:inline-block!important;}
.rsg-size-guide-inline-link{
  display:inline-block!important;margin-left:auto!important;padding:0!important;border:0!important;
  background:transparent!important;color:#222!important;font-size:13px!important;font-weight:400!important;
  line-height:1.2!important;text-decoration:underline!important;text-underline-offset:2px!important;
  text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important;box-shadow:none!important;
}
.rsg-size-guide-inline-link:hover{color:#222!important;opacity:.7!important;}
.rsg-popup-overlay .rsg-popup{position:relative!important;overflow:visible!important;}
.rsg-quick-selector{position:static!important;}
.rsg-selector-toolbar{padding-right:0!important;}
.rsg-view-switch-wrap{
  position:absolute!important;right:-58px!important;top:132px!important;z-index:50!important;
  margin:0!important;display:block!important;
}
.rsg-view-switch{
  display:flex!important;flex-direction:column!important;gap:4px!important;padding:5px!important;
  border:1px solid #d8d8d8!important;border-radius:16px!important;background:#f4f4f4!important;
  box-shadow:0 3px 12px rgba(0,0,0,.10)!important;
}
.rsg-view-switch button{
  width:44px!important;height:40px!important;border:0!important;border-radius:11px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;padding:7px!important;
  background:transparent!important;color:#252525!important;box-shadow:none!important;
}
.rsg-view-switch button.active{background:#111!important;color:#fff!important;}
.rsg-view-switch button svg{width:25px!important;height:25px!important;display:block!important;fill:none!important;}
.rsg-diagram-stage{max-width:520px!important;margin:0 auto!important;}
.rsg-svg-measure{font-size:12px!important;font-weight:800!important;stroke-width:3.5px!important;}
@media(max-width:700px){
  .variations .label label:has(.rsg-size-guide-inline-link),.variations th.label label:has(.rsg-size-guide-inline-link){gap:10px!important;}
  .rsg-size-guide-inline-link{font-size:12px!important;}
  .rsg-popup-overlay .rsg-popup{overflow-x:hidden!important;}
  .rsg-view-switch-wrap{right:10px!important;top:116px!important;}
  .rsg-view-switch{flex-direction:row!important;border-radius:999px!important;}
  .rsg-view-switch button{width:39px!important;height:35px!important;border-radius:999px!important;padding:6px!important;}
  .rsg-view-switch button svg{width:21px!important;height:21px!important;}
  .rsg-svg-measure{font-size:11px!important;stroke-width:3px!important;}
}


/* v1.11.4 - enlace compatible con temas que no usan woocommerce_attribute_label */
.rsg-size-label-host{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  gap:14px!important;
}
.rsg-size-label-host .rsg-size-guide-inline-link{
  margin-left:auto!important;
  flex:0 0 auto!important;
}
.variations tr:has(select[name="attribute_pa_talla"]) th.label,
.variations tr:has(select[name="attribute_pa_talle"]) th.label,
.variations tr:has(select[name="attribute_talla"]) th.label,
.variations tr:has(select[name="attribute_talle"]) th.label{
  width:100%!important;
}

/* v1.11.5 — switch dentro del cuadro, iconos monocromos y apertura móvil */
.rsg-view-switch button[data-rsg-view="visual"]::before{content:none!important;display:none!important;}
.rsg-popup-overlay .rsg-popup{overflow-x:hidden!important;}
.rsg-quick-selector{position:relative!important;}
.rsg-selector-toolbar{padding-right:104px!important;min-height:58px!important;}
.rsg-view-switch-wrap{
  position:absolute!important;
  top:14px!important;
  right:14px!important;
  left:auto!important;
  margin:0!important;
  z-index:8!important;
}
.rsg-view-switch{
  flex-direction:row!important;
  border-radius:999px!important;
  padding:4px!important;
  gap:3px!important;
  background:#f4f4f4!important;
  border:1px solid #d9d9d9!important;
  box-shadow:0 3px 10px rgba(0,0,0,.09)!important;
}
.rsg-view-switch button{
  width:42px!important;
  height:38px!important;
  border-radius:999px!important;
  padding:7px!important;
  font-size:0!important;
}
.rsg-view-switch button svg{
  width:23px!important;
  height:23px!important;
  display:block!important;
  color:currentColor!important;
  fill:none!important;
  stroke:currentColor!important;
}
/* Quita el espacio heredado que separaba la referencia del bloque “Cómo medir”. */
.rsg-accordions{margin-top:4px!important;}
.rsg-static-guide{margin-top:0!important;padding-top:14px!important;}
.rsg-model-boxes{margin-bottom:4px!important;}

@media(max-width:700px){
  .rsg-selector-toolbar{padding-right:98px!important;min-height:54px!important;}
  .rsg-view-switch-wrap{top:10px!important;right:10px!important;}
  .rsg-view-switch button{width:38px!important;height:34px!important;padding:6px!important;}
  .rsg-view-switch button svg{width:20px!important;height:20px!important;}
  body .rsg-popup-overlay .rsg-popup{
    transform:translateY(100%)!important;
    opacity:1!important;
    transition:transform .28s cubic-bezier(.22,.75,.25,1)!important;
    will-change:transform!important;
  }
  body .rsg-popup-overlay.active .rsg-popup{transform:translateY(0)!important;}
  .rsg-popup-overlay{align-items:flex-end!important;padding:0!important;}
  .rsg-accordions{margin-top:0!important;}
  .rsg-static-guide{padding-top:12px!important;}
}
@media(prefers-reduced-motion:reduce){
  body .rsg-popup-overlay .rsg-popup{transition:none!important;}
}

/* Etiquetas finales: texto negro sobre fondo blanco. */
.rsg-diagram-overlay .rsg-svg-measure-group{pointer-events:none;}
.rsg-diagram-overlay .rsg-svg-measure-box{
  fill:#fff !important;
  stroke:#111 !important;
  stroke-width:1.4px !important;
}
.rsg-diagram-overlay .rsg-svg-measure{
  fill:#111 !important;
  stroke:none !important;
  paint-order:normal !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
}
.rsg-add-cart-form .rsg-add-to-cart{
  max-width:880px;
  margin:10px auto 0;
  display:block;
  width:100%;
}
.rsg-add-cart-form .rsg-add-to-cart:disabled{
  opacity:.55;
  cursor:not-allowed;
}
@media (max-width:767px){
  .rsg-diagram-overlay .rsg-svg-measure{font-size:11px !important;}
}

/* === RSG 1.11.9: pestañas a ancho completo + sincronización inicial === */
.rsg-main-tabs{
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:stretch !important;
  justify-content:stretch !important;
  width:100% !important;
  max-width:none !important;
  gap:0 !important;
  margin:12px 0 16px !important;
  padding:0 !important;
  border-bottom:1px solid #ececec !important;
}
.rsg-main-tabs .rsg-main-tab{
  flex:1 1 0 !important;
  width:auto !important;
  min-width:0 !important;
  min-height:50px !important;
  margin:0 !important;
  padding:11px 8px 13px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-align:center !important;
  cursor:pointer !important;
}
.rsg-main-tabs .rsg-main-tab.active::after{
  left:0 !important;
  right:0 !important;
  bottom:-1px !important;
  height:3px !important;
}
@media(max-width:700px){
  .rsg-main-tabs{
    flex-flow:row nowrap !important;
    gap:0 !important;
    margin:10px 0 16px !important;
  }
  .rsg-main-tabs .rsg-main-tab{
    min-height:48px !important;
    padding:10px 5px 12px !important;
    font-size:15px !important;
    line-height:1.2 !important;
  }
}


/* === RSG 1.12.0: selección aislada y animaciones perceptibles === */
/* Escritorio: el drawer entra de derecha a izquierda de forma fluida. */
body .rsg-popup-overlay{
  transition:opacity .45s ease, visibility 0s linear .75s !important;
}
body .rsg-popup-overlay.active,
body .rsg-popup-overlay.rsg-opening{
  transition:opacity .45s ease, visibility 0s linear 0s !important;
}
body .rsg-popup-overlay .rsg-popup{
  animation:none !important;
  transform:translate3d(108%,0,0) !important;
  transition:transform .75s cubic-bezier(.16,1,.3,1) !important;
  will-change:transform !important;
}
body .rsg-popup-overlay.active .rsg-popup{
  transform:translate3d(0,0,0) !important;
}

/* Móvil: apertura de abajo hacia arriba con duración exacta de 1 segundo. */
@media(max-width:767px){
  body .rsg-popup-overlay{
    transition:opacity .5s ease, visibility 0s linear 1s !important;
  }
  body .rsg-popup-overlay.active,
  body .rsg-popup-overlay.rsg-opening{
    transition:opacity .5s ease, visibility 0s linear 0s !important;
  }
  body .rsg-popup-overlay .rsg-popup{
    transform:translate3d(0,100%,0) !important;
    transition:transform 1s cubic-bezier(.16,1,.3,1) !important;
  }
  body .rsg-popup-overlay.active .rsg-popup{
    transform:translate3d(0,0,0) !important;
  }
}

@media(prefers-reduced-motion:reduce){
  body .rsg-popup-overlay,
  body .rsg-popup-overlay .rsg-popup{
    transition-duration:.01ms !important;
  }
}


/* v1.13.0 selector inline móvil para Elessi */
.rsg-mobile-inline-host { display: none; }
.rsg-mobile-inline-anchor { display: none !important; }

@media (max-width: 768px) {
  .nasa-single-product-in-mobile .rsg-mobile-inline-host.rsg-mobile-inline-after-summary {
    border-top: 8px solid #fff !important;
  }

  body.rsg-mobile-inline-page .nasa-single-product-in-mobile .ns-variants-first,
  .nasa-single-product-in-mobile.rsg-mobile-inline-enabled .ns-variants-first,
  .nasa-single-product-in-mobile:has(.rsg-mobile-inline-host) .ns-variants-first {
    display: none !important;
  }

  .nasa-single-product-in-mobile.rsg-mobile-inline-enabled .rsg-mobile-inline-host {
    display: block;
    margin: 10px 0 14px;
  }

  .rsg-mobile-inline {
    background: #fff;
    border-top: 0;
    border-bottom: 1px solid #ececec;
    padding: 14px 0 0;
  }

  .rsg-mobile-inline-inner {
    display: block;
  }

  .rsg-mobile-inline-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .rsg-mobile-inline-row-colors {
    padding-top: 8px;
    margin-bottom: 14px;
  }

  .rsg-mobile-inline-row-head {
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .rsg-mobile-inline-label {
    min-width: 58px;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2;
  }

  .rsg-mobile-inline-color-buttons,
  .rsg-mobile-inline-size-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .rsg-mobile-inline-color-buttons {
    gap: 12px;
    flex: 1 1 auto;
  }

  .rsg-mobile-inline-size-buttons {
    gap: 10px;
    margin-bottom: 14px;
  }

  .rsg-mobile-inline-swatch {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .rsg-mobile-inline-swatch.active {
    border-color: #111;
    box-shadow: 0 0 0 2px #fff inset, 0 0 0 1px #111;
  }

  .rsg-mobile-inline-swatch-dot {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background-position: center;
    background-size: cover;
    border: 1px solid rgba(0,0,0,.08);
  }

  .rsg-mobile-inline-size {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #bdbdbd;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }

  .rsg-mobile-inline-size.active {
    background: #111;
    border-color: #111;
    color: #fff;
  }

  .rsg-mobile-inline-size:disabled,
  .rsg-mobile-inline-cart:disabled {
    opacity: .45;
    cursor: not-allowed;
  }

  .rsg-mobile-inline-guide {
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .rsg-mobile-inline-cart {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: #111;
    color: #fff;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .rsg-mobile-inline-cart.loading {
    opacity: .75;
  }

  .rsg-mobile-inline-note {
    min-height: 18px;
    margin-top: 8px;
    color: #9a3412;
    font-size: 12px;
  }
}

/* v1.14.1 — Rótulos encuadrados y guías denim de bajo contraste. */
.rsg-diagram-overlay .rsg-svg-range {
  color: #526f8a !important;
  stroke: #526f8a !important;
}
.rsg-diagram-overlay .rsg-svg-guide {
  stroke: #71879b !important;
}
.rsg-diagram-overlay .rsg-svg-title-box,
.rsg-diagram-overlay .rsg-svg-measure-box {
  fill: rgba(255, 254, 252, .94) !important;
  stroke: #b8c7d3 !important;
  stroke-width: 1.4px !important;
}
.rsg-diagram-overlay .rsg-svg-part-title,
.rsg-diagram-overlay .rsg-svg-measure {
  fill: #1b1a18 !important;
  stroke: none !important;
  paint-order: normal !important;
  font-family: "Work Sans", Arial, sans-serif !important;
}

/* v1.14.0 — Sistema visual VERO. Capa final, sin alterar estructura ni comportamiento. */
:root {
  --vero-ink-950: #1b1a18;
  --vero-ink-800: #403e3a;
  --vero-ink-700: #5b5853;
  --vero-ink-500: #8c8881;
  --vero-ink-300: #d8d4ce;
  --vero-ink-200: #ebe8e3;
  --vero-ink-100: #f5f3ef;
  --vero-ink-50: #faf9f7;
  --vero-white: #fffefc;
  --vero-denim-600: #426b94;
  --vero-denim-700: #345677;
  --vero-clay-600: #a85238;
  --vero-danger: #963e37;
  --vero-font-display: "Prata", Georgia, serif;
  --vero-font-body: "Work Sans", Arial, sans-serif;
  --vero-focus: 0 0 0 3px rgba(66, 107, 148, .28);
  --vero-shadow-lg: 0 12px 32px rgba(27, 26, 24, .12);
}

.rsg-open-popup,
.rsg-popup,
.rsg-mobile-inline,
.rpal-variation-notice {
  font-family: var(--vero-font-body);
}

.rsg-open-popup {
  border-color: var(--vero-ink-950) !important;
  border-radius: 4px !important;
  background: transparent !important;
  color: var(--vero-ink-950) !important;
  font-weight: 600 !important;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease !important;
}
.rsg-open-popup:hover,
.rsg-open-popup:focus-visible {
  border-color: var(--vero-ink-950) !important;
  background: var(--vero-ink-950) !important;
  color: var(--vero-white) !important;
  opacity: 1 !important;
  transform: none !important;
}
.rsg-open-popup:focus-visible,
.rsg-popup button:focus-visible,
.rsg-mobile-inline button:focus-visible { outline: 0; box-shadow: var(--vero-focus) !important; }

.rsg-popup-overlay { background: rgba(27, 26, 24, .55); }
.rsg-popup {
  background: var(--vero-white);
  border: 1px solid var(--vero-ink-200);
  border-radius: 10px !important;
  color: var(--vero-ink-950);
  box-shadow: var(--vero-shadow-lg);
  animation: none;
}
.rsg-popup-close {
  border: 1px solid var(--vero-ink-200);
  border-radius: 4px;
  background: transparent;
  color: var(--vero-ink-700);
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}
.rsg-popup-close:hover { border-color: var(--vero-ink-950); background: var(--vero-ink-50); color: var(--vero-ink-950); }
.rsg-popup-header h2 {
  font-family: var(--vero-font-display);
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--vero-ink-950);
}
.rsg-template-html,
.rsg-guide-copy,
.rsg-model-color,
.rsg-model-note { color: var(--vero-ink-700) !important; }

.rsg-main-tabs { border-color: var(--vero-ink-200); }
.rsg-main-tab { color: var(--vero-ink-500); font-weight: 600; transition: color 120ms ease; }
.rsg-main-tab:hover,
.rsg-main-tab.active { color: var(--vero-denim-700); }
.rsg-main-tab.active::after { height: 2px; background: var(--vero-denim-600); border-radius: 0; }

.rsg-quick-selector {
  border-color: var(--vero-ink-200);
  border-radius: 6px;
  background: var(--vero-ink-50);
}
.rsg-choice-title,
.rsg-model-title,
.rsg-mobile-inline-label { color: var(--vero-ink-700) !important; font-weight: 600 !important; }
.rsg-choice-btn,
.rsg-popup .rsg-choice-btn {
  min-width: 44px;
  width: auto;
  height: 44px;
  border-color: var(--vero-ink-300);
  border-radius: 4px;
  background: var(--vero-white);
  color: var(--vero-ink-950);
  font-weight: 500;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}
.rsg-choice-btn:hover { border-color: var(--vero-ink-950); }
.rsg-choice-btn.active { border-color: var(--vero-ink-950); background: var(--vero-ink-950); color: var(--vero-white); }

.rsg-popup .rsg-choice-color-swatch,
.rsg-popup .rsg-color-swatch-tab { border-color: var(--vero-ink-200) !important; background: var(--vero-ink-100) !important; }
.rsg-popup .rsg-choice-color-swatch.active,
.rsg-popup .rsg-color-swatch-tab.active { border-color: var(--vero-ink-950) !important; background: var(--vero-white) !important; }

.rsg-measure-item,
.rsg-model-box {
  border-color: var(--vero-ink-200) !important;
  border-radius: 6px !important;
  background: var(--vero-white) !important;
  box-shadow: none !important;
}
.rsg-measure-item span,
.rsg-model-grid span { color: var(--vero-ink-500); }
.rsg-measure-item strong,
.rsg-model-grid strong,
.rsg-selected-title,
.rsg-model-title,
.rsg-model-name { color: var(--vero-ink-950); }

.rsg-add-to-cart,
.rsg-mobile-inline-cart {
  border-radius: 4px !important;
  background: var(--vero-ink-950) !important;
  color: var(--vero-white) !important;
  font-weight: 600 !important;
  transition: background 120ms ease, border-color 120ms ease !important;
}
.rsg-add-to-cart:hover,
.rsg-mobile-inline-cart:hover { background: var(--vero-ink-800) !important; }
.rsg-add-to-cart:disabled,
.rsg-mobile-inline-cart:disabled { opacity: .4; }

/* v1.14.2: referencia de modelo en panel secundario */
.rsg-model-reference { position: relative; max-width: 760px; margin: 12px auto 14px; }
.rsg-model-trigger {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px;
  border: 1px solid var(--vero-ink-200); border-radius: 6px; background: var(--vero-white);
  color: var(--vero-ink-950); text-align: left; cursor: pointer;
}
.rsg-model-trigger:hover { border-color: var(--vero-ink-950); }
.rsg-model-trigger-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--vero-ink-100); font-size: 18px; }
.rsg-model-trigger > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 1px; }
.rsg-model-trigger strong { font-size: 13px; font-weight: 700; }
.rsg-model-trigger small { color: var(--vero-ink-500); font-size: 11px; }
.rsg-model-trigger-arrow { font-size: 18px; transition: transform 160ms ease; }
.rsg-model-reference.is-open .rsg-model-trigger-arrow { transform: translateX(3px); }
.rsg-model-dialog { display: none; position: absolute; z-index: 30; inset: -90px -18px auto; min-height: 420px; align-items: center; justify-content: center; padding: 24px; }
.rsg-model-reference.is-open .rsg-model-dialog { display: flex; }
.rsg-model-dialog-backdrop { position: absolute; inset: 0; width: 100%; border: 0; border-radius: 8px; background: rgba(27,26,24,.48); cursor: default; }
.rsg-model-dialog-card { position: relative; width: min(100%, 520px); max-height: min(620px, 72vh); overflow: auto; padding: 24px; border: 1px solid var(--vero-ink-200); border-radius: 10px; background: var(--vero-white); box-shadow: var(--vero-shadow-lg); }
.rsg-model-dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--vero-ink-200); border-radius: 50%; background: var(--vero-white); color: var(--vero-ink-950); font-size: 20px; cursor: pointer; }
.rsg-model-dialog-heading { padding: 2px 42px 18px 0; border-bottom: 1px solid var(--vero-ink-200); }
.rsg-model-dialog-heading span { color: var(--vero-ink-500); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rsg-model-dialog-heading h3 { margin: 3px 0 0; font-family: var(--vero-font-display); font-size: 23px; font-weight: 400; }
.rsg-model-dialog .rsg-model-boxes { margin: 0 !important; }
.rsg-model-dialog .rsg-model-box { grid-template-columns: 112px 1fr !important; gap: 10px 20px !important; padding: 22px 0 0 !important; border: 0 !important; }
.rsg-model-dialog .rsg-model-photo { grid-column: 1 !important; grid-row: 1 / span 3 !important; align-self: start; }
.rsg-model-dialog .rsg-model-photo img { width: 112px !important; height: 140px !important; border: 0 !important; border-radius: 6px !important; object-position: center top; }
.rsg-model-identity { grid-column: 2; text-align: left; }
.rsg-model-dialog .rsg-model-name { margin: 0 0 4px !important; font-size: 16px !important; letter-spacing: .02em; }
.rsg-model-dialog .rsg-model-color { margin: 0 !important; font-size: 12px !important; }
.rsg-model-dialog .rsg-model-color span { color: var(--vero-ink-500); }
.rsg-model-dialog .rsg-model-grid { grid-column: 2 !important; display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 8px !important; }
.rsg-model-dialog .rsg-model-grid div { min-width: 0 !important; padding: 9px 10px !important; border: 1px solid var(--vero-ink-200) !important; border-radius: 4px !important; background: var(--vero-ink-50) !important; }
.rsg-model-dialog .rsg-model-grid strong { font-size: 14px !important; }
.rsg-model-dialog .rsg-model-note { grid-column: 2 !important; padding-top: 10px; border-top: 1px solid var(--vero-ink-200); }
@media (max-width: 600px) {
  .rsg-model-dialog { position: fixed; z-index: 10002; inset: 0; min-height: 0; padding: 16px; }
  .rsg-model-dialog-card { max-height: 82vh; padding: 20px; }
  .rsg-model-dialog .rsg-model-box { grid-template-columns: 82px 1fr !important; gap: 8px 14px !important; }
  .rsg-model-dialog .rsg-model-photo img { width: 82px !important; height: 106px !important; }
  .rsg-model-dialog .rsg-model-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
.rsg-selector-note,
.rsg-mobile-inline-note { color: var(--vero-danger); }

.rsg-table-wrap { border-color: var(--vero-ink-200); border-radius: 6px; }
.rsg-table { background: var(--vero-white); }
.rsg-table th {
  border-color: var(--vero-ink-200);
  background: var(--vero-ink-100);
  color: var(--vero-ink-950);
  font-weight: 600;
}
.rsg-table td { border-color: var(--vero-ink-200); color: var(--vero-ink-800); }
.rsg-table tr:nth-child(even) td { background: var(--vero-ink-50); }
.rsg-table tbody tr:hover td,
.rsg-table tbody tr.rsg-row-active td { background: #edf2f7 !important; }
.rsg-table tbody tr.rsg-row-active td:first-child { color: var(--vero-denim-700); }

.rsg-accordions { border-color: var(--vero-ink-200); }
.rsg-accordion { border-color: var(--vero-ink-200); background: var(--vero-white); }
.rsg-accordion summary { color: var(--vero-ink-950); font-weight: 600; }
.rsg-guide-copy-title { font-family: var(--vero-font-display); font-weight: 400; color: var(--vero-ink-950); }
.rsg-guide-image { border-radius: 6px; }

.rsg-size-guide-inline-link,
.rsg-mobile-inline-guide { color: var(--vero-denim-700) !important; text-underline-offset: 3px; }
.rsg-mobile-inline { border-color: var(--vero-ink-200) !important; background: var(--vero-white); color: var(--vero-ink-950); }
.rsg-mobile-inline-size {
  border-color: var(--vero-ink-300) !important;
  border-radius: 4px !important;
  background: var(--vero-white) !important;
  color: var(--vero-ink-950) !important;
  font-weight: 500 !important;
}
.rsg-mobile-inline-size.active { border-color: var(--vero-ink-950) !important; background: var(--vero-ink-950) !important; color: var(--vero-white) !important; }
.rsg-mobile-inline-swatch { border-color: var(--vero-ink-200) !important; background: var(--vero-ink-100) !important; }
.rsg-mobile-inline-swatch.active { border-color: var(--vero-ink-950) !important; background: var(--vero-white) !important; }
.rsg-mobile-inline-reset { color: var(--vero-ink-500) !important; }
.rsg-mobile-quantity { border-color: var(--vero-ink-200) !important; border-radius: 4px !important; background: var(--vero-white) !important; }
.rsg-mobile-actions { border-color: var(--vero-ink-200) !important; background: var(--vero-white) !important; box-shadow: 0 -4px 12px rgba(27, 26, 24, .08) !important; }

@media (max-width: 700px) {
  .rsg-popup { border-radius: 6px !important; }
  .rsg-popup-header h2 { font-size: 26px; }
}


/* v1.13.1 posición y ancho del selector móvil */
@media (max-width: 768px) {
  .nasa-single-product-in-mobile .rsg-mobile-inline-host {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
    align-self: stretch !important;
    clear: both !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline,
  .nasa-single-product-in-mobile .rsg-mobile-inline-inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline {
    padding: 16px 12px 0 !important;
    margin: 0 !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline-cart {
    width: calc(100% + 24px) !important;
    max-width: none !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
  }
}

/* La ubicación final garantiza precedencia sobre los ajustes históricos del tema. */
@media (max-width: 768px) {
  .nasa-single-product-in-mobile .rsg-mobile-inline {
    border-color: var(--vero-ink-200) !important;
    background: var(--vero-white) !important;
  }
  .nasa-single-product-in-mobile .rsg-mobile-inline-label { color: var(--vero-ink-700) !important; font-weight: 600 !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-guide { color: var(--vero-denim-700) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch { border-color: var(--vero-ink-200) !important; border-radius: 4px !important; background: var(--vero-ink-100) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch.active { border-color: var(--vero-ink-950) !important; background: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-size { border-color: var(--vero-ink-300) !important; border-radius: 4px !important; background: var(--vero-white) !important; color: var(--vero-ink-950) !important; font-weight: 500 !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-size.active { border-color: var(--vero-ink-950) !important; background: var(--vero-ink-950) !important; color: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-quantity { border-color: var(--vero-ink-200) !important; border-radius: 4px !important; background: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-cart { border-radius: 4px !important; background: var(--vero-ink-950) !important; color: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-actions { border-color: var(--vero-ink-200) !important; background: var(--vero-white) !important; box-shadow: 0 -4px 12px rgba(27, 26, 24, .08) !important; }
}

/* v1.14.1 — precedencia final de las anotaciones SVG. */
.rsg-diagram-overlay .rsg-svg-range { color: #526f8a !important; stroke: #526f8a !important; }
.rsg-diagram-overlay .rsg-svg-guide { stroke: #71879b !important; }
.rsg-diagram-overlay .rsg-svg-title-box,
.rsg-diagram-overlay .rsg-svg-measure-box { fill: rgba(255, 254, 252, .94) !important; stroke: #b8c7d3 !important; stroke-width: 1.4px !important; }
.rsg-diagram-overlay .rsg-svg-part-title,
.rsg-diagram-overlay .rsg-svg-measure { fill: #1b1a18 !important; stroke: none !important; paint-order: normal !important; font-family: "Work Sans", Arial, sans-serif !important; }

/* v1.14.8 — precedencia cromática final sobre las correcciones históricas. */
.rsg-popup,
.rsg-mobile-inline { --vero-denim-600:#9b3b6e; --vero-denim-700:#762b53; --vero-pink:#fce3ee; }
.rsg-main-tab.active { color:#9b3b6e !important; }
.rsg-main-tab.active::after { background:#9b3b6e !important; }
.rsg-choice-btn.active,
.rsg-popup .rsg-choice-btn.active,
.rsg-view-switch button.active { border-color:#9b3b6e !important; background:#9b3b6e !important; color:#fff !important; }
.rsg-table tbody tr.rsg-row-active td { background:#fce3ee !important; }
.rsg-table tbody tr.rsg-row-active td:first-child { color:#762b53 !important; }
.rsg-add-to-cart,
.rsg-mobile-inline-cart,
.nasa-single-product-in-mobile .rsg-mobile-inline-cart { border-color:#9b3b6e !important; background:#9b3b6e !important; color:#fff !important; }
.rsg-size-guide-inline-link,
.rsg-mobile-inline-guide,
.nasa-single-product-in-mobile .rsg-mobile-inline-guide,
.rsg-quick-selector .rsg-model-trigger { border-color:#9b3b6e !important; background:#fff !important; color:#9b3b6e !important; }
.rsg-size-guide-inline-link:hover,
.rsg-mobile-inline-guide:hover,
.rsg-quick-selector .rsg-model-trigger:hover { background:#fce3ee !important; color:#762b53 !important; }
.rsg-diagram-overlay .rsg-svg-range { color:#9b3b6e !important; stroke:#9b3b6e !important; }
.rsg-diagram-overlay .rsg-svg-guide { stroke:#bd7199 !important; }
.rsg-diagram-overlay .rsg-svg-title-box,
.rsg-diagram-overlay .rsg-svg-measure-box { fill:rgba(252,227,238,.94) !important; stroke:#d39ab8 !important; }
@media (max-width:768px) {
  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch.active { border-color:#9b3b6e !important; background:#fff !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-size.active { border-color:#9b3b6e !important; background:#9b3b6e !important; color:#fff !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-cart { background:#9b3b6e !important; color:#fff !important; }
}

/* v1.14.10 — miniaturas visibles con el texto del color oculto. */
.rsg-popup .rsg-quick-selector .rsg-choice-colors { display:flex !important; }
.rsg-popup .rsg-quick-selector .rsg-choice-colors .rsg-choice-title { display:none !important; }
.rsg-popup .rsg-quick-selector .rsg-selector-toolbar {
  flex-wrap:nowrap !important;
  justify-content:space-between !important;
}
.rsg-popup .rsg-quick-selector .rsg-choice-sizes {
  width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}
.rsg-popup .rsg-quick-selector .rsg-choice-sizes .rsg-choice-title { text-align:center !important; }
.rsg-popup .rsg-quick-selector .rsg-choice-sizes .rsg-choice-buttons {
  justify-content:center !important;
  width:100% !important;
}

/* v1.14.4 — controles de texto neutros, sin azul ni negro puro. */
.rsg-size-guide-inline-link,
.rsg-mobile-inline-guide {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 5px 10px !important;
  border: 1px solid #c9c4bc !important;
  border-radius: 4px !important;
  background: #f7f4ef !important;
  color: #5f5a53 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}
.rsg-size-guide-inline-link:hover,
.rsg-size-guide-inline-link:focus-visible,
.rsg-mobile-inline-guide:hover,
.rsg-mobile-inline-guide:focus-visible {
  border-color: #8d867c !important;
  background: #eee9e2 !important;
  color: #4f4a44 !important;
  opacity: 1 !important;
}
.rsg-main-tab.active {
  color: #5f5a53 !important;
  font-size: 14px !important;
}
.rsg-main-tab.active::after { background: #9b9185 !important; }
.rsg-table tbody tr.rsg-row-active td:first-child { color: #5f5a53 !important; }

/* v1.14.5 — controles de vista a la izquierda y Referencias a la derecha. */
.rsg-quick-selector .rsg-selector-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-height: 48px !important;
  padding: 0 !important;
}
.rsg-quick-selector .rsg-view-switch-wrap {
  position: static !important;
  inset: auto !important;
  order: 1 !important;
  display: flex !important;
  justify-content: flex-start !important;
  width: auto !important;
  margin: 0 !important;
}
.rsg-quick-selector .rsg-view-switch {
  flex-direction: row !important;
  border-radius: 999px !important;
}
.rsg-quick-selector .rsg-choice-colors { order: 2 !important; }
.rsg-quick-selector .rsg-model-reference {
  position: static !important;
  order: 3 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 0 0 auto !important;
}
.rsg-quick-selector .rsg-model-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 40px !important;
  padding: 8px 15px !important;
  border: 1px solid #c9c4bc !important;
  border-radius: 999px !important;
  background: #f7f4ef !important;
  color: #5f5a53 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.rsg-quick-selector .rsg-model-trigger:hover { border-color: #8d867c !important; background: #eee9e2 !important; }
.rsg-quick-selector .rsg-model-dialog {
  position: fixed !important;
  z-index: 10002 !important;
  inset: 0 !important;
  min-height: 0 !important;
  padding: 18px !important;
}
@media (max-width: 600px) {
  .rsg-quick-selector .rsg-selector-toolbar { gap: 8px !important; }
  .rsg-quick-selector .rsg-view-switch button { width: 38px !important; height: 34px !important; padding: 6px !important; }
  .rsg-quick-selector .rsg-model-trigger { min-height: 36px !important; padding: 7px 12px !important; font-size: 12px !important; }
  .rsg-quick-selector .rsg-choice-colors { width: 100% !important; order: 4 !important; }
  .rsg-quick-selector .rsg-selector-toolbar:has(.rsg-choice-colors) { flex-wrap: wrap !important; }
}

/* v1.14.6 — apertura fluida de Referencias desde su botón. */
.rsg-quick-selector .rsg-model-dialog {
  display: flex !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: visibility 0s linear 320ms, opacity 220ms ease !important;
}
.rsg-quick-selector .rsg-model-reference.is-open .rsg-model-dialog {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: visibility 0s linear 0s, opacity 220ms ease !important;
}
.rsg-quick-selector .rsg-model-dialog-backdrop {
  border-radius: 0 !important;
  background: rgba(35, 32, 29, .66) !important;
  opacity: 0 !important;
  transition: opacity 260ms ease !important;
}
.rsg-quick-selector .rsg-model-reference.is-open .rsg-model-dialog-backdrop { opacity: 1 !important; }
.rsg-quick-selector .rsg-model-dialog-card {
  opacity: 0 !important;
  transform: translate(34vw, -30vh) scale(.28) !important;
  transform-origin: top right !important;
  transition: transform 360ms cubic-bezier(.2,.85,.25,1), opacity 190ms ease !important;
  will-change: transform, opacity;
}
.rsg-quick-selector .rsg-model-reference.is-open .rsg-model-dialog-card {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}
@media (max-width: 600px) {
  .rsg-quick-selector .rsg-model-dialog-card { transform: translate(34vw, -34vh) scale(.24) !important; }
  .rsg-quick-selector .rsg-model-reference.is-open .rsg-model-dialog-card { transform: translate(0, 0) scale(1) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .rsg-quick-selector .rsg-model-dialog,
  .rsg-quick-selector .rsg-model-dialog-backdrop,
  .rsg-quick-selector .rsg-model-dialog-card { transition-duration: .01ms !important; }
}

/* v1.14.7 — el fondo de Referencias escapa del contenedor transformado de Elessi. */
body .rsg-popup-overlay.active .rsg-popup.rsg-model-open,
body .rsg-popup-overlay.rsg-opening .rsg-popup.rsg-model-open {
  transform: none !important;
  will-change: auto !important;
}
.rsg-quick-selector .rsg-model-dialog-backdrop {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* v1.14.8 — paleta Frambuesa del sistema visual VERO. */
.rsg-popup,
.rsg-mobile-inline {
  --vero-ink-950: #171614;
  --vero-ink-800: #3f393c;
  --vero-ink-700: #625b5e;
  --vero-ink-500: #8b8386;
  --vero-ink-300: #d2cdca;
  --vero-ink-200: #e0deda;
  --vero-ink-100: #f3efef;
  --vero-ink-50: #f9f8f6;
  --vero-white: #ffffff;
  --vero-denim-600: #9b3b6e;
  --vero-denim-700: #762b53;
  --vero-raspberry: #9b3b6e;
  --vero-raspberry-dark: #762b53;
  --vero-pink: #fce3ee;
}
.rsg-popup button:focus-visible,
.rsg-mobile-inline button:focus-visible,
.rsg-open-popup:focus-visible { box-shadow: 0 0 0 3px rgba(155,59,110,.22) !important; }
.rsg-main-tab.active { color: var(--vero-raspberry) !important; }
.rsg-main-tab.active::after { background: var(--vero-raspberry) !important; }
.rsg-choice-btn.active,
.rsg-popup .rsg-choice-btn.active,
.rsg-view-switch button.active {
  border-color: var(--vero-raspberry) !important;
  background: var(--vero-raspberry) !important;
  color: #fff !important;
}
.rsg-choice-color-swatch.active,
.rsg-color-swatch-tab.active { border-color: var(--vero-raspberry) !important; }
.rsg-table tbody tr.rsg-row-active td { background: var(--vero-pink) !important; }
.rsg-table tbody tr.rsg-row-active td:first-child { color: var(--vero-raspberry-dark) !important; }
.rsg-add-to-cart,
.rsg-mobile-inline-cart,
.nasa-single-product-in-mobile .rsg-mobile-inline-cart {
  border-color: var(--vero-raspberry) !important;
  background: var(--vero-raspberry) !important;
  color: #fff !important;
}
.rsg-add-to-cart:hover,
.rsg-mobile-inline-cart:hover { border-color: var(--vero-raspberry-dark) !important; background: var(--vero-raspberry-dark) !important; }
.rsg-size-guide-inline-link,
.rsg-mobile-inline-guide,
.nasa-single-product-in-mobile .rsg-mobile-inline-guide,
.rsg-quick-selector .rsg-model-trigger {
  border-color: var(--vero-raspberry) !important;
  background: #fff !important;
  color: var(--vero-raspberry) !important;
}
.rsg-size-guide-inline-link:hover,
.rsg-mobile-inline-guide:hover,
.rsg-quick-selector .rsg-model-trigger:hover {
  border-color: var(--vero-raspberry) !important;
  background: var(--vero-pink) !important;
  color: var(--vero-raspberry-dark) !important;
}
.rsg-diagram-overlay .rsg-svg-range { color: #9b3b6e !important; stroke: #9b3b6e !important; }
.rsg-diagram-overlay .rsg-svg-guide { stroke: #bd7199 !important; }
.rsg-diagram-overlay .rsg-svg-title-box,
.rsg-diagram-overlay .rsg-svg-measure-box { fill: rgba(252,227,238,.94) !important; stroke: #d39ab8 !important; }


/* v1.13.2 panel móvil completo: descripción, descuentos, cantidad y acciones */
@media (max-width: 768px) {
  body.rsg-mobile-inline-page { padding-bottom: 0 !important; }
  body.rsg-mobile-inline-page .ns_btn-fixed { display: none !important; visibility: hidden !important; pointer-events: none !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline { padding: 18px 16px 14px !important; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-row-colors { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-row-head { margin-bottom: 10px; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-label { min-width: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-guide { color: #111; font-size: 12px; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-size-buttons { margin-bottom: 8px; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-reset { display: block; border: 0; background: transparent; color: #777; padding: 0; margin: 0 0 22px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
  .nasa-single-product-in-mobile .rsg-mobile-variation-description { margin: 0 0 14px; color: #222; font-size: 14px; line-height: 1.5; }
  .nasa-single-product-in-mobile .rsg-mobile-variation-description p { margin: 0; }
  .nasa-single-product-in-mobile .rsg-mobile-bulk-discount { width: 100%; margin: 0 0 18px; }
  .nasa-single-product-in-mobile .rsg-mobile-bulk-discount > * { display: block !important; width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  .nasa-single-product-in-mobile .rsg-mobile-bulk-discount .dsc-flex-row,
  .nasa-single-product-in-mobile .rsg-mobile-bulk-discount .dsc-flex-column,
  .nasa-single-product-in-mobile .rsg-mobile-bulk-discount .ev-dsc-qty-wrap { width: 100% !important; }
  .nasa-single-product-in-mobile .rsg-mobile-actions { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,1fr); gap: 8px; align-items: stretch; width: 100%; padding-top: 12px; border-top: 1px solid #ececec; }
  .nasa-single-product-in-mobile .rsg-mobile-quantity { display: grid; grid-template-columns: 28px 38px 28px; height: 44px; border: 1px solid #e2e2e2; border-radius: 7px; overflow: hidden; background: #fff; }
  .nasa-single-product-in-mobile .rsg-mobile-quantity button,
  .nasa-single-product-in-mobile .rsg-mobile-quantity input { min-width: 0; width: 100%; height: 100%; border: 0; border-radius: 0; background: transparent; color: #222; padding: 0; text-align: center; font-size: 14px; box-shadow: none; }
  .nasa-single-product-in-mobile .rsg-mobile-quantity input { -moz-appearance: textfield; }
  .nasa-single-product-in-mobile .rsg-mobile-quantity input::-webkit-inner-spin-button,
  .nasa-single-product-in-mobile .rsg-mobile-quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
  .nasa-single-product-in-mobile .rsg-mobile-quantity-minus,
  .nasa-single-product-in-mobile .rsg-mobile-quantity-plus { font-size: 18px !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-cart { width: 100% !important; min-width: 0; max-width: none !important; height: 44px; margin: 0 !important; border: 0; border-radius: 7px; padding: 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-cart { background: #f76b6a; color: #fff; }
  .nasa-single-product-in-mobile .rsg-mobile-variation-description[hidden],
  .nasa-single-product-in-mobile .rsg-mobile-bulk-discount[hidden] { display: none !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-note { min-height: 0; }
}
@media (max-width: 430px) {
  .nasa-single-product-in-mobile .rsg-mobile-actions { gap: 5px; }
  .nasa-single-product-in-mobile .rsg-mobile-quantity { grid-template-columns: 22px 32px 22px; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-cart { padding: 0 5px; font-size: 9px; letter-spacing: .05em; }
}


/* v1.13.3: posición definitiva desde el HTML y limpieza AJAX */
@media (max-width: 768px) {
  .nasa-single-product-in-mobile > .rsg-mobile-inline-host,
  .nasa-single-product-in-mobile .product-info > .rsg-mobile-inline-host,
  .nasa-single-product-in-mobile .summary > .rsg-mobile-inline-host {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    clear: both !important;
  }

  .nasa-single-product-in-mobile .woocommerce-product-details__short-description + .rsg-mobile-inline-host {
    display: block !important;
  }
}


/* v1.13.10: talles rectangulares e inversión de selección en móvil */
@media (max-width: 768px) {
  .nasa-single-product-in-mobile .rsg-mobile-inline-color-buttons {
    gap: 10px !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch {
    width: 56px !important;
    height: 68px !important;
    padding: 0 !important;
    border: 1px solid #d2d2d2 !important;
    border-radius: 4px !important;
    background: #f5f5f5 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch.active {
    border: 2px solid #111 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch-dot {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 2px !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline-size {
    min-width: 48px !important;
    width: auto !important;
    height: 44px !important;
    padding: 0 14px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline-size.active {
    border-color: #111 !important;
    background: #111 !important;
    color: #fff !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline-size:disabled {
    opacity: .38 !important;
    background: #f5f5f5 !important;
    color: #777 !important;
  }
}

@media (max-width: 430px) {
  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch {
    width: 54px !important;
    height: 66px !important;
  }
}


/* v1.13.23: colores rectangulares en el popup de la guía de tallas. */
.rsg-popup .rsg-choice-color-swatch,
.rsg-popup .rsg-color-swatch-tab {
  width: 68px !important;
  min-width: 68px !important;
  height: 84px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d2d2d2 !important;
  border-radius: 4px !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}

.rsg-popup .rsg-choice-color-swatch .rsg-color-dot,
.rsg-popup .rsg-color-swatch-tab .rsg-swatch-dot {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 2px !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  box-shadow: none !important;
}

.rsg-popup .rsg-choice-color-swatch.active,
.rsg-popup .rsg-color-swatch-tab.active {
  width: 68px !important;
  height: 84px !important;
  padding: 0 !important;
  border: 2px solid #111 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.rsg-popup .rsg-choice-color-swatch.active .rsg-color-dot,
.rsg-popup .rsg-color-swatch-tab.active .rsg-swatch-dot {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 600px) {
  .rsg-popup .rsg-choice-color-swatch,
  .rsg-popup .rsg-color-swatch-tab,
  .rsg-popup .rsg-choice-color-swatch.active,
  .rsg-popup .rsg-color-swatch-tab.active {
    width: 56px !important;
    min-width: 56px !important;
    height: 68px !important;
  }
}


/* v1.13.26: cantidad y carrito fijos en la barra inferior móvil. */
@media (max-width: 768px) {
  body.rsg-mobile-inline-page {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-actions {
    position: fixed !important;
    z-index: 9998 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(112px, 34%) minmax(0, 1fr) !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #e6e6e6 !important;
    background: #fff !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .08) !important;
    box-sizing: border-box !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-quantity,
  .nasa-single-product-in-mobile .rsg-mobile-inline-cart {
    width: 100% !important;
    height: 50px !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: 3px !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-quantity {
    grid-template-columns: minmax(30px, 1fr) minmax(36px, 1fr) minmax(30px, 1fr) !important;
  }

  .nasa-single-product-in-mobile .rsg-mobile-inline-cart {
    padding: 0 8px !important;
    font-size: 12px !important;
    letter-spacing: .06em !important;
  }
}

/* v1.14.0 — precedencia definitiva para la barra móvil fija. */
@media (max-width: 768px) {
  .nasa-single-product-in-mobile .rsg-mobile-inline { border-color: var(--vero-ink-200) !important; background: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-label { color: var(--vero-ink-700) !important; font-weight: 600 !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-guide { color: var(--vero-denim-700) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch { border-color: var(--vero-ink-200) !important; border-radius: 4px !important; background: var(--vero-ink-100) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch.active { border-color: var(--vero-ink-950) !important; background: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-size { border-color: var(--vero-ink-300) !important; border-radius: 4px !important; background: var(--vero-white) !important; color: var(--vero-ink-950) !important; font-weight: 500 !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-size.active { border-color: var(--vero-ink-950) !important; background: var(--vero-ink-950) !important; color: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-quantity { border-color: var(--vero-ink-200) !important; border-radius: 4px !important; background: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-cart { border-radius: 4px !important; background: var(--vero-ink-950) !important; color: var(--vero-white) !important; }
  .nasa-single-product-in-mobile .rsg-mobile-actions { border-color: var(--vero-ink-200) !important; background: var(--vero-white) !important; box-shadow: 0 -4px 12px rgba(27, 26, 24, .08) !important; }
}

/* v1.14.1 — apariencia definitiva de las anotaciones SVG. */
.rsg-diagram-overlay .rsg-svg-range { color: #526f8a !important; stroke: #526f8a !important; }
.rsg-diagram-overlay .rsg-svg-guide { stroke: #71879b !important; }
.rsg-diagram-overlay .rsg-svg-title-box,
.rsg-diagram-overlay .rsg-svg-measure-box { fill: rgba(255, 254, 252, .94) !important; stroke: #b8c7d3 !important; stroke-width: 1.4px !important; }
.rsg-diagram-overlay .rsg-svg-part-title,
.rsg-diagram-overlay .rsg-svg-measure { fill: #1b1a18 !important; stroke: none !important; paint-order: normal !important; font-family: "Work Sans", Arial, sans-serif !important; }

/* v1.14.8 — cierre definitivo de la paleta Frambuesa. */
.rsg-popup,
.rsg-mobile-inline { --vero-denim-600:#9b3b6e; --vero-denim-700:#762b53; --vero-pink:#fce3ee; }
.rsg-main-tab.active { color:#9b3b6e !important; }
.rsg-main-tab.active::after { background:#9b3b6e !important; }
.rsg-choice-btn.active,
.rsg-popup .rsg-choice-btn.active,
.rsg-view-switch button.active { border-color:#9b3b6e !important; background:#9b3b6e !important; color:#fff !important; }
.rsg-table tbody tr.rsg-row-active td { background:#fce3ee !important; }
.rsg-table tbody tr.rsg-row-active td:first-child { color:#762b53 !important; }
.rsg-add-to-cart,
.rsg-mobile-inline-cart,
.nasa-single-product-in-mobile .rsg-mobile-inline-cart { border-color:#9b3b6e !important; background:#9b3b6e !important; color:#fff !important; }
.rsg-size-guide-inline-link,
.rsg-mobile-inline-guide,
.nasa-single-product-in-mobile .rsg-mobile-inline-guide,
.rsg-quick-selector .rsg-model-trigger { border-color:#9b3b6e !important; background:#fff !important; color:#9b3b6e !important; }
.rsg-size-guide-inline-link:hover,
.rsg-mobile-inline-guide:hover,
.rsg-quick-selector .rsg-model-trigger:hover { background:#fce3ee !important; color:#762b53 !important; }
.rsg-diagram-overlay .rsg-svg-range { color:#9b3b6e !important; stroke:#9b3b6e !important; }
.rsg-diagram-overlay .rsg-svg-guide { stroke:#bd7199 !important; }
.rsg-diagram-overlay .rsg-svg-title-box,
.rsg-diagram-overlay .rsg-svg-measure-box { fill:rgba(252,227,238,.94) !important; stroke:#d39ab8 !important; }
@media (max-width:768px) {
  .nasa-single-product-in-mobile .rsg-mobile-inline-swatch.active { border-color:#9b3b6e !important; background:#fff !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-size.active { border-color:#9b3b6e !important; background:#9b3b6e !important; color:#fff !important; }
  .nasa-single-product-in-mobile .rsg-mobile-inline-cart { background:#9b3b6e !important; color:#fff !important; }
}

/* v1.14.10 — precedencia final para miniaturas y talles. */
.rsg-popup .rsg-quick-selector .rsg-choice-colors { display:flex !important; }
.rsg-popup .rsg-quick-selector .rsg-choice-colors .rsg-choice-title { display:none !important; }
.rsg-popup .rsg-quick-selector .rsg-selector-toolbar { flex-wrap:nowrap !important; justify-content:space-between !important; }
.rsg-popup .rsg-quick-selector .rsg-choice-sizes { width:100% !important; margin-left:auto !important; margin-right:auto !important; text-align:center !important; }
.rsg-popup .rsg-quick-selector .rsg-choice-sizes .rsg-choice-title { text-align:center !important; }
.rsg-popup .rsg-quick-selector .rsg-choice-sizes .rsg-choice-buttons { justify-content:center !important; width:100% !important; }

/* v1.14.11 — miniaturas de color centradas respecto del popup. */
.rsg-popup .rsg-quick-selector .rsg-selector-toolbar { position:relative !important; }
.rsg-popup .rsg-quick-selector .rsg-choice-colors {
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  display:flex !important;
  justify-content:center !important;
  width:auto !important;
  max-width:calc(100% - 230px) !important;
  margin:0 !important;
  overflow-x:auto !important;
  transform:translate(-50%, -50%) !important;
}
.rsg-popup .rsg-quick-selector .rsg-choice-colors .rsg-choice-buttons { justify-content:center !important; }

/* v1.14.12 — separación entre miniaturas y el título de talles. */
.rsg-popup .rsg-quick-selector .rsg-choice-sizes { padding-top:12px !important; }
