/**
 * 
 * Тема : 
 * 
 *
 * 
 */



/*
 * -----------------------------------------------------------------------------
 *
 * SITE : Панельки (Меню + Корзина).
 *
 * -----------------------------------------------------------------------------
 */

.panel-backdrop {
    display: none;
    
    position: fixed; z-index: 600;
    top: 0; left: 0; right: 0;
    height: 100vh;
    
    background: rgba(0,0,0,.75);
    
    transition: all .3s ease;
}

.panel {
    position: fixed; z-index: 610;
    top: 0;
    height: 100vh;
    
    width: 300px;
    
    background: var(--color-prim);
    color: #fff;
}

.panel-left {
    left: -320px;
    transition: left .3s ease;
}

.panel-right {
    right: -320px;
    transition: right .3s ease;
}




.panel-backdrop.in {
    display: block;
}

.panel-left.in {
    left: 0;
    box-shadow: 5px 0 15px rgba(0,0,0,.15);    
}

.panel-right.in {
    right: 0;
    box-shadow: -5px 0 15px rgba(0,0,0,.15);    
}



.panel .panel-header {
    
}

.panel .panel-header .title {
    position: relative;

    padding: 0 15px;    
    line-height: 50px;
    
    font-size: 16px;
    font-weight: 700;
    
    text-transform: uppercase;
    
    color: rgba(255,255,255,.3);
}

.panel .panel-header .title .btn-close {
    position: absolute; 
    top: 0; right: 0;
    
    padding: 0 15px;
    
    line-height: 46px;
    
    font-size: 46px;
    font-weight: 200;
    
    color: #fff;
    opacity: .3;
    
    cursor: pointer;
    
    transition: opacity .3s ease;
}

.panel .panel-header .title .btn-close:hover {
    opacity: 1;
}


.panel-content .panel-body {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-attn) transparent;
}
.panel-content .panel-body::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
.panel-content .panel-body::-webkit-scrollbar-thumb {
    background: var(--color-attn);
}
.panel-content .panel-body::-webkit-scrollbar-track {
    background: transparent;
}



/*
 * -----------------------------------------------------------------------------
 *
 * Меню.
 *
 * -----------------------------------------------------------------------------
 */

#panel-menu .panel-body {
    height: calc(100vh - 196px);
}

#panel-menu .panel-body.has-socials {
    height: calc(100vh - 256px);
}


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

#panel-menu .btn-call {
    margin-bottom: 1rem;
}

#panel-menu .socials {
    margin-bottom: 1rem;
}

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





#panel-menu .menu {
    padding: 0 0 2rem;
}

#panel-menu .menu .link {
    display: block;
    padding: .75rem 1rem;
    
    line-height: 1.3;
    font-size: 14px;
    
    text-decoration: none;
    
    color: #fff;
    cursor: pointer;
    
}

#panel-menu .menu .box--section-others {
    
}

#panel-menu .menu .box--section-others .link {
    font-weight: 600;
    border-top: 1px solid rgba(255,255,255,.2);
}

#panel-menu .menu .top-link {
    position: relative;
    padding-right: 2rem;
    
    font-weight: 600;
    
    /*
    font-weight: 800;
    text-transform: uppercase;
    */
}

#panel-menu .menu .top-link::before {
    content: "";
    display: block;
    
    position: absolute;
    top: 18px; right: 1rem;
    
    border: 5px solid transparent;
    border-top: 5px solid #fff;
    
}

#panel-menu .menu .box--section {
    transition: background .3s ease; cursor: pointer;   
}

#panel-menu .menu .box--section +  .box--section {
    border-top: 1px solid rgba(255,255,255,.2);
}

/*

#panel-menu .menu .box--section.active {
    background-color: var(--color-prim-dark);
}

*/

#panel-menu .menu .box--section.active  .top-link::before {
    top: 12px;
    
    border-top: 5px solid transparent;
    border-bottom: 5px solid #fff;
}

#panel-menu .menu .box--section-menu {
    /*
    display: none;
    */
    padding-bottom: .5rem;
}

#panel-menu .menu .box--section-menu .link {
    font-size: 12px;
}

#panel-menu .menu .box--section-menu .link::before {
    content: "— ";
}

#panel-menu .menu .link:hover {
    background-color: var(--color-attn);
}

#panel-menu .menu .link.current,
#panel-menu .menu .link.ancestor {
    color: var(--color-attn);
}

#panel-menu .menu .link.current:hover,
#panel-menu .menu .link.ancestor:hover {
    color: #fff;
}


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

/*

#panel-menu .menu .item .label {
    padding: 7px 15px;
    padding-left: 32px;
    
    font-size: 13px;
    color: #b0b0b0;
}

#panel-menu .menu .item .label.label-section {
    padding-left: 15px;
}

#panel-menu .menu .item .submenu .nav-link {
    font-size: 13px;
}

#panel-menu .menu .item .submenu .nav-link::before {
    content: "— ";
}

*/


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

#panel-menu .contacts-box {
    padding: 1rem 1rem 0;
    border-top: 1px solid rgba(255,255,255,.2);
}


#panel-menu .contacts .contacts--icon {
    display: block;
}
