.pm-konstr{max-width:1280px;margin:0 auto;padding:16px;font-family:Arial,sans-serif;color:#222}.pm-konstr *{box-sizing:border-box}.pm-konstr__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.pm-konstr__head h1{margin:0;font-size:28px}.pm-konstr__price{font-size:18px}.pm-konstr__price strong{font-size:25px;color:#e45721}.pm-konstr__layout{display:grid;grid-template-columns:260px minmax(420px,1fr) 240px;gap:16px}.pm-konstr__left,.pm-konstr__tools,.pm-konstr__workspace{background:#fff;border:1px solid #ddd;border-radius:12px;padding:14px}.pm-konstr__primary,.pm-konstr__buy{width:100%;border:0;border-radius:8px;padding:13px 15px;background:#f26a2e;color:#fff;font-weight:700;font-size:16px;cursor:pointer}.pm-konstr__summary{margin:12px 0;font-size:14px;line-height:1.45}.pm-konstr__field{margin-top:14px}.pm-konstr__field label{display:block;font-weight:700;margin-bottom:8px}.pm-konstr__chips{display:flex;flex-wrap:wrap;gap:7px}.pm-konstr__chip{border:1px solid #ccc;border-radius:7px;background:#fff;padding:8px 10px;cursor:pointer}.pm-konstr__chip.is-active{border-color:#f26a2e;box-shadow:0 0 0 2px rgba(242,106,46,.15)}.pm-konstr__sides{display:flex;gap:8px;margin-bottom:10px}.pm-konstr__side{flex:1;border:1px solid #ccc;background:#f7f7f7;border-radius:8px;padding:10px;cursor:pointer}.pm-konstr__side.is-active{background:#f26a2e;color:#fff;border-color:#f26a2e}.pm-konstr__canvas-wrap{position:relative;width:min(100%,500px);aspect-ratio:1;margin:0 auto;background:#f4f4f4;overflow:hidden}.pm-konstr__canvas-wrap .canvas-container{width:100%!important;height:100%!important}.pm-konstr__canvas-wrap canvas{width:100%!important;height:100%!important}.pm-konstr__tools{display:flex;flex-direction:column;gap:10px}.pm-konstr__tool{display:block;width:100%;border:1px solid #bbb;border-radius:8px;background:#fff;padding:11px;text-align:center;cursor:pointer;font-weight:600}.pm-konstr__tool--upload{background:#f8f8f8}.pm-konstr__tool--danger{color:#a00}.pm-konstr__input{width:100%;padding:10px;border:1px solid #bbb;border-radius:7px}.pm-konstr__color-input{width:100%;height:42px;border:1px solid #bbb;border-radius:7px}.pm-konstr__buy{margin-top:auto}.pm-konstr__message{font-size:14px;min-height:20px;color:#a00}.pm-konstr-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:30000;padding:20px;overflow:auto}.pm-konstr-modal__dialog{position:relative;max-width:900px;margin:30px auto;background:#fff;border-radius:12px;padding:20px}.pm-konstr-modal__close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:32px;cursor:pointer}.pm-konstr-basis-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pm-konstr-basis{border:1px solid #ddd;border-radius:10px;padding:10px;background:#fff;cursor:pointer;text-align:center}.pm-konstr-basis img{width:100%;aspect-ratio:1;object-fit:contain}.pm-konstr-basis strong{display:block;margin-top:7px}.pm-konstr-basis span{font-size:13px;color:#666}@media(max-width:900px){.pm-konstr{padding:10px}.pm-konstr__head{align-items:flex-start;flex-direction:column}.pm-konstr__layout{display:flex;flex-direction:column}.pm-konstr__workspace{order:1}.pm-konstr__left{order:2}.pm-konstr__tools{order:3;display:grid;grid-template-columns:1fr 1fr}.pm-konstr__buy,.pm-konstr__message{grid-column:1/-1}.pm-konstr-basis-list{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-konstr__head h1{font-size:23px}}

/* Дополнения v1.2 */
.pm-konstr__swatch{
    width:34px;
    height:34px;
    padding:0;
    border:2px solid #d2d2d2;
    border-radius:7px;
    cursor:pointer;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);
}
.pm-konstr__swatch:hover{transform:scale(1.06)}
.pm-konstr__swatch.is-active{
    border-color:#f26a2e;
    box-shadow:0 0 0 2px rgba(242,106,46,.25),inset 0 0 0 1px rgba(255,255,255,.55);
}
.pm-konstr__swatch.is-light{box-shadow:inset 0 0 0 1px #bdbdbd}
.pm-konstr__swatch.is-light.is-active{box-shadow:0 0 0 2px rgba(242,106,46,.25),inset 0 0 0 1px #aaa}
.pm-konstr__select{
    width:100%;
    min-height:42px;
    padding:9px 10px;
    border:1px solid #bbb;
    border-radius:7px;
    background:#fff;
}
.pm-konstr__canvas-wrap .upper-canvas{touch-action:none}


/* Дополнения v1.3: иерархическое меню основ и несколько зон печати */
.pm-konstr__zones{display:flex;gap:8px;justify-content:center;margin:0 0 10px}
.pm-konstr__zone-btn{border:1px solid #ccc;border-radius:8px;background:#fff;padding:8px 14px;cursor:pointer}
.pm-konstr__zone-btn.is-active{background:#f26a2e;color:#fff;border-color:#f26a2e}
.pm-konstr-basis-list{display:block}
.pm-konstr-menu-group{border:1px solid #ddd;border-radius:10px;margin:0 0 12px;overflow:hidden}
.pm-konstr-menu-group__head{display:block;width:100%;border:0;background:#f5f5f5;padding:13px 16px;text-align:left;font-size:17px;font-weight:700;cursor:pointer}
.pm-konstr-menu-group__body{padding:14px}
.pm-konstr-menu-group__body h3{margin:5px 0 10px;font-size:15px}
.pm-konstr-basis-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.pm-konstr-basis-grid:last-child{margin-bottom:0}
@media(max-width:900px){
  .pm-konstr-basis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pm-konstr__zones{flex-wrap:wrap}
}


/* Дополнения v1.4: клипарты и понятный редактор текста */
.pm-konstr__text-editor{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid #ddd;border-radius:9px;background:#fafafa}
.pm-konstr__text-editor label{font-size:13px;font-weight:700}
.pm-konstr__tool--text{background:#fff;border-color:#bbb;color:#222}
.pm-konstr__text-color{display:inline-flex!important;align-items:center;justify-content:center;width:42px;height:42px;padding:4px;border:2px solid #ccc;border-radius:8px;background:#fff;cursor:pointer}
.pm-konstr__text-color span{display:block;width:28px;height:28px;border-radius:5px;border:1px solid rgba(0,0,0,.25);background:#000}
.pm-konstr__text-color input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.pm-konstr__clipart-panel{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;max-height:230px;overflow:auto;padding:8px;border:1px solid #ddd;border-radius:9px;background:#fafafa}
.pm-konstr__clipart{border:1px solid #ddd;border-radius:7px;background:#fff;padding:5px;cursor:pointer;aspect-ratio:1}
.pm-konstr__clipart:hover{border-color:#f26a2e;box-shadow:0 0 0 2px rgba(242,106,46,.15)}
.pm-konstr__clipart img{display:block;width:100%;height:100%;object-fit:contain}
.pm-konstr__chip:disabled{opacity:.45;cursor:not-allowed;text-decoration:line-through}
@media(max-width:900px){.pm-konstr__text-editor{grid-column:1/-1}.pm-konstr__clipart-panel{grid-column:1/-1;grid-template-columns:repeat(6,1fr)}}

/* Дополнения v1.5: крупные управляющие элементы, панели инструментов и палитры */
.pm-konstr__head{justify-content:flex-start}
.pm-konstr__tools{min-width:0}
.pm-konstr__tool{display:flex;align-items:center;justify-content:flex-start;gap:11px;min-height:50px;padding:10px 13px;text-align:left}
.pm-konstr__tool.is-active{border-color:#f26a2e;background:#fff4ef;color:#d94f18;box-shadow:0 0 0 2px rgba(242,106,46,.12)}
.pm-konstr__tool-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;color:currentColor}
.pm-konstr__tool-icon svg{display:block;width:25px;height:25px;fill:currentColor}
.pm-konstr__tool-icon--letter{font-size:25px;line-height:1;font-family:Georgia,serif;font-weight:700}
.pm-konstr__tool-panel{min-height:0}
.pm-konstr__operation-panel{padding:10px;border:1px solid #ddd;border-radius:9px;background:#fafafa}
.pm-konstr__operation-panel[hidden]{display:none!important}
.pm-konstr__style-block{margin-top:12px;padding-top:10px;border-top:1px solid #ddd}
.pm-konstr__style-block>label{display:block;margin-bottom:8px;font-size:13px;font-weight:700}
.pm-konstr__design-palette{display:flex;flex-wrap:wrap;gap:8px}
.pm-konstr__design-swatch{width:34px;height:34px;padding:0;border:2px solid #d2d2d2;border-radius:7px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.pm-konstr__design-swatch:hover{transform:scale(1.06)}
.pm-konstr__design-swatch.is-active{border-color:#f26a2e;box-shadow:0 0 0 2px rgba(242,106,46,.25),inset 0 0 0 1px rgba(255,255,255,.55)}
.pm-konstr__design-swatch.is-light{box-shadow:inset 0 0 0 1px #aaa}
.pm-konstr__clipart-panel{border:0;padding:0;background:transparent;max-height:230px}
.pm-konstr__checkout{margin-top:auto;padding-top:12px;border-top:1px solid #e1e1e1}
.pm-konstr__checkout .pm-konstr__price{display:flex;align-items:baseline;justify-content:center;gap:5px;margin-bottom:10px;font-size:17px}
.pm-konstr__checkout .pm-konstr__price strong{font-size:25px;color:#e45721}
.pm-konstr__buy{margin-top:0}
@media(max-width:900px){
  .pm-konstr__tools{display:flex}
  .pm-konstr__checkout,.pm-konstr__message,.pm-konstr__tool-panel{width:100%}
}

/* Accordion tool panels */
.pm-konstr__accordion-arrow{margin-left:auto;font-size:22px;line-height:1;transition:transform .18s ease}
.pm-konstr__tool[aria-expanded="true"] .pm-konstr__accordion-arrow{transform:rotate(180deg)}
.pm-konstr__accordion-panel{margin-top:-4px;margin-bottom:2px;border-top-left-radius:0;border-top-right-radius:0}
.pm-konstr__tool.is-active{position:relative;z-index:1}


/* v1.6.1: стабильная мобильная компоновка */
html,body{max-width:100%;overflow-x:hidden}
.pm-konstr{width:100%;min-width:0}
.pm-konstr__layout>*{min-width:0}
.pm-konstr__canvas-wrap{max-width:500px;width:100%;height:auto}
.pm-konstr__canvas-wrap .canvas-container,
.pm-konstr__canvas-wrap canvas{max-width:100%!important}
@media(max-width:900px){
  .pm-konstr{padding:8px!important}
  .pm-konstr__head{margin-bottom:8px}
  .pm-konstr__head h1{font-size:20px}
  .pm-konstr__layout{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important}
  .pm-konstr__left,.pm-konstr__workspace,.pm-konstr__tools{width:100%!important;max-width:100%!important;padding:10px!important;border-radius:9px}
  .pm-konstr__left{order:1!important}
  .pm-konstr__workspace{order:2!important}
  .pm-konstr__tools{order:3!important;display:flex!important;flex-direction:column!important}
  .pm-konstr__sides{width:100%}
  .pm-konstr__side{min-width:0;padding:10px 6px}
  .pm-konstr__canvas-wrap{width:100%!important;max-width:500px!important;margin:0 auto!important;aspect-ratio:1/1}
  .pm-konstr__zones{width:100%;gap:6px}
  .pm-konstr__zone-btn{flex:1;min-width:0;padding:8px 6px}
  .pm-konstr__chips{gap:6px}
  .pm-konstr__swatch{width:32px;height:32px}
  .pm-konstr__tool{width:100%!important;min-height:50px}
  .pm-konstr__clipart-panel{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .pm-konstr__checkout{width:100%;margin-top:8px}
  .pm-konstr-modal{padding:8px}
  .pm-konstr-modal__dialog{margin:8px auto;padding:14px;max-width:100%}
  .pm-konstr-basis-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:420px){
  .pm-konstr{padding:5px!important}
  .pm-konstr__left,.pm-konstr__workspace,.pm-konstr__tools{padding:8px!important}
  .pm-konstr__primary,.pm-konstr__buy{font-size:15px;padding:12px 10px}
  .pm-konstr__clipart-panel{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}


/* v1.6.3: принудительный компактный режим и прокрутка на сенсорных экранах */
.pm-konstr__head,
.pm-konstr__head h1{width:100%;max-width:100%;min-width:0}
.pm-konstr__head h1{overflow-wrap:anywhere}
.pm-konstr__canvas-wrap .upper-canvas{
  touch-action:pan-y!important;
  -ms-touch-action:pan-y!important;
}
.pm-konstr__canvas-wrap .lower-canvas{pointer-events:none}

.pm-konstr.pm-konstr--mobile{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:6px!important;
  overflow:visible!important;
}
.pm-konstr.pm-konstr--mobile .pm-konstr__head{
  width:100%!important;
  margin:0 0 7px!important;
  padding:0!important;
}
.pm-konstr.pm-konstr--mobile .pm-konstr__head h1{
  width:100%!important;
  margin:0!important;
  font-size:19px!important;
  line-height:1.2!important;
  text-align:left!important;
}
.pm-konstr.pm-konstr--mobile .pm-konstr__layout{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  gap:8px!important;
}
.pm-konstr.pm-konstr--mobile .pm-konstr__left,
.pm-konstr.pm-konstr--mobile .pm-konstr__workspace,
.pm-konstr.pm-konstr--mobile .pm-konstr__tools{
  display:block!important;
  position:static!important;
  float:none!important;
  clear:both!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:9px!important;
}
.pm-konstr.pm-konstr--mobile .pm-konstr__left{order:1!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__workspace{order:2!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__tools{order:3!important;display:flex!important;flex-direction:column!important;gap:7px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__canvas-wrap{
  width:min(100%,500px)!important;
  max-width:100%!important;
  margin:0 auto!important;
}
.pm-konstr.pm-konstr--mobile .pm-konstr__primary,
.pm-konstr.pm-konstr--mobile .pm-konstr__tool,
.pm-konstr.pm-konstr--mobile .pm-konstr__buy{min-height:44px!important;padding:9px 11px!important;font-size:14px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__summary{margin:8px 0!important;line-height:1.3!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__field{margin-top:9px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__field label{margin-bottom:5px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__swatch{width:30px!important;height:30px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__chip{padding:7px 9px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__sides{margin-bottom:7px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__side{padding:8px 5px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__zones{margin-bottom:7px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__checkout{padding-top:9px!important}
.pm-konstr.pm-konstr--mobile .pm-konstr__checkout .pm-konstr__price{margin-bottom:7px!important}


/* v1.6.4: прокрутка по пустому холсту на телефоне */
.pm-konstr.pm-konstr--mobile .pm-konstr__canvas-wrap,
.pm-konstr.pm-konstr--mobile .pm-konstr__canvas-wrap .canvas-container,
.pm-konstr.pm-konstr--mobile .pm-konstr__canvas-wrap .upper-canvas{
  touch-action:pan-y!important;
  -ms-touch-action:pan-y!important;
  overscroll-behavior-y:auto!important;
  -webkit-user-select:none;
  user-select:none;
}


/* v1.6.8: экран загрузки конструктора */
.pm-konstr.pm-konstr--booting{
    min-height:420px;
    position:relative;
}
.pm-konstr.pm-konstr--booting > .pm-konstr__head,
.pm-konstr.pm-konstr--booting > .pm-konstr__layout,
.pm-konstr.pm-konstr--booting > .pm-konstr-modal,
.pm-konstr.pm-konstr--booting > form{
    display:none!important;
}
.pm-konstr__loader{
    min-height:420px;
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
    text-align:center;
    color:#555;
    font-size:15px;
    padding:30px 15px;
}
.pm-konstr__loader[hidden]{display:none!important}
.pm-konstr__loader-gif{
    width:48px;
    height:48px;
    object-fit:contain;
}
.pm-konstr__loader-text{
    min-height:22px;
    line-height:1.45;
}
@media(max-width:900px){
    .pm-konstr.pm-konstr--booting,
    .pm-konstr__loader{min-height:320px}
    .pm-konstr__loader-gif{width:42px;height:42px}
}


/* v1.6.9: единый список шрифтов, скрываемые поля и стороны */
.pm-konstr__field[hidden],.pm-konstr__side[hidden]{display:none!important}
.pm-konstr__font-picker{position:relative;width:100%}
.pm-konstr__font-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;padding:9px 34px 9px 11px;border:1px solid #bbb;border-radius:7px;background:#fff;text-align:left;font-size:16px;cursor:pointer;position:relative}
.pm-konstr__font-button:after{content:'⌄';position:absolute;right:11px;top:50%;transform:translateY(-54%);font-family:Arial,sans-serif;font-size:20px;color:#555}
.pm-konstr__font-button[aria-expanded="true"]:after{transform:translateY(-42%) rotate(180deg)}
.pm-konstr__font-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:50;max-height:270px;overflow-y:auto;padding:5px;border:1px solid #bbb;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.pm-konstr__font-menu[hidden]{display:none!important}
.pm-konstr__font-option{display:block;width:100%;min-height:42px;padding:9px 10px;border:0;border-radius:5px;background:#fff;text-align:left;font-size:18px;line-height:1.25;cursor:pointer}
.pm-konstr__font-option:hover,.pm-konstr__font-option.is-active{background:#fff1eb;color:#c94716}
@media(max-width:900px){
  .pm-konstr__font-button{min-height:46px!important;font-size:16px!important}
  .pm-konstr__font-menu{position:relative;top:auto;margin-top:5px;max-height:260px;box-shadow:none}
  .pm-konstr__font-option{min-height:46px;font-size:18px;padding:10px}
}

/* v1.7.6: категории клипарта и PNG-превью */
.pm-konstr__clipart-filter{display:grid;gap:6px;margin:0 0 9px}
.pm-konstr__clipart-filter label{font-weight:600;font-size:14px;color:#333}
.pm-konstr__clipart-filter .pm-konstr__select{width:100%;min-height:42px;padding:8px 34px 8px 10px;border:1px solid #bbb;border-radius:7px;background:#fff;font-size:15px;color:#222}
.pm-konstr__clipart-empty{grid-column:1/-1;padding:18px 10px;text-align:center;color:#777;font-size:14px}
.pm-konstr__clipart img{background:#fff}
@media(max-width:900px){
  .pm-konstr__clipart-filter .pm-konstr__select{min-height:46px;font-size:16px}
}

/* v1.7.9: стабильная кнопка добавления в корзину внутри конструктора */
#pm-constructor .pm-konstr__checkout form{
  width:100%;
  margin:0;
  padding:0;
  text-align:center;
}
#pm-constructor .pm-konstr__buy{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:50px!important;
  margin:0!important;
  padding:12px 10px!important;
  box-sizing:border-box!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
  line-height:1.2!important;
  text-align:center!important;
  cursor:pointer;
}
@media(max-width:420px){
  #pm-constructor .pm-konstr__buy{
    font-size:14px!important;
    padding:11px 6px!important;
  }
}


/* v1.8.4: таблица размеров выбранной основы */
.pm-konstr__size-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.pm-konstr__size-header label{margin:0!important}
.pm-konstr__size-link{appearance:none;padding:0;border:0;background:none;color:#5a1570;font-size:13px;line-height:1.25;text-decoration:underline;cursor:pointer;text-align:right}
.pm-konstr__size-link[hidden]{display:none!important}
.pm-konstr__size-link:disabled{opacity:.55;cursor:default}

.size-modal{display:none;position:fixed!important;left:0!important;top:0!important;right:0!important;bottom:0!important;z-index:2147483647!important;align-items:center;justify-content:center;font-family:Arial,sans-serif}
.size-modal.active{display:flex!important}
.size-modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.55);z-index:1}
.size-modal__box{position:relative;z-index:2;width:calc(100% - 40px);max-width:760px;max-height:88vh;background:#fff;border-radius:16px;overflow:hidden;box-sizing:border-box;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.size-modal__content{max-height:88vh;overflow-y:auto;padding:24px 30px;box-sizing:border-box}
.size-modal__close{position:absolute;z-index:3;right:18px;top:12px;border:0;background:none;font-size:38px;color:#777;cursor:pointer;line-height:1}
.size-modal h2{margin:0 40px 18px 0;font-size:26px;line-height:1.25;color:#111}
.size-table-wrap{overflow-x:auto;border:1px solid #e4e0ea;border-radius:14px}
.size-table{width:100%;min-width:0;border-collapse:collapse;text-align:center;font-size:14px}
.size-table th,.size-table td{padding:9px 8px;border:1px solid #e4e0ea}
.size-table th{background:#fbf8ff;font-weight:700}
.size-table td:first-child{font-weight:700;color:#5a1570}
.size-modal__tolerance{margin-top:10px;color:#777;font-size:14px}
.size-modal__note{margin-top:18px;padding:14px 18px;border-radius:12px;background:#f5eff9;color:#555;font-size:15px;line-height:1.45}
.size-modal__scheme{margin-top:18px;background:none;border:0}
.size-modal__scheme summary{display:inline-block;cursor:pointer;color:#5a1570;font-size:17px;font-weight:700;text-decoration:underline;list-style:none}
.size-modal__scheme summary::-webkit-details-marker{display:none}
.size-modal__scheme summary:before{content:"";display:inline-block;width:0;height:0;margin-right:8px;vertical-align:middle;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid #5a1570}
.size-modal__scheme[open] summary:before{border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #5a1570;border-bottom:0}
.size-modal__top{display:flex;gap:24px;align-items:center;margin-top:15px;padding:18px;border:1px solid #e4e0ea;border-radius:14px;background:#faf7ff}
.size-modal__image{flex:0 1 45%;text-align:center}
.size-modal__image img{display:block;max-width:100%;max-height:300px;height:auto;margin:auto}
.size-modal__info{flex:1;color:#555;font-size:15px;line-height:1.45}
.size-modal__info p{margin:0 0 12px}
.size-modal__info-note{color:#777;font-size:14px}
.size-modal__btn{display:block;margin:22px auto 0;width:220px;min-height:48px;padding:12px 18px;border:0;border-radius:10px;background:#5a1570;color:#fff;font-size:16px;font-weight:700;text-align:center;cursor:pointer;box-sizing:border-box}
@media(max-width:600px){
  .pm-konstr__size-header{align-items:flex-start}
  .pm-konstr__size-link{font-size:13px;max-width:130px}
  .size-modal__box{width:calc(100% - 20px);max-height:94vh;border-radius:14px}
  .size-modal__content{max-height:94vh;padding:20px 14px}
  .size-modal__close{right:12px;top:8px;font-size:34px}
  .size-modal h2{font-size:22px;padding-right:30px}
  .size-table{min-width:560px;font-size:13px}
  .size-table th,.size-table td{padding:8px 6px}
  .size-modal__top{display:block;padding:14px}
  .size-modal__info{margin-top:14px}
  .size-modal__image img{max-height:190px}
  .size-modal__btn{width:100%}
}
