.item-thumb {
    width: 5rem;
    height: 6rem !important;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--color-base-secondary);
    /*border: 1px solid #ddd;*/
    visibility: visible !important;

}

.pillow-thumb-wrap, .single-thumb-wrap { width: 5rem; }

/*
.remove-row {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #333;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  padding: 0;
  cursor: pointer;
}
*/
/*.remove-row:hover {
  background: #000;
}*/

.remove-row {
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 1rem;
    line-height: 18px;
    padding: 0;
    cursor: pointer;
    transform: translateY(-50%);
    color: #818181;
}

.remove-row:hover {
  background: #f7f7f5;
}

.remove-row:active, .remove-row:focus{
  border: none;
    outline: none;
}

.constructor-page {
    min-height: 100vh;
    padding: 40px 40px 60px;
}

.constructor-bed {
    background: #f5f5f5;
    border-radius: 8px;

    text-align: center;
}

.thumb-link {
  /*display: inline-block;*/
  text-decoration: none;
}

.thumb-link.disabled {
  pointer-events: none;
  cursor: default;
}

.constructor-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    transition: opacity .35s ease;
}
.constructor-layer.visible {
    opacity: 1;
}

/* общие размеры уже есть, добавляем смещения */
/* общий слой наволочки */

/* левая — как есть */
.constructor-pillow-left  { transform: none; }
.constructor-pillow-right { transform: none; }

/* правая — зеркально */
/*.constructor-pillow-right {
    transform: scaleX(-1);
}*/

/* чем ниже — тем «глубже» */
.constructor-sheet   { z-index: 1; }
.constructor-duvet   { z-index: 3; }
.constructor-pillow  { z-index: 2; }

.constructor-bed-inner {
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.constructor-bed-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/*.constructor-panel {
    background: #ffffff;
    padding: 24px 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}*/

.constructor-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}





.pillow-row,
.single-row {
    font-size: 14px;
    position: relative;
}

.pillow-label {
    white-space: nowrap;
    font-size: 13px;
}

.pillow-thumb {
    width: 40px;
    height: 30px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    margin-left: auto;
    margin-right: auto;
}

.add-more {
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 2rem;

}

.add-more i {
    font-style: normal;
    margin-left: 0.2rem;
}

.summary-box {
    border-top: 1px solid #eee;
    margin-top: 18px;
    padding-top: 16px;
    font-size: 13px;
    color: #555;
}

.summary-box ul {
    padding-left: 18px;
    margin-bottom: 10px;
    max-height: 120px;
    overflow-y: auto;
}

.summary-total {
    font-weight: 600;
    font-size: 14px;
}

.btn-add-to-cart {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
}

.sx-product-images-wrapper img {
    max-width: 100%;
    max-height: calc(100vh - 10rem);
}

@media (max-width: 991.98px) {
    .constructor-page {
        padding: 15px;
    }

    /*.constructor-bed-inner {
        height: 280px;
    }
*/
    .pillow-label {
        margin-bottom: 6px;
    }
}