.fbts-block{margin:20px 0;padding:16px;border:1px solid #e5e5e5;    background: #f5f6fa;}
.fbts-modal{position:fixed!important;z-index:2147483010!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100vh!important;max-height:100vh!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
.fbts-modal .close{
    position: absolute!important;;
    top: 0!important;;
    right: 0!important;;
    padding: 15px!important;;
    border: 1px solid #eee!important;;
}
.fbts-modal .modal-dialog{position:relative;z-index:1;margin-top:30px;margin-bottom:30px}
html.fbts-modal-open,body.fbts-modal-open{overflow:hidden!important}
body.fbts-modal-open{width:100%!important}
body.fbts-modal-open .modal-backdrop{z-index:2147483000!important}
.modal-backdrop.fbts-modal-backdrop{z-index:2147483000!important}
.fbts-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.fbts-title{font-size:20px;font-weight:700;margin-bottom:0}
.fbts-carousel-nav{display:none;align-items:center;gap:8px;flex:0 0 auto}
.fbts-has-carousel .fbts-carousel-nav{display:flex}
.fbts-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.fbts-items.fbts-layout-carousel{display:block;margin:0 -6px}
.fbts-items.fbts-layout-carousel .fbts-item{margin:0 6px}
.fbts-items.fbts-layout-carousel .slick-track{display:flex}
.fbts-items.fbts-layout-carousel .slick-slide{height:auto}
.fbts-items.fbts-layout-carousel .slick-slide>div,.fbts-items.fbts-layout-carousel .fbts-item{height:100%}
.fbts-carousel-nav .slick-arrow{position:static;width:38px;height:38px;border:1px solid #e5e5e5;background:#fff;color:#333;font-size:0;line-height:1;display:flex!important;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:.15s ease}
.fbts-carousel-nav .slick-arrow:before{font-family:FontAwesome;font-size:18px;line-height:1;color:inherit;opacity:1}
.fbts-carousel-nav .slick-prev:before{content:"\f104"}
.fbts-carousel-nav .slick-next:before{content:"\f105"}
.fbts-carousel-nav .slick-arrow:hover{background:#d90000;border-color:#d90000;color:#fff}
.fbts-carousel-nav .slick-disabled{opacity:.45;cursor:default}

.fbts-item{display:flex;gap:10px;border:1px solid #eee;background-color:#fff;padding:10px;position:relative;text-align:left;}
.fbts-item:hover{
    border:1px solid #d7191faf;
}
.fbts-actions{
    display: flex;
    align-items: center;
    gap:10px;
}
.fbts-check{display:block;margin-bottom:0;}
.fbts-check input{position:absolute;opacity:0;pointer-events:none}
.fbts-check-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border:1px solid #d71920;border-radius:4px;color:#d71920;background:#fff;font-weight:600;cursor:pointer;transition:.15s ease}
.fbts-check-button:hover{background:#fff5f5}
.fbts-selected:checked + .fbts-check-button{background:#d71920;color:#fff}
.fbts-selected:checked + .fbts-check-button .fa:before{content:"\f00c"}
.fbts-thumb{width:90px;height:90px;object-fit:cover;cursor: pointer;}
.fbts-name{display:block;font-weight:600;cursor: pointer;}
.fbts-price{margin:6px 0}
.fbts-price-new{font-weight:700;color:#d71920;margin-right:6px}
.fbts-price-old{text-decoration:line-through;color:#777}
.fbts-qty{font-size:12px;display:flex;align-items:center;gap:8px;}
.fbts-qty-label{color:#555}
.fbts-qty-control{display:inline-flex;align-items:center;height:34px;border:1px solid #ddd;background:#fff}
.fbts-qty-btn{width:32px;height:32px;border:0;background:#f7f7f7;color:#686868;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.fbts-qty-btn:hover{background:#ededed;color:#d71920}
.button-preview{width:38px;height:34px;border:0;background:#fff;border:1px solid #f5f6fa;color:#474747;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.fbts-qty input{width:48px;height:32px;border:0;border-left:1px solid #ddd;border-right:1px solid #ddd;border-radius:0;box-shadow:none;text-align:center;padding:0}
.fbts-qty input::-webkit-outer-spin-button,.fbts-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.fbts-qty input[type=number]{-moz-appearance:textfield}
.fbts-summary-holder{display:none;margin:0 0 12px}
.fbts-summary{margin-top:0}
.fbts-summary-title{
    padding: 15px;
    background: #f5f6fa;
    border-bottom: 1px solid #fff;
    width:100%;
    display: block;
}
.fbts-summary-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding: 15px;
    background: #f5f6fa;}
.fbts-summary-main{border-bottom:1px solid #fff}
.fbts-summary-total{border-top:1px solid #fff;font-weight:700}
.fbts-summary-price{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.fbts-summary-remove{width:24px;height:24px;border:1px solid #ddd;background:#fff;color:#777;font-size:18px;line-height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.fbts-summary-remove:hover{border-color:#d71920;color:#d71920}
.fbts-bundle-panel{display:none;margin-top:16px;padding-top:14px;border-top:1px solid #e5e5e5;text-align:right}
.fbts-bundle-row{display:flex;justify-content:end;align-items:end;gap:8px;margin-bottom:6px;font-size:16px}
.fbts-bundle-row strong{font-weight:700}
.fbts-add-all{margin:12px 0 0 auto;
display: block;
    background: #d90000 !important;
    border-color: #d90000 !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    padding: 9px 21px;
    border: 0;
    border-radius: 1px;
    cursor: pointer;
    transition: all .15s ease .05s;}
.fbts-add-all:hover{
    background: #b80000 !important;
        border-color: #b80000 !important;
        color: #ffffff !important;
}
.fbts-preview{display:grid;grid-template-columns:minmax(260px,42%) 1fr;gap:22px;min-width:0}
.fbts-preview-media{min-width:0}
.fbts-preview-main{position:relative;}
.fbts-preview-image{width:100%;max-height:430px;object-fit:contain;background:#fff}
.fbts-preview-nav{position:absolute;top:50%;z-index:2;width:36px;height:36px;margin-top:-18px;border:1px solid rgba(0,0,0,.12);border-radius:50%;background:rgba(255,255,255,.92);font-size:28px;line-height:30px;color:#333;display:flex;align-items:center;justify-content:center}
.fbts-preview-prev{left:8px}
.fbts-preview-next{right:8px}
.fbts-preview-nav:hover{border-color:#d71920;color:#d71920}
.fbts-preview-thumbs-wrap{display:flex;align-items:center;gap:6px;margin-top:10px;position:relative;min-width:0;max-width:100%}
.fbts-preview-thumbs{flex:1 1 0;min-width:0;display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-behavior:auto;max-width:100%;padding-bottom:0;scrollbar-width:none;cursor:grab}
.fbts-preview-thumbs::-webkit-scrollbar{display:none}
.fbts-preview-thumbs.is-dragging{cursor:grabbing;user-select:none}
.fbts-preview-thumb{flex:0 0 62px;width:62px;height:62px;border:1px solid #ddd;background:#fff;padding:2px;cursor:pointer}
.fbts-preview-thumbs-nav{flex:0 0 30px;width:30px;height:62px;border:1px solid #ddd;background:#fff;color:#333;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;z-index:3}
.fbts-preview-thumbs-nav:hover{border-color:#d71920;color:#d71920}
.fbts-preview-thumb.active{border-color:#d71920}
.fbts-preview-thumb img{width:100%;height:100%;object-fit:cover}
.fbts-maintitle{
    font-size:22px;font-weight:700;margin-bottom:10px;text-align: left;
}
.fbts-preview-price{font-size:22px;font-weight:700;margin-bottom:10px;text-align: left;}
.fbts-preview-meta{display:grid;grid-template-columns:130px 1fr;gap:6px 12px;margin:0 0 14px;text-align: left;}
.fbts-preview-meta dt{font-weight:600;color:#777}
.fbts-preview-meta dd{margin:0}
.fbts-preview-section{width:100%;}
.fbts-preview-section .fbts-title{font-size:15px;font-weight:700;margin:0 0 15px;text-align: left;}
.fbts-preview-section p{margin:0;color:#555;line-height:1.5}

.fbts-preview-attributes{display:flex;flex-wrap:wrap;gap:6px;text-align: left;font-size: 13px;}
.fbts-preview-attributes div{
    width:48%;
    display:flex;
    justify-content: space-between;
    gap:10px;
    /* border-bottom:1px solid #f1f1f1; */
}
.fbts-preview-attributes span, .fbts-preview-attributes strong{
    padding:3px;
    background-color: #fff;
    margin-bottom: -1px;
}
.fbts-preview-attributes span{color:#777;min-width: 40%;}
.fbts-preview-attributes strong{
    text-align: right;
}
.fbts-preview-buttons{
    display: flex;
    align-items: center;
    gap:10px;
    margin-top: 20px;
}
.fbts-preview-buttons a, .fbts-preview-buttons button{
    flex:1;
    height:39px;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    border-radius: 1px;
    cursor: pointer;
    transition: all .15s ease .05s;
    padding: 9px;
}
.fbts-preview-link{
    background-color: #666;
    border: 1px solid #666;
    border-radius: 0;
    color: #fff;
}
.fbts-preview-link:hover {
    background-color: #ce0000;
    border: 1px solid #ce0000;
    color:#fff;
}
.fbts-modal-add{
    background: #d90000 !important;
    border: 1px solid #d90000 !important;
    color: #ffffff !important;
}
.fbts-modal-add:hover{
    background: #b80000 !important;
    border-color: #b80000 !important;
    color: #ffffff !important;
}

.fbts-home{margin:28px 0;position:relative}
.fbts-home-title{font-size:24px;font-weight:700;margin-bottom:14px}
.fbts-home-carousel:not(.slick-initialized){display:flex;gap:16px;overflow:auto}
.fbts-home-slide{background:#fff;border:1px solid #eee;padding:14px}
.fbts-home-carousel:not(.slick-initialized) .fbts-home-slide{min-width:100%}
.fbts-home-set-title{font-size:18px;font-weight:700;margin-bottom:12px}
.fbts-home-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:28px;align-items:stretch}
.fbts-home-product{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;color:inherit;border:1px solid #f0f0f0;padding:12px;min-height:100%;background:#fff}
.fbts-home-product:not(:last-child)::after{content:"+";position:absolute;z-index:999;top:50%;right:-10px;width:16px;height:16px;margin-top:-10%;color:#cccccc;font-size:78px;font-weight:700;line-height:78px;text-align:center;pointer-events:none}
.fbts-home-product:hover{border-color:#d71920;color:inherit;text-decoration:none}
.fbts-home-product img{max-width:100%;height:auto;margin-bottom:8px}
.fbts-home-product-main{border-color:#d71920}
.fbts-home-badge{position:absolute;top:8px;left:8px;right:8px;display:block;padding:4px 7px;background:#d71920;color:#fff;font-size:11px;font-weight:600}
.fbts-home-name{display:block;min-height:42px;margin:8px 0;font-weight:600}
.fbts-home-price b{font-size:16px;color:#d71920}
.fbts-home-price small{text-decoration:line-through;color:#777;margin-left:4px}
.fbts-home-buy-set{display:block;margin:16px auto 0;min-width:210px;height:42px;padding:0 24px;border:1px solid #d90000;background:#d90000;color:#fff;text-transform:uppercase;font-size:14px;font-weight:400;border-radius:1px;transition:.15s ease;cursor:pointer}
.fbts-home-buy-set:hover,.fbts-home-buy-set:focus{background:#b80000;border-color:#b80000;color:#fff}
.fbts-home-buy-set.loading,.fbts-home-buy-set:disabled{opacity:.65;cursor:wait}
.fbts-home .slick-arrow{position:absolute;top:50%;z-index:2;width:38px;height:38px;margin-top:-19px;border:1px solid #e5e5e5;background:#fff;color:#333;font-size:0;line-height:1;display:flex!important;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:.15s ease}
.fbts-home .slick-arrow:before{font-family:FontAwesome;font-size:18px;line-height:1;color:inherit;opacity:1}
.fbts-home .slick-prev{left:-19px}
.fbts-home .slick-next{right:-19px}
.fbts-home .slick-prev:before{content:"\f104"}
.fbts-home .slick-next:before{content:"\f105"}
.fbts-home .slick-arrow:hover{background:#d90000;border-color:#d90000;color:#fff}
.fbts-home .slick-dots{position:static;display:flex!important;justify-content:center;align-items:center;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.fbts-home .slick-dots li{width:auto;height:auto;margin:0;padding:0}
.fbts-home .slick-dots button{display:block;width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#d7d7d7;font-size:0;line-height:0;transition:.15s ease}
.fbts-home .slick-dots li.slick-active button,.fbts-home .slick-dots li:hover button{width:22px;border-radius:8px;background:#d90000}
@media(max-width:992px){.fbts-preview{grid-template-columns:1fr}.fbts-preview-meta,.fbts-preview-attributes div{grid-template-columns:1fr}}
@media(max-width:767px){.fbts-home-products{gap:18px}
.fbts-home-product:not(:last-child)::after{bottom: 20px;
        left: calc(50% - 20px);
        top: auto;
    }
}
@media (max-width: 1600px) {.fbts-item{flex-wrap:wrap}}
@media (max-width: 1200px) {.fbts-item{flex-wrap:nowrap}.fbts-actions{
    gap:5px;
}
.fbts-qty input {
    width: 36px;
}
}
@media (max-width: 460px) {
.fbts-thumb {
    width: 60px;
    height: 60px;
}
.button-preview, .fbts-check-button{
    width:35px;
}
}
