.osm-color-variant-editor{grid-column:1/-1;padding:20px;border:1px solid #e5e1dd;border-radius:22px;background:#faf9f8}.osm-color-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.osm-color-head div{display:grid;gap:4px}.osm-color-head small{color:#827b75;font-weight:500}.osm-color-head button,.osm-color-photos{border:0;border-radius:999px;background:#111;color:#fff;padding:11px 17px;font-weight:750;cursor:pointer}.osm-color-list{display:grid;gap:14px;margin-top:15px}.osm-color-row{padding:16px;border:1px solid #ded9d5;border-radius:18px;background:#fff}.osm-color-top{display:grid;grid-template-columns:46px minmax(0,1fr) 38px;gap:11px;align-items:end}.osm-color-swatch{width:46px;height:46px;border:4px solid #fff;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #cfc8c2,0 6px 16px #0002}.osm-remove-color{width:38px;height:38px;border:0;border-radius:50%;background:#f3efec;font-size:22px}.osm-color-row label{display:grid;gap:6px;font-size:12px;font-weight:750}.osm-color-row input[type=text],.osm-color-row input:not([type]){min-height:44px}.osm-color-photos{display:inline-flex;margin-top:14px}.osm-color-photos input{display:none}.osm-color-photo-preview{display:flex;gap:8px;overflow:auto;margin-top:10px}.osm-color-photo-preview img{width:58px;height:72px;border-radius:10px;object-fit:cover}.osm-color-stock{margin-top:15px}.osm-color-stock>div{display:grid;grid-template-columns:repeat(7,minmax(58px,1fr));gap:7px;margin-top:8px}.osm-color-stock label{text-align:center}.osm-color-stock input{width:100%;min-height:40px;text-align:center}.osm-color-picker[hidden]{display:none}.osm-color-picker{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;padding:20px;background:#0009;backdrop-filter:blur(12px)}.osm-picker-card{width:min(620px,96vw);padding:20px;border-radius:26px;background:#262626;color:#fff;box-shadow:0 30px 90px #0008}.osm-picker-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.osm-picker-title button{width:38px;height:38px;border:0;border-radius:50%;font-size:22px}.osm-picker-main{display:grid;grid-template-columns:minmax(220px,1fr) 28px 86px;gap:16px;height:310px}.osm-sv{position:relative;border-radius:14px;background:linear-gradient(#fff0,#000),linear-gradient(90deg,#fff,var(--hue));touch-action:none}.osm-sv i,.osm-hue i{position:absolute;width:18px;height:18px;border:3px solid #fff;border-radius:50%;box-shadow:0 1px 5px #0008;transform:translate(-50%,-50%)}.osm-hue{position:relative;border-radius:999px;background:linear-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);touch-action:none}.osm-hue i{left:50%}.osm-picker-preview{border:1px solid #ffffff55;border-radius:14px}.osm-picker-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.osm-picker-actions button{min-width:110px;padding:12px;border:1px solid #ffffff55;border-radius:999px;background:transparent;color:#fff}.osm-picker-actions .primary{background:#fff;color:#111}@media(max-width:700px){.osm-color-stock>div{grid-template-columns:repeat(4,1fr)}.osm-picker-main{grid-template-columns:minmax(0,1fr) 24px;height:260px}.osm-picker-preview{display:none}}

/* v3.5.1 — white theme color picker and removable color-photo cards. */
.osm-color-photo{position:relative;flex:0 0 auto;width:72px;height:90px;border:1px solid #d8d3cf;border-radius:12px;background:#f3f1ef;overflow:hidden;box-shadow:0 5px 14px rgba(24,18,14,.08)}
.osm-color-photo img{width:100%;height:100%;border-radius:0;object-fit:cover}
.osm-color-photo button{position:absolute;top:5px;right:5px;display:grid;width:24px;height:24px;place-items:center;padding:0;border:1px solid rgba(20,18,16,.12);border-radius:50%;background:rgba(255,255,255,.94);color:#171412;font-size:16px;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.16);cursor:pointer}
.osm-color-picker{position:fixed!important;z-index:2147483646!important;inset:0!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:20px!important;background:rgba(28,24,22,.36);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.osm-picker-open{overflow:hidden!important}
.osm-picker-card{border:1px solid rgba(23,20,18,.10);background:#fff;color:#171412;box-shadow:0 30px 90px rgba(31,22,18,.26);transform:translateY(20px) scale(.94);opacity:0}
.osm-color-picker.is-open .osm-picker-card{animation:osmPickerPop .38s cubic-bezier(.2,1.3,.35,1) both}
.osm-picker-title button{background:#f2efec;color:#171412;cursor:pointer}
.osm-picker-preview{border-color:#d4ceca}
.osm-picker-actions button{border-color:#bfb8b2;background:#fff;color:#171412;cursor:pointer}
.osm-picker-actions .primary{border-color:#171412;background:#171412;color:#fff}
@keyframes osmPickerPop{from{opacity:0;transform:translateY(20px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.osm-color-picker.is-open .osm-picker-card{animation:none;opacity:1;transform:none}}
@media(max-width:700px){.osm-color-picker{padding:10px!important}.osm-picker-card{width:min(100%,620px);max-height:calc(100dvh - 20px);overflow:auto;border-radius:24px}}
.osm-legacy-size-section[hidden]{display:none!important}

/* Restock editor — mirrors the add/edit product controls. */
.osm-restock-label{display:block;margin:0 0 12px;font-size:15px;color:#171411}.osm-restock-colors{display:flex;flex-wrap:wrap;gap:10px}.osm-restock-colors button{display:inline-flex;align-items:center;gap:9px;min-height:52px;padding:7px 16px 7px 8px;border:1px solid #ded9d5;border-radius:999px;background:#fbfaf9;color:#171411;font-weight:700;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}.osm-restock-colors button:hover{transform:translateY(-2px);box-shadow:0 9px 22px #17141112}.osm-restock-colors button.active{border-color:#171411;background:#171411;color:#fff;box-shadow:0 10px 24px #17141122}.osm-restock-colors i{width:36px;height:36px;border:4px solid #fff;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #d7d1cc}.osm-restock-colors .osm-restock-new{padding:0 20px}.osm-restock-new-fields{display:grid;grid-template-columns:90px minmax(180px,1fr) minmax(180px,1fr);gap:12px;margin-top:16px;padding:16px;border-radius:20px;background:#f4f1ef}.osm-restock-new-fields[hidden]{display:none!important}.osm-restock-new-fields input[type="color"]{width:58px;height:52px;padding:4px;border-radius:18px;cursor:pointer}.osm-restock-photo input{padding:11px!important}.osm-restock-size-area{margin-top:24px;padding-top:20px;border-top:1px solid #ebe6e2}.osm-restock-size-buttons{display:flex;flex-wrap:wrap;gap:10px}.osm-restock-size-buttons button{width:56px;height:56px;border:1px solid #d9d3cf;border-radius:50%;background:#fff;color:#aaa29c;font-size:15px;cursor:pointer;transition:transform .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease}.osm-restock-size-buttons button:hover{transform:translateY(-2px)}.osm-restock-size-buttons button.active{border-color:#000;background:#000;color:#fff;box-shadow:0 10px 22px #0002}.osm-restock-dialog .osm-restock-sizes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.osm-restock-dialog .osm-restock-sizes:empty{display:none}.osm-restock-dialog .osm-restock-sizes label{animation:osmRestockFieldIn .22s ease both}@keyframes osmRestockFieldIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}.osm-restock-dialog[open]{animation:osmRestockOpen .28s cubic-bezier(.2,.8,.2,1) both}@keyframes osmRestockOpen{from{opacity:0;transform:translateY(20px) scale(.965)}to{opacity:1;transform:none}}
.osm-restock-size-buttons button:disabled,.osm-restock-size-buttons button.unavailable{border-style:dashed;background:#f4f2f0;color:#c9c3be;cursor:not-allowed;box-shadow:none;transform:none}.osm-restock-dialog .osm-restock-sizes small{font-size:11px;white-space:nowrap}.osm-restock-dialog [data-status]{min-height:20px;margin:10px 4px;color:#a06100;font-size:13px;font-weight:700}
@media(max-width:700px){.osm-restock-new-fields{grid-template-columns:80px 1fr}.osm-restock-photo{grid-column:1/-1}.osm-restock-dialog .osm-restock-sizes{grid-template-columns:repeat(2,minmax(0,1fr))}.osm-restock-colors button{min-height:46px}.osm-restock-colors i{width:30px;height:30px}.osm-restock-size-buttons button{width:50px;height:50px}}
.osm-restock-picker-swatch{width:54px;height:54px;border:5px solid #fff;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #cec7c2,0 7px 18px #1714111f;cursor:pointer;transition:transform .2s ease}.osm-restock-picker-swatch:hover{transform:scale(1.06)}.osm-restock-photo{align-self:end;display:flex!important;align-items:center;justify-content:center;min-height:52px;padding:0 18px;border-radius:999px;background:#111;color:#fff!important;cursor:pointer}.osm-restock-photo input{display:none}.osm-restock-photo span{color:#fff;font-size:13px;font-weight:800}
.osm-color-stock input[type=number]{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:54px!important;padding:0 8px!important;border:1px solid #e5e1dd!important;border-radius:18px!important;background:#fff!important;color:#171412!important;text-align:center!important;font-size:16px!important;font-weight:700!important;line-height:1!important;opacity:1!important;-webkit-text-fill-color:#171412!important}
.osm-color-stock input[type=number]::-webkit-inner-spin-button,.osm-color-stock input[type=number]::-webkit-outer-spin-button{margin:0}
.osm-color-size-buttons{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px!important;margin-top:12px!important}
.osm-color-size-buttons button{display:grid;width:48px;height:48px;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#aaa39e;font-size:16px;cursor:pointer;transition:transform .2s ease,background .2s ease,color .2s ease}
.osm-color-size-buttons button.active{background:#000;color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.osm-color-size-buttons button:active{transform:scale(.9)}
.osm-color-stock-fields{display:grid!important;grid-template-columns:repeat(4,minmax(100px,1fr))!important;gap:10px!important;margin-top:16px!important}
.osm-color-stock-fields label{display:grid;gap:7px;text-align:center}
@media(max-width:700px){.osm-color-size-buttons{gap:6px!important}.osm-color-size-buttons button{width:42px;height:42px;font-size:14px}.osm-color-stock-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.osm-color-row.is-new{animation:osmColorCardPop .4s cubic-bezier(.2,1.3,.35,1) both}
@keyframes osmColorCardPop{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.osm-color-row.is-new{animation:none}}
.osm-restock-photo-feedback{grid-column:1/-1;min-width:0}.osm-restock-photo-feedback [data-photo-preview]{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #dfe2e9;border-radius:16px;padding:14px}.osm-restock-photo-feedback [data-photo-preview][hidden]{display:none}.osm-restock-photo-feedback img{width:88px;height:110px;object-fit:contain;border-radius:10px;background:#f4f5f8;flex:none}.osm-restock-photo-feedback b{display:block;font-size:13px;overflow-wrap:anywhere}.osm-restock-photo-feedback p,.osm-restock-photo-feedback small{font-size:12px;line-height:1.5;color:#646b78}.osm-restock-photo-feedback button{padding:8px 12px;border-radius:999px;border:1px solid #dfe2e9;background:#fff;color:#17181b;font-size:12px}.osm-restock-photo-feedback small{display:block;margin-top:8px}
