.sets {
  --color1: #f60;
  --color2: #71be00;
}

.set .timer {
    font-size: 20px;
    background-color: #cc0000;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    margin: 15px;
    display: none;
}

.sets h3 {
    text-align: center;
}

#prd-sets {
    background: transparent;
    display: none;
    margin: 10px auto;
    width: 100%;
    padding: 0 15px;
    text-align: center;
}

.sets .set-product {
    border: 1px solid #ddd;
}

.sets .set-product .caption {
    padding: 0 10px;
}
.sets .set-product .image {
    margin-top: 10px;
}
.sets .set-product .image img {
    max-height: 150px;
    width: auto;
}

.sets .set-product, .sets .set-total
{
    border-radius: 5px;
    background: white;
    flex: 1 1 0;
    height: 290px;
    max-width: 250px;
    position: relative;
    min-width: 150px;
    margin: 5px;
    vertical-align: middle;
   -webkit-box-shadow: 0px 0px 20px 3px rgba(191,191,191,0.5);
    -moz-box-shadow: 0px 0px 20px 3px rgba(191,191,191,0.5);
    box-shadow: 0px 0px 20px 3px rgba(191,191,191,0.5);
}
.sets .setv .set-product,
.sets .setv .set-total
{
    max-width: 100%;
    flex: 0 0 100%;
}
.sets .set-total {
    border: 2px solid var(--color1);
    padding: 65px 10px;
}

.sets .set-total .economy {
    font-size: 16px;
    color: white;
    border-radius: 5px;
    background: var(--color1);
    padding: 3px 7px;
    position: relative;
    top: -3px;
}

.sets .set-total .old_total
{
    text-decoration: line-through;
    color: #a3a3a3;
    font-size: 20px;
    font-weight: 700;
}

.sets .set-total .new_summ {
    color: var(--color1);
    font-weight: 700;
    font-size: 22px;
    margin-top: 15px;
    white-space: nowrap;
}

.sets .set-product .price-new
{
    font-weight: 700;
    font-size: 16px;
    color: red;
    white-space: nowrap;
}

.sets .set-product .price
{
    font-size: 15px;
}

.sets .set-product .price-old 
{
    text-decoration: line-through;
    color: #b3b3b3;
    font-size: 12px;
}

.sets .set .disc {
    position: absolute;
    left: 0;
    top: 0;
    padding: 4px 6px 4px 10px;
    background-color: var(--color1);
    border-radius: 5px 0 5px 0;
    color: white;
    z-index: 5;
}
.sets .set .quantity {
    position: absolute;
    right: 0;
    top: 0;
    padding: 4px 6px;
    background-color: var(--color2);
    border-radius: 0 5px 0 5px;
    color: white;
    z-index: 5;
}
.add-set-btn {
    background: var(--color1);
    border: none;
    margin: 15px auto 10px auto;
}
.img-resp
{
    max-width: 100%;
    margin: 0 auto;
    display: table;
    height: auto;
}
.sets .set_table {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
}
.sets .set-product h4 {
    font-size: 16px;
    line-height: 20px;
    height: 60px;
    overflow: hidden;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: 767px) {
        .sets .set-product .image
    {
        width: 30%;
        float: left;
        margin-top: 30px;
    }
    .sets .set-product .caption
    {
        width: 70%;
        float: left;
        padding: 15px 50px 15px 0px;
    }

    .sets .set-total .economy {
        font-size: 14px;
    }

    .sets .set-total .new_summ {
        margin-top: 5px;
        
    }

    .sets .set-product h4 {
    }
    .sets .set-product, .sets .set-total {
        height: auto;
        min-width: 100%;
    }

    .sets .set-total {
        padding: 35px 10px;
    }
    .sets .set-product .image img {
        max-height: 70px;
        width: auto;
    }
    .sets .ao {
      
    }
    .sets .set-total .kjleft
    {
        text-align: right;

    }
    .sets .set-total .kjleft, .sets .set-total .kjright
    {
        width: 50%;
        float: left;
        padding: 0 10px;
    }
        .add-set-btn {
        margin: 0;
    }
}
.sets .set-total .old_total,
.sets .set-total .economy
{
    display: inline-block;
}
.kjincluded {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0!important;
    z-index: 9;
}
.sets .set-product .open-options {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 30px;
    padding: 0!important;
}
.sets .ao
{
    padding: 0 10px;
}
.sets .ao span {
    background: #bbb;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: table;
    font-size: 25px;
    font-weight: 700;
    margin: 10px auto;
    color: white;
}
.mymargin {
    margin-top: 30px;
}
.hidden {
    display: none;
}
#prd-sets {
    box-shadow: none;
    border: none;
}
#prd-sets table td {
    vertical-align: middle;
}
#prd-sets .owl-wrapper-outer
{
    border: none;
    box-shadow: none;
}

.sets .out-stock
{
    filter: grayscale(100%);
}

#prd-sets .swiper-viewport
{
    box-shadow: none;
}

.series-options-modal .price
{
    font-size: 18px;
    line-height: 38px;
    float: left;
    margin: 0;
    font-weight: 500;
}
.series-options-modal .price-old
{
    text-decoration: line-through;
    color: #b3b3b3;
    font-size: 15px;
    font-weight: 300;
}

.series-options-modal .price-new
{
    margin-left: 10px;
    font-size: 19px;
    color: #444;
    white-space: nowrap;
    font-weight: 700;
}
.series-options-modal .discounts, 
.series-options-modal input[name="quantity"]
{
    display: none!important;
}
.series-options-modal input[name="quantity"]
{
    width:70px;
    margin-left: 10px;
    display: inline-block;
}
.series-options-modal .apply-options
{
    float: right;
    font-size: 15px;
}
.series-options-modal .bs5-close
{
    display: none;
}
.setv .set-product, .setv .set-total
{
    height: auto;
}

/* ===== KJ Sets — блоковий вигляд комплектів (кастом) ===== */
#prd-sets { --color1: #EF3134; --color2: #15A850; }
#prd-sets .sets-blocks { max-width: 480px; margin: 0 auto; text-align: left; }
.sets .setblock {
    border: 1px solid #e6e6e6; border-radius: 12px; background: #fff;
    padding: 14px 16px; margin-bottom: 14px; box-shadow: none;
}
.sets .setblock .setblock-top { margin: 0 0 12px; text-align: left; }
.sets .setblock .setblock-name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.sets .setblock .set_table.setblock-thumbs {
    display: flex; align-items: center; justify-content: flex-start;
    flex-flow: row wrap; gap: 6px; margin: 0 0 10px;
}
.sets .setblock .set-product {
    width: 58px; height: 58px; min-width: 58px; max-width: 58px; margin: 0; padding: 0;
    border: 1px solid #ececec; border-radius: 8px; background: #fff; box-shadow: none;
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center; position: relative;
}
.sets .setblock .set-product .image {
    margin: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
}
.sets .setblock .set-product .image img { max-height: 50px; max-width: 50px; width: auto; height: auto; margin: 0; }
.sets .setblock .ao.plus { padding: 0 1px; }
.sets .setblock .ao.plus span { width: 18px; height: 18px; line-height: 18px; font-size: 14px; margin: 0; background: #c9c9c9; }
.sets .setblock .setblock-names { font-size: 12px; color: #6b6b6b; line-height: 1.5; margin: 0 0 12px; }
.sets .setblock .setblock-names a { color: #6b6b6b; text-decoration: none; }
.sets .setblock .setblock-names .sep { color: #c9c9c9; }
.sets .setblock .set-total.setblock-bottom {
    border: none; background: transparent; padding: 0; height: auto; max-width: 100%; min-width: 0;
    margin: 0; box-shadow: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1 1 auto;
}
.sets .setblock .setblock-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.sets .setblock .setblock-price .old_total { text-decoration: line-through; color: #a3a3a3; font-size: 13px; font-weight: 400; }
.sets .setblock .setblock-price .new_summ { color: var(--color1); font-weight: 700; font-size: 19px; margin: 0; white-space: nowrap; }
.sets .setblock .setblock-price .economy { font-size: 12px; color: #fff; background: var(--color2); border-radius: 20px; padding: 2px 9px; top: 0; white-space: nowrap; }
.sets .setblock .add-set-btn { margin: 0; padding: 8px 16px; white-space: nowrap; border-radius: 8px; }
.sets .setblock .kjincluded { top: 2px; left: 2px; }
.sets .setblock .set-product .quantity { right: 0; top: 0; padding: 1px 5px; font-size: 11px; border-radius: 0 8px 0 8px; }
.sets .setblock .set-product .open-options { width: 22px; height: 22px; line-height: 22px; right: 2px; bottom: 2px; }
.sets .setblock .set-product .disc { font-size: 11px; padding: 2px 5px; border-radius: 8px 0 8px 0; }
@media screen and (max-width: 767px) {
    #prd-sets .sets-blocks { max-width: 100%; }
    .sets .setblock .set-total.setblock-bottom { flex-wrap: wrap; row-gap: 10px; }
    .sets .setblock .add-set-btn { width: 100%; }
}
@media screen and (min-width: 768px) {
    #prd-sets .sets-blocks { max-width: 100%; }
    .sets .setblock {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "name price" "thumbs price" "names price";
        align-items: center;
        column-gap: 20px;
        row-gap: 4px;
        padding: 16px 20px;
    }
    .sets .setblock .setblock-top { grid-area: name; margin: 0 0 2px; }
    .sets .setblock .set_table.setblock-thumbs { grid-area: thumbs; margin: 0 0 6px; justify-content: flex-start; }
    .sets .setblock .setblock-names { grid-area: names; margin: 0; }
    .sets .setblock .set-total.setblock-bottom {
        grid-area: price;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 10px;
        white-space: nowrap;
    }
    .sets .setblock .setblock-price { justify-content: flex-end; }
}