.p-multi-size-input{position:relative;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.p-multi-size-input__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;width:100%;min-height:80px;padding:12px;border:1px solid #d1d5db;border-radius:6px;margin-bottom:12px;position:relative;background:radial-gradient(ellipse 120% 100% at 50% 50%,#f9fafb 0,rgba(249,250,251,.95) 40%,rgba(249,250,251,.85) 100%),linear-gradient(90deg,transparent,transparent 9%,rgba(156,163,175,.1) 0,rgba(156,163,175,.1) 10%,transparent 0),linear-gradient(0deg,transparent,transparent 9%,rgba(156,163,175,.08) 0,rgba(156,163,175,.08) 10%,transparent 0);background-size:100% 100%,10px 100%,100% 10px;box-shadow:inset 0 0 40px rgba(0,0,0,.04),inset 0 1px 3px rgba(0,0,0,.05)}.p-multi-size-input__grid:after,.p-multi-size-input__grid:before{content:"";position:absolute;pointer-events:none;z-index:1}.p-multi-size-input__grid:before{top:0;left:0;right:0;height:8px;background:repeating-linear-gradient(90deg,transparent,transparent 9px,hsla(220,9%,46%,.15) 0,hsla(220,9%,46%,.15) 10px)}.p-multi-size-input__grid:after{top:0;left:0;bottom:0;width:8px;background:repeating-linear-gradient(0deg,transparent,transparent 9px,hsla(220,9%,46%,.15) 0,hsla(220,9%,46%,.15) 10px)}.p-multi-size-input__size-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:14px 6px 8px;background:#1e293b;border:1.5px solid #334155;border-radius:8px;transition:all .2s ease;min-height:auto;justify-content:center;min-width:0}.p-multi-size-input__size-item:hover{border-color:#475569;box-shadow:0 4px 6px -1px rgba(0,0,0,.15),0 2px 4px -1px rgba(0,0,0,.1);transform:translateY(-1px)}.p-multi-size-input__size-item .c-btn.c-cta{position:absolute;top:2px;right:2px;z-index:2;padding:0!important;width:16px!important;height:16px!important;min-width:16px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 1px 4px rgba(0,0,0,.2)!important}.p-multi-size-input__size-item .c-btn.c-cta svg{width:8px!important;height:8px!important}.p-multi-size-input__size-badge{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:6px;color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;box-shadow:0 2px 4px -1px rgba(0,0,0,.15),inset 0 1px 2px hsla(0,0%,100%,.2)}.p-multi-size-input__size-label{font-size:9px;font-weight:500;color:#94a3b8;text-align:center;line-height:1.3;word-break:break-word;width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.6em}.p-multi-size-input__empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-height:80px;color:#9ca3af;grid-column:1/-1}.p-multi-size-input__controls{display:flex;flex-direction:column;gap:8px}.p-multi-size-input__gallery-button{width:100%}.p-multi-size-input__help-text{font-size:12px;color:#6b7280;margin-top:4px}.p-multi-size-input__controls>.c-btn.c-cta{padding:8px 16px!important;background:#3b82f6!important;font-size:13px!important;font-weight:500!important}.p-multi-size-input__controls>.c-btn.c-cta:hover{background:#2563eb!important}@media(width <= 640px){.p-multi-size-input{padding:12px}.p-multi-size-input__grid{padding:12px;gap:8px;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.p-multi-size-input__size-item{padding:8px 6px;gap:3px}.p-multi-size-input__size-badge{width:32px;height:32px;font-size:11px}.p-multi-size-input__size-label{font-size:8px;line-height:1.2}}@media(prefers-color-scheme:dark){.p-multi-size-input{background:#1f2937;border-color:#374151}.p-multi-size-input__grid{background:radial-gradient(ellipse 120% 100% at 50% 50%,#1f2937 0,rgba(31,41,55,.95) 40%,rgba(17,24,39,.9) 100%),linear-gradient(90deg,transparent,transparent 9%,rgba(75,85,99,.2) 0,rgba(75,85,99,.2) 10%,transparent 0),linear-gradient(0deg,transparent,transparent 9%,rgba(75,85,99,.15) 0,rgba(75,85,99,.15) 10%,transparent 0);background-size:100% 100%,10px 100%,100% 10px;border-color:#4b5563;box-shadow:inset 0 0 40px rgba(0,0,0,.4),inset 0 1px 3px rgba(0,0,0,.3)}.p-multi-size-input__grid:before{background:repeating-linear-gradient(90deg,transparent,transparent 9px,rgba(156,163,175,.25) 0,rgba(156,163,175,.25) 10px)}.p-multi-size-input__grid:after{background:repeating-linear-gradient(0deg,transparent,transparent 9px,rgba(156,163,175,.25) 0,rgba(156,163,175,.25) 10px)}.p-multi-size-input__size-item{background:#0f172a;border-color:#1e293b}.p-multi-size-input__size-item:hover{border-color:#334155;box-shadow:0 4px 6px -1px rgba(0,0,0,.3),0 2px 4px -1px rgba(0,0,0,.2)}.p-multi-size-input__size-badge{box-shadow:0 4px 6px -1px rgba(0,0,0,.3),0 2px 4px -1px rgba(0,0,0,.2),inset 0 1px 2px hsla(0,0%,100%,.15)}.p-multi-size-input__size-label{color:#cbd5e1}.p-multi-size-input__empty-state{color:#6b7280}.p-multi-size-input__help-text{color:#9ca3af}}.p-size-gallery-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center}.p-size-gallery-modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px)}.p-size-gallery-modal__content{position:relative;background:#1e293b;border-radius:16px;width:90%;max-width:700px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 25px 50px -12px rgba(0,0,0,.5),0 0 0 1px hsla(0,0%,100%,.1);overflow:hidden}.p-size-gallery-modal__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #334155;background:#0f172a}.p-size-gallery-modal__header h3{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;color:#f1f5f9;margin:0}.p-size-gallery-modal__close-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:#334155;border-radius:8px;color:#94a3b8;cursor:pointer;transition:all .2s}.p-size-gallery-modal__close-btn:hover{background:#475569;color:#f1f5f9}.p-size-gallery-modal__tabs{display:flex;gap:4px;padding:12px 20px;border-bottom:1px solid #334155;background:#0f172a;overflow-x:auto;scrollbar-width:thin;min-height:60px;align-items:center}.p-size-gallery-modal__tabs::-webkit-scrollbar{height:4px}.p-size-gallery-modal__tabs::-webkit-scrollbar-thumb{background:#475569;border-radius:2px}.p-size-gallery-modal__tab{display:flex;align-items:center;gap:6px;padding:8px 14px;border:none;background:transparent;border-radius:6px;color:#94a3b8;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.p-size-gallery-modal__tab:hover{background:#334155;color:#e2e8f0}.p-size-gallery-modal__tab--active{background:#3b82f6;color:#fff}.p-size-gallery-modal__tab--active:hover{background:#2563eb;color:#fff}.p-size-gallery-modal__search{display:flex;align-items:center;gap:8px;padding:12px 20px;background:#0f172a;border-bottom:1px solid #334155}.p-size-gallery-modal__search>svg{flex-shrink:0}.p-size-gallery-modal__body{flex:1;overflow-y:auto;padding:20px;scrollbar-width:thin}.p-size-gallery-modal__body::-webkit-scrollbar{width:6px}.p-size-gallery-modal__body::-webkit-scrollbar-thumb{background:#475569;border-radius:3px}.p-size-gallery-modal__search-input{flex:1;background:transparent;border:none;color:#f1f5f9;font-size:13px;outline:none;padding:0 4px}.p-size-gallery-modal__search-input::-moz-placeholder{color:#94a3b8}.p-size-gallery-modal__search-input::placeholder{color:#94a3b8}.p-size-gallery-modal__search-clear{display:flex;align-items:center;justify-content:center;background:transparent;border:none;cursor:pointer;padding:4px;color:#94a3b8;transition:color .2s;flex-shrink:0}.p-size-gallery-modal__search-clear:hover{color:#f1f5f9}.p-size-gallery-modal__no-results{display:flex;align-items:center;justify-content:center;width:100%;color:#94a3b8;text-align:center;font-size:13px;padding:12px 20px}.p-size-gallery-modal__sizes-grid .p-size-gallery-modal__no-results{grid-column:1/-1;min-height:200px;padding:20px}.p-size-gallery-modal__sizes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px}.p-size-gallery-modal__size-badge{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#334155;border-radius:8px;color:#f1f5f9;font-size:14px;font-weight:700;text-transform:uppercase;position:relative;transition:all .2s}.p-size-gallery-modal__size-option{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;background:#0f172a;border:2px solid #334155;border-radius:10px;cursor:pointer;transition:all .2s ease}.p-size-gallery-modal__size-option:hover{border-color:#475569;background:#1e293b;transform:translateY(-2px)}.p-size-gallery-modal__size-option--selected{border-color:#3b82f6;background:rgba(59,130,246,.1)}.p-size-gallery-modal__size-option--selected .p-size-gallery-modal__size-badge{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.p-size-gallery-modal__size-option--selected:hover{border-color:#60a5fa}.p-size-gallery-modal__checkmark{position:absolute;top:-4px;right:-4px;display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:#22c55e;border-radius:50%;color:#fff}.p-size-gallery-modal__checkmark>svg{width:10px;height:10px}.p-size-gallery-modal__size-label{font-size:11px;font-weight:500;color:#94a3b8;text-align:center;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis}.p-size-gallery-modal__footer{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-top:1px solid #334155;background:#0f172a}.p-size-gallery-modal__count{font-size:14px;color:#94a3b8}.p-size-gallery-modal__count strong{color:#3b82f6}.p-size-gallery-modal__actions{display:flex;gap:10px}.p-size-gallery-modal__cancel-btn,.p-size-gallery-modal__confirm-btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.p-size-gallery-modal__cancel-btn{background:#334155;color:#e2e8f0}.p-size-gallery-modal__cancel-btn:hover{background:#475569}.p-size-gallery-modal__confirm-btn{background:#3b82f6;color:#fff}.p-size-gallery-modal__confirm-btn:hover{background:#2563eb}.p-size-gallery-modal__confirm-btn:disabled{background:#475569;color:#94a3b8;cursor:not-allowed}@media(width <= 640px){.p-size-gallery-modal__content{width:95%;max-height:90vh}.p-size-gallery-modal__header{padding:12px 16px}.p-size-gallery-modal__header h3{font-size:16px}.p-size-gallery-modal__search,.p-size-gallery-modal__tabs{padding:10px 16px}.p-size-gallery-modal__tab{padding:6px 10px;font-size:12px}.p-size-gallery-modal__body{padding:16px}.p-size-gallery-modal__sizes-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px}.p-size-gallery-modal__size-option{padding:10px 6px}.p-size-gallery-modal__size-badge{width:40px;height:40px;font-size:12px}.p-size-gallery-modal__footer{padding:12px 16px;flex-wrap:wrap;gap:10px}.p-size-gallery-modal__actions{width:100%;justify-content:flex-end}}