#main .detailpic {position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;min-width:0;background:#fff}
#main .detailpic > img.cv-foto {position:absolute;inset:0;box-sizing:border-box;width:100%;height:100%;padding:clamp(12px,2vw,30px);object-fit:scale-down;object-position:center}
#main .detailpic > [hidden],.sku-picker .sku-thumb > [hidden] {display:none!important}
#main .sku-picker {min-width:0;border-top:1px solid #e0e6de;margin:8px 0 0;padding:15px 0 0;color:#183e32}
.sku-picker h2,#main .sku-picker h2 {margin:0 0 10px;line-height:1.35;font-family:inherit;font-size:1rem;font-weight:650;letter-spacing:normal}
.sku-preview {display:flex;align-items:stretch;gap:6px;flex-wrap:wrap}
.sku-picker .sku-item,.sku-preview button {display:flex;align-items:center;gap:8px;min-width:0;padding:5px 10px 5px 5px;border:1px solid #d9e3d9;border-radius:10px;background:white;color:#183e32;text-decoration:none;font:inherit;font-size:.88rem;line-height:1.25}
.sku-preview .sku-item {max-width:min(15rem,100%);box-sizing:border-box}
.sku-picker .sku-thumb {position:relative;display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;overflow:hidden;border-radius:6px;background:#f5f7f2}
#main .sku-thumb > img.cv-foto {position:static;display:block;width:36px;height:36px;max-width:100%;max-height:100%;object-fit:contain;padding:2px;box-sizing:border-box}
.sku-thumb .catalogIcon {width:100%;height:100%;display:grid;place-items:center}
.sku-thumb svg {width:20px;height:20px}
.sku-preview button {justify-content:center;min-width:44px;min-height:44px;padding:6px 10px;background:#edf3eb;font-weight:700;cursor:pointer}
.sku-picker .sku-item:hover,.sku-preview button:hover {border-color:#709581;background:#f4f8f2}
#sku-dialog {position:fixed;inset:0;margin:auto;padding:0;width:min(32rem,calc(100vw - 28px));height:fit-content;max-height:76dvh;border:0;border-radius:18px;background:white;box-shadow:0 18px 60px #0e291f33;color:#183e32}
#sku-dialog[open] {display:flex;flex-direction:column}
#sku-dialog::backdrop {background:#122d24a3}
#sku-dialog header {position:static;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #e1e8df;background:white}
#sku-dialog h2,#sku-dialog form {margin:0}
#sku-dialog header button {width:38px;height:38px;border:0;border-radius:50%;background:#edf3eb;color:#183e32;font:24px/1 sans-serif;cursor:pointer}
.sku-lista {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px;overflow:auto;overscroll-behavior:contain}
@media(max-width:520px){.sku-lista{grid-template-columns:1fr}.sku-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto}.sku-preview .sku-item{padding-right:4px;font-size:.8rem}.sku-preview .sku-thumb{width:28px;height:32px;flex-basis:28px}}
