.rs-loop-cart{margin-top:18px;width:100%;font-family:inherit}
.rs-loop-field{margin:0 0 10px}
.rs-loop-field-label{font-size:12px;line-height:1.2;color:#5b6470;margin-bottom:7px}
.rs-loop-options{display:flex;flex-wrap:wrap;gap:7px}
.rs-loop-color,.rs-loop-size{appearance:none;-webkit-appearance:none;background:#fff;border:1px solid #d7dde5;color:#172033;cursor:pointer;transition:.16s ease;font:inherit}
.rs-loop-color{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 9px 4px 5px;font-size:12px;font-weight:600;min-height:28px}
.rs-loop-swatch{width:15px;height:15px;border-radius:50%;background:var(--rs-swatch);display:inline-block;border:1px solid rgba(0,0,0,.22);box-shadow:0 0 0 2px #fff}
.rs-loop-color.is-selected,.rs-loop-size.is-selected{border-color:#ff6f12;box-shadow:0 0 0 1px #ff6f12}
.rs-loop-size{min-width:29px;height:27px;padding:0 8px;border-radius:999px;font-size:12px}
.rs-loop-size:disabled,.rs-loop-size.is-disabled{opacity:.38;cursor:not-allowed;text-decoration:line-through;background:#f7f8fa}
.rs-loop-add-button,.rs-loop-compatible-button{width:100%;min-height:41px;border-radius:0;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:.18s ease}
.rs-loop-add-button{border:1px solid #ff6f12;background:#ff6f12;color:#fff;margin-top:10px}
.rs-loop-add-button:hover:not(:disabled){filter:brightness(.95)}
.rs-loop-add-button:disabled{opacity:.58;cursor:not-allowed}
.rs-loop-compatible-button{border:1px solid #ff6f12;border-top:0;background:#fff;color:#d94f00}
.rs-loop-compatible-button:hover,.rs-loop-compatible-button.is-open{background:#fff7f1}
.rs-loop-compatible-button.is-open{border-bottom-color:#f3c3a5}
.rs-loop-message{min-height:0;margin-top:6px;font-size:11px;line-height:1.35;color:#566070}
.rs-loop-add-button.is-loading{cursor:wait}

/* Compatibility: old inline view restored — stays inside the same product card, no modal/popup. */
.rs-loop-compatible-results[hidden]{display:none!important}
.rs-loop-compatible-results{width:100%;box-sizing:border-box;border:1px solid #ff6f12;border-top:0;background:#fff;padding:12px;margin:0;position:relative;z-index:1}
.rs-loop-compatible-results .rs-compat-header{padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid #edf0f3}
.rs-loop-compatible-results .rs-compat-kicker{display:none}
.rs-loop-compatible-results .rs-compat-header h3,.rs-loop-compatible-results .rs-compat-empty h3{margin:0 0 4px;font-size:13px;line-height:1.3;color:#101828;font-weight:800}
.rs-loop-compatible-results .rs-compat-header p,.rs-loop-compatible-results .rs-compat-empty p{margin:0;color:#667085;font-size:11px;line-height:1.45}
.rs-loop-compatible-results .rs-compat-grid{display:grid;grid-template-columns:1fr;gap:10px}
.rs-loop-compatible-results .rs-compat-card{display:grid;grid-template-columns:82px minmax(0,1fr);border:1px solid #e4e7ec;border-radius:8px;overflow:hidden;background:#fff;text-align:left}
.rs-loop-compatible-results .rs-compat-image{background:#f8fafc;min-height:112px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.rs-loop-compatible-results .rs-compat-image img{width:100%;height:100%;min-height:112px;object-fit:cover;display:block}
.rs-loop-compatible-results .rs-compat-card-body{padding:9px;min-width:0}
.rs-loop-compatible-results .rs-compat-card h4{font-size:11px;line-height:1.35;margin:0 0 5px;font-weight:700}
.rs-loop-compatible-results .rs-compat-card h4 a{color:#101828;text-decoration:none}
.rs-loop-compatible-results .rs-compat-price{font-size:11px;font-weight:700;margin-bottom:5px;color:#1f2937}
.rs-loop-compatible-results .rs-compat-color{font-size:10px;color:#667085;margin-bottom:6px}
.rs-loop-compatible-results .rs-compat-size-label{font-size:10px;font-weight:700;color:#344054;margin-bottom:5px}
.rs-loop-compatible-results .rs-compat-sizes{display:flex;flex-wrap:wrap;gap:4px}
.rs-loop-compatible-results .rs-compat-size{appearance:none;-webkit-appearance:none;border:1px solid #d0d5dd;background:#fff;border-radius:999px;min-width:27px;height:25px;padding:0 6px;font-size:10px;line-height:1;cursor:pointer;color:#172033}
.rs-loop-compatible-results .rs-compat-size.is-selected{border-color:#ff6f12;box-shadow:0 0 0 1px #ff6f12}
.rs-loop-compatible-results .rs-compat-add{margin-top:7px;width:100%;min-height:31px;border:1px solid #ff6f12;background:#ff6f12;color:#fff;font-weight:700;font-size:10px;cursor:pointer;padding:5px 8px}
.rs-loop-compatible-results .rs-compat-add:disabled{opacity:.5;cursor:not-allowed}
.rs-loop-compatible-results .rs-compat-loading,.rs-loop-compatible-results .rs-compat-empty{min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px 6px;color:#667085}
.rs-loop-compatible-results .rs-compat-spinner{width:24px;height:24px;border:3px solid #eceff3;border-top-color:#ff6f12;border-radius:50%;animation:rsSpin .8s linear infinite;margin-bottom:8px}
.rs-loop-compatible-results .rs-compat-empty-icon{display:none}
@keyframes rsSpin{to{transform:rotate(360deg)}}

@media(max-width:420px){
  .rs-loop-color{font-size:11px}
  .rs-loop-compatible-results{padding:10px}
  .rs-loop-compatible-results .rs-compat-card{grid-template-columns:70px minmax(0,1fr)}
  .rs-loop-compatible-results .rs-compat-image,.rs-loop-compatible-results .rs-compat-image img{min-height:100px}
  .rs-loop-compatible-results .rs-compat-card-body{padding:8px}
}
.rs-compat-add-message{margin-top:6px;font-size:10px;line-height:1.35;color:#b42318}
