
/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

.fly-param {
    
}

.fly-param.fly-size {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-align: center;
    align-items: center;
}

.fly-param.fly-size .icon {
    width: 20px;
    height: 20px;
    
    margin-right: 7px;
    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    
    background-color: #fff;
}

.fly-param.fly-size .icon-hook {
    background-image: url(/_images/icon-hook.svg);
}

.fly-param.fly-size .icon-fly {
    background-image: url(/_images/icon-fly.svg);
}

.fly-param.fly-price {
    
}

/*
 * -----------------------------------------------------------------------------
 *
 * Каталог - Цитата.
 *
 * -----------------------------------------------------------------------------
 */

#iblock-shop-list .cite {
    padding: 5rem 1rem 3rem;
    
    text-align: center;
}

@media (min-width: 992px) {
    #iblock-shop-list .cite {
        padding: 7rem 1rem 3rem;
    }
}

#iblock-shop-list .box-title .title {
    width: 100%;
    
    text-transform: uppercase;
    text-align: center;
    
    /*
    font-size: 1.5em;
    */
}

/*
 * -----------------------------------------------------------------------------
 *
 * Каталог - Сетка.
 *
 * -----------------------------------------------------------------------------
 */


#iblock-shop-list .row-items .col {
    margin-bottom: 3rem;
}

#iblock-shop-list .row-items .col:nth-last-of-type(1) {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    
    #iblock-shop-list .row-items {
        display: -ms-flexbox;
        display: flex;
        
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        margin: 0 -1rem;
    }
    
    #iblock-shop-list .row-items .col {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        
        -ms-flex-positive: 1;
        flex-grow: 1;
    
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;

        margin: 0;
        padding: 1rem;
        
        transition: outline .3s ease;
    }

    #iblock-shop-list .row-items .col:hover {
        outline: 1px solid #fff;
    }
    
    #iblock-shop-list .row-items .item {
        display: -ms-flexbox;
        display: flex;
        
        -ms-flex-direction: column;
        flex-direction: column;
    
        position: relative;
        height: 100%;
    }
    
    #iblock-shop-list .item-post .post-title {
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}

@media (min-width: 992px) {
    #iblock-shop-list .row-items .col {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    } 
}

@media (min-width: 1200px) {
    #iblock-shop-list .row-items .col {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    } 
}

/*

    --- WTF???

#iblock-shop-list .item-post .item-title {
    font-size: 19px;
}

#iblock-shop-list .item-post .item-excerpt {
    font-size: 13px;
}

*/

#iblock-shop-list .item-post .post-excerpt {
    font-size: 14px;
    color: #fff;
}

#iblock-shop-list .item-post .fly-price .price {
    font-size: 19px;
}


/*
 * -----------------------------------------------------------------------------
 *
 * Каталог - Инфоблок.
 *
 * -----------------------------------------------------------------------------
 */

#iblock-shop {
    background-color: #141414;
}

#iblock-shop .iblock-button {
    text-align: center;
    transform: translateY(22px);
}

#iblock-shop .iblock-button .btn-form {
    border-width: 2px;
}

#iblock-shop .iblock-button .btn-form,
#iblock-shop .iblock-button .btn-form:focus,
#iblock-shop .iblock-button .btn-form.focus {
    background-color: #fff;
}

#iblock-shop .iblock-button .btn-form:hover,
#iblock-shop .iblock-button .btn-form:active,
#iblock-shop .iblock-button .btn-form.active {
    background-color: #000;
}

/*
 *
 *
 */

#iblock-shop .iblock-title {
    padding: 3rem 0 2rem;
    
    text-align: center;
    text-transform: uppercase;
    
    font-weight: 400;
    font-size: 22px;
}

#iblock-shop .row-items {
    padding-bottom: 3rem;
}


#iblock-shop .row-items .col {
    margin-bottom: 3rem;
}

#iblock-shop .row-items .col:nth-last-of-type(1) {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    
    #iblock-shop .iblock-title {
        display: none;
    }
    
    #iblock-shop .row-items {
        display: -ms-flexbox;
        display: flex;
        
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        margin: 0 -1rem;
        padding-top: 3rem;
    }
    
    #iblock-shop .row-items .col {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        
        -ms-flex-positive: 1;
        flex-grow: 1;
    
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;

        margin: 0;
        padding: 1rem;
        
        transition: outline .3s ease;
    }

    #iblock-shop .row-items .col:hover {
        outline: 1px solid #fff;
    }
    
    #iblock-shop .row-items .item {
        display: -ms-flexbox;
        display: flex;
        
        -ms-flex-direction: column;
        flex-direction: column;
    
        position: relative;
        height: 100%;
    }
    
    #iblock-shop .item-post .post-title {
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}

@media (min-width: 992px) {
    #iblock-shop .row-items .col {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    } 
}

@media (min-width: 1200px) {
    #iblock-shop .row-items .col {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    } 
}

/*
 *
 *
 */

#iblock-shop .item-post .post-excerpt {
    font-size: 14px;
    color: #fff;
}

#iblock-shop .item-post .fly-price .price {
    font-size: 19px;
}


/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */



/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

.fly-card--item--color-select {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    margin: 0 -3px 2rem;
}

.fly-card--item--color-select .color-select {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    
    padding: 3px;
}

.fly-card--item--color-select .color-select .image-box {
    border: 2px solid transparent;
    
    transition: border-color .3s ease;
    cursor: pointer;
}

.fly-card--item--color-select .color-select.selected .image-box,
.fly-card--item--color-select .color-select:hover .image-box {
    border-color: #fff;
}

@media (min-width: 500px) {
    .fly-card--item--color-select .color-select {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 768px) {
    .fly-card--item--color-select .color-select {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 992px) {
    .fly-card--item--color-select {
        margin: 0 -5px 2rem;
    }

    .fly-card--item--color-select .color-select {
        padding: 5px;
    }
}

@media (min-width: 1200px) {
    .fly-card--item--color-select .color-select {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

.fly-card .title {
    margin-bottom: 10px;
    font-size: 14px;
}

@media (min-width: 992px) {
    .fly-card .title {
        margin-bottom: 10px;
        font-size: 16px;
    }
}

.fly-card .fly-card--item--offer-alert {
    margin: 1rem 0 3rem;
    
    font-size: .75em;
    color: #999;
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

.fly-card--item--offer {
    padding: 10px 10px 5px;
    margin: 0 -10px;
    
    border: 1px solid transparent;
}

.fly-card--item--offer:hover,
.fly-card--item--offer.selected {
    border: 1px solid #fff;
}

.fly-card--item--offer-main {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;   
    -ms-flex-align: center;
    align-items: center;
}

.fly-card--item--offer-main .divider {
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.fly-card--item--offer + .fly-card--item--offer {
    margin-top: 0px;
}

.fly-card--item--offer {
    font-size: 14px;
    user-select: none;
}

.fly-card--item--offer .fly-size {
    -ms-flex: 0 0 6.25em;
    flex: 0 0 6.25em;
    max-width: 6.25em;
}

.fly-card--item--offer .fly-hook {
    -ms-flex: 0 0 5.75em;
    flex: 0 0 5.75em;
    max-width: 5.75em;   
}

.fly-card--item--offer .fly-price {
    -ms-flex: 0 0 4em;
    flex: 0 0 4em;
    max-width: 4em;
    
    text-align: right;
}

.fly-card--item--offer .fly-price span {
    font-size: .75em;
}

.fly-card--item--offer-side {
    margin-top: 5px;
    text-align: right;
    font-size: .75em;
    color: #999;
}

@media (min-width: 480px) {
    .fly-card--item--offer {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .fly-card--item--offer {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .fly-card--item--offer {
        font-size: 16px;
    }
}


/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

.fly-card .for-desctop {
    display: none;
}

.fly-card--item {
    display: none;
}

.fly-card--item.selected {
    display: block;
}


@media (min-width: 768px) {
    
    .fly-card .for-mobile {
        display: none;
    }
    
    .fly-card .for-desctop {
        display: block;
        margin-top: -30px;
    }   
    
    .fly-card .fly-card--item--row {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    
    .fly-card .fly-card--item--col {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .fly-card .fly-card--item--col.col-image {
        padding-right: 2rem;
    }
    
}

@media (min-width: 992px) {
    
    .fly-card .for-desctop {
        margin-top: -36px;
    }  
    
    .fly-card .fly-card--item--col.col-image {
        padding-right: 3rem;
    }
    
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

.fly-card .fly-actions {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-align: center;
    align-items: center;
    
    user-select: none;
}

.fly-card .fly-actions .action {
    position: relative;
    width: 26px;
    height: 26px;
    
    text-align: center;
    
    font-size: 24px;
    font-weight: 700;
    
    border: 1px solid #fff;
    
    cursor: pointer;
}

.fly-card .fly-actions .action.action-minus {
    display: none;
    line-height: 20px;    
}

.fly-card .fly-actions.in-cart .action.action-minus  {
    display: block;
}

.fly-card .fly-actions .action.action-plus {
    line-height: 20px;    
}

.fly-card .fly-actions .count {
    width: 32px;
    padding: 0 5px;
    
    text-align: center;
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

#panel-cart .panel-body {
    height: calc(100vh - 50px);
    
    font-size: 11px;
    color: #000;
    
    user-select: none;
}

.fly-panel-card--item--offer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-align: center;
    align-items: center;
    
    padding: 7px 0;
    padding-left: 15px;
}

.fly-panel-card--item--offer + .fly-panel-card--item--offer {
    margin-top: 0;
}

.fly-panel-card--item--offer:hover {
    background: #e9e9e9;
}

.fly-panel-card--item--offer-image {
    -ms-flex: 0 0 60px;
    flex: 0 0 60px;
    max-width: 60px;
    
    padding-right: 10px;
}

.fly-panel-card--item--offer-image .image-box .image {
    background-size: cover;
}

.fly-panel-card--item--offer-info {
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.fly-panel-card--item--offer-price {
    -ms-flex: 0 0 60px;
    flex: 0 0 60px;
    max-width: 60px;
    
    text-align: right;
}


.fly-panel-card--item--offer .fly-name {
    margin-bottom: 3px;
    line-height: 1;
    
    font-weight: 700;
    font-size: 13px;
}

.fly-panel-card--item--offer .fly-color,
.fly-panel-card--item--offer .fly-size {
    line-height: 1.1;
}

.fly-panel-card--item--offer .fly-price {
    margin-bottom: 3px;
    line-height: 1;
}

.fly-panel-card--item--offer .fly-price span {
    font-weight: 700;
    font-size: 13px;
}

.fly-panel-card--item--offer .fly-dummy,
.fly-panel-card--item--offer .fly-count {
    line-height: 1.1;
}

/*
 *
 *
 */

.fly-panel-card--item--offer-actions {
    -ms-flex: 0 0 48px;
    flex: 0 0 48px;
    max-width: 48px;
    
    padding-left: 10px;
}


.fly-panel-card--item--offer .action-delete {
    height: 48px;
    padding-right: 10px;
    line-height: 24px;
    
    font-weight: 700;
    font-size: 28px;
    
    text-align: center;
    
    cursor: pointer;
    
    /*
    outline: 1px dotted #f00;
    */
}

.fly-panel-card--item--offer .action-delete:hover {
    color: #b00;
}




#fly-panel-total {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: end;
    align-items: flex-end;
    
    padding: 15px 15px 10px;
    font-size: 14px;
}

#fly-panel-total .sum {
    font-weight: 700;
    font-size: 16px;
}

#fly-panel-footer {
    padding: 10px 15px;
}