/* «Як виглядає з рамкою» button and the «Поєднання кольорів» popup (design 28.09) */
.el-combo-btn { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px 0 5px; border-radius: 10px; background: #f2f5fd; color: #2452e6; font-family: var(--onest); font-size: 11.5px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s, box-shadow .15s; }
.el-combo-btn svg { flex: none; margin-left: 5px; }
.el-combo-btn:hover { background: #e4ebfc; color: #2452e6; }
.el-combo-btn--line { background: #fff; box-shadow: 0 0 0 1px #e3e8f5; }
.el-combo-btn--line:hover { background: #fff; box-shadow: 0 0 0 1px #9fb3e8; }
.el-popt__h .el-combo-btn { margin-left: auto; }

.elcc-lock, .elcc-lock body { overflow: hidden; }
.elcc { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 20, 27, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s ease; }
.elcc.is-open { opacity: 1; }
.elcc[hidden] { display: none; }
.elcc__card { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(15, 20, 27, .3); transform: translateY(10px) scale(.985); transition: transform .28s cubic-bezier(.2, .8, .2, 1); overscroll-behavior: contain; }
.elcc.is-open .elcc__card { transform: none; }
.elcc__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 12px; border: 1px solid #e7e9f0; background: #fff; display: grid; place-items: center; color: #626b7a; }
.elcc__x:hover { border-color: #0f141b; color: #0f141b; }
.elcc__body { display: flex; flex-wrap: wrap; }
.elcc__l { flex: 1 1 340px; padding: 18px; min-width: 0; }
.elcc__r { flex: 1 1 380px; padding: 22px 22px 22px 8px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.elcc__pv { background: #f4f5f8; border-radius: 20px; padding: 32px 18px 24px; min-height: 300px; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.elcc__comp { position: relative; width: min(64%, 260px); background: center / contain no-repeat; transition: background-image .15s; }
.elcc__comp img { position: absolute; transition: opacity .15s; }
.elcc__t { font-family: var(--wix); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.elcc__s { font-size: 12px; color: #4b5462; margin-top: -10px; }
.elcc__s i { font-style: normal; color: #b6bcc8; margin: 0 4px; }
.elcc__s em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: #2452e6; }
.elcc__rec { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #157a52; margin-top: -8px; }
.elcc__rec i { width: 14px; height: 14px; border-radius: 50%; background: #e9f6ef; display: grid; place-items: center; }
.elcc__note { font-family: var(--mono); font-size: 9.5px; color: #8a93a1; }
.elcc__h { padding-right: 44px; display: flex; flex-direction: column; gap: 6px; }
.elcc__lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #8a93a1; }
.elcc__h h2 { font-family: var(--wix); font-weight: 700; font-size: 22px; letter-spacing: -.03em; margin: 0; }
.elcc__h p { font-size: 12px; color: #626b7a; line-height: 1.5; margin: 0; }
.elcc__seg { display: inline-flex; align-self: flex-start; background: #f2f4f9; padding: 4px; border-radius: 14px; }
.elcc__seg button { height: 36px; padding: 0 16px; border-radius: 11px; font-family: var(--wix); font-weight: 700; font-size: 12px; color: #626b7a; }
.elcc__seg button.on { background: #fff; color: #0f141b; box-shadow: 0 1px 3px rgba(15, 20, 27, .12); }
.elcc__cap { font-size: 12px; font-weight: 700; color: #626b7a; margin-bottom: 9px; }
.elcc__cap b { color: #0f141b; }
.elcc__sw { display: flex; flex-wrap: wrap; gap: 7px; }
.elcc__m { width: 44px; height: 44px; border-radius: 13px; background: center / cover; box-shadow: inset 0 0 0 1px rgba(15, 20, 27, .1); transition: box-shadow .15s; }
.elcc__m.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2c5bea; }
.elcc__fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 9px; }
.elcc__fg .elcc__lbl { font-size: 9px; }
.elcc__fr { position: relative; width: 44px; height: 44px; border-radius: 13px; background: #fff center / 84% no-repeat; border: 1px solid #e3e6ee; transition: border-color .15s, box-shadow .15s; }
.elcc__fr:hover { border-color: #9fb3e8; }
.elcc__fr.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2c5bea; }
.elcc__fr i { position: absolute; top: -5px; right: -5px; width: 16px; height: 16px; border-radius: 50%; background: #e9f6ef; border: 1.5px solid #fff; display: grid; place-items: center; }
.elcc__hint { font-size: 10.5px; color: #626b7a; margin: 0; }
.elcc__btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.elcc__btns a { flex: 1 1 180px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-family: var(--wix); font-weight: 700; font-size: 12.5px; }
.elcc__b1 { background: #2c5bea; color: #fff; }
.elcc__b1:hover { background: #1b3ec0; color: #fff; }
.elcc__b2 { border: 1px solid #e3e6ee; color: #0f141b; }
.elcc__b2:hover { border-color: #0f141b; color: #0f141b; }
@media (max-width: 760px) {
	.elcc { padding: 0; align-items: flex-end; }
	.elcc__card { max-height: 92vh; border-radius: 24px 24px 0 0; }
	.elcc__l { padding: 12px 12px 0; }
	.elcc__pv { min-height: 0; padding: 22px 14px 16px; gap: 14px; }
	.elcc__comp { width: min(46%, 180px); }
	.elcc__r { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); gap: 16px; }
	.elcc__m, .elcc__fr { width: 40px; height: 40px; }
}
.el-mega__paint .el-combo-btn { order: 1; margin-left: auto; }
.el-mega__paint:has(.el-combo-btn) > div { order: 2; flex-basis: 100%; }
.el-fg__combo { margin-top: 12px; align-self: flex-start; }
/* Several series in one place: «Як виглядає з рамкою: Sedna · Asfora» — each opens its own popup */
.el-combo-set { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.el-combo-set__t { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #2452e6; }
.el-combo-set .el-combo-btn { padding: 0 11px; }
.el-mega__paint .el-combo-set { order: 1; margin-left: auto; }
.el-tip-row__b-wrap { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
.el-tip-row__b-wrap .el-combo-set__t { color: inherit; }
/* Asfora: the key has its own edge and a soft shadow, so it sits on the frame's slope instead of sinking into it */
.elcc__comp.is-asfora img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 20, 27, .1), 0 1px 0 rgba(15, 20, 27, .14), 0 3px 6px rgba(15, 20, 27, .14); }
.el-fg__combo .el-combo-set__t, .el-tip-row__b-wrap .el-combo-set__t { flex-basis: 100%; }
